truelearn.datasets
.PEEKKnowledgeComponentGenerator#
- class truelearn.datasets.PEEKKnowledgeComponentGenerator(*args, **kwds)[source]#
A class that defines an implicit interface to the generator of the knowledge component.
Methods
- __call__(*, mean: float, variance: float, timestamp: float, url: str, title: str, description: str) BaseKnowledgeComponent [source]#
Generate a knowledge component.
- Parameters:
* – Used to reject positional arguments.
mean – The mean of the knowledge component.
variance – The variance of the knowledge component.
timestamp – The timestamp of the knowledge component.
url – The url of the knowledge component.
title – The title of the knowledge component.
description – The description of the knowledge component.