# Deep Learning Interview Questions and Answers

In case youâ€™re searching forÂ Deep Learning Interview Questions and answersÂ for Experienced or Freshers, you are at the correct place. There is parcel of chances from many presumed organizations on the planet. The Deep Learning advertise is relied upon to develop to more than $5 billion by 2020, from just $180 million, as per Deep Learning industry gauges. In this way, despite everything you have the chance to push forward in your vocation in Deep Learning Development.Â GangboardÂ offers AdvancedÂ Deep Learning Interview Questions and answersÂ that assist you in splitting your Deep Learning interview and procure dream vocation as Deep Learning Developer.

### Best Deep Learning Interview Questions and Answers

Do you believe that you have the right stuff to be a section in the advancement of future Deep Learning , the GangBoard is here to control you to sustain your vocation. Various fortune 1000 organizations around the world are utilizing the innovation of Deep Learning to meet the necessities of their customers. Deep Learning is being utilized as a part of numerous businesses. To have a great development in Deep Learning work, our page furnishes you with nitty-gritty data as Deep Learning prospective employee meeting questions and answers. Deep Learning Interview Questions and answers are prepared by 10+ years experienced industry experts. Deep Learning Interview Questions and answers are very useful to the Fresher or Experienced person who is looking for the new challenging job from the reputed company. Our Deep Learning Questions and answers are very simple and have more examples for your better understanding.

By this Deep Learning Interview Questions and answers, many students are got placed in many reputed companies with high package salary. So utilize our Deep Learning Interview Questions and answers to grow in your career.

#### Q1) What is mean by deep learning?

Answer: Deep learning is one part of a broader group of machine learning techniques based on learning data analytics designs, as exposed through task-specific algorithms. Deep Learning can be supervised us a semi-supervised or unsupervised.

#### Q2) Which data visualization libraries do you use and why they are useful?

Answer: It is valuable to determine your views value on the data value properly visualization and your individual preferences when one comes to tools. Popular methods add Râ€™s ggplot, Pythonâ€™s seaborn including matplotlib value, and media such as Plot.ly and Tableau.

#### Q3) Where do you regularly source data-sets?

Answer: This type of questions remains any real tie-breakers. If someone exists going into an interview, he/she need to remember this drill of any related question. That completely explains your interest in Machine Learning.

#### Q4) What is the cost function?

Answer: A cost function is a strength of the efficiency of the neural network data-set value with respect to given sample value and expected output data-set. It is a single value of data-set-function, non-vector as it gives the appearance of the neural network as a whole. MSE=1nÎ£i=0n(Y^iâ€“Yi)^2

#### Q5) What are the benefits of mini-batch gradient descent?

Answer:

- This is more efficient of compared tools to stochastic gradient reduction.
- The generalization data value by determining the flat minima.
- The Mini-batches provides help to approximate the gradient of this entire data-set advantage which helps us to neglect local minima.

#### Q6) What is mean by gradient descent?

Answer: Gradient descent defined as an essential optimization algorithm value point, which is managed to get the value of parameters that reduces the cost function. It is an iterative algorithm data value function which is moves towards the direction of steepest data value function relationship as described by the form of the gradient.

Î˜: =Î˜â€“Î±dâˆ‚Î˜J(Î˜)

#### Q7) What is meant by a backpropagation?

Answer:

- It ‘s Forward to the propagation of data-set value function in order to display the output data value function.
- Then using objective value also output value error derivative package is computed including respect to output activation.
- Then we after propagate to computing derivative of the error with regard to output activation value function and the previous and continue data value function this for all the hidden layers.
- Using previously calculated the data-set value and its derivatives the for output including any hidden stories we estimate error derivatives including respect to weights.

#### Q8) What is means by convex hull?

Answer: The convex hull is represents to the outer boundaries of the two-level group of the data point. Once is the convex hull has to been created the data-set value, we get maximum data-set value level of margin hyperplane (MMH), which attempts to create data set value the greatest departure between two groups data set value, as a vertical bisector between two convex hulls data set value.

#### Q9) Do you have experience including Spark about big data tools for machine learning?

Answer: The Spark and big data mean most favorite demand now, able to the handle high-level data-sets value and including speed. Be true if you donâ€™t should experience including those tools needed, but more take a look into assignment descriptions also understand methods pop.

#### Q10) How will do handle the missing data?

Answer: One can find out the missing data and then a data-set value either drop thorugh those rows value or columns value or decide value to restore them with another value. In python library using towards the Pandas, there are two thinging useful functions helpful, IsNull() and drop() the value function.

#### Q11) What is means by auto-encoder?

Answer: An Auto-encoder does an autonomous Machine learning algorithm data that uses backpropagation system, where that target large values are data-set to be similar to the inputs provided data-set value. Internally, it converts a deep layer that describes a code used to represent specific input.

#### Q12) Explain about from Machine Learning in industry.

Answer: Robots are replacing individuals in various areas. It is because robots are added so that all can perform this task based on the data-set value function they find from sensors. They see from this data also behaves intelligently.

#### Q13) What are the difference Algorithm techniques in Machine Learning?

Answer:

- Reinforcement Learning
- Supervised Learning
- Unsupervised Learning
- Semi-supervised Learning
- Transduction
- Learning to Learn

#### Q14) Difference between supervised and unsupervised machine learning?

Answer: Supervised learning is a method anywhere that requires instruction defined data While Unsupervised learning it doesnâ€™t need data labeling.

#### Q15) What is the advantage of Naive Bayes?

Answer:

- The classifier preference converge active than discriminative types
- It cannot learn that exchanges between characteristics

#### Q16) What are the function using Supervised Learning?

Answer:

- Classifications
- Speech recognition
- Regression
- Predict time series
- Annotate strings

#### Q17) What are the functions using Unsupervised Learning?

Answer:

- To Find that the data of the cluster of the data
- To Find the low-dimensional representations value of the data
- To Find determine interesting with directions in data
- To Find the Magnetic coordinates including correlations
- To Find novel observations

#### Q18) How do you understanding Machine Learning Concepts?

Answer: Machine learning is the use of artificial intelligence that provides operations that ability to automatically detect further improve from occurrence without doing explicitly entered. Machine learning centers on the evolution of network programs that can access data and utilize it to learn for themselves.

#### Q19) What are the roles of activation function?

Answer: The activation function means related to data enter non-linearity within the neural network helping it to learn more system function. Without which that neural network data value would be simply able to get a linear function which is a direct organization of its input data.

#### Q20) Definition of Boltzmann Machine?

Answer: Boltzmann Machine is used to optimize the resolution of a problem. The work of the Boltzmann machine is essential to optimize data-set value that weights and the quantity for data Value.

- It uses a recurrent structure data value.
- If we apply affected annealing on discrete Hopfield network, when it would display Boltzmann Machine.

#### Q21) What is Overfitting in Machine Learning?

Answer: Overfitting in Machine Learning is described as during a statistical data model represents random value error or noise preferably of any underlying relationship or when a pattern is extremely complex.

#### Q22) How can you avoid overfitting?

Answer:

- Lots of data
- Cross-validation

#### Q23) What are the conditions when Overfitting happens?

Answer: One of the important design and chance of overfitting is because the models used as training that model is the same as that criterion used to assess the efficacy of a model.

#### Q24) What are the advantages of decision trees?

Answer:

- The Decision trees are easy to interpret
- Nonparametric
- There are comparatively few parameters to tune

#### Q25) What are the three stages to build the hypotheses or model in machine learning?

Answer:

- Model building
- Model testing
- Applying the model

#### Q26) What are parametric models and Non-Parametric models?

Answer:

- Parametric models remain these with a limited number from parameters also to predict new data, you only need to understand that parameters from the model.
- Non Parametric designs are those with an unlimited number from parameters, allowing to and flexibility and to predict new data, you want to understand the parameters of this model also the state from the data that has been observed.

#### Q27) What are some different cases uses of machine learning algorithms can be used?

Answer:

- Fraud Detection
- Face detection
- Natural language processing
- Market Segmentation
- Text Categorization
- Bioinformatics

#### Q28) What are the popular algorithms for Machine Learning?

Answer:

- Decision Trees
- Probabilistic networks
- Nearest Neighbor
- Support vector machines
- Neural Networks

#### Q29) Define univariate multivariate and bivariate analysis?

Answer: if an analysis involves only one variable it is called as a univariate analysis for eg: Pie chart, Histogram etc. If a analysis involves 2 variables it is called as bivariate analysis for example to see how age vs population is varying we can plot a scatter plot. A multivariate analysis involves more than two variables, for example in regression analysis we see the effect of variables on the response variable

#### Q30) How does missing value imputation lead to selection bias?

Answer: Case treatment- Deleting the entire row for one missing value in a specific column, Implutaion by mean: distribution might get biased for instance std dev, regression, correlation.

#### Q31) what is bootstrap sampling?

Answer:Â create resampled data from empirical data known as bootstrap replicates.

#### Q32) What is permutation sampling?

Answer: Also known as randomization tests, the process of testing a statistic based on reshuffling the data labels to see the difference between two samples.

#### Q33) what is total sum of squares?

Answer: summation of squares of difference of individual points from the population mean.

#### Q34) what is sum of squaresÂ within?

Answer: summation of squares of difference of individual points from the group mean.

#### Q35) what is sum of squares between?

Answer: summation of squares of difference of individual group means from the population mean for each data point.

#### Q36) what is p value?

Answer: p value is the worst case probability of a statistic under the assumption of null hypothesis being true.

#### Q37) what is R^2 value?

Answer: It’s measures the goodness of fit for a linear regression model.

#### Q38) what does it mean to have a high R^2 value?

Answer: the statistic measures variance percentage in dependent variable that can be explained by the independent variables together.

#### Q40) what are residuals in a regression model?

Answer: Residuals in a regression model is the difference between the actual observation and its distance from the predicted value from a regression model.

#### Q41) what are fitted values, calculate fitted value for Y=7X+8, when X =5?

Answer: Response of the model when predictors values are used in the model, Ans=42.

#### Q42) what pattern should residual vs fitted plots show in a regression analysis?

Answer: No pattern, if the plot shows a pattern regression coefficients cannot be trusted.

#### Q43) what is overfitting and underfitting?

Answer: overfitting occurs when a model is excessively complex and cannot generalize well, a overfitted model has a poor predictive performance. Underfitting of a model occurs when the model is not able to capture any trends from the data.

#### Q44) define precision and recall?

Answer: Recall = True Positives/(True Positives + False Negatives), Precision = True Positives/(True Positives + False Positive).

#### Q45) What is type 1 and type 2 errors?

Answer: False positives are termed as Type 1 error, False negative are termed as Type 2 error.

#### Q46) what is ensemble learning?

Answer: The art of combining multiple learning algorithms and achieve a model with a higher predictive power, for example bagging, boosting.

#### Q47) what is the difference between supervised and unsupervised machine learning algorithms?

Answer: In supervised learning we use the dataset which is labelled and try and learn from that data, unsupervised modeling involves data which is not labelled.

#### Q48) What is named entity recognition?

Answer: It is identifying, understanding textual data to answer certain question like “who, when,where,what etc.”

#### Q49) what is tf-idf?

Answer: It is the measure if a weight of a term in text data used majorly in text mining. It signifies how important a word is to a document.

tf -> term frequency â€“ (Count of text appearing in the data)

idf -> inverse document frequency

tfidf -> tf * idf

#### Q50) what is the difference between regression and deep neural networks, is regression better than neural networks?

Answer: In some applications neural networks would fit better than regression it usually happens when there are non linearity involved, on the contrary a linear regression model would have less parameters to estimate than a neural network for the same set of input variables. thus for optimization neural network would need a more data in order to get better generalization and nonlinear association.

#### Q51) How are node values calculated in a feed forward neural network?

Answer: The weights are multiplied with node/input values and are summed up to generate the next successive node

#### Q52) Name two activation functions used in deep neural networks?

Answer: Sigmoid, softmax, relu, leaky relu, tanh.

#### Q53) what is the use of activation functions in neural networks?

Answer: Activation functions are used to explain the non linearity present in the data.

#### Q54) How are the weights calculated which determine interactions in neural networks?

Answer: The training model sets weights to optimize predictive accuracy.

#### Q55) which layer in a deep learning model would capture a more complex or higher order interaction?

Answer: The last layer.

#### Q56) what is gradient descent?

Answer: It comprises of minimizing a loss function to find the optimal weights for a neural network.

#### Q57) Imagine a loss function vs weights plot depicting a gradient descent. At what point of the curve would we achieve optimal weights?

Answer: local minima.

#### Q58) How does slope of tangent to the curve of loss function vs weigts help us in getting optimal weights for a neural network

Answer: Slope of a curve at any point will give us the direction component which would help us decide which direction we would want to go i.e what weights to consider to achieve a less magnitude for loss function.

#### Q59) what is learning rate in gradient descent?

Answer: A value depicting how slowly we should move towards achieving optimal weights, weights are changedby the subtracting the value obtained from the product of learning rate and slope.

#### Q60) If in backward propagation you have gone through 9 iterations of calculating slopes and updated the weights simultaneously, how many times you must have done forward propagation?

Answer: 9

#### Q61) How does ReLU activation function works? Define its value for -5 and +7

Answer: For all x>=0, the output is x, for all x<0 the output is 0, for -5 the output is 0 and +7 returns +7 when ReLu activation function is used.

#### Q62) what is a batch in deep neural networks?

Answer: It is common that we calculate slopes only on a subset of the data known as batch for computational efficiencies.

#### Q63) what is an epoch in Deep neural networks?

Answer: when an entire dataset is done with both forward and backward propagation after which the weights are updated it is said to have passed 1 epoch.

#### Q64) Imagine you have 2000 training samples and batch size is set to 200 how many iterations will it take to complete 1 epoch?

Answer: 10

#### Q65) what is stocastic gradient descent?

Answer: when slopes are calculated on one batch at a time it is refered as stochastic gradient descent.

#### Q66) What is data normalization?

Answer: Data normalization is a technique used to scale all values in a dataset to fit with a specific range. It is an important for achieving good converge for deep learning models.

#### Q67) How can we normalize the data? State a method used for the same?

Answer: (Feature mean – observation)/standard deviation.

#### Q68) Explain dying neuron problem?

Answer: Occurs when a neuron takes a value <0 for all rows of the data thus with ReLU activation function a will produce an output of 0 and thus the slope will be 0.

#### Q69) explain vanishing gradients?

Answer: Occurs when many layers have small slopes for example we use a Tanh activation function in a deep network.

#### Q70) what is model capacity?

Answer: It describes how complex a model can get also in deep neural networks it is proportional to the number of hidden layers included.

#### Q71) What is regularization?

Answer: The process of including model by adjusting data tuning parameters.

#### Q72) what are hyper parameters in deep neural networks?

Answer: Hyper parameters are features which describe the network structure in a neural network. Some hyper parameters also decide how the model should be trained for achieving optimum results.

#### Q73) what is dropout in deep neural networks?

Answer: To avoid over fitting a dropout regularization technique is used which increases the generalizing power

#### Q74) Explain exploding gradient descent?

Answer: Huge error gradients when are added together during training which results into high value updates to the weights.

#### Q75) What are auto encodes?

Answer: A neural netwok architecture in which back propogation occurs and targets are set equal to inputs.

#### Q76) what is homoscadasticity and heteroscadasticity?

Answer: when there is an equal distribution of errors it is termed as homoscadasticity, on the contrary when there is an unequal distribution of errors it is termed as heteroscadasticity.

#### Q77) Difference between adjusted R^2 and R^2

Answer: R^2 accounts for the variation of dependent variable explained by the independent variables, adjusted R^2 value just takes into account the variation explained byÂ all the significant variables.

#### Q78) In case residual vs fitted plots is showing a pattern and is not distributed evenly or has some outliers how should it be handled?

Answer: In such a case variable transformation should be tried, for example log, x^2,x^3 etc.

#### Q79) Difference between collinearity and correlation?

Answer: correlation is the measure of strength of linear relationship between two variables,Â whereas if in a liner regression one of the predictors is derived or is associated with another predictor they both are said to be collinear.

## 0 responses on "Deep Learning Interview Questions and Answers"