TOOLS

Make the assumptions visible.

KanCog, MindState Analytics and an interactive introduction to Bayesian updating.

Python research software · In development

KanCog

A research framework connecting hierarchical Bayesian processes with KAN-inspired learning functions to investigate how behaviour develops from feedback.

KanCog is being developed around a distinction between a latent learning process and the choices it produces. Its design brings together flexible functions, individual variation and uncertainty, rather than treating an estimated learning rule as a uniquely established mechanism.

Hierarchical Bayesian modelling

Represent individual learning parameters in relation to a shared population structure. Partial pooling is intended to support estimation while preserving uncertainty and variation between participants.

KAN-inspired functions

Explore learned nonlinear relationships in the updating process. Functional shapes can be examined and compared with simpler learning rules, subject to identifiability and stability checks.

How could this help describe behaviour?

A learning rule could respond differently to positive and negative feedback, flatten for large prediction errors, or change with uncertainty. Representing such alternatives explicitly can help formulate task-level predictions and ask which observations would distinguish them.

Development and evidence

The framework is in an early research stage. The full hierarchical formulation and its extensions are still being developed. Exploratory analytical and synthetic checks do not establish performance on human data, and no clinical validation or ready-to-install public release is claimed.

This page describes the research direction; it does not provide a hosted KanCog application, installation command or patient-data interface.

Discuss a KanCog research question
Research and demonstration platform · Documented features

MindState Analytics

A Python and Streamlit platform for exploring psychological measurements, longitudinal change and stochastic models of psychological processes.

The platform connects two complementary perspectives. MindState Analytics examines repeated measurements through scoring, descriptive statistics and longitudinal models. MindState Dynamics explores simulated latent-state processes and their relationship to noisy observations.

Measurement and data quality

Documented functions include questionnaire scoring, schema validation and missing-data diagnostics. Instrument examples include the PHQ-9, GAD-7, DASS-21 and WHO-5, with instrument-specific scoring conventions.

Longitudinal analysis

Explore trajectories, regression, mixed-effects models and a Bayesian hierarchical growth model. A bounded-score model provides an alternative to a Gaussian model when the outcome has a finite range.

Repeated-score demonstrations

Compare scores over time and explore reliable-change calculations under specified measurement-error assumptions. These research demonstrations are not validated individual assessments or treatment-monitoring services.

Dynamics and latent states

Compare autoregressive, linear state-space and nonlinear stochastic models. Explicit measurement models keep an inferred latent state distinct from an observed score.

Intensive longitudinal research

EMA modules address irregular observation times, series analysis and simulation-based sampling design. Research comparisons include simpler baselines, trends and daily-rhythm alternatives.

Prediction and reporting

Research forecasting compares statistical learning methods with simple baselines using participant-aware or chronological evaluation. Reporting functions export tables, figures and a self-contained HTML analysis report.

What the checks establish

The documented workflow includes analytical reference cases, numerical checks, synthetic parameter recovery and held-out comparisons. These checks address different questions and do not, by themselves, validate a model of psychological functioning.

The study-level hierarchical EMA model did not meet its pre-specified criteria on unseen real datasets. Its pooled estimates should not be presented as validated individual characteristics. Clinical use of the platform has not been established.

Research scope: the platform is intended for synthetic-data demonstrations and methodological exploration. Do not enter identifiable patient information. It does not provide diagnosis, clinical-risk prediction or treatment recommendations.

This overview is based on the project’s version 0.8.3 source and documentation. The current hosted interface and the availability of each documented feature have not been independently verified.

See its place in the research programme
Available on this page · Educational demonstration

Bayesian Updating Explorer

Choose a Beta prior and a number of binary observations. The posterior mean updates instantly. All values are illustrative inputs, not measured psychological data.

Posterior mean of θ0.750Beta(9, 3)

E[θ | data] = (α + successes) / (α + β + successes + failures)

This demonstration is separate from KanCog. It contains neither a KAN nor a hierarchical participant model.

Scope and limits

This is the conjugate Beta–Bernoulli model with independent observations and a constant unknown probability. It is not a fitted model of cognition, a psychometric test or a clinical decision tool. Inputs stay in this page and are not uploaded or saved.

Read the model explanation