gianlucatruda / evocomp

Assignments for VU Masters course in Evolutionary Computing
GNU General Public License v3.0
0 stars 0 forks source link

Export best individual in specified txt format #30

Closed gianlucatruda closed 4 years ago

gianlucatruda commented 4 years ago

a text file with your best solution containing the weights for the neural network with 10 hidden neurons (exported as a numpy array, as in the demo).

gianlucatruda commented 4 years ago

in specialist_demo.py she just uses

# saves file with the best solution
np.savetxt(EXPERIMENT_DIRECTORY+'/best.txt', pop[best])
gianlucatruda commented 4 years ago

Done. See PR #40