python-is-cool icon indicating copy to clipboard operation
python-is-cool copied to clipboard

Cool Python features for machine learning that I used to be too afraid to use. Will be updated as I have more time / learn more.

Results 3 python-is-cool issues
Sort by recently updated
recently updated
newest added

Will it be cool to add forced-named arguments to this list? ```python def foo(pos, *, forcenamed): print(pos, forcenamed) ``` ```python >>> foo(pos=10, forcenamed=20) 10 20 ``` ```python >>> foo(10, forcenamed=20)...

I have found the * operator really useful when it comes to unpacking lists and calling a function on all the elements of the list. It'll be nice if you...

In block [5] of the notebook, you accidentally took the square root of the total square error, converting it into mean absolute error.