Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

In your own words, describe the Decision Tree algorithm. Explain how we use binary trees to make predictions on new data.

Need help on following question:

 In your own words, describe the Decision Tree algorithm. Explain how we use binary trees to make predictions on new data.

2 Create the function DecTree that will implement decision tree. Your function should accept input of decimal string (list) of repeated entries. Apply binary decision tree to find repetitions of each decimal digit in the string.   

3 Let's have n disks of graduated sizes: D1, D2, D3,... Dn

4 In addition, let's have a 3 pegs, on which those disk could be stacked on: 1, 2, 3

5 If we know that all the disks are stacked on the peg 1, where the top disk is the smallest one while the bottom is the biggest, implement the functionalities that will do the following:

6 Move all the disks from the peg 1 to the peg 3, given that only one disk can be moved at a time and that no disk may be placed on top of a smaller one.   

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question