Skip to content

Commit 4eefc3e

Browse files
alanpriorclaude
andcommitted
Add changelog fragments for PR #1227
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 9ac86b8 commit 4eefc3e

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

changelog/1227.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
`inference_config={"TRANSFORM_DATES": True}` expands a column holding a genuine datetime dtype (`datetime64`, tz-aware, or `period`) into calendar features (the year, the day of year, the seconds since the epoch, and the cyclical month, day and weekday pairs, plus the time of day when the column carries one) instead of reading it as one plain number. Off by default.

changelog/1227.fixed.1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fitting or predicting on a `period` or `timedelta64` column no longer aborts. A period becomes the instant it starts at, and a duration its length in seconds.

changelog/1227.fixed.2.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
`get_embeddings` now cleans categorical columns the way `predict` does, from the fitted feature schema rather than from the indices declared in `categorical_features_indices`.

0 commit comments

Comments
 (0)