Liking cljdoc? Tell your friends :D

fastmath.distance

Various distance functions

Various distance functions
raw docstring

->acm-distanceclj

(->acm-distance distance)

Create DistanceMeasure Apache Commons Math object based on given distance function.

Create DistanceMeasure Apache Commons Math object based on given distance function.
sourceraw docstring

angularclj

(angular v1 v2)

Angular distance

Angular distance
sourceraw docstring

boundclj

(bound distance)
(bound distance diameter)

Create relative distance function to be bound by a diameter (default: by 1.0).

Create relative distance function to be bound by a `diameter` (default: by `1.0`).
sourceraw docstring

canberraclj

(canberra v1 v2)

Canberra distance

Canberra distance
sourceraw docstring

canberra-1dclj

(canberra-1d v1 v2)

Canberra distance for doubles

Canberra distance for doubles
sourceraw docstring

chebyshevclj

(chebyshev v1 v2)

Chebyshev distance

Chebyshev distance
sourceraw docstring

cosineclj

(cosine v1 v2)

Cosine similarity

Cosine similarity
sourceraw docstring

discreteclj

(discrete v1 v2)

Discrete distance

Discrete distance
sourceraw docstring

earth-moversclj

(earth-movers v1 v2)

Earth-Movers distance

Earth-Movers distance
sourceraw docstring

euclideanclj

(euclidean v1 v2)

Euclidean distance

Euclidean distance
sourceraw docstring

euclidean-1dclj

(euclidean-1d v1 v2)

Euclidean distance for doubles

Euclidean distance for doubles
sourceraw docstring

euclidean-sqclj

(euclidean-sq v1 v2)

Squared Euclidean distance

Squared Euclidean distance
sourceraw docstring

euclidean-sq-1dclj

(euclidean-sq-1d v1 v2)

Squared Euclidean distance for doubles

Squared Euclidean distance for doubles
sourceraw docstring

haversineclj

(haversine lat-lon1 lat-lon2)

Haversine distance

Haversine distance
sourceraw docstring

mahalanobisclj

(mahalanobis cov)
(mahalanobis x mean cov)

Mahalonobis distance for given covariance (seq of seqs) matrix.

Mahalonobis distance for given covariance (seq of seqs) matrix.
sourceraw docstring

mahalanobis-sqclj

(mahalanobis-sq cov)
(mahalanobis-sq x mean cov)

Squared Mahalonobis distance for given covariance (seq of seqs) matrix.

Squared Mahalonobis distance for given covariance (seq of seqs) matrix.
sourceraw docstring

manhattanclj

(manhattan v1 v2)

Manhattan distance

Manhattan distance
sourceraw docstring

minkowskiclj

(minkowski p)
(minkowski p weights)
(minkowski v1 v2 p)
(minkowski v1 v2 p weights)

Minkowski distance for order p and optional weights for each dimension.

Minkowski distance for order `p` and optional `weights` for each dimension.
sourceraw docstring

periodic-euclideanclj

(periodic-euclidean v1 v2 w)

Euclidean distance with periodic boundaries

Euclidean distance with periodic boundaries
sourceraw docstring

shoenberg-transformclj

(shoenberg-transform distance)
(shoenberg-transform distance lambda)

Create relative distance function by applying Shoenberg transform.

Create relative distance function by applying Shoenberg transform.
sourceraw docstring

weierstrassclj

(weierstrass v1 v2)

Weierstrass metric

Weierstrass metric
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close