What is an array?
An array is a collection of values or items
What is a scatter plot?
Scatter plots are used to plot data points on a horizontal and a vertical axis in the attempt to show how much one variable is affected by another
Do people use Machine learning to classify image?
Yes
The neural network most commonly used for computer vision, which is designed to process data that come in the form of multiple arrays.
Convolutional Neural Network
Is deep learning a subfield of machine learning?
Yes
In Python, a variable must be declared/created before it is assigned a value:
True or False?
False
What is a histogram
graphical display of data using bars of different heights
In machine learning, programmers split their dataset into two parts: one for running the model and another for seeing how the model is performing?
What are the names of these two splits?
Training data and testing data
What does max-pooling do?
Reduce the image size
What is the goal of optimization in neural networks?(hint: loss)
Minimize the loss
Number_of_doughnuts = 4
If number_of_doughnuts > 4:
Number_of_doughnuts -= 3
Else:
Number_of_doughnuts +=9
What would this print if I typed print(Number_of_doughnuts)
13
What is linear regression?
a linear approach to modeling the relationship between a scalar response and one or more explanatory variables
True or false: gradient descent is used to maximize the loss
false
an optimization algorithm used to minimize some function by iteratively moving in the direction of steepest descent as defined by the negative of the gradient
Gradient Descent
What is transfer learning
a research problem in machine learning (ML) that focuses on storing knowledge gained while solving one problem and applying it to a different but related problem
What does return keyword mean in python
end the execution of the function call and “returns” the result (value of the expression following the return keyword) to the caller
What does k-means clustering do?
Group a data into k sets of clusters
What is softmax function?
This function outputs a vector which has elements that sum up to 1
What does softmax function do in MNIST dataset(hand-written digits)?
Use softmax to output the classification, 0-9
Why do we use dropout layer?
prevent overfitting
number = input("Enter a number")
if number == 14:
print("hi")
else:
print("no")
What would be printed out if I ran this program and enter 14 when prompted?
It would print "no" because I didn't convert number to an integer
What is the difference between classification and clustering?
classification uses predefined classes in which objects are assigned, while clustering identifies similarities between objects, which it groups according to those characteristics in common and which differentiate them from other
What is a neuron?
a mathematical function that receive input
and give output
What does convolutional layer do?
The application of a filter to an input that results in an activation. It is used to extract features
Give an example of optimizer
adam, sgd, sgd+momentum...