Skip to content

Commit ad9f74f

Browse files
committed
1.2.0 - Major Improvments
+ Added biases and changing biases + Further optimized some paramters + Added seperate functions to increase accuracy and ensure repeatability + Added debug options. + And more..
1 parent cf14eef commit ad9f74f

File tree

4 files changed

+208
-67
lines changed

4 files changed

+208
-67
lines changed

Java-Neural-Network/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>unprotesting.com.github</groupId>
88
<artifactId>Java-Neural-Network</artifactId>
9-
<version>1.1.0</version>
9+
<version>1.2.0</version>
1010

1111
<name>Java-Neural-Network</name>
1212

@@ -37,7 +37,7 @@
3737
</plugin>
3838
<plugin>
3939
<artifactId>maven-surefire-plugin</artifactId>
40-
<version>2.22.1</version>
40+
<version>2.22.2</version>
4141
</plugin>
4242
<plugin>
4343
<artifactId>maven-jar-plugin</artifactId>

Java-Neural-Network/src/main/java/unprotesting/com/github/Layer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public Layer(int inNeurons,int numberNeurons) {
1212
for(int j = 0; j < inNeurons; j++) {
1313
weights[j] = StatUtil.RandomFloat(Neuron.minWeightValue, Neuron.maxWeightValue);
1414
}
15-
neurons[i] = new Neuron(weights,StatUtil.RandomFloat(0, 1));
15+
neurons[i] = new Neuron(weights,StatUtil.RandomFloat(-1, 1));
1616
}
1717
}
1818

0 commit comments

Comments
 (0)