Open sophiafrei opened 1 year ago
Hi,
i think it would make sense to ask in the Dataset()-function if the target variable is factorial or not and then assign depending on this class "DatasetClassification" or "DatasetRegression". What do you think?
Because right now the class of an iris task with target "species" is DatasetRegression:
ir <- Dataset(iris, target = "species", type = "classification") class(ir) [1] "DatasetRegression" "Dataset"
Hi,
i think it would make sense to ask in the Dataset()-function if the target variable is factorial or not and then assign depending on this class "DatasetClassification" or "DatasetRegression". What do you think?