About 2,380,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. 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.

  3. 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 …

  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. How to calculate logarithms in java? - Stack Overflow

    Sep 22, 2014 · I'm trying to write a Java program that can take values and put them into a formula involving log 1/3. How can I calculate log 1/3 in Java?

  9. math - Convert Linear scale to Logarithmic - Stack Overflow

    Oct 20, 2013 · You asked to convert linear to logarithmic, and you just plug the numbers into the formula. In this case, the linear input of 5.00 would become 1.02 on the logarithmic scale.

  10. Python using curve_fit to fit a logarithmic function

    Jan 18, 2020 · The X data values sometimes need to be shifted a bit for this equation, and when I tried this it worked rather well. Here is a graphical Python fitter using your data and an X-shifted equation …