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 12,019 public repositories matching this topic...
-
Updated
Apr 14, 2022 - Jupyter Notebook
-
Updated
Apr 3, 2022 - Python
-
Updated
Oct 19, 2019
Describe the bug
Streaming Datasets can't be pickled, so any interaction between them and multiprocessing results in a crash.
Steps to reproduce the bug
import transformers
from transformers import Trainer, AutoModelForCausalLM, TrainingArguments
import datasets
ds = datasets.load_dataset('oscar', "unshuffled_deduplicated_en", split='train', streaming=True).with_format("
-
Updated
Dec 22, 2020 - Python
#9130 adds a sort_results
argument to assert_eq
, which allows us to assert DataFrame equality without sorting them (by default, assert_eq
sorts the input DataFrames before checking equality). It'll be nice to identify+update the tests that would benefit from it.
A first step could be to run the dataframe tests with check_index=False
and sort_results=False
as defaults.
-
Updated
Dec 23, 2020 - Python
-
Updated
Sep 27, 2019 - Jupyter Notebook
-
Updated
Apr 1, 2022 - Python
Numba ignores any indices that are out of bounds for a given array shape. This behavior is present in both basic and advanced indexing.
import numpy as np
import numba
@numba.njit
def something():
arr = np.ones((3,3))
arr[100] = 0
arr[:, np.array([2,3,5,100])] = 0
return arr
print(something()) # Does not raise error, ignores the out of bound indices comp
-
Updated
Apr 2, 2022 - Python
-
Updated
Jun 4, 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
Apr 11, 2022 - Python
-
Updated
Apr 16, 2022 - Jupyter Notebook
-
Updated
Feb 6, 2020
环境
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
Jun 3, 2022 - Python
-
Updated
Jun 3, 2022 - Python
-
Updated
Jun 3, 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
May 18, 2022 - C++
Created by Travis Oliphant
Latest release 15 days ago
- Repository
- numpy/numpy
- Website
- numpy.org
- Wikipedia
- Wikipedia
Followup to pytorch/pytorch#74955 (comment).
It turns out that that cmake version was just bad and we can now unpin cmake once again.
cc @seemethere @malfet @pytorch/pytorch-dev-infra