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

[AGENT-6081] Fix class label files not working for binary models #3

Merged
merged 10 commits into from
Aug 14, 2024

Conversation

dulcardo
Copy link
Collaborator

@dulcardo dulcardo commented Aug 14, 2024

Update start_server.sh to only include Class label files for multiclass deployments.

export CLASS_LABELS_FILE="${CODE_DIR}/classLabels.txt"

This was causing to fail for binary classification since it does not require this file.

*Update tests cases to cover this, and actually run the docker image with different target type

  • refactor tests to use mock_app in single place
  • Add model/dataset for binary/multiclass target type
  • Bump minor version to 1.0.1, in main repo we are tracking 1.0 so no changes neede there.
  • Add new github action workflow to run this newly added tests
  • Update workflow that pushes the image

@@ -3,6 +3,8 @@ name: Docker Image CI
on:
push:
branches: [ "main" ]
paths:
- environments/java_codegen_monitoring/Makefile
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you pull the version number out into a file with just the version in it. It's easy then to read it in from the Makefile. This way changes to the Makefile itself won't trigger a re-publish accidentally.

@@ -2,7 +2,7 @@ SHELL = /bin/sh

NS := datarobot-oss
IMAGE_NAME := mlops-sap-monitoring-scoring-code
VERSION := 1.0.0
VERSION := 1.0.1
Copy link
Collaborator

Choose a reason for hiding this comment

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

If this was split into a dedicated file, I'm pretty sure you can use a shell call with cat to slurp in the version.

@dulcardo dulcardo requested a review from elatt August 14, 2024 16:51
@dulcardo dulcardo merged commit a64017b into main Aug 14, 2024
3 checks passed
@dulcardo dulcardo deleted the dulcardo/_fix_target_type branch August 14, 2024 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants