You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -323,6 +323,7 @@ we start to review some random projection techniques.
323
323
.. image:: docs/pic/Random%20Projection.png
324
324
325
325
.. code:: python
326
+
326
327
import numpy as np
327
328
from sklearn import random_projection
328
329
X = np.random.rand(100, 10000)
@@ -410,6 +411,7 @@ The first version of Rocchio algorithm is introduced by rocchio in 1971 to use r
410
411
When in nearest centroid classifier, we used for text as input data for classification with tf-idf vectors, this classifier is known as the Rocchio classifier.
411
412
412
413
.. code:: python
414
+
413
415
from sklearn.neighbors.nearest_centroid import NearestCentroid
0 commit comments