Dengan rumus yang sama seperti biner kita bisa lakukan juga untuk bilangan berbasis 8 (oktal).
Contoh:
- Pertama-tama 67/8 = 8, sisa 3
- Lalu 8/8 = 1, sisa 0,
- Terakhir 1/8=0, sisa 1.
- Dengan demikian dari hasil perhitungan didaptkan 6710 = 1038
Dengan rumus yang sama seperti biner kita bisa lakukan juga untuk bilangan berbasis 8 (oktal).
Contoh:
By using the calculation
formula for converting decimal numbers to other bases, we can do the following.
Example :
6710 = ……2
?
Suppose we are going to
convert 67 base ten (decimal) to base 2 (binary).
1.
First we divide 67 by 2, we get the
integer quotient is 33 with the remainder 1, or in other words 67 = 2*33 + 1
2.
Then we divide the integer quotient (33)
by 2 again, 33/2 = 16, the remainder is 1.
3.
Then we repeat again, 16/2 = 8, the
remainder is 0.
4.
Repeat these steps again until the integer
quotient equals 0. After that, write down the remainder of the quotient
starting from the bottom up.
Thus we will get that 6710 = 10000112.
In this post, I will discuss the calculation of K-Nearest Neighbor with Manhattan Distance using 5 criteria.
The classification that will be discussed is the Classification of Scholarship Recipients.
The data we will use is :
Information :
Calculation (formula to be used):
Then the calculation will be obtained as follows :
After that, do the ranking from the smallest to the largest value, the results obtained are as follows :
After getting the ranking, we can ensure that on behalf of See is eligible to receive a Scholarship or Not Eligible to receive a Scholarship.
Explanation :
So the final result See does not meet the requirements.
Notes :
Contoh :
6710 = ……2 ?
IP addresses are assigned to hosts either dynamically as they join the network, or persistently by host hardware or software configuration. Persistent configuration is also known as using a static IP address. Conversely, when a computer's IP address is assigned each time it is restarted, this is known as using a dynamic IP address .
Dynamic IP addresses are assigned by the network using the Dynamic Host Configuration Protocol (DHCP). DHCP is the most frequently used technology for assigning addresses. This avoids the administrative burden of assigning specific static addresses to each device on the network. It also allows devices to share a limited address space on a network if only a few of them are online at any given time. Usually, dynamic IP configuration is enabled by default in modern desktop operating systems.
Addresses assigned with DHCP are associated with leases and usually have an expiration date. If the lease is not renewed by the host before it expires, the address may be assigned to another device. Some DHCP implementations attempt to reassign the same IP address to a host, based on its MAC address, each time it joins a network. Network owners can configure DHCP by allocating specific IP addresses based on MAC addresses.
DHCP isn't the only technology used to dynamically assign IP addresses. Bootstrap Protocol is a protocol and predecessor similar to DHCP. Dialup and some broadband networks use the dynamic addressing feature of the Point-to-Point Protocol.
Computers and equipment used for network infrastructure, such as routers and mail servers, are typically configured with static addresses.
In
the absence or failure of static or dynamic address configuration,
the operating system can assign link-local addresses to hosts
using stateless address autoconfiguration.
Alamat IP ditetapkan untuk host baik secara dinamis saat mereka bergabung dengan jaringan, atau secara terus-menerus dengan konfigurasi perangkat keras atau perangkat lunak host. Konfigurasi persisten juga dikenal sebagai menggunakan alamat IP statis. Sebaliknya, ketika alamat IP komputer ditetapkan setiap kali restart, ini dikenal dengan menggunakan alamat IP dinamis.
Alamat IP dinamis ditetapkan oleh jaringan menggunakan Dynamic Host Configuration Protocol (DHCP). DHCP adalah teknologi yang paling sering digunakan untuk menetapkan alamat. Ini menghindari beban administrasi menetapkan alamat statis spesifik untuk setiap perangkat di jaringan. Ini juga memungkinkan perangkat untuk berbagi ruang alamat terbatas pada jaringan jika hanya beberapa dari mereka yang online pada waktu tertentu. Biasanya, konfigurasi IP dinamis diaktifkan secara default di sistem operasi desktop modern.
Alamat yang ditetapkan dengan DHCP dikaitkan dengan sewa dan biasanya memiliki masa kedaluwarsa. Jika sewa tidak diperpanjang oleh tuan rumah sebelum kedaluwarsa, alamat dapat ditugaskan ke perangkat lain. Beberapa implementasi DHCP mencoba untuk menetapkan kembali alamat IP yang sama ke host, berdasarkan alamat MAC-nya, setiap kali bergabung dengan jaringan. Pemilik jaringan dapat mengkonfigurasi DHCP dengan mengalokasikan alamat IP tertentu berdasarkan alamat MAC.
DHCP bukan satu-satunya teknologi yang digunakan untuk menetapkan alamat IP secara dinamis. Bootstrap Protocol adalah protokol dan pendahulu yang mirip dengan DHCP. Dialup dan beberapa jaringan broadband menggunakan fitur alamat dinamis dari Point-to-Point Protocol.
Komputer dan peralatan yang digunakan untuk infrastruktur jaringan, seperti router dan server surat, biasanya dikonfigurasikan dengan pengalamatan statis.
Dengan tidak adanya atau kegagalan konfigurasi alamat statis atau dinamis, sistem operasi dapat menetapkan alamat tautan-lokal ke host menggunakan konfigurasi otomatis alamat stateless.
In this post, I will discuss the calculation of K-Nearest Neighbor with Manhattan Distance.
The classification that will be discussed is the Classification of Scholarship Recipients.
The data we will use is:
Consists of 10 data
Consists of 2 criteria
K = 5
Information :
Calculation (formula to be used) :
Then the calculation will be obtained as follows :
After that, do the ranking from the smallest to the largest value, the results obtained are as follows :
After getting the ranking, we can ensure that on behalf of See is eligible to receive a Scholarship or Not Eligible to receive a Scholarship.
Explanation :
So that the final result See TMS
Notes :