Skip to content

Commit af2ed1c

Browse files
author
Thomas L. Redman
committed
Added the license headers and moved the NNBrownClassifier to examples. Updates the poms to 1.3.1.
1 parent f35f841 commit af2ed1c

21 files changed

+105
-25
lines changed

lbjava-examples/pom.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>lbjava-project</artifactId>
55
<groupId>edu.illinois.cs.cogcomp</groupId>
6-
<version>1.3.0</version>
6+
<version>1.3.1</version>
77
</parent>
88

99
<modelVersion>4.0.0</modelVersion>
@@ -27,12 +27,12 @@
2727
<dependency>
2828
<groupId>edu.illinois.cs.cogcomp</groupId>
2929
<artifactId>LBJava</artifactId>
30-
<version>1.3.0</version>
30+
<version>1.3.1</version>
3131
</dependency>
3232
<dependency>
3333
<groupId>edu.illinois.cs.cogcomp</groupId>
3434
<artifactId>lbjava-maven-plugin</artifactId>
35-
<version>1.3.0</version>
35+
<version>1.3.1</version>
3636
</dependency>
3737
</dependencies>
3838

@@ -63,7 +63,7 @@
6363
<plugin>
6464
<groupId>edu.illinois.cs.cogcomp</groupId>
6565
<artifactId>lbjava-maven-plugin</artifactId>
66-
<version>1.3.0</version>
66+
<version>1.3.1</version>
6767
<configuration>
6868
<gspFlag>${project.basedir}/src/main/java</gspFlag>
6969
<dFlag>${project.basedir}/target/classes</dFlag>
@@ -77,6 +77,7 @@
7777
</goals>
7878
<configuration>
7979
<lbjavaInputFileList>
80+
<param>${project.basedir}/src/main/lbj/NNBrownClassifier.lbj</param>
8081
<param>${project.basedir}/src/main/lbj/BadgesClassifier.lbj</param>
8182
<param>${project.basedir}/src/main/lbj/SentimentClassifier.lbj</param>
8283
<param>${project.basedir}/src/main/lbj/SetCover.lbj</param>

lbjava/src/test/resources/lbj/NNBrownClassifier.lbj renamed to lbjava-examples/src/main/lbj/NNBrownClassifier.lbj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
package edu.illinois.cs.cogcomp.lbjava.learner.neuralnet.lbj;
1+
package edu.illinois.cs.cogcomp.lbjava.examples.neuralnet;
22

33
import edu.illinois.cs.cogcomp.lbjava.neuralnet.*;
4-
import edu.illinois.cs.cogcomp.lbjava.learner.*;
54

65
/**
76
The input features are simple the set of real values

lbjava/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>lbjava-project</artifactId>
55
<groupId>edu.illinois.cs.cogcomp</groupId>
6-
<version>1.3.0</version>
6+
<version>1.3.1</version>
77
</parent>
88

99
<modelVersion>4.0.0</modelVersion>

lbjava/src/main/java/edu/illinois/cs/cogcomp/lbjava/learn/NeuralNetLearner.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
/**
2-
*
2+
* This software is released under the University of Illinois/Research and Academic Use License. See
3+
* the LICENSE file in the root folder for details. Copyright (c) 2016
4+
*
5+
* Developed by: The Cognitive Computations Group, University of Illinois at Urbana-Champaign
6+
* http://cogcomp.cs.illinois.edu/
37
*/
48
package edu.illinois.cs.cogcomp.lbjava.learn;
59

lbjava/src/main/java/edu/illinois/cs/cogcomp/lbjava/neuralnet/ActThread.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* This software is released under the University of Illinois/Research and Academic Use License. See
3+
* the LICENSE file in the root folder for details. Copyright (c) 2016
4+
*
5+
* Developed by: The Cognitive Computations Group, University of Illinois at Urbana-Champaign
6+
* http://cogcomp.cs.illinois.edu/
7+
*/
18
package edu.illinois.cs.cogcomp.lbjava.neuralnet;
29

310
import edu.illinois.cs.cogcomp.lbjava.neuralnet.ThreadedNNTrainer.Range;

lbjava/src/main/java/edu/illinois/cs/cogcomp/lbjava/neuralnet/Activator.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* This software is released under the University of Illinois/Research and Academic Use License. See
3+
* the LICENSE file in the root folder for details. Copyright (c) 2016
4+
*
5+
* Developed by: The Cognitive Computations Group, University of Illinois at Urbana-Champaign
6+
* http://cogcomp.cs.illinois.edu/
7+
*/
18
package edu.illinois.cs.cogcomp.lbjava.neuralnet;
29

310
/**
@@ -15,4 +22,4 @@ public interface Activator {
1522
* @return the output values.
1623
*/
1724
public float[] prediction(float[] inputs);
18-
}
25+
}

lbjava/src/main/java/edu/illinois/cs/cogcomp/lbjava/neuralnet/BrownReader.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
/**
2-
*
2+
* This software is released under the University of Illinois/Research and Academic Use License. See
3+
* the LICENSE file in the root folder for details. Copyright (c) 2016
4+
*
5+
* Developed by: The Cognitive Computations Group, University of Illinois at Urbana-Champaign
6+
* http://cogcomp.cs.illinois.edu/
37
*/
48
package edu.illinois.cs.cogcomp.lbjava.neuralnet;
59

lbjava/src/main/java/edu/illinois/cs/cogcomp/lbjava/neuralnet/ConvergenceMeasure.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
/**
2-
*
2+
* This software is released under the University of Illinois/Research and Academic Use License. See
3+
* the LICENSE file in the root folder for details. Copyright (c) 2016
4+
*
5+
* Developed by: The Cognitive Computations Group, University of Illinois at Urbana-Champaign
6+
* http://cogcomp.cs.illinois.edu/
37
*/
48
package edu.illinois.cs.cogcomp.lbjava.neuralnet;
59

lbjava/src/main/java/edu/illinois/cs/cogcomp/lbjava/neuralnet/DatasetReader.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
/**
2-
*
2+
* This software is released under the University of Illinois/Research and Academic Use License. See
3+
* the LICENSE file in the root folder for details. Copyright (c) 2016
4+
*
5+
* Developed by: The Cognitive Computations Group, University of Illinois at Urbana-Champaign
6+
* http://cogcomp.cs.illinois.edu/
37
*/
48
package edu.illinois.cs.cogcomp.lbjava.neuralnet;
59

lbjava/src/main/java/edu/illinois/cs/cogcomp/lbjava/neuralnet/Debug.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
/**
2-
*
2+
* This software is released under the University of Illinois/Research and Academic Use License. See
3+
* the LICENSE file in the root folder for details. Copyright (c) 2016
4+
*
5+
* Developed by: The Cognitive Computations Group, University of Illinois at Urbana-Champaign
6+
* http://cogcomp.cs.illinois.edu/
37
*/
48
package edu.illinois.cs.cogcomp.lbjava.neuralnet;
59

0 commit comments

Comments
 (0)