Skip to content

fix: correct truncated roc_curve assignment in generate_plots (closes #34)#54

Open
botbikamordehai2-sketch wants to merge 1 commit into
ScottfreeLLC:masterfrom
botbikamordehai2-sketch:fix/issue-34-1779947773
Open

fix: correct truncated roc_curve assignment in generate_plots (closes #34)#54
botbikamordehai2-sketch wants to merge 1 commit into
ScottfreeLLC:masterfrom
botbikamordehai2-sketch:fix/issue-34-1779947773

Conversation

@botbikamordehai2-sketch
Copy link
Copy Markdown

What

In alphapy/plots.py, the generate_plots function has a corrupted/truncated line:

roc_curve = mode

This would cause a NameError at runtime since mode is undefined, preventing any plot generation from working.

Fix

Replace the broken assignment with the correct pattern matching surrounding lines:

roc_curve = model.specs['roc_curve']

Closes #34

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.

Features Generation BugFixes

1 participant