code: public static void setWindow(final TrainingParameters params) {
      if (leftWindow == -1 || rightWindow == -1) {
        leftWindow = getWindowRange(params).get(0);
        rightWindow = getWindowRange(params).get(1);
      }
    }
docs: Set the window length from the training parameters file.
  
  @param params
  the properties file