I want to write a function that will calculate the Euclidean distance using m random attributes each time it is called. where m=3

后端 未结 0 837
天涯浪人
天涯浪人 2020-12-05 03:15

I am supposed to use m=3, random attributes each time this function is called.

 def custom_distance(x, y):
     m = 3
     distance  = ?
     return distance
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题