Repository navigation
1.5.0
1.5.0
Bug Fixes
- Registry: Fix invalid parameter 'SHOW_MODEL_DETAILS_IN_SHOW_VERSIONS_IN_MODEL' error.
Behavior Changes
- Model Development: The behavior of
fit_transformfor all estimators is changed.
Firstly, it will cover all the estimator that contains this function,
secondly, the output would be the union of pandas DataFrame and snowpark DataFrame.
Model Registry (PrPr)
snowflake.ml.registry.artifact and related snowflake.ml.model_registry.ModelRegistry APIs have been removed.
- Removed
snowflake.ml.registry.artifactmodule. - Removed
ModelRegistry.log_artifact(),ModelRegistry.list_artifacts(),ModelRegistry.get_artifact() - Removed
artifactsargument fromModelRegistry.log_model()
Dataset (PrPr)
snowflake.ml.dataset.Dataset has been redesigned to be backed by Snowflake Dataset entities.
- New
Datasets can be created withDataset.create()and existingDatasets may be loaded
withDataset.load(). Datasets now maintain an immutableselected_versionstate. TheDataset.create_version()and
Dataset.load_version()APIs return newDatasetobjects with the requestedselected_versionstate.- Added
dataset.create_from_dataframe()anddataset.load_dataset()convenience APIs as a shortcut
to creating and loadingDatasets with a pre-selected version. Dataset.materialized_tableandDataset.snapshot_tableno longer exist withDataset.fully_qualified_name
as the closest equivalent.Dataset.dfno longer exists. Instead, useDatasetReader.read.to_snowpark_dataframe().Dataset.ownerhas been moved toDataset.selected_version.ownerDataset.deschas been moved toDatasetVersion.selected_version.commentDataset.timestamp_col,Dataset.label_cols,Dataset.feature_store_metadata, and
Dataset.schema_versionhave been removed.
Feature Store (PrPr)
FeatureStore.generate_dataset argument list has been changed to match the new
snowflake.ml.dataset.Dataset definition
materialized_tablehas been removed and replaced withnameandversion.namemoved to first positional argumentsave_modehas been removed asmergebehavior is no longer supported. The new behavior is alwayserrorifexists.
New Features
- Registry: Add
exportmethod toModelVersioninstance to export model files. - Registry: Add
loadmethod toModelVersioninstance to load the underlying object from the model. - Registry: Add
Model.renamemethod toModelinstance to rename or move a model.
Dataset (PrPr)
- Added Snowpark DataFrame integration using
Dataset.read.to_snowpark_dataframe() - Added Pandas DataFrame integration using
Dataset.read.to_pandas() - Added PyTorch and TensorFlow integrations using
Dataset.read.to_torch_datapipe()
andDataset.read.to_tf_dataset()respectively. - Added
fsspecstyle file integration usingDataset.read.files()andDataset.read.filesystem()
1.4.1 (2024-04-18)
New Features
- Registry: Add support for
catboostmodel (catboost.CatBoostClassifier,catboost.CatBoostRegressor). - Registry: Add support for
lightgbmmodel (lightgbm.Booster,lightgbm.LightGBMClassifier,lightgbm.LightGBMRegressor).
Bug Fixes
- Registry: Fix a bug that leads to relax_version option is not working.