Skip to content

Commit c1dfaa4

Browse files
authored
Merge pull request #237 from sknetwork-team/develop
Release 0.12.1
2 parents 56f66ae + d185367 commit c1dfaa4

39 files changed

+1292
-309
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ celerybeat-schedule
8787
.Senv
8888
venv/
8989
ENV/
90+
venv-3.8/
9091

9192
# Spyder project settings
9293
.spyderproject

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ python:
55
- 3.6
66
install:
77
- pip install -U tox-travis
8-
- pip install coverage
8+
- pip install codecov
99
env:
1010
- SKNETWORK_DISABLE_NUMBA=false
1111
- SKNETWORK_DISABLE_NUMBA=true
@@ -23,4 +23,4 @@ deploy:
2323
python: 3.6
2424
env: $SKNETWORK_DISABLE_NUMBA=true
2525
after_success:
26-
- bash <(curl -s https://codecov.io/bash)
26+
- codecov

HISTORY.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
History
33
=======
44

5+
0.12.1 (2020-01-20)
6+
-------------------
7+
8+
* Added heat kernel based node classifier
9+
* Updated loaders for WikiLinks
10+
* Fixed file-related issues for Windows
11+
512
0.12.0 (2019-12-10)
613
-------------------
714

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@
174174
'Miscellaneous'),
175175
]
176176

177+
collapse_navigation = True
178+
177179

178180
def setup(app):
179181
app.add_css_file('css/custom.css')

docs/reference/classification.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,14 @@ MaxRank
1919
:show-inheritance:
2020
:inherited-members:
2121
:members:
22+
23+
MaxDiff
24+
-------
25+
.. autoclass:: sknetwork.classification.MaxDiff
26+
:inherited-members:
27+
:members:
28+
29+
.. autoclass:: sknetwork.classification.BiMaxDiff
30+
:show-inheritance:
31+
:inherited-members:
32+
:members:

docs/reference/soft_classification.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,14 @@ MultiRank
2020
:show-inheritance:
2121
:inherited-members:
2222
:members:
23+
24+
MultiDiff
25+
---------
26+
.. autoclass:: sknetwork.soft_classification.MultiDiff
27+
:inherited-members:
28+
:members:
29+
30+
.. autoclass:: sknetwork.soft_classification.BiMultiDiff
31+
:show-inheritance:
32+
:inherited-members:
33+
:members:

docs/tutorials/classification/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ Classification
55
.. toctree::
66

77
maxrank
8+
maxdiff
89

910

docs/tutorials/classification/maxdiff.ipynb

Lines changed: 384 additions & 0 deletions
Large diffs are not rendered by default.

docs/tutorials/classification/maxrank.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"metadata": {},
9191
"outputs": [],
9292
"source": [
93-
"seeds = {i: labels_true[i] for i in [0,33]}"
93+
"seeds = {i: labels_true[i] for i in [0, 33]}"
9494
]
9595
},
9696
{
@@ -183,7 +183,7 @@
183183
"source": [
184184
"# Warning: If the image does not appear, run the cell again.\n",
185185
"nx.draw(graph, pos, node_color=[COLORS[labels_pred[i]] for i in graph])\n",
186-
"nx.draw_networkx_nodes(graph, pos, nodelist = list(seeds.keys()), node_color = 'k', node_size = 30)"
186+
"nx.draw_networkx_nodes(graph, pos, nodelist=list(seeds.keys()), node_color='k', node_size=30)"
187187
]
188188
},
189189
{
@@ -302,7 +302,7 @@
302302
"source": [
303303
"# Warning: If the image does not appear, run the cell again.\n",
304304
"nx.draw(graph, pos, node_color=[COLORS[labels[i]] for i in graph], labels=names)\n",
305-
"nx.draw_networkx_nodes(graph, pos, nodelist = list(seeds.keys()), node_color = 'k', node_size = 30)"
305+
"nx.draw_networkx_nodes(graph, pos, nodelist=list(seeds.keys()), node_color='k', node_size=30)"
306306
]
307307
},
308308
{
@@ -425,7 +425,7 @@
425425
}
426426
},
427427
"toc": {
428-
"base_numbering": 1,
428+
"base_numbering": 1.0,
429429
"nav_menu": {},
430430
"number_sections": true,
431431
"sideBar": true,

docs/tutorials/data/loading.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"cell_type": "markdown",
1212
"metadata": {},
1313
"source": [
14-
"Loading data from existing dataset, here [Vital Wikipedia](https://graphs.telecom-paristech.fr/)."
14+
"Loading data from existing dataset, here [WikiVitals](https://graphs.telecom-paristech.fr/)."
1515
]
1616
},
1717
{
@@ -54,7 +54,7 @@
5454
},
5555
"outputs": [],
5656
"source": [
57-
"data = skn.data.load_wikilinks_dataset('vital_wikipedia')"
57+
"data = skn.data.load_wikilinks_dataset('wikivitals')"
5858
]
5959
},
6060
{
@@ -250,7 +250,7 @@
250250
"name": "python",
251251
"nbconvert_exporter": "python",
252252
"pygments_lexer": "ipython3",
253-
"version": "3.7.5"
253+
"version": "3.7.4"
254254
},
255255
"pycharm": {
256256
"stem_cell": {

0 commit comments

Comments
 (0)