lol.classify.randomGuess {lolR} | R Documentation |
Randomly Guessing Classifier Training
Description
A function that predicts by randomly guessing based on the pmf of the class priors. Functionality consistent with the standard R prediction interface so that one can compute the "guess" accuracy with minimal modification of other classification scripts.
Usage
lol.classify.randomGuess(X, Y, ...)
Arguments
X |
|
Y |
|
... |
optional args. |
Value
A list of class randomGuess
, with the following attributes:
ylabs |
|
priors |
|
Author(s)
Eric Bridgeford
Examples
library(lolR)
data <- lol.sims.rtrunk(n=200, d=30) # 200 examples of 30 dimensions
X <- data$X; Y <- data$Y
model <- lol.classify.randomGuess(X, Y)
[Package lolR version 2.1 Index]