Skip to content

Conversation

@Advaitgaur004
Copy link
Contributor

This refactor shifts the example from a classification task on the Iris dataset to a regression-style task on noisy sine wave data. The model architecture has been expanded with an extra hidden layer, ELU activations, and an Adam optimizer with gradient clipping. The training loop is now longer with a manual LR scheduler, and the loss function blends Huber + MAE for more robust regression.

Overall, this makes the demo more representative of regression workflows and adds numerical stability

@PrimedErwin PrimedErwin merged commit d4521f9 into pocketpy:main Sep 14, 2025
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.

2 participants