simpleml.datasets.abstract_mixin module
Abstract Module for external dataframes
Inherit and extend for particular patterns. It is a bit of a misnomer to use the
term “dataframe”, since there are very few expected attributes and they are by no
means unique to pandas.
Does not actually implement behavior. Added for transparency into expected methods
-
class
simpleml.datasets.abstract_mixin.
AbstractDatasetMixin
[source]
Bases: object
-
X
Return the subset that isn’t in the target labels
-
get
(column, split)[source]
Unimplemented method to explicitly split X and y
Must be implemented by subclasses
-
get_feature_names
()[source]
Should return a list of the features in the dataset
-
y
Return the target label columns