The scipy tag has no wiki summary.
2
votes
1answer
45 views
Lattice lotka-volterra
Can anyone comment on the efficiency of my code? I am new with Python using NumPy/SciPy and I am trying to program a lattice biological model where a certain (one and only one) species (represented by ...
2
votes
1answer
20 views
Obtaining prediction bands for regression model
I'm trying to generate prediction bands for an exponential fit to some 2-dimensional data (available here).
The data (blue points), best fit found by ...
3
votes
1answer
96 views
Divide all elements in the column of a sparse matrix
Using Python Scipy, I am trying to divide all numbers in all columns of a sparse matrix (400K × 500K, density 0.0005), by the sum of the squares of all numbers in a column.
If a column is ...
2
votes
1answer
70 views
SciPy sparse: optimize computation on non-zero elements of a sparse matrix (for tf-idf)
I have a sparse matrix (term-document) containing integers (word counts/tf) and I am trying to compute the tf-idf, for every non-zero value in the sparse-matrix.
The formula for tf-idf I am using is:
...
10
votes
1answer
70 views
Class used for stochastic epidemic simulations
I've developed a class used for some epidemic simulations I'm doing. Individuals are 'S' (susceptible), 'I' (infected), or 'R' (recovered). These are standard abbreviations in the research ...