search for: scipy

Displaying 20 results from an estimated 51 matches for "scipy".

2010 Jan 21
0
python-theora: some comments
...with the library? 2) t.get_frame_image() fails with Traceback (most recent call last): File "browse-video.py", line 8, in <module> img = t.get_frame_image() File "theora.pyx", line 681, in theora.Theora.get_frame_image (theora.c:3553) ImportError: No module named scipy.misc should setup.py declare this as a dependency? If not, can you add a list of dependencies to README? 3) after installing scipy misc I get Traceback (most recent call last): File "browse-video.py", line 8, in <module> img = t.get_frame_image() File "theora.pyx&quo...
2013 Jan 13
0
Upgrading Python with NumPy, SciPy and Mayavi on a CentOs 6.2 (Rocks 6.0) cluster
Hi, We are looking for some guidance in installing an upgraded Python on our cluster. Our cluster was installed with Rocks 6.0, is running CentOs 6.2, and has python-2.6.6, gcc-4.4.6. We would like to install an upgraded version of Python along with the following modules NumPy Scipy (which will require a compatible version of the Atlas libraries) Mayavi (which will require a compatible version of vtk) We were wondering if anyone has experience in installing these packages, what are the best combinations of compatible versions, what other upgrades will be needed (e.g. will...
2020 Oct 15
2
package(moments) issue
...he series the function is working fine. I have checked for those specific columns for missing values. However, there is no NA/NAN value in the dataset. I have also run kurtosis for those time series and I can get results. I have noticed the same issue was reported in the following post for python (scipy.stat) and the report mentions that there is a bug in moments package in R. I was wondering whether the issue has been resolved. https://github.com/scipy/scipy/issues/1950 Could anyone please help me with the error? I look forward to hearing from you. Regards, Sania [[alternative HTML version...
2009 Mar 14
0
Comparison of data analysis packages: R, Matlab, SciPy, Excel, SAS, SPSS, Stata - Brendan O'Connor's Blog
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi All, I found an interesting thread discussing R and other packages here: http://anyall.org/blog/2009/02/comparison-of-data-analysis-packages-r-matlab-scipy-excel-sas-spss-stata/ Plenty of well-reasoned comments. I thought it may be informative for people on this list. Best, - -Jose - -- Jose Quesada, PhD. Max Planck Institute, Center for Adaptive Behavior and cognition, Berlin http://www.josequesada.name/ -----BEGIN PGP SIGNATURE----- Ve...
2012 Apr 19
3
Solve an ordinary or generalized eigenvalue problem in R?
Folks: I'm trying to port some code from python over to R, and I'm running into a wall finding R code that can solve a generalized eigenvalue problem following this function model: http://docs.scipy.org/doc/scipy/reference/generated/scipy.linalg.eig.html Any ideas? I don't want to call python from within R for various reasons, I'd prefer a "native" R solution if one exists. Thanks! --j -- Jonathan A. Greenberg, PhD Assistant Professor Department of Geography and Geograp...
2023 Mar 01
1
Incorrect behavior of ks.test and psmirnov functions with exact=TRUE
...(1, sizes=c(50, 50), z=1:100, two.sided = FALSE, lower.tail = F, exact=TRUE) produces 2.775558e-15 However, the exact value should be 1/combination(100, 50), which is 9.9e-30. While the absolute error is small, the relative error is huge, and it is not fixed by setting option log.p=T To compare, SciPy has a correct implementation in scipy.stats.ks_2samp: scipy.stats.ks_2samp(list(range(1,51)), list(range(51, 101)), alternative="greater", method="exact") returns 9.911653021418333e-30. I've tried to dig in a bit and the problem comes down to how the final value is calculat...
2020 Oct 15
0
package(moments) issue
...; working fine. I have checked for those specific columns for missing values. > However, there is no NA/NAN value in the dataset. > > I have also run kurtosis for those time series and I can get results. I > have noticed the same issue was reported in the following post for python > (scipy.stat) and the report mentions that there is a bug in moments package > in R. I was wondering whether the issue has been resolved. > > https://github.com/scipy/scipy/issues/1950 > > Could anyone please help me with the error? > > I look forward to hearing from you. > > Reg...
2020 Oct 15
2
package(moments) issue
...d for those specific columns for missing >> values. >> However, there is no NA/NAN value in the dataset. >> >> I have also run kurtosis for those time series and I can get results. I >> have noticed the same issue was reported in the following post for python >> (scipy.stat) and the report mentions that there is a bug in moments >> package >> in R. I was wondering whether the issue has been resolved. >> >> https://github.com/scipy/scipy/issues/1950 >> >> Could anyone please help me with the error? >> >> I look forwa...
2008 Mar 27
1
Significance of confidence intervals in the Non-Linear Least Squares Program.
I am using the non-linear least squares routine in "R" -- nls. I have a dataset where the nls routine outputs tight confidence intervals on the 2 parameters I am solving for. As a check on my results, I used the Python SciPy leastsq module on the same data set and it yields the same answer as "R" for the coefficients. However, what was somewhat surprising was the the condition number of the covariance matrix reported by the SciPy leastsq program = 379. Is it possible to have what appear to be tight conf...
2020 Oct 15
0
package(moments) issue
...umns for missing >>> values. >>> However, there is no NA/NAN value in the dataset. >>> >>> I have also run kurtosis for those time series and I can get results. I >>> have noticed the same issue was reported in the following post for python >>> (scipy.stat) and the report mentions that there is a bug in moments >>> package >>> in R. I was wondering whether the issue has been resolved. >>> >>> https://github.com/scipy/scipy/issues/1950 >>> >>> Could anyone please help me with the error? >&g...
2010 May 03
10
Math?
Dear All Is there any software package like MATLAB for Windows available for centos? Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100503/7a522211/attachment-0001.html>
2020 Jun 23
8
[Incubation] Request to incubate mlir-npcomp
...nization, I would like to trial the process by requesting to incubate mlir-npcomp <https://github.com/google/mlir-npcomp>. The project is still quite young and has been primarily developed part time by myself and Sean Silva over the last ~2 months. We set it up following discussion of a Numpy/Scipy op set <https://llvm.discourse.group/t/numpy-scipy-op-set/768> and also in conjunction with a proving ground for high level dialects/transforms for lowering from "numpy-aligned" frontends (e.g. sometimes labeled TCF/TCP). When I obtained permission from my employer (Google) to open...
2008 Mar 27
1
[Re: Significance of confidence intervals in the Non-Linear Least Squares Program.]
...es not ouptut confidence intervals, so what precisely did you do? > I would recommend using confint(). > > BTW, as in most things in R, nls() is 'a' non-linear least squares > routine: there are others in other packages. > >> As a check on my results, I used the Python SciPy leastsq module on the >> same data set and it yields the same answer as "R" for the >> coefficients. However, what was somewhat surprising was the the >> condition number of the covariance matrix reported by the SciPy leastsq >> program = 379. >> >> Is...
2019 Jun 23
2
Calculation of e^{z^2/2} for a normal deviate z
...ilities. The first is to scale the p-values by dividing the *largest* of the probabilities, then do the (p/sum(p)) computation, then multiply the result (I'm sure this is described/documented somewhere). More generally, there are methods for computing sums on the log scale, e.g. https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.misc.logsumexp.html I don't know where this has been implemented in the R ecosystem, but this sort of computation is the basis of the "Brobdingnag" package for operating on very large ("Brobdingnagian") and very small ("L...
2009 Nov 21
3
python
Dear R users, I would like to make my R code for MCMC faster. It is possible to integrate C code into R but I think C is too complicated for me. I would need a C introduction only for MCMC and I do not know if such a thing exists. I was thinking of Python (and scipy). Where could I read about its integration into R ? How developed are the statistical packages in Python ? I could not find a Python package on the web with functions to simulate Wishart, or multivariate gamma or student distributions. Since I am a little bit lost, I write this message to the R he...
2015 Apr 23
3
Usar una matriz sparse desde python a R
Hola erreros Estoy rizando el rizo con esto de las matrices sparse y he encontrado la forma de hacerlo en python, que va rapidísimo. Por tanto tengo una matriz sparse en un objeto python con esta info: <138493x26744 sparse matrix of type '<type 'numpy.int64'> Quiero hacer lo mismo con R pero me he topado con la lentitud de los bucles para rellenar la sparse (también por mi
2018 Apr 06
3
Semi-OT: install python package in userspace
...kit-learn > Successfully installed scikit-learn-0.19.1 > You are using pip version 8.1.2, however version 9.0.3 is available. > You should consider upgrading via the 'pip install --upgrade pip' command. > > But on my testbox, i'm not sucessful to use the system numpy and scipy > packages. i had to install them using pip. Python is a "sneaky snake" ;-) Valeri > > best regards > Ulf > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos > -...
2006 Oct 12
3
multithreading calling from the rpy Python package
...I use this approach to calculate the correlation coefficient of 1 independent dataset (vector) with 4 dependent vectors. It'd be nice if that could be done in 4 parallel threads, or even two. As long as I stick to pure Python code (using equivalents to R routines that can be found in Numpy and SciPy), this works fine. (Tested on a single-core machine.) However, when I call R functions through rpy, a crash will occur at some point, with the error *** caught segfault *** address 0x5164000, cause 'memory not mapped' (this is on Mac OS X 10.4.8), somewhere in Rf_eval: Thread 4 Crashed: 0...
2006 Oct 12
3
multithreading calling from the rpy Python package
...I use this approach to calculate the correlation coefficient of 1 independent dataset (vector) with 4 dependent vectors. It'd be nice if that could be done in 4 parallel threads, or even two. As long as I stick to pure Python code (using equivalents to R routines that can be found in Numpy and SciPy), this works fine. (Tested on a single-core machine.) However, when I call R functions through rpy, a crash will occur at some point, with the error *** caught segfault *** address 0x5164000, cause 'memory not mapped' (this is on Mac OS X 10.4.8), somewhere in Rf_eval: Thread 4 Crashed: 0...
2012 Apr 23
0
Solve an ordinary or generalized eigenvalue problem in R
...does not produce the same solution as the dggev. It would be nice to have a more complete set of formal packages for doing LA in R (rather than having to hand-write .Fortran calls) but I'll leave that to someone with more expertise in linear algebra than me. Something that perhaps matches the SciPy set of functions (both in terms of input and output): >> > >> > http://docs.scipy.org/doc/scipy/reference/linalg.html >> > >> > Some of these are already implemented, but clearly not all of them. > Package CCA has package fda as dependency. > And package...