Spaces:
Sleeping
Sleeping
File size: 277 Bytes
408b7e6 | 1 2 3 4 5 6 7 8 | import math
from core.base_analyzer import ClinicalAnalyzer
class ADHDAnalyzer(ClinicalAnalyzer):
def calculate_risk(self, metrics: dict) -> int:
jitter = metrics.get('head_jitter', 0)
# Completely different weights for ADHD
return int(jitter * 60) |