-
Notifications
You must be signed in to change notification settings - Fork 0
Make access to primitives more natural #29
Copy link
Copy link
Open
Labels
invalidThis doesn't seem rightThis doesn't seem right
Description
Currently, all primitives in the package must be accessed by key through primitive dictionaries. It would be better to have them be accessible as objects directly e.g. instead of:
from skplumber.primitives import classifiers
prim = classifiers["RandomForestClassifierPrimitive"]It would be more natural to say:
from skplumber.primitives.classifiers import RandomForestClassifierPrimitiveFurthermore, it would be good to eliminate the Primitive postfix from all the primitive names; it's a little redundant.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
invalidThis doesn't seem rightThis doesn't seem right