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

BUG - Problem 25 - Base Code Layout #327

Closed
Selbl opened this issue Feb 11, 2025 · 1 comment
Closed

BUG - Problem 25 - Base Code Layout #327

Selbl opened this issue Feb 11, 2025 · 1 comment

Comments

@Selbl
Copy link
Contributor

Selbl commented Feb 11, 2025

The base code for problem 25 is malformed, the import numpy as np and function definitions are jumbled together like this:

import numpy as npdef train_neuron(features: np.ndarray, labels: np.ndarray, initial_weights: np.ndarray, initial_bias: float, learning_rate: float, epochs: int) -> (np.ndarray, float, list[float]):

You can fix this by adding a linebreak after the import numpy as np line.

@Open-Deep-ML
Copy link
Owner

thank you for letting us know, it is now fixed (should take about 30 min to update on the site)

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

No branches or pull requests

2 participants