examples/classifier_comparison.rb in pycall-1.2.1 vs examples/classifier_comparison.rb in pycall-1.3.0.dev

- old
+ new

@@ -1,9 +1,9 @@ require 'pycall/import' include PyCall::Import pyimport 'numpy', as: :np -pyfrom 'sklearn.cross_validation', import: :train_test_split +pyfrom 'sklearn.model_selection', import: :train_test_split pyfrom 'sklearn.preprocessing', import: :StandardScaler pyfrom 'sklearn.datasets', import: %i(make_moons make_circles make_classification) pyfrom 'sklearn.neighbors', import: :KNeighborsClassifier pyfrom 'sklearn.svm', import: :SVC pyfrom 'sklearn.tree', import: :DecisionTreeClassifier