As technology becomes cheaper and more available, we start taking it for granted. Nowhere is this more true than in machine learning. As machines become cheaper and data becomes more and more voluminous, our approach to specific machine learning problems often, and understandably, becomes haphazard. Since GPUs are much cheaper and more widely available than ever before, we implicitly believe that throwing enough artificial neurons at a problem will eventually solve it. While this by itself may be true, it is not uncommon for ML practitioners to realize - unfortunately only in hindsight - that most of the iterations required to build a successful predictive model were unnecessary. Ironically, these 'missteps' are often what lead us to the correct answer. Solving a machine learning problem is like traversing a minefield, where the safest path can only be determined by blowing up a significantly large number of mines. You can only figure out the right a
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
#!/usr/bin/env python | |
# coding: utf-8 | |
# In[1]: | |
get_ipython().run_line_magic('load_ext', 'autoreload') | |
get_ipython().run_line_magic('autoreload', '2') | |
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
``` | |
for each epochs: | |
* divide the training data into minibatches | |
for each minibatch: | |
* backpropagate and update weights | |
``` |
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
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# JSM product code | |
# | |
# (C) Copyright 2018 Juxt SmartMandate Pvt Ltd | |
# All right reserved. | |
# | |
# This file is confidential and NOT open source. Do not distribute. |
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
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
from __future__ import print_function | |
for i in range(1, 10): | |
print(i) | |
if i % 2 == 0: | |
exit |
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
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
""" | |
Training Word embeddings on the MTsamples dataset. | |
""" | |
from keras.models import Model | |
from keras.layers import Dense, Embedding, Input, Reshape, Dot |
Things that the regular code of conduct missed out
- Thou shalt not slam the door when thou leaveth the auditorium.
- Thou shalt take care not to kick the seat in front of you in the auditorium.
- Thou shalt make sure that thy phone is silenced.
- Thou shalt not jump the queue for lunch or tea.
- Thou shalt speak only in whispers if a session is in progress.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
" Powerline stuff | |
set rtp+=/Users/jaidevd/src/powerline/powerline/bindings/vim | |
set laststatus=2 | |
execute pathogen#infect() | |
" Python stuff | |
syntax enable | |
filetype on |
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
Title | Author | Genre | Height | Publisher | |
---|---|---|---|---|---|
Fundamentals of Wavelets | Goswami, Jaideva | signal_processing | 228 | Wiley | |
Data Smart | Foreman, John | data_science | 235 | Wiley | |
God Created the Integers | Hawking, Stephen | mathematics | 197 | Penguin | |
Superfreakonomics | Dubner, Stephen | economics | 179 | HarperCollins | |
Orientalism | Said, Edward | history | 197 | Penguin | |
Nature of Statistical Learning Theory, The | Vapnik, Vladimir | data_science | 230 | Springer | |
Integration of the Indian States | Menon, V P | history | 217 | Orient Blackswan | |
Drunkard's Walk, The | Mlodinow, Leonard | science | 197 | Penguin | |
Image Processing & Mathematical Morphology | Shih, Frank | signal_processing | 241 | CRC |