以下是我正在处理的代码并引用以下网站 Link
import numpy as np
import skfuzzy as fuzz
from skfuzzy import control as ctrl
soc = ctrl.Antecedent(np.arange(0, 11, 1), 'soc')
log = ctrl.Antecedent(np.arange(0, 11, 1), 'log')
aut = ctrl.Consequent(np.arange(0, 11, 1), 'aut')
log.automf(3)
soc.automf(3)
aut.automf(3)
soc.view()
我在Jupyter笔记本中运行此代码