-
https://github.com/edgarshmavonyan/python_text_generator/blob/404fcbc589ab6181441f5080162f9520600ce173/markov_chain/chain.py#L106
-
https://github.com/edgarshmavonyan/python_text_generator/blob/404fcbc589ab6181441f5080162f9520600ce173/markov_chain/vertex.py#L29-L33
чтобы избавиться от этих проверок, используй defaultdict
-
https://github.com/edgarshmavonyan/python_text_generator/blob/404fcbc589ab6181441f5080162f9520600ce173/markov_chain/chain.py#L97-L99
почему здесь не просто for .. in range()
-
release date: 2019-03-05
Expected:
- [x] Pytorch-1.0.1
- [x] pandas-0.24.1,
- [x] PyQt5-5.12.1a
- [x] Tensorflow-1.13.1 , for Python-3.7 also
Focus of the release:
- [x] Pyside2-5.12 comp…
-
I've seen a lot of work around dcgan for images.
I wondered how this data science could apply to text generation.
I stubbled upon https://github.com/sherjilozair/char-rnn-tensorflow which will spit o…
-
SELECT 14, bq.id, 'Legal'
FROM (
SELECT
`u`.`id` AS `id`,
CASE
WHEN layout = 'transform' OR layout = 'flip' THEN
GROUP_CONCAT(CASE WHEN…
-
Estimated release date: 2018-10-31
expected:
- next iteration of bug fix python: Python-3.7.1, Python-3.6.7
- scikit-learn-0.20, Matplotlib-3.0, pandas-0.23.5,
- Jupyterlab-0.35.1 , IPython-7.1,…
-
Current stack allows to write this new syntax:
```
extra-deps:
- git: git@github.com:NorfairKing/validity.git
commit: a86dd3e4830c14c056a0d5d8712864d395d25b2a
```
the old syntax for this w…
-
I get something else than my usual map, when I do this, with bqplot-0.11.0+Jupyterlab-0.33.2:
````
# ipyleaflet (javascript library usage)
from ipyleaflet import (
Map, Marker, TileLayer, Imag…
-
So you get messy tweets like [this one](https://twitter.com/00d4n1_ebooks/status/910399752336011264). I think instead of stripping newlines, all consecutive "runs" of whitespace (newlines, tabs, and s…