Unverified Commit 515879af authored by Jaehun Ryu's avatar Jaehun Ryu Committed by GitHub
Browse files

Fixed Typo READMD.md (#2028)

parent 2e84b445
...@@ -10,7 +10,7 @@ For now, we support the following feature selector: ...@@ -10,7 +10,7 @@ For now, we support the following feature selector:
## How to use? ## How to use?
```python ```python
from nni.feature_engineering.gradient_selector import GradientFeatureSelector from nni.feature_engineering.gradient_selector import FeatureGradientSelector
# from nni.feature_engineering.gbdt_selector import GBDTSelector # from nni.feature_engineering.gbdt_selector import GBDTSelector
# load data # load data
...@@ -18,7 +18,7 @@ from nni.feature_engineering.gradient_selector import GradientFeatureSelector ...@@ -18,7 +18,7 @@ from nni.feature_engineering.gradient_selector import GradientFeatureSelector
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.33, random_state=42) X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.33, random_state=42)
# initlize a selector # initlize a selector
fgs = GradientFeatureSelector(...) fgs = FeatureGradientSelector(...)
# fit data # fit data
fgs.fit(X_train, y_train) fgs.fit(X_train, y_train)
# get improtant features # get improtant features
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment