Make API a bit prettier
This commit is contained in:
@@ -54,7 +54,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
|
||||
let seconds_in_year = 365.25 * 24.0 * 60.0 * 60.0;
|
||||
|
||||
let mut model = ks::model::Binary::new(ks::model::binary::Observation::Probit);
|
||||
let mut model = ks::model::Binary::probit();
|
||||
|
||||
for team in teams {
|
||||
let kernel: [Box<dyn ks::Kernel>; 2] = [
|
||||
|
||||
Reference in New Issue
Block a user