[GRASS-user] v.class.mlR Error
Helmut Kudrnovsky
hellik at web.de
Thu May 31 05:15:42 PDT 2018
>Yes, obviously. Sorry for that.
no problem.
patch applied:
-------------
v.class.mlR --verbose segments_map=lsat7_segs_stats training_map=training
train_class_colum=class processes=3
Running R now. Following output is R output.
Loading required package: caret
Loading required package: lattice
Loading required package: ggplot2
Loading required package: foreach
Loading required package: iterators
Loading required package: parallel
Warning message:
In nominalTrainWorkflow(x = x, y = y, wts = weights, info = trainInfo, :
There were missing values in resampled performance measures.
Error: '\g' is an unrecognized escape in character string starting "'D:\g"
<=
Execution halted
ERROR: There was an error in the execution of the R script.
Please check the R output.
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "C:\OSGEO4~1\apps\Python27\lib\atexit.py", line 24,
in _run_exitfuncs
func(*targs, **kargs)
File "C:\Users\hkmyr\AppData\Roaming\GRASS7\addons/scripts
/v.class.mlR.py", line 237, in cleanup
gscript.try_remove(model_output_csvt)
NameError: global name 'model_output_csvt' is not defined
Error in sys.exitfunc:
Traceback (most recent call last):
File "C:\OSGEO4~1\apps\Python27\lib\atexit.py", line 24,
in _run_exitfuncs
func(*targs, **kargs)
File "C:\Users\hkmyr\AppData\Roaming\GRASS7\addons/scripts
/v.class.mlR.py", line 237, in cleanup
gscript.try_remove(model_output_csvt)
NameError: global name 'model_output_csvt' is not defined
------------
Error: '\g' is an unrecognized escape in character string starting "'D:\g"
there seems to be a path issue with shlashes
and some variables not defined.
-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html
More information about the grass-user
mailing list