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)
LightGBM with Tweedie loss; I'm confused on the Gradient and Hessians used
I'm trying to figure out custom objective functions in LightGBM, and I figured a good place to start would be replicating the built-in functions. The equation LightGBM uses to calculate the Tweedie me...
Sinnombre
Votes: 0
Answers: 1
R markdown does not find a function
When I run a script in R, there is no error, and everything works.
library(tweedie)
data_tweedie <- glm(y ~ ., data = data, family = tweedie(var.power = data_tw$p.max, link.power = 0))
But...
Yulia Kentieva
Votes: 0
Answers: 1
How to properly define GLM with Tweedie family in PySpark?
I'm trying to adapt the simple GLM example from the docs to use Tweedie:
def create_fake_losses_data(self):
df = self._spark.createDataFrame([
("a", 100.0, 12, 1, Vectors.dense(0...
Evan Zamir
Votes: 0
Answers: 0