Skip to content

Make data kwargs explicit#235

Merged
shchur merged 4 commits into
autogluon:masterfrom
shchur:make-data-kwargs-explicit
May 29, 2026
Merged

Make data kwargs explicit#235
shchur merged 4 commits into
autogluon:masterfrom
shchur:make-data-kwargs-explicit

Conversation

@shchur
Copy link
Copy Markdown
Collaborator

@shchur shchur commented May 29, 2026

Issue #, if available:

Summary

Lifts train_data / tuning_data / known_covariates out of predictor_fit_args into explicit, type-annotated kwargs on CloudPredictor.fit and TimeSeriesCloudPredictor.fit / fit_predict. Aligns these signatures with predict() (which already takes them explicitly) and with upstream AutoGluon's predictor.fit().

Changes

  • Soft deprecation — passing these keys via predictor_fit_args still works but emits a FutureWarning citing removal in autogluon.cloud 0.6.0. No existing user code breaks.
  • pathlib.Path accepted on all data inputs (str | Path | DataFrame). Path coercion happens in the backend's data-channel loader, not at the public boundary.
  • FoundationModel signatures aligned — Path accepted on data / train_data / test_data / known_covariates / static_features.
  • Docs + tests updateddocs/index.md, docs/tutorials/{autogluon-cloud,distributed-training}.md, conftest helpers, and all unit tests use the new shape.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

shchur added 4 commits May 29, 2026 09:17
These per-method .rst stubs were committed by accident in d0879c3. They
are auto-generated by sphinx and don't belong in version control.
@shchur shchur requested review from AnirudhDagar and melopeo May 29, 2026 09:34
@github-actions
Copy link
Copy Markdown

Job PR-235-062f11e is done.
Docs are uploaded to https://d12sc05jpx1wj5.cloudfront.net/PR-235/062f11e/index.html

@github-actions
Copy link
Copy Markdown

Job PR-235-b32e50f is done.
Docs are uploaded to https://d12sc05jpx1wj5.cloudfront.net/PR-235/b32e50f/index.html

@github-actions
Copy link
Copy Markdown

Job PR-235-c7185d2 is done.
Docs are uploaded to https://d12sc05jpx1wj5.cloudfront.net/PR-235/c7185d2/index.html

@shchur shchur merged commit ba4d258 into autogluon:master May 29, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants