File:Colored neural network de.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 295 × 354 pixels, file size: 210 KB)

Captions

Captions

Layers of an artificial neural network

العقل الكبير

Summary[edit]

Description
Deutsch: Farblich markierte Schichten eines künstlichen neuronalen Netzes
English: Artificial neural network with layer coloring
Date
Source Own work, Translation of File:Colored neural network.svg
Author Erik Streb
Other versions

[edit]

SVG development
InfoField
 
The SVG code is valid.
 
This vector image was created with Asymptote by dvisvgm. (i686-redhat-linux-gnu)
Source code
InfoField

Asymptote code

size(0,10cm);
import graph;

int dx = 4, dy = 3;

void interSphere(pair[] c1, pair[] c2) {
    pen whitepen = defaultpen + white + 4*linewidth(defaultpen);
    for(int i = 0; i < c1.length; ++i) {
        for(int j = 0; j < c2.length; ++j) {
            pair delta = 1.1*unit(c2[j]-c1[i]);
            draw(c1[i]+delta--c2[j]-delta, whitepen);
            draw(c1[i]+delta--c2[j]-delta, Arrow);
        }
    }
}

void unitCircs(pair[] c0, pen p = defaultpen) {
    for(int i = 0; i < c0.length; ++i) {
        draw(Circle(c0[i], 1), p);
    }
}

pair[] c0 = {(0, 0), (0, dy), (0, 2*dy)},
       c1 = {(dx, -1.5), (dx, -1.5 + dy), (dx, -1.5 + 2*dy), (dx, -1.5+3*dy)},
       c2 = {(2*dx, -1.5 + dy), (2*dx, -1.5 + 2*dy)};

pen redPen = defaultpen + heavyred,
    bluePen = defaultpen + heavyblue,
    greenPen = defaultpen + deepgreen;
unitCircs(c0, redPen); unitCircs(c1, bluePen); unitCircs(c2, greenPen);

interSphere(c0, c1);
interSphere(c1, c2);

label("Eingabe", (0, 2*dy + 1), N, redPen);
label("Versteckt", (dx, -1.5 + 3dy + 1), N, bluePen);
label("Ausgabe", (2*dx, -1.5 + 2dy + 1), N, greenPen);

real rbox = 2*dx + 1.025;
draw((rbox,-3)--(rbox, 3), invisible);

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current11:43, 18 July 2014Thumbnail for version as of 11:43, 18 July 2014295 × 354 (210 KB)Erik del Toro Streb (talk | contribs)User created page with UploadWizard

File usage on other wikis

The following other wikis use this file:

Metadata