Coder Social home page Coder Social logo

salvacorts / gocey Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 0.0 22.31 MB

馃崁 P2P Distributed Evolutionary Algorithms on Ephemeral Infrastructure for Neural Network Optimization.

License: GNU General Public License v3.0

Go 70.66% JavaScript 23.45% HTML 2.30% Python 2.54% CSS 1.05%
go grpc evolutionary-algorithms artificial-intelligence neural-network protocol-buffers wasm webassembly golang library machine-learning scalable peer-to-peer p2p pool collaborative-research thesis

gocey's Introduction

Build Status

Bachelor Thesis: Gocey. Distributed Evolutionary Algorithms on Ephemeral Infrastructure

Author: Salvador Corts S谩nchez

Supervisor: Juan Juli谩n Merelo Guerv贸s

Thesis Document: https://github.com/salvacorts/TFG-Thesis


Requirements

Go dependecies

go get github.com/salvacorts/TFG-Parasitic-Metaheuristics
cd $GOPATH/src/github.com/salvacorts/TFG-Parasitic-Metaheuristics/mlp-ea-decentralized/native
go get ./...

Run

All the following paths are relative to $GOPATH/src/github.com/salvacorts/TFG-Parasitic-Metaheuristics/mlp-ea-decentralized directory.

Island

cd native/server
go run -grpcPort <port> -clusterPort <port> -metricsPort <port> -clusterBoostrap <boostrap node addr:port> -datasetPath <path to dataset> -webPath <path to web> -webPort <port>
# e.g. go run server.go -grpcPort 2006 -clusterPort 4003 -metricsPort 5003 -clusterBoostrap 127.0.0.1:4001 -datasetPath ../../../datasets/glass.csv -webpath ../../web/src/ -webPort 8080

Evaluator

Native
cd native/client
go run client.go -server <island addr:port>
# e.g. go run client.go -server 127.0.0.1:2006
Browser (WebAssembly)

Open a new tab in yout browser and enter an island IP and its webPort port. E.g. if an island is running at 127.0.0.1, and its webPort parameter is 8080, go to 127.0.0.1:8080.

Modifying Go Browser Client Source: You will need to rebuild the webassembly file

cd web/src/go
GOOS=js GOARCH=wasm go build -o wasm/main.wasm

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.