Please enable JavaScript to use CodeHS

Intro to AI Glossary

Flashcards

Course:

Module:

Search:

Minimax General

A decision method designed to minimize potential losses and maximize potential gains for a given player

Minimizing General

In minimax, minimizing refers to an opponent who is looking for their optimal move.

Maximizing General

In minimax, maximizing refers to a player who is looking for their own optimal move.

Finite State Machine (FSM) General

An artificial intelligence model that is commonly used in games to model the behavior of a non-playable character (NPC). It consists of a set of finite states with associated transitions that occur based on certain events, which cause the character between different behaviors.

Non-Playable Character (NPC) General

A character in a game that is controlled by an artificial intelligence (AI) agent rather than a player.

Search Tree Algorithm General

An algorithm that starts at the root of a search tree and explores its nodes to find a node that satisfies the conditions mentioned in a search problem

Heuristic General

A technique used to find an approximate solution, rather than trying all possible search paths

Depth-limited search General

A technique that will limit the minimax algorithm so that it only explores the game tree from the root node to a given depth

Alpha Beta Pruning General

An optimization technique that compares the current maximum and minimum scores in the game and stops minimax from executing if the minimum score is lower than the maximum

Alpha General

The best (highest) maximum score

Beta General

The best (lowest) minimum score

Recursion General

At a high level, recursion is when a function (or method) calls itself.

Base Case General

The base case is the simplest form of the recursive problem. The base case can be immediately solved without breaking the problem down any further.

Recursive Case General

The recursive case is the general form of the recursive problem. In this case the problem needs to be broken down by one step toward the base case, and the algorithm makes a recursive call to itself to solve this slightly smaller problem. This process repeats until the base case is reached.

Infinite Recursion General

Infinite recursion occurs when the base case can never be reached.

Machine Learning General

Machine learning is a field of Artificial Intelligence that uses inputs and outputs to create computer models that teaches a computer to have intelligence.

Supervised Learning General

A form of machine learning where algorithms are trained to make predictions using testing data, where the outcome of a specific event is already determined

Linear Regression General

A machine learning model that attempts to create a linear relationship between the inputs in an algorithm to the expected output

Independent Variable General

The variables or data points that shape and impact the outcome of a model, that are represented on the x-axis

Dependent Variable General

The variables or data points, that are represented on the y-axis, that directly depends on the independent variable

Line of Best Fit General

The line, or linear equation that best expresses the relationships between all data points. A line is considered to be the best fit if it has the smallest total distance from each data point.

Least Squares Method General

A statistical formula that is able to determine the total distance between all data points and their respective place on the predicted line

Cost Function General

A function that measures the performance of a Machine Learning model for given data. An example of a cost function is the least square method.

Coefficient General

The slope of the linear model, which determines how steep the line is, or how much a dependent variable changes compared to the independent variable

Bias General

The intercept where the line of best fit intercepts the y-axis

Outliers General

Data points that stray away from the given pattern can impact the line of best fit, causing the accuracy of the model to decrease

Correlation General

The strength of the relationship between numeric values. It determines whether or not independent and dependent variables have a relationship to one another.

Perfect Correlation General

As one variable changes, 100% of the time the other will change the exact same amount

Postive Correlation General

As one variable increases, the other variable increases.

Negative Correlation General

As one variable increases, the other variable decreases.

Pearson's Correlation Coefficient. General

A statistical equation that seeks to determine the variability of a variable, or how standard its change is, compared to the product of their standard deviations.

Multivariable Linear Regression General

A machine learning model for predicting the value of one dependent variable based on two or more independent variables

Sklearn Python

A machine learning library that provides public access to machine learning algorithms

R squared coefficient Python

A value that indicates how well the model fits the data, where 1 is a model that perfectly fits the data and 0 represents a model that doesn’t fit the data at all.

Scaling General

The process of normalizing the range between different variables in a dataset

Standardization General

The result of standardization is the features will be rescaled to ensure the mean and the standard deviation to be 0 and 1

Logistic Regression General

A supervised learning classification algorithm used to predict the probability of a target variable

Classification General

A predictive modeling problem where a label is predicted for a given input

Clustering General

A common unsupervised learning technique that takes a data set and divides it into subgroups, or clusters, based on similarities

Centroid Clustering General

A type of clustering that determines the similarity of data points based on their closeness to the centroid, or center, of a cluster

K-means General

An iterative clustering algorithm that uses an expectation-maximization approach to separate the data into clusters

Elbow Method General

An iterative process that calculates the impact that different K values have on the structure of the dataset

Estimation Step (E-Step) General

The step where the algorithm randomly assigns each data point to a cluster

Maximization Step (M-Step) General

The step where the algorithm calculates the centroids by finding the center between all of its cluster data points

Centroid General

A data point at the center of a cluster

Training Data General

A large percent of a dataset that is used to teach a machine learning model

Testing Data General

A smaller subset of a dataset that is used test a trained machine learning model

Algorithm General

An algorithm is a set of steps or rules to follow to solve a particular problem.

algorithm, process

Artificial Intelligence General

A computer system able to perform tasks that ordinarily require human intelligence

Human Intelligence General

The ability to perceive and interpret information, and to retain it as knowledge to be applied in the correct context

Strong Artificial Intelligence General

A machine that is able to apply intelligence to any problem and could act and behave like humans

Natural Language Processor General

An algorithm that takes voice input and translates it into text

Weak Artificial Intelligence General

A machine that is able to apply intelligence to a single problem

Ethics General

The moral principle that governs a person's behavior.

Algorithmic Bias General

The systematic and repeatable errors in a computer system that create unfair outcomes

Unsupervised Learning General

A form of machine learning where algorithms are able to group data and find patterns in the data on their own

Neural Networks General

A type of machine learning that uses a computational model that uses nodes inspired by the structure and functioning of the human brain and learns by trial and error.

Statistical Weight General

A weight given to a data point to determine how “important” a specific input is in relation to a given output

Pattern-Matching Chatbot General

Chatbots that are able to analyze user text and respond to users based on a set of established responses

Turing Test General

A test that determines how realistic, or humanlike a computer system really is. If a human is unable to tell if it is talking to a computer or a human, then the computer is said to have passed the Turing test.

Chatbot General

A program designed to simulate a human conversation

Rule-Based Chatbot General

A chatbot that provides users with a series of limited options that they can choose from to get more information from the chatbot. Rather than support a true conversation, rule-based chatbots tend to provide information and services that follow strict rules.

Decision Tree General

A visual support tool that helps document the possible conditional statements that could be executed in a given algorithm

input() Python

A function that prints a prompt and retrieves text from the user.

strip() Python

Python method that returns a copy of the string you call it on, without any whitespace at the beginning or end.

Input Output (I/O) General

A general term in programming that refers to the flow of information into and out of a program

open("file_name.txt") Python

A function that reads in a file into a program

Newline Character General

A character used to represent the end of a line of text and the beginning of a new line

split() Python

A Python method that returns a list of strings after breaking the given string by the specified separator

Chatterbot Python

A Python library that uses machine learning to respond to user input and create dialogue. Chatterbot chatbots start out as untrained and improve their conversational ability after every conversation and user input.

ListTrainer Python

A Chatterbot module that can be used to train a chatbot to respond to conversations

get_response(user_input) Python

A Chatterbot method that takes user input as a parameter, and returns a chatbot string response