Sign in

Machine Learning Engineer and Evangelist @Flyte. Previously @Oracle.
Photo by Hu Chen on Unsplash

Machine Learning isn’t cheap. Chiefly, when one massive model or several multiple models are to be built, it eats up your time, money, and effort. Imagine wanting to revert to a previous model artifact if the current model isn’t performing as effectively as the previous model. If you do not have access to the previous model’s results, you would have to go all the way through modifying your parameters, training your models, and estimating the performance. A not-so-easy job, indeed!

This use case is just the tip of an iceberg. There are endless cases where you might want to version…

The ultimate guide to understanding cron jobs

Bicycle in front of yellow wall
Bicycle in front of yellow wall
Image by Alexey Lin from Unsplash.

You may often need to spin up your tasks (jobs) automatically without any manual intervention (e.g. when backing up your database). You might not be available to spin the tasks up or maybe you want the machine to pick them up and run them. Either way, you need them to run in the background at a specified time.

Cron jobs help in automating such tasks — more specifically, those repetitive tasks.

This guide will help you set up cron jobs on your Linux instance. …

An eBook for all those who’d like to know the intricacies of the tech industry

I’m Samhita Alla — a Tools Developer and Tester at Oracle. I like developing applications and writing blogs about Python and Machine Learning.

After learning the two most important concepts required for not flunking an interview — data structures and system design, and bombing the interviews despite trying to understand them, I’ve told myself that data structures concept isn’t going to rule my career. Data structures and I are sorts of adversaries, and I had plans of getting into top-notch companies without mastering it. So bit by bit, I’ve started looking into other technical areas that piqued my interest.


By Samhita Alla and Neil Conway

Photo by SOCIAL.CUT from Unsplash

Object Detection is an important task in computer vision. Using deep learning for object detection can result in highly accurate models, but developers can also run into several challenges. First, deep learning models are very expensive to train — even using GPUs, modern object detection models can take many hours of computation to train from scratch. Managing those GPUs and running workloads on many GPUs in parallel gets complicated fast. Second, object detection models typically have many hyperparameters. While algorithms exist to tune hyperparameters automatically, applying those algorithms in practice requires running hundreds or…

The Data Preparation Process

Photo by FOODISM360 from Unsplash

In the first part of this series, you’ve implemented various data loading techniques. You’ve seen how to load images, text, CSV files, and NumPy arrays into your Keras workspace.

Now to enable the model to make a rightful usage of your data, you’d have to convert it into an understandable format which could then be interpreted by a deep learning algorithm. To do this, you’d have to preprocess your data.

Importing Keras

First import the keras library into your workspace.

from tensorflow import keras

Now you’ll how to preprocess various kinds of data. So here’s the challenge. Every section has the task…

Data is vast, so are the data loading techniques

Photo by Nahil Naseer from Unsplash

Keras is a Deep Learning API of TensorFlow 2.0 used for easy and fast experimentation. It is simple to understand, flexible to extend and deploy, and powerful enough to build any neural network.

With the increase in the usage of deep learning to solve real-time problems, it has become quite a necessity to lessen the time consumed to build robust machine learning algorithms, i.e., the time taken from designing an algorithm to putting it into practice to generate the desired model has to be minimal.

Keras has been designed for this very purpose. It is a high-level deep learning API…

What is MLOps? Understand how it is going to help you in building an end-to-end Machine Learning Pipeline

Background Photo from Unsplash

Machine Learning (ML) has forayed into almost all principles of our lives, be it healthcare, finance or education; it’s practically everywhere! There are numerous machine learning engineers and data scientists out there who are well versed in modelling a machine learning algorithm. Nevertheless comes the challenge of deploying a machine learning model in production. Coding a machine learning algorithm is the tip of an iceberg. For a machine learning model to be deployable, configuration, automation, server infrastructure, testing, and process management have to be taken care of. In conventional software engineering, DevOps does the engineering and operations. It bridges development…

Know how Probability strongly influences the way you understand and implement Machine Learning

Background photo from Unsplash

When implementing machine learning algorithms, you may have come across situations where the environment that your algorithm is in, is non-deterministic, i.e., you cannot guarantee the same output always for the same input. Similarly in the real-world, there are scenarios such as these where the behavior can vary, though the input remains the same. Uncertainty exists no matter what. As machine learning includes humongous amounts of data, multiple hyperparameters, and a complex environment, uncertainties are bound to exist. It can be in the form of missing variables, incomplete modeling, or the data being probabilistic.

Foraying into machine learning algorithms without…

Background Photo from Unsplash

‘Deep’ puts forth the notion and depth that the term Deep Learning carries. It has sprung up in the 1940s and has remained here ever since. Its success is related to its closeness to the functioning of the “human brain”.

Humans’ have always been the suave and craziest social animals on Earth. Unlike others, they are capable of thinking and decision making in the smartest way possible. Deep Learning revolves around human brain imitation and intuition, and it henceforth, gained a lot of momentum.

Understanding the core concepts is quite essential to get a hang of what Deep Learning encompasses…

Caching Data and Queuing Jobs using Redis in Django

Background photo from Unsplash

1. Caching Data — An Alternative to Django Session

The session framework in Django isn’t preferable when there’s a humongous amount of data to be fetched, loaded, and set on a per-site-visitor basis. The error message, “The request’s session was deleted before the request completed. The user may have logged out in a concurrent request, for example.” could pop up when there’s an enormous amount of session data to be loaded. As session data gets loaded for every request, storing huge data can slow down your application. A Redis cache, in such cases, could act as the doppelgänger! Without any further ado, let’s quickly check how that’s done.


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store