tune.maxent:
fits a maximum entropy model given a training matrix and a vector or factor of labels.
Description
Fits a multinomial logistic regression model of class maxent-class given a matrix or matrix.csr with training data, and a vector or factor with corresponding labels.
# LOAD LIBRARYlibrary(maxent)
# A DIFFERENT EXAMPLEdata(iris)
attach(iris)
x <- subset(iris, select = -Species)
y <- Species
f <- tune.maxent(x,y,nfold=3,showall=TRUE)