Description ofmlr functions Examples
The ofmlr
package allows one to fit, online (or in a data stream) an multiple finite
mixtures of logistic regression models. The main workhorse online_log_mixture
and its utility functions (such as add_observation
can be used to fit a model.
The multi_online_log_mixture
object allows one to fit multiple models in paralel
and compare their outcomes.
Next to standards like plot
and summary
the package implements
the folling functions
online_log_mixture
: Constructor for new ofmlr object.
multi_online_log_mixture
: Constructor for an object containing multiple ofmlr models.
add_model
: Add additional models to a multi_online_log_mixture object.
add_observation
: Add observations to a model and update parameters
The package also contains the following utility functions:
generate_mixture
: Utility function to create a mixture dataset.
generate_probabilty_vector
: Function to create a probablity vector.
inv_logit
: The inverse logit function.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.