Mathematics and Programming for AI Flashcards

1
Q

What is the backbone of AI?

A

mathematics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the 3 main branches of mathematics in AI?

A

linear algebra, calculus, and probability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is linear algebra?

A

a type of math that deals with linear equations and their representations using matrices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are vectors?

A

quantities that have both magnitude and direction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are matrices?

A

Rectangular arrays of numbers, can represent linear transformations, systems of linear equations, coordinates of vectors, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are linear transformations?

A

functions that map vectors from one vector space to another while preserving properties of vector addition and scalar multiplication

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How does AI represent data using linear algebra?

A

uses vectors, matrices, and tensors to describe datasets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which sub-fields of AI use linear algebra?

A

NPL, ML, DL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What data processing operations are used in AI and why?

A

mean subtraction, normalization, and PCA & whitening are used before using data sets in ML algorithms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What linear algebra concept is used in ML algorithms?

A

regression analysis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is regression analysis?

A

predicts continuous responses based on relationships between dependent and independent variables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How does DL use linear algebra?

A

at each step of neural networks: input, neurons, layers, feedforward propagation, and back-propagation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How does NLP utilize linear algebra?

A

for word2vec and vector similarity checking

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does calculus do?

A

analyzes the rate of change of quantities like area, volume, and length

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the difference between differential calculus and integral calculus?

A

differential breaks down and studies changes while integral joins fragments and studies changes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What describes the instantaneous movement of a certain function?

A

differentiation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is differentiation?

A

process of finding the derivative of a function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What does the instantaneous rate of change of a function refer to?

A

the slope of the tangent line at each point of the function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is the derivative?

A

a function that corresponds to the slope of the tangent line at a specific point on a function

20
Q

Why is calculus important for AI?

A

it helps with finding minimum cost and using techniques like gradient descent

21
Q

What are gradient descent techniques?

A

techniques to study how outputs change when inputs change

22
Q

What does gradient descent involve?

A

finding the derivative of a function

23
Q

When are partial derivatives used for gradient descent?

A

when there are multiple inputs

24
Q

What is the gradient?

A

a vector that contains all the partial derivatives

25
How does statistics play a part in AI?
using regression analysis, K-mean, K-NN classification
26
Why is a basic knowledge of probability and statistics required in AI?
learning results of AI are probabilistic
27
What does statistics do well at?
predicting weather or economic indicators
28
Which language was widely used in early applications of AI?
lisp
29
What other languages are widely used in AI?
prolog, python
30
What is lisp an abbreviation for?
list processing
31
When was lisp developed and by who?
McCarthy in 1960
32
What kind of data types does lisp handle easily?
symbolic data types
33
Which data structures does lisp use?
lists and trees
34
Is lisp an interpreted language?
yes
35
When and by who was prolog developed?
Kowalski in 1972
36
What kind of language is prolog?
a logic-based programming language
37
What kind of AI tools is prolog useful for?
NLP and expert system development
38
Why is prolog good for NLP and expert system development?
knowledge is expressed in descriptive logic and inferred according to rules
39
Why is python becoming popular for AI programming?
grammar is simple and it can be learned quickly and easily, execution can be checked immediately, and it is platform independent
40
When and by who was python developed?
Guido van Rossum in 1991
41
What are the 3 types of languages that programming languages are categorized into?
object-oriented, procedural, and functional
42
What type of programming language is python?
it has features of all 3 different types
43
What are some other less commonly used languages for AI?
R and C
44
What areas is R strong in?
graphic visualization
45
What are some neural network libraries that are used for deep learning?
TensorFlow and PyTorch
46
Which language(s) is/are used for rule-based AI?
lisp and prolog
47
Which language(s) is/are used for neural network AI?
python