Tinn: A tiny neural network library written in C99
41–50 of 62 posts
Re: Tinn: A tiny neural network library written in C99
#42Re: Tinn: A tiny neural network library written in C99
#43Re: Tinn: A tiny neural network library written in C99
#44Earlier quoted context omitted.
It might be easier to answer if you explained why you think it would be better. There may be cases where by-reference (yes, that's an absolutely acceptable thing to say, even in C) is more efficient: If the struct is a kind of "this pointer" (as in object-oriented programming) that is passed to a bunch of functions but relatively rarely used , then passing it by reference causes much less register pressure. Passing i…
> There may be cases where by-reference (yes, that's an absolutely acceptable thing to say, even in C) I don't want to be nit-picking. But I would like to know why "by-reference" is an acceptable thing to say. When I learnt C, C++, Java, etc. I was repeatedly told that pass by reference exists only in C++. In C, a pointer is passed by value. In Java, a reference is passed by value. Doesn't calling "pass pointer by va…
C++ and Java have their own specific language-lawyer definitions of the word reference, but outside of those languages, "reference" is a catch-all term that includes pointers, handles, and indexes.
Re: Tinn: A tiny neural network library written in C99
#45Earlier quoted context omitted.
It's not shitposting. One of the core requirements of modern deep neural networks is performance. The high accuracy you get from very fast training over large amounts of data is the only reason to look at neural networks over very fast, very accurate systems like XGBoost. If something doesn't deliver that, then it's worth pointing out that it is inadequate for anything but toy tasks.
It's not really worth pointing this out when the thing in question is a 200 line C library. People won't be expecting it to save the world and/or butter their toast.
Re: Tinn: A tiny neural network library written in C99
#46What exactly is the output of the example in `test.c`? I.e. what do the numbers mean? The error in the prediction I guess, but the prediction of what? What is the first entry in the semion data set? a "0"?
Re: Tinn: A tiny neural network library written in C99
#47Earlier quoted context omitted.
> Essentially this library is a demo toy It's 200 lines of C, what were you expecting?
Generally when I see links to github projects on HN I expect something useful or extraordinary and this looks like my Neural Networks 101 assignment, only far more polished. But people seem to like it(over 400 stars right now) so maybe I am missing something.
Re: Tinn: A tiny neural network library written in C99
#48Earlier quoted context omitted.
It's not really worth pointing this out when the thing in question is a 200 line C library. People won't be expecting it to save the world and/or butter their toast.
+1 also these tiny libraries are great for learning the basics. All of the code has actual meaning behind it and it's super easy to get it up and running.
Re: Tinn: A tiny neural network library written in C99
#49Earlier quoted context omitted.
Generally when I see links to github projects on HN I expect something useful or extraordinary and this looks like my Neural Networks 101 assignment, only far more polished. But people seem to like it(over 400 stars right now) so maybe I am missing something.
Lucky you to have a neural networks 101! My CS degree is now 12 years old, and I crave simple examples like this one. Hence the upvote.
[1] http://neuralnetworksanddeeplearning.com/chap1.html#implemen...
Re: Tinn: A tiny neural network library written in C99
#50Earlier quoted context omitted.
Generally when I see links to github projects on HN I expect something useful or extraordinary and this looks like my Neural Networks 101 assignment, only far more polished. But people seem to like it(over 400 stars right now) so maybe I am missing something.
So... if its usefulness is equal to something you've made, AND it's available to the public, AND it's more polished... why exactly are you shitposting about it? Let people enjoy things.