Description Usage Arguments Author(s) Examples
This function performs the separation of training samples and validation for samples collected in the form of polygons. Note that the class has to be the first column and the polygon number has to be the second column of the dataframe.
1 | train_validation_poligon(dfall, class, poligon, p = 0.75, seed = 313)
|
dfall |
Dataframe with class and poligon columns |
class |
string with name of variable with class value |
poligon |
string with name of variable with poligon id |
p |
double the percentage of data that goes to training |
seed |
numeric seed to control random numbers generation |
Elpidio Filho, elpidio@ufv.br
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.