Construct a magic square using a genetic algorithm

Assignment Help Data Structure & Algorithms
Reference no: EM13811503

1. Use a genetic algorithm to train a feed forward neural network with one hidden layer and unipolar discrete (sgn) activation function to classify characters: A,..., E.

2. The construction of a magic square using genetic algorithms.

A magic square of order n is an arrangement of the numbers from 1 to n2 in an n-by-n matrix, with each number occurring exactly once, so that each row, each column, and each main diagonal has the same sum.

Construct a magic square using a genetic algorithm. First, generate an initial population of magic squares with random values. The fitness of each individual square is calculated based on the "flatness", that is, the degree of deviation in the sums of the rows, columns, and diagonals.

Reference no: EM13811503

Questions Cloud

What is the firms required rate of return : Cooley Company's stock has a beta of 1.40, the risk-free rate is 4.25%, and the market risk premium is 5.50%. What is the firm's required rate of return?
Discuss about equal access to healthcare : Equal Access to Healthcare
Yield to maturity remains at its current rate : A 25-year, $1,000 par value bond has an 8.5% annual payment coupon. The bond currently sells for $925. If the yield to maturity remains at its current rate, what will the price be 5 years from now?
Construct a magic square using a genetic algorithm : Construct a magic square using a genetic algorithm. First, generate an initial population of magic squares with random values. The fitness of each individual square is calculated based on the "flatness", that is, the degree of deviation in the sum..
The largest percentage increase in price : Assume that all interest rates in the economy decline from 10% to 9%. Which of the following bonds would have the largest percentage increase in price?
Assume that the risk-free rate is a constant : If the market risk premium increases by 1%, then the required return will increase for stocks that have a beta greater than 1.0, but it will decrease for stocks that have a beta less than 1.0. The effect of a change in the market risk premium depends..
How is channel coding done : Select a particular standard of interest to research. The 802.x ones tend to be documented the best. Complete the following for your individual project: How is channel coding done
What is the bonds nominal coupon interest rate : O'Brien Ltd.'s outstanding bonds have a $1,000 par value, and they mature in 25 years. Their nominal yield to maturity is 9.25%, they pay interest semi annually, and they sell at a price of $975. What is the bond's nominal coupon interest rate?

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

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