直接看效果:
代码:
import numpy as np
import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn.metrics import mean_squared_error, r2_score
from sklearn.preprocessing import MinMaxScaler
import numpy as np
import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn.metrics import mean_squared_error, r2_score
from sklearn.preprocessing import MinMaxScaler
import skfuzzy as fuzz
import skfuzzy.control as ctrl
data = pd.read_excel("ReBCO01.xlsx")
print(data.columns) # ['x1', 'X2', 'X3', 'y']
df = data.fillna(0)
# Split the data into features and target
X = df[['x1', 'X2&
标签:实战,selection,ANFIS,pd,mean,import,模糊推理,data,sklearn
From: https://blog.csdn.net/qq_38735017/article/details/140133730