ModelImport¶
-
class
mastml.legos.model_finder.
ModelImport
(model_path)[source]¶ Bases:
object
Class used to import pickled models from previous machine learning fits
Args:
model_path (str): string designating the path to load the saved .pkl model fileMethods:
fit: Does nothing, present for compatibility purposes
Args:
X: Nonetype
y: Nonetype
groups: Nonetype
predict: Provides predicted model values based on X features
Args:
X: (numpy array), array of X featuresReturns:
(numpy array), prediction array using imported modelMethods Summary
fit
([X, y, groups])Only here for compatibility predict
(X)Methods Documentation