mlp.train( &test_input_mat, &test_output_mat, 0, 0, CvANN_MLP_TrainParams( cvTermCriteria( CV_TERMCRIT_ITER | CV_TERMCRIT_EPS, 1000, 1E-100 ), CvANN_MLP_TrainParams::RPROP, 0.05 ), 0 ); こうすると Bad argument( input training data should be a floating-point matrix withthe number of rows equal to the number of training samples and the number of columns equal to the size of 0-th (input) layer と出ます。 入力とNNの入力層の数が違うといわれてるらしいのですが2と2で同じだと思うし原因が分かりません。 使ったことある方教えてください。