I have built a Sequential model to predict dataset. The output is an array of values something like below:
[[25.672846 ]
[35.517834 ]
[16.25976 ]
[27.06339 ]
[15.176579 ]
[20.261982 ]
[17.346558 ]
[14.3797455]
[23.327494 ]
[17.967245 ]
[17.85637 ]
[16.672417 ]
[ 6.2621603]
[20.35404 ]]
I want to sort the array in ascending order.
I've tried
pred = np.sort(model.predict(data))
and
pred = np.argsort(model.predict(data))
and I've failed.
machine-learningorKeras(tags edited).