Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Apr 22nd, 2018
73
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
def new_cost(y_pred, y_true):
# perform calculation for new cost
return 'new_cost', score
model = xgboost.train(params, dtrain, num_rounds, watchlist, feval=new_cost)
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
C++ | 41 sec ago | 0.68 KB
Semi primes
Python | 5 min ago | 0.63 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 31 min ago | 0.38 KB
Untitled
Python | 32 min ago | 1.41 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 36 min ago | 0.39 KB
Untitled
C++ | 41 min ago | 0.46 KB
Untitled
C++ | 46 min ago | 0.24 KB
Teste 2
Lua | 51 min ago | 39.95 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!