I am trying to apply regression on given data, In my case the given data is 100x100 matrix in which rows are defined as inputs to my system and coulms are the instances.
The problem is that its is unable to train system, and is not giving output(y) according to desired output. Can anybody help me or guide me I am uploading my code as well
for desired output(check) I use different stratigies
1: In this method I give a threshold value. so in all columns it counts those values which are greater than threshold are sumed and in rest of the coulmn where the values are below threshold are replaced by zero and finally the columns which contain values above threshold are replaced by 1 by using this command.
2: secondly I apply multiple threshold limits and gives some random values