r/ds_update • • Apr 17 '20

Nice explained analysis of a CV problem

2 Upvotes

Competition about finding characters in merchandise (clothes, keyrings, bags...).

What (and why) data augmentation techniques worked. And how they tackled transfer learning: https://towardsdatascience.com/how-i-won-top-five-in-a-deep-learning-competition-753c788cade1


r/ds_update • • Jun 09 '20

Not T or G, DPU is the new kid in the block by NVIDIA

2 Upvotes

DPUs are a new class of programmable processor that consists of flexible and programmable acceleration engines which improve applications performance for AI and machine learning.

https://analyticsindiamag.com/dpu-nvidia-mellanox-processors/


r/ds_update • • Apr 13 '20

[trick] Jupyter Notifier (Firefox & Chrome) and save time!

3 Upvotes

On every Jupyter Notebook environment, Jupyter Notifier allows you to select specific cells for notification. For this, Jupyter Notifier injects a button (bell) into your notebook. You can get notified with a sound, a message, or both when code cells terminate.

With Jupyter Notifier, you won't be repeatedly checking whether your cell has finished running.


r/ds_update • • Apr 06 '20

[book + code] Dive into Deep Learning interactive book!

4 Upvotes

An interactive deep learning book with code, math, and discussions, based on the NumPy interface. It is updated (explains BERT in NLP chapter). And you can run the notebooks in Google colab!

This open-source book represents our attempt to make deep learning approachable, teaching you the concepts, the context, and the code. The entire book is drafted in Jupyter notebooks, seamlessly integrating exposition figures, math, and interactive examples with self-contained code.

Checkout its github repo for more details and examples ;-)


r/ds_update • • May 20 '20

Pruning Neural Networks to get smaller models

1 Upvotes

This is not new but it is very interesting. I read about it in "The Lottery Ticket Hypothesis" paper: https://arxiv.org/pdf/1803.03635.pdf

Here is a high level overview: http://news.mit.edu/2020/foolproof-way-shrink-deep-learning-models-0430

If you are interested in the paper, there is a nice explanation by Yannic https://youtu.be/ZVVnvZdUMUk


r/ds_update • • Apr 04 '20

[performance] itertuples instead of iterrows in pandas

2 Upvotes

I read here about the benefits of using itertuples instead of iterrows (that I have been using for a long time), and I decided to try it out:

%%timeit
for i, row in data.iterrows():
    row

2.49 s ± 154 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

%%timeit
for row in data.itertuples():
    row

143 ms ± 13.9 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)

17 times faster!
I also checked for caching issues but it remained the same. So next time I will iterate through itertuples!


r/ds_update • • Apr 02 '20

Interesting graph framework using TensorFlow

Thumbnail self.machinelearning
1 Upvotes

r/ds_update • • Mar 18 '20

[Paper + code] Inferring Causal Impact Using Bayesian Structural Time-series Models

1 Upvotes

The aim of this project is to infer the causal impact that an event has exerted on an outcome metric over time. It is useful when you cannot perform an A/B test.

They propose an easy to follow example of market intervention:

https://projecteuclid.org/download/pdfview_1/euclid.aoas/1430226092

The paper proposes an solution in R, but I have been trying different python implementations. And my favourite package is:

https://github.com/dafiti/causalimpact


r/ds_update • • May 20 '20

[paper + code] Neural Controlled Differential Equations: SOTA Neural ODEs models for irregular time series

1 Upvotes

Original reddit post (it does not allow me to do a crosspost): https://www.reddit.com/r/MachineLearning/comments/gmmjcq/r_neural_controlled_differential_equations_tldr/

https://arxiv.org/abs/2005.08926

https://github.com/patrick-kidger/NeuralCDE

Hello everyone - those of you doing time series might find this interesting.

By using the well-understood mathematics of controlled differential equations, we demonstrate how to construct a model that:

Acts directly on (irregularly-sampled partially-observed multivariate) time series.

May be trained with memory-efficient adjoint backpropagation - and unlike previous work, even across observations.

Demonstrates state-of-the-art performance. (On both regular and irregular time series.)

Is easy to implement with existing tools.

Neural ODEs are an attractive option for modelling continuous-time temporal dynamics, but they suffer from the fundamental problem that their evolution is determined by just an initial condition; there is no way to incorporate incoming information.

Controlled differential equations are a theory that fix exactly this problem. These give a way for the dynamics to depend upon some time-varying control - so putting these together to produce Neural CDEs was a match made in heaven.


r/ds_update • • Apr 18 '20

[NLP] BERT explained and 3D visualized

3 Upvotes

Sometimes is hard to imagine the dimensions of every layer in a neural network. Here is a explanation step by step of BERT with a 3D clear visualization with sizes: https://peltarion.com/knowledge-center/documentation/modeling-view/build-an-ai-model/blocks/bert-encoder


r/ds_update • • Jun 01 '20

Zero shot learning in NLP

1 Upvotes

Nice review about 3 different approaches to zero shot learning in NLP with results:

https://amitness.com/2020/05/zero-shot-text-classification/


r/ds_update • • Apr 09 '20

[Talk notes] "Deep Learning at Scale with PyTorch, Databricks, and Azure ML"

1 Upvotes

Horovod support from Azure technologies for multinode parallel training (not needed for multiple GPUs in same node).

MLflow as an alternative for Azure ML in: training, hyperparameters, tracking experiments and deploying.

Let's see how Azure ML or MLflow can be "hidden" and decoupled from the code.


r/ds_update • • Apr 18 '20

Nevergrad: optimization without gradients from Facebook

1 Upvotes

Nevergrad provides a single, consistent interface to use a wide range of derivative-free algorithms, including evolution strategies, differential evolution, particle swarm optimization, Cobyla, and Bayesian optimization. And it can be easily integrated with HiPlot!

https://ai.facebook.com/blog/nevergrad-an-evolutionary-optimization-platform-adds-new-key-features


r/ds_update • • Apr 28 '20

[paper][Bayesian] Bayesian AB Testing

3 Upvotes

This is a paper that I saw being referred in many posts I read about Bayesian AB testing. It's a modest but interesting introduction to AB testing using a Bayesian approach. It gives quite a few solutions to implement Bayesian AB testing for conversion rate and purchase value, which I think are worth a look.

https://www.chrisstucchio.com/pubs/VWO_SmartStats_technical_whitepaper.pdf


r/ds_update • • Jul 10 '20

Full Stack Deep Learning course

Thumbnail
twitter.com
2 Upvotes

r/ds_update • • Jun 20 '20

Tick: ego net and Google "vs" to discover a topic

2 Upvotes

If you are going to learn a technology, sport, or skill. Just get the main concepts and how are they related from an autogenerated graph in a smart way: https://medium.com/applied-data-science/the-google-vs-trick-618c8fd5359f?source=rss----70cd67c5d0e---4


r/ds_update • • Mar 27 '20

NYU DL Spring 2020 course material by Prof. Yann LeCun

Thumbnail
drive.google.com
2 Upvotes

r/ds_update • • Apr 04 '20

[papers + code] Deep Reinforcement Learning implementations

2 Upvotes

Last week we were talking about RL with some of you.

Here is a list of "classical" (from DQN to A3C or DDPG many of them state-of-the-art a few months ago) deep learning agents with its paper, core ideas and implementation in TensorFlow 2:

https://github.com/marload/deep-rl-tf2


r/ds_update • • Apr 09 '20

A light reading about the limits of supervised learning

2 Upvotes

A light reading about the limits of supervised learning from a recent speech of Yann LeCunn. The next revolution will probably be in self supervised more than in reinforced learning? May be yes.

https://bdtechtalks.com/2020/03/23/yann-lecun-self-supervised-learning/


r/ds_update • • May 07 '20

Tweeter thread about AI training by Deepmind

1 Upvotes

As part of their #AtHomeWithAI Deepmind wrote a thread with resources about RL (from basics to meta learning) or neural nets by Nando DF (I won't forget his paper "Learning to learn by gradient descent by gradient descent" it is not a mistake XD).

https://distill.pub/2020/bayesian-optimization/


r/ds_update • • May 06 '20

MIT-OCW: A 2020 Vision of Linear Algebra, Spring 2020 | Gilbert Strang | Brand new, intuitive, short videos on Linear Algebra

Thumbnail
youtube.com
2 Upvotes

r/ds_update • • Apr 03 '20

scipy.spatial.KDTree to rapidly look up the nearest neighbors of any k-dimensional point

2 Upvotes

This class provides an index into a set of k-dimensional points which can be used to rapidly look up the nearest neighbors of any point.

Link: https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.spatial.KDTree.html

KDTree implements different kinds of queries among other methods, but the simplest usage of the class could be the shown in the following example:

from scipy.spatial import KDTree
import numpy as np

x, y = np.mgrid[0:5, 2:8]
points = list(zip(x.ravel(), y.ravel()))

tree = KDTree(points)
# tree.data == points

# Querying for the nearest point to (1.9, 1.9) using Euclidean distance
distance, index = tree.query((1.9, 1.9))
# distance == 0.14142135623730964 == np.sqrt((2 - 1.9)**2 + (2 - 1.9)**2)
# index == 12; points[index] == points[12] == (2, 2)

r/ds_update • • Jul 07 '20

[paper] Time series forecasting competitions @ Kaggle

2 Upvotes

Amatriain sent me a nice reading to discuss about evaluation, models, improvements... I will talk about it in the reading club:

https://www.researchgate.net/publication/339362837_Learnings_from_Kaggle's_Forecasting_Competitions


r/ds_update • • Jun 08 '20

Visual way to explore papers in a field

Thumbnail self.machinelearning
2 Upvotes

r/ds_update • • Jun 24 '20

Churn analysis from mobile app data, a classical approach

Thumbnail
towardsdatascience.com
1 Upvotes