snowflake-ml-python 1.6.0__py3-none-any.whl → 1.6.1__py3-none-any.whl
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.
- snowflake/cortex/_complete.py +7 -33
- snowflake/ml/_internal/env_utils.py +11 -5
- snowflake/ml/_internal/exceptions/modeling_error_messages.py +4 -1
- snowflake/ml/_internal/telemetry.py +14 -0
- snowflake/ml/_internal/utils/pkg_version_utils.py +8 -22
- snowflake/ml/data/_internal/arrow_ingestor.py +66 -10
- snowflake/ml/data/data_connector.py +59 -6
- snowflake/ml/data/data_ingestor.py +18 -1
- snowflake/ml/data/{_internal/ingestor_utils.py → ingestor_utils.py} +5 -1
- snowflake/ml/data/torch_dataset.py +33 -0
- snowflake/ml/dataset/dataset_metadata.py +3 -1
- snowflake/ml/dataset/dataset_reader.py +9 -3
- snowflake/ml/feature_store/examples/airline_features/entities.py +16 -0
- snowflake/ml/feature_store/examples/airline_features/features/plane_features.py +31 -0
- snowflake/ml/feature_store/examples/airline_features/features/weather_features.py +42 -0
- snowflake/ml/feature_store/examples/airline_features/source.yaml +7 -0
- snowflake/ml/feature_store/examples/citibike_trip_features/features/station_feature.py +10 -4
- snowflake/ml/feature_store/examples/citibike_trip_features/features/trip_feature.py +6 -0
- snowflake/ml/feature_store/examples/citibike_trip_features/source.yaml +3 -0
- snowflake/ml/feature_store/examples/example_helper.py +69 -31
- snowflake/ml/feature_store/examples/new_york_taxi_features/entities.py +3 -3
- snowflake/ml/feature_store/examples/new_york_taxi_features/features/{dropoff_features.py → location_features.py} +14 -9
- snowflake/ml/feature_store/examples/new_york_taxi_features/features/trip_features.py +36 -0
- snowflake/ml/feature_store/examples/new_york_taxi_features/source.yaml +5 -1
- snowflake/ml/feature_store/examples/source_data/airline.yaml +4 -0
- snowflake/ml/feature_store/examples/source_data/citibike_trips.yaml +1 -1
- snowflake/ml/feature_store/examples/wine_quality_features/entities.py +3 -3
- snowflake/ml/feature_store/examples/wine_quality_features/features/managed_wine_features.py +13 -6
- snowflake/ml/feature_store/examples/wine_quality_features/features/static_wine_features.py +8 -5
- snowflake/ml/feature_store/examples/wine_quality_features/source.yaml +3 -0
- snowflake/ml/feature_store/feature_store.py +59 -24
- snowflake/ml/feature_store/feature_view.py +148 -4
- snowflake/ml/model/_client/model/model_impl.py +11 -2
- snowflake/ml/model/_client/model/model_version_impl.py +171 -20
- snowflake/ml/model/_client/ops/model_ops.py +105 -27
- snowflake/ml/model/_client/ops/service_ops.py +121 -0
- snowflake/ml/model/_client/service/model_deployment_spec.py +95 -0
- snowflake/ml/model/_client/service/model_deployment_spec_schema.py +31 -0
- snowflake/ml/model/_client/sql/model_version.py +13 -4
- snowflake/ml/model/_client/sql/service.py +129 -0
- snowflake/ml/model/_model_composer/model_composer.py +3 -0
- snowflake/ml/model/_model_composer/model_manifest/model_manifest.py +10 -2
- snowflake/ml/model/_model_composer/model_manifest/model_manifest_schema.py +3 -0
- snowflake/ml/model/_packager/model_env/model_env.py +7 -2
- snowflake/ml/model/_packager/model_handlers/_base.py +29 -12
- snowflake/ml/model/_packager/model_handlers/catboost.py +19 -12
- snowflake/ml/model/_packager/model_handlers/custom.py +6 -2
- snowflake/ml/model/_packager/model_handlers/huggingface_pipeline.py +9 -5
- snowflake/ml/model/_packager/model_handlers/lightgbm.py +27 -18
- snowflake/ml/model/_packager/model_handlers/llm.py +7 -3
- snowflake/ml/model/_packager/model_handlers/mlflow.py +8 -3
- snowflake/ml/model/_packager/model_handlers/pytorch.py +8 -3
- snowflake/ml/model/_packager/model_handlers/sentence_transformers.py +8 -3
- snowflake/ml/model/_packager/model_handlers/sklearn.py +87 -4
- snowflake/ml/model/_packager/model_handlers/snowmlmodel.py +7 -2
- snowflake/ml/model/_packager/model_handlers/tensorflow.py +9 -4
- snowflake/ml/model/_packager/model_handlers/torchscript.py +8 -3
- snowflake/ml/model/_packager/model_handlers/xgboost.py +25 -16
- snowflake/ml/model/_packager/model_meta/model_meta.py +32 -2
- snowflake/ml/model/_packager/model_meta/model_meta_schema.py +19 -0
- snowflake/ml/model/_packager/model_packager.py +2 -1
- snowflake/ml/model/_packager/model_runtime/model_runtime.py +4 -2
- snowflake/ml/model/type_hints.py +1 -3
- snowflake/ml/modeling/framework/base.py +28 -19
- snowflake/ml/modeling/pipeline/pipeline.py +3 -0
- snowflake/ml/registry/_manager/model_manager.py +16 -2
- snowflake/ml/utils/sql_client.py +22 -0
- snowflake/ml/version.py +1 -1
- {snowflake_ml_python-1.6.0.dist-info → snowflake_ml_python-1.6.1.dist-info}/METADATA +35 -2
- {snowflake_ml_python-1.6.0.dist-info → snowflake_ml_python-1.6.1.dist-info}/RECORD +73 -62
- snowflake/ml/feature_store/examples/new_york_taxi_features/features/pickup_features.py +0 -58
- {snowflake_ml_python-1.6.0.dist-info → snowflake_ml_python-1.6.1.dist-info}/LICENSE.txt +0 -0
- {snowflake_ml_python-1.6.0.dist-info → snowflake_ml_python-1.6.1.dist-info}/WHEEL +0 -0
- {snowflake_ml_python-1.6.0.dist-info → snowflake_ml_python-1.6.1.dist-info}/top_level.txt +0 -0
@@ -1,19 +1,19 @@
|
|
1
1
|
snowflake/cortex/__init__.py,sha256=Xw7skAa3Eeo0pq2q8gwekpvP_yZbHetNjB2mC1gqnsM,477
|
2
2
|
snowflake/cortex/_classify_text.py,sha256=lKV_J0TMDgaDCytpHsi8zo2N-aiWW5I8t1PcYiuNovo,1297
|
3
|
-
snowflake/cortex/_complete.py,sha256=
|
3
|
+
snowflake/cortex/_complete.py,sha256=UD9WB9w7VIpEfXu0iylYfcnmBxNScTZdLBbdA4Y3O64,11309
|
4
4
|
snowflake/cortex/_extract_answer.py,sha256=-ZvpnI6i4QmCkgxIEC8QGPlOQzKMVO5abgouXMf6wTw,1301
|
5
5
|
snowflake/cortex/_sentiment.py,sha256=yhV4T9GW-tcxkg_OYd-hbYHsbjHIYzRjbsmYuzXMPzU,1189
|
6
6
|
snowflake/cortex/_sse_client.py,sha256=_GGmxskEQPVJ2bE3LHySnPFl29CP4YGM4_xmR_Kk-WA,2485
|
7
7
|
snowflake/cortex/_summarize.py,sha256=raDFAb31penzEtOtqQv8wQS69MsRt_B75VQ5cDHegbE,1018
|
8
8
|
snowflake/cortex/_translate.py,sha256=QqngDJ9ijB5wCObSVWMfY2FQzk4S02M85PEAKr_Alrk,1363
|
9
9
|
snowflake/cortex/_util.py,sha256=5Y_hwZxW_Tygv8TNO7f5b3jvG9HeRwO8l9wv5sZOjCE,2150
|
10
|
-
snowflake/ml/version.py,sha256=
|
10
|
+
snowflake/ml/version.py,sha256=rQH70QeFNTuY0lzDGmsyz-fsdJFWxWUO1P1iJBAR12k,16
|
11
11
|
snowflake/ml/_internal/env.py,sha256=kCrJTRnqQ97VGUVI1cWUPD8HuBWeL5vOOtwUR0NB9Mg,161
|
12
|
-
snowflake/ml/_internal/env_utils.py,sha256=
|
12
|
+
snowflake/ml/_internal/env_utils.py,sha256=cNh9cMO1tEl2jf7VPIJy-st2O625DkDiELTH6dqqW3Y,28033
|
13
13
|
snowflake/ml/_internal/file_utils.py,sha256=OyXHv-UcItiip1YgLnab6etonUQkYuyDtmplZA0CaoU,13622
|
14
14
|
snowflake/ml/_internal/init_utils.py,sha256=U-oPOtyVf22hCwDH_CH2uDr9yuN6Mr3kwQ_yRAs1mcM,2696
|
15
15
|
snowflake/ml/_internal/migrator_utils.py,sha256=k3erO8x3YJcX6nkKeyJAUNGg1qjE3RFmD-W6dtLzIH0,161
|
16
|
-
snowflake/ml/_internal/telemetry.py,sha256
|
16
|
+
snowflake/ml/_internal/telemetry.py,sha256=-1girD2luwy0PAfBtobuaRxQZr2YNW-bxYnAw2nFpe4,24702
|
17
17
|
snowflake/ml/_internal/type_utils.py,sha256=0AjimiQoAPHGnpLV_zCR6vlMR5lJ8CkZkKFwiUHYDCo,2168
|
18
18
|
snowflake/ml/_internal/container_services/image_registry/credential.py,sha256=nShNgIb2yNu9w6vceOY3aSgjpuOoi0spWWmvgEafPSk,3291
|
19
19
|
snowflake/ml/_internal/container_services/image_registry/http_client.py,sha256=JAkZmI9szd3BeAB6bpSlfCWAmQOSGKVO3zrV_0QP6-I,5448
|
@@ -26,7 +26,7 @@ snowflake/ml/_internal/exceptions/error_messages.py,sha256=vF9XOWJoBuKvFxBkGcDel
|
|
26
26
|
snowflake/ml/_internal/exceptions/exceptions.py,sha256=ub0fthrNTVoKhpj1pXnKRfO1Gqnmbe7wY51vaoEOp5M,1653
|
27
27
|
snowflake/ml/_internal/exceptions/fileset_error_messages.py,sha256=dqPpRu0cKyQA_0gahvbizgQBTwNhnwveN286JrJLvi8,419
|
28
28
|
snowflake/ml/_internal/exceptions/fileset_errors.py,sha256=pHwY7f5c6JH-RZDtkiWy8nICHKy4T5vvWs5cq5rPD_4,1030
|
29
|
-
snowflake/ml/_internal/exceptions/modeling_error_messages.py,sha256=
|
29
|
+
snowflake/ml/_internal/exceptions/modeling_error_messages.py,sha256=M1s_PNHcOGlSDKD2kvSUQYsSaKHdHdnE74609LvF27c,749
|
30
30
|
snowflake/ml/_internal/exceptions/sql_error_codes.py,sha256=aEI3-gW7FeNahoPncdOaGGRBmPJmkCHK-a1o2e3c3PI,206
|
31
31
|
snowflake/ml/_internal/human_readable_id/adjectives.txt,sha256=5o4MbVeHoELAqyLpyuKleOKR47jPjC_nKoziOIZMwT0,804
|
32
32
|
snowflake/ml/_internal/human_readable_id/animals.txt,sha256=GDLzMwzxiL07PhIMxw4t89bhYqqg0bQfPiuQT8VNeME,837
|
@@ -38,7 +38,7 @@ snowflake/ml/_internal/utils/identifier.py,sha256=jlvTl2mjzvuMgNgTU2jBlfQ6TR21t3
|
|
38
38
|
snowflake/ml/_internal/utils/import_utils.py,sha256=eexwIe7auT17s4aVxAns7se0_K15rcq3O17MkIvDpPI,2068
|
39
39
|
snowflake/ml/_internal/utils/log_stream_processor.py,sha256=pBf8ycEamhHjEzUT55Rx_tFqSkYRpD5Dt71Mx9ZdaS8,1001
|
40
40
|
snowflake/ml/_internal/utils/parallelize.py,sha256=Q6_-P2t4DoYNO8DyC1kOl7H3qNL-bUK6EgtlQ_b5ThY,4534
|
41
|
-
snowflake/ml/_internal/utils/pkg_version_utils.py,sha256=
|
41
|
+
snowflake/ml/_internal/utils/pkg_version_utils.py,sha256=FwdLHFhxi3CAQQduGjFavEBmkD9Ra6ZTkt6Eub-WoSA,5168
|
42
42
|
snowflake/ml/_internal/utils/query_result_checker.py,sha256=h1nbUImdB9lSNCON3uIA0xCm8_JrS-TE-jQXJJs9WfU,10668
|
43
43
|
snowflake/ml/_internal/utils/result.py,sha256=59Sz6MvhjakUNiONwg9oi2544AmORCJR3XyWTxY2vP0,2405
|
44
44
|
snowflake/ml/_internal/utils/retryable_http.py,sha256=1GCuQkTGO4sX-VRbjy31e4_VgUjqsp5Lh2v5tSJjVK8,1321
|
@@ -50,38 +50,44 @@ snowflake/ml/_internal/utils/sql_identifier.py,sha256=ZcRjSfpovsqaY7S8bFB6z44z28
|
|
50
50
|
snowflake/ml/_internal/utils/table_manager.py,sha256=jHGfl0YSqhFLL7DOOQkjUMzTmLkqFDIM7Gs0LBQw8BM,4384
|
51
51
|
snowflake/ml/_internal/utils/temp_file_utils.py,sha256=0-HTjXdxVt0kE6XcgyvRvY0btflWlmotP2bMXVpFJPA,1553
|
52
52
|
snowflake/ml/_internal/utils/uri.py,sha256=pvskcWoeS0M66DaU2XlJzK9wce55z4J5dn5kTy_-Tqs,2828
|
53
|
-
snowflake/ml/data/data_connector.py,sha256=
|
54
|
-
snowflake/ml/data/data_ingestor.py,sha256=
|
53
|
+
snowflake/ml/data/data_connector.py,sha256=I_cFprDeT55MzJh6mVZHBvktMicHC33N4DU1kFcKklQ,7534
|
54
|
+
snowflake/ml/data/data_ingestor.py,sha256=Nrj5l0cVnoXWI6Ilig-r_pGS902xkZATbqh3OsV53NI,1017
|
55
55
|
snowflake/ml/data/data_source.py,sha256=dRemXGi_HHQdn6gaNkxxGJixnQPuUYFDP8NBjmB_ZMk,518
|
56
|
-
snowflake/ml/data/
|
57
|
-
snowflake/ml/data/
|
56
|
+
snowflake/ml/data/ingestor_utils.py,sha256=oeUb631XgG7XBJxoqeGcY-ormEjyESj_Iu74Vc6GQqQ,2352
|
57
|
+
snowflake/ml/data/torch_dataset.py,sha256=OFB0X-p121DT5VPy614_Vt5alfBP3Szj2zLiVFIPRC4,1190
|
58
|
+
snowflake/ml/data/_internal/arrow_ingestor.py,sha256=hjk0jbf-QOGAr-PE9Vwu8MNVPd9lc8bAkM51QzyCNqE,12157
|
58
59
|
snowflake/ml/dataset/__init__.py,sha256=nESj7YEI2u90Oxyit_hKCQMWb7N1BlEM3Ho2Fm0MfHo,274
|
59
60
|
snowflake/ml/dataset/dataset.py,sha256=NNwEyfHwyZ0ZRwp6poBxZE982RjAFUfN645yDFTdmUI,21188
|
60
61
|
snowflake/ml/dataset/dataset_factory.py,sha256=Fym4ICK-B1j6Om4ENwWxEvryq3ZKoCslBSZDBenmjOo,1615
|
61
|
-
snowflake/ml/dataset/dataset_metadata.py,sha256=
|
62
|
-
snowflake/ml/dataset/dataset_reader.py,sha256=
|
62
|
+
snowflake/ml/dataset/dataset_metadata.py,sha256=tWR3fa2WG3Kj2btKMbg51l5jX68qm1rfXRswU0IDYTg,4157
|
63
|
+
snowflake/ml/dataset/dataset_reader.py,sha256=e-IRbxbxFfNbsglmqtzhV_wYFsEflBW6-U_krbfXPpw,4371
|
63
64
|
snowflake/ml/feature_store/__init__.py,sha256=VKBVkS050WNF8rcqNqwFfNXa_B9GZjcUpuibOGsUSls,423
|
64
65
|
snowflake/ml/feature_store/access_manager.py,sha256=WBRRzmUUB_K9_xX6duv4tFExb7d4RksO_7FZjzEtoww,10696
|
65
66
|
snowflake/ml/feature_store/entity.py,sha256=A65FOGlljREUG8IRMSN84v1x2uTeVGCM4NqKXO2Ui8w,4059
|
66
|
-
snowflake/ml/feature_store/feature_store.py,sha256=
|
67
|
-
snowflake/ml/feature_store/feature_view.py,sha256=
|
68
|
-
snowflake/ml/feature_store/examples/example_helper.py,sha256=
|
67
|
+
snowflake/ml/feature_store/feature_store.py,sha256=Yqpypd-Mn0SyyRXNZ69zPKu02wydDl3Yie78KD9Td-E,112134
|
68
|
+
snowflake/ml/feature_store/feature_view.py,sha256=nUBO5niA-eZYkWe4-XrnMt5gIZ6MlGsqT_SKJX78HF4,34226
|
69
|
+
snowflake/ml/feature_store/examples/example_helper.py,sha256=hVaPrjtMsMxJ804vTzjrI5cvyyPLx2ExZi2P9Qfg4z0,12248
|
70
|
+
snowflake/ml/feature_store/examples/airline_features/entities.py,sha256=V2xVZpHFgGA92Kyd9hCWa2YoiRhH5m6HAgvnh126Nqo,463
|
71
|
+
snowflake/ml/feature_store/examples/airline_features/source.yaml,sha256=kzl8ukOK8OuSPsxChEgJ9SPyPnzC-fPHqZC4O6aqd5o,247
|
72
|
+
snowflake/ml/feature_store/examples/airline_features/features/plane_features.py,sha256=qVYEGKt7DMioZvf20b3-RNtJOQVYUyWANCdk-CdOyuU,1015
|
73
|
+
snowflake/ml/feature_store/examples/airline_features/features/weather_features.py,sha256=A5hkWOQ3CTQfaJaUQ1VsB2Ne8LmIrM9DPyrMX0EOHvI,1634
|
69
74
|
snowflake/ml/feature_store/examples/citibike_trip_features/entities.py,sha256=SE8Zx3xqFJk65Tqori4nh0KOPwEY3baMoFsVAYM1e7c,449
|
70
|
-
snowflake/ml/feature_store/examples/citibike_trip_features/source.yaml,sha256=
|
71
|
-
snowflake/ml/feature_store/examples/citibike_trip_features/features/station_feature.py,sha256=
|
72
|
-
snowflake/ml/feature_store/examples/citibike_trip_features/features/trip_feature.py,sha256=
|
73
|
-
snowflake/ml/feature_store/examples/new_york_taxi_features/entities.py,sha256=
|
74
|
-
snowflake/ml/feature_store/examples/new_york_taxi_features/source.yaml,sha256=
|
75
|
-
snowflake/ml/feature_store/examples/new_york_taxi_features/features/
|
76
|
-
snowflake/ml/feature_store/examples/new_york_taxi_features/features/
|
77
|
-
snowflake/ml/feature_store/examples/source_data/
|
75
|
+
snowflake/ml/feature_store/examples/citibike_trip_features/source.yaml,sha256=gutDfijhGkBu1w4r1286JnuO4EhbuRPKwoHisYlt8Yw,229
|
76
|
+
snowflake/ml/feature_store/examples/citibike_trip_features/features/station_feature.py,sha256=3I95LMBEo5lXlaztPhjF_MVUmYXUZ9Xaz8ZmQpT0Cxk,1369
|
77
|
+
snowflake/ml/feature_store/examples/citibike_trip_features/features/trip_feature.py,sha256=LChqltsCBwD8diJN-Qno7a_gOBTwz6qCPm6qTmYSICc,1194
|
78
|
+
snowflake/ml/feature_store/examples/new_york_taxi_features/entities.py,sha256=J5oragmf6UvwruMjHhtrlzcBP-rA3Fyqv9VOJAT4goU,396
|
79
|
+
snowflake/ml/feature_store/examples/new_york_taxi_features/source.yaml,sha256=0DShPCG972klJjHod0qkXrT7zkw45B3YCZs5U-x4Pv4,338
|
80
|
+
snowflake/ml/feature_store/examples/new_york_taxi_features/features/location_features.py,sha256=ycjBkYxOnvpmToGsoTwohBEPgzzlZnm2wkDeYMUKJKY,1728
|
81
|
+
snowflake/ml/feature_store/examples/new_york_taxi_features/features/trip_features.py,sha256=RgDl2KX0y8f3B_yKNg6Tf64CsG6_ItcWoCFWScXhjz4,1273
|
82
|
+
snowflake/ml/feature_store/examples/source_data/airline.yaml,sha256=CZV416oTTM6hWCK2GPdb38Q8AR3CGIxAZwXrbP9KT_E,152
|
83
|
+
snowflake/ml/feature_store/examples/source_data/citibike_trips.yaml,sha256=OaQwNzUHasgGgy8oIOHVRJ5tg7nnKs11hqDSZYs5-U0,923
|
78
84
|
snowflake/ml/feature_store/examples/source_data/fraud_transactions.yaml,sha256=ENAIRcrRmdIplKJP8A5nhXdWSQRNTeQH4ghIT9boE8o,711
|
79
85
|
snowflake/ml/feature_store/examples/source_data/nyc_yellow_trips.yaml,sha256=1PkEybh_ieP-HZme9YPuAf6-pL4D6-6dzNlqdZpH8fk,142
|
80
86
|
snowflake/ml/feature_store/examples/source_data/winequality_red.yaml,sha256=03qIwx_7KA-56HwKqshSOFCGOvLnQibR_Iv2zprz_Vs,741
|
81
|
-
snowflake/ml/feature_store/examples/wine_quality_features/entities.py,sha256=
|
82
|
-
snowflake/ml/feature_store/examples/wine_quality_features/source.yaml,sha256=
|
83
|
-
snowflake/ml/feature_store/examples/wine_quality_features/features/managed_wine_features.py,sha256=
|
84
|
-
snowflake/ml/feature_store/examples/wine_quality_features/features/static_wine_features.py,sha256=
|
87
|
+
snowflake/ml/feature_store/examples/wine_quality_features/entities.py,sha256=Hk593l6dqruvgcPRcSGKf2UGVQ9CPxmD547UuZ7QCnU,294
|
88
|
+
snowflake/ml/feature_store/examples/wine_quality_features/source.yaml,sha256=dPs0nzf4poLhxDVEydb2Ff3mpRCWQ_L4jCoPO7HV4QA,241
|
89
|
+
snowflake/ml/feature_store/examples/wine_quality_features/features/managed_wine_features.py,sha256=fqZWuCjVQ_AX0gIO-HCjzDMVwj749e23Lx2Mg25gX88,1432
|
90
|
+
snowflake/ml/feature_store/examples/wine_quality_features/features/static_wine_features.py,sha256=xtq3BdvVqTkP17aw0aCizF2EHmmBVeZOD7UMul2z4hs,990
|
85
91
|
snowflake/ml/fileset/embedded_stage_fs.py,sha256=AYa0vRiqQTvi1Z86tAeID_Mxl3kgxbhi35A0o_-DJF0,6003
|
86
92
|
snowflake/ml/fileset/fileset.py,sha256=yfYFZL2b1vYqL0zs6m9_hmjzyP3TAGTINNz6hF1yalQ,26196
|
87
93
|
snowflake/ml/fileset/parquet_parser.py,sha256=sjyRB59cGBzSzvbcYLvu_ApMPtrR-zwZsQkxekMR4FA,6884
|
@@ -97,14 +103,18 @@ snowflake/ml/model/_api.py,sha256=u2VUcZ0OK4b8DtlqB_IMaT8EWt_onRVaw3VaWAm4OA4,22
|
|
97
103
|
snowflake/ml/model/custom_model.py,sha256=Nu9kNa9pDFXmLN1Ipv4bc_htG0lPeWKD0AQ2Ma2-wK0,9172
|
98
104
|
snowflake/ml/model/deploy_platforms.py,sha256=r6cS3gTNWG9i4P00fHehY6Q8eBiNva6501OTyp_E5m0,144
|
99
105
|
snowflake/ml/model/model_signature.py,sha256=Iwll4_VbcDtDX0otGS_NVd0gKSdcHQ_OJbZxNNGMRFg,29473
|
100
|
-
snowflake/ml/model/type_hints.py,sha256=
|
101
|
-
snowflake/ml/model/_client/model/model_impl.py,sha256=
|
102
|
-
snowflake/ml/model/_client/model/model_version_impl.py,sha256=
|
106
|
+
snowflake/ml/model/type_hints.py,sha256=LD8BVvh6vJy9jvnDpzuBkHZFUXmwPqRNCwzFKVOriGM,14133
|
107
|
+
snowflake/ml/model/_client/model/model_impl.py,sha256=pqjK8mSZIQJ_30tRWWFPIo8X35InSVoAunXlQNtSJEM,15369
|
108
|
+
snowflake/ml/model/_client/model/model_version_impl.py,sha256=8C8PXBYZEp11ZjLxdEunzyHp6QKRTnz9cu95jERomuI,27873
|
103
109
|
snowflake/ml/model/_client/ops/metadata_ops.py,sha256=7cGx8zYzye2_cvZnyGxoukPtT6Q-Kexd-s4yeZmpmj8,4890
|
104
|
-
snowflake/ml/model/_client/ops/model_ops.py,sha256
|
110
|
+
snowflake/ml/model/_client/ops/model_ops.py,sha256=_Mj9ULvXq8cRd65ELcvj08XIZ4uBa0Pv51K5rQI3Wdc,36749
|
111
|
+
snowflake/ml/model/_client/ops/service_ops.py,sha256=U1-dHCXLZuiJFxfhpOGx_vsld4zfEYXqsJmYJ6x-Qak,4898
|
112
|
+
snowflake/ml/model/_client/service/model_deployment_spec.py,sha256=vw9HQtAipGutgDZJ7JcBRrJg2ufL75qqSvNTplW230Q,4103
|
113
|
+
snowflake/ml/model/_client/service/model_deployment_spec_schema.py,sha256=3LrA8UiLWkwzzaxzdo5RCHsY-3Az5dCXy_a8qBrPbTs,762
|
105
114
|
snowflake/ml/model/_client/sql/_base.py,sha256=pN5hxyC0gGzEJgZh2FBHLU0Y6iIoLcebHoE7wTpoUZQ,1252
|
106
115
|
snowflake/ml/model/_client/sql/model.py,sha256=kdglOjmrOsFZYoEu63-BfyLXgnWBe7RrwkknalDKDkQ,5783
|
107
|
-
snowflake/ml/model/_client/sql/model_version.py,sha256=
|
116
|
+
snowflake/ml/model/_client/sql/model_version.py,sha256=hkxmpUR0fiVcecnsJ3W-zkwREr6cV_AQggpMJap2os8,20366
|
117
|
+
snowflake/ml/model/_client/sql/service.py,sha256=kpjjOVqhmY6N-24vIQ1ICxCAjcHYe0mbyG-IACqcUGk,5376
|
108
118
|
snowflake/ml/model/_client/sql/stage.py,sha256=hrCh9P9F4l5R0hLr2r-wLDIEc4XYHMFdX1wNRveMVt0,819
|
109
119
|
snowflake/ml/model/_client/sql/tag.py,sha256=pwwrcyPtSnkUfDzL3M8kqM0KSx7CaTtgty3HDhVC9vg,4345
|
110
120
|
snowflake/ml/model/_deploy_client/image_builds/base_image_builder.py,sha256=clCaoO0DZam4X79UtQV1ZuMQtTezAJkhLu9ViAX18Xk,302
|
@@ -125,43 +135,43 @@ snowflake/ml/model/_deploy_client/utils/constants.py,sha256=Ip_2GgsCYRXj_mD4MUdk
|
|
125
135
|
snowflake/ml/model/_deploy_client/utils/snowservice_client.py,sha256=k0SulzWdttRvJkyuXM59aluEVgQg8Qd7XZUUpEBKuO4,11671
|
126
136
|
snowflake/ml/model/_deploy_client/warehouse/deploy.py,sha256=yZR9M76oh6JbPQJHb6t3wGO3wuD04w0zLEXiEyZW_tg,8358
|
127
137
|
snowflake/ml/model/_deploy_client/warehouse/infer_template.py,sha256=1THMd6JX1nW-OozECyxXbn9HJXDgNBUIdhfC9ODPDWY,3011
|
128
|
-
snowflake/ml/model/_model_composer/model_composer.py,sha256=
|
129
|
-
snowflake/ml/model/_model_composer/model_manifest/model_manifest.py,sha256=
|
130
|
-
snowflake/ml/model/_model_composer/model_manifest/model_manifest_schema.py,sha256=
|
138
|
+
snowflake/ml/model/_model_composer/model_composer.py,sha256=U4n6S4J4YtLxkNVurOhziH6p1HacOCHjYgK__gAFtKQ,7850
|
139
|
+
snowflake/ml/model/_model_composer/model_manifest/model_manifest.py,sha256=wrcEFMzybkVQZNsCwOKQ5HHVd0Q6_M9WnahPuJ4XvrY,6715
|
140
|
+
snowflake/ml/model/_model_composer/model_manifest/model_manifest_schema.py,sha256=JF9IPpSrXoyCdFnqidCN67HUqo6MV0CchXzi3klURII,2675
|
131
141
|
snowflake/ml/model/_model_composer/model_method/function_generator.py,sha256=2cE463GKWAJCrqEYD1s8IPzd3iPu0X0eQ12NnXQhGBM,2556
|
132
142
|
snowflake/ml/model/_model_composer/model_method/infer_function.py_template,sha256=eQ-FLUGt5r0P9UtDwWFoqSJzGeLBvwEMoHAbe8aCNsE,1418
|
133
143
|
snowflake/ml/model/_model_composer/model_method/infer_partitioned.py_template,sha256=L5R04QeoW6dH1PdEy3qo1LS478rTmvvRmrwlgqVwimg,1504
|
134
144
|
snowflake/ml/model/_model_composer/model_method/infer_table_function.py_template,sha256=NUDSyFFAdEZEWtSkvYxkU9vB-NTjcTg6sjkrNpcmF6A,1418
|
135
145
|
snowflake/ml/model/_model_composer/model_method/model_method.py,sha256=4RfjJ_0Y8NUmI9YpmBqxBT2xk_yQ0RIzznaKGHlS6jU,7076
|
136
146
|
snowflake/ml/model/_packager/model_handler.py,sha256=wMPGOegXx5GgiSA81gbKpfODosdj2mvD1bFbeN4OmNc,2642
|
137
|
-
snowflake/ml/model/_packager/model_packager.py,sha256=
|
138
|
-
snowflake/ml/model/_packager/model_env/model_env.py,sha256=
|
139
|
-
snowflake/ml/model/_packager/model_handlers/_base.py,sha256=
|
147
|
+
snowflake/ml/model/_packager/model_packager.py,sha256=q0iQSeV5jRJyPC-3TKqqqRbxvKHFmPPuOPYSYtoMY5c,6090
|
148
|
+
snowflake/ml/model/_packager/model_env/model_env.py,sha256=BXj-YTyWtj_g-8YLN-lqMVAhoS5jE-ZEVIIi8X1EKoc,18485
|
149
|
+
snowflake/ml/model/_packager/model_handlers/_base.py,sha256=qQS1ZSz1Ikdj0TvyLU9n8K6KAj-PknL4s801qpnWodo,7164
|
140
150
|
snowflake/ml/model/_packager/model_handlers/_utils.py,sha256=XpVZM8KjCjy7swfWFb0TpKC6uqAqTL1nZbFdJ8DM8ng,4653
|
141
|
-
snowflake/ml/model/_packager/model_handlers/catboost.py,sha256=
|
142
|
-
snowflake/ml/model/_packager/model_handlers/custom.py,sha256=
|
143
|
-
snowflake/ml/model/_packager/model_handlers/huggingface_pipeline.py,sha256=
|
144
|
-
snowflake/ml/model/_packager/model_handlers/lightgbm.py,sha256=
|
145
|
-
snowflake/ml/model/_packager/model_handlers/llm.py,sha256=
|
146
|
-
snowflake/ml/model/_packager/model_handlers/mlflow.py,sha256=
|
147
|
-
snowflake/ml/model/_packager/model_handlers/pytorch.py,sha256=
|
148
|
-
snowflake/ml/model/_packager/model_handlers/sentence_transformers.py,sha256=
|
149
|
-
snowflake/ml/model/_packager/model_handlers/sklearn.py,sha256=
|
150
|
-
snowflake/ml/model/_packager/model_handlers/snowmlmodel.py,sha256=
|
151
|
-
snowflake/ml/model/_packager/model_handlers/tensorflow.py,sha256=
|
152
|
-
snowflake/ml/model/_packager/model_handlers/torchscript.py,sha256=
|
153
|
-
snowflake/ml/model/_packager/model_handlers/xgboost.py,sha256=
|
151
|
+
snowflake/ml/model/_packager/model_handlers/catboost.py,sha256=AcAu3MrqLTaqusocrH8B3S1Qd0UyBdxa6Wqbn9kn67k,10710
|
152
|
+
snowflake/ml/model/_packager/model_handlers/custom.py,sha256=59IxqxXvaG3g6NlVEPv8Irw2tBK4k5yLNosXNZJGS4o,8059
|
153
|
+
snowflake/ml/model/_packager/model_handlers/huggingface_pipeline.py,sha256=mIOJaiqxhRVAMl08X0cs_4KvkH2zDDR4MM2rJUllp0E,20552
|
154
|
+
snowflake/ml/model/_packager/model_handlers/lightgbm.py,sha256=uE2SE7qvDcpIUZ8Il_ZBDVT6kpFOP9ED8l1dm7dRTJU,12098
|
155
|
+
snowflake/ml/model/_packager/model_handlers/llm.py,sha256=_qzjoJna6yWcu1AVC8K8pFgkL1dxYQ5Sh2Ad8kT1fRY,11020
|
156
|
+
snowflake/ml/model/_packager/model_handlers/mlflow.py,sha256=ZJ1Tb6hQhaYv5z2DZUm4d4QSzNf2uFScFy_sZFdjlVA,9280
|
157
|
+
snowflake/ml/model/_packager/model_handlers/pytorch.py,sha256=DDcf85xisPLT1PyXdmPrjJpIIepkdmWNXCOpT_dCncw,8294
|
158
|
+
snowflake/ml/model/_packager/model_handlers/sentence_transformers.py,sha256=bBqJxXPzF8COgprUPnujHKpPEjOVVNH1E1VG_h8-5V0,9351
|
159
|
+
snowflake/ml/model/_packager/model_handlers/sklearn.py,sha256=Rk3Eiv44vBm2ng_Sjk_W1m3m_PLCxl8dJGniBxsylqo,12287
|
160
|
+
snowflake/ml/model/_packager/model_handlers/snowmlmodel.py,sha256=IEOuUkNaJMn6c69Npa5yMHV_z1BW8cA-yJ4U8AIFsQM,8237
|
161
|
+
snowflake/ml/model/_packager/model_handlers/tensorflow.py,sha256=OhqC4GcmDDz4IOgDITLnG7KFY3zVtzOJX3wAtLv0bI0,8448
|
162
|
+
snowflake/ml/model/_packager/model_handlers/torchscript.py,sha256=V9nGa0DaS1jxqudwEhGZR-MhAHuXWQevTXX-gjJRT0c,8378
|
163
|
+
snowflake/ml/model/_packager/model_handlers/xgboost.py,sha256=vI8ppGJQ46Bemq9vw_rOM-KvZwLzeGoHrPtSxbigolQ,12579
|
154
164
|
snowflake/ml/model/_packager/model_handlers_migrator/base_migrator.py,sha256=BZo14UrywGZM1kTqzN4VFQcYjl7dggDp1U90ZBCMuOg,1409
|
155
165
|
snowflake/ml/model/_packager/model_meta/_core_requirements.py,sha256=z0WnMVFR9RySEpldoPrDsMgSrSW8EOiTaylnTsBwhe4,265
|
156
166
|
snowflake/ml/model/_packager/model_meta/_packaging_requirements.py,sha256=TfJNtrfyZoNiJZYFfmTbmiWMlXKM-QxkOBIJVFvPit0,44
|
157
167
|
snowflake/ml/model/_packager/model_meta/model_blob_meta.py,sha256=GmiqqI-XVjrOX7cSa5GKerKhfHptlsg74MKqTGwJ5Jk,1949
|
158
|
-
snowflake/ml/model/_packager/model_meta/model_meta.py,sha256=
|
159
|
-
snowflake/ml/model/_packager/model_meta/model_meta_schema.py,sha256=
|
168
|
+
snowflake/ml/model/_packager/model_meta/model_meta.py,sha256=FggDJ-5zN_4kkFvq5_MLBq2HtrJ2HeIP9A6KM9e0f2M,19962
|
169
|
+
snowflake/ml/model/_packager/model_meta/model_meta_schema.py,sha256=jbjagr5d04W4vco9Fh8BrcpDo_keFVm5DGn2iDs1Khs,3041
|
160
170
|
snowflake/ml/model/_packager/model_meta_migrator/base_migrator.py,sha256=SORlqpPbOeBg6dvJ3DidHeLVi0w9YF0Zv4tC0Kbc20g,1311
|
161
171
|
snowflake/ml/model/_packager/model_meta_migrator/migrator_plans.py,sha256=nf6PWDH_gvX_OiS4A-G6BzyCLFEG4dASU0t5JTsijM4,1041
|
162
172
|
snowflake/ml/model/_packager/model_meta_migrator/migrator_v1.py,sha256=qEPzdCw_FzExMbPuyFHupeWlYD88yejLdcmkPwjJzDk,2070
|
163
173
|
snowflake/ml/model/_packager/model_runtime/_snowml_inference_alternative_requirements.py,sha256=fRPGbrnq67PRo3e_uVk01TKZ7AZKYM-_lryePkNk5AY,239
|
164
|
-
snowflake/ml/model/_packager/model_runtime/model_runtime.py,sha256=
|
174
|
+
snowflake/ml/model/_packager/model_runtime/model_runtime.py,sha256=J9oS2x5ZSJb3dQM98xyBrxcsIwx1vyOu6lc0HQCzlFU,4790
|
165
175
|
snowflake/ml/model/_signatures/base_handler.py,sha256=WwBfe-83Y0m-HcDx1YSYCGwanIe0fb2MWhTeXc1IeJI,1304
|
166
176
|
snowflake/ml/model/_signatures/builtins_handler.py,sha256=nF-2ptQjeu7ikO72_d14jk1N6BVbmy-mjtZ9I1c7-Qg,2741
|
167
177
|
snowflake/ml/model/_signatures/core.py,sha256=xj4QwfVixzpUjVMfN1-d2l8LMi7b6qH7QvnvD3oMxSw,18480
|
@@ -258,7 +268,7 @@ snowflake/ml/modeling/feature_selection/select_percentile.py,sha256=Uh_WEWjInPma
|
|
258
268
|
snowflake/ml/modeling/feature_selection/sequential_feature_selector.py,sha256=EgCyX3pdkdVeOByVvgiqgfTlbmTmJdrxKEWCydrONg8,50789
|
259
269
|
snowflake/ml/modeling/feature_selection/variance_threshold.py,sha256=KWlDhy65YXAyt3qS2nqOuAYVxtV8gnS1bSjEUFyazjI,47725
|
260
270
|
snowflake/ml/modeling/framework/_utils.py,sha256=7k9iU5zAWa4ZpMZlg8KfSMi4vH3o69w5aAh5RTRNdZ4,10203
|
261
|
-
snowflake/ml/modeling/framework/base.py,sha256=
|
271
|
+
snowflake/ml/modeling/framework/base.py,sha256=Q1Yq8SesnpVWdtRGc6rbuz9T3hcT0eRjl2ZiWGyWAeQ,31954
|
262
272
|
snowflake/ml/modeling/gaussian_process/__init__.py,sha256=rY5qSOkHj59bHiTV6LhBiEhUA0StoCb0ACNR2vkV4v0,297
|
263
273
|
snowflake/ml/modeling/gaussian_process/gaussian_process_classifier.py,sha256=04H5iTImclnaG3QYJRSfnRQfBl2EfNnheJXlhzeuu-c,53347
|
264
274
|
snowflake/ml/modeling/gaussian_process/gaussian_process_regressor.py,sha256=I33qYg_R8NDieFBJvd12mpCpe6jxy-fNhqwelw8e5uQ,52412
|
@@ -359,7 +369,7 @@ snowflake/ml/modeling/neural_network/mlp_regressor.py,sha256=gUa_VVRgGUhEhRTNHoD
|
|
359
369
|
snowflake/ml/modeling/parameters/disable_distributed_hpo.py,sha256=jyjlLPrtnDSQxlTTM0ayMjWKVL_IP3snd--yeXK5htY,221
|
360
370
|
snowflake/ml/modeling/parameters/enable_anonymous_sproc.py,sha256=7FUdfhLbEGEocdd5XZ-7MFYMzOva58qI1dPDurPt7fw,207
|
361
371
|
snowflake/ml/modeling/pipeline/__init__.py,sha256=dYtqk_GD_hAAZjGfH1maWlZQ30h4hu_KGaf-_y9_AD8,298
|
362
|
-
snowflake/ml/modeling/pipeline/pipeline.py,sha256=
|
372
|
+
snowflake/ml/modeling/pipeline/pipeline.py,sha256=HMHGwBsRRRRsJCJwqTUmRei3f5Ipk8MxoI2xcdm66-M,46719
|
363
373
|
snowflake/ml/modeling/preprocessing/__init__.py,sha256=dYtqk_GD_hAAZjGfH1maWlZQ30h4hu_KGaf-_y9_AD8,298
|
364
374
|
snowflake/ml/modeling/preprocessing/binarizer.py,sha256=MrgSVTw9RpajyYe0dzai-qnpdOb3Zq0SfJRpHJjpnoY,7383
|
365
375
|
snowflake/ml/modeling/preprocessing/k_bins_discretizer.py,sha256=FdIy8mpjsiMqWsUL07S27T-JNDVgE2bvNUJf4HcBik4,21533
|
@@ -401,11 +411,12 @@ snowflake/ml/registry/_schema_upgrade_plans.py,sha256=LxZNXYGjGG-NmB7w7_SxgaJpZu
|
|
401
411
|
snowflake/ml/registry/_schema_version_manager.py,sha256=-9wGH-7ELSZxp7-fW7hXTMqkJSIebXdSpwwgzdvnoYs,6922
|
402
412
|
snowflake/ml/registry/model_registry.py,sha256=x42wR2lEyW99NnG8auNPOowg34bF87ksXQqrjMFd7Pw,84795
|
403
413
|
snowflake/ml/registry/registry.py,sha256=cU-LLTkQuCz9iwaTEj6-oxDzn8f7_CRcrmbg5SX62i8,16812
|
404
|
-
snowflake/ml/registry/_manager/model_manager.py,sha256=
|
414
|
+
snowflake/ml/registry/_manager/model_manager.py,sha256=Ae3zN2QUUvRXj1AAW6OEz_LI9oCdKXq6mtT0lP6cl2w,11013
|
405
415
|
snowflake/ml/utils/connection_params.py,sha256=JRpQppuWRk6bhdLzVDhMfz3Y6yInobFNLHmIBaXD7po,8005
|
406
416
|
snowflake/ml/utils/sparse.py,sha256=XqDQkw39Ml6YIknswdkvFIwUwBk_GBXAbP8IACfPENg,3817
|
407
|
-
|
408
|
-
snowflake_ml_python-1.6.
|
409
|
-
snowflake_ml_python-1.6.
|
410
|
-
snowflake_ml_python-1.6.
|
411
|
-
snowflake_ml_python-1.6.
|
417
|
+
snowflake/ml/utils/sql_client.py,sha256=z4Rhi7pQz3s9cyu_Uzfr3deCnrkCdFh9IYIvicsuwdc,692
|
418
|
+
snowflake_ml_python-1.6.1.dist-info/LICENSE.txt,sha256=PdEp56Av5m3_kl21iFkVTX_EbHJKFGEdmYeIO1pL_Yk,11365
|
419
|
+
snowflake_ml_python-1.6.1.dist-info/METADATA,sha256=3-jr4oyLTyw__yT1G2LFXNpX5uApvH0kdXCWFNWQd7c,59475
|
420
|
+
snowflake_ml_python-1.6.1.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
421
|
+
snowflake_ml_python-1.6.1.dist-info/top_level.txt,sha256=TY0gFSHKDdZy3THb0FGomyikWQasEGldIR1O0HGOHVw,10
|
422
|
+
snowflake_ml_python-1.6.1.dist-info/RECORD,,
|
@@ -1,58 +0,0 @@
|
|
1
|
-
from typing import List
|
2
|
-
|
3
|
-
from snowflake.ml.feature_store import FeatureView
|
4
|
-
from snowflake.ml.feature_store.examples.new_york_taxi_features.entities import (
|
5
|
-
trip_pickup,
|
6
|
-
)
|
7
|
-
from snowflake.snowpark import DataFrame, Session
|
8
|
-
|
9
|
-
|
10
|
-
# This function will be invoked by example_helper.py. Do not change the name.
|
11
|
-
def create_draft_feature_view(session: Session, source_dfs: List[DataFrame], source_tables: List[str]) -> FeatureView:
|
12
|
-
"""Create a draft feature view."""
|
13
|
-
feature_df = session.sql(
|
14
|
-
f"""
|
15
|
-
with
|
16
|
-
cte_1 (TS, PULOCATIONID, TRIP_COUNT_2H, TRIP_COUNT_5H, TRIP_FARE_SUM_2H, TRIP_FARE_SUM_5H) as (
|
17
|
-
select
|
18
|
-
TPEP_PICKUP_DATETIME as TS,
|
19
|
-
PULOCATIONID,
|
20
|
-
count(FARE_AMOUNT) over (
|
21
|
-
partition by PULOCATIONID
|
22
|
-
order by TPEP_PICKUP_DATETIME
|
23
|
-
range between interval '2 hours' preceding and current row
|
24
|
-
) TRIP_COUNT_2H,
|
25
|
-
count(FARE_AMOUNT) over (
|
26
|
-
partition by PULOCATIONID
|
27
|
-
order by TPEP_PICKUP_DATETIME
|
28
|
-
range between interval '5 hours' preceding and current row
|
29
|
-
) TRIP_COUNT_5H,
|
30
|
-
sum(FARE_AMOUNT) over (
|
31
|
-
partition by PULOCATIONID
|
32
|
-
order by TPEP_PICKUP_DATETIME
|
33
|
-
range between interval '2 hours' preceding and current row
|
34
|
-
) TRIP_FARE_SUM_2H,
|
35
|
-
count(FARE_AMOUNT) over (
|
36
|
-
partition by PULOCATIONID
|
37
|
-
order by TPEP_PICKUP_DATETIME
|
38
|
-
range between interval '5 hours' preceding and current row
|
39
|
-
) TRIP_FARE_SUM_5H
|
40
|
-
from {source_tables[0]}
|
41
|
-
)
|
42
|
-
select
|
43
|
-
TS,
|
44
|
-
PULOCATIONID,
|
45
|
-
TRIP_FARE_SUM_2H / TRIP_COUNT_2H as MEAN_FARE_2H,
|
46
|
-
TRIP_FARE_SUM_5H / TRIP_COUNT_5H as MEAN_FARE_5H,
|
47
|
-
from cte_1
|
48
|
-
"""
|
49
|
-
)
|
50
|
-
|
51
|
-
return FeatureView(
|
52
|
-
name="f_trip_pickup", # name of feature view
|
53
|
-
entities=[trip_pickup], # entities
|
54
|
-
feature_df=feature_df, # definition query
|
55
|
-
refresh_freq="1d", # the frequency this feature view re-compute
|
56
|
-
timestamp_col="TS", # timestamp column. Used when generate training data
|
57
|
-
desc="Managed feature view trip pickup refreshed everyday.",
|
58
|
-
)
|
File without changes
|
File without changes
|
File without changes
|