SlideShare a Scribd company logo
DONT BID ON THIS QUESTION IF YOU ARE NOT A
PYTHON EXPERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
DONT BID ON THIS QUESTION IF YOU ARE NOT A
PYTHON EXPERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
DONT BID ON THIS QUESTION IF YOU ARE NOT A
PYTHON EXPERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
DONT BID ON THIS QUESTION IF YOU ARE NOT A
PYTHON EXPERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
DONT BID ON THIS QUESTION IF YOU ARE NOT A
PYTHON EXPERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
In this assignment, you will gain experience working with
OpenAI Gym, which is a set of problems that can be explored
with different reinforcement learning algorithms. This
assignment is designed to help you apply the concepts you have
been learning about Q-learning algorithms to the “cartpole”
problem, a common reinforcement learning problem.
Note: The original code referenced in this assignment was
written in Python 2.x. You have been given a zipped folder
containing an updated Python 3 version of the code that will
work in the Apporto environment. To make this code work,
some lines have been commented out. Please leave these as
comments.
Reference: Surma, G. (2018).
Cartpole
. Github repository. Retrieved from
https://github.com/gsurma/cartpole
.
Prompt
Access the Virtual Lab (Apporto) by using the link in the
Virtual Lab Access
module. It is recommended that you use the Chrome browser to
access the Virtual Lab. If prompted to allow the Virtual Lab
access to your clipboard, click “Yes”, as this will allow you to
copy text from your desktop into applications in the Virtual Lab
environment.
Review the following reading:
Cartpole: Introduction to Reinforcement Learning
. In order to run the code, upload the
Cartpole.zip
folder into the Virtual Lab (Apporto). Unzip the folder, then
upload the unzipped folder into your Documents folder in
Apporto. Refer to the
Jupyter Notebook in Apporto (Virtual Lab) Tutorial
to help with these tasks.
Note: The Cartpole folder contains the Cartpole.ipynb file
(Jupyter Notebook) and a scores folder containing
score_logger.py (Python file). It is
very
important to keep the score_logger.py file in the scores folder
(directory).
Open Jupyter Notebook and open up the Cartpole.ipynb and
score_logger.py files. Be sure to review the code in both of
these files. Rename the Cartpole.ipynb file using the following
naming convention:
__Assignment5.ipynb
Thus, if your name is Jane Doe, please name the submission file
“Doe_Jane_Assignment5.ipynb”.
Next, run the code in Cartpole.ipynb. The code will take several
minutes to run and you should see a stream of output while the
file runs. When you see the following output, the program is
complete:
Solved in _ runs, _ total runs.
Note: If you receive the error “NameError: name ‘exit’ is not
defined” after the above line, you can ignore it.
Modify the values for the exploration factor, discount factor,
and learning rates in the code
to understand how those values affect the performance of the
algorithm. Be sure to place each experiment in a different code
block so that your instructor can view all of your changes.
Note: Discount factor = GAMMA, learning rate =
LEARNING_RATE, exploration factor = combination of
EXPLORATION_MAX, EXPLORATION_MIN, and
EXPLORATION_DECAY.
Create a Markdown cell in your Jupyter Notebook after the code
and its outputs. In this cell, you will be asked to analyze the
code and relate it to the concepts from your readings. You are
expected to include resources to support your answers, and must
include
citations
for those resources.
Specifically, you must address the following rubric criteria:
Explain how reinforcement learning concepts apply to the
cartpole problem.
What is the goal of the agent in this case?
What are the various state values?
What are the possible actions that can be performed?
What reinforcement algorithm is used for this problem?
Analyze how experience replay is applied to the cartpole
problem.
How does experience replay work in this algorithm?
What is the effect of introducing a discount factor for
calculating the future rewards?
Analyze how neural networks are used in deep Q-learning.
Explain the neural network architecture that is used in the
cartpole problem.
How does the neural network make the Q-learning algorithm
more efficient?
What difference do you see in the algorithm performance when
you increase or decrease the learning rate?
Guidelines for Submission
Please submit your completed IPYNB file. Make sure that your
file is named as specified above, and that you have addressed
all rubric criteria in your response. Sources should be cited in
APA style.

More Related Content

Similar to Dont bid on this question if you are not a python expert!!!!!!!!!!!!

How I Learned to Stop Worrying and Love Legacy Code - Ox:Agile 2018
How I Learned to Stop Worrying and Love Legacy Code - Ox:Agile 2018How I Learned to Stop Worrying and Love Legacy Code - Ox:Agile 2018
How I Learned to Stop Worrying and Love Legacy Code - Ox:Agile 2018
Mike Harris
 
A call to give back puppetlabs-corosync to the community
A call to give back puppetlabs-corosync to the communityA call to give back puppetlabs-corosync to the community
A call to give back puppetlabs-corosync to the community
Julien Pivotto
 
General Talk on Pointers
General Talk on PointersGeneral Talk on Pointers
General Talk on Pointers
emartinez.romero
 
New Ideas for Old Code - Greach
New Ideas for Old Code - GreachNew Ideas for Old Code - Greach
New Ideas for Old Code - Greach
HamletDRC
 
jQuery Plugin Creation
jQuery Plugin CreationjQuery Plugin Creation
jQuery Plugin Creation
benalman
 
Just the basics_strata_2013
Just the basics_strata_2013Just the basics_strata_2013
Just the basics_strata_2013
Ken Mwai
 
Learn to Code and Have Fun Doing It!
Learn to Code and Have Fun Doing It! Learn to Code and Have Fun Doing It!
Learn to Code and Have Fun Doing It!
St. Petersburg College
 
Big Data and Hadoop in the Cloud
Big Data and Hadoop in the CloudBig Data and Hadoop in the Cloud
Big Data and Hadoop in the Cloud
Amazon Web Services LATAM
 
Writing engaging tutorials
Writing engaging tutorialsWriting engaging tutorials
Writing engaging tutorials
Christian Heilmann
 
Software Carpentry for the Geophysical Sciences
Software Carpentry for the Geophysical SciencesSoftware Carpentry for the Geophysical Sciences
Software Carpentry for the Geophysical Sciences
Aron Ahmadia
 
Python_Crash_Course_2nd_Edition.pdf
Python_Crash_Course_2nd_Edition.pdfPython_Crash_Course_2nd_Edition.pdf
Python_Crash_Course_2nd_Edition.pdf
Damien Raczy
 
Infrastructure is development
Infrastructure is developmentInfrastructure is development
Infrastructure is development
stahnma
 
How Four Statistical Rules Forecast Who Wins a Competitive Bid
How Four Statistical Rules Forecast Who Wins a Competitive BidHow Four Statistical Rules Forecast Who Wins a Competitive Bid
How Four Statistical Rules Forecast Who Wins a Competitive Bid
IntelCollab.com
 
Coaching teams in creative problem solving
Coaching teams in creative problem solvingCoaching teams in creative problem solving
Coaching teams in creative problem solving
Flowa Oy
 
How to write a project proposal
How to write a project proposalHow to write a project proposal
How to write a project proposal
PT carbon indonesia
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
Shrey Malik
 
Barga Data Science lecture 9
Barga Data Science lecture 9Barga Data Science lecture 9
Barga Data Science lecture 9
Roger Barga
 
Jason Yee - Chaos! - Codemotion Rome 2019
Jason Yee - Chaos! - Codemotion Rome 2019Jason Yee - Chaos! - Codemotion Rome 2019
Jason Yee - Chaos! - Codemotion Rome 2019
Codemotion
 
asgmt01.classpathasgmt01.project asgmt01 .docx
asgmt01.classpathasgmt01.project  asgmt01  .docxasgmt01.classpathasgmt01.project  asgmt01  .docx
asgmt01.classpathasgmt01.project asgmt01 .docx
fredharris32
 
Making Amazing Things Happen With Next To No Money
Making Amazing Things Happen With Next To No MoneyMaking Amazing Things Happen With Next To No Money
Making Amazing Things Happen With Next To No Money
Jon Corippo
 

Similar to Dont bid on this question if you are not a python expert!!!!!!!!!!!! (20)

How I Learned to Stop Worrying and Love Legacy Code - Ox:Agile 2018
How I Learned to Stop Worrying and Love Legacy Code - Ox:Agile 2018How I Learned to Stop Worrying and Love Legacy Code - Ox:Agile 2018
How I Learned to Stop Worrying and Love Legacy Code - Ox:Agile 2018
 
A call to give back puppetlabs-corosync to the community
A call to give back puppetlabs-corosync to the communityA call to give back puppetlabs-corosync to the community
A call to give back puppetlabs-corosync to the community
 
General Talk on Pointers
General Talk on PointersGeneral Talk on Pointers
General Talk on Pointers
 
New Ideas for Old Code - Greach
New Ideas for Old Code - GreachNew Ideas for Old Code - Greach
New Ideas for Old Code - Greach
 
jQuery Plugin Creation
jQuery Plugin CreationjQuery Plugin Creation
jQuery Plugin Creation
 
Just the basics_strata_2013
Just the basics_strata_2013Just the basics_strata_2013
Just the basics_strata_2013
 
Learn to Code and Have Fun Doing It!
Learn to Code and Have Fun Doing It! Learn to Code and Have Fun Doing It!
Learn to Code and Have Fun Doing It!
 
Big Data and Hadoop in the Cloud
Big Data and Hadoop in the CloudBig Data and Hadoop in the Cloud
Big Data and Hadoop in the Cloud
 
Writing engaging tutorials
Writing engaging tutorialsWriting engaging tutorials
Writing engaging tutorials
 
Software Carpentry for the Geophysical Sciences
Software Carpentry for the Geophysical SciencesSoftware Carpentry for the Geophysical Sciences
Software Carpentry for the Geophysical Sciences
 
Python_Crash_Course_2nd_Edition.pdf
Python_Crash_Course_2nd_Edition.pdfPython_Crash_Course_2nd_Edition.pdf
Python_Crash_Course_2nd_Edition.pdf
 
Infrastructure is development
Infrastructure is developmentInfrastructure is development
Infrastructure is development
 
How Four Statistical Rules Forecast Who Wins a Competitive Bid
How Four Statistical Rules Forecast Who Wins a Competitive BidHow Four Statistical Rules Forecast Who Wins a Competitive Bid
How Four Statistical Rules Forecast Who Wins a Competitive Bid
 
Coaching teams in creative problem solving
Coaching teams in creative problem solvingCoaching teams in creative problem solving
Coaching teams in creative problem solving
 
How to write a project proposal
How to write a project proposalHow to write a project proposal
How to write a project proposal
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Barga Data Science lecture 9
Barga Data Science lecture 9Barga Data Science lecture 9
Barga Data Science lecture 9
 
Jason Yee - Chaos! - Codemotion Rome 2019
Jason Yee - Chaos! - Codemotion Rome 2019Jason Yee - Chaos! - Codemotion Rome 2019
Jason Yee - Chaos! - Codemotion Rome 2019
 
asgmt01.classpathasgmt01.project asgmt01 .docx
asgmt01.classpathasgmt01.project  asgmt01  .docxasgmt01.classpathasgmt01.project  asgmt01  .docx
asgmt01.classpathasgmt01.project asgmt01 .docx
 
Making Amazing Things Happen With Next To No Money
Making Amazing Things Happen With Next To No MoneyMaking Amazing Things Happen With Next To No Money
Making Amazing Things Happen With Next To No Money
 

More from joney4

. in 150-175 words......Explain whether you prefer the representat.docx
. in 150-175 words......Explain whether you prefer the representat.docx. in 150-175 words......Explain whether you prefer the representat.docx
. in 150-175 words......Explain whether you prefer the representat.docx
joney4
 
-What issues could arise when a panicked public believes it has been.docx
-What issues could arise when a panicked public believes it has been.docx-What issues could arise when a panicked public believes it has been.docx
-What issues could arise when a panicked public believes it has been.docx
joney4
 
-The topic is about Hopi American Native tribe-Write an effective .docx
-The topic is about Hopi American Native tribe-Write an effective .docx-The topic is about Hopi American Native tribe-Write an effective .docx
-The topic is about Hopi American Native tribe-Write an effective .docx
joney4
 
-The focus of this assignment is identifying patient’s needs and ana.docx
-The focus of this assignment is identifying patient’s needs and ana.docx-The focus of this assignment is identifying patient’s needs and ana.docx
-The focus of this assignment is identifying patient’s needs and ana.docx
joney4
 
-Health Behavior Project ( Increase the habit of drinking wa.docx
-Health Behavior Project ( Increase the habit of drinking wa.docx-Health Behavior Project ( Increase the habit of drinking wa.docx
-Health Behavior Project ( Increase the habit of drinking wa.docx
joney4
 
. Make sure you explain how the following elements emerge within t.docx
. Make sure you explain how the following elements emerge within t.docx. Make sure you explain how the following elements emerge within t.docx
. Make sure you explain how the following elements emerge within t.docx
joney4
 
-2.5 pages-2 hours-APA formatWill be checking for plag.docx
-2.5 pages-2 hours-APA formatWill be checking for plag.docx-2.5 pages-2 hours-APA formatWill be checking for plag.docx
-2.5 pages-2 hours-APA formatWill be checking for plag.docx
joney4
 
-2.5 pages-2 hours-APA formatWill be checking for plagiarism.docx
-2.5 pages-2 hours-APA formatWill be checking for plagiarism.docx-2.5 pages-2 hours-APA formatWill be checking for plagiarism.docx
-2.5 pages-2 hours-APA formatWill be checking for plagiarism.docx
joney4
 
-2- 2.5pages- Times New Roman, 12 font-APA format (At least 4 .docx
-2- 2.5pages- Times New Roman, 12 font-APA format (At least 4 .docx-2- 2.5pages- Times New Roman, 12 font-APA format (At least 4 .docx
-2- 2.5pages- Times New Roman, 12 font-APA format (At least 4 .docx
joney4
 
- Vermeers Woman Holding a Balance (Figure 25-19)- Discuss the .docx
- Vermeers Woman Holding a Balance (Figure 25-19)- Discuss the .docx- Vermeers Woman Holding a Balance (Figure 25-19)- Discuss the .docx
- Vermeers Woman Holding a Balance (Figure 25-19)- Discuss the .docx
joney4
 
-Write a 5-6 page paper (other then the opning page)- Using Voltai.docx
-Write a 5-6 page paper (other then the opning page)- Using Voltai.docx-Write a 5-6 page paper (other then the opning page)- Using Voltai.docx
-Write a 5-6 page paper (other then the opning page)- Using Voltai.docx
joney4
 
-Executive summary A brief summary of the case (what the case.docx
-Executive summary A brief summary of the case (what the case.docx-Executive summary A brief summary of the case (what the case.docx
-Executive summary A brief summary of the case (what the case.docx
joney4
 
- the body of the essay should contain the meat of the argument. you.docx
- the body of the essay should contain the meat of the argument. you.docx- the body of the essay should contain the meat of the argument. you.docx
- the body of the essay should contain the meat of the argument. you.docx
joney4
 
,submit a two page class reflections assignment in which you wil.docx
,submit a two page class reflections assignment in which you wil.docx,submit a two page class reflections assignment in which you wil.docx
,submit a two page class reflections assignment in which you wil.docx
joney4
 
,I’m doing research writing about the benefits of social media.docx
,I’m doing research writing about the benefits of social media.docx,I’m doing research writing about the benefits of social media.docx
,I’m doing research writing about the benefits of social media.docx
joney4
 
,I will attach the word file and it has all the instructions.I n.docx
,I will attach the word file and it has all the instructions.I n.docx,I will attach the word file and it has all the instructions.I n.docx
,I will attach the word file and it has all the instructions.I n.docx
joney4
 
,Check out attachments and read instructions before you make Hand .docx
,Check out attachments and read instructions before you make Hand .docx,Check out attachments and read instructions before you make Hand .docx
,Check out attachments and read instructions before you make Hand .docx
joney4
 
, you will pick a different disciplinary perspective from the .docx
, you will pick a different disciplinary perspective from the .docx, you will pick a different disciplinary perspective from the .docx
, you will pick a different disciplinary perspective from the .docx
joney4
 
,I’m doing research writing about the benefits of social media ..docx
,I’m doing research writing about the benefits of social media ..docx,I’m doing research writing about the benefits of social media ..docx
,I’m doing research writing about the benefits of social media ..docx
joney4
 
,Check out attachments and read instructions before you make Hand.docx
,Check out attachments and read instructions before you make Hand.docx,Check out attachments and read instructions before you make Hand.docx
,Check out attachments and read instructions before you make Hand.docx
joney4
 

More from joney4 (20)

. in 150-175 words......Explain whether you prefer the representat.docx
. in 150-175 words......Explain whether you prefer the representat.docx. in 150-175 words......Explain whether you prefer the representat.docx
. in 150-175 words......Explain whether you prefer the representat.docx
 
-What issues could arise when a panicked public believes it has been.docx
-What issues could arise when a panicked public believes it has been.docx-What issues could arise when a panicked public believes it has been.docx
-What issues could arise when a panicked public believes it has been.docx
 
-The topic is about Hopi American Native tribe-Write an effective .docx
-The topic is about Hopi American Native tribe-Write an effective .docx-The topic is about Hopi American Native tribe-Write an effective .docx
-The topic is about Hopi American Native tribe-Write an effective .docx
 
-The focus of this assignment is identifying patient’s needs and ana.docx
-The focus of this assignment is identifying patient’s needs and ana.docx-The focus of this assignment is identifying patient’s needs and ana.docx
-The focus of this assignment is identifying patient’s needs and ana.docx
 
-Health Behavior Project ( Increase the habit of drinking wa.docx
-Health Behavior Project ( Increase the habit of drinking wa.docx-Health Behavior Project ( Increase the habit of drinking wa.docx
-Health Behavior Project ( Increase the habit of drinking wa.docx
 
. Make sure you explain how the following elements emerge within t.docx
. Make sure you explain how the following elements emerge within t.docx. Make sure you explain how the following elements emerge within t.docx
. Make sure you explain how the following elements emerge within t.docx
 
-2.5 pages-2 hours-APA formatWill be checking for plag.docx
-2.5 pages-2 hours-APA formatWill be checking for plag.docx-2.5 pages-2 hours-APA formatWill be checking for plag.docx
-2.5 pages-2 hours-APA formatWill be checking for plag.docx
 
-2.5 pages-2 hours-APA formatWill be checking for plagiarism.docx
-2.5 pages-2 hours-APA formatWill be checking for plagiarism.docx-2.5 pages-2 hours-APA formatWill be checking for plagiarism.docx
-2.5 pages-2 hours-APA formatWill be checking for plagiarism.docx
 
-2- 2.5pages- Times New Roman, 12 font-APA format (At least 4 .docx
-2- 2.5pages- Times New Roman, 12 font-APA format (At least 4 .docx-2- 2.5pages- Times New Roman, 12 font-APA format (At least 4 .docx
-2- 2.5pages- Times New Roman, 12 font-APA format (At least 4 .docx
 
- Vermeers Woman Holding a Balance (Figure 25-19)- Discuss the .docx
- Vermeers Woman Holding a Balance (Figure 25-19)- Discuss the .docx- Vermeers Woman Holding a Balance (Figure 25-19)- Discuss the .docx
- Vermeers Woman Holding a Balance (Figure 25-19)- Discuss the .docx
 
-Write a 5-6 page paper (other then the opning page)- Using Voltai.docx
-Write a 5-6 page paper (other then the opning page)- Using Voltai.docx-Write a 5-6 page paper (other then the opning page)- Using Voltai.docx
-Write a 5-6 page paper (other then the opning page)- Using Voltai.docx
 
-Executive summary A brief summary of the case (what the case.docx
-Executive summary A brief summary of the case (what the case.docx-Executive summary A brief summary of the case (what the case.docx
-Executive summary A brief summary of the case (what the case.docx
 
- the body of the essay should contain the meat of the argument. you.docx
- the body of the essay should contain the meat of the argument. you.docx- the body of the essay should contain the meat of the argument. you.docx
- the body of the essay should contain the meat of the argument. you.docx
 
,submit a two page class reflections assignment in which you wil.docx
,submit a two page class reflections assignment in which you wil.docx,submit a two page class reflections assignment in which you wil.docx
,submit a two page class reflections assignment in which you wil.docx
 
,I’m doing research writing about the benefits of social media.docx
,I’m doing research writing about the benefits of social media.docx,I’m doing research writing about the benefits of social media.docx
,I’m doing research writing about the benefits of social media.docx
 
,I will attach the word file and it has all the instructions.I n.docx
,I will attach the word file and it has all the instructions.I n.docx,I will attach the word file and it has all the instructions.I n.docx
,I will attach the word file and it has all the instructions.I n.docx
 
,Check out attachments and read instructions before you make Hand .docx
,Check out attachments and read instructions before you make Hand .docx,Check out attachments and read instructions before you make Hand .docx
,Check out attachments and read instructions before you make Hand .docx
 
, you will pick a different disciplinary perspective from the .docx
, you will pick a different disciplinary perspective from the .docx, you will pick a different disciplinary perspective from the .docx
, you will pick a different disciplinary perspective from the .docx
 
,I’m doing research writing about the benefits of social media ..docx
,I’m doing research writing about the benefits of social media ..docx,I’m doing research writing about the benefits of social media ..docx
,I’m doing research writing about the benefits of social media ..docx
 
,Check out attachments and read instructions before you make Hand.docx
,Check out attachments and read instructions before you make Hand.docx,Check out attachments and read instructions before you make Hand.docx
,Check out attachments and read instructions before you make Hand.docx
 

Recently uploaded

World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 

Recently uploaded (20)

World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 

Dont bid on this question if you are not a python expert!!!!!!!!!!!!

  • 1. DONT BID ON THIS QUESTION IF YOU ARE NOT A PYTHON EXPERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DONT BID ON THIS QUESTION IF YOU ARE NOT A PYTHON EXPERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DONT BID ON THIS QUESTION IF YOU ARE NOT A PYTHON EXPERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DONT BID ON THIS QUESTION IF YOU ARE NOT A PYTHON EXPERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DONT BID ON THIS QUESTION IF YOU ARE NOT A PYTHON EXPERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! In this assignment, you will gain experience working with OpenAI Gym, which is a set of problems that can be explored with different reinforcement learning algorithms. This assignment is designed to help you apply the concepts you have been learning about Q-learning algorithms to the “cartpole” problem, a common reinforcement learning problem. Note: The original code referenced in this assignment was written in Python 2.x. You have been given a zipped folder containing an updated Python 3 version of the code that will work in the Apporto environment. To make this code work, some lines have been commented out. Please leave these as comments. Reference: Surma, G. (2018). Cartpole . Github repository. Retrieved from
  • 2. https://github.com/gsurma/cartpole . Prompt Access the Virtual Lab (Apporto) by using the link in the Virtual Lab Access module. It is recommended that you use the Chrome browser to access the Virtual Lab. If prompted to allow the Virtual Lab access to your clipboard, click “Yes”, as this will allow you to copy text from your desktop into applications in the Virtual Lab environment. Review the following reading: Cartpole: Introduction to Reinforcement Learning . In order to run the code, upload the Cartpole.zip folder into the Virtual Lab (Apporto). Unzip the folder, then upload the unzipped folder into your Documents folder in Apporto. Refer to the Jupyter Notebook in Apporto (Virtual Lab) Tutorial to help with these tasks. Note: The Cartpole folder contains the Cartpole.ipynb file (Jupyter Notebook) and a scores folder containing score_logger.py (Python file). It is very important to keep the score_logger.py file in the scores folder (directory). Open Jupyter Notebook and open up the Cartpole.ipynb and score_logger.py files. Be sure to review the code in both of these files. Rename the Cartpole.ipynb file using the following naming convention:
  • 3. __Assignment5.ipynb Thus, if your name is Jane Doe, please name the submission file “Doe_Jane_Assignment5.ipynb”. Next, run the code in Cartpole.ipynb. The code will take several minutes to run and you should see a stream of output while the file runs. When you see the following output, the program is complete: Solved in _ runs, _ total runs. Note: If you receive the error “NameError: name ‘exit’ is not defined” after the above line, you can ignore it. Modify the values for the exploration factor, discount factor, and learning rates in the code to understand how those values affect the performance of the algorithm. Be sure to place each experiment in a different code block so that your instructor can view all of your changes. Note: Discount factor = GAMMA, learning rate = LEARNING_RATE, exploration factor = combination of EXPLORATION_MAX, EXPLORATION_MIN, and EXPLORATION_DECAY. Create a Markdown cell in your Jupyter Notebook after the code and its outputs. In this cell, you will be asked to analyze the code and relate it to the concepts from your readings. You are expected to include resources to support your answers, and must
  • 4. include citations for those resources. Specifically, you must address the following rubric criteria: Explain how reinforcement learning concepts apply to the cartpole problem. What is the goal of the agent in this case? What are the various state values? What are the possible actions that can be performed? What reinforcement algorithm is used for this problem? Analyze how experience replay is applied to the cartpole problem. How does experience replay work in this algorithm? What is the effect of introducing a discount factor for calculating the future rewards? Analyze how neural networks are used in deep Q-learning.
  • 5. Explain the neural network architecture that is used in the cartpole problem. How does the neural network make the Q-learning algorithm more efficient? What difference do you see in the algorithm performance when you increase or decrease the learning rate? Guidelines for Submission Please submit your completed IPYNB file. Make sure that your file is named as specified above, and that you have addressed all rubric criteria in your response. Sources should be cited in APA style.