NumPy
NumPy is an open source library for the Python programming language, adding support for large, multidimensional arrays, and matrices, along with a large collection of high-level mathematical functions to operate on these arrays.
Here are 11,212 public repositories matching this topic...
-
Updated
Jan 13, 2022 - Jupyter Notebook
-
Updated
Nov 4, 2021 - Python
-
Updated
Oct 19, 2019
Is your feature request related to a problem? Please describe.
I am uploading our dataset and models for the "Constructing interval measures" method we've developed, which uses item response theory to convert multiple discrete labels into a continuous spectrum for hate speech. Once we have this outcome our NLP models conduct regression rather than classification, so binary metrics are not r
-
Updated
Dec 22, 2020 - Python
This may seem like a rather silly thing to validate, but it's easy to accidentally pass in empty divisions if you're using a divisions list generated elsewhere, or mess up typing range(1000, 2) instead of range(0, 1000, 2) like I did.
Would be nice to have a short, informative traceback in this case instead of this inscrutable error.
result.set_index("id", divisions=[])-
Updated
Dec 23, 2020 - Python
-
Updated
Sep 27, 2019 - Jupyter Notebook
-
Updated
Feb 2, 2022 - Python
I see comments suggesting adding this to understand how loops are being handled by numba, and in the their own FAQ (https://numba.pydata.org/numba-doc/latest/user/faq.html)
from llvmlite import binding as llvm
llvm.set_option('','--debug-only=loop-vectorize')
You would then create your njit function and run it, and I believe the idea is that it prints debug information about whether
-
Updated
Feb 22, 2022 - Python
-
Updated
Feb 28, 2022 - Python
Bidirectional RNN
Is there a way to train a bidirectional RNN (like LSTM or GRU) on trax nowadays?
Description
https://numpy.org/doc/stable/reference/generated/numpy.corrcoef.html
https://docs.cupy.dev/en/stable/reference/generated/cupy.corrcoef.html
Seems args are different
Additional Information
dtype argument added in NumPy version 1.20.
-
Updated
Mar 8, 2022 - Python
-
Updated
Feb 6, 2020
-
Updated
Mar 7, 2022 - Python
-
Updated
Mar 5, 2022 - Jupyter Notebook
环境
1.系统环境:
2.MegEngine版本:1.6.0rc1
3.python版本:Python 3.8.10
The program stuck at net.load when I was trying to use the MegFlow. I wait for more than 10min and there is no sign of finishing it.
-
Updated
Mar 7, 2022 - Python
-
Updated
Mar 7, 2022 - Python
-
Updated
Mar 1, 2022 - Python
Wondering if this already exists? If not happy to create if valuable.
I'm looking for a mapping from the column names outputted, to the actual technical indicator it represents.
examples:
momentum_ao == "Momentum, Awesome Oscilator"
momentum_kama == "Momentum, Kaufman’s Adaptive Moving Average (KAMA)"
Can help quickly grasp what the features represent without having to refer back to do
-
Updated
Mar 7, 2022 - C++
pydata/xarray#5865 (reply in thread)
I wonder if it's possible to implement a built-in function like:
da.str.format("%.2f") or xr.string_format(da, "%.2f)
To wrap:
import xarray as xr
da = xr.DataArray([5., 6., 7.])
das = xr.DataArray("%.2f")
das.str % da
<xarray.DataArray (dim_0: 3)>
array(['5.00', '6.00', '7.00'], dtype='<U4')
Dim

Floating point exception in
mkldnn_convolutionwhenstridecontains 0s.Example to reproduce