[GRASS-SVN] r66486 - grass-addons/grass7/vector/v.class.ml
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Oct 12 20:08:43 PDT 2015
Author: wenzeslaus
Date: 2015-10-12 20:08:43 -0700 (Mon, 12 Oct 2015)
New Revision: 66486
Modified:
grass-addons/grass7/vector/v.class.ml/v.class.ml.py
Log:
v.class.ml: the global var is not used and np.nanmean break compilation on the build server if not available
Modified: grass-addons/grass7/vector/v.class.ml/v.class.ml.py
===================================================================
--- grass-addons/grass7/vector/v.class.ml/v.class.ml.py 2015-10-13 02:25:44 UTC (rev 66485)
+++ grass-addons/grass7/vector/v.class.ml/v.class.ml.py 2015-10-13 03:08:43 UTC (rev 66486)
@@ -388,16 +388,6 @@
from npy2table import export_results
-RULES = {'*_skewness': np.nanmean,
- '*_coeff_var': np.nanmean,
- '*_stddev': np.nanmean,
- '*_variance': np.nanmean,
- '*_mean': np.nanmean,
- '*_range': np.nanmean,
- '*_max': np.nanmax,
- '*_min': np.nanmin, }
-
-
DECMP = {}
More information about the grass-commit
mailing list