Closed WhatMelonGua closed 3 months ago
Hi, thanks for trying out mvTCR and having such a deep dive into the code! #17 and #14 face the same issue which is presumably caused by scipy version 1.14. As mentioned in #14 downgrading scipy to v1.13 solves this issue for now.
(However, without testing, it looks like one can also just use .toarray() instead of todense() so one doesnt need the conversion later as it already returns a np.array)
I'm not sure if I didn't install the env sucessfully, I just do as the readme said. When I use "Haniffa" data to test the tutorials "[01_preprocessing.ipynb](https://github.com/SchubertLab/mvTCR/blob/master/tutorials/01_preprocessing.ipynb)" & "02_training_analysis.ipynb"
The preprocessing works very well. But when it comes to train the model, the error happend...
It's time i have fix it, so i can give a blur description that it happened because of Metrics.py,numpy Error
at:(I have modified the scripts below, it can solve the error happened on this issue)
I have write down after ’#‘ to describe the scripts I modified
Then it can train sucessfully, with 'pseudo_metric' as params_optimization name。
Has anyone encountered such a problem? Or what could be causing this, package version or other factors? Thank you very much.