import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from sklearn.model_selection
import train_test_split, KFold
from sklearn.metrics import mean_squared_error, r2_score
from mpl_toolkits.mplot3d import Axes3D # 用于3D图plt.rcParams[fon…