Package: fdm2id 1.0.2

fdm2id: Data Mining and R Programming for Beginners

Contains functions to simplify the use of data mining methods (classification, regression, clustering, etc.), for students and beginners in R programming. Various R packages are used and wrappers are built around the main functions, to standardize the use of data mining methods (input/output): it brings a certain loss of flexibility, but also a gain of simplicity. The package name came from the French "Fouille de Données en Master 2 Informatique Décisionnelle".

Authors:Alexandre Blansché [aut, cre]

fdm2id_1.0.2.tar.gz
fdm2id_1.0.2.zip(r-4.7-any)fdm2id_1.0.2.zip(r-4.6-any)fdm2id_1.0.2.zip(r-4.5-any)
fdm2id_1.0.2.tgz(r-4.6-any)fdm2id_1.0.2.tgz(r-4.5-any)
fdm2id_1.0.2.tar.gz(r-4.7-any)fdm2id_1.0.2.tar.gz(r-4.6-any)
fdm2id_1.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
fdm2id/json (API)

# Install 'fdm2id' in R:
install.packages('fdm2id', repos = c('https://blansche.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

4.05 score 1 stars 47 scripts 834 downloads 116 exports 143 dependencies

Last updated from:46872b8027. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK328
source / vignettesOK286
linux-releaseOK291
macos-releaseOK235
macos-oldrelOK197
windows-develOK290
windows-releaseOK252
windows-oldrelOK268
wasm-releaseOK161

Exports:ADABOOSTAPRIORIaugmentationBAGGINGboxclusCACARTcartdepthcartinfocartleafscartnodescartplotCDAclosegraphicscomparecompare.accuracycompare.jaccardcompare.kappaconfusioncookplotcorrelatedcost.curvesdata.diagdata.gaussdata.paraboldata.target1data.target2data.twomoonsdata.xorDBSCANdistplotEMevaluationevaluation.accuracyevaluation.adjr2evaluation.fmeasureevaluation.fowlkesmallowsevaluation.goodnessevaluation.jaccardevaluation.kappaevaluation.msepevaluation.precisionevaluation.r2evaluation.recallexportgraphicsexportgraphics.offexportgraphics.onFEATURESELECTIONfilter.rulesfrequentwordsGBREGgeneral.rulesgetvocabGRADIENTBOOSTINGHCAinternintern.dunnintern.interclassintern.intraclasskaiserKERREGKMEANSkmeans.getkKNNLDAleverageplotLINREGloadtextLRMCAMEANSHIFTMLPMLPREGNBNMFPAMPCAperformanceplotavspplotcloudplotclusplotdataplotzipfPOLYREGpseudoFQDAquery.docsquery.wordsRANDOMFORESTregplotresplotroc.curvesrotationrunningtimescatterplotselectfeaturesSOMSPECTRALsplitdatastabilitySTUMPSVDSVMSVMlSVMrSVRSVRlSVRrTEXTMININGtoggleexporttoggleexport.offtoggleexport.ontreeplotTSNEvectorize.docsvectorize.words

Dependencies:abindarulesarulesVizaskpassbackportsbase64encbootbroombslibcacachemcarcarDatacliclustercodetoolscolorspacecowplotcpp11crosstalkcurldata.tableDerivdigestdoBydplyrDTellipseemmeansestimabilityevaluateFactoMineRfarverfastmapflashClustfontawesomeforeachforecastFormulafracdifffsgclusgenericsggforceggplot2ggraphggrepelgluegraphlayoutsgridExtragtablehighrhtmltoolshtmlwidgetshttrigraphirlbaisobanditeratorsjquerylibjsonliteknitrlabelinglaterlatticelazyevalleapslifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmclustmemoisemgcvmimeminqamodelrmultcompViewmvtnormnlmenloptrnnetnumDerivopensslotelpbkrtestpillarpkgconfigplotlyplspolyclippromisespurrrqapquantregR6rappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasregistryrlangrmarkdownS7sassscalesscatterplot3dseriationshowtextshowtextdbSparseMstringistringrsurvivalsyssysfontssystemfontstibbletidygraphtidyrtidyselecttimeDatetinytexTSPtweenrurcautf8vcdvctrsviridisviridisLitevisNetworkwithrxfunyamlzoo

Clustering: earthquakes in Fiji
The data | Question 1. Which method produces the most stable clusters? | Question 2. How do the clusters read in depth and magnitude? | Question 3. Where are the shallowest earthquakes? The deepest? | Question 4. How many clusters are there really? | Question 5. Which methods give the most relevant clusters?

Last update: 2026-10-05
Started: 2026-08-28

Ensemble methods: the ionosphere
The data | Question 1. Which method predicts best? | Question 2. How do the two best differ, in false positives and false negatives?

Last update: 2026-10-05
Started: 2026-08-28

Feature selection: crabs
The data | Question 1. Selecting for the species | Question 2. Selecting for the sex | Question 3. Which variables, in the end?

Last update: 2026-10-05
Started: 2026-08-28

Linear regression: Scottish hill races
The data | Question 1. Which single variable predicts best? Was it foreseeable? | Question 2. One variable or two? | Question 3. What do the residuals say? | Question 4. Can the predictions be improved?

Last update: 2026-10-05
Started: 2026-08-28

Clustering: wheat varieties
The data | Question 1. Raw data, or centred and scaled? | Question 2. How many clusters do the methods see? | Question 3. With three clusters, which method is the most compact? The most stable? | Question 4. Which method comes closest to the three varieties?

Last update: 2026-09-04
Started: 2026-08-28

Discriminant analysis: the lumbar spine
The data | Question 1. Which method predicts the two-class problem best? | Question 2. And the three-class problem? | Question 3. Is the three-class problem harder than the two-class one? | Question 4. Which classes are hardest to separate? | Going further: are non-linear methods worth it?

Last update: 2026-09-04
Started: 2026-08-28

Principal component analysis: breast tumours
The data | Question 1. How many factorial axes are needed? | Question 2. How should the first two axes be read? | Question 3. What can be said about the two groups of tumours?

Last update: 2026-09-04
Started: 2026-08-28

Visualisation: cars from three continents
The data | Question 1. Should the data be centred and scaled? | Question 2. What does each view of the data show?

Last update: 2026-09-04
Started: 2026-08-28

Readme and manuals

Help Manual

Help pageTopics
Sample of car accident location in the UK during year 2014.accident2014
Classification using AdaBoostADABOOST
Alcohol datasetalcohol
Classification using APRIORIAPRIORI
APRIORI classification modelapriori-class
Duplicate and add noise to a datasetaugmentation
Auto MPG datasetautompg
Classification using BaggingBAGGING
Flea beetles datasetbeetles
Birth datasetbirth
Boosting methods modelboosting-class
Clustering Box Plotsboxclus
Population and location of 18 major british cities.britpop
Correspondence Analysis (CA)CA
Capitals datasetcapitals
Classification using CARTCART
Depthcartdepth
CART informationcartinfo
Number of Leafscartleafs
Number of Nodescartnodes
CART Plotcartplot
Classification using Canonical Discriminant AnalysisCDA
Canonical Disciminant Analysis modelcda-class
Close a graphics deviceclosegraphics
Comparison of two sets of clusterscompare
Comparison of two sets of clusters, using accuracycompare.accuracy
Comparison of two sets of clusters, using Jaccard indexcompare.jaccard
Comparison of two sets of clusters, using kappacompare.kappa
Confusion matrixconfusion
Cookies datasetcookies cookies.desc.test cookies.desc.train cookies.y.test cookies.y.train
Plot the Cook's distance of a linear regression modelcookplot
Correlated variablescorrelated
Plot Cost Curvescost.curves
Credit datasetcredit
Square datasetdata.diag
Gaussian mixture datasetdata.gauss
Parabol datasetdata.parabol
Target1 datasetdata.target1
Target2 datasetdata.target2
Two moons datasetdata.twomoons
XOR datasetdata.xor
"data1" datasetdata1
"data2" datasetdata2
"data3" datasetdata3
Training set and test setdataset-class
DBSCAN modeldbs-class
DBSCAN clustering methodDBSCAN
Decathlon datasetdecathlon
Plot a k-distance graphicdistplot
Expectation-Maximization clustering methodEM
Expectation-Maximization modelem-class
Eucalyptus dataseteucalyptus
Evaluation of classification or regression predictionsevaluation
Accuracy of classification predictionsevaluation.accuracy
Adjusted R2 evaluation of regression predictionsevaluation.adjr2
F-measureevaluation.fmeasure
Fowlkes–Mallows indexevaluation.fowlkesmallows
Goodnessevaluation.goodness
Jaccard indexevaluation.jaccard
Kappa evaluation of classification predictionsevaluation.kappa
MSEP evaluation of regression predictionsevaluation.msep
Precision of classification predictionsevaluation.precision
R2 evaluation of regression predictionsevaluation.r2
Recall of classification predictionsevaluation.recall
Open a graphics deviceexportgraphics
Toggle graphic exportsexportgraphics.off exportgraphics.on toggleexport toggleexport.off toggleexport.on
Factorial analysis resultsfactorial-class
Classification with Feature selectionFEATURESELECTION
Filtering a set of rulesfilter.rules
Frequent wordsfrequentwords
Regression using Gradient BoostingGBREG
Remove redundancy in a set of rulesgeneral.rules
Extract words and phrases from a corpusgetvocab
Classification using Gradient BoostingGRADIENTBOOSTING
Hierarchical Cluster Analysis methodHCA
Clustering evaluation through internal criteriaintern
Clustering evaluation through Dunn's indexintern.dunn
Clustering evaluation through interclass inertiaintern.interclass
Clustering evaluation through intraclass inertiaintern.intraclass
Ionosphere datasetionosphere
Kaiser rulekaiser
Kernel RegressionKERREG
K-means methodKMEANS
Estimation of the number of clusters for _K_-meanskmeans.getk
Classification using k-NNKNN
K Nearest Neighbours modelknn-class
Classification using Linear Discriminant AnalysisLDA
Plot the leverage points of a linear regression modelleverageplot
Linear RegressionLINREG
Linsep datasetlinsep
load a text fileloadtext
Classification using Logistic RegressionLR
Multiple Correspondence Analysis (MCA)MCA
MeanShift methodMEANSHIFT
MeanShift modelmeanshift-class
Classification using Multilayer PerceptronMLP
Multi-Layer Perceptron RegressionMLPREG
Generic classification or regression modelmodel-class
Residuals and fitted values of a modelfitted.model model-methods residuals.model rstudent.model
Movies datasetmovies
Classification using Naive BayesNB
Non-negative Matrix FactorizationNMF
Ozone datasetozone
Clustering using _K_-medoids (PAM)PAM
Learning Parametersparams-class
Principal Component Analysis (PCA)PCA
Performance estimationperformance
Plot function for apriori-classplot.apriori
Plot function for cda-classplot.cda
Plot function for factorial-classplot.factorial
Plot function for hca-classplot.hca
Plot a feature selectionplot.selection
Plot function for som-classplot.som
Plot actual vs. predictionsplotavsp
Plot word cloudplotcloud
Generic Plot Method for Clusteringplotclus
Advanced plot functionplotdata
Plot rank versus frequencyplotzipf
Polynomial RegressionPOLYREG
Model predictionspredict.apriori
Model predictionspredict.boosting
Model predictionspredict.cda
Predict function for DBSCANpredict.dbs
Predict function for EMpredict.em
Projection of new observations into a factorial spacepredict.factorial
Predict function for hierarchical clusteringpredict.hca
Predict function for K-meanspredict.kmeans
Model predictionspredict.knn
Predict function for MeanShiftpredict.meanshift
Model predictionspredict.model
Predict function for PAMpredict.pam
Model predictionspredict.selection
Predict function for a self-organising mappredict.som
Predict function for Spectral clusteringpredict.spectral
Model predictionspredict.textmining
Print a classification model obtained by APRIORIprint.apriori
Print an ensemble modelprint.boosting
Print a canonical discriminant analysisprint.cda
Print a training/test splitprint.dataset
Print a DBSCAN clusteringprint.dbs
Print an EM clusteringprint.em
Plot function for factorial-classprint.factorial
Print a _K_-nearest-neighbours modelprint.knn
Print a mean shift clusteringprint.meanshift
Print a classification or regression modelprint.model
Print tuned method parametersprint.params
Print a feature selection resultprint.selection
Print a self-organising mapprint.som
Print a spectral clusteringprint.spectral
Pseudo-FpseudoF
Classification using Quadratic Discriminant AnalysisQDA
Document queryquery.docs
Word queryquery.words
Classification using Random ForestRANDOMFOREST
reg1 datasetreg1 reg1.test reg1.train
reg2 datasetreg2 reg2.test reg2.train
Plot function for a regression modelregplot
Plot the studentized residuals of a linear regression modelresplot
Plot ROC Curvesroc.curves
Rotationrotation
Running timerunningtime
Clustering Scatter Plotsscatterplot
Feature selection for classificationselectfeatures
Feature selectionselection-class
Snore datasetsnore
Self-Organizing Maps clustering methodSOM
Self-Organizing Maps modelsom-class
Spectral clustering methodSPECTRAL
Spectral clustering modelspectral-class
Spine datasetspine spine.test spine.train
Splits a dataset into training set and test setsplitdata
Clustering evaluation through stabilitystability
Classification using one-level decision treeSTUMP
Print summary of a classification model obtained by APRIORIsummary.apriori
Summary of a classification or regression modelsummary.model
Singular Value DecompositionSVD
Classification using Support Vector MachineSVM
Classification using Support Vector Machine with a linear kernelSVMl
Classification using Support Vector Machine with a radial kernelSVMr
Regression using Support Vector MachineSVR
Regression using Support Vector Machine with a linear kernelSVRl
Regression using Support Vector Machine with a radial kernelSVRr
Temperature datasettemperature
Text miningTEXTMINING
Text mining objecttextmining-class
Titanic datasettitanic
Dendrogram Plotstreeplot
t-distributed Stochastic Neighbor EmbeddingTSNE
University datasetuniversite
Document vectorizationvectorize.docs
Word vectorizationvectorize.words
Document vectorization objectvectorizer-class
Vowels datasetvowels vowels.test vowels.train
Wheat datasetwheat
Wine datasetwine
Zoo datasetzoo