Skip to content
Snippets Groups Projects
Commit c9a1a905 authored by Yannick DAYER's avatar Yannick DAYER
Browse files

[test] Fix naming of sklearn loss in xarray tests.

parent 7f6b26ee
No related branches found
No related tags found
1 merge request!100Fix the doctest of xarray failing on python 3.8
Pipeline #63247 passed
...@@ -229,7 +229,7 @@ def test_dataset_pipeline_with_dask_ml(): ...@@ -229,7 +229,7 @@ def test_dataset_pipeline_with_dask_ml():
scaler = dask_ml.preprocessing.StandardScaler() scaler = dask_ml.preprocessing.StandardScaler()
pca = dask_ml.decomposition.PCA(n_components=3, random_state=0) pca = dask_ml.decomposition.PCA(n_components=3, random_state=0)
clf = SGDClassifier(random_state=0, loss="log", penalty="l2", tol=1e-3) clf = SGDClassifier(random_state=0, loss="log_loss", penalty="l2", tol=1e-3)
clf = dask_ml.wrappers.Incremental(clf, scoring="accuracy") clf = dask_ml.wrappers.Incremental(clf, scoring="accuracy")
iris_ds = _build_iris_dataset(shuffle=True) iris_ds = _build_iris_dataset(shuffle=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment