Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
Scipy:在对整个表面进行集成时加快集成速度?
I have a probability density function pdf f x y And to get its cumulative distribution function cdf F x y at point x y y
python
NumPy
recursion
scipy
Python 和 Scipy:如何拟合冯·米塞斯分布?
我正在尝试拟合来自 scipy 的冯 米塞斯分布 http docs scipy org doc scipy reference generated scipy stats vonmises html http docs scipy org
python
NumPy
scipy
计算具有不均匀间隔点的 3D 梯度
我目前有一个由几百万个不均匀间隔的粒子组成的体积 每个粒子都有一个属性 对于那些好奇的人来说是潜力 我想计算其局部力 加速度 np gradient 仅适用于均匀分布的数据 我在这里查看 numpy 中的二阶梯度 https stackov
python
NumPy
scipy
numericalmethods
derivative
Scipy ODE 时间步长向后移动
我在 Stackoverflow 上四处查看 但找不到任何可以回答我的问题的内容 问题设置 我正在尝试使用以下方法求解刚性 ODE 系统scipy integrate ode 我已将代码简化为最小的工作示例 import scipy as
python
scipy
ODE
如何用 numpy 在 Cython 中表示 inf 或 -inf ?
我正在用 cython 逐个元素构建一个数组 我想存储常量np inf or 1 np inf 在某些条目中 然而 这将需要返回 Python 进行查找的开销inf 有没有libc math相当于这个常数 或者其他一些可以轻松使用的值 相当
python
Optimization
NumPy
scipy
Cython
如何使用 python 将威布尔分布拟合到数据?
我正在寻找使用 Python 3 4 找到最适合一组数据的威布尔参数 import scipy stats as ss list1 list2 for x in range 0 10 list1 append ss exponweib pd
python
python3x
scipy
带权重的欧几里得距离
我目前正在使用SciPy计算欧氏距离 dis scipy spatial distance euclidean A B 在哪里 A B是5维位向量 现在工作正常 但是如果我为每个维度添加权重 是否仍然可以使用 scipy 我现在拥有的 sq
python
NumPy
scipy
euclideandistance
使用 scikit-image 去模糊图像
我正在尝试使用skimage restoration wiener http scikit image org docs dev api skimage restoration html skimage restoration wiener
python
NumPy
imageprocessing
scipy
scikitimage
如何在Python中快速得到线性规划的可行解?
Goal 计算两个凸多胞形的交集 I am using scipy spatial HalfspaceIntersection https docs scipy org doc scipy reference generated scipy
python
NumPy
scipy
computationalgeometry
linearprogramming
是否可以将 scipy CSR 矩阵的 dtype 转换为 NPY_FLOAT?
我有一个 scipy CSR 矩阵 它是由 COO 矩阵构建的 如下所示 coord mat coo matrix data row col dtype np float64 它被用作具有底层 C 实现的库的输入 我相信我的矩阵的 dtyp
python
NumPy
scipy
pythoncapi
是否可以矢量化 scipy.optimize.fminbound?
我有一些按时间参数化的轨迹数据点 我想知道每个点到拟合它们的曲线的最短距离 似乎有几种方法可以解决这个问题 例如here https kitchingroup cheme cmu edu blog 2013 02 14 Find the m
python
scipy
vectorization
minimization
Scipy Weibull CDF 计算
我正在 Scipy 中进行生存计算 但无法获得正确的值 My code x a c 1000 1 5 5000 vals exponweib cdf x a c loc 0 scale 1 vals应该等于 0 08555935639278
python
scipy
cdf
weibull
导入 scipy 或 scipy.signal 时 Pyinstaller --onefile 警告 pyconfig.h
这很容易重新创建 如果我的脚本 foo py 是 import scipy 然后运行 python pyinstaller py onefile foo py 当我启动 foo exe 时 我得到 WARNING file already
scipy
pyinstaller
检查一个点是否在 ConvexHull 中?
我无法理解如何计算 n 维点是否在 n 维凸包内 这里提出了一个非常相似的问题 相同 查找点是否位于点云的凸包中的有效方法是什么 https stackoverflow com questions 16750618 whats an eff
python
NumPy
scipy
向量化函数 (Python)
我是 python 新手 尝试进行硬件分配 但它不断向我抛出此错误 在 iPython Notebook 中 TypeError unsupported operand type s for or pow list and float 这是
python
NumPy
scipy
vectorization
Scalar
pandas 列相关性具有统计显着性
给定 pandas 数据框 df 来获取其列之间的相关性的最佳方法是什么df 1 and df 2 我不希望输出计算行数NaN which pandas内置相关性可以 但我也希望它输出pvalue或标准错误 而内置错误则不然 SciPy似乎
python
pandas
scipy
correlation
在 Python 中插入缺失值
所有 我希望你能够提供帮助 因为这是我知道我几乎从这里和网上的各种帖子中破解的任务之一 但还没有完全发挥作用 本质上 我在数据库中有以下数据 通过 psql read sql sql cnxn 返回到 Pandas 对象 StartTime
python
scipy
linearinterpolation
pandasql
左特征向量在 scipy 中没有给出正确的(马尔可夫)平稳概率
给定以下马尔可夫矩阵 import numpy scipy linalg A numpy array 0 9 0 1 0 15 0 85 平稳概率存在且等于 6 4 通过取矩阵的大幂可以很容易地验证这一点 B A copy for in x
python
scipy
markovchains
如何计算scipy中曲线拟合的可能性?
我有一个非线性模型拟合 如下所示 深色实线是模型拟合 灰色部分是原始数据 问题的简短版本 如何获得该模型拟合的可能性 以便我可以执行对数似然比测试 假设残差服从正态分布 我对统计学比较陌生 我目前的想法是 从曲线拟合中得到残差 并计算残差的
python
NumPy
scipy
StatsModels
矢量化 scipy.integrate.quad
我在用scipy integrate quad f a b args c 整合功能f之间a and b 添加另一个参数c 你可以考虑一下f as f lambda x y x y 据我了解 该功能需要a b c为浮点值 然而 我有很多积分需
python
NumPy
scipy
1
2
3
4
5
6
...46
»