Replies: 1 comment 3 replies
-
Hi @i12popea, I wish there would be such feature for automatic Python script creation for each model trained in AutoML. It is possible to export the model training and interference into Python without The biggest challenge is to write features pre- and post-processing. Do you have only numeric columns in your data? Please take a look on how to use The |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to do a specific conversion of mljar-supervised library training and prediction to the Xgboost algorithm in pure form using Xgboost and scikit-learn libraries among others without using the mljar-supervised library to create the code myself without using the library. It's basically a reverse engineering problem.
The code to translate is this:
I know that in "Explain" mode the data from X_train and y_train are split at a ratio of 75% for training in the fit method, but I can't figure out how that data is treated.
It's also hard to understand the feval parameter that self.custom_eval_metric uses. This data affects the variable evals_result.
The fit method is called multiple times and I can't understand when it does this, nor how an array of probabilities generated by xgb.train is then obtained into an array of predictions like the AutoML predict method does.
I'm interested in achieving this conversion because I want to customize the code.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions