spatialProbs.bayes: Conditional probability fitting step for Spatial data

Description Usage Arguments Value

View source: R/bayes.R

Description

This method should only be used for customizing your own Bayesian classifier. Computes p(x_ij|k), p(x_ij|w) where k = TRUE in k-block.

Usage

1
2
## S3 method for class 'bayes'
spatialProbs(object, X, y)

Arguments

object

bayesian s3 object with mappings set

X

boolean spatial feature matrix

y

target vector, factor

Value

natural log probabilities for each class in y


tbonza/supml documentation built on May 17, 2019, 3:14 a.m.