Skip to content

MohammadTvkl/Training-an-ANFIS-Using-Evolutionary-Algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ˆ ANFIS-Based Stock Price Prediction

This project trains an Adaptive Neuro-Fuzzy Inference System (ANFIS) to predict the next day's closing stock price using historical stock market data.

πŸš€ Overview

We apply a fuzzy inference layer and rule-based ANFIS model to learn from key market indicators and forecast the nextclose value, i.e., the closing price of the following trading day.

🧠 Model

  • Model Type: Adaptive Neuro-Fuzzy Inference System
  • Label: nextclose (next-day closing price)
  • Features: Open, High, Low, Close, Volume

πŸ›  Tech Stack

  • Python 3.x
  • NumPy
  • Pandas
  • Scikit-learn
  • Matplotlib

πŸ“ Dataset

  • dataset.csv is the input file
  • A processed version with the nextclose column is saved as updated_dataset.csv during preprocessing

πŸ“¦ Installation

git clone https://github.com/MohammadTvkl/Training-an-ANFIS-Using-Evolutionary-Algorithms.git
cd anfis-stock-price-prediction
pip install -r requirements.txt

▢️ How to Run

Run the notebook:

jupyter notebook notebooks/ANFIS_stock_prediction.ipynb

πŸ“Š Output

  • Visual comparison between predicted and actual nextclose values
  • Basic statistics and evaluation results

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages