摘要:
import os import numpy as np import sys from datetime import datetime import gc path = 'F:\\jj147' # 导入结巴库,并将需要用到的词库加进字典 import jieba # 导入停用词: with open(r'F:\stopsCN.txt', encoding='utf-8') as f: ... 阅读全文
摘要:
from sklearn.datasets import load_boston #导入Boston房价数据集 boston = load_boston() #读取数据集 # boston.keys() #查看key值 x = boston.data y = boston.target #训练集与测试集划分 from sklearn.cross_validation import ... 阅读全文
摘要:
from sklearn.datasets import load_boston #导入Boston房价数据集 boston = load_boston() #读取数据集 # boston.keys() #查看key值 x = boston.data y = boston.target #训练集与测试集划分 from sklearn.cross_validation import ... 阅读全文