Skip to content

Commit 0355b35

Browse files
Merge branch 'master' into neo-input-shape-derivation-comment
2 parents b21628b + 3bd4435 commit 0355b35

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

doc/api/prep_data/feature_store.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Feature Group
66

77
.. autoclass:: sagemaker.feature_store.feature_group.FeatureGroup
88
:members:
9-
:exclude-members: load_feature_definitions
109
:show-inheritance:
1110

1211
.. autoclass:: sagemaker.feature_store.feature_group.AthenaQuery

src/sagemaker/feature_store/feature_group.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -759,8 +759,8 @@ def load_feature_definitions(
759759
"""Load feature definitions from a Pandas DataFrame.
760760
761761
Column name is used as feature name. Feature type is inferred from the dtype
762-
of the column. Dtype int_, int8, int16, int32, int64, uint8, uint16, uint32
763-
and uint64 are mapped to Integral feature type. Dtype float_, float16, float32
762+
of the column. Dtype :literal:`int_`, int8, int16, int32, int64, uint8, uint16, uint32
763+
and uint64 are mapped to Integral feature type. Dtype :literal:`float_`, float16, float32
764764
and float64 are mapped to Fractional feature type. string dtype is mapped to
765765
String feature type.
766766

src/sagemaker/model_card/model_card.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,9 @@ def _create_training_details(training_job_data: dict, cls: "TrainingDetails", **
957957
"hyper_parameters": [
958958
HyperParameter(key, value)
959959
for key, value in training_job_data["HyperParameters"].items()
960-
],
960+
]
961+
if "HyperParameters" in training_job_data
962+
else [],
961963
}
962964
kwargs.update({"training_job_details": TrainingJobDetails(**job)})
963965
instance = cls(**kwargs)

0 commit comments

Comments
 (0)