Machine learning I

MICRO-455

Code of simple classfication examples by NN

This page is part of the content downloaded from Code of simple classfication examples by NN on Wednesday, 25 December 2024, 18:41. Note that some content and any files larger than 50 MB are not downloaded.

Description

`NN_for_2_class.py`, binary classification by one hidden layer with 2 neurons.

`red.csv`, a dataset with red points

`white.csv`, a dataset with white points.


`NN_for_4_class.py`,  4-class classification by one hidden layer with 2 neurons.


You will need to install `PyTorch` with Python and `matplotlib` for visualiztion.


Files and subfolders