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.


azvoleff/teamlucc documentation built on June 4, 2017, 12:08 a.m.