Figure out which info should be contained for each class
Implement metainfo generic for different classes
[ ] metainfo.Dataset
[ ] metainfo.Inducer
[ ] metainfo.Model
... More?
Description
It makes sense to have a metainfo() generic that gets general information about an object (Dataset, Inducer etc.).
The ResamplePrediction may, e.g., need to contain information about the Dataset (e.g. what is the positive / negative class?)
However, including this information as a whole wastes memory.
Having the metainfo() returns all the information about datasets needed in other places helps here.
Tasks
metainfo
metainfo
generic for different classesmetainfo.Dataset
metainfo.Inducer
metainfo.Model
Description
It makes sense to have a
metainfo()
generic that gets general information about an object (Dataset, Inducer etc.). The ResamplePrediction may, e.g., need to contain information about the Dataset (e.g. what is the positive / negative class?) However, including this information as a whole wastes memory. Having themetainfo()
returns all the information about datasets needed in other places helps here.