docs: public MultiNormalizerMinMaxScaler restore(@NonNull InputStream stream) throws IOException {
          DataInputStream dis = new DataInputStream(stream);
  
          boolean fitLabels = dis.readBoolean();
          int numInputs = dis.readInt();
          int numOutputs = dis.readInt();
          double targetMin = dis.readDouble();
          double targetMax = dis.readDouble();
  
          MultiNormalizerMinMaxScaler result = new MultiNormalizerMinMaxScaler(targetMin, targetMax);
          result.fitLabel(fitLabels);
  
          List<MinMaxStats> featureStats = new ArrayList<>();
          for (int i = 0; i < numInputs; i++) {
              featureStats.add(new MinMaxStats(Nd4j.read(dis), Nd4j.read(dis)));
          }
          result.setFeatureStats(featureStats);
  
          if (fitLabels) {
              List<MinMaxStats> labelStats = new ArrayList<>();
              for (int i = 0; i < numOutputs; i++) {
                  labelStats.add(new MinMaxStats(Nd4j.read(dis), Nd4j.read(dis)));
              }
              result.setLabelStats(labelStats);
          }
  
          return result;
      }