Results 1 to 2 of 2

Thread: Best fit curve for randomized data

  1. #1

    Thread Starter
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Best fit curve for randomized data

    I'm writing an evolution algorithm program to find best fit curves for random data sets.

    This picture should give you an idea of what i'm doing...


    It shows a randomised set of test data that is based on a unknown 3rd order polynomial. The red line is what I want my algorithm to generate, using a genetic algorithm.

    So i have something to aim for, how long typically would it take a decent traditional algorithm to find a best fit curve for such data (given 1000 points of test data). I plan to support up to 11th order polynomials! Are we talking minutes? Seconds? Milliseconds? Hours?

    I know this is a bit vague, but I'm hoping someone has some experience in this area and could impart some wisdom.
    I don't live here any more.

  2. #2
    Lively Member
    Join Date
    Apr 2003
    Location
    Georgetown, Texas
    Posts
    114
    I wrote such a program, but for a smaller number of data points, on the order of 24. My program supported polynomial solutions up to the 12th degree. For this program, run seems to be
    "instantaneous". Good luck with yours!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width