data_loader

This commit is contained in:
NiiiCo 2021-06-05 16:14:27 +02:00
commit cd144b1f8b
6 changed files with 13 additions and 9 deletions

7
RUN.py
View file

@ -6,11 +6,12 @@ training_data, validation_data, test_data = mnist_loader.load_data_wrapper()
import network
import dataset_loader
net = network.Network([262144, 30, 10]) #Testé : 94,56%
net = network.Network([262144,50, 20, 30, 10]) #Testé : 94,56%
net.SGD(dataset_loader.loadTrainingSet("training"), 30, 10, 3.0, test_data=dataset_loader.loadTestSet("test"))
# net = network.Network([784, 100, 10]) #Marche mieux apparemment
# net.SGD(training_data, 30, 10, 3.0, test_data=test_data)
#net = network.Network([784, 100, 10]) #Marche mieux apparemment
#net.SGD(dataset_loader.loadTrainingSet("setcomplete"), 30, 10, 3.0, test_data=dataset_loader.loadTestSet("setcomplete"))
# net = network.Network([784, 100, 10]) #Marche pas bien apparemment
# net.SGD(training_data, 30, 10, 0.001, test_data=test_data)