02 2021 档案

摘要:1、scikit-learn SVC、NuSVC、和LinearSVC区别 scikit-learn中SVM的算法库分为两类,一类是分类的算法库,包括SVC, NuSVC,和LinearSVC 3个类。另一类是回归算法库,包括SVR, NuSVR,和LinearSVR 3个类。相关的类都包裹在skl 阅读全文 »
posted @ 2021-02-24 16:51 哈哈哈喽喽喽 阅读(200) 评论(0) 推荐(0) 编辑
摘要:1、由于前面文章1和2 分别产生了用户得分user_score(0-100)和资产得分asset_score(0-100) 2、计算用户资产得分,公式为: user_score * asset_score / 100 阅读全文 »
posted @ 2021-02-22 20:30 哈哈哈喽喽喽 阅读(56) 评论(0) 推荐(0) 编辑
摘要:问题是,使用numpy实现线性回归,代码是这样的 ################### 线性回归 ## 模型 y = w*x + b ## Loss = (y-y_predient)^2 = (y - w * x - b)^2 ## w' = 2 * (y - w * x - b) * (-x) 阅读全文 »
posted @ 2021-02-21 22:17 哈哈哈喽喽喽 阅读(450) 评论(0) 推荐(0) 编辑
摘要:1、windows下安装tensorflow2.3 安装anaconda 创建环境 conda create -n gpu python=3.7.9 安装cuda和cudnn conda install cudatoolkit=10.1 conda install cudnn=7.6.5 安装ten 阅读全文 »
posted @ 2021-02-21 16:14 哈哈哈喽喽喽 阅读(94) 评论(0) 推荐(0) 编辑
摘要:1、下载和安装git https://gitforwindows.org/ 2、找到github上代码git路径 3、打开git 命令窗口,执行代码克隆 阅读全文 »
posted @ 2021-02-20 21:49 哈哈哈喽喽喽 阅读(827) 评论(0) 推荐(0) 编辑
摘要:1、AUC 全称是Area under the Curve of ROC,ROC曲线下方的面积,常用来评价一个二分类模型的训练效果。 ROC曲线: 二元分类模型的单个样本预测有四种结果,混淆矩阵: 基于以上混淆矩阵,ROC曲线定义为 假阳性率(FPR)定义为 X 轴,真阳性率(TPR)定义为 Y 轴 阅读全文 »
posted @ 2021-02-20 11:24 哈哈哈喽喽喽 阅读(217) 评论(0) 推荐(0) 编辑
摘要:1、参数Parameters n_estimators int, default=100 The number of trees in the forest. Changed in version 0.22: The default value of n_estimators changed fro 阅读全文 »
posted @ 2021-02-19 10:45 哈哈哈喽喽喽 阅读(253) 评论(0) 推荐(0) 编辑
摘要:1、安装python python 3.8.5 如果是公司,需要配置pip安装源 2、安装kafka-python[kafka-python 2.0.0]pip install kafka-python==2.0.0 3、安装sklearn[scikit-learn 0.23.1]pip insta 阅读全文 »
posted @ 2021-02-04 15:58 哈哈哈喽喽喽 阅读(177) 评论(0) 推荐(0) 编辑
摘要:1、windows安装tflearn报错 curses is not supported on this machine (please install/reinstall curses for an optimal experience) 解决办法: 1、conda install wheel 2 阅读全文 »
posted @ 2021-02-03 22:30 哈哈哈喽喽喽 阅读(173) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示