Peter
03/23/2021, 3:17 PMval dmat = DMatrix(features, features.size, 1, -1.0f)
dmat.label(labels) // generates compiler error
dmat.setLabel(labels) // works fine
The complier error is:
Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
public operator fun <T, R> DeepRecursiveFunction<TypeVariable(T), TypeVariable(R)>.invoke(value: TypeVariable(T)): TypeVariable(R) defined in kotlin
Anyone knows what is causing this behavior?Iaroslav Postovalov
03/23/2021, 4:17 PMdmat.label = labels
is correct?Peter
03/23/2021, 8:54 PM