Skip to content

Commit be7a957

Browse files
committed
Release quickfix, updated description
1 parent 8374b77 commit be7a957

5 files changed

Lines changed: 319 additions & 13 deletions

File tree

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,56 +2,56 @@
22

33
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/Malkovsky/python-examples/master)
44

5-
This repository contains a framework for iteractive visualization of algorithms based on widgets in jupyter notebook. Here are some examples of animations generated by the framework. The code is provided in [overview](https://github.com/Malkovsky/python-examples/blob/master/examples/overview.ipynb) notebook
5+
This repository contains a framework for iteractive visualization of algorithms based on widgets in jupyter notebook. Here are some examples of animations generated by the framework. The code is provided in [overview](https://github.com/Malkovsky/interactive-visualization/blob/master/examples/overview.ipynb) notebook
66

77
## Text animations
88

99
Here's an example of quicksort algorithm using text state representation
1010

11-
![Quicksort](https://raw.githubusercontent.com/Malkovsky/python-examples/master/images/quicksort.gif)
11+
![Quicksort](https://raw.githubusercontent.com/Malkovsky/interactive-visualization/master/images/quicksort.gif)
1212

1313
## Matplotlib animations
1414

1515
Using `matplotlib` one can visualize some plane algorithm, for example [EM algorithm for Old Faithfull eruption data](https://en.wikipedia.org/wiki/Expectation%E2%80%93maximization_algorithm)
1616

17-
![em](https://raw.githubusercontent.com/Malkovsky/python-examples/master/images/em_gmm.gif)
17+
![em](https://raw.githubusercontent.com/Malkovsky/interactive-visualization/master/images/em_gmm.gif)
1818

1919
or domino coloring based on 5-coloring algorithm for planar graphs
2020

21-
![coloring](https://raw.githubusercontent.com/Malkovsky/python-examples/master/images/planar_coloring.gif)
21+
![coloring](https://raw.githubusercontent.com/Malkovsky/interactive-visualization/master/images/planar_coloring.gif)
2222

2323
or convex hull construction
2424

25-
![convex_hull](https://raw.githubusercontent.com/Malkovsky/python-examples/master/images/convex_hull.gif)
25+
![convex_hull](https://raw.githubusercontent.com/Malkovsky/interactive-visualization/master/images/convex_hull.gif)
2626

2727
## Graphviz
2828

2929
Using `graphviz` one can visualize basic graph algorithms, here's an example of Dijkstra algorithm
3030

31-
![dijkstra](https://raw.githubusercontent.com/Malkovsky/python-examples/master/images/dijkstra_slow.gif)
31+
![dijkstra](https://raw.githubusercontent.com/Malkovsky/interactive-visualization/master/images/dijkstra_slow.gif)
3232

3333
# Requirements and installation
3434

3535
A proper installation on debian-based systems is
3636
```
3737
cat apt.txt | xargs sudo apt-get install
38-
python setup.py install
38+
pip install interactive-visualization
3939
```
4040
For other linux-based OS use the appropriate package manager to install packages listed in `apt.txt` which currently contains `graphviz` and `latex` needed for proper visualization in notebooks. Note that there also might be problems with [ipywidgets](https://ipywidgets.readthedocs.io/en/stable/user_install.html) in jupyter lab, check the docs for installation instructions.
4141

4242
# Creating an interactive animation using the framework
43-
See [manual](https://github.com/Malkovsky/python-examples/blob/master/manuals/manual.ipynb) for more reference.
43+
See [manual](https://github.com/Malkovsky/interactive-visualization/blob/master/manuals/manual.ipynb) for more reference.
4444

4545
# Examples
4646
## Eng
47-
### [Covid-19](https://github.com/Malkovsky/python-examples/blob/master/covid19.ipynb)
47+
### [Covid-19](https://github.com/Malkovsky/interactive-visualization/blob/master/covid19.ipynb)
4848
Some basic parse and analysis of global Covid-19 data from Johns Hopkins University.
4949
## Rus
50-
### [Замощене доминошками](https://github.com/Malkovsky/python-examples/blob/master/domino_tiling.ipynb)
50+
### [Замощене доминошками](https://github.com/Malkovsky/interactive-visualization/blob/master/domino_tiling.ipynb)
5151
Рассматривается задача покрытия фигур на плоскости, состоящиех из квадратных клеток одинакового размера и два её программных решения: с помощью динамического программирования по профилю и с помощью нахождения максимального паросочетания. Бонусом идет раскраска планарного графа в 5 цветов (не протестировано).
52-
### [Обходы на графх](https://github.com/Malkovsky/python-examples/blob/master/basic_searches.ipynb)
52+
### [Обходы на графах](https://github.com/Malkovsky/interactive-visualization/blob/master/basic_searches.ipynb)
5353
Разобраны обходы в глубину и ширину, а так же их базовые применения.
54-
### [Кратчайшие пути на графах](https://github.com/Malkovsky/python-examples/blob/master/shortest_paths.ipynb)
54+
### [Кратчайшие пути на графах](https://github.com/Malkovsky/interactive-visualization/blob/master/shortest_paths.ipynb)
5555
Основные алгоритмы для задачи о крайших путях от одной вершины до всех остальных. Все алгоритмы представлены как модификации "сканирующего метода".
56-
### [Префиксное дерево](https://github.com/Malkovsky/python-examples/blob/master/preffix_tree.ipynb)
56+
### [Префиксное дерево](https://github.com/Malkovsky/interactive-visualization/blob/master/preffix_tree.ipynb)
5757
Префиксное дерево, префикс-функцию, алгоритм Ахо-Корасик и их применения в марковских моделях для обработки текста.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"# Барьерные методы и метод внутренней точки\n"
8+
]
9+
}
10+
],
11+
"metadata": {
12+
"kernelspec": {
13+
"display_name": "Python 3",
14+
"language": "python",
15+
"name": "python3"
16+
},
17+
"language_info": {
18+
"codemirror_mode": {
19+
"name": "ipython",
20+
"version": 3
21+
},
22+
"file_extension": ".py",
23+
"mimetype": "text/x-python",
24+
"name": "python",
25+
"nbconvert_exporter": "python",
26+
"pygments_lexer": "ipython3",
27+
"version": "3.8.3"
28+
},
29+
"widgets": {
30+
"application/vnd.jupyter.widget-state+json": {
31+
"state": {},
32+
"version_major": 2,
33+
"version_minor": 0
34+
}
35+
}
36+
},
37+
"nbformat": 4,
38+
"nbformat_minor": 4
39+
}

0 commit comments

Comments
 (0)