Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   Help me how to go about this (http://www.go4expert.com/forums/help-t15120/)

maintain_secrecy 12Nov2008 20:42

Help me how to go about this
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

xpi0t0s 17Nov2008 20:59

Re: Help me how to go about this
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".

All times are GMT +5.5. The time now is 07:33.