Friday, 10 February 2012

ID3 Code With Missing Value Attributes Handling

The algorithm ID3 (Quinlan) uses the method top-down induction of decision trees. Given a set of classified examples a decision tree is induced, biased by the information gain measure, which heuristically leads to small trees. The examples are given in attribute-value representation. The set of possible classes is finite. Only tests, that split the set of instances of the underlying example languages depending on the value of a single attribute are supported.

Tuesday, 18 October 2011

android : Open folder with default application using Intents without Mime Types

Two ways to do do so.
1)
                String path="File Path";
                Intent intent = new Intent();
                intent.setAction(android.content.Intent.ACTION_VIEW);
                File file = new File(path);
               
                intent.setData(Uri.fromFile(file));
               
                startActivity(intent);

Monday, 3 October 2011