Results 1 to 3 of 3

Math Help - Best way to measure the accuracy of result of function?

  1. #1
    Newbie
    Joined
    Jun 2011
    Posts
    2

    Best way to measure the accuracy of result of function?

    What is the best way to measure the accuracy of function, which gives set of elements as output and we know the desired set of elements.

    Suppose,
    Actual expected output = {a1, a3}
    Experimental output = {a1, a5, a6}

    The accuracy measure should consider the number of correct elements and also the number of wrong elements.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    May 2010
    Posts
    1,028
    Thanks
    28

    Re: Best way to measure the accuracy of result of function?

    What options have you thought about?

    something very simple might be "number of correct elements - number of wrong elements". Higher numbers indicate better performance.


    If you want something more sophisticated I suggest you think about what kinds of errors are most important. For example if the function gives an answer that is 100 units too big, is that more/less/equally significant than another function which gives 2 wrong answers which are 50 units too big?
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Jun 2011
    Posts
    2

    Re: Best way to measure the accuracy of result of function?

    Quote Originally Posted by SpringFan25 View Post
    What options have you thought about?

    something very simple might be "number of correct elements - number of wrong elements". Higher numbers indicate better performance.


    If you want something more sophisticated I suggest you think about what kinds of errors are most important. For example if the function gives an answer that is 100 units too big, is that more/less/equally significant than another function which gives 2 wrong answers which are 50 units too big?
    Thank you. I'm also thinking in the same lines. I think below one works,
    Error = (no.of correct ones missing + no.of wrong ones appear in result) / (no.of items).

    ex, suppose set of elements {a1, a2, a3, a4, a5}
    correct items = {a1, a4}
    wrong items = {a2, a3, a5}
    then if function returned {a1, a3, a5}, then error = (1+2)/5 = 0.6 or 60%
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 2
    Last Post: February 7th 2014, 10:22 AM
  2. Show set function is a measure
    Posted in the Differential Geometry Forum
    Replies: 4
    Last Post: November 12th 2011, 01:53 PM
  3. [SOLVED] Result of a function (complex numbers)
    Posted in the Differential Geometry Forum
    Replies: 3
    Last Post: March 7th 2011, 12:15 PM
  4. Replies: 3
    Last Post: December 11th 2010, 01:04 AM
  5. Replies: 7
    Last Post: September 14th 2009, 02:54 PM

Search Tags


/mathhelpforum @mathhelpforum