Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Data visualisation.

by Laurent_R (Parson)
on Jan 04, 2014 at 10:53 UTC ( #1069266=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Data visualisation.
in thread Data visualisation.

Well, I thought that providing code that actually attempts to solve the problem and that shows that the data is not valid would be useful to you and to others (even though it is only a partial validation, since it is looking at distances only to A, B and C, not to other points, but it is easy to extend it if needed).

It was fun anyway to try to solve the issue, in a subject-area quite far away from what I am doing daily with Perl. I enjoyed it. Thank you for that.


Comment on Re^3: Data visualisation.
Re^4: Data visualisation.
by BrowserUk (Pope) on Jan 04, 2014 at 11:44 UTC
    I thought that providing code that actually attempts to solve the problem ... would be useful to you and to others

    It is/will be.

    ... and that shows that the data is not valid ...

    However, the data is valid.

    There is nothing in the definition of the TSP that says that the "distances" involved have to be mappable to a flat 2D plane. They could be great circle distances from a sphere; or roads that follow coast and river and skirt hills. They don't even need to be symmetrical! (Flight distances from New York to London can be substantially shorter (or longer) than that from London to New York depending upon the direction & strength of the prevailing wind.)

    The desire to visualise data doesn't go away when the data itself is inconvenient.

    It was fun anyway to try to solve the issue, in a subject-area quite far away from what I am doing daily with Perl. I enjoyed it. Thank you for that.

    I'm glad for that; and for your help :)


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      I only meant not valid in the narrow framework of "the 'as the crow flies' distances into a set of 2D plane coordinates for plotting" set out in your original post. I fully appreciate that it surely can be valid in other contexts.
        I fully appreciate that it surely can be valid in other contexts.

        The point is, I set out to try and visualise any dataset that might come my way -- not just this specific dataset.

        I posted a dataset as an example of what I was trying to achieve; and this particular dataset because it is the one I was working with at the time and the smallest one to hand.

        And please note; I didn't ask, expect nor want anyone to write the code for me. I rarely ever use other people's code.

        Anyone writing code based upon their own assumptions is solving a different problem to the one I set out to tackle.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1069266]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2014-12-19 01:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (70 votes), past polls