diffkalman 0.1.0__tar.gz → 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {diffkalman-0.1.0 → diffkalman-0.1.1}/PKG-INFO +1 -1
- {diffkalman-0.1.0 → diffkalman-0.1.1}/pyproject.toml +1 -1
- {diffkalman-0.1.0 → diffkalman-0.1.1}/src/diffkalman/em_loop.py +4 -1
- {diffkalman-0.1.0 → diffkalman-0.1.1}/.gitignore +0 -0
- {diffkalman-0.1.0 → diffkalman-0.1.1}/.python-version +0 -0
- {diffkalman-0.1.0 → diffkalman-0.1.1}/LICENSE +0 -0
- {diffkalman-0.1.0 → diffkalman-0.1.1}/README.md +0 -0
- {diffkalman-0.1.0 → diffkalman-0.1.1}/src/diffkalman/__init__.py +0 -0
- {diffkalman-0.1.0 → diffkalman-0.1.1}/src/diffkalman/filter.py +0 -0
- {diffkalman-0.1.0 → diffkalman-0.1.1}/src/diffkalman/joint_jacobian_transform.py +0 -0
- {diffkalman-0.1.0 → diffkalman-0.1.1}/src/diffkalman/negative_log_likelihood.py +0 -0
- {diffkalman-0.1.0 → diffkalman-0.1.1}/src/diffkalman/py.typed +0 -0
- {diffkalman-0.1.0 → diffkalman-0.1.1}/src/diffkalman/utils.py +0 -0
- {diffkalman-0.1.0 → diffkalman-0.1.1}/uv.lock +0 -0
@@ -103,12 +103,15 @@ def em_updates(
|
|
103
103
|
# Update the parameters
|
104
104
|
(-complete_log_likelihood).backward()
|
105
105
|
optimizer.step()
|
106
|
-
|
106
|
+
|
107
107
|
|
108
108
|
# Print the log likelihood
|
109
109
|
print(
|
110
110
|
f"Epoch {e + 1}/{num_epochs} Cycle {c + 1}/{num_cycles} Log Likelihood: {marginal_likelihood.item()}"
|
111
111
|
)
|
112
|
+
|
113
|
+
# Update the learning rate
|
114
|
+
lr_scheduler.step()
|
112
115
|
|
113
116
|
return {
|
114
117
|
"likelihoods": likelihoods,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|