code: @Deprecated
      public void fit(INDArray data, int nDims) {
          this.x = data;
          this.numDimensions = nDims;
          fit();
      }
docs: Change the dimensions with
  
  @deprecated Use {@link #fit(INDArray)}