P3_CS580_M23
.pdf
keyboard_arrow_up
School
University of Maryland, College Park *
*We aren’t endorsed by this school
Course
580
Subject
Computer Science
Date
Dec 6, 2023
Type
Pages
2
Uploaded by whorelindsey on coursehero.com
CS 580: Introduction to Artificial Intelligence
Project 3: Decision Tree Classifier for Wines
INSTRUCTIONS
•
This Project is considered individual effort and the honor code applies when reviewing the
submission.
•
Submit your solution as
P3_<username>.py
, and your report
P3_<username>.pdf
,
where
<username>
is your Mason account (i.e., your email account).
NOTES:
•
For this project, you are allowed to use the referenced code of the video and make some few
changes.
•
You are NOT allowed to use any predefined tool for the main core of the implementation (e.g.
the decision tree, metric for splitting, etc.) otherwise, the Project is penalized with
-30
points.
•
It is not a wise decision to wait until the last minute to submit your project
, this action may
cause you not to submit your work or submit a wrong file.
•
Once the submission link is closed, we do not accept resubmissions or email submissions, so
it is the responsibility of the student to verify that the files are the correct ones and not
corrupted.
•
Multiple submissions are allowed, and the last attempt is graded.
E
XTRA
C
REDIT
Category
Score
The last attempt was at most 24 hours before due date/time
+5 points
P
ENALTIES
Category
Score
Wrong file name
.py
-3 points
Wrong file name
.pdf
-3 points
Wrong format (it's not a
pdf
file)
-4 points
Wrong template (it's not the
IEEE
article template for conferences)
-10 points
The
.py
implementation is using predefined tools for the decision
tree, metrics, etc.
-30 points
CS580: Introduction to Artificial Intelligence
George Mason University
Prof. Ana Loreto González Hernández loreto@gmu.edu
2/2
Introduction
A
classifier
in
machine learning
is an algorithm that automatically orders or categorizes data into one or
more of a set of classes.
Supervised
classifiers are fed training datasets, from which they learn to classify
data according to predetermined categories.
Implementation
In this project you will implement in Python a decision tree
classifier
for wines. The classifier must show
how the decision tree was built, i.e., the attributes used for the classification and how were splitted. The
attributes are specified in the header of the
wines.cvs
file, where the type of wine in each example is
indicated.
NOTE:
The header was included in the original
wines.cvs
file only to indicate the attributes in
each column,
when implementing your classifier, remove the first line (header) from the wines.cvs
file and overwrite the original file
.
Access the following link to watch the video that explains the code used for this project:
https://www.youtube.com/watch?v=sgQAhG5Q7iY
Deliverables
Submit two files: the
code
P3_<username>.py
and a
report
P3_<username>.pdf
.
After your implementation, run the classifier using the dataset for training. Perform a parameter tuning
to determine values that will allow your classifier
to achieve at least 85% accuracy
. To get full credit on
this aspect, it is not enough to just give the final values of the classifier parameters, but to explain in your
report how the process was carried out to determine the parameter adjustment to obtain that precision,
what values were tested and why you selected those values.
Elaborate a report written in Latex using the IEEE article template for conferences and its format
specifications. Include at least the following:
•
Abstract and keywords
•
Introduction
•
Background
•
Proposed Approach
•
Experimental Results
•
Conclusions
•
References (at least three, including the textbook)
At this point in the course, it is assumed that you are familiar with the information that each section should
contain as a minimum requirement. Keep in mind that omitting basic information on your report may
cause you to get partial credit.
Note
: Review the description of previous projects to remember the basic information that a conference
document must contain.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
Solve the problems below. Copy the description of your Ferris wheel in the text box and include that as part of your initial Discussion post in Brightspace. Using "copy" from here in Mobius and "paste" into Brightspace should work.
Hint: This is similar to Question 48 in Section 8.1 of our textbook. We covered this section in "5-1 Reading and Participation Activities: Graphs of the Sine and Cosine Functions" in Module Five. You can check your answers to part a and c to make sure that you are on the right track.
A Ferris wheel is 30 meters in diameter and completes 1 full revolution in 8 minutes.
A Ferris wheel is 30 meters in diameter and boarded from a platform that is 1 meter above the ground. The six o’clock position on the Ferris wheel is level with the loading platform. The wheel completes 1 full revolution in 8 minutes. The function h(t)ht gives a person’s height in meters above the ground tt minutes after the wheel begins to turn.
a. Find the amplitude, midline, and…
arrow_forward
Solve the problems below. Copy the description of your Ferris wheel in the text box and include that as part of your initial Discussion post in Brightspace. Using "copy" from here in Mobius and "paste" into Brightspace should work.
Hint: This is similar to Question 48 in Section 8.1 of our textbook. We covered this section in "5-1 Reading and Participation Activities: Graphs of the Sine and Cosine Functions" in Module Five. You can check your answers to part a and c to make sure that you are on the right track.
A Ferris wheel is 30 meters in diameter and completes 1 full revolution in 8 minutes.
A Ferris wheel is 30meters in diameter and boarded from a platform that is 1 meter above the ground. The six o’clock position on the Ferris wheel is level with the loading platform. The wheel completes 1 full revolution in 8 minutes. The function h(t)ht gives a person’s height in meters above the ground tt minutes after the wheel begins to turn.
a. Find the amplitude, midline, and…
arrow_forward
Ball at the wallcontext
In a ball-at-the-wall game, children in the schoolyard must throw balls at the school wall to reach lines placed at certain heights. You want to predict how high the ball will hit the wall based on the parameters of the throw.
Constraints and information
The children are all placed behind a line drawn on the floor, at a known horizontal distance ? from the wall;The initial height at which the ball leaves the child's hand is known;The speed and angle of the throw are known;
Modelization
Creates a model to determine how high the ball will hit the wall based on the children's distance from the wall and the height, speed and angle of the ball as it leaves the child's hand .
Then test your model with the following parameters
Distance between the wall and the child: 3.9?;
Height of the ball when it leaves the child's hand: 1.05?;
Throw Speed: 14.1?/?;
Throw angle: 51∘
arrow_forward
Question 4
This question assesses Block 2 Part 4.
Parts a and b of this question involve creating drawings or descriptions.
You can make your drawings whichever way is easiest or fastest for you. For instance, you could simply make your drawings using pencil and paper then scan or photograph them.
Alternatively, you can answer by providing descriptions of the drawings. In that case, keep close to the formulations used in the long figure descriptions of the examples given in Section 4.5 of Block 2 Part 4.
a.Consider the following lines entered on the Python shell:
>>> Q4_TMA02 = 'submitted'
>>> id(Q4_TMA02)
1944127298928
>>> type(Q4_TMA02)
>>> Q4_TMA02
'submitted'
Draw (or describe) the object and its label that the Python interpreter creates in response to the assignment Q4_TMA02 = 'submitted' in the interactive shell above. Your drawing or description should include a String object with a similar level of detail as Figure 4.14 in…
arrow_forward
Question 4
This question assesses Block 2 Part 4.
Parts a and b of this question involve creating drawings or descriptions.
You can make your drawings whichever way is easiest or fastest for you. For instance, you could simply make your drawings using pencil and paper then scan or photograph them.
Alternatively, you can answer by providing descriptions of the drawings. In that case, keep close to the formulations used in the long figure descriptions of the examples given in Section 4.5 of Block 2 Part 4.
a.Consider the following lines entered on the Python shell:
>>> Q4_TMA02 = 'submitted'
>>> id(Q4_TMA02)
1944127298928
>>> type(Q4_TMA02)
>>> Q4_TMA02
'submitted'
Draw (or describe) the object and its label that the Python interpreter creates in response to the assignment Q4_TMA02 = 'submitted' in the interactive shell above. Your drawing or description should include a String object with a similar level of detail as Figure 4.14 in…
arrow_forward
HCI is (Human Computer Interaction)
Answer the following five statements by first stating whether it is true or false and then given one sentence for justifying your answer
a) You drag a folder to make a copy of its contents. An animation appears on the screen, showing files moving from one folder to another. This is an example of feedback.
b) In augmented reality a screen is composed of a computer animation of the reality.
c) The Model Human Processor is used in HCI to model complex cognitive processes
d) Petri Nets can be helpful in modeling concurrent activities in a user interface.
e) Gestalt is important to HCI as it offers tools to understand scenes.
arrow_forward
Design Assignment: Texas Hold 'em poker game
2 to 8 human or computer players
Each player has a name and stack of chips
Computer players have a difficulty setting: easy, medium, hard
Summary of each hand:
Dealer collects ante from appropriate players, shuffles the deck, and deals each player a hand of 2 cards from the deck.
A betting round occurs, followed by dealing 3 shared cards from the deck.
As shared cards are dealt, more betting rounds occur, where each player can fold, check, or raise.
At the end of a round, if more than one player is remaining, players' hands are compared, and the best hand wins the pot of all chips bet so far.
Create the Use Cases for this system
Create a Use Case diagram for this system
arrow_forward
35. For the following problem case description: Identify the objects of interest, potential classes Draw the software architecture diagram. Draw a sequence diagram for this use case Use case name Plantrip Entry condition The Driver logs into the trip planning service. Flow of events 1. The Driver enters constraints for a trip as a sequence of destinations. 2. Based on a database of maps, the planning service computes the shortest way of visiting the destinations in the specified order. The result is a sequence of travel segments concatenated together and a list of directions. 3. The Driver can revise the trip by adding or removing destinations. Exit condition The Driver saves the planned trip by name in the planning service database for later retrieval..
arrow_forward
270 Q4 (No HANDWRITING):
What is a histogram? Write a scenario for a problem/situation, then draw a histogram which depicts an attribute or characteristic of this problem/situation.
arrow_forward
Create a knowledge base using
frames for the description of the domain given below. Arepresentation must contain at least one class frame and all types of relations available inframes.
Roland Greenberg was born in Germany in 1973. He is a sociologist by his education and has 15scientific publications. Roland collects stamps. His collection consists of 36,000 stamps from 1910to 1960. The follwoing information is known about each stamp: year of issue, title, country,monetary value and special marks (if any). One of the stamps is a stamp issued in Germany in1942 "Make the planet free!". It costs 50,000 EUR, because the stamp of the German post is seton it. Another stamp is the "Classic Fashion" released in France in 1956. It costs 3000 EUR.
Could you please solve problem given above?
Thanks
arrow_forward
evelop a Venn Diagram that compares and contrasts the alliance system at the beginning of World War I and the current situation in Ukraine.
I will need at least four sentences in each section, please.
US HISTORY WORLD WAR I
arrow_forward
Correct answer will be upvoted else Multiple Downvoted. Computer science.
every subject (aside from precisely one), there exists an essential theme (for the point I, the essential point is pi). Ivan can't give a talk on a subject prior to giving a talk on its essential theme. There exists no less than one substantial requesting of themes as per these essential imperatives.
Requesting the subjects effectively can assist understudies with understanding the talks better. Ivan has k uncommon sets of points (xi,yi) with the end goal that he realizes that the understudies will comprehend the yi-th subject better if the talk on it is led just after the talk on the xi-th theme. Ivan needs to fulfill the requirements on each such pair, that is, for each i∈[1,k], there should exist some j∈[1,n−1] to such an extent that qj=xi and qj+1=yi.
Presently Ivan needs to know whether there exists a requesting of subjects that fulfills this multitude of imperatives, and if something like one exists,…
arrow_forward
Please send me answer with 10 min!! please answer all the questions!! I will rate you good for sure!!
Can someone explain a few things about the code below?
1.The tools, libraries, and APIs utilized
2.Search methods used and how they contributed toward the program goal
3.Inclusion of any deep learning models
4.Aspects of the program that utilize expert system concepts
5.How the program represent knowledge
6.How symbolic planning is used in the program
CODE BELOW:
import numpy as np
# Define a simple function for the neural network to learn
def function(x):
return x**2 + 2*x + 1
# Define the neural network architecture
input_size = 1
hidden_size = 16
output_size = 1
# Initialize the weights and biases
W1 = np.random.randn(input_size, hidden_size)
b1 = np.random.randn(hidden_size)
W2 = np.random.randn(hidden_size, output_size)
b2 = np.random.randn(output_size)
# Define the sigmoid activation function
def sigmoid(x):
return 1 / (1 + np.exp(-x))
# Define the derivative of…
arrow_forward
TopText Publishing is a textbook publishing company with a headquarters location, a warehouse, and three sales offices that each has a sales manager and sales reps. TopText sells to schools, colleges,and individual customers. Many authors write more than one book for TopText, and more than one author writes some books. TopText maintains an active list of more than 100 books, each identified by a universal code called an ISBN. How would you draw an ERD for the TopText information system, including cardinality notation? Show enough details for full credit.
arrow_forward
TopText Publishing is a textbook publishing company with a headquarters location, a warehouse, and three sales offices that each has a sales manager and sales reps. TopText sells to schools, colleges,and individual customers. Many authors write more than one book for TopText, and more than one author writes some books. TopText maintains an active list of more than 100 books, each identified by a universal code called an ISBN. How would you draw an ERD for the TopText information system, including cardinality notation?
arrow_forward
a) Design a small Expert System for the Analysis of Traffic Accident You should design set of rules, and draw the ‘AND/OR graph’ for this small expert system.
b) Apply goal driven method to diagnose what caused the Traffic Accident? You must show the status of ‘Working Memory’ and ‘Production Rules’.
c) Apply data driven method to lead to a conclusion for Traffic Accident problem. Again, you must show the status of ‘Working Memory’ and ‘Production Rules’. Show the search graph as described by the Working Memory.
arrow_forward
Crack the crag def crag_score(dice):
Crag (see the Wikipedia page for the scoring table needed in this problem) is a dice game similar to the more popular games of Yahtzee and Poker dice in style and spirit, but with much simpler combinatorics of roll value calculation due to this game using only three dice. Players repeatedly roll three dice and assign the resulting patterns to scoring categories so that once some roll has been assigned to a category, that category is considered to have been spent and cannot be used again for any future roll. These tactical choices between safety and risk-taking give this game a little bit more tactical flair on top of merely relying on the favours of Lady Luck for rolling the bones.
Given the list of pips of the three dice of the first roll, this function should compute and return the highest possible score available when all categories of the scoring table are still available for you to choose from, so that all that matters is maximizing this…
arrow_forward
TopText Publishing is a textbook publishing company with a headquarters location, a warehouse, and three sales offices that each have a sales manager and sales reps. TopText sells to schools, colleges, and individual customers. Many authors write more than one book for TopText, and more than one author writes some books. TopText maintains an active list of more than 100 books, each identified by a universal code called an ISBN. You have been asked to draw an ERD for the TopText information system and to include cardinality notation in your diagram.
arrow_forward
DISCRETE STRUCTURE
Alia went to a fast-food restaurant. She has been offered to buy a meal-deal with discounted price. The meal-deal set can only have one main menu and one side or one beverage. Main menu Pizza – Blazing Seafood • Pizza – Chicken Supreme . Pizza- Beef Pеррегoni Burger – Single cheese Burger – Double cheese Side Crispy Fries • Potato Wedges • Cheesy Pop • Chicken Fries • Sweet Potato Fries Beverage . Соса-Cola • 7 UP • Lemonade • Peach Tea • Lemon Tea
i. How many ways a meal-deal can be formed if Alia prefer a set that contain burger?
ii. How many ways a meal-deal can be formed if Alia does not like Coca-Cola?
arrow_forward
Artificial intelligence
Q) 1-
Use conceptual dependency and write down corresponding CD for the sentences with explanation(a) Farhan ate Pizza (b) Biku is an engineer (c) Golu asked to Molu, he will give him surprise
arrow_forward
Kevin intends to utilize a Boolean operator since his objective is to get knowledge on two different subjects. Kevin must choose the appropriate Boolean operator in order to get the correct search results.?
arrow_forward
This question assesses Block 2 Part 4.
Parts a and b of this question involve creating drawings or descriptions.
You can make your drawings whichever way is easiest or fastest for you. For instance, you could simply make your drawings using pencil and paper then scan or photograph them.
Alternatively, you can answer by providing descriptions of the drawings. In that case, keep close to the formulations used in the long figure descriptions of the examples given in Section 4.5 of Block 2 Part 4.
a.Consider the following lines entered on the Python shell:
>>> Q4_TMA02 = 'submitted'
>>> id(Q4_TMA02)
1944127298928
>>> type(Q4_TMA02)
>>> Q4_TMA02
'submitted'
Draw (or describe) the object and its label that the Python interpreter creates in response to the assignment Q4_TMA02 = 'submitted' in the interactive shell above. Your drawing or description should include a String object with a similar level of detail as Figure 4.14 in Section 4.5.1…
arrow_forward
What sentence correctly describes the relationship between a person and a hometown?
Select one:
a. A person may have a hometown and a town must be a hometown of one person at least
b. Each person must have one hometown and a town may be a hometown of only one person
c. A person may have more hometowns and a town must be a hometown of one person at least
d. Each person must have one hometown and a town may be a hometown for more people
e. Each person must have more hometowns and a town may be a hometown for more persons
arrow_forward
Tyger Valley Pet Shelter (TVPS) receives food donations from a group of pet food manufacturers. TPS relies on each manufacturing company for a particular need. For example, Veggie Land supplies all the vegetables and Premier Seed Suppliers supplies all the seeds.
The different food types are allocated to the animals according to their category. For example, food type 'seeds' is allocated to category 'Birds', while food type 'vegetables' is allocated to the categories 'Mammals' and 'Birds'.
Each animal category is subdivided into different pet types. For example, the mammal record could relate to pet types 'Dog' and 'Cat'.
TPS has recruited you to be their database designer. The database will store information on their suppliers, food types, animal categories and pet types:
Record a unique ID, company name, contact number and possibly an e-mail address for each manufacturer.
When recording information about the different food types, ensure that the expiry date is also stored.
When…
arrow_forward
Correct answer will be upvoted else downvoted. Computer science.
You are permitted to alter the marks through the accompanying activity:
Pick two particular integers I and j among 1 and n.
Trade the marks of focuses I and j, lastly
Draw the section between focuses I and j.
A grouping of tasks is legitimate if in the wake of applying every one of the activities in the succession all together, the k-th point winds up having the name k for all k among 1 and n comprehensive, and the drawn sections don't meet each other inside. Officially, assuming two of the portions cross, they should do as such at a typical endpoint of the two sections.
Specifically, all drawn portions should be unmistakable.
Track down any legitimate arrangement of activities, or say that none exist.
Input
The main line contains an integer n (3≤n≤2000) — the number of focuses.
The I-th of the accompanying n lines contains three integers xi, yi, man-made intelligence (−106≤xi,yi≤106,…
arrow_forward
When a person thinks of a concept such as "bird," the person usually
• a. constructs a mental list of key attributes of a bird
b. has to identify the particular type of bird before a concept of a bird can be generated
• c. thinks of a prototype of a bird that captures for them the essence of the concept
d. eliminates all the attributes of being a nonbird
Pls help with correct answer
arrow_forward
: Employee Graph = (V,E)
V(EmployeeGraph) = { Susan, Darlene, Mike, Fred, John, Sander, Lance, Jean, Brent, Fran}
E(EmployeeGraph) = {(Susan, Darlene), (Fred, Brent), (Sander, Susan),(Lance, Fran),
(Sander, Fran), (Fran, John), (Lance, Jean), (Jean, Susan),
(Mike, Darlene)}
Draw the picture of the Employee Graph.
arrow_forward
As a software engineer, you are hired to arrange football players based on their country and position. You have given all the player’s information in a tuple called my_tuple. The players are from 3 countries which are Brazil, Argentina and Germany. They are 2 positions which are “Forward” and “Midfield”You are given the following nested tuple where each element in the my_tuple is a tuple consisting of a name and a 4 digit ID.my_tuple = (("Firmino", 1101),("Gabriel", 1201),("Casemiro", 1302),("Fred", 1402),("Messi", 1111),("Aguero", 1211),("Klose", 1121), ("Werner", 1221), ("Toni", 1322))Write a python program that will convert this tuple into the following dictionary using the process described below: Your code should work for all types of similar tuple if the sample input is changed.Output dictionary (You just have to print the resultant dictionary. No need to follow the pattern below){'Forward': { 'Brazil': ('Firmino', 'Gabriel'), 'Argentina': ('Messi', 'Aguero'),…
arrow_forward
Exercise
The Strategy pattern is a design pattern used to encapsulate different behaviors and/or algorithms. The idea is to allow you to swap those strategies at will during the execution of a program. The architecture of the program remains the same. According to Gamma et al., the “Strategy pattern is intended to define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.” In this assignment, you are to design, then implement a program in C++ that uses the Strategy pattern to solve the following problem. You would like to provide a system for your customer that allows them to choose any one of three types of sorting algorithms (bubbleSort, insertionSort, quickSort, ). Each of these sort algorithms provides a function ( sort() ) to sort information. You would like to allow your customer to select any one of these sorting algorithms and allow them to change the default algorithm dynamically.…
arrow_forward
Knapsack Problem
This exercise is due Tuesday, May 14. It has to be turned in on time in order to get participation credit. I'll come into class and go over the solution right away. Then I will collect your work on the exercise. Be ready to turn it in at that time.
Fill out the table for the knapsack problem, where the objects, weights, and values are as given, and the overall weight limit is 10.
Next, circle the entries in the table that are used when backtracking to find objects to use in the solution.
Then list the object numbers that can be used for an optimal solution.
Also list the weights and values of those objects.
Verify that the values of your solution objects add up to the optimal number in the last row and column in the table.
Verify that the sum of the weights of your solution the objects is not more than the overall weight limit of 10.
Weight Capacity ----->
obj
# wt val | 0 1 2 3 4 5 6 7 8 9 10…
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781305971776
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Fundamentals of Information Systems
Computer Science
ISBN:9781305082168
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Related Questions
- Solve the problems below. Copy the description of your Ferris wheel in the text box and include that as part of your initial Discussion post in Brightspace. Using "copy" from here in Mobius and "paste" into Brightspace should work. Hint: This is similar to Question 48 in Section 8.1 of our textbook. We covered this section in "5-1 Reading and Participation Activities: Graphs of the Sine and Cosine Functions" in Module Five. You can check your answers to part a and c to make sure that you are on the right track. A Ferris wheel is 30 meters in diameter and completes 1 full revolution in 8 minutes. A Ferris wheel is 30 meters in diameter and boarded from a platform that is 1 meter above the ground. The six o’clock position on the Ferris wheel is level with the loading platform. The wheel completes 1 full revolution in 8 minutes. The function h(t)ht gives a person’s height in meters above the ground tt minutes after the wheel begins to turn. a. Find the amplitude, midline, and…arrow_forwardSolve the problems below. Copy the description of your Ferris wheel in the text box and include that as part of your initial Discussion post in Brightspace. Using "copy" from here in Mobius and "paste" into Brightspace should work. Hint: This is similar to Question 48 in Section 8.1 of our textbook. We covered this section in "5-1 Reading and Participation Activities: Graphs of the Sine and Cosine Functions" in Module Five. You can check your answers to part a and c to make sure that you are on the right track. A Ferris wheel is 30 meters in diameter and completes 1 full revolution in 8 minutes. A Ferris wheel is 30meters in diameter and boarded from a platform that is 1 meter above the ground. The six o’clock position on the Ferris wheel is level with the loading platform. The wheel completes 1 full revolution in 8 minutes. The function h(t)ht gives a person’s height in meters above the ground tt minutes after the wheel begins to turn. a. Find the amplitude, midline, and…arrow_forwardBall at the wallcontext In a ball-at-the-wall game, children in the schoolyard must throw balls at the school wall to reach lines placed at certain heights. You want to predict how high the ball will hit the wall based on the parameters of the throw. Constraints and information The children are all placed behind a line drawn on the floor, at a known horizontal distance ? from the wall;The initial height at which the ball leaves the child's hand is known;The speed and angle of the throw are known; Modelization Creates a model to determine how high the ball will hit the wall based on the children's distance from the wall and the height, speed and angle of the ball as it leaves the child's hand . Then test your model with the following parameters Distance between the wall and the child: 3.9?; Height of the ball when it leaves the child's hand: 1.05?; Throw Speed: 14.1?/?; Throw angle: 51∘arrow_forward
- Question 4 This question assesses Block 2 Part 4. Parts a and b of this question involve creating drawings or descriptions. You can make your drawings whichever way is easiest or fastest for you. For instance, you could simply make your drawings using pencil and paper then scan or photograph them. Alternatively, you can answer by providing descriptions of the drawings. In that case, keep close to the formulations used in the long figure descriptions of the examples given in Section 4.5 of Block 2 Part 4. a.Consider the following lines entered on the Python shell: >>> Q4_TMA02 = 'submitted' >>> id(Q4_TMA02) 1944127298928 >>> type(Q4_TMA02) >>> Q4_TMA02 'submitted' Draw (or describe) the object and its label that the Python interpreter creates in response to the assignment Q4_TMA02 = 'submitted' in the interactive shell above. Your drawing or description should include a String object with a similar level of detail as Figure 4.14 in…arrow_forwardQuestion 4 This question assesses Block 2 Part 4. Parts a and b of this question involve creating drawings or descriptions. You can make your drawings whichever way is easiest or fastest for you. For instance, you could simply make your drawings using pencil and paper then scan or photograph them. Alternatively, you can answer by providing descriptions of the drawings. In that case, keep close to the formulations used in the long figure descriptions of the examples given in Section 4.5 of Block 2 Part 4. a.Consider the following lines entered on the Python shell: >>> Q4_TMA02 = 'submitted' >>> id(Q4_TMA02) 1944127298928 >>> type(Q4_TMA02) >>> Q4_TMA02 'submitted' Draw (or describe) the object and its label that the Python interpreter creates in response to the assignment Q4_TMA02 = 'submitted' in the interactive shell above. Your drawing or description should include a String object with a similar level of detail as Figure 4.14 in…arrow_forwardHCI is (Human Computer Interaction) Answer the following five statements by first stating whether it is true or false and then given one sentence for justifying your answer a) You drag a folder to make a copy of its contents. An animation appears on the screen, showing files moving from one folder to another. This is an example of feedback. b) In augmented reality a screen is composed of a computer animation of the reality. c) The Model Human Processor is used in HCI to model complex cognitive processes d) Petri Nets can be helpful in modeling concurrent activities in a user interface. e) Gestalt is important to HCI as it offers tools to understand scenes.arrow_forward
- Design Assignment: Texas Hold 'em poker game 2 to 8 human or computer players Each player has a name and stack of chips Computer players have a difficulty setting: easy, medium, hard Summary of each hand: Dealer collects ante from appropriate players, shuffles the deck, and deals each player a hand of 2 cards from the deck. A betting round occurs, followed by dealing 3 shared cards from the deck. As shared cards are dealt, more betting rounds occur, where each player can fold, check, or raise. At the end of a round, if more than one player is remaining, players' hands are compared, and the best hand wins the pot of all chips bet so far. Create the Use Cases for this system Create a Use Case diagram for this systemarrow_forward35. For the following problem case description: Identify the objects of interest, potential classes Draw the software architecture diagram. Draw a sequence diagram for this use case Use case name Plantrip Entry condition The Driver logs into the trip planning service. Flow of events 1. The Driver enters constraints for a trip as a sequence of destinations. 2. Based on a database of maps, the planning service computes the shortest way of visiting the destinations in the specified order. The result is a sequence of travel segments concatenated together and a list of directions. 3. The Driver can revise the trip by adding or removing destinations. Exit condition The Driver saves the planned trip by name in the planning service database for later retrieval..arrow_forward270 Q4 (No HANDWRITING): What is a histogram? Write a scenario for a problem/situation, then draw a histogram which depicts an attribute or characteristic of this problem/situation.arrow_forward
- Create a knowledge base using frames for the description of the domain given below. Arepresentation must contain at least one class frame and all types of relations available inframes. Roland Greenberg was born in Germany in 1973. He is a sociologist by his education and has 15scientific publications. Roland collects stamps. His collection consists of 36,000 stamps from 1910to 1960. The follwoing information is known about each stamp: year of issue, title, country,monetary value and special marks (if any). One of the stamps is a stamp issued in Germany in1942 "Make the planet free!". It costs 50,000 EUR, because the stamp of the German post is seton it. Another stamp is the "Classic Fashion" released in France in 1956. It costs 3000 EUR. Could you please solve problem given above? Thanksarrow_forwardevelop a Venn Diagram that compares and contrasts the alliance system at the beginning of World War I and the current situation in Ukraine. I will need at least four sentences in each section, please. US HISTORY WORLD WAR Iarrow_forwardCorrect answer will be upvoted else Multiple Downvoted. Computer science. every subject (aside from precisely one), there exists an essential theme (for the point I, the essential point is pi). Ivan can't give a talk on a subject prior to giving a talk on its essential theme. There exists no less than one substantial requesting of themes as per these essential imperatives. Requesting the subjects effectively can assist understudies with understanding the talks better. Ivan has k uncommon sets of points (xi,yi) with the end goal that he realizes that the understudies will comprehend the yi-th subject better if the talk on it is led just after the talk on the xi-th theme. Ivan needs to fulfill the requirements on each such pair, that is, for each i∈[1,k], there should exist some j∈[1,n−1] to such an extent that qj=xi and qj+1=yi. Presently Ivan needs to know whether there exists a requesting of subjects that fulfills this multitude of imperatives, and if something like one exists,…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Operations Research : Applications and AlgorithmsComputer ScienceISBN:9780534380588Author:Wayne L. WinstonPublisher:Brooks ColePrinciples of Information Systems (MindTap Course...Computer ScienceISBN:9781305971776Author:Ralph Stair, George ReynoldsPublisher:Cengage LearningFundamentals of Information SystemsComputer ScienceISBN:9781305082168Author:Ralph Stair, George ReynoldsPublisher:Cengage Learning
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781305971776
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Fundamentals of Information Systems
Computer Science
ISBN:9781305082168
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning