Skip to content

Neural Net#107

Merged
cowchipkid merged 8 commits intomasterfrom
neuralnet
Oct 9, 2017
Merged

Neural Net#107
cowchipkid merged 8 commits intomasterfrom
neuralnet

Conversation

@cowchipkid
Copy link
Copy Markdown
Contributor

Attempt to merge the neural net branch into the master. Please feel free to try this against any training data you might have.

…ot fully testing, the

only current learner does take real[] as input and produces a single real value.
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we move this example next to other lbjava examples, under lbjava-examples?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danyaljj I could put this in examples, but most of the stuff in there is LBJava. This is really something I used to test the NN locally, without LBJava. I could move this to examples, or I could convert to LBJava (this would take some time), or I could just leave it where it is. I don't think it hurts to just leave it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the library code purely the code that's being used for creating/training models and it doesn't contain any examples. I'd prefer if we move the example (especially NNBrownClassifier.lbj to the examples module).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, sorry, I was misunderstanding, I thought you wanted this main method moved. Yes, you are right, I will move that.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have moved the LBJava file, and all files only used by this example into the lbjava-examples project.

@@ -3,7 +3,7 @@
<parent>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for being nitpicky. Would be great if you add a readme file for lbjava-examples/src/main/java/edu/illinois/cs/cogcomp/lbjava/examples/neuralnet/, explaining what is input/output, where to get the data, and what to expect after running the system.

@cowchipkid
Copy link
Copy Markdown
Contributor Author

@danyaljj Any idea what's going on with Semaphore?

@danyaljj
Copy link
Copy Markdown
Member

danyaljj commented Oct 9, 2017

Had to start it manually for some reason (maybe because the branch was old). Should be good now.

@cowchipkid
Copy link
Copy Markdown
Contributor Author

Unfortunately, the build failed, it seems to be unable to find the lbjava plugin??? Works when I build on my machine.

@danyaljj
Copy link
Copy Markdown
Member

danyaljj commented Oct 9, 2017

On your machine, can you try testing it, after cleaning your maven cache.

@cowchipkid
Copy link
Copy Markdown
Contributor Author

I am going to merge this before something else breaks!

@cowchipkid cowchipkid merged commit 34325b5 into master Oct 9, 2017
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