DESCRIPTION:
Basic Hopfield network model
USAGE:
python -u hop.py --input_seqs=intputfile.json --test_seq=testseq.json --random --N=100 --M=10
if --random, input is ignored and M seq of length N are randomly generated and stored.
inputfile must be a multijson file with 1 seq for each line.
testseq is a json with a sequence to be tested.
AUTHOR:
David Preti
DATE:
Rome, Sep 2020