generate_estimator_hash

hcrystalball.utils.generate_estimator_hash(model)[source]

Generate a unique hash for a model using its string representation

Parameters

model (hcrystalball.base.TSModelWrapper, sklearn.base.BaseEstimator) – instance of model

Returns

String containing the MD5 hash generated from the string representation of the model

Return type

str