From 7ab5629c2949f1db157ac16554d308378df969af Mon Sep 17 00:00:00 2001 From: getumen Date: Thu, 1 Aug 2024 10:46:02 +0900 Subject: [PATCH] Update cuml (#48) * chore: Update Dockerfile and add dependencies in /testdata * chore: Update Dockerfile to remove unused dependencies * fix go bindings --- .vscode/launch.json | 15 --------------- .vscode/settings.json | 3 --- go/agglomerative_clustering.go | 2 +- go/agglomerative_clustering_test.go | 2 +- go/dbscan.go | 2 +- go/dbscan_test.go | 2 +- go/fil.go | 2 +- go/fil_test.go | 2 +- go/kmeans.go | 2 +- go/kmeans_test.go | 2 +- go/linear_regression.go | 2 +- go/linear_regression_test.go | 2 +- go/rawcuml4go/fil_test.go | 4 ++-- go/rawcuml4go/linear_regression_test.go | 4 ++-- 14 files changed, 14 insertions(+), 32 deletions(-) delete mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index 0f1bf98..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch Package", - "type": "go", - "request": "launch", - "mode": "auto", - "program": "${fileDirname}" - } - ] -} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 9acf436..ff05801 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -121,10 +121,7 @@ "[python]": { "editor.defaultFormatter": "ms-python.black-formatter" }, - "python.formatting.provider": "none", "rust-analyzer.linkedProjects": [ - "./rust/Cargo.toml", - "./rust/Cargo.toml", "./rust/Cargo.toml" ], "C_Cpp.errorSquiggles": "disabled" diff --git a/go/agglomerative_clustering.go b/go/agglomerative_clustering.go index 1522a59..3aacb54 100644 --- a/go/agglomerative_clustering.go +++ b/go/agglomerative_clustering.go @@ -3,7 +3,7 @@ package cuml4go import ( "errors" - "github.com/getumen/cuml/go/rawcuml4go" + "github.com/getumen/cuml-bindings/go/rawcuml4go" ) var ( diff --git a/go/agglomerative_clustering_test.go b/go/agglomerative_clustering_test.go index 1363f79..545fc91 100644 --- a/go/agglomerative_clustering_test.go +++ b/go/agglomerative_clustering_test.go @@ -3,7 +3,7 @@ package cuml4go_test import ( "testing" - cuml4go "github.com/getumen/cuml/go" + cuml4go "github.com/getumen/cuml-bindings/go" "github.com/stretchr/testify/require" ) diff --git a/go/dbscan.go b/go/dbscan.go index 9afdb97..e54134d 100644 --- a/go/dbscan.go +++ b/go/dbscan.go @@ -3,7 +3,7 @@ package cuml4go import ( "errors" - "github.com/getumen/cuml/go/rawcuml4go" + "github.com/getumen/cuml-bindings/go/rawcuml4go" ) var ( diff --git a/go/dbscan_test.go b/go/dbscan_test.go index 8e4c26a..afcce5d 100644 --- a/go/dbscan_test.go +++ b/go/dbscan_test.go @@ -3,7 +3,7 @@ package cuml4go_test import ( "testing" - cuml4go "github.com/getumen/cuml/go" + cuml4go "github.com/getumen/cuml-bindings/go" "github.com/stretchr/testify/require" ) diff --git a/go/fil.go b/go/fil.go index 2154a66..49fadfe 100644 --- a/go/fil.go +++ b/go/fil.go @@ -3,7 +3,7 @@ package cuml4go import ( "errors" - "github.com/getumen/cuml/go/rawcuml4go" + "github.com/getumen/cuml-bindings/go/rawcuml4go" "go.uber.org/multierr" ) diff --git a/go/fil_test.go b/go/fil_test.go index 3f6af7f..6e44ecd 100644 --- a/go/fil_test.go +++ b/go/fil_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - cuml4go "github.com/getumen/cuml/go" + cuml4go "github.com/getumen/cuml-bindings/go" ) func TestFIL(t *testing.T) { diff --git a/go/kmeans.go b/go/kmeans.go index 1bcb837..d47f8cf 100644 --- a/go/kmeans.go +++ b/go/kmeans.go @@ -3,7 +3,7 @@ package cuml4go import ( "errors" - "github.com/getumen/cuml/go/rawcuml4go" + "github.com/getumen/cuml-bindings/go/rawcuml4go" ) var ( diff --git a/go/kmeans_test.go b/go/kmeans_test.go index 71e3f76..4b89f1b 100644 --- a/go/kmeans_test.go +++ b/go/kmeans_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - cuml4go "github.com/getumen/cuml/go" + cuml4go "github.com/getumen/cuml-bindings/go" ) func TestKmeans(t *testing.T) { diff --git a/go/linear_regression.go b/go/linear_regression.go index 134bf4f..8bc837d 100644 --- a/go/linear_regression.go +++ b/go/linear_regression.go @@ -1,7 +1,7 @@ package cuml4go import ( - "github.com/getumen/cuml/go/rawcuml4go" + "github.com/getumen/cuml-bindings/go/rawcuml4go" ) type GlmSolverAlgo int diff --git a/go/linear_regression_test.go b/go/linear_regression_test.go index ec3230f..edd5fb0 100644 --- a/go/linear_regression_test.go +++ b/go/linear_regression_test.go @@ -3,7 +3,7 @@ package cuml4go_test import ( "testing" - cuml4go "github.com/getumen/cuml/go" + cuml4go "github.com/getumen/cuml-bindings/go" "github.com/stretchr/testify/require" ) diff --git a/go/rawcuml4go/fil_test.go b/go/rawcuml4go/fil_test.go index 47fbabe..997e93b 100644 --- a/go/rawcuml4go/fil_test.go +++ b/go/rawcuml4go/fil_test.go @@ -3,8 +3,8 @@ package rawcuml4go_test import ( "testing" - cuml4go "github.com/getumen/cuml/go" - "github.com/getumen/cuml/go/rawcuml4go" + cuml4go "github.com/getumen/cuml-bindings/go" + "github.com/getumen/cuml-bindings/go/rawcuml4go" "github.com/stretchr/testify/require" ) diff --git a/go/rawcuml4go/linear_regression_test.go b/go/rawcuml4go/linear_regression_test.go index c4cb306..76ba77f 100644 --- a/go/rawcuml4go/linear_regression_test.go +++ b/go/rawcuml4go/linear_regression_test.go @@ -3,8 +3,8 @@ package rawcuml4go_test import ( "testing" - cuml4go "github.com/getumen/cuml/go" - "github.com/getumen/cuml/go/rawcuml4go" + cuml4go "github.com/getumen/cuml-bindings/go" + "github.com/getumen/cuml-bindings/go/rawcuml4go" "github.com/stretchr/testify/require" )