Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions src/bestdose/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -785,4 +785,34 @@ impl BestDoseProblem {
self.bias_weight = weight;
self
}

/// Get a reference to the refined posterior support points (Θ)
pub fn posterior_theta(&self) -> &Theta {
&self.theta
}

/// Get the posterior probability weights
pub fn posterior_weights(&self) -> &Weights {
&self.posterior
}

/// Get the filtered population weights used for the bias term
pub fn population_weights(&self) -> &Weights {
&self.population_weights
}

/// Get the prepared target subject
pub fn target_subject(&self) -> &Subject {
&self.target
}

/// Get the currently configured bias weight (λ)
pub fn bias_weight(&self) -> f64 {
self.bias_weight
}

/// Get the selected optimization target type
pub fn target_type(&self) -> Target {
self.target_type
}
}
Loading