Skip to content

Instantly share code, notes, and snippets.

@JoshuaC3
JoshuaC3 / eLGB Regression Example.ipynb
Last active April 29, 2021 12:22
eLGB Regression Example
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import numpy as np
import lightgbm as lgb
# generate simulation data
para=np.random.random((5000, 2))
data=np.zeros((10000,10))
for i in range(5000):
mu, sigma=para[i,:]