- 7 = is the first number of data X
- 1 = is the first number of data Y
- So the formula is X's first data minus Y's first data and so on
- 1/r is the power to which the last calculation will be performed
- r here is worth 4 (can be any value)
Data Sets (Calculating Distances With Euclidean) Using Excel
How to calculate the distance with Euclidean using Excel is as follows:
The data that we will use is
The formula we will use is as follows:
Explanation :
IP
address
An Internet Protocol address (IP address) is a numerical label such as 192.0.2.1 that is connected to a computer network that uses the Internet Protocol for communication. An IP address serves two main functions: network interface identification and location addressing.
Internet Protocol version 4 (IPv4) defines an IP address as a 32-bit number. However, because of the growth of the Internet and the depletion of available IPv4 addresses, a new version of IP (IPv6), using 128 bits for the IP address, was standardized in 1998. IPv6 deployment has been ongoing since the mid-2000s.
IP addresses are written and displayed in human-readable notations, such as 192.0.2.1 in IPv4, and 2001:db8:0:1234:0:567:8:1 in IPv6. The size of the routing prefix of the address is designated in CIDR notation by suffixing the address with the number of significant bits, e.g., 192.0.2.1/24, which is equivalent to the historically used subnet mask 255.255.255.0.
The IP address space is managed globally by the Internet Assigned Numbers Authority (IANA), and by five regional Internet registries (RIRs) responsible in their designated territories for assignment to local Internet registries, such as Internet service providers (ISPs), and other end users. IPv4 addresses were distributed by IANA to the RIRs in blocks of approximately 16.8 million addresses each, but have been exhausted at the IANA level since 2011. Only one of the RIRs still has a supply for local assignments in Africa. Some IPv4 addresses are reserved for private networks and are not globally unique.
Network
administrators assign an IP address to each
device connected to a network. Such assignments may be on a static
(fixed or permanent) or dynamic basis, depending on network
practices and software features.
Data Set (Comparison of Distance to Euclidean)
In this post, I will give an example of calculating distance comparisons using the Euclidean distance.
I have 3 pieces of data.
This data consists of X data, Y data and Z data.
Data X consists of = 3, 0, 2, 5, 0
Y data consists of = 0, 5, 1, 1, 3
Data Z consists of = 1, 4, 4, 3, 1
From the data above, we will look for a comparison of the distance between Data X to Data Y, Data Y to Data Z and Data Z to Data X
Distance of Data X to Data Y
So, the distance from Data X to Data Y is 7.7459666924
Distance of Data Y to Data Z
So, the Distance of Data Y to Data Z is 4.3588989435
Distance of Data Z to Data X
So, the Distance of Data Z to Data X is 5.3851648071
From the results of the three distances found as follows: