[Python] Scikit-fuzzy getting error raise ValueError("Unexpected input: " + key)

Discussão em 'Python' iniciado por Stack, Dezembro 19, 2024.

  1. Stack

    Stack Membro Participativo

    My code - on scikit-fuzzy lib - 2 inputs - one temperature in room, another desired temperature. Output - temperature sugested in boiler furnace. Everything in °C.

    pastebin.com/Vz3cMXUk


    I really can't dont know how to resolve this, any ideas? Please

    Error:

    Traceback (most recent call last):
    File "skifu.py", line 54, in <module>
    heating.input['temptarget']=int(30)
    File "/home/cant_roar/.local/lib/python3.6/site-packages/skfuzzy/control/controlsystem.py", line 168, in __setitem__
    raise ValueError("Unexpected input: " + key)
    ValueError: Unexpected input: temptarget
    /home/cant_roar/.local/lib/python3.6/site-packages/matplotlib/backends/backend_gtk3.py:197: Warning: Source ID 8 was not found when attempting to remove it
    GLib.source_remove(self._idle_draw_id)

    Continue reading...

Compartilhe esta Página