riantr/moonbit_dowhy/overrule does not have a README file
pub struct BooleanRule {
alpha : Double
lambda0 : Double
lambda1 : Double
k : Int
d : Int
b : Int
iter_max : Int
eps : Double
rounding : RoundingStrategy
w : Array[Double]
w_raw : Array[Double]
z : Array[Array[Bool]]
lp_objective : Double
}fn BooleanRule::new(alpha : Double, lambda0 : Double, lambda1 : Double, k : Int, d : Int, b : Int, iter_max : Int, eps : Double, rounding : RoundingStrategy) -> BooleanRulefn FeatureBinarizer::new(names : Array[String], num_thresholds : Int, negations : Bool) -> FeatureBinarizerfn FeatureBinarizer::transform(self : FeatureBinarizer, columns : Array[Array[Double]]) -> BinarizedDatapub enum LiteralOperation {
Binary
Negation
LessEqual
Greater
}pub struct OverlapAnalyzer {
backdoor_vars : Array[String]
treatment_name : String
support_config : SupportConfig
overlap_config : OverlapConfig
overlap_eps : Double
support_only : Bool
overlap_only : Bool
support_estimator : RulesetEstimator?
overlap_estimator : RulesetEstimator?
support_indicator : Array[Bool]
overlap_indicator : Array[Bool]
raw_overlap : Array[Bool]
fitted : Bool
}fn OverlapAnalyzer::fit(self : OverlapAnalyzer, columns : Array[Array[Double]], treatment : Array[Double]) -> Unitfn OverlapAnalyzer::new(backdoor_vars : Array[String], treatment_name : String, support_config : SupportConfig, overlap_config : OverlapConfig, overlap_eps? : Double, support_only? : Bool, overlap_only? : Bool) -> OverlapAnalyzerfn OverlapAnalyzer::predict_overlap_support(self : OverlapAnalyzer, columns : Array[Array[Double]]) -> Array[Bool]pub struct OverlapConfig {
alpha : Double
lambda0 : Double
lambda1 : Double
k : Int
d : Int
b : Int
iter_max : Int
num_thresholds : Int
rounding : RoundingStrategy
}pub enum RoundingStrategy {
Greedy
GreedySweep
}pub struct RuleAtom {
feature : String
operation : String
value : String
}pub struct RulesetConfig {
n_ref_multiplier : Double
alpha : Double
lambda0 : Double
lambda1 : Double
k : Int
d : Int
b : Int
iter_max : Int
eps : Double
num_thresholds : Int
negations : Bool
rounding : RoundingStrategy
seed : Int
}pub struct RulesetEstimator {
config : RulesetConfig
binarizer : FeatureBinarizer
literals : Array[Literal]
rule : BooleanRule
fitted : Bool
}fn RulesetEstimator::fit(self : RulesetEstimator, columns : Array[Array[Double]], names : Array[String], labels : Array[Double]) -> Unitfn RulesetEstimator::predict(self : RulesetEstimator, columns : Array[Array[Double]]) -> Array[Bool]pub struct SupportConfig {
n_ref_multiplier : Double
seed : Int
alpha : Double
lambda0 : Double
lambda1 : Double
k : Int
d : Int
b : Int
iter_max : Int
num_thresholds : Int
rounding : RoundingStrategy
}fn beam_search(r : Array[Double], data : BinarizedData, lambda0 : Double, lambda1 : Double, k : Int, ub : Double, eps : Double, b : Int, d : Int, w_lb : Double) -> BeamSearchResultfn refute_assess_overlap(columns : Array[Array[Double]], names : Array[String], backdoor_vars : Array[String], treatment_name : String, support_config : SupportConfig, overlap_config : OverlapConfig, overlap_eps : Double, support_only : Bool, overlap_only : Bool) -> OverlapAnalyzerInstall
Download zipMoonBit port of DoWhy 0.14 (PyWhy): causal graph construction, effect identification, effect estimation, refutation, intervention sampling, temporal graphs, causal discovery with the PC algorithm, and the portable core of the graphical causal models. Pure MoonBit with zero external runtime dependencies.