Skip to content

Latest commit

 

History

History
77 lines (51 loc) · 2.47 KB

README.md

File metadata and controls

77 lines (51 loc) · 2.47 KB

PyTorch Practice

Welcome to the PyTorch Practice repository! This repository contains various tutorials and templates to help you understand and implement neural networks using PyTorch.

Contents

Getting Started

Prerequisites

  • Python 3.6 or higher
  • PyTorch 1.7 or higher
  • Jupyter Notebook (for tutorials)
  • Required Python libraries: pandas, numpy, matplotlib, seaborn, scikit-learn, statsmodels

Installation

  1. Clone the repository:

    git clone https://github.com/mincasurong/pytorch_practice.git
    cd pytorch_practice
  2. Install the required libraries:

    pip install -r requirements.txt

Usage

Running the Tutorials

  • Open the Jupyter Notebook tutorial for the basic shallow neural network:
    jupyter notebook TUTORIAL_pytorch_regression.ipynb

Using the Library

  • Import the library in your Python scripts:
    from lib_pytorchNN import TabularNNModel

Running the Templates

  • For numerical regression tasks:

    python numerical_regression_template.py
  • For binary classification tasks:

    python binary_classification_template.py

Contributing

Contributions are welcome! Please fork the repository and submit a pull request for any improvements or additions.

License

This project is licensed under the MIT License

Acknowledgements

Special thanks to the contributors and the PyTorch community for their continuous support and resources.

Contact

If you have any questions, search on google → mincasurong