code: def transformDataset(self, df):
      target = df[self.mSignal].values
      df[self.mOutName] = df[self.mSignal].shift(1)
      self.replaceFirstMissingValue(df, self.mOutName)
      df[self.mOutName + "_residue"] = target - df[self.mOutName].values
      return df
  
imports: import pandas
  import numpy
  from .None import Time
  from .None import Perf
  from .None import Plots
  from .None import Utils
  import sklearn
  import sklearn.preprocessing
  import sklearn.linear_model
  from sklearn.feature_selection import RFE
  from sklearn.linear_model import LinearRegression
label_desc: Use image node_id 5 for calling the cLag1Trend obj's underlying member method code with example usage: obj.transformDataset(df) and returns: df