Learn R Programming

⚠️There's a newer version (1.7-3) of this package.Take me there.

klaR (version 1.7-2)

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

18,869

Version

1.7-2

License

GPL-2 | GPL-3

Maintainer

Uwe Ligges

Last Published

March 17th, 2023

Functions in klaR (1.7-2)

calc.trans

Calculation of transition probabilities
B3

West German Business Cycles 1955-1994
b.scal

Calculation of beta scaling parameters
GermanCredit

Statlog German Credit
betascale

Scale membership values according to a beta scaling
TopoS

Computation of criterion S of a visualization
EDAM

Computation of an Eight Direction Arranged Map
benchB3

Benchmarking on B3 data
centerlines

Lines from classborders to the center
NaiveBayes

Naive Bayes Classifier
distmirr

Internal function to convert a distance structure to a matrix
.dmvnorm

Density of a Multivariate Normal Distribution
dkernel

Estimate density of a given kernel
e.scal

Function to calculate e- or softmax scaled membership values
cond.index

Calculation of Condition Indices for Linear Regression
countries

Socioeconomic data for the most populous countries.
classscatter

Classification scatterplot matrix
drawparti

Plotting the 2-d partitions of classification methods
corclust

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

Extracts variable cluster IDs
greedy.wilks

Stepwise forward variable selection for classification
kmodes

K-Modes Clustering
quadtrafo

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

Tabulation of prediction errors by classes
locpvs

Pairwise variable selection for classification in local models
nm

Nearest Mean Classification
loclda

Localized Linear Discriminant Analysis (LocLDA)
plot.NaiveBayes

Naive Bayes Plot
plineplot

Plotting marginal posterior class probabilities
partimat

Plotting the 2-d partitions of classification methods
meclight.default

Minimal Error Classification
predict.sknn

Simple k Nearest Neighbours Classification
sknn

Simple k nearest Neighbours
stepclass

Stepwise variable selection for classification
friedman.data

Friedman's classification benchmark data
predict.rda

Regularized Discriminant Analysis (RDA)
rda

Regularized Discriminant Analysis (RDA)
predict.meclight

Prediction of Minimal Error Classification
woe

Weights of evidence
predict.loclda

Localized Linear Discriminant Analysis (LocLDA)
hmm.sop

Calculation of HMM Sum of Path
tritrafo

Barycentric plots
svmlight

Interface to SVMlight
predict.svmlight

Interface to SVMlight
predict.pvs

predict method for pvs objects
ucpm

Uschi's classification performance measures
predict.woe

Weights of evidence
predict.locpvs

predict method for locpvs objects
trigrid

Barycentric plots
pvs

Pairwise variable selection for classification
quadplot

Plotting of 4 dimensional membership representation simplex
triframe

Barycentric plots
rerange

Linear transformation of data
predict.NaiveBayes

Naive Bayes Classifier
plot.woe

Plot information values
xtractvars

Variable clustering based variable selection
tripoints

Barycentric plots
triplot

Barycentric plots
shardsplot

Plotting Eight Direction Arranged Maps or Self-Organizing Maps
triperplines

Barycentric plots