Selasa, 10 Oktober 2023

Peer to peer

Peer artinya rekan sekerja. Peer-to-peer network adalah jaringan komputer yang terdiri dari beberapa komputer, terhubung langsung dengan kabel crossover atau wireless atau juga dengan perantara hub/switch.

Komputer pada jaringan peer to peer ini biasanya berjumlah sedikit dengan 1-2 printer. Untuk penggunaan khusus, seperti laboratorium komputer, riset dan beberapa hal lain, maka model peer to peer ini bisa saja dikembangkan untuk koneksi lebih dari 10 hingga 100 komputer.

Peer to peer adalah suatu model dimana tiap PC dapat memakai resource pada PC lain atau memberikan resourcenya untuk dipakai PC lain, tidak ada yang bertindak sebagai server yang mengatur sistem komunikasi dan penggunaan resource komputer yang terdapat dijaringan, dengan kata lain setiap komputer dapat berfungsi sebagai client maupun server pada periode yang sama.

Misalnya terdapat beberapa unit komputer dalam satu departemen, diberi nama group sesuai dengan departemen yang bersangkutan. Masing-masing komputer diberi alamat IP dari satu kelas IP yang sama agar bisa saling sharing untuk bertukar data atau resource yang dimiliki komputer masing-masing, seperti printer, cdrom, file dan lain-lain.

Sabtu, 07 Oktober 2023

Set Data Jarak manhattan

Konversi Biner ke Hexadesimal

Konversi biner ke heksa desimal mirip dengan konversi biner ke oktal. Hanya saja pembagian kelompok terdiri dari 4 digit biner. Selain itu untuk nilai 10, 11, 12, .., 15 diganti dengan huruf A, B, C, ...... , F.

 

Contoh :

1110102 = ……………16 ?

 

  • Pertama-tama bagi menjadi kelompok yang terdiri dari 4 digit biner: 11 dan 1010.
  • Kemudian konversi setiap kelompok dengan menggunakan perhitungan konversi biner ke desimal.
  • Sehingga didapat 1110102= 3A16

Kamis, 05 Oktober 2023

Set Data Menghitung Jarak Dengan Euclidean Menggunakan Excel

Single Linkage Classification Hierarchy Using Minkowsky Distance

The classification hierarchy will use the Minkowsky distance.
The data we will use is as follows :


The initial stage is to calculate between X data and Y data.
At this stage, the method of calculation is different from the others.
The calculation stage is as follows :
  • D1,D1 means (X1-X1) + (Y1-Y1) ^ 1/C1 (using minkowsky distance)
  • D1,D2 means (X1-X2) + (Y1-Y2) ^ 1/C1 (using minkowsky distance)
  • D1,D3 means (X1-X3) + (Y1-Y3) ^ 1/C1 (using minkowsky distance)
  • D1,D4 means (X1-X4) + (Y1-Y4) ^ 1/C1 (using minkowsky distance)
  • D1,D5 means (X1-X5) + (Y1-Y5) ^ 1/C1 (using minkowsky distance)
  • D2,D2 means (X2-X2) + (Y2-Y2) ^ 1/C1 (using minkowsky distance)
  • D2,D3 means (X2-X3) + (Y2-Y3) ^ 1/C1 (using minkowsky distance)
  • D2,D4 means (X2-X4) + (Y2-Y4) ^ 1/C1 (using minkowsky distance)
  • D2,D5 means (X2-X5) + (Y2-Y5) ^ 1/C1 (using minkowsky distance)
  • D3,D3 means (X3-X3) + (Y3-Y3) ^ 1/C1 (using minkowsky distance)
  • D3,D4 means (X4-X4) + (Y4-Y4) ^ 1/C1 (using minkowsky distance)
  • D3,D5 means (X5-X5) + (Y5-Y5) ^ 1/C1 (using minkowsky distance)
  • D4,D4 means (X4-X4) + (Y4-Y4) ^ 1/C1 (using minkowsky distance)
  • D4,D5 means (X4-X5) + (Y4-Y5) ^ 1/C1 (using minkowsky distance)
  • D5,D5 means (X5-X5) + (Y5-Y5) ^ 1/C1 (using minkowsky distance)

Then the calculation is:
  • D1,D1


  • D1,D2


  • D1,D3


  • Perform calculations up to D5,D5

So the following results are obtained :


Next is to create a matrix diagram :


From the matrix above, we will choose the smallest result except 0 and it turns out that the smallest value is 0.5 which is owned by data 1 to 2, 2 to 1, 2 to 3 and 3 to 2.

We will combine the data to form the following :
  • D(12)3
  • D(12)4
  • D(12)5
The results obtained are as follows :


After getting the data, the smallest value is selected so that it forms the following matrix :


After that, the smallest data is selected from the data above, so that what is obtained is as follows :
  • D(123)4
  • D(123)5
 
The results obtained are as follows :


After getting the data, the smallest value is selected so that it forms the following matrix :


After that, the smallest data is selected from the data above, so that what is obtained is as follows :
  • D(1234)5
 
The results obtained are as follows :


After getting the data, the smallest value is selected so that it forms the following matrix :


From the results above, we can make a diagram, so the diagram that is formed is as follows :


Senin, 02 Oktober 2023

Data Set Jarak Perbandingan Jarak Dengan Euclidean

Binary to Octal Conversion

To convert binary to octal, divide every 3 digits into an octal number starting from the far right.

 

Example :

101102 = ............... 8 ?


  • First divide it into groups of 3 binary digits: 10 and 110.
  • Then convert each group using binary to decimal conversion calculations.
  • So we get 101102 = 268