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
Q

How does statistics play a part in AI?

A

using regression analysis, K-mean, K-NN classification

26
Q

Why is a basic knowledge of probability and statistics required in AI?

A

learning results of AI are probabilistic

27
Q

What does statistics do well at?

A

predicting weather or economic indicators

28
Q

Which language was widely used in early applications of AI?

A

lisp

29
Q

What other languages are widely used in AI?

A

prolog, python

30
Q

What is lisp an abbreviation for?

A

list processing

31
Q

When was lisp developed and by who?

A

McCarthy in 1960

32
Q

What kind of data types does lisp handle easily?

A

symbolic data types

33
Q

Which data structures does lisp use?

A

lists and trees

34
Q

Is lisp an interpreted language?

A

yes

35
Q

When and by who was prolog developed?

A

Kowalski in 1972

36
Q

What kind of language is prolog?

A

a logic-based programming language

37
Q

What kind of AI tools is prolog useful for?

A

NLP and expert system development

38
Q

Why is prolog good for NLP and expert system development?

A

knowledge is expressed in descriptive logic and inferred according to rules

39
Q

Why is python becoming popular for AI programming?

A

grammar is simple and it can be learned quickly and easily, execution can be checked immediately, and it is platform independent

40
Q

When and by who was python developed?

A

Guido van Rossum in 1991

41
Q

What are the 3 types of languages that programming languages are categorized into?

A

object-oriented, procedural, and functional

42
Q

What type of programming language is python?

A

it has features of all 3 different types

43
Q

What are some other less commonly used languages for AI?

A

R and C

44
Q

What areas is R strong in?

A

graphic visualization

45
Q

What are some neural network libraries that are used for deep learning?

A

TensorFlow and PyTorch

46
Q

Which language(s) is/are used for rule-based AI?

A

lisp and prolog

47
Q

Which language(s) is/are used for neural network AI?

A

python