AI – Kurzkarten RL, CV, NLP

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/36

encourage image

There's no tags or description

Looks like no tags are added yet.

37 Terms

1
New cards

Agent

The learner that takes actions.

2
New cards

Environment

Everything the agent interacts with; returns reward + next state.

3
New cards

State (s)

Current situation of the agent.

4
New cards

Action (a)

What the agent does in a state.

5
New cards

Reward (r)

Immediate feedback after an action.

6
New cards

Policy (π)

Rule: which action in which state. π(s,a) = p(a | s)

7
New cards

Value V^π(s)

Long-term expected reward from state s when following π.

8
New cards

Reward vs. Value

Reward = immediate. Value = long-term (sum of future rewards).

9
New cards

Return (undiscounted)

R_t = r_{t+1} + r_{t+2} + … + r_T

10
New cards

Discount factor γ

0 ≤ γ ≤ 1. Near 1 = far-sighted, near 0 = short-sighted.

11
New cards

Discounted value formula

V^π(s) = E_π[ Σ γ^k · r_{t+k+1} | s_t = s ]

12
New cards

Markov property

Next state depends only on current state + action, not the past.

13
New cards

MDP components

States S, Actions A, Rewards R, Transition probabilities P

14
New cards

Model-based RL

Agent learns a model of the environment.

15
New cards

Model-free RL

Agent learns directly from experience, no model. Example: Q-learning.

16
New cards

Q-value Q(s,a)

Value of taking action a in state s.

17
New cards

Q-learning update (course)

Q(s,a) = r + γ · max Q(s',a')

18
New cards

Q-table start value

All values = 0.

19
New cards

Learning rate α

How much new info overwrites the old Q-value (0 = no learning, 1 = full replace).

20
New cards

Exploration

Try random actions to learn more.

21
New cards

Exploitation

Pick the best known action (max Q-value).

22
New cards

Q-learning steps

1) choose action 2) perform it 3) observe reward + update Q-table

23
New cards

Pinhole camera: 3 coordinate systems

World, Camera, Image

24
New cards

Pinhole camera: 2 steps

1) World → Camera (extrinsic) 2) Camera → Image (intrinsic)

25
New cards

Extrinsic parameters

Camera position + orientation: Rotation R and Translation t.

26
New cards

Intrinsic parameters

Inside the camera: focal length f, principal point (c_x, c_y), skew.

27
New cards

Tokenization

Split text into words or tokens.

28
New cards

Stemming

Cut word to its stem by rules (running → run).

29
New cards

Lemmatization

Reduce word to dictionary form (better → good).

30
New cards

Stop words

Very common words removed (the, is, and).

31
New cards

Bag of Words

Text as word counts, word order ignored.

32
New cards

TF-IDF

Word weight = frequency in document × rarity across documents.

33
New cards

Word embedding

Word as a vector; similar meaning = close vectors (e.g. word2vec).

34
New cards

POS tagging

Label word type (noun, verb, …).

35
New cards

NER

Named Entity Recognition: find names, places, organisations.

36
New cards

RNN

Reads sequence step by step; weak on long dependencies.

37
New cards

Transformer

Uses self-attention, processes all tokens in parallel.