Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/g/a/GADS7-HEAD/src/lesson12/kmeans/test_k_means.py   GADS7(Download)
 
    # re-predict labels for training set using fit_predict
    pred = km.fit_predict(X)
    assert_array_equal(pred, km.labels_)
 

src/g/a/gadsdc-HEAD/18-clustering/test_kmeans_exercise.py   gadsdc(Download)
 
    # re-predict labels for training set using fit_predict
    pred = km.fit_predict(X)
    assert_array_equal(pred, km.labels_)