i am a newbee of Keras. When i am done with the Iris classification tutorial, i just confused with this, since we encoded those 3 kinds of iris flowers, for example, one-hot encoding. We should get 3 orthogonal vectors right?
setosa [1 0 0]
versicolor [0 1 0]
virginica [0 0 1]
my model is the same as tutorial :
http://machinelearningmastery.com/multi-class-classification-tutorial-keras-deep-learning-library/
and my question is although i got the result:
Baseline: 95.33% (4.27%)
but when i call the trained deep network model:
prediction = baseline_model().predict(X)
where X is the orginal input when i trained the network
i got a very wired predictions such that:
print prediction
0,0,0
0,0,0
0,0,0
0,0,0
with all zero vectors, and i am supposed to get some one-hot encoded result right? to identify which class the flower should be.
so how can i make use of my trained Keras model while im inputting the same input X and get the classify result to plot a graph??