This file contains hidden or 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
| stopwords: | |
| 'too','was','where','just','how','have','so','this','has','into','or','what','now', 'about', 'when', 'their','will','some','off','all','can','your','his','you','over', 'no','out','more','not','who','its', 'up','it','be', 'after','that','are','by','but', 'from','an', 'as', 'at','with', 'is','on','and','for','of','to','in','a','the' | |
| labels: | |
| ['Arts' 'Business' 'Health' 'Opinion' 'Politics' 'Science' 'Sports' 'Style' 'Technology'] | |
| Title (min 35 Character) : | |
| Train : 7204 |
This file contains hidden or 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
| """ | |
| Module directly collated from | |
| http://nbviewer.ipython.org/github/adrn/ipython/blob/1.x/examples/notebooks/Importing%20Notebooks.ipynb | |
| """ | |
| import io, os, sys, types | |
| from nbformat import current | |
| from IPython.core.interactiveshell import InteractiveShell | |
| def find_notebook(fullname, path=None): | |
| """find a notebook, given its fully qualified name and an optional path |
This file contains hidden or 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
| # Get the memory consumed by cache (memory used by the cache cannot be used for hugepages) | |
| free -m | awk 'NR==2{print $6}' | |
| # Free Cache Memory | |
| sync && echo 3 > /proc/sys/vm/drop_caches |
This file contains hidden or 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
| #!/bin/sh | |
| # Switch GPU Drivers | |
| # Script by Pascal Maximilian Bremer | |
| # === Functions === | |
| # Read GPUs in System | |
| lspci -v | perl -ne '/VGA/../^$/ and /VGA|Kern/ and print' | |
| # Read name of selected GPU |
NewerOlder