Example: Implementing the Exclusive OR (XOR) Function
Data
- XOR Data: xor_data.csv
- Data configuration: data.txt
Network Details
- Two binary inputs
- Two hidden layers: 20 and 10 hidden units
- One binary output
- Network configuration: network.txt
Training Details
Training Process: Command Line
Execute from the examples/xor/ directory:
python $NEURO_REPOSITORY_PATH/zero2neuro/src/zero2neuro.py @network.txt @data.txt @experiment.txt -vvv
Training Process: SLURM Batch File
- File: batch.sh
Scikit-Learn Models
- network_skl1.txt: Linear model (cannot solve this problem)
- network_skl2.txt: Polynomial features + linear model using Linear Regression
- network_skl3.txt: Polynomial features + linear model using Ridge Regression