Articles on Trending Technologies

Technical articles with clear explanations and examples

Welch’s T-Test in Python

Jaisshree
Jaisshree
Updated on 27-Mar-2026 677 Views

Python is a powerful language for performing various statistical tests. One such statistical test is the Welch's t-test. When there are two datasets with equal variances and you need to compare their means, a two-sample t-test works well. However, if the variances of the two datasets are unequal, then Welch's t-test should be used to compare the means more accurately. Syntax stats.ttest_ind(dataset_one, dataset_two, equal_var=False) Parameters The ttest_ind() function takes three parameters: dataset_one − The first dataset as an array or list dataset_two − The second dataset as an array or list ...

Read More

Singular Value Decomposition

Jaisshree
Jaisshree
Updated on 27-Mar-2026 679 Views

Singular Value Decomposition (SVD) is a powerful mathematical technique used in machine learning to analyze large and complex datasets. It decomposes a matrix into three simpler matrices, making it easier to understand patterns and reduce dimensionality. For any matrix A, SVD factorizes it as A = UΣVT, where: U contains the left singular vectors (eigenvectors of AAT) Σ is a diagonal matrix of singular values (square roots of eigenvalues) VT contains the right singular vectors (eigenvectors of ATA) Mathematical Algorithm The SVD computation follows these steps: Given matrix A, compute ATA (transpose of ...

Read More

Separating Planes In SVM

Jaisshree
Jaisshree
Updated on 27-Mar-2026 280 Views

Support Vector Machine (SVM) is a supervised algorithm used widely in handwriting recognition, sentiment analysis and many more. To separate different classes, SVM calculates the optimal hyperplane that more or less accurately creates a margin between the two classes. Here are a few ways to optimize hyperplanes in SVM ? Data Processing − SVM requires data that is normalised, scaled and centred since they are sensitive to such features. Choose a Kernel − A kernel function is used to transform the input into a higher dimensional space. Some of them include linear, polynomial and radial base functions. ...

Read More

How to Clean String Data in a Given Pandas DataFrame?

Mukul Latiyan
Mukul Latiyan
Updated on 27-Mar-2026 2K+ Views

String data in Pandas DataFrames often requires cleaning before analysis. This includes removing whitespace, handling special characters, standardizing case, and dealing with missing values. Pandas provides powerful string methods through the .str accessor to handle these tasks efficiently. Creating Sample Data Let's start with a DataFrame containing messy string data ? import pandas as pd # Create sample data with common string issues data = { 'Name': [' John Doe ', 'JANE SMITH', ' mary johnson ', ' Bob Wilson '], 'Email': ['john@EXAMPLE.com', 'jane@example.COM', 'mary@Example.com', ...

Read More

Reduce Data Dimensionality using PCA - Python

Jaisshree
Jaisshree
Updated on 27-Mar-2026 372 Views

Any dataset used in Machine Learning algorithms may have numerous dimensions. However, not all of them contribute to efficient output and simply cause the ML Model to perform poorly because of increased size and complexity. Thus, it becomes important to eliminate such features from the dataset using Principal Component Analysis (PCA). PCA helps in removing dimensions from the dataset that do not optimize results, thereby creating a smaller and simpler dataset with most of the original and useful information. PCA is based on feature extraction, which maps data from higher dimensional space to lower dimensional space while maximizing variance. ...

Read More

Recommendation System in Python

Jaisshree
Jaisshree
Updated on 27-Mar-2026 807 Views

Recommendation systems are tools in Python that suggest items or content to users based on their preferences and past behaviors. This technology utilizes algorithms to predict users' future preferences, thereby providing them with the most relevant content. The scope of this system is vast, with widespread use in various industries such as e-commerce, streaming services, and social media. Products, movies, music, books, and more can all be recommended through these systems. The provision of personalized recommendations not only helps foster customer engagement and loyalty but can also boost sales. Types of Recommendation Systems Content-Based Recommendation Systems ...

Read More

Implement Deep Autoencoder in PyTorch for Image Reconstructionp

Jaisshree
Jaisshree
Updated on 27-Mar-2026 824 Views

Deep autoencoders are neural networks that compress input data into a lower-dimensional representation and then reconstruct it back to its original form. In this tutorial, we'll implement a deep autoencoder in PyTorch to reconstruct MNIST handwritten digit images. What is an Autoencoder? An autoencoder consists of two main components: Encoder: Compresses input data into a latent representation Decoder: Reconstructs the original data from the compressed representation The goal is to minimize reconstruction error between input and output, forcing the network to learn meaningful data representations. This makes autoencoders useful for data compression, image denoising, ...

Read More

Explaining the Language in Natural Language

Jaisshree
Jaisshree
Updated on 27-Mar-2026 239 Views

Natural Language Processing (NLP) enables computers to understand and process human language just like chatbots and translation tools do. NLP uses various techniques to analyze text and extract meaningful information from the complex structure of human languages. Natural Language Processing (NLP) uses several key techniques to process natural language effectively ? Lemmatization − Reduces words to their root forms or lemma. For example, "bravery" becomes "brave". Tokenization − Breaks sentences into individual words called tokens for algorithmic processing. Stemming − Removes prefixes and suffixes from words. For example, "playing" becomes "play". NLP applications include text ...

Read More

Classification of Text Documents using the Naive Bayes approach in Python

Jaisshree
Jaisshree
Updated on 27-Mar-2026 361 Views

Naive Bayes algorithm is a powerful tool for classifying text documents into different categories. For example, if a document contains words like 'humid', 'rainy', or 'cloudy', we can use the Bayes algorithm to determine if this document belongs to a 'sunny day' or 'rainy day' category. The algorithm works on the assumption that words in documents are independent of each other. While this assumption is rarely true in natural language, the algorithm still performs well enough in practice − hence the term 'naive' in its name. Algorithm Steps Step 1 − Input the documents, text strings ...

Read More

BLEU Score for Evaluating Neural Machine Translation using Python

Jaisshree
Jaisshree
Updated on 27-Mar-2026 762 Views

Using NMT or Neural Machine Translation in NLP, we can translate a text from a given language to a target language. To evaluate how well the translation is performed, we use the BLEU or Bilingual Evaluation Understudy score in Python. The BLEU Score works by comparing machine translated sentences to human translated sentences, both in n-grams. Also, with the increase in sentence length, the BLEU score decreases. In general, a BLEU score is in the range from 0 to 1 and a higher value indicates a better quality. However, achieving a perfect score is very rare. Note that the ...

Read More
Showing 791–800 of 61,297 articles
« Prev 1 78 79 80 81 82 6130 Next »
Advertisements