340c77bf7e2c2595d68c430fb6831a8679cdd885,tslearn/shapelets.py,ShapeletModel,_get_model_params,#ShapeletModel#,734
Before Change
def _get_model_params(self):
Get model parameters that are sufficient to recapitulate it.
return {"model_": self.model_.to_json(),
"model_weights_": self.get_weights(),
"classes_": self.classes_,
"label_to_ind_": self.label_to_ind_,
"d_": self.d_,
"n_shapelets_per_size_": self.n_shapelets_per_size_,
"_X_fit_dims": self._X_fit_dims}
@staticmethod
def _organize_model(cls, model):
After Change
def _get_model_params(self):
Get model parameters that are sufficient to recapitulate it.
params = super()._get_model_params()
params.update({"_X_fit_dims": self._X_fit_dims})
return params
@staticmethod
def _organize_model(cls, model):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 12
Instances
Project Name: rtavenar/tslearn
Commit Name: 340c77bf7e2c2595d68c430fb6831a8679cdd885
Time: 2020-05-24
Author: romain.tavenard@univ-rennes2.fr
File Name: tslearn/shapelets.py
Class Name: ShapeletModel
Method Name: _get_model_params
Project Name: jhfjhfj1/autokeras
Commit Name: cdbb8791ec13d03fd1fcf2580111db677a3ebc29
Time: 2019-12-15
Author: jhfjhfj1@gmail.com
File Name: autokeras/hypermodel/preprocessor.py
Class Name: FeatureEngineering
Method Name: get_config
Project Name: rtavenar/tslearn
Commit Name: 340c77bf7e2c2595d68c430fb6831a8679cdd885
Time: 2020-05-24
Author: romain.tavenard@univ-rennes2.fr
File Name: tslearn/shapelets.py
Class Name: ShapeletModel
Method Name: _get_model_params