snowflake-ml-python 1.7.0__tar.gz → 1.7.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (418) hide show
  1. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/CHANGELOG.md +40 -1
  2. {snowflake_ml_python-1.7.0/snowflake_ml_python.egg-info → snowflake_ml_python-1.7.2}/PKG-INFO +75 -11
  3. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/README.md +29 -6
  4. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/pyproject.toml +3 -3
  5. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/cortex/__init__.py +4 -0
  6. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/cortex/_complete.py +107 -64
  7. snowflake_ml_python-1.7.2/snowflake/cortex/_finetune.py +273 -0
  8. snowflake_ml_python-1.7.2/snowflake/cortex/_sse_client.py +144 -0
  9. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/cortex/_util.py +30 -1
  10. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/type_utils.py +3 -3
  11. snowflake_ml_python-1.7.2/snowflake/ml/_internal/utils/jwt_generator.py +141 -0
  12. snowflake_ml_python-1.7.2/snowflake/ml/data/__init__.py +5 -0
  13. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_client/model/model_version_impl.py +26 -12
  14. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_client/ops/model_ops.py +51 -30
  15. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_client/ops/service_ops.py +25 -9
  16. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_client/sql/model.py +0 -14
  17. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_client/sql/service.py +25 -1
  18. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_client/sql/stage.py +1 -1
  19. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_model_composer/model_method/infer_function.py_template +2 -1
  20. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_env/model_env.py +12 -0
  21. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_handlers/_utils.py +1 -1
  22. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_handlers/catboost.py +1 -1
  23. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_handlers/custom.py +3 -1
  24. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_handlers/lightgbm.py +2 -1
  25. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_handlers/sklearn.py +50 -1
  26. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_handlers/snowmlmodel.py +1 -1
  27. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_handlers/tensorflow.py +23 -6
  28. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_handlers/torchscript.py +14 -14
  29. snowflake_ml_python-1.7.2/snowflake/ml/model/_packager/model_meta/_packaging_requirements.py +2 -0
  30. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_meta/model_meta_schema.py +5 -0
  31. snowflake_ml_python-1.7.2/snowflake/ml/model/_packager/model_runtime/_snowml_inference_alternative_requirements.py +2 -0
  32. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_runtime/model_runtime.py +4 -9
  33. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_task/model_task_utils.py +1 -1
  34. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_signatures/core.py +63 -16
  35. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_signatures/pandas_handler.py +71 -27
  36. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_signatures/pytorch_handler.py +2 -2
  37. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_signatures/snowpark_handler.py +2 -1
  38. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_signatures/tensorflow_handler.py +2 -2
  39. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_signatures/utils.py +4 -1
  40. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/model_signature.py +38 -9
  41. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/type_hints.py +1 -1
  42. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/lightgbm/lgbm_classifier.py +2 -4
  43. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/lightgbm/lgbm_regressor.py +2 -4
  44. snowflake_ml_python-1.7.2/snowflake/ml/monitoring/_client/model_monitor_sql_client.py +283 -0
  45. snowflake_ml_python-1.7.2/snowflake/ml/monitoring/_manager/model_monitor_manager.py +238 -0
  46. snowflake_ml_python-1.7.2/snowflake/ml/monitoring/entities/model_monitor_config.py +54 -0
  47. snowflake_ml_python-1.7.2/snowflake/ml/monitoring/model_monitor.py +52 -0
  48. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/registry/registry.py +28 -40
  49. snowflake_ml_python-1.7.2/snowflake/ml/utils/authentication.py +75 -0
  50. snowflake_ml_python-1.7.2/snowflake/ml/version.py +1 -0
  51. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2/snowflake_ml_python.egg-info}/PKG-INFO +75 -11
  52. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake_ml_python.egg-info/SOURCES.txt +4 -2
  53. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake_ml_python.egg-info/requires.txt +5 -3
  54. snowflake_ml_python-1.7.0/snowflake/cortex/_sse_client.py +0 -81
  55. snowflake_ml_python-1.7.0/snowflake/ml/model/_packager/model_meta/_packaging_requirements.py +0 -3
  56. snowflake_ml_python-1.7.0/snowflake/ml/model/_packager/model_runtime/_snowml_inference_alternative_requirements.py +0 -10
  57. snowflake_ml_python-1.7.0/snowflake/ml/monitoring/_client/model_monitor_sql_client.py +0 -1335
  58. snowflake_ml_python-1.7.0/snowflake/ml/monitoring/_manager/model_monitor_manager.py +0 -362
  59. snowflake_ml_python-1.7.0/snowflake/ml/monitoring/entities/model_monitor_config.py +0 -28
  60. snowflake_ml_python-1.7.0/snowflake/ml/monitoring/entities/model_monitor_interval.py +0 -46
  61. snowflake_ml_python-1.7.0/snowflake/ml/monitoring/entities/output_score_type.py +0 -90
  62. snowflake_ml_python-1.7.0/snowflake/ml/monitoring/model_monitor.py +0 -126
  63. snowflake_ml_python-1.7.0/snowflake/ml/version.py +0 -1
  64. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/LICENSE.txt +0 -0
  65. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/setup.cfg +0 -0
  66. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/cortex/_classify_text.py +0 -0
  67. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/cortex/_embed_text_1024.py +0 -0
  68. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/cortex/_embed_text_768.py +0 -0
  69. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/cortex/_extract_answer.py +0 -0
  70. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/cortex/_sentiment.py +0 -0
  71. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/cortex/_summarize.py +0 -0
  72. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/cortex/_translate.py +0 -0
  73. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/env.py +0 -0
  74. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/env_utils.py +0 -0
  75. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/exceptions/dataset_error_messages.py +0 -0
  76. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/exceptions/dataset_errors.py +0 -0
  77. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/exceptions/error_codes.py +0 -0
  78. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/exceptions/error_messages.py +0 -0
  79. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/exceptions/exceptions.py +0 -0
  80. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/exceptions/fileset_error_messages.py +0 -0
  81. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/exceptions/fileset_errors.py +0 -0
  82. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/exceptions/modeling_error_messages.py +0 -0
  83. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/exceptions/sql_error_codes.py +0 -0
  84. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/file_utils.py +0 -0
  85. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/human_readable_id/adjectives.txt +0 -0
  86. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/human_readable_id/animals.txt +0 -0
  87. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/human_readable_id/hrid_generator.py +0 -0
  88. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/human_readable_id/hrid_generator_base.py +0 -0
  89. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/init_utils.py +0 -0
  90. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/lineage/lineage_utils.py +0 -0
  91. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/migrator_utils.py +0 -0
  92. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/telemetry.py +0 -0
  93. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/utils/db_utils.py +0 -0
  94. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/utils/formatting.py +0 -0
  95. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/utils/identifier.py +0 -0
  96. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/utils/import_utils.py +0 -0
  97. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/utils/parallelize.py +0 -0
  98. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/utils/pkg_version_utils.py +0 -0
  99. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/utils/query_result_checker.py +0 -0
  100. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/utils/result.py +0 -0
  101. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/utils/retryable_http.py +0 -0
  102. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/utils/service_logger.py +0 -0
  103. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/utils/snowflake_env.py +0 -0
  104. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/utils/snowpark_dataframe_utils.py +0 -0
  105. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/utils/sql_identifier.py +0 -0
  106. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/utils/table_manager.py +0 -0
  107. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/_internal/utils/temp_file_utils.py +0 -0
  108. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/data/_internal/arrow_ingestor.py +0 -0
  109. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/data/data_connector.py +0 -0
  110. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/data/data_ingestor.py +0 -0
  111. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/data/data_source.py +0 -0
  112. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/data/ingestor_utils.py +0 -0
  113. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/data/torch_utils.py +0 -0
  114. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/dataset/__init__.py +0 -0
  115. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/dataset/dataset.py +0 -0
  116. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/dataset/dataset_factory.py +0 -0
  117. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/dataset/dataset_metadata.py +0 -0
  118. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/dataset/dataset_reader.py +0 -0
  119. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/__init__.py +0 -0
  120. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/access_manager.py +0 -0
  121. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/entity.py +0 -0
  122. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/airline_features/entities.py +0 -0
  123. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/airline_features/features/plane_features.py +0 -0
  124. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/airline_features/features/weather_features.py +0 -0
  125. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/airline_features/source.yaml +0 -0
  126. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/citibike_trip_features/entities.py +0 -0
  127. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/citibike_trip_features/features/station_feature.py +0 -0
  128. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/citibike_trip_features/features/trip_feature.py +0 -0
  129. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/citibike_trip_features/source.yaml +0 -0
  130. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/example_helper.py +0 -0
  131. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/new_york_taxi_features/entities.py +0 -0
  132. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/new_york_taxi_features/features/location_features.py +0 -0
  133. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/new_york_taxi_features/features/trip_features.py +0 -0
  134. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/new_york_taxi_features/source.yaml +0 -0
  135. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/source_data/airline.yaml +0 -0
  136. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/source_data/citibike_trips.yaml +0 -0
  137. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/source_data/fraud_transactions.yaml +0 -0
  138. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/source_data/nyc_yellow_trips.yaml +0 -0
  139. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/source_data/winequality_red.yaml +0 -0
  140. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/wine_quality_features/entities.py +0 -0
  141. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/wine_quality_features/features/managed_wine_features.py +0 -0
  142. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/wine_quality_features/features/static_wine_features.py +0 -0
  143. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/examples/wine_quality_features/source.yaml +0 -0
  144. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/feature_store.py +0 -0
  145. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/feature_store/feature_view.py +0 -0
  146. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/fileset/embedded_stage_fs.py +0 -0
  147. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/fileset/fileset.py +0 -0
  148. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/fileset/parquet_parser.py +0 -0
  149. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/fileset/sfcfs.py +0 -0
  150. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/fileset/snowfs.py +0 -0
  151. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/fileset/stage_fs.py +0 -0
  152. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/fileset/tf_dataset.py +0 -0
  153. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/fileset/torch_datapipe.py +0 -0
  154. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/lineage/__init__.py +0 -0
  155. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/lineage/lineage_node.py +0 -0
  156. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/__init__.py +0 -0
  157. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_client/model/model_impl.py +0 -0
  158. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_client/ops/metadata_ops.py +0 -0
  159. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_client/service/model_deployment_spec.py +0 -0
  160. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_client/service/model_deployment_spec_schema.py +0 -0
  161. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_client/sql/_base.py +0 -0
  162. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_client/sql/model_version.py +0 -0
  163. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_client/sql/tag.py +0 -0
  164. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_model_composer/model_composer.py +0 -0
  165. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_model_composer/model_manifest/model_manifest.py +0 -0
  166. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_model_composer/model_manifest/model_manifest_schema.py +0 -0
  167. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_model_composer/model_method/function_generator.py +0 -0
  168. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_model_composer/model_method/infer_partitioned.py_template +0 -0
  169. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_model_composer/model_method/infer_table_function.py_template +0 -0
  170. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_model_composer/model_method/model_method.py +0 -0
  171. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_handler.py +0 -0
  172. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_handlers/_base.py +0 -0
  173. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_handlers/huggingface_pipeline.py +0 -0
  174. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_handlers/mlflow.py +0 -0
  175. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_handlers/pytorch.py +0 -0
  176. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_handlers/sentence_transformers.py +0 -0
  177. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_handlers/xgboost.py +0 -0
  178. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_handlers_migrator/base_migrator.py +0 -0
  179. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_meta/model_blob_meta.py +0 -0
  180. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_meta/model_meta.py +0 -0
  181. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_meta_migrator/base_migrator.py +0 -0
  182. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_meta_migrator/migrator_plans.py +0 -0
  183. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_meta_migrator/migrator_v1.py +0 -0
  184. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_packager/model_packager.py +0 -0
  185. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_signatures/base_handler.py +0 -0
  186. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_signatures/builtins_handler.py +0 -0
  187. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/_signatures/numpy_handler.py +0 -0
  188. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/custom_model.py +0 -0
  189. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/model/models/huggingface_pipeline.py +0 -0
  190. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/_internal/constants.py +0 -0
  191. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/_internal/estimator_utils.py +0 -0
  192. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/_internal/local_implementations/pandas_handlers.py +0 -0
  193. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/_internal/local_implementations/pandas_trainer.py +0 -0
  194. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/_internal/ml_runtime_implementations/ml_runtime_handlers.py +0 -0
  195. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/_internal/ml_runtime_implementations/ml_runtime_trainer.py +0 -0
  196. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/_internal/model_specifications.py +0 -0
  197. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/_internal/model_trainer.py +0 -0
  198. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/_internal/model_trainer_builder.py +0 -0
  199. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/_internal/model_transformer_builder.py +0 -0
  200. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/_internal/snowpark_implementations/distributed_hpo_trainer.py +0 -0
  201. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/_internal/snowpark_implementations/distributed_search_udf_file.py +0 -0
  202. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/_internal/snowpark_implementations/snowpark_handlers.py +0 -0
  203. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/_internal/snowpark_implementations/snowpark_trainer.py +0 -0
  204. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/_internal/snowpark_implementations/xgboost_external_memory_trainer.py +0 -0
  205. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/_internal/transformer_protocols.py +0 -0
  206. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/calibration/__init__.py +0 -0
  207. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/calibration/calibrated_classifier_cv.py +0 -0
  208. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/cluster/__init__.py +0 -0
  209. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/cluster/affinity_propagation.py +0 -0
  210. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/cluster/agglomerative_clustering.py +0 -0
  211. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/cluster/birch.py +0 -0
  212. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/cluster/bisecting_k_means.py +0 -0
  213. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/cluster/dbscan.py +0 -0
  214. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/cluster/feature_agglomeration.py +0 -0
  215. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/cluster/k_means.py +0 -0
  216. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/cluster/mean_shift.py +0 -0
  217. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/cluster/mini_batch_k_means.py +0 -0
  218. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/cluster/optics.py +0 -0
  219. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/cluster/spectral_biclustering.py +0 -0
  220. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/cluster/spectral_clustering.py +0 -0
  221. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/cluster/spectral_coclustering.py +0 -0
  222. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/compose/__init__.py +0 -0
  223. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/compose/column_transformer.py +0 -0
  224. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/compose/transformed_target_regressor.py +0 -0
  225. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/covariance/__init__.py +0 -0
  226. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/covariance/elliptic_envelope.py +0 -0
  227. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/covariance/empirical_covariance.py +0 -0
  228. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/covariance/graphical_lasso.py +0 -0
  229. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/covariance/graphical_lasso_cv.py +0 -0
  230. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/covariance/ledoit_wolf.py +0 -0
  231. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/covariance/min_cov_det.py +0 -0
  232. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/covariance/oas.py +0 -0
  233. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/covariance/shrunk_covariance.py +0 -0
  234. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/decomposition/__init__.py +0 -0
  235. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/decomposition/dictionary_learning.py +0 -0
  236. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/decomposition/factor_analysis.py +0 -0
  237. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/decomposition/fast_ica.py +0 -0
  238. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/decomposition/incremental_pca.py +0 -0
  239. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/decomposition/kernel_pca.py +0 -0
  240. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/decomposition/mini_batch_dictionary_learning.py +0 -0
  241. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/decomposition/mini_batch_sparse_pca.py +0 -0
  242. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/decomposition/pca.py +0 -0
  243. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/decomposition/sparse_pca.py +0 -0
  244. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/decomposition/truncated_svd.py +0 -0
  245. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/discriminant_analysis/__init__.py +0 -0
  246. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/discriminant_analysis/linear_discriminant_analysis.py +0 -0
  247. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/discriminant_analysis/quadratic_discriminant_analysis.py +0 -0
  248. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/ensemble/__init__.py +0 -0
  249. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/ensemble/ada_boost_classifier.py +0 -0
  250. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/ensemble/ada_boost_regressor.py +0 -0
  251. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/ensemble/bagging_classifier.py +0 -0
  252. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/ensemble/bagging_regressor.py +0 -0
  253. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/ensemble/extra_trees_classifier.py +0 -0
  254. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/ensemble/extra_trees_regressor.py +0 -0
  255. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/ensemble/gradient_boosting_classifier.py +0 -0
  256. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/ensemble/gradient_boosting_regressor.py +0 -0
  257. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/ensemble/hist_gradient_boosting_classifier.py +0 -0
  258. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/ensemble/hist_gradient_boosting_regressor.py +0 -0
  259. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/ensemble/isolation_forest.py +0 -0
  260. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/ensemble/random_forest_classifier.py +0 -0
  261. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/ensemble/random_forest_regressor.py +0 -0
  262. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/ensemble/stacking_regressor.py +0 -0
  263. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/ensemble/voting_classifier.py +0 -0
  264. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/ensemble/voting_regressor.py +0 -0
  265. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/feature_selection/__init__.py +0 -0
  266. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/feature_selection/generic_univariate_select.py +0 -0
  267. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/feature_selection/select_fdr.py +0 -0
  268. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/feature_selection/select_fpr.py +0 -0
  269. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/feature_selection/select_fwe.py +0 -0
  270. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/feature_selection/select_k_best.py +0 -0
  271. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/feature_selection/select_percentile.py +0 -0
  272. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/feature_selection/sequential_feature_selector.py +0 -0
  273. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/feature_selection/variance_threshold.py +0 -0
  274. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/framework/_utils.py +0 -0
  275. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/framework/base.py +0 -0
  276. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/gaussian_process/__init__.py +0 -0
  277. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/gaussian_process/gaussian_process_classifier.py +0 -0
  278. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/gaussian_process/gaussian_process_regressor.py +0 -0
  279. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/impute/__init__.py +0 -0
  280. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/impute/iterative_imputer.py +0 -0
  281. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/impute/knn_imputer.py +0 -0
  282. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/impute/missing_indicator.py +0 -0
  283. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/impute/simple_imputer.py +0 -0
  284. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/kernel_approximation/__init__.py +0 -0
  285. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/kernel_approximation/additive_chi2_sampler.py +0 -0
  286. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/kernel_approximation/nystroem.py +0 -0
  287. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/kernel_approximation/polynomial_count_sketch.py +0 -0
  288. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/kernel_approximation/rbf_sampler.py +0 -0
  289. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/kernel_approximation/skewed_chi2_sampler.py +0 -0
  290. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/kernel_ridge/__init__.py +0 -0
  291. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/kernel_ridge/kernel_ridge.py +0 -0
  292. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/lightgbm/__init__.py +0 -0
  293. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/__init__.py +0 -0
  294. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/ard_regression.py +0 -0
  295. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/bayesian_ridge.py +0 -0
  296. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/elastic_net.py +0 -0
  297. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/elastic_net_cv.py +0 -0
  298. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/gamma_regressor.py +0 -0
  299. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/huber_regressor.py +0 -0
  300. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/lars.py +0 -0
  301. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/lars_cv.py +0 -0
  302. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/lasso.py +0 -0
  303. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/lasso_cv.py +0 -0
  304. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/lasso_lars.py +0 -0
  305. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/lasso_lars_cv.py +0 -0
  306. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/lasso_lars_ic.py +0 -0
  307. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/linear_regression.py +0 -0
  308. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/logistic_regression.py +0 -0
  309. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/logistic_regression_cv.py +0 -0
  310. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/multi_task_elastic_net.py +0 -0
  311. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/multi_task_elastic_net_cv.py +0 -0
  312. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/multi_task_lasso.py +0 -0
  313. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/multi_task_lasso_cv.py +0 -0
  314. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/orthogonal_matching_pursuit.py +0 -0
  315. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/passive_aggressive_classifier.py +0 -0
  316. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/passive_aggressive_regressor.py +0 -0
  317. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/perceptron.py +0 -0
  318. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/poisson_regressor.py +0 -0
  319. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/ransac_regressor.py +0 -0
  320. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/ridge.py +0 -0
  321. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/ridge_classifier.py +0 -0
  322. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/ridge_classifier_cv.py +0 -0
  323. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/ridge_cv.py +0 -0
  324. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/sgd_classifier.py +0 -0
  325. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/sgd_one_class_svm.py +0 -0
  326. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/sgd_regressor.py +0 -0
  327. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/theil_sen_regressor.py +0 -0
  328. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/linear_model/tweedie_regressor.py +0 -0
  329. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/manifold/__init__.py +0 -0
  330. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/manifold/isomap.py +0 -0
  331. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/manifold/mds.py +0 -0
  332. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/manifold/spectral_embedding.py +0 -0
  333. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/manifold/tsne.py +0 -0
  334. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/metrics/__init__.py +0 -0
  335. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/metrics/classification.py +0 -0
  336. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/metrics/correlation.py +0 -0
  337. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/metrics/covariance.py +0 -0
  338. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/metrics/metrics_utils.py +0 -0
  339. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/metrics/ranking.py +0 -0
  340. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/metrics/regression.py +0 -0
  341. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/mixture/__init__.py +0 -0
  342. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/mixture/bayesian_gaussian_mixture.py +0 -0
  343. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/mixture/gaussian_mixture.py +0 -0
  344. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/model_selection/__init__.py +0 -0
  345. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/model_selection/grid_search_cv.py +0 -0
  346. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/model_selection/randomized_search_cv.py +0 -0
  347. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/multiclass/__init__.py +0 -0
  348. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/multiclass/one_vs_one_classifier.py +0 -0
  349. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/multiclass/one_vs_rest_classifier.py +0 -0
  350. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/multiclass/output_code_classifier.py +0 -0
  351. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/naive_bayes/__init__.py +0 -0
  352. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/naive_bayes/bernoulli_nb.py +0 -0
  353. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/naive_bayes/categorical_nb.py +0 -0
  354. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/naive_bayes/complement_nb.py +0 -0
  355. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/naive_bayes/gaussian_nb.py +0 -0
  356. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/naive_bayes/multinomial_nb.py +0 -0
  357. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/neighbors/__init__.py +0 -0
  358. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/neighbors/k_neighbors_classifier.py +0 -0
  359. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/neighbors/k_neighbors_regressor.py +0 -0
  360. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/neighbors/kernel_density.py +0 -0
  361. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/neighbors/local_outlier_factor.py +0 -0
  362. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/neighbors/nearest_centroid.py +0 -0
  363. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/neighbors/nearest_neighbors.py +0 -0
  364. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/neighbors/neighborhood_components_analysis.py +0 -0
  365. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/neighbors/radius_neighbors_classifier.py +0 -0
  366. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/neighbors/radius_neighbors_regressor.py +0 -0
  367. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/neural_network/__init__.py +0 -0
  368. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/neural_network/bernoulli_rbm.py +0 -0
  369. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/neural_network/mlp_classifier.py +0 -0
  370. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/neural_network/mlp_regressor.py +0 -0
  371. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/parameters/disable_distributed_hpo.py +0 -0
  372. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/parameters/disable_model_tracer.py +0 -0
  373. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/parameters/enable_anonymous_sproc.py +0 -0
  374. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/pipeline/__init__.py +0 -0
  375. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/pipeline/pipeline.py +0 -0
  376. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/preprocessing/__init__.py +0 -0
  377. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/preprocessing/binarizer.py +0 -0
  378. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/preprocessing/k_bins_discretizer.py +0 -0
  379. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/preprocessing/label_encoder.py +0 -0
  380. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/preprocessing/max_abs_scaler.py +0 -0
  381. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/preprocessing/min_max_scaler.py +0 -0
  382. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/preprocessing/normalizer.py +0 -0
  383. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/preprocessing/one_hot_encoder.py +0 -0
  384. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/preprocessing/ordinal_encoder.py +0 -0
  385. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/preprocessing/polynomial_features.py +0 -0
  386. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/preprocessing/robust_scaler.py +0 -0
  387. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/preprocessing/standard_scaler.py +0 -0
  388. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/semi_supervised/__init__.py +0 -0
  389. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/semi_supervised/label_propagation.py +0 -0
  390. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/semi_supervised/label_spreading.py +0 -0
  391. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/svm/__init__.py +0 -0
  392. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/svm/linear_svc.py +0 -0
  393. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/svm/linear_svr.py +0 -0
  394. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/svm/nu_svc.py +0 -0
  395. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/svm/nu_svr.py +0 -0
  396. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/svm/svc.py +0 -0
  397. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/svm/svr.py +0 -0
  398. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/tree/__init__.py +0 -0
  399. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/tree/decision_tree_classifier.py +0 -0
  400. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/tree/decision_tree_regressor.py +0 -0
  401. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/tree/extra_tree_classifier.py +0 -0
  402. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/tree/extra_tree_regressor.py +0 -0
  403. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/xgboost/__init__.py +0 -0
  404. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/xgboost/xgb_classifier.py +0 -0
  405. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/xgboost/xgb_regressor.py +0 -0
  406. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/xgboost/xgbrf_classifier.py +0 -0
  407. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/modeling/xgboost/xgbrf_regressor.py +0 -0
  408. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/monitoring/_client/queries/record_count.ssql +0 -0
  409. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/monitoring/_client/queries/rmse.ssql +0 -0
  410. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/monitoring/model_monitor_version.py +0 -0
  411. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/monitoring/shap.py +0 -0
  412. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/registry/__init__.py +0 -0
  413. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/registry/_manager/model_manager.py +0 -0
  414. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/utils/connection_params.py +0 -0
  415. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/utils/sparse.py +0 -0
  416. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake/ml/utils/sql_client.py +0 -0
  417. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake_ml_python.egg-info/dependency_links.txt +0 -0
  418. {snowflake_ml_python-1.7.0 → snowflake_ml_python-1.7.2}/snowflake_ml_python.egg-info/top_level.txt +0 -0
@@ -1,6 +1,45 @@
1
1
  # Release History
2
2
 
3
- ## 1.7.0
3
+ ## 1.7.2
4
+
5
+ ### Bug Fixes
6
+
7
+ - Model Explainability: Fix issue that explain is enabled for scikit-learn pipeline
8
+ whose task is UNKNOWN and fails later when invoked.
9
+
10
+ ### Behavior Changes
11
+
12
+ ### New Features
13
+
14
+ - Registry: Support asynchronous model inference service creation with the `block` option
15
+ in `ModelVersion.create_service()` set to True by default.
16
+
17
+ ## 1.7.1 (2024-11-05)
18
+
19
+ ### Bug Fixes
20
+
21
+ - Registry: Null value is now allowed in the dataframe used in model signature inference. Null values will be ignored
22
+ and others will be used to infer the signature.
23
+ - Registry: Pandas Extension DTypes (`pandas.StringDType()`, `pandas.BooleanDType()`, etc.) are now supported in model
24
+ signature inference.
25
+ - Registry: Null value is now allowed in the dataframe used to predict.
26
+ - Data: Fix missing `snowflake.ml.data.*` module exports in wheel
27
+ - Dataset: Fix missing `snowflake.ml.dataset.*` module exports in wheel.
28
+ - Registry: Fix the issue that `tf_keras.Model` is not recognized as keras model when logging.
29
+
30
+ ### Behavior Changes
31
+
32
+ ### New Features
33
+
34
+ - Registry: Option to `enable_monitoring` set to False by default. This will gate access to preview features of Model Monitoring.
35
+ - Model Monitoring: `show_model_monitors` Registry method. This feature is still in Private Preview.
36
+ - Registry: Support `pd.Series` in input and output data.
37
+ - Model Monitoring: `add_monitor` Registry method. This feature is still in Private Preview.
38
+ - Model Monitoring: `resume` and `suspend` ModelMonitor. This feature is still in Private Preview.
39
+ - Model Monitoring: `get_monitor` Registry method. This feature is still in Private Preview.
40
+ - Model Monitoring: `delete_monitor` Registry method. This feature is still in Private Preview.
41
+
42
+ ## 1.7.0 (10-22-2024)
4
43
 
5
44
  ### Behavior Change
6
45
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: snowflake-ml-python
3
- Version: 1.7.0
3
+ Version: 1.7.2
4
4
  Summary: The machine learning client library that is used for interacting with Snowflake to build machine learning solutions.
5
5
  Author-email: "Snowflake, Inc" <support@snowflake.com>
6
6
  License:
@@ -236,12 +236,14 @@ Requires-Dist: absl-py<2,>=0.15
236
236
  Requires-Dist: anyio<4,>=3.5.0
237
237
  Requires-Dist: cachetools<6,>=3.1.1
238
238
  Requires-Dist: cloudpickle>=2.0.0
239
+ Requires-Dist: cryptography
239
240
  Requires-Dist: fsspec[http]<2024,>=2022.11
240
241
  Requires-Dist: importlib_resources<7,>=6.1.1
241
242
  Requires-Dist: numpy<2,>=1.23
242
- Requires-Dist: packaging<24,>=20.9
243
+ Requires-Dist: packaging<25,>=20.9
243
244
  Requires-Dist: pandas<3,>=1.0.0
244
245
  Requires-Dist: pyarrow
246
+ Requires-Dist: pyjwt<3,>=2.0.0
245
247
  Requires-Dist: pytimeparse<2,>=1.1.8
246
248
  Requires-Dist: pyyaml<7,>=6.0
247
249
  Requires-Dist: retrying<2,>=1.3.3
@@ -255,7 +257,7 @@ Requires-Dist: typing-extensions<5,>=4.1.0
255
257
  Requires-Dist: xgboost<3,>=1.7.3
256
258
  Provides-Extra: all
257
259
  Requires-Dist: catboost<2,>=1.2.0; extra == "all"
258
- Requires-Dist: lightgbm<5,>=3.3.5; extra == "all"
260
+ Requires-Dist: lightgbm<5,>=4.1.0; extra == "all"
259
261
  Requires-Dist: mlflow<2.4,>=2.1.0; extra == "all"
260
262
  Requires-Dist: peft<1,>=0.5.0; extra == "all"
261
263
  Requires-Dist: sentence-transformers<3,>=2.2.2; extra == "all"
@@ -269,7 +271,7 @@ Requires-Dist: transformers<5,>=4.32.1; extra == "all"
269
271
  Provides-Extra: catboost
270
272
  Requires-Dist: catboost<2,>=1.2.0; extra == "catboost"
271
273
  Provides-Extra: lightgbm
272
- Requires-Dist: lightgbm<5,>=3.3.5; extra == "lightgbm"
274
+ Requires-Dist: lightgbm<5,>=4.1.0; extra == "lightgbm"
273
275
  Provides-Extra: llm
274
276
  Requires-Dist: peft<1,>=0.5.0; extra == "llm"
275
277
  Provides-Extra: mlflow
@@ -301,7 +303,7 @@ and deployment process, and includes two key components.
301
303
 
302
304
  ### Snowpark ML Development
303
305
 
304
- [Snowpark ML Development](https://docs.snowflake.com/en/developer-guide/snowpark-ml/index#snowpark-ml-development)
306
+ [Snowpark ML Development](https://docs.snowflake.com/en/developer-guide/snowpark-ml/index#ml-modeling)
305
307
  provides a collection of python APIs enabling efficient ML model development directly in Snowflake:
306
308
 
307
309
  1. Modeling API (`snowflake.ml.modeling`) for data preprocessing, feature engineering and model training in Snowflake.
@@ -315,14 +317,21 @@ their native data loader formats.
315
317
  1. FileSet API: FileSet provides a Python fsspec-compliant API for materializing data into a Snowflake internal stage
316
318
  from a query or Snowpark Dataframe along with a number of convenience APIs.
317
319
 
318
- ### Snowpark Model Management [Public Preview]
320
+ ### Snowflake MLOps
319
321
 
320
- [Snowpark Model Management](https://docs.snowflake.com/en/developer-guide/snowpark-ml/index#snowpark-ml-ops) complements
321
- the Snowpark ML Development API, and provides model management capabilities along with integrated deployment into Snowflake.
322
+ Snowflake MLOps contains suit of tools and objects to make ML development cycle. It complements
323
+ the Snowpark ML Development API, and provides end to end development to deployment within Snowflake.
322
324
  Currently, the API consists of:
323
325
 
324
- 1. Registry: A python API for managing models within Snowflake which also supports deployment of ML models into Snowflake
325
- as native MODEL object running with Snowflake Warehouse.
326
+ 1. [Registry](https://docs.snowflake.com/en/developer-guide/snowpark-ml/index#snowflake-model-registry): A python API
327
+ allows secure deployment and management of models in Snowflake, supporting models trained both inside and outside of
328
+ Snowflake.
329
+ 2. [Feature Store](https://docs.snowflake.com/en/developer-guide/snowpark-ml/index#snowflake-feature-store): A fully
330
+ integrated solution for defining, managing, storing and discovering ML features derived from your data. The
331
+ Snowflake Feature Store supports automated, incremental refresh from batch and streaming data sources, so that
332
+ feature pipelines need be defined only once to be continuously updated with new data.
333
+ 3. [Datasets](https://docs.snowflake.com/developer-guide/snowflake-ml/overview#snowflake-datasets): Dataset provide an
334
+ immutable, versioned snapshot of your data suitable for ingestion by your machine learning models.
326
335
 
327
336
  ## Getting started
328
337
 
@@ -370,9 +379,64 @@ conda install \
370
379
  Note that until a `snowflake-ml-python` package version is available in the official Snowflake conda channel, there may
371
380
  be compatibility issues. Server-side functionality that `snowflake-ml-python` depends on may not yet be released.
372
381
 
382
+ ### Verifying the package
383
+
384
+ 1. Install cosign.
385
+ This example is using golang installation: [installing-cosign-with-go](https://edu.chainguard.dev/open-source/sigstore/cosign/how-to-install-cosign/#installing-cosign-with-go).
386
+ 1. Download the file from the repository like [pypi](https://pypi.org/project/snowflake-ml-python/#files).
387
+ 1. Download the signature files from the [release tag](https://github.com/snowflakedb/snowflake-ml-python/releases/tag/1.7.0).
388
+ 1. Verify signature on projects signed using Jenkins job:
389
+
390
+ ```sh
391
+ cosign verify-blob snowflake_ml_python-1.7.0.tar.gz --key snowflake-ml-python-1.7.0.pub --signature resources.linux.snowflake_ml_python-1.7.0.tar.gz.sig
392
+
393
+ cosign verify-blob snowflake_ml_python-1.7.0.tar.gz --key snowflake-ml-python-1.7.0.pub --signature resources.linux.snowflake_ml_python-1.7.0
394
+ ```
395
+
396
+ NOTE: Version 1.7.0 is used as example here. Please choose the the latest version.
397
+
373
398
  # Release History
374
399
 
375
- ## 1.7.0
400
+ ## 1.7.2
401
+
402
+ ### Bug Fixes
403
+
404
+ - Model Explainability: Fix issue that explain is enabled for scikit-learn pipeline
405
+ whose task is UNKNOWN and fails later when invoked.
406
+
407
+ ### Behavior Changes
408
+
409
+ ### New Features
410
+
411
+ - Registry: Support asynchronous model inference service creation with the `block` option
412
+ in `ModelVersion.create_service()` set to True by default.
413
+
414
+ ## 1.7.1 (2024-11-05)
415
+
416
+ ### Bug Fixes
417
+
418
+ - Registry: Null value is now allowed in the dataframe used in model signature inference. Null values will be ignored
419
+ and others will be used to infer the signature.
420
+ - Registry: Pandas Extension DTypes (`pandas.StringDType()`, `pandas.BooleanDType()`, etc.) are now supported in model
421
+ signature inference.
422
+ - Registry: Null value is now allowed in the dataframe used to predict.
423
+ - Data: Fix missing `snowflake.ml.data.*` module exports in wheel
424
+ - Dataset: Fix missing `snowflake.ml.dataset.*` module exports in wheel.
425
+ - Registry: Fix the issue that `tf_keras.Model` is not recognized as keras model when logging.
426
+
427
+ ### Behavior Changes
428
+
429
+ ### New Features
430
+
431
+ - Registry: Option to `enable_monitoring` set to False by default. This will gate access to preview features of Model Monitoring.
432
+ - Model Monitoring: `show_model_monitors` Registry method. This feature is still in Private Preview.
433
+ - Registry: Support `pd.Series` in input and output data.
434
+ - Model Monitoring: `add_monitor` Registry method. This feature is still in Private Preview.
435
+ - Model Monitoring: `resume` and `suspend` ModelMonitor. This feature is still in Private Preview.
436
+ - Model Monitoring: `get_monitor` Registry method. This feature is still in Private Preview.
437
+ - Model Monitoring: `delete_monitor` Registry method. This feature is still in Private Preview.
438
+
439
+ ## 1.7.0 (10-22-2024)
376
440
 
377
441
  ### Behavior Change
378
442
 
@@ -12,7 +12,7 @@ and deployment process, and includes two key components.
12
12
 
13
13
  ### Snowpark ML Development
14
14
 
15
- [Snowpark ML Development](https://docs.snowflake.com/en/developer-guide/snowpark-ml/index#snowpark-ml-development)
15
+ [Snowpark ML Development](https://docs.snowflake.com/en/developer-guide/snowpark-ml/index#ml-modeling)
16
16
  provides a collection of python APIs enabling efficient ML model development directly in Snowflake:
17
17
 
18
18
  1. Modeling API (`snowflake.ml.modeling`) for data preprocessing, feature engineering and model training in Snowflake.
@@ -26,14 +26,21 @@ their native data loader formats.
26
26
  1. FileSet API: FileSet provides a Python fsspec-compliant API for materializing data into a Snowflake internal stage
27
27
  from a query or Snowpark Dataframe along with a number of convenience APIs.
28
28
 
29
- ### Snowpark Model Management [Public Preview]
29
+ ### Snowflake MLOps
30
30
 
31
- [Snowpark Model Management](https://docs.snowflake.com/en/developer-guide/snowpark-ml/index#snowpark-ml-ops) complements
32
- the Snowpark ML Development API, and provides model management capabilities along with integrated deployment into Snowflake.
31
+ Snowflake MLOps contains suit of tools and objects to make ML development cycle. It complements
32
+ the Snowpark ML Development API, and provides end to end development to deployment within Snowflake.
33
33
  Currently, the API consists of:
34
34
 
35
- 1. Registry: A python API for managing models within Snowflake which also supports deployment of ML models into Snowflake
36
- as native MODEL object running with Snowflake Warehouse.
35
+ 1. [Registry](https://docs.snowflake.com/en/developer-guide/snowpark-ml/index#snowflake-model-registry): A python API
36
+ allows secure deployment and management of models in Snowflake, supporting models trained both inside and outside of
37
+ Snowflake.
38
+ 2. [Feature Store](https://docs.snowflake.com/en/developer-guide/snowpark-ml/index#snowflake-feature-store): A fully
39
+ integrated solution for defining, managing, storing and discovering ML features derived from your data. The
40
+ Snowflake Feature Store supports automated, incremental refresh from batch and streaming data sources, so that
41
+ feature pipelines need be defined only once to be continuously updated with new data.
42
+ 3. [Datasets](https://docs.snowflake.com/developer-guide/snowflake-ml/overview#snowflake-datasets): Dataset provide an
43
+ immutable, versioned snapshot of your data suitable for ingestion by your machine learning models.
37
44
 
38
45
  ## Getting started
39
46
 
@@ -80,3 +87,19 @@ conda install \
80
87
 
81
88
  Note that until a `snowflake-ml-python` package version is available in the official Snowflake conda channel, there may
82
89
  be compatibility issues. Server-side functionality that `snowflake-ml-python` depends on may not yet be released.
90
+
91
+ ### Verifying the package
92
+
93
+ 1. Install cosign.
94
+ This example is using golang installation: [installing-cosign-with-go](https://edu.chainguard.dev/open-source/sigstore/cosign/how-to-install-cosign/#installing-cosign-with-go).
95
+ 1. Download the file from the repository like [pypi](https://pypi.org/project/snowflake-ml-python/#files).
96
+ 1. Download the signature files from the [release tag](https://github.com/snowflakedb/snowflake-ml-python/releases/tag/1.7.0).
97
+ 1. Verify signature on projects signed using Jenkins job:
98
+
99
+ ```sh
100
+ cosign verify-blob snowflake_ml_python-1.7.0.tar.gz --key snowflake-ml-python-1.7.0.pub --signature resources.linux.snowflake_ml_python-1.7.0.tar.gz.sig
101
+
102
+ cosign verify-blob snowflake_ml_python-1.7.0.tar.gz --key snowflake-ml-python-1.7.0.pub --signature resources.linux.snowflake_ml_python-1.7.0
103
+ ```
104
+
105
+ NOTE: Version 1.7.0 is used as example here. Please choose the the latest version.
@@ -8,7 +8,7 @@ description = "The machine learning client library that is used for interacting
8
8
  classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Environment :: Other Environment", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Topic :: Database", "Topic :: Software Development", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Scientific/Engineering :: Information Analysis",]
9
9
  requires-python = ">=3.9, <3.12"
10
10
  dynamic = [ "version", "readme",]
11
- dependencies = [ "absl-py>=0.15,<2", "anyio>=3.5.0,<4", "cachetools>=3.1.1,<6", "cloudpickle>=2.0.0", "fsspec[http]>=2022.11,<2024", "importlib_resources>=6.1.1, <7", "numpy>=1.23,<2", "packaging>=20.9,<24", "pandas>=1.0.0,<3", "pyarrow", "pytimeparse>=1.1.8,<2", "pyyaml>=6.0,<7", "retrying>=1.3.3,<2", "s3fs>=2022.11,<2024", "scikit-learn>=1.4,<1.6", "scipy>=1.9,<2", "snowflake-connector-python[pandas]>=3.5.0,<4", "snowflake-snowpark-python>=1.17.0,<2", "sqlparse>=0.4,<1", "typing-extensions>=4.1.0,<5", "xgboost>=1.7.3,<3",]
11
+ dependencies = [ "absl-py>=0.15,<2", "anyio>=3.5.0,<4", "cachetools>=3.1.1,<6", "cloudpickle>=2.0.0", "cryptography", "fsspec[http]>=2022.11,<2024", "importlib_resources>=6.1.1, <7", "numpy>=1.23,<2", "packaging>=20.9,<25", "pandas>=1.0.0,<3", "pyarrow", "pyjwt>=2.0.0, <3", "pytimeparse>=1.1.8,<2", "pyyaml>=6.0,<7", "retrying>=1.3.3,<2", "s3fs>=2022.11,<2024", "scikit-learn>=1.4,<1.6", "scipy>=1.9,<2", "snowflake-connector-python[pandas]>=3.5.0,<4", "snowflake-snowpark-python>=1.17.0,<2", "sqlparse>=0.4,<1", "typing-extensions>=4.1.0,<5", "xgboost>=1.7.3,<3",]
12
12
  [[project.authors]]
13
13
  name = "Snowflake, Inc"
14
14
  email = "support@snowflake.com"
@@ -24,9 +24,9 @@ Issues = "https://github.com/snowflakedb/snowflake-ml-python/issues"
24
24
  Changelog = "https://github.com/snowflakedb/snowflake-ml-python/blob/master/CHANGELOG.md"
25
25
 
26
26
  [project.optional-dependencies]
27
- all = [ "catboost>=1.2.0, <2", "lightgbm>=3.3.5,<5", "mlflow>=2.1.0,<2.4", "peft>=0.5.0,<1", "sentence-transformers>=2.2.2,<3", "sentencepiece>=0.1.95,<1", "shap>=0.46.0,<1", "tensorflow>=2.10,<3", "tokenizers>=0.10,<1", "torch>=2.0.1,<2.3.0", "torchdata>=0.4,<1", "transformers>=4.32.1,<5",]
27
+ all = [ "catboost>=1.2.0, <2", "lightgbm>=4.1.0, <5", "mlflow>=2.1.0,<2.4", "peft>=0.5.0,<1", "sentence-transformers>=2.2.2,<3", "sentencepiece>=0.1.95,<1", "shap>=0.46.0,<1", "tensorflow>=2.10,<3", "tokenizers>=0.10,<1", "torch>=2.0.1,<2.3.0", "torchdata>=0.4,<1", "transformers>=4.32.1,<5",]
28
28
  catboost = [ "catboost>=1.2.0, <2",]
29
- lightgbm = [ "lightgbm>=3.3.5,<5",]
29
+ lightgbm = [ "lightgbm>=4.1.0, <5",]
30
30
  llm = [ "peft>=0.5.0,<1",]
31
31
  mlflow = [ "mlflow>=2.1.0,<2.4",]
32
32
  shap = [ "shap>=0.46.0,<1",]
@@ -3,6 +3,7 @@ from snowflake.cortex._complete import Complete, CompleteOptions
3
3
  from snowflake.cortex._embed_text_768 import EmbedText768
4
4
  from snowflake.cortex._embed_text_1024 import EmbedText1024
5
5
  from snowflake.cortex._extract_answer import ExtractAnswer
6
+ from snowflake.cortex._finetune import Finetune, FinetuneJob, FinetuneStatus
6
7
  from snowflake.cortex._sentiment import Sentiment
7
8
  from snowflake.cortex._summarize import Summarize
8
9
  from snowflake.cortex._translate import Translate
@@ -14,6 +15,9 @@ __all__ = [
14
15
  "EmbedText768",
15
16
  "EmbedText1024",
16
17
  "ExtractAnswer",
18
+ "Finetune",
19
+ "FinetuneJob",
20
+ "FinetuneStatus",
17
21
  "Sentiment",
18
22
  "Summarize",
19
23
  "Translate",
@@ -1,7 +1,8 @@
1
1
  import json
2
2
  import logging
3
3
  import time
4
- from typing import Any, Callable, Iterator, List, Optional, TypedDict, Union, cast
4
+ from io import BytesIO
5
+ from typing import Any, Callable, Dict, Iterator, List, Optional, TypedDict, Union, cast
5
6
  from urllib.parse import urlunparse
6
7
 
7
8
  import requests
@@ -16,8 +17,10 @@ from snowflake.cortex._util import (
16
17
  )
17
18
  from snowflake.ml._internal import telemetry
18
19
  from snowflake.snowpark import context, functions
20
+ from snowflake.snowpark._internal.utils import is_in_stored_procedure
19
21
 
20
22
  logger = logging.getLogger(__name__)
23
+ _REST_COMPLETE_URL = "/api/v2/cortex/inference:complete"
21
24
 
22
25
 
23
26
  class ConversationMessage(TypedDict):
@@ -84,6 +87,76 @@ def retry(func: Callable[..., requests.Response]) -> Callable[..., requests.Resp
84
87
  return inner
85
88
 
86
89
 
90
+ def _make_common_request_headers() -> Dict[str, str]:
91
+ headers = {
92
+ "Content-Type": "application/json",
93
+ "Accept": "application/json, text/event-stream",
94
+ }
95
+ return headers
96
+
97
+
98
+ def _make_request_body(
99
+ model: str,
100
+ prompt: Union[str, List[ConversationMessage]],
101
+ options: Optional[CompleteOptions] = None,
102
+ ) -> Dict[str, Any]:
103
+ data = {
104
+ "model": model,
105
+ "stream": True,
106
+ }
107
+ if isinstance(prompt, List):
108
+ data["messages"] = prompt
109
+ else:
110
+ data["messages"] = [{"content": prompt}]
111
+
112
+ if options:
113
+ if "max_tokens" in options:
114
+ data["max_tokens"] = options["max_tokens"]
115
+ data["max_output_tokens"] = options["max_tokens"]
116
+ if "temperature" in options:
117
+ data["temperature"] = options["temperature"]
118
+ if "top_p" in options:
119
+ data["top_p"] = options["top_p"]
120
+ return data
121
+
122
+
123
+ # XP endpoint returns a dict response which needs to be converted to a format which can
124
+ # be consumed by the SSEClient. This method does that.
125
+ def _xp_dict_to_response(raw_resp: Dict[str, Any]) -> requests.Response:
126
+ response = requests.Response()
127
+ response.status_code = int(raw_resp["status"])
128
+ response.headers = raw_resp["headers"]
129
+
130
+ data = raw_resp["content"]
131
+ data = json.loads(data)
132
+ # Convert the dictionary to a string format that resembles the SSE event format
133
+ # For example, if the dict is {'event': 'message', 'data': 'your data'}, it should be formatted like this:
134
+ sse_format_data = ""
135
+ for event in data:
136
+ event_type = event.get("event", "message")
137
+ event_data = event.get("data", "")
138
+ event_data = json.dumps(event_data)
139
+ sse_format_data += f"event: {event_type}\ndata: {event_data}\n\n" # Add each event with new lines
140
+
141
+ response.raw = BytesIO(sse_format_data.encode("utf-8"))
142
+ return response
143
+
144
+
145
+ @retry
146
+ def _call_complete_xp(
147
+ model: str,
148
+ prompt: Union[str, List[ConversationMessage]],
149
+ options: Optional[CompleteOptions] = None,
150
+ deadline: Optional[float] = None,
151
+ ) -> requests.Response:
152
+ headers = _make_common_request_headers()
153
+ body = _make_request_body(model, prompt, options)
154
+ import _snowflake
155
+
156
+ raw_resp = _snowflake.send_snow_api_request("POST", _REST_COMPLETE_URL, {}, headers, body, {}, deadline)
157
+ return _xp_dict_to_response(raw_resp)
158
+
159
+
87
160
  @retry
88
161
  def _call_complete_rest(
89
162
  model: str,
@@ -110,36 +183,16 @@ def _call_complete_rest(
110
183
  scheme = "https"
111
184
  if hasattr(session.connection, "scheme"):
112
185
  scheme = session.connection.scheme
113
- url = urlunparse((scheme, session.connection.host, "api/v2/cortex/inference:complete", "", "", ""))
186
+ url = urlunparse((scheme, session.connection.host, _REST_COMPLETE_URL, "", "", ""))
114
187
 
115
- headers = {
116
- "Content-Type": "application/json",
117
- "Authorization": f'Snowflake Token="{session.connection.rest.token}"',
118
- "Accept": "application/json, text/event-stream",
119
- }
120
-
121
- data = {
122
- "model": model,
123
- "stream": True,
124
- }
125
- if isinstance(prompt, List):
126
- data["messages"] = prompt
127
- else:
128
- data["messages"] = [{"content": prompt}]
129
-
130
- if options:
131
- if "max_tokens" in options:
132
- data["max_tokens"] = options["max_tokens"]
133
- data["max_output_tokens"] = options["max_tokens"]
134
- if "temperature" in options:
135
- data["temperature"] = options["temperature"]
136
- if "top_p" in options:
137
- data["top_p"] = options["top_p"]
188
+ headers = _make_common_request_headers()
189
+ headers["Authorization"] = f'Snowflake Token="{session.connection.rest.token}"'
138
190
 
191
+ body = _make_request_body(model, prompt, options)
139
192
  logger.debug(f"making POST request to {url} (model={model})")
140
193
  return requests.post(
141
194
  url,
142
- json=data,
195
+ json=body,
143
196
  headers=headers,
144
197
  stream=True,
145
198
  )
@@ -164,49 +217,24 @@ def _complete_call_sql_function_snowpark(
164
217
  return cast(snowpark.Column, functions.builtin(function)(*args))
165
218
 
166
219
 
167
- def _complete_call_sql_function_immediate(
168
- function: str,
220
+ def _complete_non_streaming_immediate(
169
221
  model: str,
170
222
  prompt: Union[str, List[ConversationMessage]],
171
223
  options: Optional[CompleteOptions],
172
- session: Optional[snowpark.Session],
224
+ session: Optional[snowpark.Session] = None,
225
+ deadline: Optional[float] = None,
173
226
  ) -> str:
174
- session = session or context.get_active_session()
175
- if session is None:
176
- raise SnowflakeAuthenticationException(
177
- """Session required. Provide the session through a session=... argument or ensure an active session is
178
- available in your environment."""
179
- )
227
+ response = _complete_rest(model=model, prompt=prompt, options=options, session=session, deadline=deadline)
228
+ return "".join(response)
180
229
 
181
- # https://docs.snowflake.com/en/sql-reference/functions/complete-snowflake-cortex
182
- if options is not None or not isinstance(prompt, str):
183
- if isinstance(prompt, List):
184
- prompt_arg = prompt
185
- else:
186
- prompt_arg = [{"role": "user", "content": prompt}]
187
- options = options or {}
188
- lit_args = [
189
- functions.lit(model),
190
- functions.lit(prompt_arg),
191
- functions.lit(options),
192
- ]
193
- else:
194
- lit_args = [
195
- functions.lit(model),
196
- functions.lit(prompt),
197
- ]
198
-
199
- empty_df = session.create_dataframe([snowpark.Row()])
200
- df = empty_df.select(functions.builtin(function)(*lit_args))
201
- return cast(str, df.collect()[0][0])
202
230
 
203
-
204
- def _complete_sql_impl(
231
+ def _complete_non_streaming_impl(
205
232
  function: str,
206
233
  model: Union[str, snowpark.Column],
207
234
  prompt: Union[str, List[ConversationMessage], snowpark.Column],
208
235
  options: Optional[Union[CompleteOptions, snowpark.Column]],
209
- session: Optional[snowpark.Session],
236
+ session: Optional[snowpark.Session] = None,
237
+ deadline: Optional[float] = None,
210
238
  ) -> Union[str, snowpark.Column]:
211
239
  if isinstance(prompt, snowpark.Column):
212
240
  if options is not None:
@@ -217,7 +245,24 @@ def _complete_sql_impl(
217
245
  raise ValueError("'model' cannot be a snowpark.Column when 'prompt' is a string.")
218
246
  if isinstance(options, snowpark.Column):
219
247
  raise ValueError("'options' cannot be a snowpark.Column when 'prompt' is a string.")
220
- return _complete_call_sql_function_immediate(function, model, prompt, options, session)
248
+ return _complete_non_streaming_immediate(
249
+ model=model, prompt=prompt, options=options, session=session, deadline=deadline
250
+ )
251
+
252
+
253
+ def _complete_rest(
254
+ model: str,
255
+ prompt: Union[str, List[ConversationMessage]],
256
+ options: Optional[CompleteOptions] = None,
257
+ session: Optional[snowpark.Session] = None,
258
+ deadline: Optional[float] = None,
259
+ ) -> Iterator[str]:
260
+ if is_in_stored_procedure(): # type: ignore[no-untyped-call]
261
+ response = _call_complete_xp(model=model, prompt=prompt, options=options, deadline=deadline)
262
+ else:
263
+ response = _call_complete_rest(model=model, prompt=prompt, options=options, session=session, deadline=deadline)
264
+ assert response.status_code >= 200 and response.status_code < 300
265
+ return _return_stream_response(response, deadline)
221
266
 
222
267
 
223
268
  def _complete_impl(
@@ -239,10 +284,8 @@ def _complete_impl(
239
284
  raise ValueError("in REST mode, 'model' must be a string")
240
285
  if not isinstance(prompt, str) and not isinstance(prompt, List):
241
286
  raise ValueError("in REST mode, 'prompt' must be a string or a list of ConversationMessage")
242
- response = _call_complete_rest(model, prompt, options, session=session, deadline=deadline)
243
- assert response.status_code >= 200 and response.status_code < 300
244
- return _return_stream_response(response, deadline)
245
- return _complete_sql_impl(function, model, prompt, options, session)
287
+ return _complete_rest(model=model, prompt=prompt, options=options, session=session, deadline=deadline)
288
+ return _complete_non_streaming_impl(function, model, prompt, options, session, deadline)
246
289
 
247
290
 
248
291
  @telemetry.send_api_usage_telemetry(