Website lint

This commit is contained in:
Ozzie Gooen 2022-07-21 11:41:32 -07:00
parent 47f1be0702
commit 0a806b4fe2
3 changed files with 12 additions and 6 deletions

View File

@ -377,7 +377,11 @@ logScore: ({estimate: distribution, ?prior: distribution, answer: distribution|n
**Examples**
```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

View File

@ -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.
### fromDist
```
Sampleset.fromDist: (list<number>) => sampleSet
```
### fromList
```
Sampleset.fromList: (list<number>) => sampleSet
```

View File

@ -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.
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.