Profile cover photo
Profile photo
kevin thompson
267 followers
267 followers
About
Posts

Post has attachment
Add a comment...

Post has shared content
Add a comment...

What is the purpose of _send_? I think I understand that send (or _send_) can be used to call a method on an object, but I'm failing to grasp why. Why not just call the method? For example:

class Kevin
  def what
    "I said what what"
  end
end

kevin = Kevin.new
puts kevin.send(:what)

In what circumstances would I want to use kevin.send(:what) rather than just kevin.what?

Is there a limit to the size of a problem to which you can apply KNN? My understanding is that when using KNN to classify an unknown it has to compare the unknown to every known item in its dataset. So if I had something really big, like features from millions of malware samples, I would think it would become too slow to be of any practical value. Am I wrong?

Post has shared content
Add a comment...

Post has shared content
Add a comment...

Post has shared content
Add a comment...
Wait while more posts are being loaded