Skip to content

Commit 621969d

Browse files
authored
Update README.rst
1 parent b259806 commit 621969d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -409,20 +409,20 @@ Example of PCA on text dataset (20newsgroups) from tf-idf with 75000 features t
409409
X_test_new = pca.transform(X_test)
410410
411411
print("train with old features: ",np.array(X_train).shape)
412-
print("train with old features:" ,np.array(X_train_new).shape)
412+
print("train with new features:" ,np.array(X_train_new).shape)
413413
414414
print("test with old features: ",np.array(X_test).shape)
415-
print("test with old features:" ,np.array(X_test_new).shape)
415+
print("test with new features:" ,np.array(X_test_new).shape)
416416
417417
output:
418418

419419
.. code:: python
420420
421421
tf-idf with 75000 features
422422
train with old features: (11314, 75000)
423-
train with old features: (11314, 2000)
423+
train with new features: (11314, 2000)
424424
test with old features: (7532, 75000)
425-
test with old features: (7532, 2000)
425+
test with new features: (7532, 2000)
426426
427427
428428

0 commit comments

Comments
 (0)