-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: unit test regressors to match estimator results #1804
base: main
Are you sure you want to change the base?
Conversation
🤖 SeineSailor Here is a concise summary of the pull request changes: Summary: This pull request introduces unit tests for the logarithmic regression model and SGD regressor model in the Key Modifications:
Impact: The changes are limited to internal testing code and do not affect the external interface or behavior of the code. Observations/Suggestions:
|
Signed-off-by: Huamin Chen <[email protected]>
efa316d
to
befbb5f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good to me. Just leave a comment.
Thank you.
// Test power calculation. The results should match those from estimator | ||
// https://github.com/sustainable-computing-io/kepler-model-server/pull/493#discussion_r1795610556 | ||
testModel("https://raw.githubusercontent.com/sustainable-computing-io/kepler-model-db/refs/heads/main/models/v0.7/ec2-0.7.11/rapl-sysfs/AbsPower/BPFOnly/SGDRegressorTrainer_0.json", | ||
types.LinearRegressionTrainer, 146994, 18704, 146994) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may make the note that the expected value must be updated if when the model at the target URL has changed.
No description provided.