DAC 111 - Chapter 10 & 11

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/47

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

48 Terms

1
New cards

Supervised Learning

Type of machine learning where expected prediction is available for each sample when fitting the model

2
New cards

Unsupervised Learning

Type of machine learning where expected prediction isn't available for each sample when fitting the model, often used for clustering and detecting outliers

3
New cards

Overfitting

Occurs when a machine learning model matches the training data so closely that the model fails to make correct predictions on generalized data

4
New cards

Training/Testing Split

Splits the data randomly at specified amounts

5
New cards

.fit()

scikit-learn method that learns from training data set to predict value for testing data set

6
New cards

.predict(x)

scikit-learn method that given x will return predicted values

7
New cards

Logistic Regression Classifier

Machine learning algorithm that predicts probability with binary outcome

8
New cards

MinMaxScaler

Transforms features by scaling those features to the given range

9
New cards

k-means Clustering

Groups similar data points into clusters based on distance to the center

10
New cards

Model Evaluation Metrics

Assesses performance and effectiveness of statistical or machine learning models

11
New cards

Handle Categorical Predictors with Dummy Coding

Make the variable equal to 1 if it exists, otherwise equal to 0

12
New cards

Tokenization

Text mining with NLTK that splits text into words/sentences

13
New cards

Stop-Word Removal

Text mining with NLTK that filters commonly used words

14
New cards

Stemming

Text mining with NLTK that reduces the variation of a word

15
New cards

Sentiment Analysis using VADER

Gives score ranging -1 to +1 ~ summing valence with adjustment to VADER

16
New cards

tkinter

Python library for creating GUI applications.

17
New cards

Tk root window

The initial window in GUI

18
New cards

Tk()

Method that instantiate the main root window

19
New cards

mainloop()

Method that enters the event loop; keeps the GUI responsive

20
New cards

title()

Method that sets the window title bar text

21
New cards

geometry()

Method that specifies window size and position

22
New cards

Label

Widget that displays static text or images

23
New cards

Button

Widget that triggers a function when clicked

24
New cards

Entry

Widget that is a single-line text input field

25
New cards

Listbox

Widget that displays a list of selectable items

26
New cards

Canvas

Widget that is a drawing area for shapes, images, or custom graphics

27
New cards

Frame

Widget that is a container for grouping related widgets

28
New cards

Checkbutton

Widget that allows selection of multiple options using checkboxes

29
New cards

Radiobutton

Widget that allows selection of one option from a set (mutually exclusive)

30
New cards

Combobox

Widget that is a dropdown menu for selecting one item from a list

31
New cards

Scrollbar

Widget that provides vertical or horizontal scrolling capabilities for widgets like Text, Canvas, or Listbox

32
New cards

text

Widget option that is a string displayed on the widget (e.g. button label)

33
New cards

bg

Widget option that is the background color of the widget

34
New cards

fg

Widget option that is the foreground (text) color

35
New cards

font

Widget option that is the font family, size, style for widget text

36
New cards

width

Widget option that is the widgets width (characters or pixels, widget-dependent)

37
New cards

height

Widget option that is the widgets height (lines or pixels)

38
New cards

justify

Widget option that is the alignment of multi-line text within the widget (left, center, right)

39
New cards

StringVar

Variable class that stores text strings

40
New cards

IntVar

Variable class that stores integer values

41
New cards

DoubleVar

Variable class that stores floating-point numbers

42
New cards

BooleanVar

Variable class that stores boolean flags (True/False)

43
New cards

pack

Layout manager with placement of side/top/bottom stacking with padding

44
New cards

grid

Layout manager with row/column placement --> uses row, column, sticky

45
New cards

place

Layout manager uses absolute or relative x/y coordinates for placement

46
New cards

sticky

Layout manager with placement alignment inside a grid cell (NSEW)

47
New cards

.destroy()

Method that destroys the specified widget (or root) immediately

48
New cards

.quit()

Exits mainloop() but keeps window objects alive