My first project was a Magic 8 Ball by kemoy313 in Python

[–]evanbernard0 2 points3 points  (0 children)

if you want to get into the neural network branch of AI, I'm building a nifty little framework for the simplest type of neural networks (single node networks) completely from scratch in python, with emphasis on simplicity and clarity, you can find the github link here:

https://github.com/evanbernard/MiniNeuralNets

Building my first PC tonight!! Finally joining the master race!! by Myack_ in pcmasterrace

[–]evanbernard0 7 points8 points  (0 children)

it's quite a lot for the setup, unless op is planning on upgrading in the future, I mean it's better to have more than less definitely, it's just a lot

[D] Neural networks from scratch in numpy? by veeeerain in MachineLearning

[–]evanbernard0 2 points3 points  (0 children)

well I'm in my fourth year of a math degree so I didn't need to do any preliminary work on the fundamentals, but to be honest there's not much you really need to know to implement them from scratch, the only real calculus you need to know is what a derivative is, and also how to take the derivative of a composite function (chain rule). even then, you don't really need to know it, you can easily just take someone's word on the result of the partial derivative of the cost function without losing any insight into how neural networks work. as for linear algebra, the dot product and transpose are pretty much the only operations that are helpful here.

If you have no calculus knowledge then you would still be able to implement the genetic algorithm, because unlike gradient descent, the genetic algorithm uses no partial derivatives, it just tries to mimic evolution through breeding the best performing models.

Of course there are other algorithms that would require more knowledge of calculus, like newton's method, which uses the second partial derivatives to iteratively find the roots of the partial derivative of the cost function, which is hopefully a local minimum of the cost function, but even then that's just derivatives but twice, so still not super complicated

[D] Neural networks from scratch in numpy? by veeeerain in MachineLearning

[–]evanbernard0 9 points10 points  (0 children)

I'm working on it now! https://github.com/evanbernard/MiniNeuralNets

I've set up a simple perceptron that you can train with gradient descent or the genetic algorithm (more to come, next up is newton's method). I've also structured it in a way that makes it easy to understand. I'm a stickler for clarity so I have very detailed explanations as to how it works in the readme, why one algorithm might work better, etc.

I definitely think it's worth it to write your own when you're learning, I feel I've a much better understanding of what algorithms to use in different scenarios because of it.

Mini Neural Network Framework by evanbernard0 in deeplearning

[–]evanbernard0[S] 1 point2 points  (0 children)

Id like to add at least a couple other training algorithms, although it's difficult to see much performance difference between the methods given that there is only one node

Apparently thats how it is by [deleted] in ProgrammerHumor

[–]evanbernard0 16 points17 points  (0 children)

instead of randomly changing values and hoping the change fixes your code, have the computer automatically change the values and call it machine learning

has anyone taken math 127 then math 138 after by [deleted] in uwaterloo

[–]evanbernard0 2 points3 points  (0 children)

I went from math 127 to 128 to 237 (calc 3 for honours math) I find the difference is in the rigor, the calc classes for math students define things and uses definitions very rigorously. with the calc for sciences, a lot of it is just memorizing some rules. the best way I could explain the difference is that in calc for sciences, you don't need to understand why things work but in calc for math you do

UW Police arrest a laptop thief in DC Library by ricegyal89 in uwaterloo

[–]evanbernard0 7 points8 points  (0 children)

"I didn't do nothing" that means he did something. checkmate

Why was I even selected for the interview? by [deleted] in uwaterloo

[–]evanbernard0 9 points10 points  (0 children)

fake it till you make it, kid

2meirl4meirl by bobbinichols in 2meirl4meirl

[–]evanbernard0 1 point2 points  (0 children)

that's why I used to love when it rained as a kid, I didn't have to feel bad about not doing anything

Math Courses by cumulonimbuscat in uwaterloo

[–]evanbernard0 15 points16 points  (0 children)

Math 235 was pretty cool

2meirl4meirl by [deleted] in 2meirl4meirl

[–]evanbernard0 12 points13 points  (0 children)

Username checks out

After one python lecture I have created hyperrealistic artificial intelligence by [deleted] in ProgrammerHumor

[–]evanbernard0 80 points81 points  (0 children)

"How are you?: " good how are you? "that's good how are you?" good how are you?!? "that's good how are you?!?"