You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我用得是example文件夹里的原始数据,但是训练完模型以后,想测试数据,报错了。
使用Norm0Center_PCC_ANOVA_20_SVM,这是一种错误:
Traceback (most recent call last):
File "E:/FAE-master/ReUseModel/TestFAEModel.py", line 112, in
r'E:\FAE-master\demo')
File "E:/FAE-master/ReUseModel/TestFAEModel.py", line 67, in TestNewData
new_data_container = train_info['normalizer'].Transform(new_data_container)
File "E:\FAE-master\FAE\FeatureAnalysis\Normalizer.py", line 14, in Transform
array -= self._interception
ValueError: operands could not be broadcast together with shapes (78,20) (261,) (78,20)
使用Norm0Center_PCA_ANOVA_20_SVM,这又是一种错误:
KeyError: "None of [Index(['PCA_feature_1', 'PCA_feature_2', 'PCA_feature_3', 'PCA_feature_5',\n 'PCA_feature_6', 'PCA_feature_8', 'PCA_feature_9', 'PCA_feature_10',\n 'PCA_feature_14', 'PCA_feature_19', 'PCA_feature_27', 'PCA_feature_31',\n 'PCA_feature_50', 'PCA_feature_63', 'PCA_feature_66', 'PCA_feature_97',\n 'PCA_feature_120', 'PCA_feature_124', 'PCA_feature_181',\n 'PCA_feature_182'],\n dtype='object')] are in the [columns]"
The text was updated successfully, but these errors were encountered:
我用得是example文件夹里的原始数据,但是训练完模型以后,想测试数据,报错了。
使用Norm0Center_PCC_ANOVA_20_SVM,这是一种错误:
Traceback (most recent call last):
File "E:/FAE-master/ReUseModel/TestFAEModel.py", line 112, in
r'E:\FAE-master\demo')
File "E:/FAE-master/ReUseModel/TestFAEModel.py", line 67, in TestNewData
new_data_container = train_info['normalizer'].Transform(new_data_container)
File "E:\FAE-master\FAE\FeatureAnalysis\Normalizer.py", line 14, in Transform
array -= self._interception
ValueError: operands could not be broadcast together with shapes (78,20) (261,) (78,20)
使用Norm0Center_PCA_ANOVA_20_SVM,这又是一种错误:
KeyError: "None of [Index(['PCA_feature_1', 'PCA_feature_2', 'PCA_feature_3', 'PCA_feature_5',\n 'PCA_feature_6', 'PCA_feature_8', 'PCA_feature_9', 'PCA_feature_10',\n 'PCA_feature_14', 'PCA_feature_19', 'PCA_feature_27', 'PCA_feature_31',\n 'PCA_feature_50', 'PCA_feature_63', 'PCA_feature_66', 'PCA_feature_97',\n 'PCA_feature_120', 'PCA_feature_124', 'PCA_feature_181',\n 'PCA_feature_182'],\n dtype='object')] are in the [columns]"
The text was updated successfully, but these errors were encountered: