private NeuralNetworkEnsembleModel(NeuralNetworkEnsembleModel original, Cloner cloner)
   : base(original, cloner) {
   mlpEnsemble = new alglib.mlpensemble();
   string serializedEnsemble;
   alglib.mlpeserialize(original.mlpEnsemble, out serializedEnsemble);
   alglib.mlpeunserialize(serializedEnsemble, out this.mlpEnsemble);
   targetVariable = original.targetVariable;
   allowedInputVariables = (string[])original.allowedInputVariables.Clone();
   if (original.classValues != null)
     this.classValues = (double[])original.classValues.Clone();
 }
        private NeuralNetworkEnsembleModel(NeuralNetworkEnsembleModel original, Cloner cloner)
            : base(original, cloner)
        {
            mlpEnsemble = new alglib.mlpensemble();
            string serializedEnsemble;

            alglib.mlpeserialize(original.mlpEnsemble, out serializedEnsemble);
            alglib.mlpeunserialize(serializedEnsemble, out this.mlpEnsemble);
            targetVariable        = original.targetVariable;
            allowedInputVariables = (string[])original.allowedInputVariables.Clone();
            if (original.classValues != null)
            {
                this.classValues = (double[])original.classValues.Clone();
            }
        }