Get Latest [Oct-2021] Conduct effective penetration tests using ITExamSimulator Databricks-Certified-Professional-Data-Scientist
Penetration testers simulate Databricks-Certified-Professional-Data-Scientist exam PDF
NEW QUESTION 43
Which of the following are point estimation methods?
- A. MMSE
- B. MLE
- C. MAP
Answer: A,B,C
Explanation:
Explanation
Point estimators
* minimum-variance mean-unbiased estimator (MVUE), minimizes the risk (expected loss) of the squared-error loss-function.
* best linear unbiased estimator (BLUE)
* minimum mean squared error (MMSE)
* median-unbiased estimator, minimizes the risk of the absolute-error loss function
* maximum likelihood (ML)
* method of moments, generalized method of moments
NEW QUESTION 44
Which of the following is a Continuous Probability Distributions?
- A. Negative binomial distribution
- B. Normal probability distribution
- C. Binomial probability distribution
- D. Poisson probability distribution
Answer: B
NEW QUESTION 45
What is one modeling or descriptive statistical function in MADlib that is typically not provided in a standard relational database?
- A. Variance
- B. Expected value
- C. Quantiles
- D. Linear regression
Answer: D
NEW QUESTION 46
Refer to the exhibit.
You are building a decision tree. In this exhibit, four variables are listed with their respective values of info-gain.
Based on this information, on which attribute would you expect the next split to be in the decision tree?
- A. Income
- B. Credit Score
- C. Gender
- D. Age
Answer: B
NEW QUESTION 47
Regularization is a very important technique in machine learning to prevent over fitting. And Optimizing with a L1 regularization term is harder than with an L2 regularization term because
- A. The second derivative is not constant
- B. The constraints are quadratic
- C. The objective function is not convex
- D. The penalty term is not differentiate
Answer: D
Explanation:
Explanation
Regularization is a very important technique in machine learning to prevent overfitting. Mathematically speaking, it adds a regularization term in order to prevent the coefficients to fit so perfectly to overfit. The difference between the L1 and L2 is just that L2 is the sum of the square of the weights, while L1 is just the sum of the weights.
Much of optimization theory has historically focused on convex loss functions because they're much easier to optimize than non-convex functions: a convex function over a bounded domain is guaranteed to have a minimum, and it's easy to find that minimum by following the gradient of the function at each point no matter where you start. For non-convex functions, on the other hand, where you start matters a great deal; if you start in a bad position and follow the gradient, you're likely to end up in a local minimum that is not necessarily equal to the global minimum.
You can think of convex functions as cereal bowls: anywhere you start in the cereal bowl, you're likely to roll down to the bottom. A non-convex function is more like a skate park: lots of ramps, dips, ups and downs. It's a lot harder to find the lowest point in a skate park than it is a cereal bowl.
NEW QUESTION 48
RMSE is a good measure of accuracy, but only to compare forecasting errors of different models for a______, as it is scale-dependent.
- A. Among all the variables
- B. Between Variables
- C. Particular Variable
- D. All of the above are correct
Answer: C
Explanation:
Explanation : The RMSE serves to aggregate the magnitudes of the errors in predictions for various times into a single measure of predictive power. RMSE is a good measure of accuracy, but only to compare forecasting errors of different models for a particular variable and not between variables, as it is scale-dependent.
NEW QUESTION 49
What type of output generated in case of linear regression?
- A. Values between 0 and 1
- B. Any of the Continuous and Discrete variable
- C. Discrete Variable
- D. Continuous variable
Answer: D
Explanation:
Explanation
Linear regression model generate continuous output variable.
NEW QUESTION 50
Let's say you have two cases as below for the movie ratings
1. You recommend to a user a movie with four stars and he really doesn't like it and he'd rate it two stars
2. You recommend a movie with three stars but the user loves it (he'd rate it five stars). So which statement correctly applies?
- A. In both cases, the contribution to the RMSE, could varies
- B. In both cases, the contribution to the RMSE is the same
- C. None of the above
- D. In both cases, the contribution to the RMSE is the different
Answer: B
NEW QUESTION 51
In which of the following scenario we can use naTve Bayes theorem for classification
- A. Classify whether a given person is a male or a female based on the measured features. The features include height, weight and foot size.
- B. To identify whether a fruit is an orange or not based on features like diameter, color and shape
- C. To classify whether an email is spam or not spam
Answer: A,B,C
Explanation:
Explanation
naive Bayes classifiers have worked quite well in many real-world situations, famously document classification and spam filtering. They requires a small amount of training data to estimate the necessary parameters
NEW QUESTION 52
Select the correct statement which applies to K-Nearest Neighbors
- A. Require less memory
- B. No Assumption about the data
- C. Computationally expensive
- D. Works with Numeric Values
Answer: B,C,D
Explanation:
Explanation : k-Nearest Neighbors
Pros: High accuracy insensitive to outliers, no assumptions about data
Cons: Computationally expensive, requires a lot of memory
Works with: Numeric values, nominal values
NEW QUESTION 53
Projecting a multi-dimensional dataset onto which vector has the greatest variance?
- A. first eigenvector
- B. second principal component
- C. second eigenvector
- D. not enough information given to answer
- E. first principal component
Answer: E
Explanation:
Explanation
The method based on principal component analysis (PCA) evaluates the features according to the projection of the largest eigenvector of the correlation matrix on the initial dimensions, the method based on Fisher's linear discriminant analysis evaluates. Them according to the magnitude of the components of the discriminant vector.
The first principal component corresponds to the greatest variance in the data, by definition. If we project the data onto the first principal component line, the data is more spread out (higher variance) than if projected onto any other line, including other principal components.
NEW QUESTION 54
Suppose you have been given two Random Variables X and Y, whose joint distribution is already known, the marginal distribution of X is simply the probability distribution of X averaging over information about Y.
It is the probability distribution of X when the value of Y is not known. So how do you calculate the marginal distribution of X
- A. This is typically calculated by integrating(ln case of continuous variable) the joint probability distribution over Y.
- B. This is typically calculated by summing the joint probability distribution over Y.
- C. This is typically calculated by summing (In case of discrete variable) the joint probability distribution over Y
- D. This is typically calculated by integrating the joint probability distribution over Y
Answer: A,B,C,D
Explanation:
Explanation
Given two random variables X and Y whose joint distribution is known, the marginal distribution of X is simply the probability distribution of X averaging over information about Y.
It is the probability distribution of X when the value of Y is not known. This is typically calculated by summing or integrating the joint probability distribution over Y. ' For discrete random variables, the marginal probability mass function can be written as Pr(X = x). This is Text Description automatically generated with low confidence
where Pr(X = x,Y = y) is the joint distribution of X and Y, while Pr(X = x|Y = y) is the conditional distribution of X given Y In this case, the variable Y has been marginalized out.
Bivariate marginal and joint probabilities for discrete random variables are often displayed as two-way tables.
Similarly for continuous random variables, the marginal probability density function can be written as pX(x). This is Diagram Description automatically generated with medium confidence
where pX.Y(x.y) gives the joint distribution of X and Y while pX|Y(x|y) gives the conditional distribution for X given Y Again: the variable Y has been marginalized out.
Note that a marginal probability can always be written as an expected value:
Text, letter Description automatically generated
Intuitively, the marginal probability of X is computed by examining the conditional probability of X given a particular value of Y, and then averaging this conditional probability over the distribution of all values of Y This follows from the definition of expected value, i.e. in general A picture containing diagram Description automatically generated
NEW QUESTION 55
You are building a classifier off of a very high-dimensiona data set similar to shown in the image with 5000 variables (lots of columns, not that many rows). It can handle both dense and sparse input. Which technique is most suitable, and why?
- A. Naive Bayes, because Bayesian methods act as regularlizers
- B. Logistic regression with L1 regularization, to prevent overfitting
- C. k-nearest neighbors, because it uses local neighborhoods to classify examples
- D. Random forest because it is an ensemble method
Answer: B
Explanation:
Explanation
Logistic regression is widely used in machine learning for classification problems. It is well-known that regularization is required to avoid over-fitting, especially when there is a only small number of training examples, or when there are a large number of parameters to be learned. In particular L1 regularized logistic regression is often used for feature selection, and has been shown to have good generalization performance in the presence of many irrelevant features. (Ng 2004; Goodman 2004) Unregularized logistic regression is an unconstrained convex optimization problem with a continuously differentiate objective function. As a consequence, it can be solved fairly efficiently with standard convex optimization methods, such as Newton's method or conjugate gradient. However, adding the L1 regularization makes the optimization problem com-putationally more expensive to solve. If the L1 regulariza-tion is enforced by an L1 norm constraint on the parameLogistic regression is a classifier and L1 regularization tends to produce models that ignore dimensions of the input that are not predictive. This is particularly useful when the input contains many dimensions, k-nearest neighbors classification is also a classification technique, but relies on notions of distance. In a high-dimensional space, most every data point is "far" from others (the curse of dimensionality) and so these techniques break down. Naive Bayes is not inherently regularizing. Random forests represent an ensemble method; but an ensemble method is not necessarily more suitable to high-dimensional data.
Practically, I think the biggest reasons for regularization are 1) to avoid overfitting by not generating high coefficients for predictors that are sparse. 2) to stabilize the estimates especially when there's collinearity in the data.
1) is inherent in the regularization framework. Since there are two forces pulling each other in the objective function, if there's no meaningful loss reduction, the increased penalty from the regularization term wouldn't improve the overall objective function. This is a great property since a lot of noise would be automatically filtered out from the model. To give you an example for 2), if you have two predictors that have same values, if you just run a regression algorithm on it since the data matrix is singular your beta coefficients will be Inf if you try to do a straight matrix inversion. But if you add a very small regularization lambda to it, you will get stable beta coefficients with the coefficient values evenly divided between the equivalent two variables. For the difference between L1 and L2, the following graph demonstrates why people bother to have L1 since L2 has such an elegant analytical solution and is so computationally straightforward. Regularized regression can also be represented as a constrained regression problem (since they are Lagrangian equivalent). The implication of this is that the L1 regularization gives you sparse estimates. Namely, in a high dimensional space, you got mostly zeros and a small number of non-zero coefficients. This is huge since it incorporates variable selection to the modeling problem. In addition, if you have to score a large sample with your model, you can have a lot of computational savings since you don't have to compute features(predictors) whose coefficient is 0. I personally think L1 regularization is one of the most beautiful things in machine learning and convex optimization. It is indeed widely used in bioinformatics and large scale machine learning for companies like Facebook, Yahoo, Google and Microsoft.
NEW QUESTION 56
You are analyzing data in order to build a classifier model. You discover non-linear data and discontinuities that will affect the model. Which analytical method would you recommend?
- A. Logistic Regression
- B. Linear Regression
- C. ARIMA
- D. Decision Trees
Answer: D
Explanation:
Explanation
A decision tree is a flowchart-like structure in which each internal node represents a "test" on an attribute (e.g.
whether a coin flip comes up heads or tails), each branch represents the outcome of the test and each leaf node represents a class label (decision taken after computing all attributes). The paths from root to leaf represents classification rules.
In decision analysis a decision tree and the closely related influence diagram are used as a visual and analytical decision support tool, where the expected values (or expected utility) of competing alternatives are calculated.
A decision tree consists of 3 types of nodes:
1. Decision nodes - commonly represented by squares
2. Chance nodes - represented by circles
3. End nodes - represented by triangles
Decision trees are commonly used in operations research, specifically in decision analysis, to help identify a strategy most likely to reach a goal. If in practice decisions have to be taken online with no recall under incomplete knowledge, a decision tree should be paralleled by a probability model as a best choice model or online selection model algorithm. Another use of decision trees is as a descriptive means for calculating conditional probabilities.
Decision trees, influence diagrams, utility functions, and other decision analysis tools and methods are taught to undergraduate students in schools of business, health economics, and public health, and are examples of operations research or management science methods.
NEW QUESTION 57
You are working as a data science consultant for a gaming company. You have three member team and all other stake holders are from the company itself like project managers and project sponsored, data team etc.
During the discussion project managed asked you that when can you tell me that the model you are using is robust enough, after which step you can consider answer for this question?
- A. Data Preparation
- B. Discovery
- C. Operationalize
- D. Model building
- E. Model planning
Answer: D
Explanation:
Explanation
To answer whether the model you are building is robust enough or not you need to have answer below questions at least
- Model is performing as expected with the test data or not?
- Whatever hypothesis defined in the initial phase is being tested or not?
- Do we need more data?
- Domain experts are convinced or not with the model?
And all these can be answered when you have built the model and tested with the test data sets. Hence, correct option will be Model Building.
NEW QUESTION 58
A fruit may be considered to be an apple if it is red, round, and about 3" in diameter. A naive Bayes classifier considers each of these features to contribute independently to the probability that this fruit is an apple, regardless of the
- A. Presence of the other features.
- B. Presence or absence of the other features
- C. Absence of the other features.
- D. None of the above
Answer: B
Explanation:
Explanation
In simple terms, a naive Bayes classifier assumes that the value of a particular feature is unrelated to the presence or absence of any other feature, given the class variable. For example, a fruit may be considered to be an apple if it is red, round, and about 3" in diameter A naive Bayes classifier considers each of these features to contribute independently to the probability that this fruit is an apple, regardless of the presence or absence of the other features.
NEW QUESTION 59
Which of the following steps you will be using in the discovery phase?
- A. What all are the data sources for the project?
- B. What all tools are required, in the project?
- C. What is the network capacity required
- D. Analyze the Raw data and its format and structure.
- E. What Unix server capacity required?
Answer: A,B,C,D,E
Explanation:
Explanation
During the discovery phase you need to find how much resources are required as early as possible and for that even you can involve various stakeholders like Software engineering team, DBAs, Network engineers, System administrators etc. for your requirement and these resources are already available or you need to procure them. Also, what would be source of the data? What all tools and software's are required to execute the same?
NEW QUESTION 60
You are using one approach for the classification where to teach the agent not by giving explicit categorizations, but by using some sort of reward system to indicate success, where agents might be rewarded for doing certain actions and punished for doing others. Which kind of this learning
- A. Supervised
- B. Unsupervised
- C. None of the above
- D. Regression
Answer: B
Explanation:
Explanation
Unsupervised learning seems much harder: the goal is to have the computer learn how to do something that we don't tell it how to do! The approach is to teach the agent not by giving explicit categorizations, but by using some sort of reward system to indicate success. Note that this type of training will generally fit into the decision problem framework because the goal is not to produce a classification but to make decisions that maximize rewards. This approach nicely generalizes to the real world, where agents might be rewarded for doing certain actions and punished fordoing others.
NEW QUESTION 61
Consider flipping a coin for which the probability of heads is p, where p is unknown, and our goa is to estimate p. The obvious approach is to count how many times the coin came up heads and divide by the total number of coin flips. If we flip the coin 1000 times and it comes up heads 367 times, it is very reasonable to estimate p as approximately 0.367. However, suppose we flip the coin only twice and we get heads both times.
Is it reasonable to estimate p as 1.0? Intuitively, given that we only flipped the coin twice, it seems a bit rash to conclude that the coin will always come up heads, and____________is a way of avoiding such rash conclusions.
- A. Logistic Regression
- B. Laplace Smoothing
- C. Linear Regression
- D. Naive Bayes
Answer: B
Explanation:
Explanation
Smooth the estimates: consider flipping a coin for which the probability of heads is p, where p is unknown, and our goal is to estimate p. The obvious approach is to count how many times the coin came up heads and divide by the total number of coin flips. If we flip the coin 1000 times and it comes up heads 367 times, it is very reasonable to estimate p as approximately 0.367. However, suppose we flip the coin only twice and we get heads both times. Is it reasonable to estimate p as 1.0? Intuitively, given that we only flipped the coin twice, it seems a bit rash to conclude that the coin will always come up heads, and smoothing is a way of avoiding such rash conclusions. A simple smoothing method, called Laplace smoothing (or Laplace's law of succession or add-one smoothing in R&N), is to estimate p by (one plus the number of heads) / (two plus the total number of flips). Said differently, if we are keeping count of the number of heads and the number of tails, this rule is equivalent to starting each of our counts at one, rather than zero. Another advantage of Laplace smoothing is that it avoids estimating any probabilities to be zero, even for events never observed in the data.
Laplace add-one smoothing now assigns too much probability to unseen words
NEW QUESTION 62
Select the correct algorithm of unsupervised algorithm
- A. K-Means
- B. K-Nearest Neighbors
- C. Naive Bayes
- D. Support Vector Machines
Answer: B
Explanation:
Explanation
Sup Supervised learning tasks
Classification Regression
k-Nearest Neighbors Linear
Naive Bayes Locally weighted linear
Support vector machines Ridge
Decision trees Lasso
Unsupervised learning tasks Clustering Density estimation k-Means Expectation maximization DBSCAN Parzen window
NEW QUESTION 63
Support vector machines (SVMs) are a set of supervised learning methods used for
- A. Non-linear classification
- B. Regression
- C. Linear classification
Answer: A,B,C
Explanation:
Explanation
In machine learning, support vector machines (SVMs). also support vector networks[1]) are supervised learning models with associated learning algorithms that analyze data and recognize patterns^ used for classification and regression analysis. In addition to performing linear classification, SVMs can efficiently perform a non-linear classification using what is called the kernel tricky implicitly mapping their inputs into high-dimensional feature spaces.
NEW QUESTION 64
......
Tested Material Used To Databricks-Certified-Professional-Data-Scientist Test Engine: https://www.itexamsimulator.com/Databricks-Certified-Professional-Data-Scientist-brain-dumps.html

