Dmytro Lituiev

Results 40 comments of Dmytro Lituiev

this one is for Ubuntu 18 https://github.com/Anakeyn/Tensorflow2.0ForOldComputers

keep getting `ModuleNotFoundError: No module named 'tensorflow.python.tools'; 'tensorflow.python' is not a package` on Ubuntu 18

Hi Michael, I'm looking for an equivalent of Python `x in set(...)` analogue, e.g.: `mtcars.cyl.map(lambda x: x in [4, 5])` This typically works with lambda functions, so I assumed that...

`isin` would definitely solve it. I would just naïvely assume that `mtcars >> filter(_.cyl in {4, 5})` would do the job. Not that I am unhappy with `isin` results or...

I see. Well, as I see now, PIL is loaded as an optional module. My proposition is to do same (optional dependency/loading) `opencv`, with a flag, like `load_img(...,driver='pil' | 'opencv')`,...

How about putting a thin layer on it: ``` def replace_backticks(x): if "`" not in x: return x pttrn = re.compile("`([^`]*)`") def repl(m): return "Q('" + m.group(1) + "')" return...

Here is handling of back ticks within `Q('')` ``` import re def _check_backticks_within_Q_(x): pttrn = re.compile("(Q\([\'\"]).*`.*([\'\"]\))") res = pttrn.finditer(x) try: next(res) return True except StopIteration: return False def _replace_backticks_(m): return...

+1. Trying to run an interaction model `'(a1+ a2+ ... a360) * (b1+...b40)'` works, but `'(a1+ a2+ ... a500) * (b1+...b40)'` breaks :-( Have to resort to `sklearn.preprocessing.PolynomialFeatures`

Thank you! this looks like enough for my application, and I am afraid I am not sufficiently equipped to tinker the source for now. On Thu, May 19, 2016 at...

it would be great to have `--trusted-host` argument