Need custom XGBOOST Objective function and evaluation metric
$10-100 USD
Cerrado
Publicado hace casi 4 años
$10-100 USD
Pagado a la entrega
THIS PROJECT WILL TAKE VERY LITTLE TIME. IT NEED TO BE DONE WITHIN THE NEXT FEW HOURS.
Custom Objective and Metrics for XGBOOST
I have built an XGBOOST model, and currently use softmax and softprob. The data predicts 1 of 3 outcomes - “0,1,2”.
The model is getting 55% accuracy, which is great for my purpose.
However, I want the model to not optimize for accuracy.
Background
I have a data set of sports betting data. The data contains features, with the result of each match (Home win, Away win, Draw). There is also, in the table, odds for each bet. There are odds for Home Win, Away Win, and Draw.
The model I have built uses softmax, and returns an accuracy of 55%. However, win % is not what I am looking for. As some bets are worth more than others, in order to maximize profit, the model needs to taken into account the odds for each bet.
I have taken the odds for all the bets and stored them in a (X,3) numpy array. Looks like this: ([2.5,1.4.1.3],[2.6,1.9,2.7],…..) The format is Home Odds, Away Odds, Draw Odds
Custom Objective
For each incorrect choice made by the model, the custom loss should penalize the model by a factor of one (1 unit bet).
For each correct choice made by the model, the custom loss should reward the model by the odds factor, which is store in the numpy array.
Since the objective is maximize profit, you may need to multiply x -1 or invert it 1/x so that you can minimize the model, but maximize the profit.
Custom Metric
The custom metric would need to be total profit. This is equal to:
Correct Answer choices (sum of all their coefficients in the numpy array)
minus
Incorrect answers (simply the number of incorrect answers)
Note, for this I can provide you with the XGBOOST code, but not the entire model code or data.
Hello,
Greetings of the day.!!
I am Konstiantyn who is professional in Machine learning and software architecture using python.
I have successfully delivered more than 80 AI/ML projects(R and Python) in last 6 Months with best rating and reviews.
Your project attracted my attention at first glance, because I've really rich experience in Machine Learning with R (R studio) and Python
Programming. I have worked on several similar projects before! I'm really confident about your project, and very eager to join your project.
If we get a chance to cooperate, I'll do my best to provide wonderful result.
Some of the recent projects I have worked upon -
1) Text Classification and Categorization
2) Stock price forecasting using Neural Network
3) Face recognition using OpenCV / Python
4) LSTM RNN CNN for sequence classification and prediction
5) R programming real time assignment _R_
6) Electricity Load forecasting using Deep Learning models using _Python(Keras)_Tensorflow
I will never let u down and I don’t bid on any projects which I am not sure to do.
Good luck!
Hey, I have already worked on your problem statement. Xgboost, a custom one won't take a lot of time. I'll code the entire system in one day. The day after, we can test whether you are satisfied with my work.
I am new on this platform but not in this field. Hoping that talent and skills are greater than ratings. Please message me if you want me to do the project for you.