Skip to content

Implementation and examples of various soft computing techniques like evolutionary algorithms and fuzzy systems

Notifications You must be signed in to change notification settings

Ashwin-Rajesh/SoftComputing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Soft computing

Implementation fo various soft computing techniques taught in my undergraduate soft computing elective course.


Fuzzy logic engine

Implementation of fuzzy logic concepts. Engine is implemented completely in the Fuzzy.py file. Implemented functionality include :

  1. Class for linguistic variables
  2. Class for fuzzy sets
  3. Class for fuzzy relations
  4. Dynamic relation from linguistic variables to fuzzy sets allowing plotting different sets defined on the same variable
  5. Ability to get membership function from a list or generated using a function
  6. Common operations on fuzzy sets and relations
    • Inverting
    • Union
    • Intersection
    • Composition of relations
    • Cartesion product of sets
    • Alpha cuts on sets
    • Defuzzification methods on sets
      • Earliest maxima
      • Centroid
      • Mean of maxima
  7. Implementation of zadehs extension principle for creating new fuzzy sets and linguistic variables (FuzzySet.extend())

Unit testing

Unit tests test most functionality, but is not extensive enough to conver all cases.

About

Implementation and examples of various soft computing techniques like evolutionary algorithms and fuzzy systems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages