Skip to content

Commit efd4b77

Browse files
committed
Merge branch 'master' of github.com:amogorkon/fuzzy
2 parents fd958b0 + ac648ac commit efd4b77

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# Fuzzy Logic for Python 3
2+
3+
[![license](https://img.shields.io/github/license/amogorkon/fuzzylogic)](https://github.com/amogorkon/fuzzylogic/blob/master/LICENSE)
4+
[![stars](https://img.shields.io/github/stars/amogorkon/fuzzylogic?style=plastic)](https://github.com/amogorkon/fuzzylogic/stargazers)
5+
[![forks](https://img.shields.io/github/forks/amogorkon/fuzzylogic?style=plastic)](https://github.com/amogorkon/fuzzylogic/network/members)
6+
27
This is the fourth time I rebuilt this library from scratch to find the sweet spot between ease of use (beautiful is better than ugly!), testability (simple is better than complex!) and potential for performance optimization (practicality beats purity!).
38

49
### Why a new library?
@@ -15,10 +20,20 @@ To make it possible to write fuzzy logic in the most pythonic and simplest way i
1520
* all functions are recursive closures (which makes it kinda hard to serialize things, if you really want to do that)
1621
* The main classes use a lot of dunder methods to implement their logic, which can be a bit daunting at first glance
1722
* Domain and Set uses an assignment trick to make it possible to instantiate Set() without passing domain and name over and over (yet still be explicit, just not the way one would normally expect). This also allows to call sets as Domain.attributes, which also normally shouldn't be possible (since they are technically not attributes). However, this allows interesting things like dangling sets (sets without domains) that can be freely combined with other sets to avoid cluttering of domain-namespaces and just have the resulting set assigned to a domain to work with.
18-
Check the Showcase notebook in docs on https://github.com/amogorkon/fuzzylogic for working examples and documentation.
23+
24+
# Installation
25+
Just enter
26+
`python -m pip install fuzzylogic`
27+
in a commandline prompt and you should be good to go!
28+
29+
It's even more fun to experiment with it in jupyter lab ( https://jupyter.org/ ) :-)
30+
31+
# Check out the Showcase!
32+
For complete examples and documentation how to work with fuzzylogic, check out https://github.com/amogorkon/fuzzylogic/blob/master/docs/Showcase.ipynb !
33+
1934
Have fun!
2035

2136
# Office Hours
22-
You can contact me one-on-one! Please follow https://calendly.com/amogorkon/officehours to set up a meeting :-)
37+
You can also contact me one-on-one! Please follow https://calendly.com/amogorkon/officehours to set up a meeting :-)
2338

2439
-- Anselm Kiefner

0 commit comments

Comments
 (0)