How would you emphasize idea of ethical design specification

Assignment Help Python Programming
Reference no: EM133092507

DSC-550 Neural Networks and Deep Learning - Grand Canyon University

Using reinforcement learning concepts within deep learning theory, develop a model that will solve the multi-armed bandit problem. This is accomplished by the Thompson Sampling Model, which enables the quick finding of the highest number of unknown conversion rates. With the foundation of deep learning and Q-learning, deep Q-learning is addressed.

Assume you are at your favorite casino, in a room containing five slot machines. For each of them the game is the same: You bet a certain amount of money, pull the arm, and the machine will either take your money, or give you the twice your money back. When the machine takes your money, the reward is -1. If the machine returns twice the money to you, the reward is +1. Now, consider that one of these machines has a higher probability of giving you a +1 reward than the others when you pull its arm. It must be part of the problem assumptions. Your goal is to obtain the highest accumulated reward during your time of play. If you bet 1,000 dollars in total, it means you are going to bet 1 dollar, 1,000 times, each time by pulling the arm of any of these slot machines. Your strategy must be to figure out, in the minimum number of plays, which of these five slot machines has the highest chance of giving you a +1 reward and quickly. The challenge is to have the highest chance of giving a +1 reward quickly from trhe five slot machines. The hard part is to find the best slot machine in the minimum number of trials.

You are going to use the Thompson Sampling Model to find the best slot machine with the highest winning chance. The code is available and called "Thompson-sampling.py". You have to use β-distribution to take a random draw from each of the five distributions corresponding to the five slot machines. Consider the following:

Define the state (inputs), the actions (outputs), and the environment.

Copy the code and paste to your IDE environment. Make sure it runs in your environment. Report any issues encountered. Understand the code, submit the code, and add comments to the code.

Obtain the β distribution, collect the data, and screenshot the plots for each slot machine:
N_i^1 (n): The number of times the slot machine number i returned a 1 reward up to round n.
N_i^0 (n): The number of times the slot machine number i returned a 0 reward up to round n.
Using the code "comparison.py", compare the Thompson Sampling against the standard model for 200, 1,000 and 5,000 samples, the number of slot machines ranging from 3 to 20, and conversion rate ranges of 0-0.1; 0-0.3; and 0-0.5.
Plot the comparison using the Thompson Sampling percentage of gain. Analyze the percentage gain and include in your document.

How would you emphasize the idea of ethical design specifications? Consider how to verify these. What techniques are available to verify the design complies with ethical principles?Please discuss why having ethical principles should be a moral responsibility from the Christian worldview.

Attachment:- Neural Networks and Deep Learning.rar

Reference no: EM133092507

Questions Cloud

How to measure and profile consumers : Describe how to measure and profile consumers to implement promotional offers in the tourism and hospitality industry? Give a very solid and clear answer with b
Understanding self-leadership autobiography : What are your family traditions and customs? How have these factors influenced your life and perceptions, values, and philosophy of leadership?
Sub topics for retail clerk wikipedia : What are two sub topics for Retail Clerk Wikipedia stub article.
Substance-induced disorder : How will you tell if the client suffers from a psychotic disorder as opposed to a substance-induced disorder?
How would you emphasize idea of ethical design specification : What techniques are available to verify the design complies with ethical principles?Please discuss why having ethical principles
Important to ethical leadership : What is the distinction made between a moral person and a moral manager? Do you agree with the authors that both are important to ethical leadership?
What are the factors that an oil industry services company : What are the factors that an oil industry services company should take into account when deciding which countries to operate in? Please use reference for suppor
Possibly a prediction of the direction : Q1. How Covid19 has affected the Massimo Dutti brand's approach to this year's holiday season and If you believe that the company/brand will change its demand f
Data mining discussion : Using course materials and the Internet, research the purposes of data mining. Use key words such as data mining, purpose, trends, and patterns.

Reviews

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd