Skip to content

Commit

Permalink
i.svm: fix examples provided in the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
marisn committed Nov 1, 2023
1 parent 66a640a commit d4d6975
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion imagery/i.svm.predict/i.svm.predict.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h2>EXAMPLE</h2>
October of 2002 with a SVM trained on a 1996 land
use map <em>landuse96_28m</em>.</p>
<div class="code"><pre>
i.svm.predict group=lsat7_2002 subgroup=lsat7_2002\
i.svm.predict group=lsat7_2002 subgroup=res_30m \
signaturefile=landuse96_rnd_points output=pred_landuse_2002
</pre></div>

Expand Down
4 changes: 2 additions & 2 deletions imagery/i.svm.train/i.svm.train.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ <h2>EXAMPLE</h2>
v.to.rast input=training output=training use=cat label_column=label
# If you are just playing around and do not care about the accuracy of outcome,
# just use one of existing maps instead e.g.
# r.random input=landuse96_28m npoints=10000 raster=training
# r.random input=landuse96_28m npoints=10000 raster=training -s

# Train the SVM
i.svm.train group=lsat7_2002 subgroup=lsat7_2002\
i.svm.train group=lsat7_2002 subgroup=res_30m \
trainingmap=training signaturefile=landuse96_rnd_points

# Go to i.svm.predict for the next step.
Expand Down

0 comments on commit d4d6975

Please sign in to comment.