Pybrain - 神经网络准确度非常低

时间:2016-06-17 12:20:52

标签: python neural-network pybrain

// no need for `mut arr`, because `Read` does not modify memory
let arr: [u8; 4] = [1, 2, 3, 4];
// `slice` needs to be `mut`, because `Read` will
// actually make the slice smaller with every step
let mut slice: &[u8] = &arr;
let mut read: &mut std::io::Read = &mut slice;

我已经尝试过增加Epochs数量和隐藏神经元数量。但准确性没有提高。 '数据'是400维(像素值为20x20图像),标签看起来像这样: [0,0,0,... 1,1,1]

1 个答案:

答案 0 :(得分:0)

抱歉,加上偏见期后,准确性非常好。

fnn = buildNetwork(trndata.indim,10,trndata.outdim,bias = True,outclass = SoftmaxLayer)