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

feat: add statistics for multiclassification + refactoring and improvements #35

Merged
merged 10 commits into from
Jun 26, 2024

Conversation

rivamarco
Copy link
Member

In this PR:

  • Added statistics calculation for multiclassification models
  • partially refactored the code moving files in packages
  • improved Dockerfile that now will use pyproject.toml file to install dependencies
  • improved docker compose and readme to be able to end-to-end test the platform with locally built spark image

spark/Dockerfile Outdated
Copy link
Member Author

Choose a reason for hiding this comment

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

We will use pyproject and poetry lock from spark project instead of manually putting dependencies as it was before

spark/README.md Outdated
Copy link
Member Author

Choose a reason for hiding this comment

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

How to use the local spark image

Copy link
Member Author

Choose a reason for hiding this comment

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

This will be squashed probably in only one method in future refactoring


[tool.poetry.dependencies]
python = "^3.11"
python = "^3.10"
Copy link
Member Author

Choose a reason for hiding this comment

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

Spark image will use python 3.10 inside


complete_record = {"UUID": str(uuid.uuid4()), "REFERENCE_UUID": reference_uuid}

match model.model_type:
Copy link
Member Author

Choose a reason for hiding this comment

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

match case to handle different types of models

@devops-radicalbit
Copy link
Contributor

No vulnerabilities detected

No vulnerabilities with HIGH,CRITICAL severity have been detected in the code.

@rivamarco rivamarco merged commit 18588ea into main Jun 26, 2024
10 checks passed
@rivamarco rivamarco deleted the feature/ROS-279-stats-multiclass branch June 26, 2024 08:54
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.

5 participants