SlideShare una empresa de Scribd logo
1 de 5
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.

Más contenido relacionado

Similar a 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 2018Mike 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 communityJulien Pivotto
 
New Ideas for Old Code - Greach
New Ideas for Old Code - GreachNew Ideas for Old Code - Greach
New Ideas for Old Code - GreachHamletDRC
 
jQuery Plugin Creation
jQuery Plugin CreationjQuery Plugin Creation
jQuery Plugin Creationbenalman
 
Just the basics_strata_2013
Just the basics_strata_2013Just the basics_strata_2013
Just the basics_strata_2013Ken Mwai
 
Software Carpentry for the Geophysical Sciences
Software Carpentry for the Geophysical SciencesSoftware Carpentry for the Geophysical Sciences
Software Carpentry for the Geophysical SciencesAron Ahmadia
 
Python_Crash_Course_2nd_Edition.pdf
Python_Crash_Course_2nd_Edition.pdfPython_Crash_Course_2nd_Edition.pdf
Python_Crash_Course_2nd_Edition.pdfDamien Raczy
 
Infrastructure is development
Infrastructure is developmentInfrastructure is development
Infrastructure is developmentstahnma
 
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 BidIntelCollab.com
 
Coaching teams in creative problem solving
Coaching teams in creative problem solvingCoaching teams in creative problem solving
Coaching teams in creative problem solvingFlowa Oy
 
Machine Learning
Machine LearningMachine Learning
Machine LearningShrey Malik
 
Barga Data Science lecture 9
Barga Data Science lecture 9Barga Data Science lecture 9
Barga Data Science lecture 9Roger Barga
 
Jason Yee - Chaos! - Codemotion Rome 2019
Jason Yee - Chaos! - Codemotion Rome 2019Jason Yee - Chaos! - Codemotion Rome 2019
Jason Yee - Chaos! - Codemotion Rome 2019Codemotion
 
asgmt01.classpathasgmt01.project asgmt01 .docx
asgmt01.classpathasgmt01.project  asgmt01  .docxasgmt01.classpathasgmt01.project  asgmt01  .docx
asgmt01.classpathasgmt01.project asgmt01 .docxfredharris32
 
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 MoneyJon Corippo
 

Similar a 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
 

Más de 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.docxjoney4
 
-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.docxjoney4
 
-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 .docxjoney4
 
-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.docxjoney4
 
-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.docxjoney4
 
. 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.docxjoney4
 
-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.docxjoney4
 
-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.docxjoney4
 
-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 .docxjoney4
 
- 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 .docxjoney4
 
-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.docxjoney4
 
-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.docxjoney4
 
- 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.docxjoney4
 
,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.docxjoney4
 
,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.docxjoney4
 
,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.docxjoney4
 
,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 .docxjoney4
 
, 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 .docxjoney4
 
,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 ..docxjoney4
 
,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.docxjoney4
 

Más de 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
 

Último

APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 

Último (20)

APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 

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.