Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C 

how to code a neural net

I've been modding neural nets (only yolov3 for speed), but how do i make one??

I've can detect 100% similar models or a resized one inside input( bitmaps), but how do i generalize it?

Like if something isn't 100% exact?

Im using C++
learn what a neural net is

learn common methods of implementing them

i'm interpreting this as that you have some existing neural net code you want to modify

to do this, do those first 2 steps, then learn this codebase.

after that it should be obvious. if it isn't, repeat these steps
There's a lot of papers on the subject, it all comes down to training and evaluation, and you also need datasets that you use for training and evaluation (but those should be separate). If you want to start off with something quick, use tensorflow: https://www.tensorflow.org/guide/extend/cc
Getting Started: C/C++
[C/C++/.NET/x86 ASM - Automation Programmer]
tensorflow, i totally agree.
I suppose you have a correct answer by now so sorry for doing this lol.
This is basically a neural network:

Code
if(){
    if(){
        if(){
            if(){
                if(){
                    if(){
                        if(){
                            if(){
                                if(){
                                    if(){
                                        if(){
                                            if(){
                                                if(){
                                                    if(){
                                                        if(){
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
(Dec 11, 2018 03:16 PM)iTHX Wrote:  I suppose you have a correct answer by now so sorry for doing this lol.
This is basically a neural network:

Code
if(){
    if(){
        if(){
            if(){
                if(){
                    if(){
                        if(){
                            if(){
                                if(){
                                    if(){
                                        if(){
                                            if(){
                                                if(){
                                                    if(){
                                                        if(){
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

Not really. It's more based on calculus, and other algebra with matrices of numeric values; biases and weights that are tweaked over test data, and utilized to calculate the probability of a result in a variety of ways that are tailored to certain topics (i.e. dynamic speech recognition vs linear classification tasks like image recognition).
Getting Started: C/C++
[C/C++/.NET/x86 ASM - Automation Programmer]
(Dec 11, 2018 11:12 PM)0xDEAD10CC Wrote:  Not really. It's more based on calculus, and other algebra with matrices of numeric values; biases and weights that are tweaked over test data, and utilized to calculate the probability of a result in a variety of ways that are tailored to certain topics (i.e. dynamic speech recognition vs linear classification tasks like image recognition).

i learned alot from those 3 lines
(Dec 11, 2018 11:12 PM)0xDEAD10CC Wrote:  Not really. It's more based on calculus, and other algebra with matrices of numeric values; biases and weights that are tweaked over test data, and utilized to calculate the probability of a result in a variety of ways that are tailored to certain topics (i.e. dynamic speech recognition vs linear classification tasks like image recognition).

i learned alot from those 3 lines
this is about the best introductory video explanation I've seen yet:



Getting Started: C/C++
[C/C++/.NET/x86 ASM - Automation Programmer]
(Dec 11, 2018 11:12 PM)0xDEAD10CC Wrote:  Not really. It's more based on calculus, and other algebra with matrices of numeric values; biases and weights that are tweaked over test data, and utilized to calculate the probability of a result in a variety of ways that are tailored to certain topics (i.e. dynamic speech recognition vs linear classification tasks like image recognition).

Completeley agree but I think you missed the dudes joke. It's a common programming meme to say that AI is just a whole bunch of if statements.
I hear some people are actually moving into Go to Rust for this, https://github.com/jackm321/RustNN
http://sunjester.rf.gd - proxies, logins, scanner results


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by hypersonic5000Jul 8, 2019 07:20 AM 3 222 Jul 8, 2019 07:20 AM
Last Post: Vyxn
[Python] by koolkidSep 13, 2018 09:52 AM 4 287 Sep 13, 2018 09:52 AM
Last Post: .kr.
[Python] by Unk0wnAug 1, 2018 05:32 PM 5 1,728 Aug 1, 2018 05:32 PM
Last Post: idab420