Skip to content

Commit

Permalink
update scope
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardcqian committed Dec 9, 2024
1 parent 8d4d2d7 commit 214bee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/augurs-forecaster/src/power_transforms.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl CostFunction for BoxCoxProblem<'_> {
}

/// Optimize the lambda parameter for the Box-Cox transformation
pub fn optimize_lambda(data: &[f64]) -> f64 {
pub (crate) fn optimize_lambda(data: &[f64]) -> f64 {
let cost = BoxCoxProblem { data: data };
let init_param = 0.5;
let solver = BrentOpt::new(-2.0, 2.0);
Expand Down

0 comments on commit 214bee9

Please sign in to comment.