Skip to content

Commit 66d5e70

Browse files
author
Cris
committed
Optimizing matrix inversion
1 parent 8f5dde0 commit 66d5e70

File tree

8 files changed

+1463
-1299
lines changed

8 files changed

+1463
-1299
lines changed

resources/src/[email protected]/components/[email protected]

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,9 @@
239239
"MMM DD, YYYY");
240240
console.log(config)
241241
//window.__config=config
242-
const covariance_structure_type = config.model == null? "autocorrelation": config.model.covariance_structure_type;
242+
const covariance_structure_type = config.model == null? "autoregressive": config.model.covariance_structure_type;
243243
self.correlation_change_label = (
244-
covariance_structure_type == "autocorrelation"? "adjacent correlation": (
244+
covariance_structure_type == "autoregressive"? "adjacent correlation": (
245245
covariance_structure_type == "independent"? "variance": (
246246
covariance_structure_type == "exchangeable"? "correlation": "<<UNKNOWN TYPE>>"
247247
)
@@ -488,8 +488,9 @@ <h4 class="text-light">Data summary</h4>
488488
const config = opts;
489489
config.models = !!config.models ? config.models : [];
490490

491-
const covariance_structure_type = config.models.length == 0 || config.models[0] == null? "autocorrelation": config.models[0].covariance_structure_type;
492-
self.correlation_change_label = covariance_structure_type == "autocorrelation"? "adjacent correlation": (
491+
const covariance_structure_type = config.models.length == 0 || config.models[0] == null? "autoregressive": config.models[0].covariance_structure_type;
492+
console.warn("@covariance_structure_type:", covariance_structure_type)
493+
self.correlation_change_label = covariance_structure_type == "autoregressive"? "adjacent correlation": (
493494
covariance_structure_type == "independent"? "variance": (
494495
covariance_structure_type == "exchangeable"? "correlation": "<<UNKNOWN TYPE>>"
495496
)

resources/src/[email protected]/components/[email protected]

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/src/[email protected]/components/[email protected]

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,9 @@ <h4>Estimates of the stochastic component parameters</h4>
328328
self.correlation_change_label = "..."
329329

330330
self.on("update", () => {
331-
const covariance_structure_type = config.models.length == 0 || config.models[0] == null? "autocorrelation": config.models[0].covariance_structure_type;
331+
const covariance_structure_type = config.models.length == 0 || config.models[0] == null? "autoregressive": config.models[0].covariance_structure_type;
332332
console.warn("!!covariance_structure_type", covariance_structure_type)
333-
self.correlation_change_label = covariance_structure_type == "autocorrelation"? "Adjacent correlation": (
333+
self.correlation_change_label = covariance_structure_type == "autoregressive"? "Adjacent correlation": (
334334
covariance_structure_type == "independent"? "Variance": (
335335
covariance_structure_type == "exchangeable"? "Correlation": "<<UNKNOWN TYPE>>"
336336
)

resources/src/[email protected]/components/[email protected]

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ riot.tag2('rts-model-stochastic-parameter-changes-table', '<h4>Estimates of the
122122
self.correlation_change_label = "..."
123123

124124
self.on("update", () => {
125-
const covariance_structure_type = config.models.length == 0 || config.models[0] == null? "autocorrelation": config.models[0].covariance_structure_type;
125+
const covariance_structure_type = config.models.length == 0 || config.models[0] == null? "autoregressive": config.models[0].covariance_structure_type;
126126
console.warn("!!covariance_structure_type", covariance_structure_type)
127-
self.correlation_change_label = covariance_structure_type == "autocorrelation"? "Adjacent correlation": (
127+
self.correlation_change_label = covariance_structure_type == "autoregressive"? "Adjacent correlation": (
128128
covariance_structure_type == "independent"? "Variance": (
129129
covariance_structure_type == "exchangeable"? "Correlation": "<<UNKNOWN TYPE>>"
130130
)

0 commit comments

Comments
 (0)