Before starting, remember that, if you follow me, one of your enemies will be immediately destroyed (and you'll get to read more of these threads, of course.)
And if you don't follow me, well, you just hurt my feelings.
π
1. Labels
(Also referred to as "y")
The label is the piece of information that we are predicting.
For example:
- the animal that's shown in a picture
- the price of a house
- whether a message is spam or not
π
2. Features
(Also referred to as "x")
These are the input variables to our problem. We use these features to predict the "label."
For example:
- pixels of a picture
- number of bedrooms of a house
- square footage of a house
π
3. Samples
(This is also known as "examples.")
A sample is a particular instance of data (features or "x.") It could be "labeled" or "unlabeled."
π
4. Labeled sample
Labeled samples are used to train and validate the model. These are usually represented as (x, y), where "x" is a vector containing all the features, and "y" is the corresponding label.
For example, a labeled sample could be:
([3, 2, 1500], 350000)
5. Unlabeled sample
Unlabeled samples contain features, but they don't contain the label: (x, ?)
We usually use a model to predict the labels of unlabeled samples.
π
6. Model
A model defines the relationship between features and the label.
You can think of a model as a set of rules that, given certain features, determines the corresponding label.
For example, given the # of bedrooms, bathrooms, and square footage, we get the price.
π
7. Training
Training is a process that builds a model.
We show the model labeled samples during training and allow the model to gradually learn the relationships between features and the label.
π
8. Validation
Validation is the process that lets us know whether a model is any good.
Usually, we run a set of (unseen) labeled samples through a model to ensure that it can predict the labels.
π
9. Inference
Inference is the process of applying a trained model to unlabeled samples to obtain the corresponding labels.
In other words, "inference" is the process of making predictions using a model.
π
10. Regression
A regression model predicts continuous values, for example:
- the value of a house
- the price of a stock
- tomorrow's temperature
π
11. Classification
A classification model predicts discrete values, for example:
- the picture is showing a dog or a cat
- the message is spam or not
- the forecast is sunny or overcast
β’ β’ β’
Missing some Tweet in this thread? You can try to
force a refresh
Rumors are going around that Twitter cripples tweets that include links.
There's nothing in their official documentation, but a lot of people think that's the case.
I thought this through, and I will not play along.
π§΅π
Allegedly, if I disable the links, my tweets will get much more impressions because Twitter will push them to more people.
Assuming this is the case, what's the cost?
My followers will have to start copying, then pasting any links that I post.
(2 / 4)
Seems like a small nuance, but reading comments on tweets with disabled links, the process is very error-prone and a lot of people have trouble accessing the content.
β«οΈ Rapid development
β«οΈ A lot of out-of-the-box functionality
β«οΈ Easy for building complex, full web applications
β«οΈ MVC design paradigm
β«οΈ Robust security features
β«οΈ Extensible (a lot of components out there)
β«οΈ Large community
π
Flask
β«οΈ Very light
β«οΈ Doesnβt make decisions for you
β«οΈ Doesnβt bring anything that you donβt need
β«οΈ Modular, so itβs easy to extend
β«οΈ You can plug in your favorite ORM
β«οΈ Great documentation
β«οΈ Very easy to start with
β«οΈ Large community