[1.0.0]. Release
Behavior Changes
- Model Development: Preprocessing and Metrics move to the modeling package: snowflake.ml.modeling.preprocessing and snowflake.ml.modeling.metrics.
- Model Development: get_sklearn_object() method is renamed to to_sklearn(), to_xgboost(), and to_lightgbm() for respective native models.
- Model Registry: predict() method moves from Registry to ModelReference.
- Model Registry: _snowml_wheel_path parameter in options of deploy(), is replaced with _use_local_snowml with default value of False. Setting this to True will have the same effect of uploading local SnowML code when executing a model in the warehouse.
- Model Registry: Removed id field from ModelReference constructor.
New Features
- Added PolynomialFeatures transformer to snowflake.ml.modeling.preprocessing module.
- Added metrics:
- accuracy_score
- confusion_matrix
- precision_recall_fscore_support
- precision_score
Bug Fixes
- Model Registry: Model version can now be any string (not required to be a valid identifier)
- Model Development: deploy() & predict() methods now correctly escapes identifiers