PMS RI 2010/2011 Prof. dr Zikrija Avdagić, dipl.ing.el. ANFIS Editor GUI ANFIS Editor GUI.

Slides:



Advertisements
Similar presentations
FUNCTION FITTING Student’s name: Ruba Eyal Salman Supervisor:
Advertisements

TO YOUR LAPTOP How to Add a Printer Lesson 3 – November 18, 2013 – Michelle Lowe.
Compose Workflow. Home page To compose a workflow navigate to the “Workflow Editor” page.
Applied Econometrics Second edition
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
AI – CS289 Fuzzy Logic - Labs Fuzzy Logic – Lab 2 12 th October 2006 Dr Bogdan L. Vrusias
Microsoft Office 2007 Excel Chapter 8 Formula Auditing, Data Validation, and Complex Problem Solving.
South Dakota Library Network MetaLib Management Basics Cluster/Facet Admin South Dakota Library Network 1200 University, Unit 9672 Spearfish, SD
Hazırlayan NEURAL NETWORKS Least Squares Estimation PROF. DR. YUSUF OYSAL.
eBilling Training Invoicing
Microsoft Visual Basic: Reloaded Chapter Five More on the Selection Structure.
CREATING A MULTIPLE PAGE REPORT Presented by: Dr. Ennis-Cole.
ASENT_FMECA_LAB.PPT FMECA Lab Last revised 08/14/2014.
1 Doing Statistics for Business Doing Statistics for Business Data, Inference, and Decision Making Marilyn K. Pelosi Theresa M. Sandifer Chapter 5 Analyzing.
Pivot Tables Need HW and exam. Why? A pivot table gives you a way to group, summarize and compare data in a spreadsheet. You can do the same tasks with.
By Hrishikesh Gadre Session II Department of Mechanical Engineering Louisiana State University Engineering Equation Solver Tutorials.
Linear Programming Excel Solver. MAX8X 1 + 5X 2 s.t.2X 1 + 1X 2 ≤ 1000 (Plastic) 3X 1 + 4X 2 ≤ 2400 (Prod. Time) X 1 + X 2 ≤ 700 (Total Prod.) X 1 - X.
EGR 106 – Week 2 – Arrays & Scripts Brief review of last week Arrays: – Concept – Construction – Addressing Scripts and the editor Audio arrays Textbook.
Formula Auditing, Data Validation, and Complex Problem Solving
Generation of atlas graphs & charts. Objective The major objective this training session is to equip participants with the knowledge and skills of creating.
Choosing a Network Printer Setting up a network printer on your: CCSF Windows Laptop Windows Desktop.
Ranga Rodrigo April 5, 2014 Most of the sides are from the Matlab tutorial. 1.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Advanced Tables Lesson 9. Objectives Creating a Custom Table When a table template doesn’t suit your needs, you can create a custom table in Design view.
1 Doing Statistics for Business Doing Statistics for Business Data, Inference, and Decision Making Marilyn K. Pelosi Theresa M. Sandifer Chapter 11 Regression.
Panorama High School E.G.P./ Training to Put Students’ Grades on the Website Wednesday, September 29,
1 1 Slide Simple Linear Regression Part A n Simple Linear Regression Model n Least Squares Method n Coefficient of Determination n Model Assumptions n.
1 1 Slide © 2004 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Simulink ® Interface Course 13 Active-HDL Interfaces.
ECE 1304 Introduction to Electrical and Computer Engineering Section 1.1 Introduction to MATLAB.
Menu and Toolbar Commands Copyright 2006 South-Western/Thomson Learning.
RAČUNARSKI ALGORITMI U BIOINFORMATICI
Recap Summary of Chapter 6 Interpolation Linear Interpolation.
FUZZY CLUSTERING AND ANFIS 2009/  Underfitting : M51 demolm2  Overfitting: M51: demolm3  ANFIS  ANFIS GUI  Example1 (training data: clusterdemo.dat)
IC 3 BASICS, Internet and Computing Core Certification Key Applications Lesson 11 Organizing the Worksheet.
Neuro-Fyzzy Methods for Modeling and Identification Part 2 : Examples Presented by: Ali Maleki.
Example 13.6a Houses Sold in the Midwest Exponential Smoothing.
Fuzzy Logic Toolbox in MATLAB Praktikum 10. example  We want to buid FIS Mamdani, with this rules :  1. If the service is poor or the food is rancid,
Working with Multiple Workbooks Working with multiple workbooks, Slide 1Copyright © 2004, Jim Schwab, University of Texas at Austin The ability to use.
1 MetaLib 4 Clustering & Faceting. 2 Custering & Faceting MetaLib 4.0x introduces clustering and faceting of search results, providing the user with new.
ANFIS (Adaptive Network Fuzzy Inference system)
Matlab Screen  Command Window  type commands  Current Directory  View folders and m-files  Workspace  View program variables  Double click on a.
11/25/2015Slide 1 Scripts are short programs that repeat sequences of SPSS commands. SPSS includes a computer language called Sax Basic for the creation.
Example 13.2 Quarterly Sales of Johnson & Johnson Regression-Based Trend Models.
Prof. dr Zikrija Avdagić, dipl.ing.el. ANFIS Editor GUI ANFIS Editor GUI.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Office of Housing Choice Voucher Program Voucher Management System – VMS Version Released October 2011.
Simulink Simulink is a graphical extension to MATLAB for modeling and simulation of systems. In Simulink, systems are drawn on screen as block diagrams.
INTRODUCTION TO SIMULINK by Yasmin Hanum Md Thayoob & Aidil Azwin Zainul Abidin.
INTRODUCTION TO MATLAB Dr. Hugh Blanton ENTC 4347.
Modify Tables and FieldsModify Tables and Fields Lesson 4 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft.
ABE425 Engineering Measurement Systems Ordinary Least Squares (OLS) Fitting Dr. Tony E. Grift Dept. of Agricultural & Biological Engineering University.
1 CA202 Spreadsheet Application Focusing on Specific Data using Filters Lecture # 5.
Version 1.0 3/23/2007 © 2007 ANSYS, Inc. All rights reserved. Inventory # W6-1 BladeModeler 11.0 ANSYS, Inc. Proprietary BladeModeler 11.0 Practical.
Microsoft Access Prepared by the Academic Faculty Members of IT.
Introduction to Programming on MATLAB Ecological Modeling Course Sep 11th, 2006.
Chapter 4 Minitab Recipe Cards. Correlation coefficients Enter the data from Example 4.1 in columns C1 and C2 of the worksheet.
Customize Your View of Data Training Presentation for Supply Chain Platform: BAE Systems May 2015.
It’s always important that all of your nodes be numbered. So the way to do that is to go to Options at the top of the screen then select Preferences. When.
Example 3.1a Sensitivity Analysis and Solver Table Add-in.
Chapter 12 Case Studies Part B. Control System Design.
Excel Tutorial 8 Developing an Excel Application
TUTORIAL 4 POST-PROCESSING
IET 603 Minitab Chapter 12 Christopher Smith
Dr. Unnikrishnan P.C. Professor, EEE
Chapter 1 Minitab Recipe Card
Section 1.2 Introduction to Parent Functions
Chapter 3 Minitab Recipe Cards
INTRODUCTION TO MATLAB
Linear Programming Excel Solver.
Presentation transcript:

PMS RI 2010/2011 Prof. dr Zikrija Avdagić, dipl.ing.el. ANFIS Editor GUI ANFIS Editor GUI

NEURAL NETWORK OVERFITTING P = -1:0.1: 1 training P = -1:0.01:1 checking generalisation Because of having more neurons (40) than training pairs(21) it will overfit our function in the process of aproximation.

anfisedit

ANFIS Editor GUI Example 1: Checking Data Helps Model Validation Loading data

The training data set The horizontal axis is marked data set index. This index indicates the row from which that input data value was obtained (whether or not the input is a vector or a scalar).

4 To load the checking data set from the workspace: a In the Load data portion of the GUI, select Checking in the Type column. b Click Load Data to open the Load from workspace dialog box. c Type fuzex1chkData as the variable name and click OK. The checking data appears in the GUI plot as pluses superimposed on the training data. When checking data is presented to anfis as well as training data, the FIS model is selected to have prameters associated with the minimum checking data model error

Initializing and Generating Your FIS Automatic FIS Structure Generation To initialize your FIS using anfis: 1 Choose Grid partition, the default partitioning method. The two partition methods, grid partitioning and subtractive clustering,. 2 Click on the Generate FIS button. Clicking this button displays a menu from which you can choose the number of membership functions, MFs, and the type of input and output membership functions. There are only two choices for the output membership function: constant and linear. This limitation of output membership function choices is because anfis only operates on Sugeno-type systems. 3 Fill in the entries as shown in the following figure, and click OK.

Viewing Your FIS Structure After you generate the FIS, you can view the model structure by clicking the Structure button in the middle of the right side of the GUI. A new GUI appears, as follows.

Prije treniranja

ANFIS Training (FIRST RESULT) The two anfis parameter optimization method options available for FIS training are hybrid (the default, mixed least squares and backpropagation) and backpropa (backpropagation). Error Tolerance is used to create a training stopping criterion, which is related to the error size. The training will stop after the training data error remains within this tolerance. This is best left set to 0 if you are unsure how your training error may behave. To start the training: 1 Leave the optimization method at hybrid. 2 Set the number of training epochs to 40, under the Epochs listing on the GUI. 3 Select Train Now. The following window appears on your screen. The plot shows the checking error as ♦ ♦ on the top. The training error appears as * * on the bottom.

Number of nodes: 16 Number of linear parameters: 6 Number of nonlinear parameters: 9 Total number of parameters: 15 Number of training data pairs: 25 Number of checking data pairs: 26 Number of fuzzy rules: 3 Start training ANFIS Number of nodes: 16 Number of linear parameters: 6 Number of nonlinear parameters: 9 Total number of parameters: 15 Number of training data pairs: 25 Number of checking data pairs: 26 Number of fuzzy rules: 3 End training ANFIS: 40 epoch

ANFIS Training (SECOND RESULT) The two anfis parameter optimization method options available for FIS training are hybrid (the default, mixed least squares and backpropagation) and backpropa (backpropagation). Error Tolerance is used to create a training stopping criterion, which is related to the error size. The training will stop after the training data error remains within this tolerance. This is best left set to 0 if you are unsure how your training error may behave. To start the training: 1 Leave the optimization method at hybrid. 2 Set the number of training epochs to 40, under the Epochs listing on the GUI. 3 Select Train Now. The following window appears on your screen. The plot shows the checking error as ♦ ♦ on the top. The training error appears as * * on the bottom. The checking error decreases up to a certain point in the training, and then it increases. This increase represents the point of model overfitting. anfis chooses the model parameters associated with the minimum checking error (just prior to this jump point). This example shows why the checking data option of anfis is useful.

fuzex1trnData fuzex1chkData Poslije teniranja

Model validation using testing and checking data Model validation is the process by which the input vectors from input/output data sets on which the FIS was not trained, are presented to the trained FIS model, to see how well the FIS model predicts the corresponding data set output values. This is acomplished with the ANFIS editor GUI using the so-called testing data set. We can also use another type of data set for model validation and that data validation set is referred to as the checkong data set and this set is used to conrol the potential for model overfitting the data. When checking data is presented to ANFIS as well as training data, the FIS model is selected to have parameters associated with the minimum checking data model error.

Test of FIS if we have had only training set

To test your FIS against the checking data, select Checking data in the Test FIS portion of the ANFIS Editor GUI, and click Test Now. When you test the checking data against the FIS, it looks satisfactory. Validation of FIS with checking data if we have had training and checking sets during the training process Testing of FIS with : a) training set b) testing set (generalisation) c) checking set are made on FIS which memberships parameters are associated with the minimum checking error if this errors indicate overfitting, It was shown during the training process when we have had training data against checking data.

Loading More Data with ANFIS If you load data into ANFIS after clearing previously loaded data, you must make sure that the newly loaded data sets have the same number of inputs as the previously loaded ones did. Otherwise, you must start a new anfisedit session from the command line. Without Checking Data Option and Clearing Data If you do not want to use the checking data option of ANFIS, then do not load any checking data before you train the FIS. If you decide to retrain your FIS with no checking data, you can unload the checking data in one of two ways: Select the Checking option button in the Load data portion of the ANFIS Editor GUI, and then click Clear Data to unload the checking data. Close the ANFIS Editor GUI, and go to the MATLAB command line, and retype anfisedit. In this case you must reload the training data. After clearing the data, you must regenerate your FIS. After the FIS is generated, you can use your first training experience to decide on the number of training epochs you want for the second round of training.

Questions 1.What is overfitting by neural network? 2.What is ANFIS? 3.Which learnig method can use ANFIS? 4.Why we use validation based on checking data? 5.What is diference between training data, test data and checking data?

20