• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






天生自然

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 256 257 258 259 260 261 262 263 264 ··· 276 下一页

2019年5月2日

吴裕雄 python 机器学习——数据预处理嵌入式特征选择
摘要: import numpy as np import matplotlib.pyplot as plt from sklearn.svm import LinearSVC from sklearn.linear_model import Lasso from sklearn.model_selection import train_test_split from sklearn.feature... 阅读全文
posted @ 2019-05-02 13:17 吴裕雄 阅读(668) 评论(0) 推荐(0)
 
吴裕雄 python 机器学习——数据预处理包裹式特征选取模型
摘要: from sklearn.svm import LinearSVC from sklearn.datasets import load_iris from sklearn.feature_selection import RFE,RFECV from sklearn.model_selection import train_test_split #数据预处理包裹式特征选取RFE模型 def t... 阅读全文
posted @ 2019-05-02 12:32 吴裕雄 阅读(874) 评论(0) 推荐(0)
 
吴裕雄 python 机器学习——数据预处理过滤式特征选取SelectPercentile模型
摘要: from sklearn.feature_selection import SelectPercentile,f_classif #数据预处理过滤式特征选取SelectPercentile模型 def test_SelectKBest(): X=[[1,2,3,4,5], [5,4,3,2,1], [3,3,3,3,3,], ... 阅读全文
posted @ 2019-05-02 12:21 吴裕雄 阅读(1911) 评论(0) 推荐(0)
 
吴裕雄 python 机器学习——数据预处理过滤式特征选取SelectKBest模型
摘要: from sklearn.feature_selection import SelectKBest,f_classif #数据预处理过滤式特征选取SelectKBest模型 def test_SelectKBest(): X=[[1,2,3,4,5], [5,4,3,2,1], [3,3,3,3,3,], [1,1,1,1,1... 阅读全文
posted @ 2019-05-02 12:20 吴裕雄 阅读(4928) 评论(0) 推荐(0)
 
吴裕雄 python 机器学习——数据预处理过滤式特征选取VarianceThreshold模型
摘要: from sklearn.feature_selection import VarianceThreshold #数据预处理过滤式特征选取VarianceThreshold模型 def test_VarianceThreshold(): X=[[100,1,2,3], [100,4,5,6], [100,7,8,9], [101,11,12,... 阅读全文
posted @ 2019-05-02 12:18 吴裕雄 阅读(3117) 评论(0) 推荐(0)
 
吴裕雄 python 机器学习——数据预处理正则化Normalizer模型
摘要: from sklearn.preprocessing import Normalizer #数据预处理正则化Normalizer模型 def test_Normalizer(): X=[[1,2,3,4,5], [5,4,3,2,1], [1,3,5,2,4,], [2,4,1,3,5]] print("before ... 阅读全文
posted @ 2019-05-02 12:00 吴裕雄 阅读(2416) 评论(0) 推荐(0)
 
吴裕雄 python 机器学习——数据预处理标准化MaxAbsScaler模型
摘要: from sklearn.preprocessing import MaxAbsScaler #数据预处理标准化MaxAbsScaler模型 def test_MaxAbsScaler(): X=[[1,5,1,2,10], [2,6,3,2,7], [3,7,5,6,4,], [4,8,7,8,1]] print("before trans... 阅读全文
posted @ 2019-05-02 11:52 吴裕雄 阅读(1372) 评论(0) 推荐(0)
 
吴裕雄 python 机器学习——数据预处理标准化StandardScaler模型
摘要: from sklearn.preprocessing import StandardScaler #数据预处理标准化StandardScaler模型 def test_StandardScaler(): X=[[1,5,1,2,10], [2,6,3,2,7], [3,7,5,6,4,], [4,8,7,8,1]] print("before... 阅读全文
posted @ 2019-05-02 11:52 吴裕雄 阅读(2889) 评论(0) 推荐(0)
 
吴裕雄 python 机器学习——数据预处理标准化MinMaxScaler模型
摘要: from sklearn.preprocessing import MinMaxScaler #数据预处理标准化MinMaxScaler模型 def test_MinMaxScaler(): X=[[1,5,1,2,10], [2,6,3,2,7], [3,7,5,6,4,], [4,8,7,8,1]] print("before trans... 阅读全文
posted @ 2019-05-02 11:50 吴裕雄 阅读(3442) 评论(0) 推荐(0)
 
吴裕雄 python 机器学习——数据预处理二元化OneHotEncoder模型
摘要: from sklearn.preprocessing import OneHotEncoder #数据预处理二元化OneHotEncoder模型 def test_OneHotEncoder(): X=[[1,2,3,4,5], [5,4,3,2,1], [3,3,3,3,3,], [1,1,1,1,1]] print... 阅读全文
posted @ 2019-05-02 11:36 吴裕雄 阅读(790) 评论(0) 推荐(0)
 
上一页 1 ··· 256 257 258 259 260 261 262 263 264 ··· 276 下一页