Question

Hi ! I am doing Implementation a Machine Learning Model and Test the Training Algorithm on...

Hi ! I am doing Implementation a Machine Learning Model and Test the Training Algorithm on Data. I chose Decision tree as my algorithm. I need to make sure if my coding is right or not/

I am also finding difficult to test on my data. Any help would be appreciated.

Thank you !

Homework Answers

Answer #1

Machine learning as you know is divided into three types of learning i.e Supervised learning , Unsupervised learning and Reinforcement learning.

The algorithm you've choosen is a part of Regression ( Supervised learning ),and you know supervised learning has also two parts Regression and classification.

  • A supervised learning algorithm learns from labeled training data,helps you to predict outcomes for unseen data.
  • It takes direct feedback to check the prediction ir right or wrong.
  • It predicts the output
  • It needs supervision to train the data model, without train model you will not be able to predict the output.
  • it can give you accurate result.
  • it can be number or categorised,if you are predicting stock market then it is number and if your are filtering spam from email then it is category.
  • On the other hand unsupervised learning algo are trained using unlabeled data.
  • It helps i finding the hidden pattern and also not provide any feedback.
  • It doesn't want any supervision to train data model.

In my thought you've taken a write decision to choose the supervised learning algo i.e decision tree as it allows you to collect data or produce a data output from previous experience,it helps you to optimize performance criteria using experience and used to solve variuos types of real world computation problem.

There will be some difficulties while testing on your data as you said, the following might be the reasons : -

  • Insufficient Data
  • Nonrepresentative Training Data
  • Poor quality data
  • Overfitting or underlifting the Data
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
I am trying to figure out how to find the test statistic using Excel. I understand...
I am trying to figure out how to find the test statistic using Excel. I understand the formula- that I need to use parameter 'p' and 'normal distribution' ….z= sample proportion and minus the 'population portion' then we divide p*q and divide n -sample size. I understand how to populate the data in the formula. I just can't figure out how to solve this using Excel. (my only option with my class) I need step by step directions if possible....
I'm doing a right tailed test for the population mean. I am using 5% signifigance, I...
I'm doing a right tailed test for the population mean. I am using 5% signifigance, I know the population standard deviation, and my test statistic is 1.88. What is the p-value? Would you reject the null hypothesis?
Hi! i need to calculate the Ka for acetic acid from an experiment using an ice...
Hi! i need to calculate the Ka for acetic acid from an experiment using an ice diagram but my Ka value keeps coming up negative. I'm using the pH of the acetic acid before titration with NaOH (pH = 2.96) to get [H3o+] and [OAc] to equal 10^(-2.96) which is 1.1x10-3. And the moles of acid in my original flask was 0.004 HOAc, so can someone show me the calculations if I am doing them wrong or help me figure...
I have a linear regression project for class and am having trouble doing the T-test. I...
I have a linear regression project for class and am having trouble doing the T-test. I gathered data and now I'm just wondering how I would determine my hypothesis. Is it based on a p-value, do I have to find the t-statistic? I'm confused as in given problems the hypothesis is given? I know the level of significance is .10, so would that be my hypothesis (ho: beta =.10)?
Should you be able to see a bacteriophage on an inoculation loop? For class, I am...
Should you be able to see a bacteriophage on an inoculation loop? For class, I am working on isolating a bacteriophage and I feel at times confused on what I should be expecting. I labeled the clear zones that are suspected bacteriophage and when I rested my inoculation loop on top of the area, I see nothing and feel nothing (I don't know what I expected, but it just makes me apprehensive that I'm not doing this right?) I, then,...
***please use rstudio and describe how to answer this*** I am not learning to do this...
***please use rstudio and describe how to answer this*** I am not learning to do this by hand - a handwritten answer does not help me in the slightest. I need to know how do a hypothesis test in r but my professor did a very poor job of explaining it. An Office of Admission document at a certain university claims that 54.3% of their undergraduates are female. To test this claim, a random sample of 220 undergraduates was selected....
HI i am having trouble with my post lab report. It involved Delta H, specific heat...
HI i am having trouble with my post lab report. It involved Delta H, specific heat and other things i am having trouble calculating. I have uploaded the images onto a google document https://docs.google.com/document/d/1VQi5tjHzD-mmVQqBvdczQdkBRWSPpV7N5vY2xlL_Gmw/edit?usp=sharing I AM ONLY ASKING YOU TO complete the questions on PAGE 4 of the google doc. I WOULD HIGHLY APPRECIATE IF IF YOU WOULD SHOW STEP BY STEP, AND EXACTLY WHAT NUMBERS REPRESENT WHICH VARIABLES. Please help me out, I am really struggling in my chemistry...
Looking at my answers, I was am always off buy about range of .1 to .4...
Looking at my answers, I was am always off buy about range of .1 to .4 from the correct answer that is stated. I am having a really tough time trying to figure out how to get my number to be exactly like what is shown as correct so I need a little help with figuring out what I am doing wrong. Here is an example of a question I just cant seem to figure out. I'll show all my...
Hi, I am trying to create an XML JTree viewer using the DOM parser instead of...
Hi, I am trying to create an XML JTree viewer using the DOM parser instead of the SAX parser, I am having trouble changing my code in order to utilize the DOM parser to extract the XML data into the tree structure. Would you be able to explain what changes should be made to the code in order to use the DOM parser instead of the SAX parser? // Java Packages //      import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import...
If you run summary() command on a result of linear model fitting returned by lm(), you...
If you run summary() command on a result of linear model fitting returned by lm(), you will see a column Pr(>t). You could guess that it is a result of some t-test. How does it apply here? So far we have seen t-tests in the settings of testing sample locations. The ingredients were: 1) null hypothesis: in earlier cases we looked into the null that stated that two samples came from the distribution(s) with the same mean(s); 2) test statistic:...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT