This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Just run this whole script in your browser's console on the appropriate webpage | |
// For instance on https://github.com/facebook/create-react-app/labels | |
// 1 | |
var labels = []; | |
[].slice.call(document.querySelectorAll(".label-link")) | |
.forEach(function (element) { | |
labels.push({ | |
name: `"${element.textContent.trim()}"`, | |
// using style.backgroundColor might returns "rgb(...)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From my blog post: http://vict0rsch.github.io/2018/06/06/tensorflow-streaming-multilabel-f1/ | |
import tensorflow as tf | |
import numpy as np | |
from tensorflow.python.ops import variable_scope | |
from tensorflow.python.ops import array_ops | |
from tensorflow.python.framework import ops | |
from sklearn.metrics import f1_score | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1DK3VpnQHPmtHDFW8gR2TiXUTbmTx4CbSX https://explorer.blockstack.org/address/1DK3VpnQHPmtHDFW8gR2TiXUTbmTx4CbSX |
NewerOlder