title: cv2.ml_KNearest object has no attribute find_nearest
body: <p>I am a beginner in <code>openCV</code> and am trying to execute a given piece of code.I am using <code>Python 2.7</code> with <code>OpenCV3.0</code>.</p>
  
  <p>The previous code was in an earlier version of <code>OpenCV</code> and so it had used <code>KNearest</code> which I modified as <code>cv2.ml.KNearest_create()</code> as suggested by this post <a href="https://stackoverflow.com/questions/29369907/opencv-3-0-0-beta-missing-knn">OpenCV 3.0.0-beta missing KNN?</a></p>
  
  <p>Now when I am trying to access the <code>findnearest</code> method, I am getting an error: <code>cv2.ml.knearest object has no attribute find_nearest</code></p>
  
  <p>Below is the code sample</p>
  
  <pre><code>model = cv2.ml.KNearest_create()
  
  roi = dilate[by:by+bh,bx:bx+bw]
  small_roi = cv2.resize(roi,(10,10))
  feature = small_roi.reshape((1,100)).astype(np.float32)
  ret,results,neigh,dist = model.find_nearest(feature,k=1)
  </code></pre>
  
  <p>Is there any change in the method name in <code>OpenCV3.0</code>? </p>