在jupyter notebook中 以下out是什么意思 帮我用汉语注释# create RUL values according to the piece-wise target function train = add_remaining_useful_lifetrain trainRULclipupper=threshold inplace=True # remove
对于目标函数进行分段,创建RUL值
train = add_remaining_useful_life(train)
train['RUL'].clip(upper=threshold, inplace=True) # 将RUL值截断,上限为threshold
# 去除未使用的传感器
drop_sensors = [element for element in sensor_names if element not in sensors]
# 根据操作条件进行缩放
X_train_pre = add_operating_condition(train.drop(drop_sensors, axis=1))
X_test_pre = add_operating_condition(test.drop(drop_sensors, axis=1))
X_train_pre, X_test_pre = condition_scaler(X_train_pre, X_test_pre, sensors)
# 指数平滑
X_train_pre= exponential_smoothing(X_train_pre, sensors, 0, alpha)
X_test_pre = exponential_smoothing(X_test_pre, sensors, 0, alpha) # 对数据进行指数平滑处
原文地址: https://www.cveoy.top/t/topic/ck7k 著作权归作者所有。请勿转载和采集!