simpleml.datasets.abstract_mixin

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

Module Contents

Classes

AbstractDatasetMixin

simpleml.datasets.abstract_mixin.__author__ = Elisha Yadgaran[source]
class simpleml.datasets.abstract_mixin.AbstractDatasetMixin[source]

Bases: object

property X(self)[source]

Return the subset that isn’t in the target labels

abstract get(self, column, split)[source]

Unimplemented method to explicitly split X and y Must be implemented by subclasses

abstract get_feature_names(self)[source]

Should return a list of the features in the dataset

property y(self)[source]

Return the target label columns