Skip to content
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

Cron Tasks #42

Merged
merged 9 commits into from
Nov 15, 2022
Merged

Cron Tasks #42

merged 9 commits into from
Nov 15, 2022

Conversation

sinnec
Copy link
Contributor

@sinnec sinnec commented Nov 11, 2022

Co-authored-by: Megaklis Vasilakis megaklis.vasilakis@gmail.com
Co-authored-by: Stavros Theocharis stavrostheocharis@users.noreply.github.com

sinnec and others added 3 commits November 11, 2022 16:42
Co-authored-by: Megaklis Vasilakis <megaklis.vasilakis@gmail.com>
Co-authored-by: Stavros Theocharis <stavrostheocharis@users.noreply.github.com>
"class2"
]
assert multi_metrics["accuracy"] == 0.6
assert multi_metrics.accuracy == 0.6
Copy link
Contributor

Choose a reason for hiding this comment

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

How can we verify this number?

This question is more generic:
We should distinguish the tests that assert the results from the libraries used in our pipelines. Testing a pipeline does not necessarily mean testing the value that occurs.

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

This is a nice discussion in general. Testing in ML may sometimes be hard. For such cases as the above you mention we can by ourselves do the calculations and check if the result is the same as the one indicated by the pipeline.

data_drif_report = run_data_drift_pipeline(training_df, inference_df)
# TODO: Fix pipeline to return a DataDriftTable first

new_drifting_metric = entities.DriftingMetric(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Shouldn't this be DriftingMetric from schemas?

sinnec and others added 5 commits November 14, 2022 16:45
- Fixed performance metrics pipeline
- Created full model metrics pipeline
Co-authored-by: John Zaras <sinnec@users.noreply.github.com>
Co-authored-by: Charis Giaralis <gcharis@users.noreply.github.com>
Co-authored-by: Stavros Theocharis <stavrostheocharis@users.noreply.github.com>
@sinnec sinnec changed the title [Draft] Cron Tasks Cron Tasks Nov 15, 2022
@sinnec sinnec merged commit bf48d7b into main Nov 15, 2022
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.

None yet

4 participants