Update FAQ.MD

This commit is contained in:
zhang yongquan
2018-09-07 17:41:25 +08:00
committed by GitHub
parent 84d0c54a85
commit 8a485a4568

6
FAQ.MD
View File

@ -31,3 +31,9 @@
sklearn工具包0.19和0.20版本cross_validation在0.20版本是将被移除的并转移到model_selection包下。要排除这些问题注意平时运行时的出现warning即可。
见[issue63](https://github.com/MLEveryday/100-Days-Of-ML-Code/issues/63)。
### 8. Python版本
建议使用Python3。使用Python2.7运行示例代码时可能有问题例如线性回归如下代码中“1/4”在Python2.7中不执行。
```python
X_train, X_test, Y_train, Y_test = train_test_split( X, Y, test_size = 1/4, random_state = 0)
```