Skip to content

Commit 54e9f85

Browse files
authored
Update README.md
1 parent 432ba2b commit 54e9f85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ from explainx import *
4545
Load dataset as a dataframe & pass X_Data, Y_Data in your XGBoost Model
4646

4747
```python
48-
X_data, Y_data = explainx.dataset_boston()
48+
#X_Data = Pandas DataFrame, Y_Data = Pandas Series
49+
X_Data, Y_Data = explainx.dataset_boston()
4950

5051
model = xgboost.train({"learning_rate": 0.01}, xgboost.DMatrix(X, label=Y_data), 100)
5152
```

0 commit comments

Comments
 (0)