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 >>

How to Compile Neural Network in TensorFlow

tensorflow compile

In my journey as a Python developer, I’ve found that TensorFlow has become one of the most useful libraries for building and training neural networks. But before you can train any neural network, you need to compile it properly. Compiling a neural network in TensorFlow is like preparing your car before a race. Without proper … Read more >>

Build Artificial Neural Network in TensorFlow

tensorflow neural network

Recently, I was working on a project that required predicting housing prices in the US market. After exploring various options, I decided to use an artificial neural network built with TensorFlow. The problem was, I wasn’t sure where to start. TensorFlow offers numerous options, which can be overwhelming for beginners. In this article, I’ll walk … Read more >>

Training Neural Networks in TensorFlow

Training Neural Networks in TensorFlow

Recently, I was working on a project where I needed to build and train a neural network to predict housing prices in the US market. As I’ve discovered over my decade-plus career, TensorFlow is one of the most useful frameworks for this task. The issue is, getting started with neural networks can be intimidating. In … Read more >>

TensorFlow Gradient Descent in Neural Network

gradient descent in tensorflow

When I was building a neural network to predict housing prices in California, I ran into a common issue: my model wasn’t learning effectively. The culprit? I hadn’t properly configured my gradient descent optimizer. Gradient descent is the backbone of neural network training, yet many developers struggle to implement it correctly in TensorFlow. In this … Read more >>

TensorFlow Activation Functions

tensorflow activation functions

Recently, I was working on a deep learning project where I needed to choose the right activation function for my neural network. The challenge was, there are so many options in TensorFlow, each with different properties and use cases. So, which one should I choose? In this guide, I’ll share everything I’ve learned about TensorFlow … 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 >>

Sort Arrays by Date in TypeScript

Sort Array Dates in Descending Order in TypeScript

When I was working on a TypeScript project recently, I had to display a list of events sorted by their dates. I used .sort() to arrange them, but it didn’t work as expected because the dates were a mix of strings and Date objects. To fix this, I converted all the date values to Date … 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 >>

How to Convert Dates to UTC in TypeScript?

Date to UTC conversion in TypeScript

I was recently working on a feature that needed to sync date and time data across users in different time zones. There, I noticed that times were showing up inconsistently depending on where the user was located. In that situation, I had to convert all dates to UTC (Coordinated Universal Time) to keep the date … Read more >>