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
"""Script to download Audio files from YouTube links. | |
Pip dependencies: | |
- pytube | |
""" | |
import os | |
import time | |
from pytube import Playlist, YouTube |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Metrics for measuring the performance of a model in a given dataset, | |
in both kinds of problems: *classification* and *regression*. | |
Implementation extracted from: https://github.com/leferrad/learninspy/blob/master/learninspy/utils/evaluation.py | |
NOTE: Only working with Python 2.7.x |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
"""""" | |
import matplotlib | |
matplotlib.use("TkAgg") | |
from datetime import datetime as dt | |
import numpy as np |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
"""Script to get images from 9gag, based on https://github.com/sashgorokhov/python-ninegag""" | |
# Python 2 and 3 compatibility | |
from __future__ import print_function | |
from builtins import input | |
from bs4 import BeautifulSoup |