Hands on ML Flashcards
What type of machine has the following characteristics:
-It takes a particular statistical model
-Optimizes it using a computer
-Leverages the computer speed
-Creates a class of models
a. Machine Learning
b. Deep Learning
c. AI
a. Machine Learning
-It takes a particular statistical model
-Optimizes it using a computer
-Leverages the computer speed
-Creates a class of models
What type of machine has the following characteristics:
-Deep neural networks
-It has cheaper computational power and can withstand a rise of alot of data and cheaper on cost of storage
a. Machine Learning
b. Deep Learning
c. AI
b. Deep Learning
-Deep neural networks
-It has cheaper computational power and can withstand a rise of alot of data and cheaper on cost of storage
Data is the key to _____
a. Machine Learning
b. Deep Learning
c. AI
a. Machine Learning
Data is the key to Machine Learning.
Without data, there is no machine learning.
What type of machine has the following characteristics:
-Learn data sets from a large set of unsupervised data
-Take this model and transfer this learning into a specific task
-Reduces data requirements of your target task
a. Machine Learning
b. Deep Learning
c. AI
d. Transfer Learning
d. Transfer Learning
-Learn data sets from a large set of unsupervised data
-Take this model and transfer this learning into a specific task
-Reduces data requirements of your target task
When programming a function, we take inputs or multiple inputs called ______
a. arguments
b. args
c. kwags
d. none
a. arguments
When programming a function, we take inputs or multiple inputs called arguments
What type of problems use Group-Based Programming?
a. image classification
b. self-driving cars
c. chess playing
d. game playing
e. all above
e. all above
Image classification, Self-driving cars, Chess Playing, and Game playing all use Group Based Programming.
Which type of ML model is the following:
“We take a dataset of input and output pairs and we get them to MLmodel to learn a function that transforms the input and outputs after it has seen enough input output pairs”
a. Reinforcement
b. Supervised
c. Unsupervised
d. Semi-Supervised
b. Supervised Learning
“We take a dataset of input and output pairs and we get them to MLmodel to learn a function that transforms the input and outputs after it has seen enough input output pairs”
Which type of ML model is the following:
“Holy Grail of ML, according to Deep Learning. We do not feed input-output pairs. We just feed inputs. Figures out the rules, patterns, and the underlying structure governing the data. Allows the machine to do all sorts of structured learning from unstructured data?”
a. Reinforcement
b. Supervised
c. Unsupervised
d. Semi-Supervised
c. Unsupervised
“Holy Grail of ML, according to Deep Learning. We do not feed input-output pairs. We just feed inputs. Figures out the rules, patterns, and the underlying structure governing the data. Allows the machine to do all sorts of structured learning from unstructured data?”
How data enables ML?
Using an ex.
input bank of pictures and output of labeled pictures of 1000 categories. Task: get the MLM to learn what pics go to what outputs.
Model tunes the own parameters to the dataset. Model turns into its own approximations. Parameters are the rules. Neural Network (model) and Weights(rules)
input bank of pictures and output of labeled pictures of 1000 categories. Task: get the MLM to learn what pics go to what outputs.
Model tunes the own parameters to the dataset. Model turns into its own approximations. Parameters are the rules. Neural Network (model) and Weights(rules)
What is the basic idea of a Feedback loop?
a. Compute the current prediction
b. Then look at how wrong you are
c. Then tune the model to reduce the error
d. All the above
The Basic idea of a Feedback Loop
d. All the above
-Compute the current prediction
-Then look at how wrong you are
-Then tune the model to reduce the error
What program is the following:
-“Provides high performance, easy to use data structures and data analysis tools for Python”
-“It is a data analysis library”
-“Works like Excel combines with SQL w/ very Pythonic interface
-“Import from Pandas then clean, slice, aggregate, or summarize”
a. Python
b. Pandas
c. Scikit Learn
d. Tensorflow
b. Pandas
-“Provides high performance, easy to use data structures and data analysis tools for Python”
-“It is a data analysis library”
-“Works like Excel combines with SQL w/ very Pythonic interface
-“Import from Pandas then clean, slice, aggregate, or summarize”
What program is the following:
-Very easy to go from code to output
-Run on public cloud services like AWS, Azure, and GCP
a. Python
b. Pandas
c. Scikit Learn
d. Tensorflow
e. Jupyter Notebook
e. Jupyter Notebook
-Very easy to go from code to output
-Run on public cloud services like AWS, Azure, and GCP
What program is the following:
-Patterns in data
-How values correlate to time
-How the value change in the future
a. Python
b. Time Series Data
c. Scikit Learn
d. Tensorflow
b. Time Series Data
-Patterns in data
-How values correlate to time
-How the value change in the future
pd.date_range(‘2019-01-01’ , periods=3, freq=’H’)
What does this mean?
pd.date_range(‘2019-01-01’ , periods=3, freq=’H’)
H - Hourly
3 - Means we want 3 periods
2019-01-01 is the date range the computer recognized
pd.date_range(‘2019-01-01’, periods=3, freq=’H’, tz_localize(‘UTC’)
What does this mean?
H = hourly
2019-01-01 = Date range starts
Periods = We want 3 periods
UTC = Time Zone
pd.date_range(‘2019-01-01’, periods=3, freq=’H’, tz_localize(‘UTC’) .tz_convert(‘US/Pacific’)
What does this mean?
H = hourly
2019-01-01 = Date range starts
Periods = We want 3 periods
Changed the time from UTC to US Pacific
What is the main matrix in linear regression?
a. mean_squared_error
b. min_squared_error
c. linear_regression
d. none of the above
a. mean_squared_error
mean_squared_error is one of the MAIN MATRIX in LINEAR REGRESSION
what function does the following:
“it is an error function that squares the errors of all the data points and divides them and finds the mean”
a. mean_squared_error
b. min_squared_error
c. linear_regression
d. none of the above
a. mean_squared_error
“it is an error function that squares the errors of all the data points and divides them and finds the mean”
how do you perform a train test split from scikitlearn?
a. from sklearn.model_selection import
train_test_split
b. test_train_split
c. train_test_split
d. none of the above
From scikitlearn you would perform train test split below:
a. from sklearn.model_selection import
train_test_split
what function does the following:
“turns any variable fit in between 0 and 1”
a. mean_squared_error
b. sigmoid (aka: logistic function)
c. linear_regression
d. none of the above
b. sigmoid (aka: logistic function)
“turns any variable fit in between 0 and 1”
ex on coding:
def sigmoid(z):
Math function
1/(1 + np.exp(-z))
What is the right percentage to Train and Test data?
a. Train 70%, Test 30%
b. Train 30% Test 70%
c. Train 40% Test 60%
d. Train 60% Test 40%
The right percentage to Train and Test data
a. Train 70%, Test 30%