jiweiqi / CellBox.jl

CellBox in Julia
MIT License
3 stars 1 forks source link

LHS sampling for \mu generation #3

Closed DesmondYuan closed 3 years ago

jiweiqi commented 3 years ago

example at https://github.com/DENG-MIT/CRNN/blob/main/robertson/rober_crnn.jl

using LatinHypercubeSampling

randomLHC(n_exp, 2)
jiweiqi commented 3 years ago

LHS sampling can be activated at https://github.com/jiweiqi/CellBox.jl/blob/aa1d808145008655834a152440088861e9873b46/spilt/cellbox.jl#L28 It is based on the following package https://github.com/jiweiqi/CellBox.jl/blob/aa1d808145008655834a152440088861e9873b46/spilt/header.jl#L11

DesmondYuan commented 3 years ago

Beautiful!

Question: if we want to apply sparsity for \mu, how should we combine that with LHC?

jiweiqi commented 3 years ago

Just did at https://github.com/jiweiqi/CellBox.jl/blob/4b77faf13bf6ec738fd37f9bf7ddaa3ea61ec9ac/spilt/cellbox.jl#L34

DesmondYuan commented 3 years ago

Fantastic!