قسم الرياضيات و الإعلام الإلي

www.univ-soukahras.dz/ar/dept/mi

المقياس: Apprentissage automatique II

  1. معلومات
  2. الأسئلة
  3. التعليم عن بعد

Find the nearest or most similar instance ?

0 votes

Given the following data for employees, Find the most suited employee to replace Ahmed considering all features

                    Age   Experience    Weight (grams)
Ahmed          34         6                89,000
Ali                 33          5                60,000
Tarek             50          2                90,000

نشر على 19:37, الخميس 31 أكت 2019 By Imed BOUCHRIKA
In Apprentissage automatique II


أجوبة (8)




جواب (1)

1 votes

Firstly we should normalize the data  using this formula

normalized_value = (current_value - min_value) / (max_value - max_value)

So the data will be:

 Age          Experience         Weight(Grams)

Ahmed       0.05              1                         0.96

Ali                0               0.75                        0

Tarek            1                  0                          1

 

Now we calculate the euclidean distance between (Ahmed,Ali) and (Ahmed,Tarek):

D(Ahmed,Ali) = 0.993

D(Ahmed,Tarek) = 1.37

 

So the most suited employee to replace Ahmed is Ali

 

نشر على 23:30, الخميس 31 أكت 2019 by abdennour redjaibia (282 points)
In Apprentissage automatique II



جواب (1)

0 votes

il is Ali

نشر على 23:24, الخميس 31 أكت 2019 by Ouahiba HANDEL
In Apprentissage automatique II



جواب (2)

-1 votes

1- Normalize the data,Apply the following formula :

Xnew =(x - Xmin ) / (Xmax - Xmin ).

 

So, the data will be as follows:

                     Age       Experience      Weight (grams)
Ahmed           0.05            1                   0.96
Ali                   0             0.75                   0
Tarek               1               0                     1

2-  calculate the Euclidean distance between employees:

D(Ahmed , Ali)= √ ((0.05 − 0 )2 + (1 − 0.75 )2+(0.96 − 0 )2 )= 0.99
D(Ahmed , Tarek)=√ ((0.05 − 1 )2 + (1 − 0 )2+(0.96 − 1 )2) = 1.37

So,the most suited employee to replace Ahmed is ALI.

نشر على 20:56, الجمعة 1 نوف 2019 by Mouhamed Salah Ben khalfallah (14 points)
In Apprentissage automatique II



جواب (3)

0 votes

  • Normalize the data :

                Age   Experience    Weight (grams)
Ahmed      0.05           1                     0.96
Ali                 0          0.75                    0
Tarek             1          0                        1

  • Calculate the Euclidean distance between:

         - (Ahmed,Ali)=> D(Ahmed,Ali)=√((0.05 - 0)^2 + (1 - 0.75)^2 + (0.96 - 0)^2)=0.99

           &

         - (Ahmed,Tarek)=>D(Ahmed,Tarek)=√((0.05 - 1)^2 + (1 - 0)^2 + (0.96 - 1)^2)=1.37

 

=> Therefore, the most suited employee to replace Ahmed is : ALI .

 

نشر على 21:44, السبت 2 نوف 2019 by Fateh Ben khalfallah (6 points)
In Apprentissage automatique II



جواب (4)

0 votes

*normalize the data:

X =(x - Xmin ) / (Xmax - Xmin )

exp:(34-33)/(50-33)=1/17=0.05

                age       expiri      weight(g)

ahmed      0.05         1           0.96

ali                0          0.75         0

tarek            1          0              1

*Calculate the Euclidean distance between employes:

 D(Ahmed,Ali)=√((0.05 - 0)^2 + (1 - 0.75)^2 + (0.96 - 0)^2)=0.99

 D(Ahmed,Tarek)=1.37

//The most suited employee to replace Ahmed is: ali

 

 

 

 

 

 

نشر على 19:05, الأربعاء 6 نوف 2019 by nesrine boutarfa (28 points)
In Apprentissage automatique II



جواب (5)

0 votes

calculate the eclidean distance between(ahmed,ali)=0.99 and(ahmed,tarek)=1.37

the most suited employee to replace ahmed is: Ali

نشر على 15:42, الجمعة 15 نوف 2019 by belkis maarfia (25 points)
In Apprentissage automatique II



جواب (6)

0 votes

 Age          Experience         Weight(Grams)

Ahmed       0.05              1                         0.96

Ali                0               0.75                        0

Tarek            1                  0                          1

distance between ahmed and ali :

"normalized_value = (current_value - min_value) / (max_value - max_value)"

distance eucludienne :0.995

distance between ahmed and tarek : 1.372

نشر على 19:40, الاثنين 16 ديس 2019 by noussaiba ledjemel (23 points)
In Apprentissage automatique II



جواب (7)

0 votes

 Age          Experience         Weight(Grams)

Ahmed       0.05              1                         0.96

Ali                0               0.75                        0

Tarek            1                  0                          1

distance between ahmed and ali :

"normalized_value = (current_value - min_value) / (max_value - max_value)"

distance eucludienne :0.995

distance between ahmed and tarek : 1.372

نشر على 19:40, الاثنين 16 ديس 2019 by noussaiba ledjemel (23 points)
In Apprentissage automatique II



هل لديك جواب ?