Learn R Programming

ddalpha (version 1.3.16)

Depth-Based Classification and Calculation of Data Depth

Description

Contains procedures for depth-based supervised learning, which are entirely non-parametric, in particular the DDalpha-procedure (Lange, Mosler and Mozharovskyi, 2014 ). The training data sample is transformed by a statistical depth function to a compact low-dimensional space, where the final classification is done. It also offers an extension to functional data and routines for calculating certain notions of statistical depth functions. 50 multivariate and 5 functional classification problems are included. (Pokotylo, Mozharovskyi and Dyckerhoff, 2019 ).

Copy Link

Version

Install

install.packages('ddalpha')

Monthly Downloads

4,129

Version

1.3.16

License

GPL-2

Last Published

September 30th, 2024

Functions in ddalpha (1.3.16)

ddalpha.getErrorRateCV

Test DD-Classifier
ddalpha.getErrorRatePart

Test DD-Classifier
depth.L2

Calculate L2-Depth
ddalphaf.getErrorRatePart

Test Functional DD-Classifier
ddalpha.test

Test DD-Classifier
ddalphaf.getErrorRateCV

Test Functional DD-Classifier
ddalphaf.test

Test Functional DD-Classifier
ddalphaf.classify

Classify using Functional DD-Classifier
ddalphaf.train

Functional DD-Classifier
depth.qhpeeling

Calculate Convex Hull Peeling Depth
depth.

Calculate Depth
ddalpha.train

Train DD-Classifier
depth.sample

Fast Depth Computation for Univariate and Bivariate Random Samples
depth.graph

Depth Graph
depth.contours

Depth Contours
depth.contours.ddalpha

Depth Contours
depth.space.Mahalanobis

Calculate Depth Space using Mahalanobis Depth
depth.Mahalanobis

Calculate Mahalanobis Depth
depth.halfspace

Calculate Halfspace Depth
depth.space.

Calculate Depth Space using the Given Depth
depth.simplicial

Calculate Simplicial Depth
depth.projection

Calculate Projection Depth
depth.potential

Calculate Potential of the Data
depth.betaSkeleton

Calculate Beta-Skeleton Depth
depth.space.simplicialVolume

Calculate Depth Space using Simplicial Volume Depth
depth.zonoid

Calculate Zonoid Depth
depth.space.halfspace

Calculate Depth Space using Halfspace Depth
depth.space.potential

Calculate Potential Space
depthf.HR

Half-Region Depth for Functional Data
depth.simplicialVolume

Calculate Simplicial Volume Depth
depthf.RP1

Univariate Random Projection Depths for Functional Data
depth.space.spatial

Calculate Depth Space using Spatial Depth
depthf.

Calculate Functional Depth
derivatives.est

Estimation of the First Two Derivatives for Functional Data
dknn.classify

Depth-Based kNN
depth.space.projection

Calculate Depth Space using Projection Depth
depth.space.simplicial

Calculate Depth Space using Simplicial Depth
depth.space.zonoid

Calculate Depth Space using Zonoid Depth
depthf.RP2

Bivariate Random Projection Depths for Functional Data
dknn.classify.trained

Depth-Based kNN
depth.spatial

Calculate Spatial Depth
dknn.train

Depth-Based kNN
depthf.ABD

Adjusted Band Depth for Functional Data
draw.ddplot

Draw DD-Plot
plot.functional

Plot functions for the Functional Data
rawfd2dataf

Transform Raw Functional Data to a dataf Object
depthf.BD

Band Depth for Functional Data
getdata

Data for Classification
depthf.fd1

Univariate Integrated and Infimal Depth for Functional Data
plot.ddalpha

Plots for the "ddalpha" Class
plot.ddalphaf

Plots for the "ddalphaf" Class
depthf.fd2

Bivariate Integrated and Infimal Depth for Functional Data
depthf.hM2

Bivariate h-Mode Depth for Functional Data Based on the \(L^2\) Metric
depthf.simplicialBand

Calculate Simplicial Band Depth
shape.fd.outliers

Functional Depth-Based Shape Outlier Detection
resetPar

Reset Graphical Parameters
depthf.hM

h-Mode Depth for Functional Data
shape.fd.analysis

Diagnostic Plot for First and Second Order Integrated and Infimal Depths
infimalRank

Adjusted Ranking of Functional Data Based on the Infimal Depth
is.in.convex

Check Outsiderness
dataf.*

Functional Data Sets
FKS

Fast Kernel Smoothing
dataf

Converts data from fdata class to the functional class.
L2metric

Fast Computation of the \(L^2\) Metric for Sets of Functional Data
Cmetric

Fast Computation of the Uniform Metric for Sets of Functional Data
Custom Methods

Using Custom Depth Functions and Classifiers
compclassf.classify

Classify using Functional Componentwise Classifier
compclassf.train

Functional Componentwise Classifier
dataf.population2010

World Historical Population-by-Country Dataset (2010 Revision)
dataf.sim.2.CFF07

Model 2 from Cuevas et al. (2007)
dataf.tecator

Functional Data Set Spectrometric Data (Tecator)
dataf.geneexp

Gene Expression Profile Data
dataf.growth

Berkeley Growth Study Data
dataf.medflies

Relationship of Age Patterns of Fecundity to Mortality for Female Medflies.
ddalpha.classify

Classify using DD-Classifier
dataf.population

World Historical Population-by-Country Dataset
dataf.sim.1.CFF07

Model 1 from Cuevas et al. (2007)
dataf2rawfd

Transform a dataf Object to Raw Functional Data
ddalpha-package

Depth-Based Classification and Calculation of Data Depth