[GRASS-SVN] r70894 - grass-addons/grass7/raster/r.learn.ml

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Apr 17 11:26:58 PDT 2017


Author: spawley
Date: 2017-04-17 11:26:58 -0700 (Mon, 17 Apr 2017)
New Revision: 70894

Modified:
   grass-addons/grass7/raster/r.learn.ml/r.learn.ml.py
Log:
r.learn.ml removed leftover error checking

Modified: grass-addons/grass7/raster/r.learn.ml/r.learn.ml.py
===================================================================
--- grass-addons/grass7/raster/r.learn.ml/r.learn.ml.py	2017-04-17 18:22:23 UTC (rev 70893)
+++ grass-addons/grass7/raster/r.learn.ml/r.learn.ml.py	2017-04-17 18:26:58 UTC (rev 70894)
@@ -527,7 +527,7 @@
             if group_id is not None:
                 X, y, sample_coords, group_id = shuffle(
                     X, y, sample_coords, group_id, random_state=random_state)
-        print(X[:, 0].min())
+
         # option to save extracted data to .csv file
         if save_training != '':
             save_training_data(X, y, group_id, save_training)



More information about the grass-commit mailing list