examples/notebooks/classifier_comparison.ipynb in pycall-1.2.1 vs examples/notebooks/classifier_comparison.ipynb in pycall-1.3.0.dev

- old
+ new

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