GlmLink Struct Reference

`#include <genesis/utils/math/regression/link.hpp>`

Definition at line 45 of file utils/math/regression/link.hpp.

## Public Types | |

enum | Link { kUnknown, kLogit, kLog, kIdentity, kInverse } |

List of common GLM Link functions. More... | |

## Public Attributes | |

std::function< double(double mu)> | derivative |

Derivative of the link function. More... | |

Link | id = kUnknown |

Internal ID, used to check if the link is the canonical one for a distribution family. More... | |

std::function< double(double eta)> | inverse_link |

Inverse of the link function. More... | |

std::function< double(double mu)> | link |

Link function. More... | |

enum Link |

List of common GLM Link functions.

Enumerator | |
---|---|

kUnknown | |

kLogit | |

kLog | |

kIdentity | |

kInverse |

Definition at line 50 of file utils/math/regression/link.hpp.

std::function<double( double mu )> derivative |

Derivative of the link function.

Definition at line 76 of file utils/math/regression/link.hpp.

Internal ID, used to check if the link is the canonical one for a distribution family.

Definition at line 61 of file utils/math/regression/link.hpp.

std::function<double( double eta )> inverse_link |

Inverse of the link function.

Definition at line 71 of file utils/math/regression/link.hpp.

std::function<double( double mu )> link |

Link function.

Definition at line 66 of file utils/math/regression/link.hpp.

The documentation for this struct was generated from the following file: