Do We Need Object Oriented Programming in Data Science?

Do We Need Object Oriented Programming in Data Science?

Do We Need Object Oriented Programming in Data Science? Let’s discuss some pros and cons of switching to object oriented programming as a data scientist.

When I first got into data science, it became clear that object oriented programming was not the main focus. Many data scientists wrote code in notebooks or as single Python scripts to clean data, develop models, and run them but did not put the code into functions or classes. Most classes center around understanding machine learning (ML) models, feature engineering, training/testing/validation sets, and more. The work was commonly done in a notebook environment and shared around between students and professors. Often, data scientists do not consider the end-user in the same manner as a developer during software development.When I began working as a data engineer, there was more focus on object oriented languages and cloud technologies to host, clean, and provide the data to other teams. Even then, most of the programming lived in Lambda functions on AWS or using open source libraries to do the necessary work. By the time I switched into a data science role, I was back to long or chained notebooks, with some functions, depending on the developer. There was minimal object oriented code, and that was only there to interact with other teams who ingested our work and required it for running the code.Now I work on a team whose main codebase is almost all object oriented alongside other libraries and tools that follow similar coding standards. There is a mix of notebooks, libraries, and automation with testing pipelines and release pipelines. Shifting towards an object oriented mindset has been very beneficial. This shift has allowed our code to be production-ready, easily readable, and extendable to new use-cases.

programming machine-learning software-development technology data-science

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Learn Programming, Software Engineering, Machine Learning, And More

Best Free Resources to Learn Programming, Software Engineering, Machine Learning, And More All you need to learn. Do you know that you can take the courses from MIT, Stanford.

Offshore Software Development - Best Practices

To make the most out of the benefits of offshore software development, you should understand the crucial factors that affect offshore development.

ML Optimization pt.1 - Gradient Descent with Python

In this article, we explore gradient descent - the grandfather of all optimization techniques and it’s variations. We implement them from scratch with Python.

Most popular Data Science and Machine Learning courses — July 2020

Most popular Data Science and Machine Learning courses — August 2020. This list was last updated in August 2020 — and will be updated regularly so as to keep it relevant

Here’s how I Learned Just Enough Programming for Data Science

How to approach learning programming and best books I recommend. There’s no doubt that data science requires decent programming skills, but how much is enough?