# NOT RUN {
modello.init(10, 10, 10, 10)
## For modello_numbers
y = number(sample(c(1, 0), 10, replace=TRUE), dx=FALSE)
yh = number(runif(10))
h = bin.entropy(y, yh)
print(h)
print(h$v)
modello.close()
## For numerics
y = sample(c(1, 0), 10, replace=TRUE)
yh = runif(10)
h = bin.entropy(y, yh)
print(h)
# }
Run the code above in your browser using DataLab