semvec/pypi-packages huggingface dataset:
Hotel-Lite-VF 0.1
Gestor sencillo de un hotel

====================
      License
====================
Copyright (c) 2020 The Python Packaging Authority

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Description: Este es un ejemplo simple de un paquete Python que permite la gestion de un Hotel
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.6
Description-Content-Type: text/markdown
fuzzy-systems 0.3.0
A fuzzy system for python with fuzzy reasoning and classification.

# Fuzzy system
Just a other python fuzzy rule-based system and reasoning package.
Based on the lecture's given by Ning Xiong at Märlardalens University.
Writen and implmented by @byteofsoren.


# Installation.
```
pip install fuzzy_system

```
# Basic usage
Assume that intended system for opening a valve dependent on price of electricity and the temperature in the environment.

Assume that the fuzzy set for the temperature and cost looks like this:
![Temperature](images/temperature.png)
![Electricity cost](images/electrisity_cost.png)
This is implemented like this in this module:
``` python
>>> import python_fuzzy_system as fuzzy

>>> cold = fuzzy.fuzzy_member_pointlist([[-5,1],[5,0]])
>>> warm = fuzzy.fuzzy_member_pointlist([[0,0],[5,1],[10,1],[15,0]])
>>> hot = fuzzy.fuzzy_member_pointlist([[5,0],[15,1]])

>>> cheap = fuzzy.fuzzy_member_pointlist([[8,1],[12,0]])
>>> good = fuzzy.fuzzy_member_pointlist([[8,0],[12,1],[16,0]])
>>> expensive = fuzzy.fuzzy_member_pointlist([[12,0],[16,1]])
```
Now fire each individual member can be done like:
``` python
>>> cold.fire(1.5)
0.35
```

# Creating rules for the system
Lets define a set of rules called Rn.
|Rule| Condition | Do |
|---|---|---|
| R1 | If Cheap AND Cold | Then Open |
| R2 | If Hot AND (Cheep OR good) | Then HalfOpen |
| R3 | If Expensive AND Hot | Then Closed


``` Python
r1 = cheep*cold
r2 = hot*(cheep + good)
r3 = expensive*hot
```