Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 445 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 445 Bytes

Example: Neural network 2 layers

Descriptions

Use AI to calculate the logic X1 or X1 xor X3

dataset_logic.PNG

In 'tensorflow_2_layer.py', you can edit the root path and dataset file name

csv_dir = 'D:/MyProject/machine-learning/Neural network' 	# your root path of a the dataset file		
df = pd.read_csv(os.path.join(csv_dir, 'example_2_layer.csv'), dtype=np.float32)