|
@@ -1,5 +1,5 @@
|
|
|
functions {
|
|
|
- #include "blocks/confusion_model_binomial_hurdle_fast.stan"
|
|
|
+ #include "blocks/confusion_model_binomial_hurdle.stan"
|
|
|
#include "blocks/confusion_inverse_model_binomial_hurdle.stan"
|
|
|
#include "blocks/behavior_model_truth.stan"
|
|
|
}
|
|
@@ -113,10 +113,10 @@ model {
|
|
|
#include "blocks/behavior_observations_model.stan"
|
|
|
|
|
|
target += reduce_sum(
|
|
|
- confusion_model_lpdf, lambda, 1,
|
|
|
- n_classes, n_clips,
|
|
|
- algo_total, truth_total, group, clip_duration, clip_age,
|
|
|
- p//, lambda_fp
|
|
|
+ confusion_model_lpmf, group, n_clips%/%(threads*4),
|
|
|
+ n_classes,
|
|
|
+ algo_total, truth_total, clip_duration, clip_age,
|
|
|
+ lambda, p//, lambda_fp
|
|
|
);
|
|
|
|
|
|
// priors on the nuisance parameters of the confusion model
|