Skip to content
This repository was 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
kevin-bensema wants to merge 2 commits intoaigamedev:masterfrom
kevin-bensema:bugfix/issue231
Open

Fix issue 231, per-sample weights incorrect when using valid_size > 0.0#233
kevin-bensema wants to merge 2 commits intoaigamedev:masterfrom
kevin-bensema:bugfix/issue231

Conversation

@kevin-bensema
Copy link
Copy Markdown

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