AI Assignment 3_Jaymin(40232368)
.pdf
keyboard_arrow_up
School
Concordia University *
*We aren’t endorsed by this school
Course
6721
Subject
Computer Science
Date
Feb 20, 2024
Type
Pages
29
Uploaded by DeanOxideGoat36 on coursehero.com
COMP 6721 - Applied Artificial Intelligence.
Name:
Jaymin Suhagiya
Student Id:
40232368
—---------------------------------------------------------------------------------------------------------
Question 1: -
a.
Input image size: 5 * 5
1. Stride = 1
2. Stride = 2
3. Padding = 1 and Stride = 1
B. Input Image size: 5 * 5
1. Stride = 1
2. Stride = 2
3. Padding = 1 and Stride = 1
C. Input Image size = 6 * 6
1. Stride = 1
2. Stride = 2
3. Padding = 1 and Stride = 1
Question 2: -
𝑂????? ?𝑖𝑧? = ((𝐼???? ?𝑖𝑧? − ?𝑖???? ?𝑖𝑧? + 2 * ?𝑎??𝑖??) / ???𝑖?? ) + 1 A.
Input image size: 224 * 224, filter size: 7 * 7, padding = 2, stride = 2.
𝑂????? ?𝑖𝑧? = ((224 − 7 + 2 * 2 ) / 2 ) + 1 = 111. 5 𝑂????? ?𝑖𝑧? 𝑤𝑖?ℎ ??𝑖?_???? = "𝐹𝑎???" : − 111 * 111 𝑂????? ?𝑖𝑧? 𝑤𝑖?ℎ ??𝑖?_???? = "????" : − 112 * 112
B. Input image size: 117 * 117, filter size: 11 * 11, padding = 1, stride = 1.
𝑂????? ?𝑖𝑧? = ((117 − 11 + 2 ) / 1 ) + 1 = 109 𝑂????? ?𝑖𝑧? 𝑤𝑖?ℎ ??𝑖?_???? = "𝐹𝑎???" : − 109 * 109 𝑂????? ?𝑖𝑧? 𝑤𝑖?ℎ ??𝑖?_???? = "????" : − 109 * 109
C. Input image size: 235 * 235, filter size = 9 * 9, padding = 2, stride = 2
𝑂????? ?𝑖𝑧? = ((235 − 9 + 2 * 2 ) / 2 ) + 1 = 116 𝑂????? ?𝑖𝑧? 𝑤𝑖?ℎ ??𝑖?_???? = "𝐹𝑎???" : − 116 * 116 𝑂????? ?𝑖𝑧? 𝑤𝑖?ℎ ??𝑖?_???? = "????" : − 116 * 116
Question 3 : -
1. In
put image: 224 * 224 * 3
a. Conv1 : -
Input Dimension = 224 * 224 * 3
Kernel size = 5 * 5 * 32
Padding = 1
Stride = 1
Output size =
((224 − 5 + 2 * 1) / 1) + 1 = 222 Output Dimension =
222 * 222 * 32
b. Conv2
Input Dimension = 222 * 222 * 32
Kernel size = 7 * 7 * 64
Padding = 0
Stride = 1
Output size =
((222 − 7) / 1) + 1 = 216 Output Dimension =
216 * 216 * 64
c. Pooling
Input Dimension = 216 * 216 * 64
Kernel size = 2 * 2 * 64
Padding = 0
Stride = 2
Output size =
((216 − 2) / 2) + 1 = 108 Output Dimension =
108 * 108 * 64
d. Conv3
Input Dimension = 108 * 108 * 64
Kernel size = 5 * 5 * 128
Padding = 1
Stride = 1
Output size =
((108 − 5 + 2) / 1) + 1 = 106 Output Dimension =
106 * 106 * 128
e. Conv4
Input Dimension =
*
* 128
106
106
Kernel size = 7 * 7 * 256
Padding = 0
Stride = 1
Output size =
((106 − 7) / 1) + 1 = 100 Output Dimension =
100 * 100 * 256
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
Plz explain these 2 files plz explain as much as you can
----------------------------------------------Item------------------------------------
public class Item {
private double price;
private String name;
private int bulkQuantity;
private double bulkPrice;
public double getPrice() {
return price;
}
public void setPrice(double price) {
this.price = price;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getBulkQuantity() {
return bulkQuantity;
}
public void setBulkQuantity(int bulkQuantity) {
this.bulkQuantity = bulkQuantity;
}
public double getBulkPrice() {
return bulkPrice;
}
public void setBulkPrice(double bulkPrice) {
this.bulkPrice = bulkPrice;
}
public Item(String n, double p) {
name = n;
price = p;
}
public Item(String n, double p,…
arrow_forward
***Population of provinces and territories******April 4, 2023***---------------------------------------------------------------------------Rank Provinces and Territories Population 2023 Population 2016 Change===========================================================================1 Yukon 44,291 35,874 +23.46%2 Prince Edward Island 175,766 142,907 +22.99%3 British Columbia 5,426,742 4,648,055 +16.75%4 Alberta 4,685,807 4,067,175 +15.21%5 Ontario 15,485,590 13,448,494 +15.15%6 Nunavut 40,816 35,944 +13.55%7 Nova Scotia 1,042,922 923,598 +12.92%8 Manitoba 1,435,382 1,278,365 +12.28%9 New Brunswick 829,114 747,101 +10.98%10 Saskatchewan 1,218,815 1,098,352 +10.97%11 Northwest Territories 45,189 41,786 +8.14%12 Quebec 8,807,385 8,164,361 +7.88%13 Newfoundland and Labrador 532,870 519,716 +2.53%===========================================================================Total CANADA 39,770,689 35,151,728 +13.14%By A. E
arrow_forward
MATCH OUTPUT AS IT IS FOLLOW QUESTION.
---------------------------------------------------------
A blood donation occurs when a person voluntarily has blood drawn and used for transfusions and made into biopharmaceutical medications. A blood bank is a center where the blood that is gathered as a result of blood donation is stored and preserved for later use in blood transfusion.Joseph, a final year undergraduate student involved in many social welfare activities. Blood donation is one such social welfare activity. He visited the nearest blood bank for donating and the blood bank authorities collected the donor details like name, age, height, weight, gender, and blood group.
Write a C++ program to display the donor details with the collected details.
Strictly adhere to the Object-Oriented specifications given in the problem statement. All class names, member variable names, and function names should be the same as specified in the problem statement. Create separate classes in…
arrow_forward
JAVASCRIPT/HTML/CSSMODIFY THE ORIGINAL CODE TO PRODUCE DESIRED PROBLEM RESULTS - MOST WORK WILL BE IN JS ORIGINAL CODE IS PROVDED BELOW
*-----------------------------------------------------------------------------*ORIGINAL CODE*-----------------------------------------------------------------------------*HTML:
<!DOCTYPE html><html><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Make Change</title> <link rel="stylesheet" href="make_change.css"></head>
<body> <main> <h1>Change Calculator</h1>
<label>Enter amount of change due (0-99):</label> <div> <input type="text" id="cents" /> <input type="button" value="Calculate" name="calculate" id="calculate" /> </div> <div> <label>Quarters:</label> <input type="text"…
arrow_forward
Design a program for registration and verification of an account in any reputed bank at your own choice.
-----------------------------Welcome to XYZ bank limited----------
Enter your first name:
Engr.
Enter your middle name:
Javeria
Enter your last name
Barkat
Assign an account number:
1301-1212-1343-1454
If string length ==16 then print valid account number. Print Account activated.
Concatenate first name , middle and last name. Copy complete name into another string named “full_name”and print it.
Now take input previous assign account number if it matches the previous . Print msg ”Account is ready for transactions”
--------------------Thank you for opening an account---------------
programm in C++
arrow_forward
Children diagnosed with Autism Spectrum Disorder experience difficulties in terms of, amongstothers, the following cognitive processes: Attention, perception, and learning. Describe these difficulties and provide at least three ways in which thesedifficulties can be alleviated if you were to design a mobile application for a child with AutismSpectrum Disorder.
arrow_forward
Children that have been diagnosed with Autism Spectrum Disorder experience difficulties in terms of, amongst others, the following cognitive processes: Attention, perception, and learning. Conduct additional research. Then, describe these difficulties and provide at least three ways in which these difficulties can be alleviated if you were to design a mobile application for a child with Autism Spectrum Disorder.
arrow_forward
------------------ MENU ------------------
1 - CALCULATION OF STUDENT ACHIEVEMENT GRADE
2 - SHOW STUDENT STATUSES
--------------------------------------------
Please make a selection: _ Operation of the menu options of the program in the form of a menu above should be done with SWITCH - CASE. The screen is cleared each time a menu action is selected. When another option is selected, it gives an error message and when the enter button is pressed, the screen is cleared and returns to the menu.
When 1 is selected: Enter the name, surname, course, visa (40%), homework (10%), final grade (50%) of the student to be examined on the keyboard.
The exam grades entered must be in the range of 0 to 100. Otherwise, he asks for that exam grade again.
Program; --- Calculates the student's average success, --- It is determined whether the student has passed (60 or more passes; below remains), --- The student's success letter grade is calculated (0 - 49: FF, 50 - 59: DD, 60 - 70: CC, 71 - 80: BC, 81 -…
arrow_forward
Fill in the blanks:
Q. Joint __________________ Expert Group is Better known as _______________.
arrow_forward
Computer Architectecture ll [CR-CE325]
arrow_forward
Alert dont submit AI generated answer.
please help me out with solving PART B of this problem?
Important note: the alphabet being used for 1b is {0, 1, 2}*
arrow_forward
Good morning. Can an answer to the first stage electronic subject question within 5 minutes, with many thanks
arrow_forward
Fill in the blank question:
Q. Computer Aided _______________ is use to simulate performance.
arrow_forward
4. -------------- systems are dedicated, single-purpose devices that detect something in the environment, perform a basic level of processing, and then do something with the results.
arrow_forward
Contrast the experiences of individuals who use technology in the 21st century with those who lived in the 20th century.
arrow_forward
Work that is potentially hazardous, offensive, or tedious may be programmed into robots so that they can do the tasks instead of people. Please provide an example of a task for which you believe robots might do better than humans. Explain why you believe it would be better for people to delegate this task to a machine rather than another person.
arrow_forward
Please solve a theoretical and practical question with ease
arrow_forward
Give me ideas on how we can create a public transportation assistance application on how we can help blind people. This can be a mobile app or wearable device that provides real-time public transportation information, including bus and train schedules, stop locations, and route guidance. The app could use audio cues or vibrations to help blind users navigate public transportation systems more easily and confidently. Please provide detailed concepts on how you would develop this application.
arrow_forward
Anyone who has a physical or mental disability may use the internet to some extent. What new technology do you think will be developed in the future to help individuals with disabilities? The public should have access to what is known as assistive technology.
arrow_forward
There are numerous assistive technologies that are used by students. Think about the technology you use in your everyday life and as a student.
Research and identify two assistive technologies that can be used in each category below.
Text to Speech
Visual Assistance
Voice Recognition
Translators
Closed Caption
Visual Assistance
arrow_forward
gvwsre
arrow_forward
rtwe
arrow_forward
Help please anyone
arrow_forward
Please help with this question I'm truly lost.
arrow_forward
--
-----------------------------------------------
-- % Students Table (SELECT * FROM Students)
-----------------------------------------------
-- % [ StudentId, StudentName, AdvisorId ]
-- % [ 1, 'Obvi Ously', 2 ]
-- % [ 2, 'Gen Ius', 3 ]
-- % [ 3, 'Al-Ways Lernin', 1 ]
-- % [ 4, 'Solo Ryder', NULL ]
-- % [ 4, 'Will Power', 2 ]
-----------------------------------------------
--
-------------------------------------------
-- % Advisor Table (SELECT * FROM Advisors)
-------------------------------------------
-- % [AdvisorId, FirstName, LastName ]
-- % [1, 'Engineering', 'TheBest' ]
-- % [2, 'Biology', 'Science' ]
-- % [3, 'Economics', 'Governor']
-- % [4, 'Business', 'Person' ]
-------------------------------------------
--
-- !!! You do not have to write the query results, the query alone will suffice. !!!
--
-- 1. Write a query to display the names of the students who do not have an assigned advisor.
-- 2. Write a query to display students and their advisor info given a specific…
arrow_forward
No ai please
arrow_forward
Problem Solving with Digital Image Processing
Digital image processing requires a varied background for its successful use. Practitioners in this field arc called upon both for theoretical analysis and practical application. It requires a balanced knowledge of mathematical theory, optics, and computer technology, and the use of common sense.
Once the decision to use digital image processing has been made, the problem frequently guides the search for a solution. Processing and analysis techniques are drawn from a bag of tools consisting of formal theory, proved heuristics, and untested ideas. The solution often results from a combination of techniques. Whether or not the immediate problem is solved, the list of available techniques usually grows. Frequently, a heuristic is solidified in theory after its successful application, and new theoretical methods often suggest processing and analysis approaches. What are the Functional Requirements for Digital Image Processing
arrow_forward
Describe the role of microchips in the development of artificial intelligence and machine learning, including specialized hardware like GPUs and TPUs.
arrow_forward
Neutral Networking problem:
Do not copy-paste anything from google or any previous solves. kindly write in your own language.
The answer should be within (60 to 70 words)
I will upvote after getting the answer :) thanks
-----------------------------------------------------------------------------------------------------
Question:
What_is_the_main_difference_between_vanilla_RNN_and_Shallow-RNN_architecture?
-------------------------------------------------------------------------------------------------
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Related Questions
- Plz explain these 2 files plz explain as much as you can ----------------------------------------------Item------------------------------------ public class Item { private double price; private String name; private int bulkQuantity; private double bulkPrice; public double getPrice() { return price; } public void setPrice(double price) { this.price = price; } public String getName() { return name; } public void setName(String name) { this.name = name; } public int getBulkQuantity() { return bulkQuantity; } public void setBulkQuantity(int bulkQuantity) { this.bulkQuantity = bulkQuantity; } public double getBulkPrice() { return bulkPrice; } public void setBulkPrice(double bulkPrice) { this.bulkPrice = bulkPrice; } public Item(String n, double p) { name = n; price = p; } public Item(String n, double p,…arrow_forward***Population of provinces and territories******April 4, 2023***---------------------------------------------------------------------------Rank Provinces and Territories Population 2023 Population 2016 Change===========================================================================1 Yukon 44,291 35,874 +23.46%2 Prince Edward Island 175,766 142,907 +22.99%3 British Columbia 5,426,742 4,648,055 +16.75%4 Alberta 4,685,807 4,067,175 +15.21%5 Ontario 15,485,590 13,448,494 +15.15%6 Nunavut 40,816 35,944 +13.55%7 Nova Scotia 1,042,922 923,598 +12.92%8 Manitoba 1,435,382 1,278,365 +12.28%9 New Brunswick 829,114 747,101 +10.98%10 Saskatchewan 1,218,815 1,098,352 +10.97%11 Northwest Territories 45,189 41,786 +8.14%12 Quebec 8,807,385 8,164,361 +7.88%13 Newfoundland and Labrador 532,870 519,716 +2.53%===========================================================================Total CANADA 39,770,689 35,151,728 +13.14%By A. Earrow_forwardMATCH OUTPUT AS IT IS FOLLOW QUESTION. --------------------------------------------------------- A blood donation occurs when a person voluntarily has blood drawn and used for transfusions and made into biopharmaceutical medications. A blood bank is a center where the blood that is gathered as a result of blood donation is stored and preserved for later use in blood transfusion.Joseph, a final year undergraduate student involved in many social welfare activities. Blood donation is one such social welfare activity. He visited the nearest blood bank for donating and the blood bank authorities collected the donor details like name, age, height, weight, gender, and blood group. Write a C++ program to display the donor details with the collected details. Strictly adhere to the Object-Oriented specifications given in the problem statement. All class names, member variable names, and function names should be the same as specified in the problem statement. Create separate classes in…arrow_forward
- JAVASCRIPT/HTML/CSSMODIFY THE ORIGINAL CODE TO PRODUCE DESIRED PROBLEM RESULTS - MOST WORK WILL BE IN JS ORIGINAL CODE IS PROVDED BELOW *-----------------------------------------------------------------------------*ORIGINAL CODE*-----------------------------------------------------------------------------*HTML: <!DOCTYPE html><html><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Make Change</title> <link rel="stylesheet" href="make_change.css"></head> <body> <main> <h1>Change Calculator</h1> <label>Enter amount of change due (0-99):</label> <div> <input type="text" id="cents" /> <input type="button" value="Calculate" name="calculate" id="calculate" /> </div> <div> <label>Quarters:</label> <input type="text"…arrow_forwardDesign a program for registration and verification of an account in any reputed bank at your own choice. -----------------------------Welcome to XYZ bank limited---------- Enter your first name: Engr. Enter your middle name: Javeria Enter your last name Barkat Assign an account number: 1301-1212-1343-1454 If string length ==16 then print valid account number. Print Account activated. Concatenate first name , middle and last name. Copy complete name into another string named “full_name”and print it. Now take input previous assign account number if it matches the previous . Print msg ”Account is ready for transactions” --------------------Thank you for opening an account--------------- programm in C++arrow_forwardChildren diagnosed with Autism Spectrum Disorder experience difficulties in terms of, amongstothers, the following cognitive processes: Attention, perception, and learning. Describe these difficulties and provide at least three ways in which thesedifficulties can be alleviated if you were to design a mobile application for a child with AutismSpectrum Disorder.arrow_forward
- Children that have been diagnosed with Autism Spectrum Disorder experience difficulties in terms of, amongst others, the following cognitive processes: Attention, perception, and learning. Conduct additional research. Then, describe these difficulties and provide at least three ways in which these difficulties can be alleviated if you were to design a mobile application for a child with Autism Spectrum Disorder.arrow_forward------------------ MENU ------------------ 1 - CALCULATION OF STUDENT ACHIEVEMENT GRADE 2 - SHOW STUDENT STATUSES -------------------------------------------- Please make a selection: _ Operation of the menu options of the program in the form of a menu above should be done with SWITCH - CASE. The screen is cleared each time a menu action is selected. When another option is selected, it gives an error message and when the enter button is pressed, the screen is cleared and returns to the menu. When 1 is selected: Enter the name, surname, course, visa (40%), homework (10%), final grade (50%) of the student to be examined on the keyboard. The exam grades entered must be in the range of 0 to 100. Otherwise, he asks for that exam grade again. Program; --- Calculates the student's average success, --- It is determined whether the student has passed (60 or more passes; below remains), --- The student's success letter grade is calculated (0 - 49: FF, 50 - 59: DD, 60 - 70: CC, 71 - 80: BC, 81 -…arrow_forwardFill in the blanks: Q. Joint __________________ Expert Group is Better known as _______________.arrow_forward
- Computer Architectecture ll [CR-CE325]arrow_forwardAlert dont submit AI generated answer. please help me out with solving PART B of this problem? Important note: the alphabet being used for 1b is {0, 1, 2}*arrow_forwardGood morning. Can an answer to the first stage electronic subject question within 5 minutes, with many thanksarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education