Skip to content

Commit 0bd5078

Browse files
authored
Merge pull request #80 from TrueLearnAI/release-1.1.0
Release TrueLearn 1.1.0
2 parents 07c9309 + c4f8bd9 commit 0bd5078

File tree

12 files changed

+104
-54
lines changed

12 files changed

+104
-54
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,19 @@ User Installation
5050

5151
pip install -U truelearn
5252

53-
For more information on installation, see the `Getting Started guide <https://truelearn.readthedocs.io/en/latest/tutorial/quickstart.html>`_.
53+
For more information on installation, see the `Getting Started guide <https://truelearn.readthedocs.io/en/stable/tutorial/quickstart.html>`_.
5454

5555
Documentation
5656
#############
5757

58-
.. BROKEN LINK -> **Latest stable release** is available at: https://truelearn.readthedocs.io/en/stable/
58+
**Latest stable release** is available at: https://truelearn.readthedocs.io/en/stable/
5959

6060
**Development version** is available at: https://truelearn.readthedocs.io/en/latest/
6161

6262
Change Log
6363
##########
6464

65-
See the `Change Log <https://truelearn.readthedocs.io/en/latest/index.html#change-log>`_
65+
See the `Change Log <https://truelearn.readthedocs.io/en/stable/index.html#change-log>`_
6666
for a history of all the major changes to the truelearn.
6767

6868
Alternatively you can find it in the ``CHANGELOG.rst`` file found here:

docs/authors.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
Authors and Contributors
22
------------------------
33

4-
REDACTED for double-blind review.
4+
`KD-7 <https://github.com/KD-7>`_,
5+
`yuxqiu <https://github.com/yuxqiu>`_,
6+
`sahanbull <https://github.com/sahanbull>`_,
7+
`deniselezi <https://github.com/deniselezi>`_,
8+
`aaneelshalman <https://github.com/aaneelshalman>`_,

docs/changelog.rst

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,43 @@ Change Log
33
----------
44
This file documents all notable changes to the project.
55

6-
- TrueLearn 1.0.0 (14-04-2023)
7-
- Initial release!
6+
- Date format is DD-MM-YYYY.
7+
- TrueLearn adheres to `Semantic Versioning`_.
8+
- TrueLearn uses the `Keep a Changelog`_ format.
9+
10+
.. _Semantic Versioning: http://semver.org/
11+
.. _Keep a Changelog: http://keepachangelog.com/
12+
13+
14+
**TrueLearn 1.1.0 (13-08-2023)**
15+
16+
*Added*
17+
18+
- The option to visualise the variance in Bar, Dot, Line plotters. By default this is
19+
enabled except in the Line plotter.
20+
21+
*Changed*
22+
23+
- Interest Classifier now uses a binary skill representation.
24+
- The INK Classifier can now be instantiated using a dictionary of parameters
25+
- Added black border to Rose Plotter to make it easier to distinguish topics of similar
26+
colour.
27+
- Locked the plotly, kaleido and wordcloud dependencies to avoid breaking changes.
28+
- Radar plotter doesnt show the variance, due to concerns about the representation of
29+
variance being misleading.
30+
31+
*Fixed*
32+
33+
- Incorrect weights used in INK prediction
34+
- Topic label overflow in Bubble plotter. This means that a reasonable number
35+
of topics (around 10 to 15) can be plotted for the default image size.
36+
- Wordcloud now fully supports Python 3.11
37+
38+
*Removed*
39+
40+
- orjson dependency, as JSON deserialisation is not our bottleneck and the additional dependency
41+
is not worth it.
42+
43+
**TrueLearn 1.0.0 (14-04-2023)**
44+
45+
- Initial release!

docs/index.rst

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,48 @@ See the :ref:`installation` for a quick introduction to the package.
4949
Related Papers
5050
--------------
5151

52-
REDACTED for double-blind review.
52+
This work is related to the following papers:
53+
54+
- `TrueLearn A Family of Bayesian Algorithms to Match Lifelong Learners to Open Educational Resources`_ published at the Thirty-forth AAAI Conference on Artificial Intelligence, 2020 at New York, NY, USA. BibTex below::
55+
56+
@inproceedings{truelearn2020,
57+
author = {Bulathwela, S. and Perez-Ortiz, M. and Yilmaz, E. and Shawe-Taylor, J.},
58+
title={TrueLearn: A Family of Bayesian Algorithms to Match Lifelong Learners to Open Educational Resources},
59+
booktitle = {AAAI Conference on Artificial Intelligence},
60+
year = {2020}
61+
}
62+
63+
- `Power to the Learner: Towards Human-Intuitive and Integrative Recommendations with Open Educational Resources`_ published in 2022 as part of the Special Issue on AI and Interaction Technologies for Social Sustainability. BibTex below::
64+
65+
@Article{su141811682,
66+
author = {Bulathwela, Sahan and Pérez-Ortiz, María and Yilmaz, Emine and Shawe-Taylor, John},
67+
title = {Power to the Learner: Towards Human-Intuitive and Integrative Recommendations with Open Educational Resources},
68+
journal = {Sustainability},
69+
volume = {14},
70+
year = {2022},
71+
number = {18},
72+
article-number = {11682},
73+
url = {https://www.mdpi.com/2071-1050/14/18/11682},
74+
ISSN = {2071-1050},
75+
DOI = {10.3390/su141811682}
76+
}
77+
78+
79+
80+
- `PEEK: A Large Dataset of Learner Engagement with Educational Videos`_ published in 2021 as part of the 4th workshop on Online Recommender Systems and User Modeling at ACM RecSys 2021. BibTex below::
81+
82+
@article{DBLP:journals/corr/abs-2109-03154,
83+
author = {Bulathwela, Sahan and Yilmaz, Emine and Shawe-Taylor, John},
84+
title={PEEK: A Large Dataset of Learner Engagement with Educational Videos},
85+
booktitle = {4th workshop on Online Recommender Systems and User Modeling at ACM RecSys 2021},
86+
year = {2021}
87+
}
88+
89+
90+
.. _TrueLearn A Family of Bayesian Algorithms to Match Lifelong Learners to Open Educational Resources: https://arxiv.org/abs/1911.09471
91+
.. _Power to the Learner\: Towards Human-Intuitive and Integrative Recommendations with Open Educational Resources: https://www.mdpi.com/2071-1050/14/18/11682
92+
.. _PEEK\: A Large Dataset of Learner Engagement with Educational Videos: https://arxiv.org/abs/2109.03154
93+
5394

5495
.. include:: changelog.rst
5596
.. include:: authors.rst

docs/modules/api_reference.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ Classes
3838
:template: class_with_call.rst
3939

4040
datasets.PEEKKnowledgeComponentGenerator
41-
datasets.PEEKData
4241

4342
Functions
4443
---------
@@ -114,7 +113,6 @@ Classes
114113
:toctree: generated/
115114
:template: class.rst
116115

117-
preprocessing.Annotation
118116
preprocessing.Wikifier
119117

120118
Functions

examples/plot_knowledge_line.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
===================
55
66
This example shows how to use the ``LinePlotter`` class
7-
to generate a bar chart to compare different learners' knowledge
7+
to generate a line chart to compare different learners' knowledge
88
on the same topic.
99
1010
In this example, we use the ``NoveltyClassifier`` to build

examples/plot_knowledge_word.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@
99
In this example, we use the ``KnowledgeClassifier`` to build
1010
a representation of the learner's knowledge. You could also use
1111
other classifiers like ``NoveltyClassifier``.
12-
13-
.. warning:: You need to use ``WordPlotter`` with caution because
14-
15-
- Compatibility: it fails to work on some systems with Python 3.11.
16-
- Stability: it is not actively maintained.
1712
"""
1813
from truelearn import learning, datasets
1914
from truelearn.utils import visualisations

pyproject.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,15 @@ classifiers = [
4848
"Topic :: Education",
4949
]
5050
dependencies = [
51-
'typing-extensions>=4.4.0',
51+
'typing-extensions>=4.7.1',
5252
'trueskill>=0.4.5',
53+
'mpmath>=1.3.0',
54+
'circlify>=0.15.0',
55+
56+
# Bump these versions if we remove support for Python 3.7
5357
'scikit-learn>=1.0.2',
54-
'mpmath>=1.2.1',
5558
'matplotlib>=3.5.3',
56-
'circlify>=0.15.0',
59+
5760

5861
# We lock these dependencies because our usage
5962
# might be broken by their updates. We want to

truelearn/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
# Follows Semantic Versioning 2.0.0
88
# https://semver.org/
99
# Append "-dev" to a version for development versions
10-
__version__ = "1.0.0" + "-dev"
10+
__version__ = "1.1.0"

truelearn/preprocessing/_wikifier.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def __restructure_annotation(
182182
def page_rank_as_key(annotation: Annotation) -> float:
183183
"""Return page rank from annotation.
184184
185-
This method could be used to change how the annotations
185+
This method can be used to sort the annotations by page rank.
186186
187187
Args:
188188
annotation: An annotation from the wikifier API.
@@ -195,6 +195,8 @@ def page_rank_as_key(annotation: Annotation) -> float:
195195
def cosine_as_key(annotation: Annotation) -> float:
196196
"""Return cosine from annotation.
197197
198+
This method can be used to sort the annotations by cosine similarity.
199+
198200
Args:
199201
annotation: An annotation from the wikifier API.
200202

0 commit comments

Comments
 (0)