Do you want to learn these concepts? Open your python interpreter or go to Colab and try/experiment with all these lines! (that's why I didn't put images of code this time) 🧠💪
It might take 20 minutes but I guarantee that's well worth your time!
11/12🧵
Slicing is a very important concept in Python and understanding it will make you a better developer and make it easier to understand other people's code!
Do you have any cool tips related to slicing?
Which other languages also have slicing?
12/12🧵
• • •
Missing some Tweet in this thread? You can try to
force a refresh
Machine learning goes beyond Deep Learning and Neural Networks
Sometimes a simpler technique might give you better results and be easier to understand
A very versatile algorithm is the Decision Forest
🌴🌲🌳?
What is it and how does it work?
Let me tell you..
[7 min]
1/10🧵
Before understanding a Forest, let's start by what's a Tree
Imagine you have a table of data of characteristics of Felines. With features like size, weight, color, habitat and a column with the labels like lion, tiger, house cat, lynx and so on.
2/10🧵
With some time, you could write a code based on if/else statements that could, for each a row in the table, decide which feline it is
This is exactly what a Decision Tree does
During its training it creates the if/elses
TensorFlow Hub has models for all the ML domains such as Image, Text, Audio and Video
For image, this tutorial can get you started with Transfer Learning. It does some cool tricks with the data and the final model is ready for on-device deployment
Sometimes you need to build a Machine Learning model that cannot be expressed with the Sequential API
For these moments, when you need a more complex model, with multiple inputs and outputs or with residual connections, that's when you need the Functional API!
[2.46 min]
1/8🧵
The Functional API is more flexible than the Sequential API.
The easiest way to understand is to visualize the same model created using the Sequential and Functional API
2/8🧵
You can think of the Functional API as a way to create a Directed Acyclic Graph (DAG) of layers while the Sequential API can only create a stack of layers.
Functional is also known as Symbolic or Declarative API