Validate predictor inputs and sampling parameters by AdityaXXC · Pull Request #404 · shiyu-coder/Kronos · GitHub
Skip to content

Validate predictor inputs and sampling parameters - #404

Open
AdityaXXC wants to merge 1 commit into
shiyu-coder:masterfrom
AdityaXXC:adityaxxc-fix-kronos-bug
Open

AdityaXXC wants to merge 1 commit into
shiyu-coder:masterfrom
AdityaXXC:adityaxxc-fix-kronos-bug

Conversation

@AdityaXXC

Copy link
Copy Markdown

Kronos prediction and sampling helpers could fail with valid optional arguments or proceed with mismatched input lengths, producing confusing runtime errors. This change validates sampling parameters and predictor timestamp/dataframe alignment before inference, while preserving the existing regression behavior.

Validation: python -m pytest -q tests/test_kronos_regression.py (4 passed).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.

1 participant