jjerphan / CS5242Project

Predicting Protein – Ligand Interaction by using Deep Learning Models
GNU General Public License v3.0
3 stars 2 forks source link

Manage features consistency #7

Closed jjerphan closed 6 years ago

jjerphan commented 6 years ago

For now, features are defined and used in different places:

It would be nicer to have something that would ensure that the mapping of features is consistent in all the code base.

A FeatureManager be a class where one can specify the features are to be used as well as the way they get extracted from the original data. This way, all the information about features (settings.features_names, settings.nb_features, and indices of features) and their processing that are used in different places in the code base could be gathered in such an object that would insure their consistency.

jjerphan commented 6 years ago

Done with a dict from feature names to their index. We don't need more for now.