Skip to content
This repository has been archived by the owner on Jul 10, 2021. It is now read-only.

Fix issue 231, per-sample weights incorrect when using valid_size > 0.0 #233

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kevin-bensema
Copy link

Modifies sknn/backend/lasagne/mlp.py's MultilayerPerceptronBackend's
_initialize_impl method to additionally generate a test/train split
on the weights vector, if not None, and return it.

Modifies sknn/mlp.py's MultiLayerPerceptron's _fit method to expect
an additional return value of w from _initialize, which just returns
the modified _initialize_impl

Bensema, Kevin D added 2 commits April 12, 2017 13:28
Modifies sknn/backend/lasagne/mlp.py's MultilayerPerceptronBackend's
_initialize_impl method to additionally generate a test/train split
on the weights vector, if not None, and return it.

Modifies sknn/mlp.py's MultiLayerPerceptron's _fit method to expect
an additional return value of w from _initialize, which just returns
the modified _initialize_impl
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant