資源簡介
boston_housing-master.rar
代碼片段和文件信息
###########################################
#?Suppress?matplotlib?user?warnings
#?Necessary?for?newer?version?of?matplotlib
import?warnings
warnings.filterwarnings(“ignore“?category?=?UserWarning?module?=?“matplotlib“)
#
#?Display?inline?matplotlib?plots?with?IPython
from?IPython?import?get_ipython
get_ipython().run_line_magic(‘matplotlib‘?‘inline‘)
###########################################
import?matplotlib.pyplot?as?pl
import?numpy?as?np
from?sklearn.model_selection?import?learning_curve?validation_curve
from?sklearn.tree?import?DecisionTreeRegressor
from?sklearn.model_selection?import?ShuffleSplit?train_test_split
def?ModelLearning(X?y):
????“““?Calculates?the?performance?of?several?models?with?varying?sizes?of?training?data.
????????The?learning?and?validation?scores?for?eac
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????5044??2017-11-18?21:42??visuals.py
?????文件???????4456??2018-01-03?11:57??visuals.pyc
?????文件?????208916??2018-01-03?17:16??bj_housing.csv
?????文件?????269054??2018-01-04?16:34??boston_housing.ipynb
?????文件??????12435??2017-11-18?21:42??housing.csv
?????文件???????1677??2017-11-18?21:42??README.md
-----------?---------??----------?-----??----
???????????????501582????????????????????6
評論
共有 條評論