Commit d9fdb6a
authored
Dev (#51)
* PrettyPrinting + tests
* speed up `rootmeasure`
* oops didn't mean to include that
* tile(::FactoredBase)
* Update Half and FactoredBase
* drop exp.jl
* simplify basemeasure
* drop old `include`
* drop redundant method
* update compat Returns
* add AbstractDensity
* Move Affine to MeasureTheory
* drop some old `For` code
* update counting measure
* add testvalue(::Type{T})
* bugfix
* some dispatch adjustments
* simplify show
* formatting
* transformed measures
* ZeroSets
* using LinearAlgebra, Statistics
* working on MeasureTheory tests
* updates
* updates
* typo
* update default to mimic Base
* fix tile(::Lebesgue)
* Add test_interface function
* small doc update
* DensityKind(::Likelihood)
* fixing show(::Likelihood)
* adding some docs
* update `rand` method
* drop old integration code
* add `rebase`
* export rebase
* law for ⊗
* typo
* Make Likelihood more flexible
* update kernel methods
* add Likelihood method (avoid stack overflow)
* refactoring
* compat
* Maybe Comat just works?
* refactoring
* some new stuff
* working on tests
* update powermeasure combinator
* bugfix
* comment out debugging lines
* more refactoring
* test @inferred basemeasure_depth(μ)
* drop `constructor` (just use ConstructionBase.constructorof`)
* debugging
* update help
* update interface
* make tests harder
* fixes
* Dirac bugfix
* formatting
* improve type inference
* working on type inference
* update interface
* udpates
* get test passing
* @test !isabstracttype(typejoin(...))
* work on show methods
* update CI
* remove old code
* update productmeasure
* prettyprinting stuff
* Drop te @constprop :aggressive stuff (maybe don't need it?)
* nerline
* dropping some old code
* update tbasemeasure_type(::PowerMeasure)
* moar tests
* update SpikeMixture
* update superpose type parameter name
* drop old tests
* func_string
* more updates
* getting closer
* almost there!
* generated function for type stability
* tests passing!
* newline
* more fixes
* exports and bugfix
* insupport(μ::Counting{T}, x) where {T<:Type}
* working on MeasureTheory tests
* MeasureTheory tests passing
* drop some old code
* inlining
* improve inference
* update `tile(::For)`
* tighten down infrerence
* update basemeasure(::For) for generators
* loosen type bound on instance_type
* drop debugging code
* small update for Likelihood, and a test
* fixing up likelihoods
* improve `basemeasure_depth` dispatch
* still some trouble with inferred basemeasure_depth
* clean up `For` dispatch
* simplify _logdensityof
* optimize for Returns{True} case
* rework basemeasure_depth
* aggressive tests passing!!
* drop type-level stuff
* drop help
* license
* affero
* copyright notice
* merge
* Drop Create Commons
* cleanup after merge
* update support computations
* insupport(d::SuperpositionMeasure, x)
* dorp ParamWeighted
* insupport(d::FactoredBase, x)
* export unsafe_logdensityof
* call promote_type instead of promote_rule
* logdensity_def for named tuple product measures
* type annotation for now
* debugging
* drop shows
* speed up mapped arrays
* throw an error for `Union{}` types
* MT tests passing
* updates
* get tests passing
* MIT license for MeasureBase
* bump version
* cleanup
* spacing
* Move ConditionalMeasure to MeasureBase
* add LogarithmicNumbers
* export basemeasure_sequence
* update superpose
* fix logdensity_rel
* remove FIXME (it's fixed!!)
* logdensityof(d::Density, x)
* simplify insupport(::Lebesgue, ::Real)
* clean up
* assume insupport yields Bool
* change logdensity_rel fall-through to warning and return NaN
* update logdensity_rel
* drop old code
* fix warning
* export logdensity_rel
* logdensity_def(μ::Dirac, ν::Dirac, x)
* logdensity_def methods
* drop `static`
* ]add StatsFuns
* Fixing up superposition
* [compat] entries
* trying to speed things up
* bugfixes
* logdensity_rel tests
* logdensity_rel tests
* drop qualifier, and add a test
* more tests
* type constraint in "logdensityof(μ::AbstractMeasure, x)" (was piracy, oops)
* add some docs
* docs
* docs
* typo
* moar speed
* don't export Test
* some more updates
* logdensity_rel for products
* `kleisli` docs
* update instance_type
* instance_type => Core.Typeof
* `powermeasure` bug fix
* fix logdensity_rel bug
* get `commonbase` to take x type into account
* test powers
* commonbase docstring
* deprecate instance_type
* avoid breakage
* switch || terms
* @ifelse macro
* simplify logdensity_rel
* give up on this @ifelse business
* bump version
* working on likelihoods
* update likelihood
* powerweightedmeasure
* powerweighted update
* more powerweighted methods
* bugfix
* dropFactoredBase
* drop FactoredBase
* (::ProductMeasure) | constraint
* update conditional measure
* update Dirac
* move conditional.jl down in the `include`s
* Kleisli => TransitionKernel
* simplify logdensity_def(::PowerMeasure, x)
* rename kleisli.jl to kernel.jl
* update Dirac tests
* update Half
* get tests passing
* update kernel
* Update Project.toml
* no call-site inlining
* restrict single-arg `kernel` to <:ParameterizedMeasure
* export log_likelihood_ratio
* Drop DensityKind(::Likelihood), at least for now
* isfinite(x) instead of x>-Inf
* add `condition` constructor
* EOF newline
* simplify logdensity_def for power measures
* finishing up
* updates
* kernel stuff
* kernel stuff
* update showe methods
* ass a TODO
* use `dot` instead of `sum`
* drop old code
* typo
* formatting
* cleanup
* kernel updates
* uncomment
* bugfix
* drop old code
* pretty printing
* exports, cleanup
* drop old for.jl
* Make DensityKind(::AbstractLikelihood) = IsDensity()
* update Compat version1 parent bf06bbd commit d9fdb6a
10 files changed
Lines changed: 148 additions & 76 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| |||
132 | 134 | | |
133 | 135 | | |
134 | 136 | | |
135 | | - | |
136 | | - | |
137 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
138 | 147 | | |
139 | | - | |
140 | 148 | | |
141 | 149 | | |
142 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
15 | 20 | | |
16 | 21 | | |
17 | | - | |
18 | | - | |
| 22 | + | |
| 23 | + | |
19 | 24 | | |
20 | 25 | | |
| 26 | + | |
| 27 | + | |
21 | 28 | | |
22 | 29 | | |
23 | 30 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
122 | 120 | | |
123 | 121 | | |
124 | 122 | | |
| |||
128 | 126 | | |
129 | 127 | | |
130 | 128 | | |
131 | | - | |
132 | | - | |
133 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
134 | 146 | | |
135 | 147 | | |
136 | | - | |
| 148 | + | |
137 | 149 | | |
138 | | - | |
139 | | - | |
140 | | - | |
| 150 | + | |
| 151 | + | |
141 | 152 | | |
142 | 153 | | |
143 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | 103 | | |
105 | 104 | | |
106 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
5 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
6 | 21 | | |
7 | 22 | | |
8 | 23 | | |
9 | | - | |
| 24 | + | |
| 25 | + | |
10 | 26 | | |
11 | | - | |
12 | | - | |
| 27 | + | |
| 28 | + | |
13 | 29 | | |
14 | | - | |
15 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
16 | 36 | | |
17 | 37 | | |
18 | 38 | | |
19 | 39 | | |
20 | | - | |
21 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
22 | 45 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
26 | 55 | | |
27 | | - | |
28 | | - | |
| 56 | + | |
29 | 57 | | |
30 | 58 | | |
31 | 59 | | |
| |||
37 | 65 | | |
38 | 66 | | |
39 | 67 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 68 | | |
47 | 69 | | |
48 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
49 | 74 | | |
50 | | - | |
| 75 | + | |
51 | 76 | | |
52 | | - | |
| 77 | + | |
53 | 78 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 79 | | |
58 | 80 | | |
59 | 81 | | |
| |||
63 | 85 | | |
64 | 86 | | |
65 | 87 | | |
66 | | - | |
| 88 | + | |
67 | 89 | | |
68 | 90 | | |
69 | 91 | | |
70 | 92 | | |
71 | 93 | | |
72 | 94 | | |
73 | 95 | | |
74 | | - | |
75 | | - | |
76 | 96 | | |
77 | 97 | | |
78 | 98 | | |
79 | 99 | | |
80 | 100 | | |
81 | 101 | | |
82 | 102 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
87 | 108 | | |
88 | 109 | | |
| 110 | + | |
89 | 111 | | |
90 | 112 | | |
91 | 113 | | |
| 114 | + | |
| 115 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | | - | |
29 | | - | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | | - | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
| |||
0 commit comments