Computer Abstractions & Technology + Machine Learning Practice Flashcards

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

1/45

flashcard set

Earn XP

Description and Tags

A complete set of flashcards covering vocabulary from Computer Architecture performance metrics, Python data science libraries, and Supervised Learning techniques (Regression and Classification).

Last updated 5:29 PM on 6/23/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

46 Terms

1
New cards

Personal computers (PCs)

General purpose computers that run a variety of software and are designed around a cost/performance tradeoff.

2
New cards

Server computers

Network-based computers that emphasize high capacity, performance and reliability, ranging from small servers to building-sized units.

3
New cards

Supercomputers

A type of server designed for high-end scientific and engineering calculations; they represent the highest capability but represent a tiny fraction of the market.

4
New cards

Embedded computers

Computers hidden inside other systems that have stringent power, performance, and cost constraints.

5
New cards

Personal Mobile Devices (PMDs)

Battery-operated, internet-connected devices costing hundreds of dollars, such as smartphones, tablets, and e-glasses.

6
New cards

Cloud computing

Computing that runs on Warehouse-Scale Computers (WSC) and delivers Software as a Service (SaaS).

7
New cards

Instruction Set Architecture (ISA)

The hardware/software interface of a computer system.

8
New cards

Application Binary Interface (ABI)

The combination of the Instruction Set Architecture (ISA) and the system-software interface.

9
New cards

Volatile main memory

Memory that loses its contents when power is turned off.

10
New cards

Non-volatile secondary memory

Memory that retains contents without power, such as magnetic disks, flash memory, and optical disks.

11
New cards

Yield

The proportion of working dies per wafer in integrated circuit manufacturing.

12
New cards

Response time

Also known as latency; it is the measure of how long a task takes to complete.

13
New cards

Throughput

The total amount of work done per unit time, such as tasks per hour.

14
New cards

Relative performance formula

Performance=1Execution Time\text{Performance} = \frac{1}{\text{Execution Time}}

15
New cards

CPU time

The time the CPU spends on a specific job, excluding I/O and other jobs' shares, calculated as user CPU time+system CPU time\text{user CPU time} + \text{system CPU time}.

16
New cards

Clock period

The duration of one clock cycle.

17
New cards

Clock rate

Also known as frequency, defined as Clock rate=1Clock period\text{Clock rate} = \frac{1}{\text{Clock period}}. Units are typically in Hz.

18
New cards

CPU Time (Core Formula)

CPU Time=CPU Clock CyclesClock Rate\text{CPU Time} = \frac{\text{CPU Clock Cycles}}{\text{Clock Rate}}

19
New cards

CPI

Average Cycles Per Instruction; the average number of clock cycles per instruction set by the CPU hardware.

20
New cards

Full Performance Equation

CPU Time=IC×CPI×Clock Cycle Time\text{CPU Time} = \text{IC} \times \text{CPI} \times \text{Clock Cycle Time} where IC is the Instruction Count.

21
New cards

Dynamic Power in CMOS

Power=Capacitive load×Voltage2×Frequency\text{Power} = \text{Capacitive load} \times \text{Voltage}^2 \times \text{Frequency}

22
New cards

Amdahl's Law

A principle stating that the overall speed-up from improving one part of a system is limited by the unaffected part: Timproved=Taffectedimprovement factor+TunaffectedT_{\text{improved}} = \frac{T_{\text{affected}}}{\text{improvement factor}} + T_{\text{unaffected}}

23
New cards

MIPS

Millions of Instructions Per Second; a performance metric calculated as MIPS=Instruction CountExecution Time×106\text{MIPS} = \frac{\text{Instruction Count}}{\text{Execution Time} \times 10^6}.

24
New cards

NumPy

A Python library used for numerical arrays and descriptive statistical analysis such as mean, median, and standard deviation.

25
New cards

Pandas

A Python library used for loading external data and managing data tables (DataFrames).

26
New cards

Supervised learning

Learning from data where correct labels or outcome values are known, used to train a model to predict future outcomes.

27
New cards

Regression

A supervised learning task where the outcome variable is continuous.

28
New cards

Line of Best Fit

The linear regression formula y=c+m×Xy = c + m \times X where cc is the constant/intercept and mm is the slope/coefficient.

29
New cards

Mean Squared Error (MSE)

A measure of fit for regression calculated as MSE=1n×sumi=1n(yiyhati)2\text{MSE} = \frac{1}{n} \times \text{sum}_{i=1}^{n} (y_i - \text{yhat}_i)^2.

30
New cards

RMSE

Root Mean Squared Error, calculated as RMSE=sqrt(MSE)\text{RMSE} = \text{sqrt}(\text{MSE}); it is expressed in the same units as the outcome variable yy.

31
New cards

Ridge Regression

A type of regularization using an L2 penalty: Ridge Loss(y,yhat)=MSE(y,yhat)+alpha×sumi=1mthetai2\text{Ridge Loss}(y, \text{yhat}) = \text{MSE}(y, \text{yhat}) + \text{alpha} \times \text{sum}_{i=1}^{m} \text{theta}_i^2.

32
New cards

Lasso Regression

A type of regularization using an L1 penalty: Lasso Loss(y,yhat)=MSE(y,yhat)+alpha×sumi=1mthetai\text{Lasso Loss}(y, \text{yhat}) = \text{MSE}(y, \text{yhat}) + \text{alpha} \times \text{sum}_{i=1}^{m} |\text{theta}_i|; it can perform automatic feature selection.

33
New cards

Gradient descent

A robust, iterative learning procedure that updates parameters by moving opposite to the gradient of the error surface to find the minimum error.

34
New cards

Classification

A supervised learning task used to predict discrete categories or classes.

35
New cards

k-Nearest Neighbours (k-NN)

A classification algorithm that assigns a label to a new data point based on the majority vote of the kk most similar existing data points.

36
New cards

Decision Trees

A classification or regression model built as a tree structure consisting of decision nodes (split points) and leaf nodes (class labels).

37
New cards

Entropy

A measure of a sample's homogeneity; E(S)=sumipi×log2piE(S) = - \text{sum}_i p_i \times \text{log}_2 p_i.

38
New cards

Information Gain

The difference between pre-split entropy and post-split entropy: Gain=E(before split)E(after split)\text{Gain} = E(\text{before split}) - E(\text{after split}).

39
New cards

Random Forest

An ensemble of many decision trees built using bootstrap samples and random variable selection at each node to reduce overfitting.

40
New cards

Sigmoid function

A function used in logistic regression to squash real values into a probability range between 0 and 1: g(z)=11+ezg(z) = \frac{1}{1 + e^{-z}}.

41
New cards

Softmax function

A function used in multinomial regression to normalize a vector of nn real numbers into a distribution of nn probabilities that sum to 1.

42
New cards

Naïve Bayes

A classifier based on Bayes' theorem that assumes independence among predictors.

43
New cards

Bayes' Theorem

The formula for computing posterior probability: P(cx)=P(xc)×P(c)P(x)P(c | x) = \frac{P(x | c) \times P(c)}{P(x)}.

44
New cards

Support Vector Machine (SVM)

A classifier that maps data to a higher dimension to find a linear optimal separating hyperplane.

45
New cards

Support vectors

The data points closest to the separating hyperplane in a Support Vector Machine model.

46
New cards

Margin

The distance between the separating hyperplane and the support vectors, which SVM aims to maximize.