Join the discussion
Question 1/51
Select the sequence of the developing machine learning applications
A) Analyze the input data
B) Prepare the input data
C) Collect data
D) Train the algorithm
E) Test the algorithm
F) Use It
A) Analyze the input data
B) Prepare the input data
C) Collect data
D) Train the algorithm
E) Test the algorithm
F) Use It
Correct Answer: D
Explanation
1 Collect data. You could collect the samples by scraping a website and extracting data: or you could get information from an RSS feed or an API. You could have a device collect wind speed measurements and send them to you, or blood glucose levels, or anything you can measure. The number of options is endless. To save some time and effort you could use publicly available data
2 Prepare the input data. Once you have this data, you need to make sure it's in a useable format. The format we'll be using in this book is the Python list. We'll talk about Python more in a little bit, and lists are reviewed in appendix A.
The benefit of having this standard format is that you can mix and match algorithms and data sources. You may need to do some algorithm-specific formatting here. Some algorithms need features in a special format, some algorithms can deal with target variables and features as strings, and some need them to be integers. We'll get to this later but the algorithm-specific formatting is usually trivial compared to collecting data.
3 Analyze the input data. This is looking at the data from the previous task. This could be as simple as looking at the data you've parsed in a text editor to make sure steps 1 and 2 are actually working and you don't have a bunch of empty values. You can also look at the data to see if you can recognize any patterns or if there's anything obvious^ such as a few data points that are vastly different from the rest of the set. Plotting data in one: two, or three dimensions can also help. But most of the time you'll have more than three features, and you can't easily plot the data across all features at one time. You could, however use some advanced methods we'll talk about later to distill multiple dimensions down to two or three so you can visualize the data.
4 If you're working with a production system and you know what the data should look like, or you trust its source: you can skip this step. This step takes human involvement, and for an automated system you don't want human involvement. The value of this step is that it makes you understand you don't have garbage coming in.
5 Train the algorithm. This is where the machine learning takes place. This step and the next step are where the "core" algorithms lie, depending on the algorithm.You feed the algorithm good clean data from the first two steps andextract knowledge or information. This knowledge you often store in a formatthat's readily useable by a machine for the next two steps.In the case of unsupervised learning, there's no training step because youdon't have a target value. Everything is used in the next step.
6 Test the algorithm. This is where the information learned in the previous step isput to use. When you're evaluating an algorithm, you'll test it to see how well itdoes. In the case of supervised learning, you have some known values you can use to evaluate the algorithm. In unsupervised learning, you may have to use some other metrics to evaluate the success. In either case, if you're not satisfied, you can go back to step 4, change some things, and try testing again. Often thecollection or preparation of the data may have been the problem, and you'll have to go back to step 1.
7 Use it. Here you make a real program to do some task, and once again you see if all the previous steps worked as you expected. You might encounter some new data and have to revisit steps 1-5.
1 Collect data. You could collect the samples by scraping a website and extracting data: or you could get information from an RSS feed or an API. You could have a device collect wind speed measurements and send them to you, or blood glucose levels, or anything you can measure. The number of options is endless. To save some time and effort you could use publicly available data
2 Prepare the input data. Once you have this data, you need to make sure it's in a useable format. The format we'll be using in this book is the Python list. We'll talk about Python more in a little bit, and lists are reviewed in appendix A.
The benefit of having this standard format is that you can mix and match algorithms and data sources. You may need to do some algorithm-specific formatting here. Some algorithms need features in a special format, some algorithms can deal with target variables and features as strings, and some need them to be integers. We'll get to this later but the algorithm-specific formatting is usually trivial compared to collecting data.
3 Analyze the input data. This is looking at the data from the previous task. This could be as simple as looking at the data you've parsed in a text editor to make sure steps 1 and 2 are actually working and you don't have a bunch of empty values. You can also look at the data to see if you can recognize any patterns or if there's anything obvious^ such as a few data points that are vastly different from the rest of the set. Plotting data in one: two, or three dimensions can also help. But most of the time you'll have more than three features, and you can't easily plot the data across all features at one time. You could, however use some advanced methods we'll talk about later to distill multiple dimensions down to two or three so you can visualize the data.
4 If you're working with a production system and you know what the data should look like, or you trust its source: you can skip this step. This step takes human involvement, and for an automated system you don't want human involvement. The value of this step is that it makes you understand you don't have garbage coming in.
5 Train the algorithm. This is where the machine learning takes place. This step and the next step are where the "core" algorithms lie, depending on the algorithm.You feed the algorithm good clean data from the first two steps andextract knowledge or information. This knowledge you often store in a formatthat's readily useable by a machine for the next two steps.In the case of unsupervised learning, there's no training step because youdon't have a target value. Everything is used in the next step.
6 Test the algorithm. This is where the information learned in the previous step isput to use. When you're evaluating an algorithm, you'll test it to see how well itdoes. In the case of supervised learning, you have some known values you can use to evaluate the algorithm. In unsupervised learning, you may have to use some other metrics to evaluate the success. In either case, if you're not satisfied, you can go back to step 4, change some things, and try testing again. Often thecollection or preparation of the data may have been the problem, and you'll have to go back to step 1.
7 Use it. Here you make a real program to do some task, and once again you see if all the previous steps worked as you expected. You might encounter some new data and have to revisit steps 1-5.
Add Comments
- Other Question (51q)
- Q1. Select the sequence of the developing machine learning applications A) Analyze the input d...
- Q2. Which of the following statement true with regards to Linear Regression Model?...
- Q3. Refer to the Exhibit. (Exhibit) In the Exhibit, the table shows the values for the input B...
- Q4. Which is an example of supervised learning?
- Q5. You are working on a problem where you have to predict whether the claim is done valid or ...
- Q6. Question-26. There are 5000 different color balls, out of which 1200 are pink color. What ...
- Q7. Which of the following could be features?
- Q8. A website is opened 3 times by a user. What is the probability of he clicks 2 times the ad...
- Q9. Suppose a man told you he had a nice conversation with someone on the train. Not knowing a...
- Q10. Scenario: Suppose that Bob can decide to go to work by one of three modes of transportatio...
- Q11. You are analyzing data in order to build a classifier model. You discover non-linear data ...
- Q12. Question-3: In machine learning, feature hashing, also known as the hashing trick (by anal...
- Q13. Regularization is a very important technique in machine learning to prevent overfitting. M...
- Q14. (Exhibit) The figure below shows a plot of the data of a data matrix M that is 1000 x 2. W...
- Q15. Which of the following are point estimation methods?...
- Q16. Digit recognition, is an example of.....
- Q17. In which phase of the data analytics lifecycle do Data Scientists spend the most time in a...
- Q18. Select the choice where Regression algorithms are not best fit...
- Q19. You are creating a model for the recommending the book at Amazon.com, so which of the foll...
- Q20. The method based on principal component analysis (PCA) evaluates the features according to...
- Q21. Reducing the data from many features to a small number so that we can properly visualize i...
- Q22. What describes a true property of Logistic Regression method?...
- Q23. Logistic regression is a model used for prediction of the probability of occurrence of an ...
- Q24. A data scientist wants to predict the probability of death from heart disease based on thr...
- Q25. What are the advantages of the Hashing Features?...
- Q26. A problem statement is given as below Hospital records show that of patients suffering fro...
- Q27. Suppose that we are interested in the factors that influence whether a political candidate...
- Q28. You are creating a regression model with the input income, education and current debt of a...
- Q29. Marie is getting married tomorrow, at an outdoor ceremony in the desert. In recent years, ...
- Q30. A data scientist is asked to implement an article recommendation feature for an on-line ma...
- Q31. You are working in a classification model for a book, written by HadoopExam Learning Resou...
- Q32. Which of the following true with regards to the K-Means clustering algorithm?...
- Q33. Support vector machines (SVMs) are a set of supervised learning methods used for...
- Q34. Which of the following problem you can solve using binomial distribution...
- Q35. Suppose you have been given a relatively high-dimension set of independent variables and y...
- Q36. Consider the following confusion matrix for a data set with 600 out of 11,100 instances po...
- Q37. You are working in a data analytics company as a data scientist, you have been given a set...
- Q38. Which of the following is a correct example of the target variable in regression (supervis...
- Q39. Select the statement which applies correctly to the Naive Bayes...
- Q40. A fruit may be considered to be an apple if it is red, round, and about 3" in diameter. A ...
- Q41. RMSE is a good measure of accuracy, but only to compare forecasting errors of different mo...
- Q42. What is the best way to evaluate the quality of the model found by an unsupervised algorit...
- Q43. You are building a classifier off of a very high-dimensiona data set similar to shown in t...
- Q44. In which of the scenario you can use the linear regression model?...
- Q45. Which of the following metrics are useful in measuring the accuracy and quality of a recom...
- Q46. Spam filtering of the emails is an example of
- Q47. RMSE measures error of a predicted
- Q48. Regularization is a very important technique in machine learning to prevent over fitting. ...
- Q49. A denote the event 'student is female' and let B denote the event 'student is French'. In ...
- Q50. Find out the classifier which assumes independence among all its features?...
- Q51. Suppose that the probability that a pedestrian will be tul by a car while crossing the toa...
[×]
Download PDF File
Enter your email address to download Databricks.Databricks-Certified-Professional-Data-Scientist.v2022-04-10.q51.pdf
