Skip to content

Fix to serialisation giving numpy object, docs update#3682

Merged
springfall2008 merged 5 commits intomainfrom
fix15
Mar 28, 2026
Merged

Fix to serialisation giving numpy object, docs update#3682
springfall2008 merged 5 commits intomainfrom
fix15

Conversation

@springfall2008
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings March 28, 2026 09:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes ML load stats entity serialization by ensuring validation_mae is published as a native Python float (avoiding numpy scalar objects that can break JSON serialization).

Changes:

  • Cast self.predictor.validation_mae to float before rounding/publishing in ML stats attributes.

springfall2008 and others added 4 commits March 28, 2026 09:50
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@springfall2008 springfall2008 merged commit f1499dd into main Mar 28, 2026
1 check passed
@springfall2008 springfall2008 deleted the fix15 branch March 28, 2026 10:25
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