Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 877a40b

Browse filesBrowse files
authored
support arrays and other non float4 types (#317)
1 parent 9972584 commit 877a40b
Copy full SHA for 877a40b

File tree

4 files changed

+210
-88
lines changed
Filter options

4 files changed

+210
-88
lines changed

‎pgml-extension/pgml_rust/Cargo.toml

Copy file name to clipboardExpand all lines: pgml-extension/pgml_rust/Cargo.toml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ pg14 = ["pgx/pg14", "pgx-tests/pg14" ]
1616
pg_test = []
1717

1818
[dependencies]
19-
pgx = "0.4.5"
19+
pgx = { git="https://github.com/postgresml/pgx.git", branch="master" }
20+
smartcore = { git="https://github.com/smartcorelib/smartcore.git", branch="development", features = ["serde", "ndarray-bindings"] }
2021
once_cell = "1"
2122
rand = "0.8"
2223
xgboost = { path = "rust-xgboost" }
23-
smartcore = { git="https://github.com/postgresml/smartcore.git", branch="montana/multiclass", features = ["serde", "ndarray-bindings"] }
2424
ndarray = { version = "0.15.6", features = ["serde", "blas"] }
2525
blas = { version = "0.22.0" }
2626
blas-src = { version = "0.8", features = ["openblas"] }

‎pgml-extension/pgml_rust/clippy.toml

Copy file name to clipboardExpand all lines: pgml-extension/pgml_rust/clippy.toml
Whitespace-only changes.

‎pgml-extension/pgml_rust/src/orm/dataset.rs

Copy file name to clipboardExpand all lines: pgml-extension/pgml_rust/src/orm/dataset.rs
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
use pgx::*;
22
use std::collections::HashSet;
33

4+
#[derive(Debug)]
45
pub struct Dataset {
56
pub x: Vec<f32>,
67
pub y: Vec<f32>,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.