About 3,640,000 results
Open links in new tab
  1. numpy - How to do exponential and logarithmic curve fitting in Python ...

    Aug 8, 2010 · I have a set of data and I want to compare which line describes it best (polynomials of different orders, exponential or logarithmic). I use Python and Numpy and for polynomial fitting there …

  2. How to write a simple logarithm function without math.h?

    Apr 11, 2023 · Yes, fairly simple, but as a challenge, I want to not use the log() functions themselves though I'm still relying on <math.h> 's functions. Question: What's a simple form of making a …

  3. Rank the functions in increasing order of growth - Stack Overflow

    Jan 27, 2023 · F3 (n) - Logarithmic functions grow slower than polynomial functions, and in general, exponential functions with larger bases grow faster than those with smaller bases.

  4. python - Plotting the logarithm of a function - Stack Overflow

    Aug 23, 2023 · Is your problem calculating the logarithm base 10 or plotting the values? If the latter, how is that different from plotting anything else? Also, your f(x,a) is a function of two values. Do you want …

  5. Can I make a logarithmic regression on sklearn? - Stack Overflow

    Sep 23, 2017 · I have search a lot and can't find that, only linear regression, polynomial regression, but no logarithmic regression on sklearn. I need to plot the curve and then make predictions with that …

  6. Why the cost function of logistic regression has a logarithmic expression?

    Oct 7, 2015 · My question is what is the base of putting the logarithmic expression for cost function .Where does it come from? i believe you can't just put "-log" out of nowhere.

  7. algorithm - Big-O Notation regarding logarithms - Stack Overflow

    Sep 12, 2012 · I got asked an interview question that wanted me to discern the Big-O notation of several logarithmic functions. The functions were as follows: f(x) = log5(x) f(x) = log(x5) f(x) = log(6*log x) ...

  8. Python using curve_fit to fit a logarithmic function

    Jan 18, 2020 · I'm trying to fit a log curve using curve_fit, assuming it follows Y=a*ln(X)+b, but the fitted data still looks off. Right now I'm using the following code: from scipy.optimize import curve_fit ...

  9. numpy - Python Logarithm Function - Stack Overflow

    May 23, 2014 · I'm looking for an example of operations with logarithms in Python. I've tried with sympy and numpy and I still can't do what I want. For example, for an input like this: log(x+1)+log(4 …

  10. Trying to find an easy way to recognize when a function is logarithmic ...

    Oct 9, 2021 · I'm trying to find the relationship between y coordinates. The relationship between x and y will be specific to the logarithmic function, but there is a specific pattern that the y coordinates follow …