knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of outselect (outlier detection method selection) is to select suitable outlier detection methods for a given dataset using meta-features. The functionality is available to reproduce some instance space results in our papers [@normalizationoutliers] and [@outliersinstance].
This package is still under development and this repository contains a development version of the R package outselect.
You can install outselect from github with:
#install.packages("devtools") devtools::install_github("sevvandi/outselect")
Details on features can be found here.
These examples are related to the work in [@outliersinstance] and use Min-Max normalization and the outlier detection methods described in [@campos2016evaluation]. For all examples we use the dataset Arrhythmia_withoutdupl_05_v05, which is described in [@campos2016evaluation].
This example shows how to compute the meta-features and predict which outlier method is good for the dataset Arrhythmia_withoutdupl_05_v05.
library(outselect) data(Arrhythmia_withoutdupl_05_v05) dat <- Arrhythmia_withoutdupl_05_v05 feat <- ComputeMetaFeaturesMM(dat) fit <- TrainModels(1,1,1) out <- PredictPerformance(feat, fit) out
This example shows how to plot the instance Arrhythmia_withoutdupl_05_v05 on the Min-Max instance space.
library(outselect) data(Arrhythmia_withoutdupl_05_v05) dat <- Arrhythmia_withoutdupl_05_v05 feat <- ComputeMetaFeaturesMM(dat) svmout <- InstSpace(d=1) PlotNewInstance(svmout, feat, vis=TRUE)
These examples are related to the work in [@normalizationoutliers]. We use Min-Max and Median-IQR normalization methods for feature computation. For the instance space we use the following normalization and outlier detection method combinations:
Again, for all examples we use the dataset Arrhythmia_withoutdupl_05_v05, which is described in [@campos2016evaluation].
This example shows how to compute the meta-features and predict which outlier-normalization combination is good for the dataset Arrhythmia_withoutdupl_05_v05.
library(outselect) data(Arrhythmia_withoutdupl_05_v05) dat <- Arrhythmia_withoutdupl_05_v05 feat <- ComputeMetaFeaturesAll(dat) fit <- TrainModels(d=2,1,1) out <- PredictPerformance(feat, fit) out
This example plots the same instance in the outlier-normalization algorithm instance space.
library(outselect) data(Arrhythmia_withoutdupl_05_v05) dat <- Arrhythmia_withoutdupl_05_v05 feat <- ComputeMetaFeaturesAll(dat) svmout <- InstSpace(d=2) PlotNewInstance(svmout, feat, vis=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.