Skip to content

Weights per datapoint #41

@baggepinnen

Description

@baggepinnen

Hey and thanks for this package!

Do you have any idea on how to incorporate different weights for each datapoints, in the sense that datapoints with low weights should be less important for the model to fit than those with high weights?

For instance, by specifying the loss as WeightedLogitLogLoss(weights) etc.'

LossFunction.jl has some support for this, e.g.

value(LogitLogLoss(), Y, Y, AggMode.WeightedSum(ones(length(Y))))

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions