Maurice Tutor

(5)

$15/per page/Negotiable

About Maurice Tutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Algebra,Applied Sciences See all
Algebra,Applied Sciences,Biology,Calculus,Chemistry,Economics,English,Essay writing,Geography,Geology,Health & Medical,Physics,Science Hide all
Teaching Since: May 2017
Last Sign in: 399 Weeks Ago
Questions Answered: 66690
Tutorials Posted: 66688

Education

  • MCS,PHD
    Argosy University/ Phoniex University/
    Nov-2005 - Oct-2011

Experience

  • Professor
    Phoniex University
    Oct-2001 - Nov-2016

Category > Computer Science Posted 17 Sep 2017 My Price 10.00

command-line arguments

Develop a software agent in C++ to find the maximum value of the Sum of Gaussians (SoG) function
Procedure
Create a C++ program which uses greedy local search (gradient ascent) to obtain the maximum value of the SoG function, G(), in D dimensions (greedy.cpp)
The program should take 3 command-line arguments (integer: random number seed, integer: number of dimensions (D) for the SoG function, integer: number of Gaussians (N) for the SoG function
The program should start in a random location X (^D) in the [0,10] (^D) cube
The program should use a step size of (0.01*dX) to perform gradient ascent
The program should terminate when the value of the function no longer increases
The program should print the location (x) and SoG function value (G(x)) at each step (see requirements)
Create a C++ program which uses simulated annealing (SA) to obtain the maximum value of the SoG function in D dimensions (sa.cpp)
The program should take 3 command-line arguments (integer: random number seed, integer: number of dimensions for the SoG function, integer: number of Gaussians for the SoG function
The program should start in a random location X (^D) in the [0,10] (^D) cube
The program should create an annealing schedule for the termperature (T), and slowly lowering T over time
On each iteration, the program should generate a new random location Y, and choose to accept it or reject it based on the metropolis criterion:
if G(Y) > G(X) then accept Y; otherwise accept Y with probability e^((G(X)-G(Y))/T)
The program should terminate at a maximum of 100000 iterations
The program should print the location (x) and SoG function value (G(x)) at each step (see requirements)
Utilize your programs to analyze the performance of the algorithms
Use your greedy program to solve the SoG function for all combinations of D=1,2 and N=10,15,20
Use your SA program to solve the SoG function for all combinations of D=1,2 and N=10,15,20
Use 100 unique, but corresponding seed values for each case to ensure that you are solving the same problem using both algorithms
Calculate the number of times that your SA program out-performed your greedy program for each condition
Write a report (at least 2 pages, single spaced, 12 point font, 1 inch margins, no more than four pages) describing the SoG function, the code you developled to optimize the function, the annealing schedule you settled on, the performance of the code under various conditions (using the statistics above for justification), any limitations of the overall approach, and describe any additional implementation details that improved the performance of your code
Read the submission requirements in the syllabus before submitting your work for grading
Requirements
You must utilize the random() function (include cstdlib) for generating random numbers.
You must utilize the SumofGaussians class to set up the problem (SoG.zip)
Use insightful comments in the code to illustrate what is happening on each step
Include a header in the source code and report with the relevant information for assignments as defined in the syllabus
Include a Makefile with your code which allows it to compile (on ranger.cs.mtsu.edu) by simply typing 'make'
Your code should only print the current location X, and the value of the SoG function G(X) on each iteration:
Example, 1-D output:
6.5 0.954707
6.50701 0.959711
6.51428 0.965082
6.5218 0.970849
6.5296 0.977044
6.53769 0.983703
...
Example, 2-D output:
5 5 0.345172
4.99471 5.0052 0.350692
4.98938 5.01044 0.356314
4.98399 5.01573 0.362039
4.97856 5.02107 0.367868
4.97307 5.02645 0.373801
Write your report such that a peer NOT taking this course would understand the problem, your approach to solving it, justification of various choices (annealing schedule, gradient step size, etc.), and your final comments.
Include a table of all of the statistics compiled for your report
include at least one figure to illustrate the SoG function

Answers

(5)
Status NEW Posted 17 Sep 2017 06:09 AM My Price 10.00

Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll

Not Rated(0)