Represent multiple variables to a single point (x,y)?

Discussion in 'Computing, Science, and Technology' started by cOde0010Joy, Apr 8, 2010.

  1. cOde0010Joy

    cOde0010Joy Member

    Joined:
    Apr 26, 2009
    Messages:
    451
    Likes Received:
    0
    Device:
    iPad 2 (White)
    Hey, I have a project that has multiple instances of objects with 6 distinct features(variables). I need to perform k-means clustering on them. The problem is, k-means clustering requires a point (x,y) / a 2d representation to work and I have like 6: 5 of which are float/double and 1 is a string (label).

    Any help would be greatly appreciated.

    Please Register or Log in to view images

  2. mattym

    mattym New Member

    Joined:
    Sep 22, 2007
    Messages:
    786
    Likes Received:
    3
    Device:
    iPhone 4 (Black)
    Ok, you left out way too much info.

    A copy of the assignment would help, also what programming language are you using. Im guessing C++ as you used the term "object". I think i know what you need to do, but a little more info would help.
  3. cOde0010Joy

    cOde0010Joy Member

    Joined:
    Apr 26, 2009
    Messages:
    451
    Likes Received:
    0
    Device:
    iPad 2 (White)
    Ok, so the project requires me to identify emotion from a sound file given some training data(from a .csv file) with 6 features, namely: min pitch,ave pitch,max pitch, duration and f0(don't know what this means) and emotion label. I am to extract the features of the sound file and compare it to the clustered training data(using k-means clustering). I'm using java right now.

Share This Page