2017 © Pedro Peláez
 

library php-fann-topology-visualization

visualizations for a FANN topology

image

24hoursmedia/php-fann-topology-visualization

visualizations for a FANN topology

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 4 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

FANN neural network visualizations

Code Climate Test Coverage, (*1)

This component visualizes a FANN neural network using D3JS. The visualization shows nodes and their connections to eachother., (*2)

Negative connections are shown in red, positive in green. The thickness and brightness of the connection is an indicator of it's strength., (*3)

To create a visualization, you can configure a visitor that can visit the FANN topology:, (*4)

use T4\Fann\Topology\Core\Topology;
use T4\Fann\Topology\Core\Neuron;
use T4\Fann\Topology\Visualization\D3J\D3JsNeuronVisitor;

$ann = ....; // your fann neural network resource
$topology = Topology::createFromFann($ann);

$visitor = D3JsNeuronVisitor();

// configure visitor here; here the node is given a name
$visitor->setNamingCallback(function(Neuron $n) {
    return 'node #' . $n;
});

// visit and get the collected data for configuring d3js
foreach ($topology->getNeurons() as $k => $neuron) {
    $neuron->accept($visitor);
}
$data = $visitor->getJsonData();

// @TODO: include in a template

The Versions

17/12 2016

dev-#3-make-more-quotes-tradeable

dev-#3-make-more-quotes-tradeable

visualizations for a FANN topology

  Sources   Download

The Requires

 

17/12 2016

dev-develop

dev-develop

visualizations for a FANN topology

  Sources   Download

The Requires

 

17/12 2016

dev-master

9999999-dev

visualizations for a FANN topology

  Sources   Download

The Requires