Module 1 Flashcards

1
Q

What is Data Mining?

A

the process of extracting (aka mining) knowledge from data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Machine Learning?

A

a technique or method in which knowledge is extracted from data. The process of applying a machine learning technique on the data to extract knowledge is referred to as data mining.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are 3 purposes of data?

A
  1. describing or diagnosing a phenomenon.
    2.predicting events or changes based on the available data.
    3.creating a system that use data objects and mimics a cognitive capability of a human behavior, e.g., finding a cat in a picture, understanding a handwritten text, chatting with you about something, etc.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can we describe or diagnose a phenomenon using data?

A

we use classification, regression, or clustering, i.e., categorizing data with similar properties together

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How can we predict events or changes based on available data?

A

prediction, i.e., use of the existing data to describe what will happen in the future.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Artificial Intelligence?

A

creating a system that use data objects and mimics a cognitive capability of a human behavior, e.g., finding a cat in a picture, understanding a handwritten text, chatting with you about something, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the standard format for web documents?

A

HTML (Hyper Text Markup Language)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the two main components of a web page. Describe them

A

The header part of the page presents an introduction to, and meta information about, the information that exists on that page.

The body contains the actual text of the page

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is an API?

A

An application programmable interface that allows consumers to collect data from websites

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How can a company analyze its own system?

A

They can use their own server log files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is page tagging?

A

The collection of users’ data via the cookies installed b the web page on the data. They can collect data on browser version, operating system, screen size, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is web scraping?

A

The process of automatically collecting data from web pages or web resources. It focuses on a single source of information. Another name for it is Web Knowledge Extraction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is web crawling?

A

The process of reading and storing all web pages of a site or number of sites. It is related to gathering pages from the web and indexing them to support a search engine. This downloads the entire website (which is comprised of many web pages)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Who/ What primarily uses web crawlers?

A

Web crawling is heavily used by search engines that download documents of a web page and then store the docs in their local data base.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is an inverted index?

A

An inverted index is a map of keywords and their location used to access the database of web documents

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are some other phrases for web crawling?

A

Web spider, web robots

17
Q

What are some examples of web crawling?

A

Collecting email addresses (spammer), indexing web pages for fast access in search engines, extracting the best financial offer (airfare ticket purchase application)

18
Q

What is WebSPHINX?

A

A free tool that is a web crawler

19
Q

What is Robots.txt?

A

This is a text file that is created by the owner of a web site. It defines which pages or resources can and cannot be crawled. The main commands are allow and disallow

20
Q

What are some examples of applications that benefit from web scraping?

A

Market forecasting and market studies (scraping online product reviews from Amazon, identifying public opinions), machine language translation (using web text as a template to reconstruct a sentence correctly), Medical diagnostics (retrieve and analyze data from news sites, translated texts, health forums), Opinion mining from social/new media, epidemic propagation (influenza based on geolocation or amount of hate speech (tweets) during different times)

21
Q

What are examples of web scraping libraries in R and Python

A

rvest in R and BeautifulSoup in Python

22
Q

What are the 3 types of intellectual properties?

A
  1. Trademarks 2. Copyrights 3. Patents
23
Q

What is a patent?

A

patent is a property right granted by the Government of the United States of America to an inventor “to exclude others from making, using, offering for sale, or selling the invention throughout the United States or importing the invention into the United States” for a limited time in exchange for public disclosure of the invention when the patent is granted. They are used to declare ownership over inventions only, not digital properties. You can not patent images, text, or any information itself. Software can have patents since it is the technique that is patented not the information.

24
Q

What is a trademark?

A

A trademark is a word, phrase, symbol, and/or design that identifies and distinguishes the source of the goods of one party from those of others. A service mark is a word, phrase, symbol, and/or design that identifies and distinguishes the source of a service rather than goods. The term “trademark” is often used to refer to both trademarks and service marks.

25
Q

What is copyright?

A

Copyright is a type of intellectual property that protects original works of authorship as soon as an author fixes the work in a tangible form of expression. In copyright law, there are a lot of different types of works, including paintings, photographs, illustrations, musical compositions, sound recordings, computer programs, books, poems, blog posts, movies, architectural works, plays, and so much more!

26
Q

What is the difference between original work and fixed work for copyright?

A

Original work refers to work that is independently created by a human author and has minimal level of creativity. In this context, independent creation refers to creation by a human author, without copying from other resources.
Fixed work refers to when the work is captured in a permanent medium such that the work can be perceived, reproduced, or communicated for more than a short time. For example, a work is fixed when we write it down or record it. Extends to creative works only

27
Q

What are copyright owners entitled to?

A

Reproduce the work in copies or phono records.
Prepare derivative works based on the work.
Distribute copies or phonorecords of the work to the public by sale or other transfer of ownership or by rental, lease, or lending.
Perform the work publicly if it is a literary, musical, dramatic, or choreographic work; a pantomime; or a motion picture or other audiovisual work.
Display the work publicly if it is a literary, musical, dramatic, or choreographic work; a pantomime; or a pictorial, graphic, or sculptural work. This right also applies to the individual images of a motion picture or other audiovisual work.
Perform the work publicly by means of a digital audio transmission if the work is a sound recording.

28
Q

What is Trespass to Chattel?

A

This refers to intentional interference with another individual’s property.

29
Q

What criteria needs to be met for a web scraper to violate trespass to chattel?

A

Three criteria need to be met (all together) for a web scraper to violate trespass to chattel:

Lack of consent: Web servers are open to everyone; they are generally “giving consent” to web scrapers as well. However, many websites’ terms of service agreements specifically prohibit the use of scrapers in a file called robot.txt. In addition, any explicit notices delivered to you from the web server revoke this consent.
Actual harm: Servers are expensive properties. Besides, if the scrapers take a website down, or limit its ability to serve other users, this can add to the “harm” you cause.
Intentionality: If we are writing the code that perform some harm, such as DDoS attack.

30
Q

What is ytdl-org used for?

A

This is a very robust command line web scraping library especially for video files

31
Q

What is Selenium?

A

It is a multiplatform scraping library that can simulate human behavior for downloading from a web page

32
Q

What is Scrapy?

A

Another multiplatform scraping library

33
Q
A