Website lint
This commit is contained in:
parent
47f1be0702
commit
0a806b4fe2
|
@ -377,7 +377,11 @@ logScore: ({estimate: distribution, ?prior: distribution, answer: distribution|n
|
||||||
**Examples**
|
**Examples**
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
Dist.logScore({estimate: normal(5, 2), answer: normal(4.5, 1.2), prior: normal(6,4)}); // returns -0.597.57
|
Dist.logScore({
|
||||||
|
estimate: normal(5, 2),
|
||||||
|
answer: normal(4.5, 1.2),
|
||||||
|
prior: normal(6, 4),
|
||||||
|
}); // returns -0.597.57
|
||||||
```
|
```
|
||||||
|
|
||||||
## Display
|
## Display
|
||||||
|
|
|
@ -10,11 +10,13 @@ Monte Carlo calculations typically result in sample set distributions.
|
||||||
All regular distribution function work on sample set distributions. In addition, there are several functions that only work on sample set distributions.
|
All regular distribution function work on sample set distributions. In addition, there are several functions that only work on sample set distributions.
|
||||||
|
|
||||||
### fromDist
|
### fromDist
|
||||||
|
|
||||||
```
|
```
|
||||||
Sampleset.fromDist: (list<number>) => sampleSet
|
Sampleset.fromDist: (list<number>) => sampleSet
|
||||||
```
|
```
|
||||||
|
|
||||||
### fromList
|
### fromList
|
||||||
|
|
||||||
```
|
```
|
||||||
Sampleset.fromList: (list<number>) => sampleSet
|
Sampleset.fromList: (list<number>) => sampleSet
|
||||||
```
|
```
|
||||||
|
|
|
@ -7,7 +7,7 @@ title: Function
|
||||||
|
|
||||||
Adds metadata to a function of the input ranges. Works now for numeric and date inputs. This is useful when making formal predictions. It allows you to limit the domain that your prediction will be used and scored within.
|
Adds metadata to a function of the input ranges. Works now for numeric and date inputs. This is useful when making formal predictions. It allows you to limit the domain that your prediction will be used and scored within.
|
||||||
|
|
||||||
The one function that declarations currently have is that they impact plotting. If you ``declare`` a single-variable function within a specific range, this specific range will be plotted.
|
The one function that declarations currently have is that they impact plotting. If you `declare` a single-variable function within a specific range, this specific range will be plotted.
|
||||||
|
|
||||||
Declarations are currently experimental and will likely be removed or changed in the future.
|
Declarations are currently experimental and will likely be removed or changed in the future.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user