Questions tagged [decision-tree]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
21 views

Problems about Decision Tree

Do any one give me some hints to solve this problem. Explain is steps by steps.Thanks
0
votes
1answer
22 views

Longest palindrome substring in logarithmic runtime complexity

In a palindrome of size N, the amount of candidates for the longest palindrome is N^2. Therefore, the information theoretic lower bound (IBT) should be lg(N^2), which is equivalent to a runtime ...
-1
votes
0answers
12 views

Create a decision tree from a decision table

Create the optimal decision tree that is consistent with the table. Calculate the tree's medium length and its entropy. $$ \begin{array}{|c|c|c|c|c|} \hline \text{Question} & 0.2 & 0.4 &...
0
votes
1answer
22 views

Decision tree and information-theoretic lower bound

Consider the following problem : ...
0
votes
0answers
16 views

Finding the lower bound through decision trees

One way to find the lower bound of a comparison based algorithm is to use the decision tree. U have two questions regarding this method : 1) We know that the height of the tree is path that connects ...
0
votes
2answers
32 views

Lower bound and worst case scenario

We know that the lower bound is the minimum amount of work needed to solve a problem. So for a given problem say x it has the best algorithm ( the most efficient algorithm to solve this problem ) say ...
1
vote
0answers
56 views

How to convert a decision table to a consistent decision tree?

I am working from presentation from school, but I am not able to understand how they go from one step to the other. This is the decision table that I have. From it, the first thing we have to do is ...
0
votes
0answers
16 views

Decision tree selection by error rate (What does this mean?)

I am asked to select a attribute based on it's error rate Could someone please explain me this? Let's say I have this data for example reasons For a attribut 3 Yes that classifies as + 1 Yes ...
0
votes
0answers
22 views

Decision tree: how to decide the next node?

I have to decide for which value of "Klasse" How do i do it? I know that I have to decide on maximum information gain So first off I've calculated the entropy of "Klasse" That is E(Klasse)= -(3/11*...
0
votes
0answers
87 views

vc dimension of binary decision trees of depth d?

how do i find the vc dimension of the hypothesis space H ,of the binary decision trees of depth d-2? will the hypothesis space H consist of{0,1} and the vc dimension is the number of ways in which we ...
3
votes
2answers
78 views

In information theory, why is the entropy measured in units of bits?

In information theory, we have the quantity "information". Suppose we have some discrete random variable $X$, that can take values $\{{a,b,c\}}$ with corresponding probability distribution $\{{\frac{...
1
vote
1answer
42 views

How to handle missing attribute's value with ID3 algorithm?

i am working with ID3 algorithm, and i know that classic ID3 basically can handle missing data. But i am trying to code this algorithm, so what should i do if there is missing attribute's value in ...
0
votes
0answers
17 views

Same Result of KNN and Decision Tree

Given a decision tree, is it possible to find a KNN classifier giving the exact same classification?
2
votes
0answers
86 views

Decision Tree for searching an element in an n*n matrix

I just learnt decision tree concept in class. I have a question for homework. It says to prove that for searching an element in n*n matrix the lower bound is logn and prove it using decision tree. My ...
1
vote
1answer
31 views

Lower bound for merging $m$ sorted arrays (decision tree leaves count - permutations)

I need some help understanding how to calculate the lower bound on the time complexity of merging $m$ sorted arrays of length $n$. The bound should be $nm \lg(m)$. I need to prove this using a ...
0
votes
0answers
12 views

Can an optimal global classification tree be constructed from trees for single categories?

Suppose we have a set of objects, each belonging to one of the disjoint categories $c_1, ... , c_n$. Suppose further that for every single category $c_i$ there is a corresponding set $T_i$ that ...
0
votes
1answer
126 views

How to calculate information gain in ID3?

I am trying to implement a decision tree classifier using ID3 algorithm. According to Aritificial Intelligence - A Modern Approach, information gain of attribute A ...
0
votes
0answers
296 views

Random Forest - Conditional Permutation Importance

I've been looking for the most unbiased algorithm to find out the feature importances in random forests if there are correlations among the input features. Besides the most commonly preferred ...
3
votes
1answer
34 views

Finding maximum takes at least $\lceil n/2 \rceil$ comparisons

We are given an array $A$ with $n$ elements, $n \in \mathbb{N}$ and all elements are in the set $\{1,2,3, \cdots, n \}$. I want to prove that finding the maximum in $A$ (that is, outputting the index ...
2
votes
1answer
18 views

decision trees and numeric attributes

I have been reading a book about Decision Trees and it caught my attention the following part: In case of numeric attributes, decision trees can be geometrically interpreted as a collection of ...
2
votes
0answers
28 views

Classify/Distinguish between 8008 binary grids, with 13 queries

I have $8008$ binary grids of size $6 \times 10$ (they are all grids with the property described below), which I want to distinguish between with at most $13$ queries. A query will determine if the ...
1
vote
0answers
32 views

Attribute Selection for minimum number of clusters

I have a table consisting of some headers $P, Q, R, S$ (shown in blue in Table 1). According to the headers, the column $T$ is populated using some predefined logic. Now, any of the headers $P,Q,R,S$ ...
1
vote
1answer
41 views

What do Arora and Barak mean by $x|_S$ in their definition of certificate complexity?

I am having much trouble understanding the following definition (of certificate complexity - for decision trees) from Arora and Barak's book Computational Complexity: A Modern Approach. Perhaps there ...
2
votes
0answers
29 views

Avoiding collisions in space and time

Say I have an image, represented as a 2D array of pixel values. Also, say I have a set of points on that image where each has a current (x, y) position and a Destination (x, y) associated with it. I ...
1
vote
1answer
2k views

What machine learning training algorithm to use for this kind of string dataset?

I am working on a project where I have to train the following data-set using machine learning algorithm. One of my friend suggested decision tree, but I have never seen a situation where independent ...
2
votes
1answer
50 views

Decision Tree Learning Deviation - Russell and Norvig

I am working through the Russell and Norvig AI book and came across the following on the top of page 706. The section concerns Decision Tree pruning and testing a given attribute against the null ...
2
votes
1answer
603 views

What is the main difference between binary decision tree and binary decision diagram(BDD)?

What is the main difference between binary decision tree and binary decision diagram(BDD)? From what I can tell I only understand that a binary decision diagram is a more compact representation ...
1
vote
1answer
36 views

Connected Components - Linear Decision Trees

What does connected components mean in the context of non-graphs? Graphs have vertices and the vertices are connected by edges. Hence, you can build a spanning tree (for example) by systematically ...
0
votes
1answer
37 views

Decision tree complexity of finding parameters of “zigzag” array

I am currently studying for a test on data structures. I have to find the lower and upper bounds for the following problem: An array is called a zigzag array if there are $1 \leq i \leq j \leq n$ ...
1
vote
1answer
112 views

Decision tree complexity of deciding whether array is “zigzag”

I am currently studying for a test on data structures. I have to find the lower and upper bounds for the following problem: Input: an array with $n$ numbers. Output: boolean answer for the ...