TML2.3.0 package

Tropical Geometry Tools for Machine Learning

tdets

Calculate the tropical determinant of a square matrix.

trop.FW

Calculate the tropical Fermat-Weber point

trop.hyper.dist

Calculate the tropical distance to a max-tropical hyperplane

vector.to.equidistant.tree

Vector to equidistant tree

min_enc.ball

Calculate a minimum enclosing ball for a tropical polytope

normaliz.tree

Normalize a phylogenetic tree

normalize

Normalize a point or set of points in the tropical projective torus

bw.nn

Nearest neighbor bandwidth calculation

cluster.ratio_HC

Ratio of within and between tropical measures for tropical hierarchica...

cluster.ratio_KM

Ratio of within and between tropical measures for k-means clusters

convert.to.tree

Create a phylogenetic tree from an ultrametric

draw_thyper

2D or 3D rendering of max-plus or min-plus tropical hyperplane

rounding

Remove all tentacles from a tropical simplex

draw.tpolytope

Draw a 2-D or 3-D tropical polytope

FWpoint.numerical

Fermat-Weber point numerical solver

FWpoint.regularization

Modified Fermat-Weber point numerical solver for ultrametrics

HAR.TLineSeg.centroid

Gaussian-like Sampling on a max- or min-plus tropical line segment

HAR.TLineSeg

Uniformly sample from a max-plus tropical line segment

max_ins.ball

Calculate the center point and radius of the maximum inscribed ball fo...

sigmoid

Sigmoid function

over_bet_HC

Tropical cluster betweeness measure for each cluster in a set of hiera...

over_bet_KM

Tropical cluster betweeness measure for a each of a set of k-means der...

Points.TLineSeg

Sample k equally spaced points on a max- or min-plus tropical line seg...

pre.pplot.pro

Projections of points onto a tropical triangle

prob.class

Estimated probability for binary class assignment

project.pi

Project a point on the tropical projective torus onto a tropical polyt...

pw.trop.dist

Constructs the dissimilarity matrix for a set of ultrametrics

TKmeans

K-means clustering over the tropical projective torus

TLineSeg

Construct a max- or min-plus tropical line segment between two points

TML-package

TML: Tropical Geometry Tools for Machine Learning

TML

Tropical Machine Learning in R

tree.to.vector

Phylogenetic tree to vector

Trop_ball

Visualize a Tropical ball in 2D or 3D

trop_wi_dist

Tropical within-cluster measure

trop.dist

Compute the tropical distance

trop.logistic.regression

Tropical Logistic Regression

trop.tri.plot.w.pts

Plotting PCA-derived tropical triangles

trop.Volume

Estimate the volume of a tropical polytope

tropical.ball.verts

Calculate the minimum or entire generating vertex set of a tropical ba...

tropical.centroid.MH

Centroid-based sampling using Metropolis filter

tropical.centroid

Tropical centroid-based sampling about a center of mass

Tropical.HC.AGNES

Agglomerative (AGNES) tropical hierarchical clustering

tropical.KDE

Tropical Kernel Density Estimation of Phylogenetic Trees

tropical.PCA

Tropical principal component analysis (PCA) on over tropical projectiv...

Ultrametrics.HAR

Hit-and-Run Sampler for the space of ultrametrics

VE.HAR

Vertex HAR with extrapolation (VHE) MCMC with uniform target distribut...

Suite of tropical geometric tools for use in machine learning applications. These methods may be summarized in the following references: Yoshida, et al. (2022) <doi:10.2140/astat.2023.14.37>, Barnhill et al. (2023) <doi:10.48550/arXiv.2303.02539>, Barnhill and Yoshida (2023) <doi:10.3390/math11153433>, Aliatimis et al. (2023) <doi:10.1007/s11538-024-01327-8>, Yoshida et al. (2022) <doi:10.1109/TCBB.2024.3420815>, and Yoshida et al. (2019) <doi:10.1007/s11538-018-0493-4>.

  • Maintainer: David Barnhill
  • License: MIT + file LICENSE
  • Last published: 2024-07-29