This project implements predictive coding models in Python, focusing on virtual human experiences. It includes both standalone implementations and a Kafka-integrated version for real-time processing.
.
├── predictive_coding/
│ ├── 01_predcod.py # Basic predictive coding implementation
│ ├── 02_predcod_nova.py # Enhanced Nova implementation
│ ├── 03_kafka_nova_poc.py # Kafka-integrated version
│ └── utils/
├── docs/
├── requirements.txt
├── pyproject.toml
└── setup.py
- Python-based implementation
- Core dependencies:
- NumPy: Numerical computing
- Matplotlib: Data visualization
- confluent-kafka: Kafka client for real-time processing
- python-dotenv: Environment variable management
-
Create a virtual environment:
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Environment Configuration:
- For Kafka integration, set up appropriate environment variables
- Use
.env
file for local development
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests
- Submit a pull request
This project is licensed under the MIT License.
Part of the Virtual Humans research at Fontys ICT, Lectorate IxD.