Closed GullNadia closed 4 years ago
there is an issue in your code kindly resolve the issue and update i am interested in ur work and want to use that
you need to use the reshape(-1,1) function corresponding to the particular array generated before the predict() is called. Otherwise, both the way returns exactly the same data, therefore the 'data contiguity' is likely a non-issue as the data is not changed, only the view is changed. For more information, one can logon to the following link:
https://stackoverflow.com/questions/28385666/numpy-use-reshape-or-newaxis-to-add-dimensions
@raghav7203 check this if you can resolve.
Surely could do that.I just need to copy the contents of two array in temporary array and pass on to the predict() function. I have tested and in my case it is working fine. will be generating the pull request. Thanks @puneetbawa
@i-Rohan, I have commited the code change for the data_process.py. I have tested, it is working fine. Please find below the pull request:
Thanks @raghav7203. looks fine to me. @i-Rohan please verify for the pull request. It's much needed for the informative repositories like this.
@GullNadia check for the changes. Hope it answers your question
I have merged the pull request. Closing the issue.
Thanks @i-Rohan
Training Results:
ValueError Traceback (most recent call last)