Tensors in TensorFlow

what is a tensor in tensorflow

As a developer, I was working on a deep learning project where I needed to understand the fundamental building blocks of TensorFlow. The issue is, many developers jump straight into using TensorFlow without truly understanding what tensors are and how they work. This can lead to confusion when debugging models or optimizing performance. In this … Read more >>

Use TypeScript Enums as Object Keys

Use TypeScript Enums as Object Keys

While working on a TypeScript project, I needed to store values in an object where the keys represented different user roles, such as Admin, Editor, and Viewer. Instead of using plain strings (which can cause typos or mistakes), I used a TypeScript enum to define the roles. This made the code more readable, safer, and … Read more >>

TensorFlow Variables

tf variable tensorflow

Recently, I was working on a deep learning project where I needed to build a model that could predict housing prices in the US market. One of the fundamental concepts I had to master was how to properly use TensorFlow variables. The issue is, many tutorials don’t properly explain when and how to use variables … Read more >>

TensorFlow Convert String to Int

tensor to int

Working with TensorFlow often requires converting data between different types, and one of the most common conversions is from string to integer. I’ve encountered this need countless times in my decade of Python development experience. In real-world machine learning projects, data rarely comes in the perfect format. Sometimes you’ll get text data that needs to … Read more >>

TensorFlow Fully Connected Layer

fully connected layer tensorflow

Recently, I was working on a deep learning project that involved analyzing customer data, where I needed to implement neural networks. One of the fundamental building blocks I used was the fully connected layer in TensorFlow. If you’re building neural networks with TensorFlow, you’ll inevitably work with fully connected layers (also called dense layers). These … Read more >>

Add Days to a Date in TypeScript

Add days to future date in Typescript

When I was working on a TypeScript project recently, I needed to calculate dates a few days ahead, like setting deadlines or scheduling reminders. At first, I wasn’t sure how to easily add days to a date without messing up the original date or dealing with complex date math. To solve this, I created a … Read more >>

Batch Normalization in TensorFlow

tensorflow batch normalization

Recently, I was working on a deep learning project where my model was taking forever to train, and the accuracy was all over the place. The issue was, I wasn’t using batch normalization. Once I implemented it correctly, my training time decreased by 40%, and the model became much more stable. In this guide, I’ll … Read more >>

Binary Cross Entropy in TensorFlow

binary cross entropy tensorflow

While working on a machine learning project, I needed to train a neural network for binary classification. The crucial decision was selecting the right loss function, and Binary Cross Entropy (BCE) emerged as the perfect choice. In this article, I’ll cover everything you need to know about implementing and optimizing Binary Cross Entropy in TensorFlow, … Read more >>

Matplotlib Plot a Line

matplotlib line plot

As a developer working on a data visualization project, I needed to create clear and informative line plots to present some trend analysis. As I’ve discovered over my years working with Python, Matplotlib is incredibly useful, yet sometimes the basics can trip us up. In this article, I’ll walk through several approaches to plot lines … Read more >>

Props in React JS

Basic Props Implementation in React JS

When I was working on a React project where I needed to pass data from a parent component to a child component. This is where props come in handy in React. Props (short for properties) are a fundamental concept in React that allows components to communicate with each other. In this article, I will cover … Read more >>

51 Python Programs

51 PYTHON PROGRAMS PDF FREE

Download a FREE PDF (112 Pages) Containing 51 Useful Python Programs.

pyython developer roadmap

Aspiring to be a Python developer?

Download a FREE PDF on how to become a Python developer.

Let’s be friends

Be the first to know about sales and special discounts.