its.ml.create_predict: massits features functions

Description Usage Arguments Value Author(s)

View source: R/its.ml.R

Description

This function returns a predict function to be applied on data to be classified. Besides the prediction, this function can return a information regarding the classification quality. The returned information, defined in summation parameter can be "probabilities", the reliability of each reference label; "entropy", the Shanon entropy given by e = -sum(p * log p); "rentropy", the relative Shanon entropy, given by re = e / (log k); and "none", nothing is returned.

Usage

1
2
its.ml.create_predict(f, ml_model = its.ml.model.svm_radial(),
  summation = c("probabilities", "entropy", "rentropy", "none"))

Arguments

f

A massits features tibble to compose the formula expression.

ml_model

A valid machine learning model function

summation

String value indicating a summation regarding the prediction

Value

A prediction function that receives as input a massits features tibble

Author(s)

Rolf Simoes, rolf.simoes@inpe.br


rolfsimoes/massits documentation built on May 29, 2019, 8:48 a.m.