Closed das22 closed 1 year ago
@das22 implementing the inverse normalisation for dense predictions in branch https://github.com/melloddy/SparseChem/tree/5-predict-inverse-normalization . Would it be possible to test if it gives some sensible values?
@molden The values do indeed look reasonable! I'm no longer seeing negative numbers, the predictions reach larger values and the range is similar to my input training values.
@molden Are you going integrate this into master now?
Just out of curiosity: Wuld for the dense case the inversomalization be nut a lot easier by simply multiplying the numpy array with the 1-D numpy array of standard deviation, and the add the 1-D numpy array of means, relying on numpy's broadcasting abilities?
@AnsgarSchuffenhauer yes you are right this is easier. I will have a look to optimise this before merging into master.
When running predict.py on regression/hybrid models with new compounds (e.g. suppling only a new X matrix), predict.py does not respect "inverse_normalization 1". This seems related to Ys being None causing the first part of this code to run