jyiwei commited on
Commit
bc57842
·
verified ·
1 Parent(s): 2c31a39

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -123,7 +123,7 @@ X_train = np.random.randn(100, 10) # 100 samples, 10 features
123
  Y_train = np.zeros(X_train.shape[0]) # All normal
124
  X_test = np.random.randn(50, 10) # Test data
125
 
126
- # Fit on training data (for unsupervised setting, no labels needed)
127
  model.fit(X_train, Y_train)
128
 
129
  # Get anomaly scores
 
123
  Y_train = np.zeros(X_train.shape[0]) # All normal
124
  X_test = np.random.randn(50, 10) # Test data
125
 
126
+ # Fit on training data (for one-class setting, all labels should be zero)
127
  model.fit(X_train, Y_train)
128
 
129
  # Get anomaly scores