Server Side Programming Articles

Page 25 of 2109

Joke App in python using Bottle Framework

Arpana Jain
Arpana Jain
Updated on 27-Mar-2026 223 Views

A joke app is a web application that delivers humor to users through a collection of jokes, puns, and funny stories. The Bottle framework is a lightweight Python web framework perfect for building simple applications like a joke app. In this tutorial, we'll create a joke app using two different approaches with complete executable code. What is the Bottle Framework? Bottle is a lightweight WSGI micro web framework for Python. It provides a simple and efficient way to create web applications with minimal setup. Key features include: Built-in template engine Routing system for URL handling HTTP ...

Read More

Inventory Management with JSON in Python

Arpana Jain
Arpana Jain
Updated on 27-Mar-2026 829 Views

Inventory management is essential for any business that handles products or stock. It involves tracking the flow of goods to ensure adequate supply while avoiding overstocking or stockouts. This tutorial demonstrates how to create an inventory management system using JSON for data storage in Python. What is JSON? JSON (JavaScript Object Notation) is a lightweight data interchange format that's easy for humans to read and write. It uses key-value pairs similar to Python dictionaries and is widely used for data exchange between applications. JSON Syntax { "apple": {"price": 10, "quantity": 50}, ...

Read More

Introduction to Theory of Evolution

Arpana Jain
Arpana Jain
Updated on 27-Mar-2026 380 Views

Evolution theory provides the foundation for genetic algorithms, a powerful computational approach that mimics natural selection to solve complex optimization problems. Python's extensive libraries make implementing these bio-inspired algorithms straightforward and effective. Understanding Evolution Evolution shapes living organisms through natural selection, where individuals with favorable traits survive and reproduce more successfully. This process relies on three key mechanisms: Variation − Differences exist between individuals in a population Selection − Environmental pressures favor certain traits Reproduction − Successful individuals pass traits to offspring Over generations, populations evolve toward better adaptation to their environment. This biological ...

Read More

k-Nearest Neighbor Algorithm in Python

Arpana Jain
Arpana Jain
Updated on 27-Mar-2026 687 Views

The k-Nearest Neighbor (k-NN) algorithm is a powerful and straightforward machine learning technique for classification and regression problems. It makes predictions by finding the most similar samples in the training data. This article explains k-NN implementation in Python using scikit-learn with practical examples. What is k-Nearest Neighbor Algorithm? The k-Nearest Neighbor algorithm is a supervised machine learning technique that works on the principle that similar instances often produce similar results. Given a new input, the algorithm finds the k closest training examples and determines the prediction based on majority voting (classification) or averaging (regression) of those neighbors. ...

Read More

K-Means Clustering on Handwritten Digits Data using Scikit-Learn in Python

Arpana Jain
Arpana Jain
Updated on 27-Mar-2026 624 Views

K-Means clustering is a popular unsupervised machine learning algorithm that groups similar data points into clusters. In this tutorial, we'll explore how to apply K-Means clustering to handwritten digits data using Scikit-Learn in Python. We'll learn to cluster digit images and evaluate the clustering performance. What is K-Means Clustering? K-Means clustering partitions data into K clusters by minimizing the sum of squared distances between data points and their cluster centroids. The algorithm iteratively assigns each data point to the nearest centroid and updates centroids based on the assigned points. Algorithm Steps The K-Means algorithm follows these ...

Read More

keras.fit() and keras.fit_generator()

Arpana Jain
Arpana Jain
Updated on 27-Mar-2026 2K+ Views

Keras provides two powerful methods for training neural networks: fit() and fit_generator(). The fit() method is ideal for smaller datasets that can fit in memory, while fit_generator() handles large datasets by processing data in batches dynamically. Understanding Keras Training Methods Keras is a high-level neural networks API that simplifies deep learning model development. When training models, you need efficient methods to handle different dataset sizes and memory constraints. These two methods provide flexibility for various training scenarios. The fit() Method The fit() method is Keras' standard approach for model training. It loads the entire dataset into ...

Read More

Keeping the eye on Keras models with CodeMonitor

Arpana Jain
Arpana Jain
Updated on 27-Mar-2026 178 Views

CodeMonitor is a code analysis and monitoring tool that helps developers track the performance and behavior of their Keras models in real-time. By integrating CodeMonitor with Keras, you can monitor training metrics, execution time, and model performance to ensure reliability and detect issues early. What is CodeMonitor? CodeMonitor is a comprehensive tool that automatically tracks various metrics during model training and prediction. It provides real-time insights into crucial performance indicators like training duration, validation accuracy, and resource utilization, enabling proactive detection of anomalies and performance issues. Basic Syntax Here's the fundamental syntax for using CodeMonitor with ...

Read More

KBC game using Python

Arpana Jain
Arpana Jain
Updated on 27-Mar-2026 4K+ Views

Kaun Banega Crorepati (KBC) is a popular Indian quiz show based on "Who Wants to Be a Millionaire." In this article, we'll create a simplified version of the KBC game using Python programming concepts like loops, conditionals, and user input. What is KBC? In the KBC game, contestants answer multiple-choice questions to win prize money that increases with each correct answer. The game continues until the player answers incorrectly or completes all questions successfully. Key Components Our KBC game implementation uses these Python concepts: Variables − Store questions, options, correct answers, and prize money ...

Read More

What are auto-associative neural networks?

Bhavani Vangipurapu
Bhavani Vangipurapu
Updated on 27-Mar-2026 2K+ Views

Auto-associative neural networks, also known as autoencoders, are specialized neural networks designed to reconstruct input patterns at the output layer. These networks excel at learning and retrieving patterns, making them valuable for tasks like pattern recognition, data compression, noise reduction, and feature extraction. The fundamental principle is simple: the network learns to map input patterns to themselves, creating an internal representation that captures the essential features of the data. Even when inputs are corrupted or noisy, trained auto-associative networks can recover the original patterns. Architecture of Auto-Associative Neural Networks Auto-associative neural networks typically use a symmetric architecture ...

Read More

Join two text columns into a single column in Pandas

Arpana Jain
Arpana Jain
Updated on 27-Mar-2026 2K+ Views

Combining text columns is a common data manipulation task in Pandas. When working with datasets containing multiple text fields like first name and last name, or address components, you'll often need to merge them into a single column for analysis or presentation. Basic Syntax The simplest way to join two text columns is using the + operator ? # Basic concatenation df['new_column'] = df['column1'] + df['column2'] # With separator df['new_column'] = df['column1'] + ' ' + df['column2'] Method 1: Using the + Operator The + operator provides direct string concatenation. You can ...

Read More
Showing 241–250 of 21,090 articles
« Prev 1 23 24 25 26 27 2109 Next »
Advertisements