compneurobilbao / ageml

AgeML is a Python package for Age Modelling with Machine Learning made easy.
Apache License 2.0
3 stars 0 forks source link

Data loading bug with non float values and order of print statements #40

Open JGarciaCondado opened 2 months ago

JGarciaCondado commented 2 months ago

It has been reported by a user that when using with model_age with a .csv containing float values with scientific notatiotion -2.3e08 the software throws and error. We should ensure that we check that all values are converted to floating point and if not raise an error.

We are also getting a warning when loading big data files of more than 5000 subjects. This should be investigated.

It has also been reported that the number of clinical subjects in each clinical category is reported before the removal of subjects and should be done afterwards.

JGarciaCondado commented 1 month ago

When testing if a non float values I entered such as a string in the features.csv file the software crashes. It should instead warn the user that features.csv should be floats only.