IA mid

studied byStudied by 2 people
5.0(1)
Get a hint
Hint

Greedy Algorithm

1 / 79

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

80 Terms

1

Greedy Algorithm

an approach for solving a problem by selecting the best option available at the moment. It doesn't worry whether the current best result will bring the overall optimal result

New cards
2

False

True or False

Greedy algorithm reverses the earlier decision even if the choice is wrong. It works in a top-down approach.

New cards
3

Greedy Choice Property, Optimal Substructure

We can determine if the algorithm can be used with any problem if the problem has the following properties

New cards
4

Greedy Choice Property

If an optimal solution to the problem can be found by choosing the best choice at each step without reconsidering the previous steps once chosen, the problem can be solved using a greedy approach. This property is called

New cards
5

Optimal Substructure

If the optimal overall solution to the problem corresponds to the optimal solution to its subproblems, then the problem can be solved using a greedy approach. This property is called

New cards
6

True

True or False
Advantages of Greedy Approach are
The algorithm is easier to describe.

This algorithm can perform better than other algorithms

New cards
7

False

True or False
The greedy algorithm always produce the optimal solution.

New cards
8

A* Algorithm

Its a computer algorithm that is widely used in pathfinding and graph traversal. The algorithm efficiently plots a walkable path between multiple nodes, or points, on the graph.

New cards
9

Dijkstra’s algorithm

One algorithm for finding the shortest path from a starting node to a target node in a weighted graph. The algorithm creates a tree of shortest paths from the starting vertex, the source, to all other points in the graph.

New cards
10

Breadth-first search

is an important graph search algorithm that is used to solve many problems including finding the shortest path in a graph and solving puzzle games.

New cards
11

Dijkstra’s algorithm, Breadth-first search

A* is an extension of _____ with characteristics of _________

New cards
12

Candidate Set

solution to the problem that has been created from the dataset.

New cards
13

Selection Function

a function that decides whether the element can be added as a solution or not.

New cards
14

Feasibility Function

checks whether the elements selected in the selection function & candidate set are feasible or not

New cards
15

Objective Function

assigns value to the solution

New cards
16

Solution Function

used to intimate the reaching of complete function.

New cards
17

Candidate Set, Selection Function, Feasibility Function, Objective Function, Solution Function

5 Components of Greedy Algorithm

New cards
18

Knowledge representation and reasoning

It is responsible for representing information about the real world so that a computer can understand and can utilize this knowledge to solve complex real-world problems. It also enables an intelligent machine to learn from that knowledge and experiences so, that it can behave intelligently like a human.

New cards
19

Knowledge

is a familiarity, awareness, or understanding of someone or, something, such as facts, information, descriptions, or skills, which is acquired through experience or, education by perceiving, discovering or, learning.

New cards
20

Declarative Knowledge

It is the type of knowledge that is, by its very nature, expressed in declarative sentences or indicative propositions. It includes concepts, facts, and objects.

New cards
21

Procedural Knowledge

is the knowledge exercised in the performance of some task. It can be directly applied to any task. It includes rules, strategies, procedures, agendas, etc. It depends on the task on which it can be applied.

New cards
22

Meta-knowledge

is knowledge about preselected knowledge. Examples are methods of planning, modeling,

New cards
23

Heuristic knowledge

is representing knowledge of some experts in a filed or subject. It is rules of thumb based on previous experiences, awareness of approaches, and which are good to work but not guaranteed.

New cards
24

Structural knowledge

is knowledge of how the ideas within a domain are integrated and interrelated. It describes relationships between various concepts such as kind of, part of, and grouping of something.

New cards
25

Perception, Learning, Knowledge Representation and Reasoning, Planning, Execution

Components of an Agent helps in decision making and displaying intelligent behaviors

New cards
26

Representation

The concept of representation is as philosophically vexing as that of knowledge. Representation is a relationship between two domains, where the first is meant to “stand for” or replace the second.

New cards
27

Knowledge representation

Is the field of study concerned with using formal symbols to represent a collection of propositions believed by some putative agent. As we will see, however, we do not want to insist that these symbols represent all the propositions the agent believes

New cards
28

Objects

All the facts about objects in our world domain

New cards
29

Events

are the actions that occur in our world

New cards
30

Performance

It describes behavior that involves knowledge about how to do things

New cards
31

Meta-knowledge

It is knowledge about what we know.

New cards
32

Facts

Facts are the truths about the real world and what we represent

New cards
33

Knowledge-Base

Is a group of Sentences (Here, sentences are used as a technical term and not identical with the English language).

New cards
34

Simple relational knowledge, Inheritable knowledge, Inferential knowledge, Procedural knowledge

Four Approaches to knowledge representation

New cards
35

Representational Accuracy, Inferential Adequacy, Inferential Efficiency, Acquisitional efficiency

Requirements for knowledge Representation system

New cards
36

Representational Accuracy

The KR system should have the ability to represent all kinds of required knowledge.

New cards
37

Inferential Adequacy

The KR system should have the ability to manipulate the representational structures to produce new knowledge corresponding to the existing structures.

New cards
38

Inferential Efficiency

The ability to direct the inferential knowledge mechanism in the most productive directions by storing appropriate guides.

New cards
39

Acquisitional efficiency

The ability to acquire new knowledge easily using automatic methods.

New cards
40

Simple relational knowledge

It is the simplest way of storing facts which uses the relational method, and each fact about a set of objects is set out systematically in columns

New cards
41

Inheritable knowledge

In this approach, all data must be stored in a hierarchy of classes. This approach contains inheritable knowledge which shows a relationship between instance and class, and it is called instance relation.

New cards
42

Inferential knowledge

This approach represents knowledge in the form of formal logic. This approach can be used to derive more facts.

New cards
43

Procedural knowledge

This approach uses small programs and codes that describe how to do specific things, and how to proceed. In this approach, one important rule is used which is the If-Then rule.

New cards
44

Logical Representation, Semantic Network Representation, Frame Representation, Production Rules 

There are four ways of knowledge representation

New cards
45

Logical Representation

is a language with some concrete rules that deal with propositions and have no ambiguity in representation.

New cards
46

Propositional Logics, Predicate logics

Logical representation can be categorized into mainly two logics

New cards
47

Syntax

are the rules which decide how we can construct legal sentences in the logic

New cards
48

Semantics

are the rules by which we can interpret the sentence in the logic

New cards
49

Semantic Network Representation

In this knowledge representation, we can represent our knowledge through graphical networks. This network consists of nodes representing objects and arcs which describe the relationship between those objects

New cards
50

Frame

is a record-like structure that consists of a collection of attributes and its values to describe an entity in the world

New cards
51

Facets

The various aspects of a slot are known as

New cards
52

Production Rule

It consists of (condition, action) pairs, which mean, "If condition then action."

New cards
53

Production Rule

IF (at bus stop AND bus arrives) THEN action (get into the bus)

New cards
54

Semantic Network Representation

knowt flashcard image
New cards
55

The set of production rules, Working Memory, The recognize-act-cycle

Three parts of Production rules

New cards
56

Frame Representation

knowt flashcard image
New cards
57

Heuristic

is a function which is used in Informed Search, and it finds the most promising path

New cards
58

Informed search algorithm

This algorithm contains an array of
knowledge such as how far we are from the goal, path
cost, how to reach to goal node, etc.

New cards
59

Greedy algorithm

this algorithm always selects the path which appears best at that moment

New cards
60

A* Algorithm

is the most commonly known form of best-first search. It uses heuristic function h(n), and cost to reach the node n from the start state g(n).

New cards
61

Knowledge-Based Agent

are those agents who have the capability of maintaining an internal state of knowledge, reason over that knowledge, update their knowledge after observations and take actions. These agents can represent the world with some formal representation and act intelligently.

New cards
62

Declarative approach

Approach where we Initialize with an empty knowledge base and telling the agent all the sentences with which we want to start with.

New cards
63

procedural approach

In the this approach, we directly encode desired behavior as a program code. Which means we just need to write a program that already encodes the desired behavior or agent.

New cards
64

Declarative approach, Procedural approach

Approaches to designing a knowledge-based agent

New cards
65

Activity Selection Problem

Best Time to Buy and Sell Stock

Job Sequence Problem

Fractional Knapsack Problem

Minimum Number of Coins

Minimum Platform Problem

Minimum Platform Problem

Connect 'n' Ropes with Minimal Cost

Merge Overlapping Intervals

Two City Scheduling

Top 10 Greedy Algorithm Problems
seperate via enter

New cards
66

Intelligent agents

are computer programs
or systems that can perform tasks
autonomously, make decisions, and
interact with users or their environment.

New cards
67

Chatbots and Virtual Assistants, Sentiment Analysis, Language Translation, Speech Recognition, Information Retrieval, Text Summarization

Intelligent Agents Applications in NLP

New cards
68

Tokenization

is the process of breaking down a text into individual words or tokens. This is the fundamental step in most NLP tasks. Tokens can be words, punctuation marks, or even sub word units in some languages.

New cards
69

Stop Words

are common words like "and," "the," "in," etc., that are often removed from text data because they don't carry significant information for many NLP tasks

New cards
70

POS tagging

assigns grammatical categories (such as noun, verb, adjective) to each word in a sentence.

New cards
71

NER

is the process of identifying and classifying named entities in text, such as names of people, places, organizations, dates, and more. It's crucial for information extraction and content categorization.

New cards
72

Named Entity Recognition

NER

New cards
73

Part-of-Speech

POS

New cards
74

Text Classification

involves categorizing text documents into predefined categories or labels. Common applications include spam detection, sentiment analysis, and topic categorization

New cards
75

Language Models

are pre-trained neural networks that have learned to predict the next word in a sentence based on context. Examples include GPT (Generative Pre-trained Transformer) models, which have been highly influential in NLP.

New cards
76

Tokenization, Stop Words, Part-of-Speech Tagging, Named Entity Recognition, Syntax and Grammar, Text Classification, Machine Learning and Deep Learning, Language Models

Basic Concepts of NLP

New cards
77

Data Collection and Preprocessing, Pattern Discovery, Recommendation Systems, Anomaly Detection, Predictive Analytics

Role of Intelligent Agents
in Data Mining

New cards
78

Data, Data Pre-Processing, Data Exploration, Data Mining Tasks

Basic Concepts of Data Mining

New cards
79

Classification, Clustering, Association Rule Mining, Regression, Anomaly Detection, Text Mining, Time Series Analysis

Data Mining Tasks

New cards
80

Backward Chaining

is the basis for “logic programming,” e.g., Prolog

New cards

Explore top notes

note Note
studied byStudied by 11 people
... ago
5.0(1)
note Note
studied byStudied by 21 people
... ago
4.3(3)
note Note
studied byStudied by 62 people
... ago
4.7(3)
note Note
studied byStudied by 9 people
... ago
5.0(1)
note Note
studied byStudied by 8 people
... ago
5.0(1)
note Note
studied byStudied by 56 people
... ago
5.0(1)
note Note
studied byStudied by 9 people
... ago
5.0(1)
note Note
studied byStudied by 125977 people
... ago
4.8(565)

Explore top flashcards

flashcards Flashcard (23)
studied byStudied by 8 people
... ago
5.0(1)
flashcards Flashcard (48)
studied byStudied by 45 people
... ago
5.0(3)
flashcards Flashcard (54)
studied byStudied by 16 people
... ago
5.0(1)
flashcards Flashcard (76)
studied byStudied by 398 people
... ago
3.8(26)
flashcards Flashcard (20)
studied byStudied by 9 people
... ago
5.0(1)
flashcards Flashcard (35)
studied byStudied by 4 people
... ago
5.0(1)
flashcards Flashcard (122)
studied byStudied by 13 people
... ago
5.0(1)
flashcards Flashcard (53)
studied byStudied by 52 people
... ago
5.0(1)
robot