ml

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2025 License: BSD-2-Clause Imports: 15 Imported by: 0

Documentation

Overview

Package ml implements a command to search for the maximum likelihood estimation of a biogeographic reconstruction.

Index

Constants

This section is empty.

Variables

View Source
var Command = &command.Command{
	Usage: `ml [--stem <age>]
	[--lambda <value>ep <value>] [--stop <value>]
	[--cpu <number>] <project-file>`,
	Short: "search the maximum likelihood estimate",
	Long: `
Command ml reads a PhyGeo project, and search for the maximum likelihood
estimation of the lambda parameter.

The algorithm is a simple hill climbing search. By default it starts at a
lambda value of zero. The flag --lambda changes this starting point. By
default, the initial step has a value of 100, use the flag --step to change
the value. At each cycle the step value is reduced a 50%, and stop when step
has a size of 1. Use flag --stop to set a different stop value.

By default, an stem branch will be added to each tree using the 10% of the root
age. To set a different stem age use the flag --stem, the value should be in
million years.

By default, all available CPUs will be used in the processing. Set --cpu flag
to use a different number of CPUs.
	`,
	SetFlags: setFlags,
	Run:      run,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL