leaderbot.models.Davidson.scores#

Davidson.scores()#

Get scores.

Raises:
RuntimeError

If the model is not trained before calling this method.

See also

plot_scores
rank

Examples

>>> from leaderbot.data import load
>>> from leaderbot.models import Davidson

>>> # Create a model
>>> data = load()
>>> model = Davidson(data)

>>> # Train the model
>>> model.train()

>>> # Plot scores by rank
>>> scores = model.scores()