EvoFuzzy
A Python implementation of the Differential Evolution algorithm for the optimization of Fuzzy Inference Systems.
Install / Use
/learn @tiagoCuervo/EvoFuzzyREADME
EvoFuzzy
This is a very simple Python implementation of the Differential Evolution Algorithm for tuning Fuzzy Inference Systems.
Requirements
Known dependencies:
- Python (3.5.5)
- Numpy (1.14.2)
- Matplotlib (2.2.2)
To install dependencies, cd to the directory of the repository and run pip install -r requirements.txt
Code Structure
anfis.py: contains a python ANFIS implementation.diffevo.py: contains a python implementation of the Differential Evolution algorithm (based on this tutorial).fobj.py: contains several objective functions.mackey.py: contains an example that uses Differential Evolution for tuning an ANFIS for the prediction of the Mackey Glass series. This example trains the system on 1500 points of the series and plots the real vs. predicted series.
To run the example, cd to the directory of the repository and run python mackey.py
TODO:
- Implement membership functions other than Gaussians.
- Implement other evolutionary algorithms for tuning Fuzzy Systems (I would like to implement the Covariance Matrix Adaptation Evolution Strategy).
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
