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

Added support for nn (single layer) in sklearn interface #5

Merged
merged 1 commit into from Sep 16, 2013

Conversation

viveksck
Copy link
Contributor

@viveksck viveksck commented Sep 6, 2013

Adding support for nn to be called from the wrapper.

[DEBUG] Running command: "vw --learning_rate=5.000000 --l2=0.000010 --oaa=10 --nn=4 --passes 10 --cache_file /home/vvkulkarni/vowpal_porpoise/examples/example_sklearn.cache -f /home/vvkulkarni/vowpal_porpoise/examples/example_sklearn.model"
[DEBUG] Running command: "vw --learning_rate=5.000000 --l2=0.000010 --oaa=10 --nn=4 -t -i /home/vvkulkarni/vowpal_porpoise/examples/example_sklearn.model -p /home/vvkulkarni/vowpal_porpoise/examples/example_sklearn.predictionecqcFA"
Confusion Matrix:
[[34 0 0 0 1 0 0 0 0 0]
[ 0 29 0 0 0 0 0 0 0 7]
[ 0 0 35 0 0 0 0 0 0 0]
[ 0 0 0 24 0 4 0 3 6 0]
[ 0 0 0 0 34 0 0 0 3 0]
[ 0 0 0 0 0 37 0 0 0 0]
[ 0 0 0 0 0 0 37 0 0 0]
[ 0 0 0 1 0 0 0 32 2 1]
[ 0 1 0 0 0 1 0 1 30 0]
[ 0 0 0 0 0 2 0 1 3 31]]
0.89717036724
Adding @aboSamoor (as he is interested in this CL too)

@josephreisinger
Copy link
Owner

looks good, thanks vivek

josephreisinger pushed a commit that referenced this pull request Sep 16, 2013
Added support for nn (single layer) in sklearn interface
@josephreisinger josephreisinger merged commit eb6b353 into josephreisinger:master Sep 16, 2013
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.

None yet

2 participants