Artificial neural network regression models

Assignment Help Other Subject
Reference no: EM132500324

Artificial Neural Network (ANN) Regression Models

Part A.

Build single-input regression-style ANN models capable of approximating each of the following functions:
1. f(x) = sin(x) x ∈ [0 ... 4π]
2. f(x) = x4 - 2/3x3 - 2x2 + 2x x ∈ [-2 ... +2]

In the programming language of your choice, implement classes that will allow you to create functional neural network models with non-linear activation functions and a single hidden-layer.
You may choose the number of hidden nodes in your hidden (middle) layer for each model.

For each model:
- generate two disjoint sets of valid inputs (say 500 for each of training and testing sets) from the continuous valid input-range provided for each. Also generate a _target set of correct matching outputs for each item in your training set


- Build your network from a set of classes (e.g. InputNode, HiddenNode, OutputNode, BiasNode)
- I suggest using the sigmoid act_fcts (shown in class) in all hidden and perhaps also output nodes. Alternately, you may use tanh().
- Use bias nodes in each non-output layer

- Train your network
- by: presenting an input to the network, feed it forward, determine the error in the output, determine the delta-value of each output/hidden node, and then determine and make the change to be made to each weight leading in to each node;
- and repeat for each input

- until either: a) the RMSE of the set of outputs on the training set is less than 10-1, or b) you have made ~10,000 or so passes (i.e. "epochs") through your training set

- Determine the RMSE of your model on the testing set
- Try to determine the fewest hidden nodes required to still achieve acceptable RMSE accuracy
- Generate a graph of your results. In the same graph, display: the target function, and the approximated function (example follows)


- Draw a picture of the final, trained models, including the weights assigned to the connections (to three significant digits)


Prepare a PPT presentation to deliver on the due-date, show some snippets of your code, and demo your program and/or its results. Show outputs of trained models beyond simply the values they were trained upon (i.e. on values between the values trained-on, although extrapolated values can be interesting -- but not often useful)


Download and install a Python or C# Machine Learning library that includes classification- and regression-style Artificial Neural Network models.

Familiarize yourself with the documentation of the library of Machine Learning functions
o Describe in your report how to build a regression-style neural network model using library methods -- paying particular attention to the parameters (and optional parameters) of available methods. You may use an example provided in the documentation as illustration

o May also want some passing familiarity with an accompanying dataViz library
o (And in Python: the numpy library)

1. Use your library to build trained models for the two equations shown in Part A

2. Classify the Iris dataset (as per the second Google Developers ML video -- Decision Trees -- shown in class: https://www.youtube.com/watch?v=tNa99PG8hR8)
- Note: the video presenter uses the pydot library to visualize the tree, which is incompatible with Python v. 3.x. The video presenter uses Python 2.7, so it works for him.
o Compare these results to those you generated over the course of the semester using the various WEKA models. Do they appear significantly better, worse, or the same? Why do you suppose this is?


3. Build a Regression ANN for the following function:
f(x, y) = sin(sqrt(x2 + y2))/sqrt(x2 + y2) (Note: IF x = y = 0: return +1)

o Follow the "For each model" instructions in part A above for this model
- (if the given library-functions are such that you cannot do so exactly for any of the steps above, attempt to come as close as possible)
o Report on the library methods you employed throughout your implementation of this model, the parameters you chose and your rationales for choosing them.
o Report on the advantages/disadvantages of using scikit and the other library functionality vs. implementing the ANN models yourself.

4. Prepare a PPT presentation to deliver on the due-date, explaining to the class the pros and cons of using this library, show some snippets of your code, and demo your program and/or its results.

Attachment:- Artificial Neural Network.rar

Reference no: EM132500324

Questions Cloud

Surrounding economic development : Why might a profitable motel shut down in the long run if the land on which it is located becomes extremely valuable due to surrounding economic development
How would a low-cost price leader enforce its leadership : How would a low-cost price leader enforce its leadership through implied threats to a rival? How does a firm become a "low cost" price leader?
Show account balances before and after adjustments : Use T-Accounts to show the balances and the entries. Show account balances before and after adjustments. Marathon Magazine, Inc., has the following account
Post brief description of personal lens in treating couples : Post a brief description of your personal lens in treating couples and the theory you selected from the videos. Then, provide an explanation of one challenge.
Artificial neural network regression models : Artificial Neural Network Regression Models Assignment Help and Solution - Build single-input regression-style ANN models capable of approximating
Positive and negative characteristics of two market forms : Explain your view, connecting it to positive and negative characteristics of two market forms.
Significant number of neoclassical economists : A significant number of neoclassical Economists describe perfectly competitive as the best possible potential outcome in a goods market
How your knowledge might affect your ability : For this Discussion, select a magazine, news article, or some contemporary item depicting contemporary youth culture, and consider the core messages communicate
How to get the total revenue : How to get the Total Revenue, Marginal Revenue, Total Cost, and Profit.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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