1.0.9 • Published 3 years ago

cloud-distance v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Cloud Distance

This is my very first package, hopefully, the first, not the last.

What it does

It takes two data clouds (e.g., two different datasets), and calculates the distance between them.

How does it work

Quite simples, actually. It is the Euclidian distance between two points. It sums up the whole distance: for each point, it calculates the Euclidian distance between the same point in each cloud. The distance is zero when the points are above each other (i.e., they are the same). In theory, if two clouds are the same, the distance are the same!

Where can I use

Should you want to access how close two clouds are, this is the place. I have created to use with artificial neural networks. Even though you have the error to access how the network is doing, for each feature, you have no idea. So, I have decided to create this simple routine to calculate the distance between the clouds generated by different features. My hope is that it can be a numerical way to compare two different feature, not just by eyes, looks can be deceiving!😂

What is next

Hope to keep improving! 👊👊

Sample

Try this!

const clouddistance = require("cloud-distance");

const aux = clouddistance.cloudDistance({ x: 1, y: 2 }, { x: 1, y: 2 });

console.log(aux);

Jorge Guerra Pires, PhD jorgeguerrapires@yahoo.com.br

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago