Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
使用sklearn进行多标签特征选择
我希望使用 sklearn 对多标签数据集执行特征选择 我想要获得最终的功能集across标签 然后我将在另一个机器学习包中使用它 我打算使用我看到的方法here https stackoverflow com questions 1640
我的 R 平方分数为负,但使用 k 倍交叉验证的准确度分数约为 92%
对于下面的代码 我的 r 平方分数为负 但使用 k 折交叉验证的准确度分数为 92 这怎么可能 我使用随机森林回归算法来预测一些数据 数据集的链接在下面的链接中给出 https www kaggle com ludobenistant hr
python
machinelearning
scikitlearn
RandomForest
属性错误:未找到下层;在 scikit-learn 中使用带有 CountVectorizer 的 Pipeline
我有一个这样的语料库 X train this is an dummy example in reality this line is very long here is a last text in the training set 和一
python
scikitlearn
pipeline
sklearn pipeline + keras顺序模型-如何获取历史记录?
Keras https keras io模型 当 fit被调用时 返回一个历史对象 如果我将此模型用作 sklearn 管道的一步 是否可以检索它 顺便说一句 我正在使用 python 3 6 提前致谢 History 回调记录每个时期的训
python3x
Keras
scikitlearn
pipeline
如何使用sklearn Pipeline和FeatureUnion选择多个(数字和文本)列进行文本分类?
我开发了一个用于多标签分类的文本模型 这OneVsRest分类器 http scikit learn org stable modules generated sklearn multiclass OneVsRestClassifier h
python
pandas
machinelearning
scikitlearn
导入错误:无法导入名称“_print_elapsed_time”
你好 我正在尝试使用 sklearn 中的 make pipeline 模块 但是当我尝试使用以下命令导入它时 from sklearn pipeline import make pipeline 我收到此错误 ImportError ca
scikitlearn
ImportError
在提供给 sklearn 管道中的分类器之前获取所选特征的名称和数量
我在用sel SelectFromModel ExtraTreesClassifier 10 threshold mean 选择我的数据集中最重要的特征 然后我想将这些选定的特征提供给我的 keras 分类器 但是我的基于 keras 的神
python
machinelearning
scikitlearn
featureselection
是否可以使用 Google BERT 来计算两个文本文档之间的相似度?
是否可以使用 Google BERT 来计算两个文本文档之间的相似度 据我了解 BERT 的输入应该是有限大小的句子 一些作品使用 BERT 来计算句子的相似度 例如 https github com AndriyMulyar semant
python
Text
scikitlearn
NLP
wordembedding
使用基于 ConvLSTM2D 的 Keras 模型从较低分辨率图像估计高分辨率图像
我正在尝试使用以下内容ConvLSTM2D从低分辨率图像序列估计高分辨率图像序列的架构 import numpy as np scipy ndimage matplotlib pyplot as plt from keras models
tensorflow
scikitlearn
Keras
使用 scikit 确定每个特征对特定类别预测的贡献
我正在使用 scikit 额外的树分类器 model ExtraTreesClassifier n estimators 10000 n jobs 1 random state 0 一旦模型拟合并用于预测类别 我想找出每个特征对特定类别预测
python
scikitlearn
在 Spark 中分发 scikit learn 分类器的推荐方法是什么?
我已经使用 scikit learn 构建了一个分类器 现在我想使用 Spark 在大型数据集上运行 Predict proba 我目前使用以下方法对分类器进行腌制 import pickle pickle dump clf open cl
apachespark
scikitlearn
PySpark
scikit-learn - 具有置信区间的 ROC 曲线
我可以使用 ROC 曲线scikit learn with fpr tpr thresholds metrics roc curve y true y pred pos label 1 where y true是基于我的黄金标准的值列表 即
python
scikitlearn
confidenceinterval
ROC
找到分类的重要特征
我正在尝试使用逻辑回归模型对一些脑电图数据进行分类 这似乎给出了我的数据的最佳分类 我拥有的数据来自多通道 EEG 设置 因此本质上我有一个 63 x 116 x 50 的矩阵 即通道 x 时间点 x 试验次数 有两种试验类型 均为 50
scikitlearn
featureselection
部分拟合是否在 sklearn.decomposition.IncrementalPCA 中并行运行?
我已经关注了伊马诺 卢恩戈 https stackoverflow com users 764322 imanol luengo s answer https stackoverflow com a 44335148 10183880建立部
scikitlearn
pythonmultiprocessing
PCA
无法在 OS X 上安装 scikit-learn
我无法安装scikit学习 http scikit learn org stable 我可以通过从源代码构建或通过 pip 来安装其他软件包 没有任何问题 对于 scikit learn 我尝试在 GitHub 上克隆项目并通过 pip 安
python
scikitlearn
pip
ValueError: n_splits=10 不能大于每个类中的成员数
我正在尝试运行以下代码 from sklearn model selection import StratifiedKFold X hey join now hello join today join us now not today jo
python
scikitlearn
crossvalidation
Scikit-learn 具有使用“特征”的自定义评分函数
我正在尝试使用一种名为 SERA 平方误差相关区域 的新指标作为本文中提到的不平衡回归的自定义评分函数 https link springer com article 10 1007 s10994 020 05900 9 https lin
python
machinelearning
scikitlearn
Regression
Gridsearch
混淆矩阵错误“分类指标无法处理多标签指标和多类目标的混合”
我得到了 Classification metrics can t handle a mix of multilabel indicator and multiclass targets 当我尝试使用混淆矩阵时出错 我正在做我的第一个深度学
python
machinelearning
Keras
scikitlearn
confusionmatrix
将 python scikit learn 模型导出到 pmml
我想将 python scikit learn 模型导出到 PMML 中 什么 python 包最适合 我读到Augustus https github com opendatagroup augustus 但我找不到任何使用 scikit
python
scikitlearn
pmml
ImageDataGenerator 预测类 - 为什么预测未正确从概率转换为预测类?
我有一个这样设置的目录 images val class1 class2 test all classes train class1 class2 每个目录中都有一组图像 我想预测测试中的每个图像是否属于 1 类或 2 类 我写这个是为了读
python
Keras
scikitlearn
tfkeras
1
2
3
4
5
6
...42
»