Skip to content

Commit

Permalink
Merge pull request #573 from GAA-UAM/feature/DTMClassifier_doc_fix
Browse files Browse the repository at this point in the history
Update citation and See also in DTMClassifier class
  • Loading branch information
vnmabus committed Sep 26, 2023
2 parents 1644ad0 + ee676cd commit 5779840
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
15 changes: 15 additions & 0 deletions docs/refs.bib
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,21 @@ @article{pini++_2018_hotelling
keywords = {Functional data,High-dimensional data Hotelling’s,Hilbert space,Nonparametric inference,Permutation test}
}

@incollection{pintado+romo_2005_depthbased,
title = {Depth-Based Classification for Functional Data},
shorttitle = {Data {{Depth}}},
booktitle = {Data {{Depth}}: {{Robust Multivariate Analysis}}, {{Computational Geometry}} and {{Applications}}},
author = {Pintado, Sara and Romo, Juan},
year = {2005},
month = nov,
series = {{{DIMACS Series}} in {{Discrete Mathematics}} and {{Theoretical Computer Science}}},
volume = {72},
pages = {103--119},
publisher = {{American Mathematical Society}},
doi = {10.1090/dimacs/072/08},
isbn = {978-0-8218-3596-8}
}

@inbook{ramsay+silverman_2005_functionala,
title = {From Functional Data to Smooth Functions},
booktitle = {Functional Data Analysis},
Expand Down
3 changes: 2 additions & 1 deletion skfda/ml/classification/_centroid_classifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class DTMClassifier(NearestCentroid[Input, Target]):
Test samples are classified to the class that minimizes the distance of
the observation to the trimmed mean of the group
:footcite:`fraiman+muniz_2001_trimmed`.
:footcite:`pintado+romo_2005_depthbased`.
Parameters:
proportiontocut:
Expand Down Expand Up @@ -174,6 +174,7 @@ class DTMClassifier(NearestCentroid[Input, Target]):
See also:
:class:`~skfda.ml.classification.NearestCentroid`
:class:`~skfda.exploratory.stats.trim_mean`
References:
.. footbibliography::
Expand Down

0 comments on commit 5779840

Please sign in to comment.