Class: XGBoost::Ranker
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
- #fit(x, y, group) ⇒ Object
-
#initialize(n_estimators: 100, objective: "rank:pairwise", importance_type: "gain", **options) ⇒ Ranker
constructor
A new instance of Ranker.
Methods inherited from Model
#feature_importances, #load_model, #predict, #save_model
Constructor Details
#initialize(n_estimators: 100, objective: "rank:pairwise", importance_type: "gain", **options) ⇒ Ranker
Returns a new instance of Ranker.
3 4 5 |
# File 'lib/xgboost/ranker.rb', line 3 def initialize(n_estimators: 100, objective: "rank:pairwise", importance_type: "gain", **) super end |