Artificial Neural Networks And XML

Slides:



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

Improving Learning Object Description Mechanisms to Support an Integrated Framework for Ubiquitous Learning Scenarios María Felisa Verdejo Carlos Celorrio.
XML-based Network Management Rob Enns
INTRODUCTION TO SIMULATION WITH OMNET++ José Daniel García Sánchez ARCOS Group – University Carlos III of Madrid.
Tuesday, June 10, 2003 Web Services Brief Overview & Security Assertion Coordinator Pattern by Mohammad Abushadi & Riaz Ahmed for Security Group CSE -
Database System Concepts and Architecture
XML Craig Stewart Dr. Alexandra I. Cristea
1 XML Web Services Practical Implementations Bob Steemson Product Architect iSOFT plc.
Web Services Nasrullah. Motivation about web service There are number of programms over the internet that need to communicate with other programms over.
Neural NetworksNN 11 Neural Networks Teacher: Elena Marchiori R4.47 Assistant: Kees Jong S2.22
Report on Intrusion Detection and Data Fusion By Ganesh Godavari.
Visual Web Information Extraction With Lixto Robert Baumgartner Sergio Flesca Georg Gottlob.
The Data Mining Visual Environment Motivation Major problems with existing DM systems They are based on non-extensible frameworks. They provide a non-uniform.
Programming Languages Structure
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
ICS (072)Database Systems Background Review 1 Database Systems Background Review Dr. Muhammad Shafique.
MACHINE LEARNING 12. Multilayer Perceptrons. Neural Networks Lecture Notes for E Alpaydın 2004 Introduction to Machine Learning © The MIT Press (V1.1)
MDC Open Information Model West Virginia University CS486 Presentation Feb 18, 2000 Lijian Liu (OIM:
Chapter 5 Business Intelligence: Data Warehousing, Data Acquisition, Data Mining, Business Analytics, and Visualization.
Chapter 9 Web Services Architecture and XML. Objectives By study in the chapter, you will be able to: Describe what is the goal of the Web services architecture.
Database System Development Lifecycle © Pearson Education Limited 1995, 2005.
Aurora: A Conceptual Model for Web-content Adaptation to Support the Universal Accessibility of Web-based Services Anita W. Huang, Neel Sundaresan Presented.
Data Management Turban, Aronson, and Liang Decision Support Systems and Intelligent Systems, Seventh Edition.
Ihr Logo Chapter 5 Business Intelligence: Data Warehousing, Data Acquisition, Data Mining, Business Analytics, and Visualization Turban, Aronson, and Liang.
Machine Learning. Learning agent Any other agent.
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
Artificial Intelligence Lecture No. 28 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Database System Concepts and Architecture
OracleAS Reports Services. Problem Statement To simplify the process of managing, creating and execution of Oracle Reports.
Artificial Neural Nets and AI Connectionism Sub symbolic reasoning.
IE 585 Introduction to Neural Networks. 2 Modeling Continuum Unarticulated Wisdom Articulated Qualitative Models Theoretic (First Principles) Models Empirical.
DEVS Namespace for Interoperable DEVS/SOA
© 2005 Prentice Hall, Decision Support Systems and Intelligent Systems, 7th Edition, Turban, Aronson, and Liang 5-1 Chapter 5 Business Intelligence: Data.
XML & Mediators Thitima Sirikangwalkul Wai Sum Mong April 10, 2003.
CHAPTER TEN AUTHORING.
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
Artificial Neural Networks An Introduction. What is a Neural Network? A human Brain A porpoise brain The brain in a living creature A computer program.
Ihr Logo Chapter 5 Business Intelligence: Data Warehousing, Data Acquisition, Data Mining, Business Analytics, and Visualization Turban, Aronson, and Liang.
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
1 Incorporating Data Mining Applications into Clinical Guidelines Reza Sherafat Dr. Kamran Sartipi Department of Computing and Software McMaster University,
Chapter 5: Business Intelligence: Data Warehousing, Data Acquisition, Data Mining, Business Analytics, and Visualization DECISION SUPPORT SYSTEMS AND BUSINESS.
XML – Its Role and Use Ben Forta Senior Product Evangelist, Macromedia.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 1 DATABASE SYSTEMS Instructor Ms. Arwa Binsaleh.
Introduction to Interactive Media Interactive Media Tools: Authoring Applications.
1 Introduction to Data Mining C hapter 1. 2 Chapter 1 Outline Chapter 1 Outline – Background –Information is Power –Knowledge is Power –Data Mining.
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
1 Advanced Software Architecture Muhammad Bilal Bashir PhD Scholar (Computer Science) Mohammad Ali Jinnah University.
Dr.Abeer Mahmoud ARTIFICIAL INTELLIGENCE (CS 461D) Dr. Abeer Mahmoud Computer science Department Princess Nora University Faculty of Computer & Information.
Introduction Complex and large SW. SW crises Expensive HW. Custom SW. Batch execution Structured programming Product SW.
July 19, 2004Joint Techs – Columbus, OH Network Performance Advisor Tanya M. Brethour NLANR/DAST.
Postgraduate Module Enterprise Database Systems Technological Educational Institution of Larisa in collaboration with Staffordshire University Larisa
XML and Distributed Applications By Quddus Chong Presentation for CS551 – Fall 2001.
Network Management Lecture 13. MACHINE LEARNING TECHNIQUES 2 Dr. Atiq Ahmed Université de Balouchistan.
Dr.S.Sridhar,Ph.D., RACI(Paris),RZFM(Germany),RMR(USA),RIEEEProc.
Introduction to DBMS Purpose of Database Systems View of Data
Big data classification using neural network
Chapter 8 Environments, Alternatives, and Decisions.
Chapter 2 Database System Concepts and Architecture
Physical Data Model – step-by-step instructions and template
Artificial Intelligence (CS 370D)
Data Warehouse.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Machine Learning with Weka
Introduction to DBMS Purpose of Database Systems View of Data
Artificial Intelligence Lecture No. 28
Grid Based Data Integration with Automatic Wrapper Generation
Prepared by: Mahmoud Rafeek Al-Farra
CSE591: Data Mining by H. Liu
Overview Activities from additional UP disciplines are needed to bring a system into being Implementation Testing Deployment Configuration and change management.
Presentation transcript:

Artificial Neural Networks And XML Presented by : M. Eftekhari Advisor : Dr. S. Astaneh

Outlines Xml-Based format for trained Neural Network definition Motivations Neural Network Markup Language (NNML) Decomposition of Neural Nets Model The neural model description in NNML Processing of NNML documents PMML …. Introduction From biological Artificial Neural Nets Inherent capacities The Distributed Training Environment (DTE) Why distributed environment? (Motivation) Features JOONE

Introduction

From biological to Artificial Neuron (Intro.)

A simple Artificial Neuron Out put connections are similar to axons Sum simulates the dendrites w0= f Activation function Has the role of events that Occur in a real neuron of brain w1 w2 Weights are similar to synapse x1 x2 The learning is the process of updating weights

Inherent capacities (Intro.) The neurons are parallel inside each other due to inherent structure of Neural Network. When a network learns, it works as a autonomous mechanism (speech part of brain). A central mechanism coordinates, schedules and these self-organize parts. (may be ensemble of parts needed) So ANNs can be distributed. A learnt ANNs can be shared to use by other applications.

The Distributed Training Environment (DTE)

Why distributed environment? (Motivation) use a neural net to resolve complex jobs is not sufficient. For complex problem, net can fall onto a local minima without finding the best results what must be developed is a mechanism to train many neural nets in parallel on the same problem, on several machines, governing the whole process from a central point.

Java Object Oriented Neural Engine Joone is a FREE neural net framework to create, train and test neural nets Distributed Training Environment to train in parallel mode many neural networks to find the fittest one for a given problem.

Features Centralized control The Final results are logged into a XML file to permit to analyze the results from a custom program/script The training process scale almost linearly adding more machines No manual configuration needed to add or remove machines Possibility to add or remove machines dynamically during the training process The overall process controlled by XML parameters

Xml-Based format for trained Neural Network definition

Motivations unified way for neural network model definition Interchanging neural models as well as documentation store and manipulating them independently from the simulation system that produced it. The development of the neural-based Web services

Neural Network Markup Language (NNML) XML-based language (Neural Network Markup Language) for the neural network model description. NNML as an interface between various software systems concerning neural networks (see Fig of next slide) NNML causes separation of neural networks generators, interpreters, tools for visualization and knowledge extraction (see Fig of next slide) Applied to the distribution of the neural network models Integrating the powerful simulation systems like Matlab with Web interface

Neural Network Markup Language (NNML)

Decomposition of Neural Nets Model and NNML

The neural model description in NNML The problem and model purpose (Task) Data dictionary Data preprocessor Neural network Postprocessor Auxiliary information about the model.

The neural model description in NNML A simple neuron Which object Form Which layer layer Obj

Processing of NNML documents Generation and training by means of the neural network simulator. Creating hierarchical model by the interface module on the basis of internal representation. Methods of any XML parser are called, object tree of the model are constructed NNML file is generated. For loading of the ready NNML file, actions are performed in the reverse order.

Processing of NNML documents

PMML (Predictive Model Markup Language )

Introduction The PMML is a set of Document Type Descriptions (DTDs) specified in XML. The first version (1.0) was provided in July 1999 by the Data Mining Group (DMG, http://www.dmg.org). A Markup Language for Predictive modeling, but not only restricted to this field. Support only Back propagation Nets despite of previous introduced Method.

PMML (Contd.) The PMML 1.1 definition includes DTDs for the following types of models: 1. Naïve bayes 2. Regression Models 3. Decision trees 4. Center and distribution based clusters 5. Sequence and association rules 6. neural nets

Advantages of PMML: Removes the issues of incompatibility between applications and proprietary formats. DTDs support proprietary extensions to allow for enriched information storage for specialized tools. Previous solutions to the problem of sharing data models were incorporated into custom-built systems, and thus exchange of models with an application outside of the system was virtually impossible

Advantages of PMML For example, it allows users: (sharing the data) To generate data models using one vendor application. Use other vendor application to analyze. Another to evaluate the models. Another vendor application to visualize the model.

PMML (Contd.) The PMML describes the models using eight modules: Header Data Dictionary schema Data Mining schema Predictive model schema Definition for predictive models Definition for ensemble of models Rules for selecting and combining models and ensembles of models Rules for exception handling

The role of PMML in the Knowledge Discovery process.

PMML (Contd.) Using PMML to model Association Rules <?xml version="1.0" ?> <PMML version="1.1"> <Header copyright="www.dmg.org" description="sample model for association rules"/> <DataDictionary numberOfFields="1" > <DataField name="item" optype="categorical" /> </DataDictionary> <AssociationModel> <AssocInputStats numberOfTransactions="4" numberOfItems="3" minimumSupport="0.6" minimumConfidence="0.5" numberOfItemsets="3" numberOfRules="2"/> <!-- We have three items in our input data --> <AssocItem id="1" value="Cracker" /> <AssocItem id="2" value="Coke" /> <AssocItem id="3" value="Water" /> <!-- and two frequent itemsets with a single item --> <AssocItemset id="1" support="1.0" numberOfItems="1"> <AssocItemRef itemRef="1" /> </AssocItemset> <AssocItemset id="2" support="1.0" numberOfItems="1"> <AssocItemRef itemRef="3" /> <!-- and one frequent itemset with two items. --> <AssocItemset id="3" support="1.0" numberOfItems="2"> <AssocItemRef itemRef="1" /><AssocItemRef itemRef="3" /> <!-- Two rules satisfy the requirements --> <AssocRule support="1.0" confidence="1.0" antecedent="1" consequent="2" /> <AssocRule support="1.0" confidence="1.0" antecedent="2" consequent="1" /> </AssociationModel> </PMML>

PMML The General Web Architecture Application interfaces Web Warehouse Materialize and manages useful Information on web A software that facilitates the process of Content extraction

PMML and ANNs (DTD) <!ELEMENT NeuralInput (Extension*, ( NormContinuous | NormDiscrete )) > <!ATTLIST NeuralInput id %NN-NEURON-ID; #REQUIRED > NN-NEURON-ID is just a string which identifies a neuron

PMML and ANNs (XSD) <xs:element name="NeuralInput"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0“ maxOccurs="unbounded“ ref="Extension" /> <xs:element ref="DerivedField" /> </xssequence> <xs:attribute name="id" type="NN-NEURON-ID" use="required" /> </xs:complexType> </xs:element>

PMML and ANNs (DTD) <! ELEMENT Neuron (Extension*, Con+) > <! ATTLIST Neuron id %NN-NEURON-ID; #REQUIRED bias %REAL-NUMBER; #IMPLIED activationFunction %ACTIVATION-FUNCTION; #IMPLIED threshold %REAL-NUMBER; #IMPLIED >

PMML and ANNs (XSD) <xs:element name="Neuron"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" ref="Extension" /> <xs:element maxOccurs="unbounded" ref="Con" /> </xs:sequence> <xs:attribute name="id" type="NN-NEURON-ID" use="required" /> <xs:attribute name="bias" type="REAL-NUMBER" /> <xs:attribute name="activationFunction" type="ACTIVATION-FUNCTION" /> <xs:attribute name="threshold" type="REAL-NUMBER" /> <xs:attribute name="width" type="REAL-NUMBER" /> </xs:complexType> </xs:element>

PMML and ANNs (DTD) <!ELEMENT Con (Extension*) > <!ATTLIST Con from %NN-NEURON-IDREF; #REQUIRED weight %REAL-NUMBER; #REQUIRED >

PMML and ANNs (XSD) <xs:element name="Con"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" ref="Extension" /> </xs:sequence> <xs:attribute name="from" type="NN-NEURON-IDREF" use="required" /> <xs:attribute name="weight" type="REAL-NUMBER" use="required" /> </xs:complexType> </xs:element>

PMML and ANNs (DTD) <!ELEMENT NeuralNetwork (Extension*, MiningSchema, ModelStats?, NeuralInputs, ( NeuralLayer+), NeuralOutputs? )> <!ATTLIST NeuralNetwork modelName CDATA #IMPLIED activationFunction %ACTIVATION-FUNCTION; #REQUIRED threshold #REAL-NUMBER; #IMPLIED > <!ELEMENT NeuralInputs ( NeuralInput+ ) > <!ELEMENT NeuralLayer ( Neuron+ ) > <!ELEMENT NeuralOutputs ( NeuralOutput+ ) >

PMML and ANNs (XSD) <xs:element name="NeuralNetwork"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" ref="Extension" /> <xs:element ref="MiningSchema" /> <xs:element minOccurs="0" ref="ModelStats" /> <xs:element ref="NeuralInputs" /> <xs:element maxOccurs="unbounded" ref="NeuralLayer" /> <xs:element minOccurs="0" ref="NeuralOutputs" /> </xs:sequence> <xs:attribute name="modelName" type="xs:string" /> <xs:attribute name="functionName" type="MINING-FUNCTION" use="required" /> <xs:attribute name="algorithmName" type="xs:string" /> <xs:attribute name="activationFunction" type="ACTIVATION-FUNCTION" use="required" /> <xs:attribute name="threshold" type="REAL-NUMBER" /> <xs:attribute name="numberOfLayers" type="xs:nonNegativeInteger" /> </xs:complexType> </xs:element>

PMML and ANNs (XSD) <xs:element name="NeuralInputs"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" ref="Extension" /> <xs:element maxOccurs="unbounded" ref="NeuralInput" /> </xs:sequence> <xs:attribute name="numberOfInputs" type="xs:nonNegativeInteger" /> </xs:complexType> </xs:element>

PMML and ANNs (XSD) <xs:element name="NeuralLayer"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" ref="Extension" /> <xs:element maxOccurs="unbounded" ref="Neuron" /> </xs:sequence> <xs:attribute name="numberOfNeurons" type="xs:nonNegativeInteger" /> <xs:attribute name="activationFunction" type="ACTIVATION-FUNCTION" /> <xs:attribute name="normalizationMethod" default="none"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="none" /> <xs:enumeration value="simplemax" /> <xs:enumeration value="softmax" /> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element>

PMML and ANNs (XSD) <xs:element name="NeuralOutputs"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" ref="Extension" /> <xs:element maxOccurs="unbounded" ref="NeuralOutput" /> </xs:sequence> <xs:attribute name="numberOfOutputs" type="xs:nonNegativeInteger" /> </xs:complexType> </xs:element>

PMML and ANNs <?xml version="1.0" ?> <PMML version="2.1"> <Header copyright="DMG.org"/>

PMML and ANNs <DataDictionary numberOfFields="5"> <DataField name="gender" optype="categorical"> <Value value=" female"/> <Value value=" male"/> </DataField> <DataField name="no of claims" optype="categorical"> <Value value=" 0"/> <Value value=" 1"/> <Value value=" 3"/> <Value value=" > 3"/> <Value value=" 2"/> <DataField name="domicile" optype="categorical"> <Value value="suburban"/> <Value value=" urban"/> <Value value=" rural"/> <DataField name="age of car" optype="continuous"/> <DataField name="amount of claims" optype="continuous"/> </DataDictionary>

PMML and ANNs <MiningSchema> </MiningSchema> <MiningField name="gender"/> <MiningField name="no of claims"/> <MiningField name="domicile"/> <MiningField name="age of car"/> <MiningField name="amount of claims" usageType="predicted"/> </MiningSchema>

PMML and ANNs <NeuralInputs numberOfInputs="10"> <NeuralInput id="0"> <DerivedField> <NormContinuous field="age of car"> <LinearNorm orig="0.01" norm="0"/> <LinearNorm orig="3.07897" norm="0.5"/> <LinearNorm orig="11.44" norm="1"/> </NormContinuous> </DerivedField> </NeuralInput>

PMML and ANNs <NeuralInput id="1"> <DerivedField> <NormDiscrete field="gender" value=" male"/> </DerivedField> </NeuralInput> …. To 9

PMML and ANNs <NeuralLayer numberOfNeurons="3"> <Neuron id="10"> <Con from="0" weight="-2.08148"/> <Con from="1" weight="3.69657"/> <Con from="2" weight="-1.89986"/> <Con from="3" weight="5.61779"/> <Con from="4" weight="0.427558"/> <Con from="5" weight="-1.25971"/> <Con from="6" weight="-6.55549"/> <Con from="7" weight="-4.62773"/> <Con from="8" weight="1.97525"/> <Con from="9" weight="-1.0962"/> </Neuron> …… </NeuralLayer> I0 -2.08148 . N1 Id=10 . -1.0962 I9

PMML and ANNs Output Neuron <NeuralLayer numberOfNeurons="1"> <Neuron id="13"> <Con from="10" weight="0.76617"/> <Con from="11" weight="-1.5065"/> <Con from="12" weight="0.999797"/> </Neuron> </NeuralLayer> N1 Id=10 output No Id=13 N2 Id=11 N3 Id=13

PMML and ANNs <NeuralOutputs numberOfOutputs="1"> <NeuralOutput outputNeuron="13"> <DerivedField> <NormContinuous field="amount of claims"> <LinearNorm orig="0" norm="0.1"/> <LinearNorm orig="1291.68" norm="0.5"/> <LinearNorm orig="5327.26" norm="0.9"/> </NormContinuous> </DerivedField> </NeuralOutput> </NeuralOutputs> </NeuralNetwork> </PMML>