Skip to content

Commit

Permalink
Adding new/updated copick_train-model-xgboost-copick_0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kephale committed Oct 22, 2024
1 parent 57b6dad commit 854be82
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
Binary file modified album_catalog_index.db
Binary file not shown.
3 changes: 3 additions & 0 deletions solutions/copick/train-model-xgboost-copick/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.0.3] - 2024-10-22
Reduce logging

## [0.0.2] - 2024-10-21
bump

Expand Down
6 changes: 3 additions & 3 deletions solutions/copick/train-model-xgboost-copick/solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def run():
import numcodecs

# Set up logging
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')
logger = logging.getLogger(__name__)

args = get_args()
Expand Down Expand Up @@ -264,7 +264,7 @@ def load_features_and_labels_from_copick(root, run_names):
setup(
group="copick",
name="train-model-xgboost-copick",
version="0.0.2",
version="0.0.3",
title="Train XGBoost on Copick Data with Cross-Validation",
description="A solution that processes Copick runs, filters runs with only one label, and trains an XGBoost model with 10-fold cross-validation.",
solution_creators=["Kyle Harrington"],
Expand All @@ -288,7 +288,7 @@ def load_features_and_labels_from_copick(root, run_names):
{"name": "subsample", "type": "float", "required": False, "description": "Subsample ratio of the training instances.", "default": 1.0},
{"name": "colsample_bytree", "type": "float", "required": False, "description": "Subsample ratio of columns when constructing each tree.", "default": 1.0},
{"name": "reg_lambda", "type": "float", "required": False, "description": "L2 regularization term on weights.", "default": 1.0},
{"name": "reg_alpha", "type": "float", "required": False, "description": "L1 regularization term on weights.", "default": 0.0},
{"name": "reg_alpha", "type": "float", "required": False, "description": "L1 regularization term on wights.", "default": 0.0},
{"name": "max_bin", "type": "integer", "required": False, "description": "Maximum number of discrete bins to bucket continuous features.", "default": 256},
{"name": "class_weights", "type": "string", "required": False, "description": "Class weights for the XGBoost model as a comma-separated list.", "default": ""},
{"name": "output_model_path", "type": "string", "required": True, "description": "Path for the output joblib file containing the trained XGBoost model."}
Expand Down
8 changes: 4 additions & 4 deletions solutions/copick/train-model-xgboost-copick/solution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ args:
required: false
type: float
- default: 0.0
description: L1 regularization term on weights.
description: L1 regularization term on wights.
name: reg_alpha
required: false
type: float
Expand All @@ -95,7 +95,7 @@ args:
name: output_model_path
required: true
type: string
changelog: bump
changelog: Reduce logging
description: A solution that processes Copick runs, filters runs with only one label,
and trains an XGBoost model with 10-fold cross-validation.
group: copick
Expand All @@ -110,6 +110,6 @@ tags:
- training
- cross-validation
- copick
timestamp: '2024-10-21T21:10:14.118981'
timestamp: '2024-10-22T13:08:01.051768'
title: Train XGBoost on Copick Data with Cross-Validation
version: 0.0.2
version: 0.0.3

0 comments on commit 854be82

Please sign in to comment.