public void TrainModel(string featureFilePath, string completeFeatureFilePath, List<double[]> featureVector)
        {
            int dataLength = featureVector[0].Length;
            double[] featureData = MatrixUtil.FlattenMatrix(featureVector);
            MWCharArray rgbdFile = new MWCharArray(featureFilePath);
            MWNumericArray newFeature = new MWNumericArray(dataLength, featureVector.Count, featureData);
            rgbdfea.rgbdfea rgbdfea = new rgbdfea.rgbdfea();
            rgbdfea.appendFeature(rgbdFile, newFeature);

            TrainModel(completeFeatureFilePath);
        }
        public void TrainModel(string featureFilePath, string completeFeatureFilePath, List <double[]> featureVector)
        {
            int dataLength = featureVector[0].Length;

            double[]       featureData = MatrixUtil.FlattenMatrix(featureVector);
            MWCharArray    rgbdFile    = new MWCharArray(featureFilePath);
            MWNumericArray newFeature  = new MWNumericArray(dataLength, featureVector.Count, featureData);

            rgbdfea.rgbdfea rgbdfea = new rgbdfea.rgbdfea();
            rgbdfea.appendFeature(rgbdFile, newFeature);

            TrainModel(completeFeatureFilePath);
        }