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_transform
for 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.artifact
module. - Removed
ModelRegistry.log_artifact()
,ModelRegistry.list_artifacts()
,ModelRegistry.get_artifact()
- Removed
artifacts
argument fromModelRegistry.log_model()
Dataset (PrPr)
snowflake.ml.dataset.Dataset
has been redesigned to be backed by Snowflake Dataset entities.
- New
Dataset
s can be created withDataset.create()
and existingDataset
s may be loaded
withDataset.load()
. Dataset
s now maintain an immutableselected_version
state. TheDataset.create_version()
and
Dataset.load_version()
APIs return newDataset
objects with the requestedselected_version
state.- Added
dataset.create_from_dataframe()
anddataset.load_dataset()
convenience APIs as a shortcut
to creating and loadingDataset
s with a pre-selected version. Dataset.materialized_table
andDataset.snapshot_table
no longer exist withDataset.fully_qualified_name
as the closest equivalent.Dataset.df
no longer exists. Instead, useDatasetReader.read.to_snowpark_dataframe()
.Dataset.owner
has been moved toDataset.selected_version.owner
Dataset.desc
has been moved toDatasetVersion.selected_version.comment
Dataset.timestamp_col
,Dataset.label_cols
,Dataset.feature_store_metadata
, and
Dataset.schema_version
have been removed.
Feature Store (PrPr)
FeatureStore.generate_dataset
argument list has been changed to match the new
snowflake.ml.dataset.Dataset
definition
materialized_table
has been removed and replaced withname
andversion
.name
moved to first positional argumentsave_mode
has been removed asmerge
behavior is no longer supported. The new behavior is alwayserrorifexists
.
New Features
- Registry: Add
export
method toModelVersion
instance to export model files. - Registry: Add
load
method toModelVersion
instance to load the underlying object from the model. - Registry: Add
Model.rename
method toModel
instance 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
fsspec
style file integration usingDataset.read.files()
andDataset.read.filesystem()
1.4.1 (2024-04-18)
New Features
- Registry: Add support for
catboost
model (catboost.CatBoostClassifier
,catboost.CatBoostRegressor
). - Registry: Add support for
lightgbm
model (lightgbm.Booster
,lightgbm.LightGBMClassifier
,lightgbm.LightGBMRegressor
).
Bug Fixes
- Registry: Fix a bug that leads to relax_version option is not working.