exponential Questions
3
Solved
I'm having a bit of trouble with fitting a curve to some data, but can't work out where I am going wrong.
In the past I have done this with numpy.linalg.lstsq for exponential functions and scipy.op...
Dismiss asked 16/1, 2013 at 0:57
1
I use ExponentialSmoothing from statsmodels (Version: 0.10.1) to fit and perform forecast on some data. For ease of use when setting the configurations, I write a function exp_smoothing_forecast th...
Toxicogenic asked 21/5, 2020 at 1:17
6
Solved
because power(base, exponent) has no return value unless exponent is 0, initially, shouldn't power(base, exponent -1) return 'undefined', and therefore be unmultipliable, initially? So, I am having...
Envoy asked 5/10, 2011 at 5:57
5
Solved
I'm looking for an efficient (Fast) approximation of the exponential function operating on AVX elements (Single Precision Floating Point). Namely - __m256 _mm256_exp_ps( __m256 x ) without SVML.
R...
Tarpaulin asked 19/2, 2018 at 10:8
4
I have a dataframe and I'd like to perform exponential calculation on a subset of rows in a column. I've tried three versions of code and two of them worked. But I don't understand why one version ...
Flirtation asked 12/12, 2019 at 4:4
4
I am taking a class in C++ and I noticed there are only a few math operators to use.
I also noticed that C++ does not come with an exponential operator within its math library.
Why must one alwa...
Catalan asked 23/9, 2010 at 3:24
5
Solved
I'm looking for an intuitive, real-world example of a problem that takes (worst case) exponential time complexity to solve for a talk I am giving.
Here are examples for other time complexities I h...
Cobelligerent asked 14/8, 2011 at 7:45
2
I'm trying to optimize a exponential fitting with scipy.optimize.curve_fit. But the result is no good . My code is :
def func(x, a, b, c):
return a * np.exp(-b * x) + c
# xdata and data is obtai...
Sweeten asked 27/4, 2020 at 5:29
0
I am trying to fit a exponential decay to some experimental data and using polyfit in numpy. Also, fit itself is weighted, that is every data point has some weight associated with it and the polyfi...
Menhaden asked 17/4, 2020 at 21:29
4
Solved
Which function grows faster, exponential (like 2^n, n^n, e^n etc) or factorial (n!)?
Ps: I just read somewhere, n! grows faster than 2^n.
Shade asked 23/7, 2012 at 6:23
6
Solved
How do you raise m to the power of n? I've searched for this everywhere. What I found was that writing m**n should work, but it doesn't. I'm using #!/bin/sh.
Steamboat asked 28/10, 2012 at 18:58
1
Solved
I'm trying to optimise an exponential objective function with GEKKO, but I don't know if the selected solver is the best one for these kind of problems.
Is the selected one a valid choice??
impo...
Weidner asked 20/8, 2019 at 13:27
4
When trying to calculate the exponential moving average (EMA) from financial data in a dataframe it seems that Pandas' ewm approach is incorrect.
The basics are well explained in the following lin...
Enliven asked 20/6, 2016 at 13:55
1
Solved
I am looking for for a fast-SSE-low-precision (~1e-3) exponential function.
I came across this great answer:
/* max. rel. error = 3.55959567e-2 on [-87.33654, 88.72283] */
__m128 FastExpSse (__m1...
Bloodstream asked 5/6, 2018 at 10:20
3
I have two plots. In the first plot the values for the y-axis go up to 30000. Therefor, Matlab is labeling the axis instead of '30000' with '3' and the 'x10^4' ABOVE the plot. In the second plot th...
Crichton asked 10/11, 2012 at 22:59
1
I need to confirm few thing related to pandas exponential weighted moving average function.
If I have a data set df for which I need to find a 12 day exponential moving average, would the method b...
Tissue asked 25/2, 2017 at 11:8
1
Solved
I've been trying to fit an exponential curve to my data using ggplot and geom_smooth. I'm trying to replicate the answer to a similar problem (geom_smooth and exponential fits)
but keep getting fol...
Koph asked 12/12, 2016 at 13:20
4
Solved
I want to plot an exponential distribution, something like this for example:
But I only know how to simulate a data frame that follow a exponential distribution and plot it.
data = data.frame(x...
Othella asked 21/9, 2015 at 23:5
1
Solved
I am new to R and I'm having some difficulty plotting an exponential curve using ggplot2. I have a set of data below.
DATA
X Y x y
1 0.6168111 37.20637 0.6168111 37.20637
2 0.5478698 24.17084 0....
Hatteras asked 19/5, 2016 at 16:27
1
Solved
I am using
SELECT CAST('5E-05' AS float)
result = 0.00005
and it is not working. Help.
https://www.google.co.in/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=5E-05+to+dec...
Gipps asked 28/4, 2016 at 12:14
3
Solved
My goal is simply to convert a string such as "1.2" to scientific notation without adding additional precision. The problem is that I always end up with superfluous 0s at the end of my output.
>...
Regazzi asked 6/4, 2011 at 20:38
2
Solved
Similar to this question Exponential Decay on Python Pandas DataFrame, I would like to quickly compute exponentially decaying sums for some columns in a data frame. However, the rows in the data fr...
Maulmain asked 23/10, 2015 at 3:38
1
Solved
I used the following code:
double pow = 3/7;
double num = 85;
System.out.println(Math.pow(num, pow));
Expected result:
6.71...
The output is
1.0
Any idea why?
Synagogue asked 26/4, 2015 at 11:29
1
Solved
I need to find a formula for exponential distribution of probability, but I don´t know how to find it. This formula has to have powerful statistical properties (it can´t throw away any result from ...
Pandemic asked 12/3, 2015 at 21:35
1
Solved
Does anyone know what this format line means in fortran:
FORMAT(1x,F7.0,2x,1P10E11.3)
I know the first part is one repetition of float number but I don't understand how many exponential data poi...
Iguanodon asked 26/6, 2014 at 19:26
1 Next >
© 2022 - 2024 — McMap. All rights reserved.