我需要调整堆叠图的以适应我的数据,我遵循了相同的模式,但是当我运行代码时,以下错误出现了ValueError: Keyword argument sequences for broadcasting must all be the same lengths. Got lengths: [5, 6]from bokeh.core.properties import valuefrom bokeh.plotting import figure
output_file(
',metrics = ['accuracy'])
但是,使用categorical_crossentropy会给出以下错误ValueError: You are passing a target array of shape (453, 1) while using as loss `categorical_crossentropy`categorical_crossentropy` expects targets to be bi
我有一个数据集作为一个csv文件。它有大约50列,其中大部分是分类的。我计划使用一个新的测试数据集运行一个RandomForest多类分类。简而言之,我希望实现与链接中相同的功能,但使用CSV文件。编辑: Data -> 50功能,100 k行,大部分是字母数字分类,我对MLlib非常陌生,因此很难为我的数据找到合适的管道。我试着从文