Math and Stats Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

pseudo-random numbers

A

a number that’s almost random, but not really random

computer-generated random numbers that appears random, but they are really predetermined

can be re-created exactly

makes your code repeatable

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

deterministic

A

if you give a computer a certain input, it will precisely follow instructions to produce an output.

if the input is the same, then the output will be the same.

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

pseudo

A

not genuine

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

pseudo-random number generators

A

a set of algorithms for creating pseudo random numbers

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

np.random.randint( )

A

Return a random integer N such that a <= N <= b.

Parameters:

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

np.random.seed

A

provides an input to the pseudo-random number generator

works in conjunction with other functions from np.random module

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

Random variable X

X = x

A
  • A numerical quantity whose value depends on chance
  • A function mapping the sample space to the real number
  • The random variable X is realized with a specific value x.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Regression (n)

A
  • A statistical method to determine the strength and character of the relationship between one dependent variable and a series of other independent variables
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Simple linear regression

A
  • one feature

- one outcome variable

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

Multiple linear regression

A
  • two or more features

- one outcome variable

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

What is a harmonic mean?

A
  1. A type of numeric average.

2. Divide the number of observations by the reciprocal of each number in the series.

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

What is Type I error?

A
  1. False Positive

2. Reject null when it is true

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

What is Type II error?

A
  1. False Negative

2. Accept null when it is false

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

How to center the data?

A
  • Redefine the zero point

- Subtract a constant from every value of a variable.

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

What is nominal variable?

A

No intrinsic ordering to its categories, e.g. gender

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

What is ordinal variable?

A

Has orderly categories, e.g. temperature

17
Q

What is kernel?

A

A special type of PDF

18
Q

What is PDF?

A
  • Probability Density Function

- A function that represents a continuous probability distribution.

19
Q

What is probability distribution?

A
  • A list of outcomes and their associated probabilites

- A list of all possible outcomes of a random variable along with their corresponding probability values

20
Q

What does ‘finite support’ mean?

A
  • A limited number of outcomes.