pixel_data-class: A class for representing training or testing data

Description Slots

Description

Used to represent training data for a machine learning classifier for image classificaion, or testing data used for testing a classification.

Slots

x

a data.frame of independent variables (usually pixel values)

y

a data.frame of the dependent variable (usually land cover classes)

pixel_src

a data.frame used to link pixels in x and y to an input polygon

training_flag

a binary vector of length equal to nrow(x) indicating each row in x should be used in training (TRUE) or in testing (FALSE)

polys

a SpatialPolygonsDataFrame of the polygons used to choose the pixels in x and y.


yinscapital/sat-locat-reference-team-lucc documentation built on May 14, 2019, 11:09 a.m.