KMS Big Data midterm

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

1/104

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:17 AM on 10/12/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

105 Terms

1
New cards

6vs model

volume, velocity, veracity, variety, value, variability

2
New cards

Challenges of Big Data:
High ___, ____, and ____

storage, transmission, and computation

3
New cards

data density

volume

4
New cards

data speed

velocity

5
New cards

data complexity

variety

6
New cards

data validity

veracity

7
New cards

transformation to meaningful results

value

8
New cards

explosive nature of data

variability

9
New cards

One of three major challenges due to limited memory

storage

10
New cards

One of three major challenges due to data analysis

computation

11
New cards

One of three major challenges due to network bandwidth

transmission

12
New cards

the scientific study of the creation, validation and transformation of data to create meaning.

data science

13
New cards

data is used to validate the hypothesis

deductive

14
New cards

____________________ analytics determine the cause of a phenomenon that occurred in the past using queries that focus on the reason behind the event.

Diagnostic

15
New cards

Collecting data without physical contact using sensors that measure electromagnetic radiation reflected by objects. The data collected comes in a grid of pixels with layers (known as bands, where each band is a different slice of the electromagnetic spectrum)

Remote sensing

16
New cards

The more features or dimensions in a dataset, the exponentially more data is required to be generalized accurately

  • since to train a good classifier, it has to learn an exhaustive list of possible combinations of features to learn the patterns in the data (instead of purely memorizing the small dataset and overfitting)

  • more dimensions/features = more combinations —> requires more data samples


Curse of dimensionality/Hughes phenomenon

17
New cards

A type of research question that is data driven; data brings a conclusion that should hold more broadly

Inductive

18
New cards

Theory driven research question where data validates the hypothesis

Deductive

19
New cards

Mixed model research question that combines inductive and deductive research

abductive

20
New cards

Types of data generated: ____-generated and ____-generated

Human and machine

21
New cards

Categories of data generated

Structures, unstructured, semi-structured

22
New cards

used to capture relationships between different entities and is therefore most often stored in a relational database

structured data

23
New cards

does not conform to a data model or data schema

  • makes up 80% of data within any given enterprise


unstructured data

24
New cards

defined level of structure and consistency, but is not relational in nature

  • data is hierarchical or graph-based


semi-structured data

25
New cards

data analysis algorithms that “learns” the structure of data to predict categorizations of new data points

machine learning

26
New cards

Algorithm is trained based on some “known/labeled” data and then tested on the unknown database.

Supervised learning

27
New cards

There is no training (prior learning) involved. Algorithm learns data based on data structure/statistics.

Unsupervised learning

28
New cards

The algorithm is trained on a small set of “known/labeled” data and then tested on the larger unlabeled data.

semi-supervised learning

29
New cards

discipline that includes the management of the complete data lifecycle, which encompasses collecting, cleansing, organizing, storing, analyzing and governing data

data analytics

30
New cards

Category of data analytics that enables to answer questions about events that have occurred via contextualized data to generate information; what happened?

descriptive analytics

31
New cards

Category of data analytics that aims to determine the cause of a phenomenon that occurred in the past using queries that focus on the reason behind the event; why?

Diagnostic analytics

32
New cards

category of data analytics that determines the outcome of an event that might occur in the future

predictive analytics

33
New cards

category of data analytics that builds upon the results of data-driven analysis by recommended actions that could be taken

prescriptive analytics

34
New cards

Used by organization to gain insight into its performance by analyzing data generated by its business processes and information systems.

Business intelligence (BI)

35
New cards

metric used to gauge success within a particular business context

Key performance indicators (KPI)

36
New cards

Development and utilization of frameworks that are capable of analyzing large volumes of data from different sources to derive insights from patterns

data analysis

37
New cards

data analysis based on mathematical or statistical criteria

Quantitative

38
New cards

data analysis based on improved human visual perception

Qualitative

39
New cards

A high dimensional data is projected to its low dimensional subspace based on an objective function such that important info in the data is preserved (unsupervised learning method)

Dimensionality reduction

40
New cards

Learning technique for capturing a signal using far fewer measurements than the Nyquist rate, and then reconstructing the full signal accurately. Works when signal is sparse (few important components) and measurements are incoherent (random spread out sampling)

Compressed sensing

41
New cards

Nonlinear learning technique that takes high dimensional data living on a curved, lower dimensional surface (cinnamon roll) and unrolls it into fewer dimensions so the output has fewer features than the input

Manifold learning

42
New cards

A low dimensional data is projected to a high dimensional subspace based on a transformation function (kernels) such that the data that was previously nonlinearly separable are now linearly separable in higher dimensions

Kernel learning

43
New cards

Learning method where the environment is dynamic and constantly learning to maximize the notion of “reward”

Reinforcement learning

44
New cards

Learning method that uses artificial neural networks (ANN) with more than one hidden layer to perform complex learning tasks

Deep learning

45
New cards
  • big data analytics can reveal confidential informational about orgs/individuals

  • can cause intentional/inadvertent breach

  • requires understanding of the nature of data and awareness of data regulations

  • can employ special techniques for data tagging and anonymization


privacy

46
New cards
  • involves ensuring that the data networks and repositories are sufficiently secured via authentication and authorization mechanisms.

  • can involve establishing data access level for different categories of users


security

47
New cards
  • refers to information about the source of the data and how it has been processed.

  • helps determine the authenticity, quality of data, and is used for auditing purposes.

  • stored as metadata corresponding to stages in the data analytics lifecycle

  • essential to realize value/confidence of analytic result


provenance

48
New cards

ensures that data and its solution environment are regulated, standardized and evolved in a controlled manner

  • how data/metadata is tagged

  • policies for management of data privacy and anonymization

  • guidelines for data cleansing, filtering, archiving of data sources and analysis results


distinct governance requirements

49
New cards

provide remote environments that can host IT infrastructure for large-scale data storage and processing needs of organizations. May be required due to:

  • inadequate in-house hardware resources

  • limitations such as computing power, storage resources, and funds that prevent an in-house solution


cloud-based big data solution

50
New cards

Consists of data acquiring, processing, analyzing and repurposing datal; divided into nine stages

big data analytics lifecycle

51
New cards

Stage 1: the creation of a well-defined business case that presents a clear justification, motivation and data analysis goals, which are assessed and approved. Determines resources required and business challenges that will be tackled, and identifies KPIs or SMART goals.

Business case evaluation

52
New cards

Stage 2: identify a wide variety of datasets required for analysis and their sources, which could be internal or external to the enterprise

data identification

53
New cards

Stage 3: data acquired is subjected to automated filtering for removal of corrupted, irrelevant, or valueless data/noise

data acquisition and filtering

54
New cards

Stage 4: data identified as input for analysis may require transformation into a consistent, compatible format for the solution

data extraction

55
New cards

Stage 5: Since invalid, unstructured data can skew and falsify analysis results (especially external data), complex validation rules must be established to remove this data

Data validation and cleansing

56
New cards

Stage 6: methods for information aggregation (combination) across multiple datasets, which involve challenges such as differing semantics and data models as well as large volumes

Data aggregation and representation

57
New cards

Stage 7: employ one or more types of analytics such as data mining, complex statistical analysis techniques, statistical, or mathematical models to depict relationships between variables to discover patterns and anomalies. This stage can be iterative until the appropriate data pattern or correlation is discovered

data analysis

58
New cards

a deductive approach to data analysis where the cause (assumption/hypothesis) is proposed beforehand (data sampling techniques)

confirmatory data analysis

59
New cards

an inductive approach to data analysis where no hypothesis/assumption is made. The data is explored through analysis to develop an understanding of the cause (closely associated with data mining)

exploratory data analysis

60
New cards

Stage 8: techniques that analyze massive amounts of data to graphically communicate the results for effective visual interpretation

Data visualization

61
New cards

Stage 9: Analysis results with application/domain-specific value containing new insights about the patterns and relationships within the data, used to support business decision making

Utilization of analysis results

62
New cards

it refers to automated, software-based techniques that sift through massive datasets to

identify hidden or unknown patterns and trends.

  • forms the basis for predictive analytics and BI b/c it discovers patterns to apply to new cases

  • also known as pattern recognition or knowledge discovery


Data mining

63
New cards

Statistical analysis method also known as split or bucket testing; compares two versions of an element to determine which is superior based on a pre-defined metric

  • current version is called the control version

  • modified version is the treatment version

  • both are subjected to experiments to determine which is more successful


A/B testing

64
New cards

Statistical analysis method used to determine whether two variable are related and what their relationship is to explain a phenomenon; commonly used in data mining to discover patterns and anomalies

  • uses coefficients to measure degree of similarity between two variables from -1 (weak) to 1 (strong)


Correlation

65
New cards
<p>measures the strength and direction of a linear relationship between two numeric variables where:</p><ul><li><p>r = +1: perfect positive linear relationship (one rises, the other rises).</p></li><li><p>r = 0: no linear relationship.</p></li><li><p>r = -1: perfect negative linear relationship (one rises, the other falls).</p></li></ul><p></p>

measures the strength and direction of a linear relationship between two numeric variables where:

  • r = +1: perfect positive linear relationship (one rises, the other rises).

  • r = 0: no linear relationship.

  • r = -1: perfect negative linear relationship (one rises, the other falls).


Pearson’s correlation coefficient

66
New cards

Statistical analysis technique that explores how a dependent variable is related to an independent variable within a dataset. Can be used to make predictions about the values of the dependent variable

  • linear represents a constant rate of change

  • nonlinear represents a variable rate of change


Regression

67
New cards

Assumptions made for ____:

  • relationship between x and y is linear

  • observations are independent

  • y is distributed normally at each x (y should clusters when more samples are taken)

  • variance of y at every value x is the same (spread of y is same no matter which x)


Linear regression

68
New cards

Linear regression function

Y = a + Bx

69
New cards

Least-squares function that makes the gap between the actual and predicted value (error) as small as possible by computing a SSE score for choosing the line of best-fit

sum[(actual y - predicted y)²]

70
New cards

Sample y-intercept formula: where the regression line crosses the vertical y-axis/average value of Y when X = 0

a = mean of y - B(mean of x)

71
New cards

Sample slope formula: gives the estimated Y change (B) for each 1 unit increase in X

B = sum(x-meanOfAllX)(y-meanOfAllY)/sum(x-meanOfAllX)

72
New cards

An unsupervised learning technique that linearly projects a high dimensional data to lower dimensions, preserving only the important patterns/trends

  • rotation of existing axis to new locations in space to match the shape of the data. Aligns axes with the directions of maximum variance

    • rotation of axes via the eigenvectors (mutually orthogonal) represent directions with maximum variability = Principal components (where PC #1 points to direction of highest variance)

    • each direction/PC is a independent pattern

    • drop minor PC axes/ coordinate description

  • fights the curse of dimensionality


Principal component analysis (PCA)

73
New cards

a square grid that summarizes how every variable in a dataset relates to every other variable

  • the diagonal elements represent the variance of each individual variable by itself

  • Off diagonal elements represent covariance (how two variable change together)


Covariance matrix

74
New cards

Matrix factorization technique that breaks complex matrices into three simpler, fundamental component matrices where:
X = USV^T

  • U (Left Singular Vectors): An orthogonal matrix that captures the patterns, structures, and relationships across your samples (rows).

  • S (Singular Values): A diagonal matrix containing scaling factors that quantify the importance, weight, or variance captured by each component (eigenvalues)

  • V^T (Right Singular Vectors): An orthogonal matrix that captures the relationships and structure across your features/dimensions (columns).

Is used to calculate PCA, and is proven to be the best possible way to compress data in a linear fashion


Singular Vector Decomposition (SVD)

75
New cards

computational complexity of SVD
- N: dimensions, M: samples

O(MN²)

76
New cards

In dimensionality reduction, must consider factors for choosing how many PCs to keep:

  • dropping dimensions means losing data, but if remaining components capture the variance, then loss is negligible

  • Eigenvalues measure how much variance each PC/eigenvector holds

  • final dataset only has __ dimensions/eigenvectors (with the highest variances)


choosing the value of K

77
New cards

Does not distinguish between class labels (since unsupervised), cannot capture nonlinear structures, and high computational complexity of O(min(N³, M³))

PCA cons

78
New cards

Provides data compaction while preserving info at lower dimensions, provides denoising, and improves data separability for better classification

PCA pros

79
New cards

Implicitly assumes data is gaussian (data follows normal distribution, average sits in the middle), finds orthonormal basis for data (axes that form a new coordinate system), sorts PCs/dimensions in order of variance, and discards low significant dimensions/PCs

PCA

80
New cards

Rule used by Naive Bayes to make its final classification

  • which class has the highest posterior probability (score) for a given datapoint

  • Probability of evidence can be dropped from Bayes Theorem since they are all being affected by the same amount → does not affect the final classification


Maximum A Posterior (MAP) classification rule

81
New cards

Given a training set with features and classes, calculate and store their prior and conditional probabilities in a lookup table. Then take an unseen data instance, look up pre-calculated probabilities, and apply MAP decision rule to assign its final label

  • assumes independence across features


Naive Bayes Classification

82
New cards

a set of data examples used for learning, where the target value is known

Training set

83
New cards

a set of data examples used to tune the architecture of a classifier and estimate the error

Validation set

84
New cards

set of data used only to assess the performances of a classifier. Is not used during the training process so the error on the test set provides an accurate estimate of the generalization error

test set

85
New cards

True positive, false negative, false positive, true negative

classification categories

86
New cards

Root mean square error: measures the average magnitude of errors between predicted values and actual observed values

Root mean square error (RSME)

87
New cards

Evaluates the performance of a binary classification model or diagnostic test across all possible decision thresholds using sensitivity and specificity

Receiver operating characteristics (ROC) analysis

88
New cards

Sensitivity: the likelihood of spotting a positive case when presented with one

TP/TP+FN

89
New cards

specificity: the likelihood of spotting a negative case when presented with one

TN/TN+FP

90
New cards

a technique used to evaluate how well a machine learning model will perform on unseen data. Splits data into training and testing set multiple times

cross validation

91
New cards

Split data into k subsets of equal size and use a subset for testing and remainder for training. Rotate out the subsets for testing and training so every subset is the testing set at least once

k-fold cross-validation

92
New cards

A specialized version of K-fold cross-validation where the number of folds equal the total number of data points

  • one data point acts as the test set, and the rest act as training data

  • Shift the next data point and repeat the process until every single data point has been the test set once

  • Average performance score across the rounds

  • makes best use of data but very computationally expensive


Leave-one-out cross-validation

93
New cards

Consists of choice of kernel and modularity (any kernel can be used with any kernel algorithm).

  • Examples: Kernel PCA, Fisher discriminant analysis, Support vector machines


Kernel methods

94
New cards
<p>Nonlinear mapping using a nonlinear mapping function to project input data into a higher dimensional space for greater separability. Maps inputs to a new multidimensional mathematical space where features of dataset serve as the axes. </p><ul><li><p>Serves as the foundation behind kernel methods like SVMs</p></li></ul><p></p>

Nonlinear mapping using a nonlinear mapping function to project input data into a higher dimensional space for greater separability. Maps inputs to a new multidimensional mathematical space where features of dataset serve as the axes.

  • Serves as the foundation behind kernel methods like SVMs


Data in a new feature space

95
New cards

central data structures used by all kernel-based ML algorithms. Converts the training set into a matrix of pairwise vectors (x1,x2) similarity scores (not the vectors themselves) calculated by the kernel function and tosses the original raw data

  • if the kernel is valid, then K is symmetric positive-definite


Kernel gram matrix

96
New cards
<p>Based on the linear model, but after the data is projected into higher dimensional space</p><ul><li><p>g(x) is the final score for a single data point used for classification into one class or the other</p></li><li><p>phi(x): the non-linear mapping function</p></li><li><p>w is the weight vector that determines the orientation and importance of each axis in the feature space (direction that best separates the classes)</p></li><li><p>w^T*phi(x): dot product that measures how far the point projects along the direction of the weight vector</p></li><li><p>w<sub>0</sub>: bias, a scalar value that shifts the decision boundary (hyperplane) from origin</p></li></ul><p></p>

Based on the linear model, but after the data is projected into higher dimensional space

  • g(x) is the final score for a single data point used for classification into one class or the other

  • phi(x): the non-linear mapping function

  • w is the weight vector that determines the orientation and importance of each axis in the feature space (direction that best separates the classes)

  • w^T*phi(x): dot product that measures how far the point projects along the direction of the weight vector

  • w0: bias, a scalar value that shifts the decision boundary (hyperplane) from origin


Support vector machines (SVM)

97
New cards

Finds the linear classifier among an infinite number of classifiers with the maximum margin (the orthogonal distance in feature space between the decision boundary and the closest training vector)

  • minimizes the norm which maximizes the margin

  • weight vector is known as the support vector


SVM

98
New cards

For nonlinearly separable data, use parameter C to introduce flexibility (soft margin) that allows a controlled number of margin violations. Data points with a non-zero multiplier is the boundary/support vector

  • Uses Lagrangian multipliers to pick a hyperplane

  • need to balance high dimensions for linear separability but also the computational complexity

  • Uses Mercer’s theorem: calculate similarities in massive feature spaces without actually computing the transformation by computing lower dimension data with Kernel functions


SVM

99
New cards

3vs model

volume, velocity, variety

100
New cards

imaging data that captures light across hundreds of continuous, narrow spectral bands (wavelengths).

hyperspectral