GithubHelp home page GithubHelp logo

p700's Introduction

Siamese-Network for analysing graphs

Grid Graph (a kind of Planar graph is used in this case)

Start from 1 to 20 (20 nodes)

Data Generation

Network Architecture

NELU LSTM

NELU has been implemented.

[NALU Paper]

Result from Pytorch

The learning rate decay has been implemented in this model. We can see the model can only classify the data it has seen. And the accuracy on the validation set is not increasing.

After Applying the L2 Regularization, it still can't be solved

Result from tf.Keras

However, this problem can be solved by using a simple algorithm (Graph_Alg) to create a graph.

Only few batch of training data can boost the accuracy on the validation set to 100%

WithColour

Grid graph with Colours

Generating Positive and Negative pairs

Result from Pytorch

LSTN-NALU

Training

& Validation (Epochs)

Original LSTM

Training

& Validation (Epochs)

Still have a serious overfitting problem.

Without Colour but no restriction on the cycle path

Training result

Simple Path to generate the data

With 2 FC layers

Without FC layer

Consider the last node of a path

Training_result

After setting a root

For PredictingNet

3 Colours

10 Colours (SimplestColorGraph)

Idx (20 Colours)

For Siamese Network

3 Colours

10 Colours (SimplestColorGraph)

Idx (20 Colours)

Both siamese network and PredictingNet have the problem of overfitting.

p700's People

Contributors

chihchenghsieh avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.