Method: Rumale::ModelSelection::GridSearchCV#predict

Defined in:
lib/rumale/model_selection/grid_search_cv.rb

#predict(x) ⇒ Numo::NArray

Call the predict method of learned estimator with the best parameter.



122
123
124
125
# File 'lib/rumale/model_selection/grid_search_cv.rb', line 122

def predict(x)
  check_sample_array(x)
  @best_estimator.predict(x)
end