[GRASS-SVN] r69972 - grass-addons/grass7/raster/r.randomforest
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Dec 1 21:23:06 PST 2016
Author: spawley
Date: 2016-12-01 21:23:06 -0800 (Thu, 01 Dec 2016)
New Revision: 69972
Modified:
grass-addons/grass7/raster/r.randomforest/Makefile
grass-addons/grass7/raster/r.randomforest/r.randomforest.py
Log:
bug fix to makefile r.randomforest
Modified: grass-addons/grass7/raster/r.randomforest/Makefile
===================================================================
--- grass-addons/grass7/raster/r.randomforest/Makefile 2016-12-02 04:54:51 UTC (rev 69971)
+++ grass-addons/grass7/raster/r.randomforest/Makefile 2016-12-02 05:23:06 UTC (rev 69972)
@@ -5,5 +5,6 @@
ETCFILES = ml_classifiers ml_utils
include $(MODULE_TOPDIR)/include/Make/Script.make
+include $(MODULE_TOPDIR)/include/Make/Python.make
default: script
Modified: grass-addons/grass7/raster/r.randomforest/r.randomforest.py
===================================================================
--- grass-addons/grass7/raster/r.randomforest/r.randomforest.py 2016-12-02 04:54:51 UTC (rev 69971)
+++ grass-addons/grass7/raster/r.randomforest/r.randomforest.py 2016-12-02 05:23:06 UTC (rev 69972)
@@ -317,6 +317,8 @@
ratio = float(options['ratio'])
errors_file = options['errors_file']
fimp_file = options['fimp_file']
+ validation = options['validation']
+ ratio = float(options['ratio'])
if flags['b'] is True:
class_weight = 'balanced'
More information about the grass-commit
mailing list