Skip to content

Removed bandwidth parameter#10

Merged
saattrupdan merged 1 commit into
mainfrom
fix-generative-training
Aug 12, 2025
Merged

Removed bandwidth parameter#10
saattrupdan merged 1 commit into
mainfrom
fix-generative-training

Conversation

@Haffi112
Copy link
Copy Markdown
Collaborator

The script was complaining that this parameter was not provided. Since it is part of the gridsearch cross validation it was not necessary.

Copilot AI review requested due to automatic review settings August 12, 2025 14:21
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes the bandwidth parameter from the generative model training function and its usage, as it was causing script errors and is unnecessary since bandwidth selection is handled automatically through grid search cross-validation.

  • Removed the bandwidth parameter from the train_generative_model function signature
  • Removed the parameter documentation from the function docstring
  • Updated the function call in the training script to no longer pass the bandwidth parameter

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/scripts/train_generative_model.py Removed bandwidth parameter from function call
src/european_values/generative_training.py Removed bandwidth parameter from function signature and documentation

Copy link
Copy Markdown
Member

@saattrupdan saattrupdan left a comment

Choose a reason for hiding this comment

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

LGTM

@saattrupdan saattrupdan merged commit 5aaadcd into main Aug 12, 2025
1 of 2 checks passed
@saattrupdan saattrupdan deleted the fix-generative-training branch August 12, 2025 15:22
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.

3 participants