1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help me how to go about this

Discussion in 'Java' started by maintain_secrecy, Nov 12, 2008.

  1. maintain_secrecy

    maintain_secrecy New Member

    Nov 12, 2008
    Likes Received:
    Trophy Points:
    well guyz..
    I have to implement an algorithm and it works as follows:

    we need to take some different sized data sets ( numerical) , which has some objects and attributes
    The algorithm first starts off with an empty set and it adds attributes thereafter
    The dependency of each attribute is calculated. It is given by dividing the absolute value of those attributes which are certainly contained in the universal set over the absolute value of all the attributes ( or the universal set ) in the data set taken
    Once the dependency is calculated for every attribute, the best candidate is chosen which has the highest dependency. Again the process is repeated and it continues until the dependency is equal to the consistency of the data set ( value = 1)

    Well.. this is how the algorithm works..
    Can someone tell me about how to go about starting or implementing this ?
    (I'm new to the coding world.. so, if someone plz throw their ideas, ill be grateful)

    raj chopra
  2. xpi0t0s

    xpi0t0s Mentor

    Aug 6, 2004
    Likes Received:
    Trophy Points:
    Senior Support Engineer
    Sounds straight forward enough. How far have you got, and where are you stuck?
    If you post code, please use [ code ] and [ /code ] tags (without spaces) so that the code formatting is preserved.
    Your course should have covered how to start writing code and some of the data structures necessary to solve this; it would be a very poor course where they said "welcome to the Java programming course, here's your first task and now I'm off for a coffee".

Share This Page