tune_MaxEnt: Tunes a MaxEnt classifier)

Description Usage Arguments Value

View source: R/tune_maxent.R

Description

Tunes a MaxEnt classifier)

Usage

1
2
3
tune_MaxEnt(feature_matrix, feature_labels, nfold = 3, showall = TRUE,
  verbose = TRUE, cores = 1, l2_params = c(0, 0.5, 1, 5, 10),
  sgd_params = c(TRUE, rep(FALSE, 4)))

Arguments

feature_matrix

A matrix with features

feature_labels

The labels for the matrix

nfold

Number of folds for k-fold crossvalidation (k = 5 for basic run, k = 10 is accurate)

showall

Show all of the configurations

verbose

Output extra information

cores

How many cores to use

Value

A matrix with the best parameters found


jlricon/MaxClassify documentation built on May 9, 2018, 10:40 p.m.