[GRASS-SVN] r71002 - grass-addons/grass7/raster/r.vif

svn_grass at osgeo.org svn_grass at osgeo.org
Tue May 2 14:58:07 PDT 2017


Author: pvanbosgeo
Date: 2017-05-02 14:58:07 -0700 (Tue, 02 May 2017)
New Revision: 71002

Modified:
   grass-addons/grass7/raster/r.vif/r.vif.py
Log:
addon r.vif: removed unused dependency on scipy stats

Modified: grass-addons/grass7/raster/r.vif/r.vif.py
===================================================================
--- grass-addons/grass7/raster/r.vif/r.vif.py	2017-05-02 19:57:32 UTC (rev 71001)
+++ grass-addons/grass7/raster/r.vif/r.vif.py	2017-05-02 21:58:07 UTC (rev 71002)
@@ -7,7 +7,7 @@
 # AUTHOR(S):    Paulo van Breugel <p.vanbreugel AT gmail.com>
 # PURPOSE:      Calculate the variance inflation factor of set of
 #               variables. The computation is done using an user defined number
-#               (or percentage) of random cells (default 10.000) as input. 
+#               (or percentage) of random cells (default 10.000) as input.
 #               The user can set a maximum VIF, in wich case the VIF will
 #               calculated again after removing the variables with the highest
 #               VIF. This will be repeated till the VIF falls below the user
@@ -91,7 +91,6 @@
 import sys
 import math
 import numpy as np
-from scipy import stats
 import uuid
 import tempfile
 import atexit



More information about the grass-commit mailing list