2022年2月18日
摘要: from sklearn import metrics from sklearn.metrics import mean_squared_error from sklearn.model_selection import cross_val_score from sklearn.model_sele 阅读全文
posted @ 2022-02-18 20:27 cookie的笔记簿 阅读(2673) 评论(0) 推荐(0) 编辑
摘要: 正负样本切分 import pandas as pd import numpy as np from sklearn.model_selection import train_test_split from collections import Counter import matplotlib.p 阅读全文
posted @ 2022-02-18 11:08 cookie的笔记簿 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 数据预处理——从mysql中读取数据 import numpy as np import pandas as pd import matplotlib.pyplot as plt import random plt.rcParams['font.sans-serif'] = 'Microsoft Y 阅读全文
posted @ 2022-02-18 10:59 cookie的笔记簿 阅读(149) 评论(0) 推荐(0) 编辑