Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

Browse Source

[DATALAD] Recorded changes

Lucas Gautheron 1 month ago
parent
commit
9b9635cdc9
1 changed files with 5 additions and 6 deletions
  1. 5 6
      code/models/dev_poisson.stan

+ 5 - 6
code/models/dev_poisson.stan

@@ -88,7 +88,7 @@ parameters {
     matrix<lower=0>[n_children,n_classes-1] mu_child_level;
     vector [n_children] child_dev_age;
     matrix<lower=0> [n_recs, n_classes] truth_vocs;
-    array [n_recs] matrix<lower=0,upper=1>[n_classes,n_classes] actual_confusion_baseline;
+    array [n_recs] matrix<lower=0>[n_classes,n_classes] actual_confusion_baseline;
 
     // confusion parameters
     #include "blocks/confusion_model_parameters.stan"
@@ -100,20 +100,19 @@ parameters {
 model {
     // inverse confusion model
     target += reduce_sum(
-       inverse_model_lpdf, actual_confusion_baseline, 1,
+       inverse_model_lpmf, children, 1,
        n_recs, n_classes, recs_duration,
        vocs, age,
-       truth_vocs, mus, etas, p//, mus_fp, etas_fp
+       truth_vocs, actual_confusion_baseline, mus, alphas//, mus_fp, etas_fp
     );
 
     // contribution of full recordings to the model of behavior
     #include "blocks/behavior_observations_model.stan"
 
     target += reduce_sum(
-        confusion_model_lpdf, lambda, 1,
+        confusion_model_lpmf, group, 1,
         n_classes, n_clips,
-        algo_total, truth_total, group, clip_duration, clip_age,
-        p//, lambda_fp
+        algo_total, truth_total, lambda, clip_duration, clip_age,
     );
 
     // priors on the nuisance parameters of the confusion model