Learn R Programming

TDMR (version 2.2)

Tuned Data Mining in R

Description

Tuned Data Mining in R ('TDMR') performs the complete tuning of a data mining task (predictive analytics, that is classification and regression). Preprocessing parameters and modeling parameters can be tuned simultaneously. It incorporates a variety of tuners (among them 'SPOT' and 'CMA' with package 'rCMA') and allows integration of additional tuners. Noise handling in the data mining optimization process is supported, see Koch et al. (2015) .

Copy Link

Version

Install

install.packages('TDMR')

Monthly Downloads

205

Version

2.2

License

GPL (>= 2)

Maintainer

Last Published

March 2nd, 2020

Functions in TDMR (2.2)

defaultSC

Default settings for the spotConfig part of TDMR.
cma_jTuner

Perform CMA-ES tuning (Java version).
defaultOpts

Default settings for the data mining part of TDMR (list opts).
cmaesTuner

Perform CMA-ES tuning (R version).
Opts

Return the list 'opts'.
cat2

Output objects to cat if opts$VERBOSE>=2.
dsetTest

Return test data
cat1

Output objects to cat if opts$VERBOSE>=1.
bfgsTuner

Perform BFGS tuning.
dsetTest.TDMdata

TDMR-package

Tuned Data Mining in R
print.TDMregressor

makeTdmRandomSeed

Factory method to make a function generating pseudo-random random number seeds.
print1

Print objects using print if opts$VERBOSE>=1.
dsetTrnVa

Return train-validataion data
dsetTrnVa.TDMdata

lhdTuner

Perform LHD tuning.
tdmBigLoop

Tuning and unbiased evaluation in a big loop.
spotTuner

predict.TDMenvir

Make a prediction using the last model.
tdmEnvTMakeNew

tdmDefaultsFill

Default values for list tdm.
tdmEnvTReport

Make a report plot based on envT
tdmDispatchTuner

tdmGraphicCloseWin

Close active file ("png").
tdmBindResponse

Bind a column to a data frame.
print.TDMclassifier

tdmEnvTAddBstRes

Add BST and RES data frames to an existing envT environment.
tdmEnvTUpdate

Update envT$tdm
tdmClassify

Core classification function of TDMR.
print.TDMdata

tdmEnvTAddGetters

Add getter functions getBst and getRes to environment envT
tdmEnvTSetOpts

Set list opts for the k-th element of envT$sCList
tdmGraAndLogInitialize

Initialize graphics and log file.
tdmGraphicCloseDev

Close all open graphic devices.
tdmEnvTReportSens

Function to generate a report with sensitivity plot.
tdmClassifySummary

Print summary output for result from tdmClassifiyLoop and add result$y.
tdmPreNAroughfix

Replace <NA> values with suitable non <NA> values
tdmClassifyLoop

tdmGraphicInit

Initialize graphic device.
tdmPreLevel2Target

Relate levels of a column with a target (column).
tdmMapDesApply

Apply the mapping from des to opts.
tdmParaBootstrap

Parametric bootstrap: add 'noisy copies' to a data frame (training data).
tdmOptsDefaultsSet

Default values for list opts.
tdmOptsDefaultsFill

Fill the current opts.
setParams

Merge the parameters from a partial list and the default list
tdmROCR.TDMclassifier

tdmModCreateCVindex

Create and return a training-validation-set index vector.
tdmPrePCA.apply

Apply PCA (Principal Component Analysis) to new data.
tdmROCR

Interactive plot of ROC charts
tdmPreFindConstVar

Find constant columns.
print2

Print objects using print if opts$VERBOSE>=2.
zzz

just to make example check happy
unbiasedRun

Perform unbiased runs with best-solution parameters.
tdmROCRbase

tdmPreAddMonomials

Add monomials of degree 2 to a data frame.
tdmMapDesLoad

Load the mapping files.
tdmGraAndLogFinalize

Finalize graphics and log file
tdmModConfmat

Calculate confusion matrix, gain and RGain measure.
tdmPreSFA.apply

Apply SFA (Slow Feature Analysis) to new data.
tdmRandomSeed

Generates pseudo-random random number seeds.
tdmTuneIt

Tuning and unbiased evaluation (single tuning).
tdmEnvTGetOpts

Return list opts from the k-th element of envT$sCList
tdmModSortedRFimport

Sort the input variables decreasingly by their RF-importance.
tdmGraphicNewWin

Initialize a new window.
tdmModVote2Target

Analyze how the vote fraction corresponds to reliability of prediction.
tdmEnvTLoad

Load an envT-type environment from file fileRData.
tdmGraphicToTop

Bring the acitve window to the top
tdmPrePCA.train

PCA (Principal Component Analysis) for numeric columns in a data frame.
tdmRegressLoop

tdmPreGroupLevels

Group the levels of factor variable in dset[,colname].
tdmReportSensY

Sensitivity Report Helper Function
tdmReadDataset

Read data accoroding to opts settings.
tdmReadAndSplit

Read and split the task data.
tdmReadTaskData

Read task data.
tdmPreSFA.train

SFA (Slow Feature Analysis) for numeric columns in a data frame.
tdmStartSpot2

Function called by SPOT 2.0 tuner
tdmRegress

Core regression function of TDMR.
tdmRegressSummary

Print summary output for result from tdmRegressLoop and add result$y.