Как конвертировать модель Python xgboost в pmml?
reg = XGBRegressor(learning_rate=0.1, n_estimators=30, max_depth=4, min_child_weight=4, gamma=0.1,
subsample=0.9, colsample_bytree=0.8, objective='binary:logistic', reg_alpha=1,
scale_pos_weight=1, seed=27)
param_test = [{
'max_depth': [i for i in range(1, 3)],
'gamma': [i / 10.0 for i in range(0, 10)],
'n_estimators': [i for i in range(2, 14, 2)],
}]
gsearch = GridSearchCV(reg, param_grid=param_test, scoring='neg_mean_squared_error', n_jobs=4, iid=False, cv=5)
gsearch.fit(x_train, y_train)
best_model = gsearch.best_estimator_