Click here to Skip to main content
15,893,622 members
Home / Discussions / C#
   

C#

 
QuestionHow to take data from USB-based device using C# ?? Pin
depressedguy21-Sep-10 6:51
depressedguy21-Sep-10 6:51 
AnswerRe: How to take data from USB-based device using C# ?? Pin
Richard Andrew x6421-Sep-10 15:53
professionalRichard Andrew x6421-Sep-10 15:53 
GeneralRe: How to take data from USB-based device using C# ?? Pin
depressedguy21-Sep-10 16:58
depressedguy21-Sep-10 16:58 
GeneralC# and Ring indicator Pin
MarkBng21-Sep-10 5:27
MarkBng21-Sep-10 5:27 
GeneralRe: C# and Ring indicator Pin
Luc Pattyn21-Sep-10 5:41
sitebuilderLuc Pattyn21-Sep-10 5:41 
QuestionUDP Packet Synchronization Pin
softwarejaeger21-Sep-10 3:42
softwarejaeger21-Sep-10 3:42 
AnswerRe: UDP Packet Synchronization Pin
Dave Kreskowiak21-Sep-10 6:41
mveDave Kreskowiak21-Sep-10 6:41 
Questionhow can i use diffrence neuron count in difference layer Pin
karayel_kara21-Sep-10 3:22
karayel_kara21-Sep-10 3:22 
Hi, Everybody
i am writing ANN code with c#
i wrote a class which has folowing structure;
<br />
<br />
        class neuron<br />
        {<br />
            //public dentrit[] dent = new dentrit[nron];<br />
            //public double[,] w = new double[lay,nron];// ilk katmanda w yok dikkat<br />
            public double [] dentw = new double[nron];<br />
            public double bias,hata,delta ;<br />
          <br />
            public double[] input = new double[nron ];<br />
            public double output ;<br />
            public int[] sbaglanti = new int[nron];<br />
            public int[] sbagk = new int[nron];<br />
            public int[] obaglanti = new int[nron];<br />
            public int numara;<br />
            public int dents;//dentrit sayısı<br />
            public int oid,sid;<br />
      <br />
            ~neuron() { }<br />
<br />
        }<br />
        class layer {<br />
           public neuron[] noron = new neuron[nron];<br />
<br />
            public layer()<br />
            {<br />
                for (int index = 0; index < noron.Length; index++)<br />
                {<br />
                    noron[index] = new neuron();<br />
                }<br />
            <br />
            }<br />
<br />
            ~layer(){}<br />
        <br />
        }<br />
        class net {<br />
            <br />
          public   int ban, hen;<br />
            public layer[] layers = new layer[lay];<br />
            public net()<br />
            {<br />
                for (int index = 0; index < layers.Length; index++)<br />
                {<br />
                    layers[index] = new layer();<br />
<br />
                }<br />
<br />
            }<br />
<br />
            ~net(){}<br />
        <br />
        }<br />
       <br />
        net networks;<br />
<br />


in here, i want to change neuron count of layers and so how can i do it ?
can you help me ?

thanks
AnswerRe: how can i use diffrence neuron count in difference layer Pin
Alan Balkany21-Sep-10 3:59
Alan Balkany21-Sep-10 3:59 
GeneralRe: how can i use diffrence neuron count in difference layer Pin
karayel_kara21-Sep-10 4:16
karayel_kara21-Sep-10 4:16 
GeneralRe: how can i use diffrence neuron count in difference layer Pin
Alan Balkany21-Sep-10 4:28
Alan Balkany21-Sep-10 4:28 
GeneralRe: how can i use diffrence neuron count in difference layer Pin
Alan Balkany21-Sep-10 4:32
Alan Balkany21-Sep-10 4:32 
AnswerRe: how can i use diffrence neuron count in difference layer Pin
Henry Minute21-Sep-10 4:31
Henry Minute21-Sep-10 4:31 
GeneralRe: how can i use diffrence neuron count in difference layer Pin
harold aptroot21-Sep-10 5:13
harold aptroot21-Sep-10 5:13 
QuestionExtensions Property Pin
reza assar21-Sep-10 3:22
reza assar21-Sep-10 3:22 
AnswerRe: Extensions Property Pin
Dave Kreskowiak21-Sep-10 3:33
mveDave Kreskowiak21-Sep-10 3:33 
GeneralRe: Extensions Property Pin
reza assar21-Sep-10 18:24
reza assar21-Sep-10 18:24 
GeneralRe: Extensions Property Pin
Dave Kreskowiak21-Sep-10 19:26
mveDave Kreskowiak21-Sep-10 19:26 
QuestionList view problem Pin
annie_bel21-Sep-10 3:16
annie_bel21-Sep-10 3:16 
AnswerMessage Closed Pin
21-Sep-10 3:36
stancrm21-Sep-10 3:36 
GeneralRe: List view problem Pin
annie_bel21-Sep-10 3:47
annie_bel21-Sep-10 3:47 
GeneralRe: List view problem Pin
John.Smith770021-Sep-10 6:28
John.Smith770021-Sep-10 6:28 
QuestionDatabase migration Pin
anishkannan21-Sep-10 1:52
anishkannan21-Sep-10 1:52 
AnswerRe: Database migration Pin
Bernhard Hiller21-Sep-10 2:11
Bernhard Hiller21-Sep-10 2:11 
GeneralRe: Database migration Pin
anishkannan21-Sep-10 2:17
anishkannan21-Sep-10 2:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.