Good morning, friend! It's Daniel here with a new edition of the Js-Craft newsletter.
For the past two weeks, I've been heads down on reading about TensorflowJs and neuronal networks in Javascript. Exciting stuff! Because of how the core concept of how machine learning works, it feels like I am re-learning programming from scratch.
All this new AI stuff is wild. Github released their numbers stating that 46% of code is being written using GitHub Copilot across all programming languages. So, 46% of code is being written by AI!
As promised in the past edition of the newsletter, I've written a full article on how to code your first Javascript neuronal network from scratch. It's just a very simplified version, but enough to explain the basics.
๐ฐ New articles on Js-Craft.io
Therefore this edition of the newsletter has quite a lot of content related to machine learning in Javascript. Let's see the full list of new articles.
Articles on Machine Learning and TensorflowJs:
- TensorflowJs โ what are tensors, creating and reshaping tensors, limiting the data types
- TensorflowJs โ basic tensor operations and getting the individual values from a tensor
- Using the TensorflowJs BERT Question and Answer model with vanilla Javascript
- Activation functions in TensorlfowJs
- The Mean Squared Error function in TensorflowJs
- A brief explanation of what is a perceptron in Javascript
- Coding your first Javascript neuronal network from scratch
- Weights and the weighted sum
Javascript articles:
- The double asterisk ** operator in Javascript
- Javascript โ can we use the if shorthand without the else option?
๐ด Some non-coding things that I've enjoyed lately
Started season 2 of Clarkson's Farm. If you were a fan of the old Top Gearย format, this is a must.
Plus that you start to really appreciate the advantages of being a software dev, when you realized what is actually involved in running a farm.
Well, that's it, folks! See you in 2 weeks. Be smart, be kind, and keep coding!
๐ Neural networks for Javascript developers
The Neural Networks for JavaScript developers book is almost ready! Learn the basics of AI with TensorFlowJs examples. Join now the presale and get a 15$ coupon off the launching price!