Hi all:
I uses a ‘Car Evaluation’ dataset from
http://archive.ics.uci.edu/ml/machine-learning-databases/car/car.data to test
the effect of MLP. (I transfer some class in the data to digit value, e.g.
‘low’ to 1 ‘med’ to 2, ‘high ’to 3, the final dataset’s input is 6 dimension,
output label is 4 dimension)
However, the accuracy rate is not satisfied comparing to the result in
Matlab which use BP algorithm too, I wonder if I should tune the parameter of
MLP for better?
Attachment:
main code in matlab: accuracy 100% after train
net=newff([-1 1;-1 1;-1 1;-1 1;-1 1;-1 1;],[10
4],{'tansig','logsig'},'trainlm');
main code in MLP Code: accuracy 70% after fit
clf = MLPClassifier(solver='sgd', activation='logistic', max_iter=2000,
learning_rate='adaptive',warm_start = True)
_______________________________________________
scikit-learn mailing list
[email protected]
https://mail.python.org/mailman/listinfo/scikit-learn