Find Jobs
Hire Freelancers

Need custom XGBOOST Objective function and evaluation metric

$10-100 USD

Closed
Posted almost 4 years ago

$10-100 USD

Paid on delivery
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.
Project ID: 26463688

About the project

3 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
3 freelancers are bidding on average $63 USD for this job
User Avatar
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!
$55 USD in 7 days
4.7 (11 reviews)
4.3
4.3
User Avatar
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.
$100 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Jersey City, United States
4.9
17
Payment method verified
Member since Aug 17, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.