Skip to contents

ebal implementation with autodiff via torch

Usage

ebal_torch(X0, X1, base_weight = NULL, maxit = 200)

Arguments

X0

donor units matrix

X1

target moments

base_weight

base weight vector

Value

list with weights and coefficients