Data Mining

Download Free Data Mining Source Code In C/C++, C#, Visual Basic, Visual Basic.NET, Java,
and other programming languages
Welcome to Data Mining Sign in | Join | Help
in Search

Data Mining Source Code Newsletter

Business Analyst Training
Live, Online, Video Courses
Instructor-Led + Hands-On
BusinessAnalystBootCamp.Com

SQL + Database Training
Live, Online, Video Classes
Instructor-Led + Hands-On
SQLBootCamp.Com

Software Developer Training
Live, Online, Video Courses
Instructor-Led + Hands-On
SoftwareDevelperBootCamp.Com

IT CAREER COACH
Hands-On Experience Coaching
IT Skills Training
IT-Career-Coach.NET

IT Professional Newsletter
"Free" IT Career Success Tips
How To Accelerate Your Career
IT Career Newsletter

Ask IT Career Questions
"ASK" A Burning IT Career
Question Or Get Answers
Ask A Burning IT Question Now!

Announcing The Data Mining Source Code Newsletter!

Subscribe By Email | Subscribe By RSS Feed

An application to view Neural Net PMML

Last post 03-31-2006, 0:55 by taka. 3 replies.
Sort Posts: Previous Next
  •  03-23-2006, 19:31 6495

    An application to view Neural Net PMML

    Hi all,

    I've been toying around with this idea for ages but my progamming skills aren't great so it took me a while :) .  I've built a small application that can load in a Neural Network model in PMML format.  The application parses the Neural Network into datagrids and also creates a graphical representation of the Neural Net.

    I'm not sure how useful this will be.  It was just a long-term hobby I've been playing around with.  I've attached a single zip file that contains just the application, and also the entire source code (visual studio solution).

    There are some limitations I am aware of;
     - only works with Neural Nets with 1 or less hidden layer
     - Supports simple classification Neural Nets (doesn't support 'Radial Basis Function' Nets for example)
     - Needs to be restarted if you want to load a second Neural Net.

    I have pasted the readme below.  This is freeware.  Copy it, do what you want with it, but give credit where due.  Not supported in any way.   If you have any queries feel free to ask.

    Cheers

    Tim

     

    ---

    -- Date: March 2006
    -- Author: Tim Manns


    -- Overview
     As a challenge and means to improve my VB.NET skills I tried
     to create an application that could read a Neural Net model
     in PMML (Predictive Modelling Markup Language), place the
     details of the model into data grids, and generate some kind
     of fancy graphics that help show the Neural Network in an
     easy to understand format.

     The attached application is my first attempt.  The weights of
     the neural net connections are shaded proportional to their
     strength (and influence in the net). Similarly, the bias of
     the neurons are shaded proportional to their strength. Barely
     visible weights and bias indicate very low values.
     Red coloured weights and bias represent positive values,
     whilst blue colour represents a negative value.

     I have made efforts to ensure the screen resizes to allow
     larger Neural nets to be displayed.  It is possible to move
     the neurons around the screen if necessary.

  •  03-26-2006, 21:05 6508 in reply to 6495

    Re: An application to view Neural Net PMML

    Hi, Tim.

    I have question.

    Is it possible to add this viwer to CEMI?

    I am not skilled at CEMI.

    Your view

    Ir is great to show Nerual weights in PPTs.

    Toyoyama

     


    Taka
  •  03-26-2006, 21:23 6509 in reply to 6508

    Re: An application to view Neural Net PMML

    Attachment: NN Viewer.zip
    See the attached zip file.  It adds a CEMI node specification for the executable (for Clementine 9.0).  My application isn't designed for CEMI because there is no source data.  For CEMI my application should use data from Clementine in the graph input.  Instead I am using a model as input, and so this does not work well as a CEMI node. 

    You must first build the Neural Network model, export it as PMML, then use the CEMI graph node to load that PMML file.  Then execute the stream and it will make the executable run (but the executable uses no data from the Clementine stream). 

    Cheers

    Tim
  •  03-31-2006, 0:55 6515 in reply to 6509

    Re: An application to view Neural Net PMML

    Thanks!

    It worked great!

    Toyoyama

     


    Taka

Announcing The Data Mining Source Code Newsletter!

Subscribe By Email | Subscribe By RSS Feed