Skip to content

Commit 157d9f3

Browse files
committed
Mods to model hierarchy page
1 parent 42d551b commit 157d9f3

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docs/core/core_model_hierarchy.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
---
2-
title: Introduction to the Model Hierarchy
3-
---
4-
51

62
## Model Classes
73

@@ -19,7 +15,7 @@ In DynaML all model implementations fit into a well defined class hierarchy. In
1915

2016
Many predictive models calculate predictions by formulating an expression which includes a set of parameters which are used along with the data points to generate predictions, the [```ParameterizedLearner[G, T, Q, R, S]```](https://transcendent-ai-labs.github.io/api_docs/DynaML/recent/dynaml-core/index.html#io.github.mandar2812.dynaml.models.ParameterizedLearner) class represents a skeleton for all parametric machine learning models such as [_Generalized Linear Models_](core_glm.md), [_Neural Networks_](core_ann.md), etc.
2117

22-
!!! Tip
18+
!!! tip
2319
The defining characteristic of classes which extend `#!scala ParameterizedLearner` is that they must contain a member variable ```optimizer: RegularizedOptimizer[T, Q, R, S]``` which represents a [regularization enabled optimizer](https://transcendent-ai-labs.github.io/api_docs/DynaML/recent/dynaml-core/index.html#io.github.mandar2812.dynaml.optimization.RegularizedOptimizer) implementation along with a `#!scala learn()` method which uses the optimizer member to calculate approximate values of the model parameters given the training data.
2420

2521
### Linear Models
@@ -46,7 +42,8 @@ Stochastic processes (or random functions) are general probabilistic models whic
4642

4743
By continuous processes, we mean processes whose values lie on a continuous domain (such as $\mathbb{R}^d$). The [`#!scala ContinuousProcessModel[T, I, Y, W]`](https://transcendent-ai-labs.github.io/api_docs/DynaML/recent/dynaml-core/index.html#io.github.mandar2812.dynaml.models.ContinuousProcessModel) abstract class provides a template which can be extended to implement continuous random process models.
4844

49-
The [`#!scala ContinuousProcessModel`](https://transcendent-ai-labs.github.io/api_docs/DynaML/recent/dynaml-core/index.html#io.github.mandar2812.dynaml.models.ContinuousProcessModel) class contains the method `predictionWithErrorBars()` which takes inputs test data and number of standard deviations, and generates predictions with upper and lower error bars around them.
45+
!!! tip
46+
The [`#!scala ContinuousProcessModel`](https://transcendent-ai-labs.github.io/api_docs/DynaML/recent/dynaml-core/index.html#io.github.mandar2812.dynaml.models.ContinuousProcessModel) class contains the method `predictionWithErrorBars()` which takes inputs test data and number of standard deviations, and generates predictions with upper and lower error bars around them. In order to create a sub-class of `#!scala ContinuousProcessModel`, you must implement the method `predictionWithErrorBars()`.
5047

5148
### Second Order Processes
5249

0 commit comments

Comments
 (0)