Skip to content

Using EvoTrees.jl for multi-target regression problems #217

@fipelle

Description

@fipelle

Hi,

Q1: I have seen that this package supports multi-class problems. I was wondering if there is also a way to use it for multi-target regression problems. For instance, if you would like to predict two variables and using some multivariate squared error loss (e.g., the average MSE over the targets). I have tried setting y_train to be a Vector{Vector{Float64}} but it errors out in fit.jl:53 using:

config = EvoTreeRegressor(
    loss=:linear, 
    nrounds=100, 
    nbins=100,
    lambda=0.5, 
    gamma=0.1, 
    eta=0.1, 
    max_depth=6, 
    min_weight=1.0, 
    rowsample=0.5, 
    colsample=1.0);

m = fit_evotree(config; x_train=predictors, y_train=targets)

Q2: Is it possible to use custom loss functions for multi-target regression problems provided that they are twice differentiable?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions