Learn R Programming

klaR (version 1.7-3)

Classification and Visualization

Description

Miscellaneous functions for classification and visualization, e.g. regularized discriminant analysis, sknn() kernel-density naive Bayes, an interface to 'svmlight' and stepclass() wrapper variable selection for supervised classification, partimat() visualization of classification rules and shardsplot() of cluster results as well as kmodes() clustering for categorical data, corclust() variable clustering, variable extraction from different variable clustering models and weight of evidence preprocessing.

Copy Link

Version

Install

install.packages('klaR')

Monthly Downloads

10,777

Version

1.7-3

License

GPL-2 | GPL-3

Maintainer

Last Published

December 13th, 2023

Functions in klaR (1.7-3)

GermanCredit

Statlog German Credit
betascale

Scale membership values according to a beta scaling
NaiveBayes

Naive Bayes Classifier
B3

West German Business Cycles 1955-1994
calc.trans

Calculation of transition probabilities
centerlines

Lines from classborders to the center
cvtree

Extracts variable cluster IDs
EDAM

Computation of an Eight Direction Arranged Map
.dmvnorm

Density of a Multivariate Normal Distribution
classscatter

Classification scatterplot matrix
corclust

Function to identify groups of highly correlated variables for removing correlated features from the data for further analysis.
dkernel

Estimate density of a given kernel
greedy.wilks

Stepwise forward variable selection for classification
drawparti

Plotting the 2-d partitions of classification methods
countries

Socioeconomic data for the most populous countries.
cond.index

Calculation of Condition Indices for Linear Regression
e.scal

Function to calculate e- or softmax scaled membership values
meclight.default

Minimal Error Classification
locpvs

Pairwise variable selection for classification in local models
kmodes

K-Modes Clustering
predict.loclda

Localized Linear Discriminant Analysis (LocLDA)
distmirr

Internal function to convert a distance structure to a matrix
nm

Nearest Mean Classification
partimat

Plotting the 2-d partitions of classification methods
loclda

Localized Linear Discriminant Analysis (LocLDA)
errormatrix

Tabulation of prediction errors by classes
predict.rda

Regularized Discriminant Analysis (RDA)
friedman.data

Friedman's classification benchmark data
predict.sknn

Simple k Nearest Neighbours Classification
hmm.sop

Calculation of HMM Sum of Path
predict.locpvs

predict method for locpvs objects
rerange

Linear transformation of data
plineplot

Plotting marginal posterior class probabilities
plot.NaiveBayes

Naive Bayes Plot
plot.woe

Plot information values
predict.NaiveBayes

Naive Bayes Classifier
sknn

Simple k nearest Neighbours
shardsplot

Plotting Eight Direction Arranged Maps or Self-Organizing Maps
predict.pvs

predict method for pvs objects
predict.meclight

Prediction of Minimal Error Classification
svmlight

Interface to SVMlight
pvs

Pairwise variable selection for classification
quadtrafo

Transforming of 4 dimensional values in a barycentric coordinate system.
quadplot

Plotting of 4 dimensional membership representation simplex
predict.svmlight

Interface to SVMlight
stepclass

Stepwise variable selection for classification
predict.woe

Weights of evidence
woe

Weights of evidence
rda

Regularized Discriminant Analysis (RDA)
triframe

Barycentric plots
tritrafo

Barycentric plots
xtractvars

Variable clustering based variable selection
ucpm

Uschi's classification performance measures
tripoints

Barycentric plots
trigrid

Barycentric plots
triplot

Barycentric plots
triperplines

Barycentric plots
TopoS

Computation of criterion S of a visualization
benchB3

Benchmarking on B3 data
b.scal

Calculation of beta scaling parameters