Skip to content

Commit 921e84b

Browse files
author
Ashutosh Tiwari
committed
need to write sbm sampler
1 parent a44a25f commit 921e84b

File tree

6 files changed

+1745
-147
lines changed

6 files changed

+1745
-147
lines changed

Diff for: Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ endif
2323
setup_all:
2424
@echo "setting up..."
2525
@poetry config virtualenvs.in-project true
26-
@poetry install -vvv
26+
@poetry install --only main --only debug --only test --only lint -vvv
27+
@poetry run poetry run jupyter contrib nbextension install --user
28+
@poetry run jupyter nbextension enable --py codeium --user
29+
@poetry run jupyter serverextension enable --py codeium --user
2730

2831
.PHONY: format
2932
format:

Diff for: examples/sbm_sampler.ipynb

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": null,
6+
"id": "initial_id",
7+
"metadata": {
8+
"collapsed": true
9+
},
10+
"outputs": [],
11+
"source": []
12+
}
13+
],
14+
"metadata": {
15+
"kernelspec": {
16+
"display_name": "Python 3",
17+
"language": "python",
18+
"name": "python3"
19+
},
20+
"language_info": {
21+
"codemirror_mode": {
22+
"name": "ipython",
23+
"version": 2
24+
},
25+
"file_extension": ".py",
26+
"mimetype": "text/x-python",
27+
"name": "python",
28+
"nbconvert_exporter": "python",
29+
"pygments_lexer": "ipython2",
30+
"version": "2.7.6"
31+
}
32+
},
33+
"nbformat": 4,
34+
"nbformat_minor": 5
35+
}

Diff for: graph_ml/transformations/samplers/sampler.py

Whitespace-only changes.

0 commit comments

Comments
 (0)