python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Why does my machine learning model perform poorly with batch training?
My machine learning model (xgboost regressor) seems to perform worse when training in batches (i.e epochs > 1). If I change the number of epochs to 1 (i.e. no batches), my model score is near 93%. ...
John Doe
Votes: 0
Answers: 1
How to get SHAP values for each class on a multiclass classification problem in python
I have the following dataframe:
import pandas as pd
import random
import xgboost
import shap
foo = pd.DataFrame({'id':[1,2,3,4,5,6,7,8,9,10],
'var1':random.sample(range(1, 100), 1...
quant
Votes: 0
Answers: 5
split test/train data has inconsistent number of samples when using xgboost
I am new to machine learning so be gentle. I have a single csv file for data, that I would like to split into test/train data. I have used the following code to split the data
raw_data1. drop('Income_...
lambda
Votes: 0
Answers: 1
XGBoost input data dimension
I am working on time series. I have collected data having 10 different channels and put them in a pandas.DataFrame. I have a pandas.DataFrame of 10 columns (per channel) and 10 rows (per value). I hav...
display_name
Votes: 0
Answers: 0