Tensorflow and Ai Basic Flashcards

1
Q

Whatever information we always have that we need to give to the model to get some output is what we call our _____

a. features
b. labels
c. neurons

A

a. features

Features - Whatever information we always have that we need to give to the model to get some output

Ex.

Midterm 1 Midterm 2 Final
70 ? 77

Midterm 1 and Final are features

Midterm 2 is a Label (What we are trying to predict.

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

The information we are trying to predict or looking for.

a. features
b. labels
c. neurons

A

b. labels

Labels - Information we are trying to predict or looking for.

When we feed our features to a model we will get out the label.

Ex.
Midterm 1 Midterm 2 Final
70 ? 77

Midterm 1 and Final are features

Midterm 2 is a Label (What we are trying to predict.)

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

_______ We have features and labels.
It makes a prediction using the rules and makes an arbitrary prediction using the rules it already knows, then compares that prediction it made to the arbitrary prediction.

a. Supervised Learning
b. Unsupervised Learning
c. Reinforcement Learning

A

a. Supervised Learning

We have features and labels.
It makes a prediction using the rules and makes an arbitrary prediction using the rules it already knows, then compares that prediction it made to the arbitrary prediction.

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

Steps of Supervised Learning Works

  1. Have features and labels
  2. You pass the features
  3. The model has some rules and its already built
  4. It makes a prediciton
  5. Then compares that prediction to the label then retweaks the model
  6. Continues to retweak with 1000s upon 1000s of data.
A

Steps of Supervised Learning Works

  1. Have features and labels
  2. You pass the features
  3. The model has some rules and its already built
  4. It makes a prediciton
  5. Then compares that prediction to the label then retweaks the model
  6. Continues to retweak with 1000s upon 1000s of data.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The most common type of learning

a. Supervised Learning
b. Unsupervised Learning
c. Reinforcement Learning

A

a. Supervised Learning

Supervised Learning- The most common type of learning

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

_______ This type of learning only has Features. No labels or no output for these features. You want the model to figure out the output for you.

a. Supervised Learning
b. Unsupervised Learning
c. Reinforcement Learning

A

b. Unsupervised Learning

Unsupervised learning only has Features. No labels or no output for these features. You want the model to figure out the output for you.

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

Steps for Unsupervised Learnings
-Want the model to create clusters or groups.

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

_______ You do not have any data. You have an agent, an environment, and a reward. Objective is to maximize the reward.

a. Supervised Learning
b. Unsupervised Learning
c. Reinforcement Learning

A

c. Reinforcement Learning

Reinforcement Learning- A type of learning where you do not have any data. You have an agent, an environment, and a reward. Objective is to maximize the reward.

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

_____ is a datapoint

a. tensor
b. vector
c. panda

A

b. vector

vector - is a datapoint

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

___ tells what kind of information is in the tensor.

a. data type
b. float32, int32, string
c. data shape
d. both a and b

A

d. both a and b

data type - tells what kind of information is in the tensor.

Float32, int32, or string are examples of datatype

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

what means 1 number in TensorFlow?

a. vector
b. tensor
c. scalor

A

c. scalar

scalar- mean 1 number in tensorflow

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

____ tells you how many dimensions you have.

a. tensor.shape
b. tensor. vector
c. tf.variable

A

a. tensor.shape - tells you how many dimensions you have.

ex. if you have 2 lists and use tf.shape you will have

(2,2)

if you have 3 lists [],[],[] then use tensor.shape you would have (3,3)

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

To evaluation a tensor you need to do _____

a. tf.session()
b. tf.shape
c. tf.tensorflow

A

a. tf.session()

to evaluate a tensor you need to use a session. by tf.session() you

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