[GRASS-user] v.class.mlR Error
Helmut Kudrnovsky
hellik at web.de
Thu May 31 03:02:37 PDT 2018
>Here's a complete working example of the entire OBIA chain in the NC
>dataset (warning: this is a demo example, not necessarily one of best
>practice ;-)) :
tested here now with -f flag in the GUI:
---------------------------------------
v.class.mlR segments_map=lsat7_segs_stats training_map=training
train_class_column=class output_class_column=vote output_prob_column=prob
folds=5 partitions=10 tunelength=10 weighting_metric=accuracy
classification_results=D:\temp\vclassr\class.txt
accuracy_file=D:\temp\vclassr\acc.txt
model_details=D:\temp\vclassr\details.txt
bw_plot_file=D:\temp\vclassr\bwplot.png
r_script_file=D:\temp\vclassr\testrunaddon.R 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 in file(file, ifelse(append, "a", "w")) :
cannot open the connection
Calls: write.csv -> eval.parent -> eval -> eval -> write.table -> file
In addition: Warning message:
In file(file, ifelse(append, "a", "w")) :
cannot open file '.gscript_tmp_model_output_2392.csv': Permission denied
Execution halted
ERROR: There was an error in the execution of the R script.
Please check the R output.
---------------------------------------
attached the testrunaddon.R
<http://osgeo-org.1560.x6.nabble.com/file/t193444/testrunaddon.R>
-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html
More information about the grass-user
mailing list