lore_sa.dataset.Dataset
- class lore_sa.dataset.Dataset[source]
Generic class to handle datasets
- __init__()
Methods
__init__
()get_categorical_columns
()return the list of values of the target column :return:
get_feature_name
(index)Get the feature name by index :param index: :return: the name of the corresponding feature
get_feature_names
()get_number_of_features
()get_numeric_columns
()set_class_name
(class_name)Set the class name.
set_descriptor
(descriptor)set_target_label
(descriptor)Set the target column into the dataset descriptor
it creates the dataset descriptor dictionary
- get_feature_name(index)[source]
Get the feature name by index :param index: :return: the name of the corresponding feature
- set_class_name(class_name: str)[source]
Set the class name. Only the column name string :param [str] class_name: :return: