Index: trunk/Mars/mranforest/MRanForestCalc.h
===================================================================
--- trunk/Mars/mranforest/MRanForestCalc.h	(revision 9627)
+++ trunk/Mars/mranforest/MRanForestCalc.h	(revision 9864)
@@ -115,4 +115,9 @@
     }
 
+    Int_t Train(const MHMatrix &m, Bool_t regression)
+    {
+        return regression ? TrainRegression(m) : TrainSingleRF(m);
+    }
+
     // Test Interface
     void  SetTestMatrix(MHMatrix *m=0) { fTestMatrix=m; }
