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

How to Reverse a List in Python

reverse list python

Over the years of working with Python, I’ve often come across situations where I needed to reverse the order of items in a list. At first, it might sound like a simple task. But depending on the project, the way you reverse a list in Python can make a big difference in performance and readability. … Read more >>

Extract Strings from a List in Python

extract string from list python

As a developer, I was working on a project where I had to clean up a dataset that mixed numbers, strings, and special characters in the same list. So, I had to rely on different Python tricks and methods I’ve learned over the years. In this tutorial, I’ll share those methods with you. I’ll show … Read more >>

Get All Values from a Dictionary in Python

python dictionary get values

When I first started working with Python dictionaries more than a decade ago, I often found myself needing to extract just the values. Sometimes I wanted to analyze customer data stored in a dictionary. Other times, I needed to quickly convert values into a list for further processing. Over the years, I’ve discovered multiple ways … Read more >>

Basic TensorFlow Constructs: Tensors and Operations

Basic TensorFlow Constructs Tensors and Operations

TensorFlow has become one of the most widely used frameworks for deep learning and machine learning. The heart of TensorFlow is tensors and the operations we can perform on them. If you think of deep learning models as giant equations, then tensors are the variables carrying data, while tensor operations are the math and transformations that turn raw inputs … Read more >>

Load and Preprocess Datasets with TensorFlow

Load and Preprocess Datasets TensorFlow

Data is the foundation of every machine learning project. Before any model can learn, we must carefully prepare the dataset: loading it efficiently, cleaning it, scaling it, and sometimes augmenting it to improve model generalization. In TensorFlow, managing data pipelines is not just a side task; it directly affects training speed, memory usage, and final … Read more >>

React Component Folder Structure Best Practices

React Component Folder Structure

When I started building React applications, I didn’t think much about folder structure. I just created a components folder and dumped everything inside. As the projects grew, I quickly realized this approach made it hard to maintain, scale, and onboard new developers. Searching for a single component felt like digging through a messy closet. In … Read more >>

Ways to Add a React Code Editor Component

Add a React Code Editor Component

Working as a frontend developer for more than a decade, I’ve often faced situations where I needed to embed a code editor inside a React application. Sometimes it was for building internal tools for my team, and other times it was for client-facing apps where users needed to write and test code directly in the … Read more >>

React Pagination Component Examples

React Pagination Component Examples

Working with large datasets in React can be overwhelming. I’ve often faced situations where I needed to display hundreds of records, customer lists, product catalogs, or transaction logs. Instead of showing everything at once, pagination makes the data manageable. It splits the content into smaller pages and lets users navigate easily. In this tutorial, I’ll … Read more >>

Use componentDidMount in React Functional Components with useEffect

componentDidMount in React Functional Components with useEffect

When I first moved from React class components to functional components, one of the biggest questions I had was: How do I replace componentDidMount? In class components, componentDidMount is easy. It runs once after the component is mounted. But in functional components, we don’t have lifecycle methods in the same way. That’s where the useEffect … Read more >>