Update a model used by ml-hide-if-graph-matches
Background
In #104 (closed) we have introduced a pretrained machine learning model to be used by a snippet ml-hide-if-graph-matches
. Since we have collected more data to train on we would like to update existing model with a new, improved one.
What to change
- Replace the files in
data/mlHideIfGraphMatches
with files of a new model - Within the snippet, add an empty tag to a list of HTML tags, so that the snippet preprocesses the feature vector into a 119-dimensional one-hot encoding.
Hints for testers
This should improve the model performance on Facebook. Test that the model works and predicts as expected.
Edited by Hubert Figuière