predict_img: predict_img: Classify pixels based on models and features

Description Usage Arguments Details Value

View source: R/workflow.R

Description

A wrapper that handles classifier models to output images

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
predict_img(x, ...)

## S3 method for class 'glm'
predict_img(x, feature_frame, ...)

## S3 method for class 'ranger'
predict_img(x, feature_frame, ...)

## S3 method for class 'ksvm'
predict_img(x, feature_frame, ...)

## Default S3 method:
predict_img(x, feature_frame, ...)

## S3 method for class 'glmnet'
predict_img(x, feature_frame, ...)

Arguments

x

model to use for classification

...

Additional arguments, passed to 'predict'

feature_frame

a data frame with the features

Details

It is a fairly thin wrapper arround 'predict'.

Value

NULL

NULL

NULL

NULL

NULL


jspaezp/clasifierrr documentation built on March 2, 2020, 11:20 a.m.