• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 35 pages
Exam (elaborations)

CIS 5450 Midterm Review-Quizzes with Correct Answers

Document preview thumbnail
Preview 4 out of 35 pages

CIS 5450 Midterm Review-Quizzes with Correct Answers

Content preview

CIS 5450 Midterm Review-Quizzes with Correct
Answers
What is the data process?

1. We start with raw data collected from the world

2. We move to clean data, in a meaningful form we can work with

3. We extract the meaningful features

4. We create models (descriptive, prescriptive models)

Why is bid data a thing now?

Computers are faster! Total volume of data has grown dramatically! Computers are cheaper

Value of data driven decision making always been high

What is big data?

Data that cannot be processed by simple means. Data that was big in 2003 might not be in 2024.

5 Vs of Big Data

1. Volume: There is a lot of data. Too much for simple tools to handle.

2. Velocity: Data arrives quickly and must be processed quickly. Working from more recent data

is a big advantage.

3. Value: Data without a model is a liability, not an asset. We need to use data to power decision

making or it is not helpful.

4. Variety: Data will come in many forms sometimes unstructured rows, columns, raw text

5. Veracity: Data can have missing pieces, or have varying levels of quality of integrity. This can

impact insights. Data can be poor and missing.

,Structured vs. Unstructured

What makes data structured is a schema. It is the kind of data a computer likes! What is a

schema?

- Structure must have any and every piece of data

- Be unambiguous

- Be computable



What is unstructured data? Text, images, videos, audio

- it is schema-less

-a human might like it but a computer won't!

Data Modalities

Modality = form, format, type

Tables: relations, spreadsheets, dataframes

Arrays: Tensors or Matrices

Document: Hierarchy, tree, XML/HTML

Tables

- Rows are facts, columns are attributes

- Columns (attributes) -- every column has a uniform type

- Every row and column pair has a value (it could be null)

- All facts have the same relation

- We can do operations on these tables effectively

- This relies on the column being homogeneous

,- We can group by some property

- Main form of data in SQL databases

Arrays

- Uniform datatype

- Rows and columns are data-dependent

- Operations: Matrix multiply, element-wise multiply, dot product, solve, compute rank

- Everything in an array is of the same type

**Key difference from tables: as you do computations with tables, the number of columns

can change depending on the schema of the table**

- With an array, all bets are off -- the number of rows impact the results

Documents

- Nested sequence of maps and lists

- Hierarchical -- a list or a map as a sequence of things

- Not as much documentation-- everything becomes a whole lot harder

What is data wrangling?

- Getting data from "raw" format into processed format

- Obviously "raw" and "processed" are context -- dependent

Often the most time consuming part!

- Our working definition: transforming data to be ready for analysis

ETL

, ETL: (general steps)

- Extract the data

- Transform (and clean) the data

-Load the data into whatever is doing your analysis

Polars vs. Pandas

Pandas can do it all, polars cannot but it is faster. It runs on multiple cores.

Core pandas functions to know

reading in data: pd.read_csv()

type checking: df.dtypes

subsetting df: df[["columns_subset"]]

change type: df["column"].astype("int")

call a function on a column: df[["column"]].apply()

lambda function: Lambda x: 1 if "true" else 0

explode column: df.explode ('col name')

aggregation: df.groupby()

built in stats functions: df[["col"].mean()df.pct_change(periods =1, axis =0)

arithmetic operations: df["col"] = df["a"]/df["b"]

Lazy vs. Eager Polars

- With the lazy API Polars doesn't run each query line-by-line but instead processes the full

query end-to-end. So polars would optimize the query.



- Lazy execution means the user needs to trigger computation in the end.

Document information

Uploaded on
June 14, 2026
Number of pages
35
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$14.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
QUINTER
3.6
(73)
Sold
420
Followers
105
Items
39867
Last sold
5 days ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions