Data Science, Machine Learning, and Ethics Review

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

1/72

flashcard set

Earn XP

Description and Tags

Flashcards covering core principles of data science lifecycle, exploratory data analysis, sampling bias, machine learning algorithms, evaluation metrics, data privacy frameworks, and professional ethics.

73 Terms

1
New cards

Variable

A characteristic or feature.

2
New cards

Value

The state of a variable.

3
New cards

Examples

Data points or observations represented as a tuple of (variable, value).

4
New cards

Label

A dependent variable.

5
New cards

Volume (4 V's)

The amount of data generated every second.

6
New cards

Velocity (4 V's)

The speed at which data is generated and processed.

7
New cards

Variety (4 V's)

The different types and sources of data.

8
New cards

Veracity (4 V's)

The trustworthiness, completeness, consistency, and accuracy of data.

9
New cards

Data Tidying

The process of organising the structure of data.

10
New cards

Data Cleaning

The process that fixes missing, invalid, inconsistent, or duplicated data.

11
New cards

Series (Pandas)

Columns in Pandas, including the header and values.

12
New cards

Tidy Data

A standard data format where each variable is a column, each row is an observation, and each cell is a single value.

13
New cards

Density Plot

A continuous histogram where the total area under the curve equals 11.

14
New cards

Smoothing Curve

A scatter plot that uses a moving average to remove noise.

15
New cards

Hexbin Plot

A 2D density visualization using a normal scatter plot grouped into hexagon bins, where colour indicates the density or number of points in a bin.

16
New cards

Faceting

Putting multiple graphs side by side in a table, where each subplot represents a different category.

17
New cards

Sampling Frame

The list of subjects in the population from which a sample is drawn (for example, a list of voters).

18
New cards

Attrition Bias

A sampling bias caused by dropouts when they systematically differ from non-dropouts in some way.

19
New cards

Survivorship Bias

A sampling bias that occurs when only individuals who have finished, continued, or survived are included in the sample.

20
New cards

Model

A trained algorithm that has learned patterns and can predict future outcomes.

21
New cards

Generative AI

Artificial intelligence that creates new content (such as text or images) and creates data from data.

22
New cards

Adjunctive AI

Artificial intelligence used as an extra or supporting tool alongside a human expert rather than replacing them.

23
New cards

Supervised Learning

A machine learning paradigm that relies on labelled training data and known answers.

24
New cards

Unsupervised Learning

A machine learning paradigm that works with unlabelled data to discover patterns and generate answers itself without a simple end goal.

25
New cards

kk-means Clustering

An algorithm that splits data into kk distinct clusters to reduce intra-cluster variation, typically quantised using squared Euclidean distance.

26
New cards

kk-means++

A variant of kk-means that selects initial centroids that are far away from each other.

27
New cards

Inertia

The sum of squared distances between data points and their closest centroids.

28
New cards

Silhouette Score

The mean of silhouette coefficients for every point, where a score near 11 means points are well inside their own cluster, 00 is near the boundary, and −1-1 is in the wrong cluster.

29
New cards

Agglomerative Clustering

A hierarchical clustering approach that starts with every point in its own group and iteratively groups similar ones together.

30
New cards

Divisive Clustering

A hierarchical clustering approach that starts with all data points in one big group and iteratively splits dissimilar ones.

31
New cards

Confounding Variable

A third variable that influences the association between two other variables.

32
New cards

Lurking Variable

A variable that was forgotten to be taken into account in the analysis.

33
New cards

Classification

A supervised learning method where a model learns from data to assign categorical labels or discrete categories to an object.

34
New cards

Naïve Bayes

A classification method that applies conditional probability across independent variables to assign instances to the class with the highest probability.

35
New cards

Overfitting

A condition occurring when a model has too many parameters, fits too closely to the data, and loses the overall structure.

36
New cards

Underfitting

A condition occurring when a model has too few parameters and is too simple to capture the underlying structure.

37
New cards

Support Vector Machine (SVM)

A supervised machine learning algorithm that finds an optimal line or plane in nn dimensions to separate classes by maximising the boundary gap between the closest points of different classes.

38
New cards

kk-Nearest Neighbour

A classification algorithm that assigns a data point to the majority class among its kk nearest neighbours.

39
New cards

Data Leakage

When information from the test set leaks into the training set, causing the model to overperform artificially on testing.

40
New cards

Null Model

A baseline model that classifies every instance as the exact same class.

41
New cards

Single Variable Model

A model that relies solely on a single, best feature to make predictions.

42
New cards

Precision

The fraction of items flagged as being in a class that actually belong to that class, calculated as TPTP+FP\frac{\text{TP}}{\text{TP} + \text{FP}}.

43
New cards

Specificity

The true negative rate, calculated as TNTN+FP\frac{\text{TN}}{\text{TN} + \text{FP}}.

44
New cards

Sensitivity / Recall

The fraction of actual items in a class that are correctly detected by the classifier, calculated as TPTP+FN\frac{\text{TP}}{\text{TP} + \text{FN}}.

45
New cards

F1 Score

A metric combining precision and recall, calculated as 2×Precision×RecallPrecision+Recall\frac{2 \times \text{Precision} \times \text{Recall}}{\text{Precision} + \text{Recall}}, where 00 is worst and 11 is best.

46
New cards

Area Under Curve (AUC)

A metric that measures the two-dimensional area underneath the Receiver Operating Characteristic (ROC) curve, ranging from 0.50.5 for random guessing to 1.01.0.

47
New cards

Batch Gradient Descent

A gradient descent variant that calculates the loss gradient using all points in the dataset at every iteration.

48
New cards

Stochastic Gradient Descent

A gradient descent variant that calculates the gradient using only a single random data point at each step.

49
New cards

Mini-batch Gradient Descent

A gradient descent variant that calculates the gradient using a small random subset of points at each step.

50
New cards

Gradient Descent Update Rule

The parameter update formula θnew=θold−η∇L(θ)\theta_{\text{new}} = \theta_{\text{old}} - \eta \nabla L(\theta), where θ\theta represents model parameters, η\eta is the learning rate, and ∇L\nabla L is the loss gradient.

51
New cards

Findable (FAIR Principles)

The principle stating that metadata and data should be easy to locate for humans and computers via machine-readable metadata.

52
New cards

Accessible (FAIR Principles)

The principle stating that once required data is identified, users need to know how it can be accessed, including necessary authentication and authorisation.

53
New cards

Interoperable (FAIR Principles)

The principle that data must be capable of integrating with other data and operating across different workflows, applications, and storage environments.

54
New cards

Reusable (FAIR Principles)

The ultimate goal of FAIR, requiring well-described metadata and data so they can be replicated or combined in diverse settings.

55
New cards

APP 6

An Australian Privacy Principle stating that personal data can only be disclosed for the specific purpose for which it was originally collected.

56
New cards

APP 11

An Australian Privacy Principle requiring organisations to take reasonable steps to protect personal data from misuse, interference, loss, or unauthorised disclosure.

57
New cards

4T's of Risk Management

A risk framework consisting of Tolerate (accept and monitor), Terminate (avoid by stopping activity), Treat (mitigate impact or probability), and Transfer (hand off to a third party).

58
New cards

Homomorphic Encryption

An encryption method that allows computations to be performed directly on encrypted data without decrypting it first.

59
New cards

Role-Based Access

A security control mechanism where users are assigned roles (e.g., admin, user) to restrict database permissions such as read, write, and insert.

60
New cards

Pseudoanonymisation

The processing of personal data such that it cannot be attributed to a specific data subject without separate, securely kept additional information.

61
New cards

Prosecuter Risk

The risk that individuals in an anonymised dataset can be re-identified by an adversary using pre-existing background knowledge about a target individual.

62
New cards

Journalist Risk

The risk that individuals can be re-identified by combining an anonymised dataset with external datasets and side channels (e.g., social media posts).

63
New cards

Data Synthesis

The generation of a synthetic dataset that replicates the properties, associations, and distributions of the original data without leaking real records.

64
New cards

Data Obfuscation

The process of adding noise to raw data to enhance privacy at the expense of analytical utility.

65
New cards

kk-Anonymity

A privacy property ensuring that an individual cannot be distinguished from at least k−1k - 1 other individuals in the dataset.

66
New cards

Homogeneity Attack

A vulnerability in kk-anonymity where all individuals in an equivalence group share the exact same sensitive trait.

67
New cards

Background Knowledge Attack

An attack that combines external information with an anonymised dataset to discover sensitive information.

68
New cards

Unicity

A measure of how much information is required to uniquely re-identify an individual within a dataset.

69
New cards

Differential Privacy

A technique that adds random noise to query outputs so that an observer cannot tell whether any single individual's data was included in the dataset.

70
New cards

Epsilon (ϵ\epsilon)

The privacy parameter or privacy budget representing the maximum impact an individual's data can have on an output, where a smaller ϵ\epsilon denotes stronger privacy, more noise, and less accuracy.

71
New cards

Mind Bugs

Common cognitive pitfalls that affect how data scientists interpret and present data, including patternicity, story telling, and confirmation bias.

72
New cards

Patternicity

A cognitive pitfall characterized by finding patterns where none exist.

73
New cards

Story Telling (Cognitive Bias)

A cognitive pitfall where a data scientist rationalises non-existent patterns.