Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Exploring Advanced Machine Learning Concepts

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What does CFG stand for in computational linguistics?

a)

Context-Free Grammar

b)

Comprehensive Formal Grammar

c)

Cyclic Finite Grammar

d)

Contextual Grammar

2.

Explain the main purpose of a Hidden Markov Model (HMM).

a)

The main purpose of a Hidden Markov Model (HMM) is to model sequences of observable events that depend on hidden states.

b)

To generate random sequences of observable events without any hidden states.

c)

To classify data into distinct categories without considering sequences.

d)

To predict future hidden states based on past observations.

3.

What is the difference between a generative model and a discriminative model?

a)

Generative models are always more accurate than discriminative models.

b)

Generative models require labeled data; discriminative models do not.

c)

Generative models only classify data; discriminative models generate data.

d)

Generative models model the joint distribution; discriminative models model the conditional distribution.

4.

Define Maximum Entropy in the context of statistical modeling.

a)

Maximum Entropy is a technique for minimizing uncertainty in predictions.

b)

Maximum Entropy is a principle used in statistical modeling to derive the most uniform probability distribution that satisfies specific constraints.

c)

Maximum Entropy refers to the highest possible entropy in a closed system.

d)

Maximum Entropy is a method to maximize the likelihood of a dataset.

5.

How does a Conditional Random Field (CRF) differ from HMM?

a)

CRFs are discriminative and consider the entire sequence context, while HMMs are generative and rely on Markov assumptions.

b)

HMMs consider the entire sequence context while CRFs do not.

c)

CRFs are generative and rely on Markov assumptions.

d)

CRFs are only used for classification tasks, unlike HMMs.

6.

What are the key components of a Context-Free Grammar (CFG)?

a)

Variables, Constants, Functions, Operators

b)

Grammar trees, Lexical analysis, Syntax analysis

c)

Syntax rules, Semantic rules, Parsing techniques

d)

Terminals, Non-terminals, Start symbol, Production rules

7.

In what scenarios would you prefer using CRF over HMM?

a)

Use HMM for simple sequence labeling tasks.

b)

Use CRF over HMM when modeling complex dependencies between output labels and when the entire observation sequence context is important.

c)

Choose CRF when data is limited and context is irrelevant.

d)

Prefer HMM when the output labels are independent of each other.

8.

Describe the training process for a Maximum Entropy model.

a)

The training process for a Maximum Entropy model involves defining feature functions, collecting labeled training data, initializing model parameters, optimizing the likelihood using an algorithm, and validating the model.

b)

Applying a linear regression model instead

c)

Using only unlabelled data for training

d)

Ignoring feature functions during optimization

9.

What role does the transition probability play in HMM?

a)

The transition probability represents the initial state of the HMM.

b)

The transition probability indicates the likelihood of moving between hidden states in an HMM.

c)

The transition probability measures the accuracy of observations in an HMM.

d)

The transition probability defines the output symbols in an HMM.

10.

Can CFG be used for natural language processing? Why or why not?

a)

CFG is only used for programming languages, not natural languages.

b)

CFG is not suitable for any form of language processing.

c)

CFG can fully capture all aspects of natural language.

d)

Yes, CFG can be used for natural language processing, but it has limitations.