Visualizing High-Dimensional Embeddings with PCA and t-SNE
When working with high-dimensional embeddings—such as 256-dimensional vectors that lie on a hypersphere after training—it's often useful to project them into 2D or 3D space to inspect cluster structure or class separation.
Two widely used techniques for this purpose are Principal Component Analysis (PCA) and t-Distributed Stochastic Neighbor Em ...
Posted on Sat, 20 Jun 2026 17:32:46 +0000 by kusal
Machine Learning Fundamentals — Cluster Visualization
In the previous section, we covered the fundamentals of clustering theory to establish a solid theoretical foundation. Today’s focus is on exploring visualization techniques for data analysis. We've previously encountered visualization methods in regression analysis, and now we'll shift our attention to cluster analysis visualization. We’ll exp ...
Posted on Sat, 20 Jun 2026 17:08:24 +0000 by SheetWise
Building an Open Source MongoDB Log Analyzer with Node.js
Development Process
Implementing an analyzer for MongoDB log files involves several distinct stages.
Stage
Objective
1
Project Setup
2
Log File Ingestion
3
Log Entry Parsing
4
Metrics Calculation
5
Results Presentation
Stage 1: Project Setup
Initialize a Node.js project and install necessary dependenices.
npm init -y
npm insta ...
Posted on Sat, 20 Jun 2026 16:08:33 +0000 by Adika
Matplotlib Line Plot Customization Techniques
Introduction to Matplotlib Visualization
Matplotlib serves as Python's primary library for creating 2D visualizations, offering:
Simple implementation syntax
Progressive and interactive visualization capabilities
Granular control over graphical elements
Multiple export formats including PNG and PDF
Install via pip:
pip install matplotlib
Bas ...
Posted on Sat, 13 Jun 2026 17:38:44 +0000 by BVis
Mastering Matplotlib: A Practical Guide to Data Visualization in Python
Matplotlib Essentials
Core Concepts
import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(-3, 3, 50)
y1 = 2 * x + 1
y2 = x ** 2
plt.figure(num=3, figsize=(8, 5))
plt.plot(x, y2)
plt.plot(x, y1, color='red', linewidth=1.0, linestyle='--')
plt.show()
Axis Ranges and Labels
plt.xlim((-1, 2))
plt.ylim((-2, 3))
plt.xlabel('I am x')
pl ...
Posted on Thu, 11 Jun 2026 17:27:12 +0000 by hideous
Mastering Principal Component Analysis for Data Reduction in R
Introduction to Dimensionality Reduction
In data science projects, we often encounter datasets with numerous features. While having many variables can be beneficial, it frequently leads to redundancy where features exhibit high correlation or multicollinearity. This presents significant challenges for analysis. Excessive features contribute to ...
Posted on Wed, 10 Jun 2026 18:31:51 +0000 by StripedTiger
Building an Epidemic Data Visualization System with ECharts and JSP
This article describes how to create a web-based epidemic data visualization system that retrieves information from a database and displays it in both tabular and graphical formats. The implementation leverages ECharts for dynamic chart rendering and JSP for the web interface.
Key Implementation Challenges
1. Data Integration with ECharts Datas ...
Posted on Mon, 08 Jun 2026 18:20:26 +0000 by khjart
Music Comment Analysis and Visualization with Django
Data Collection Process
Music streaming platforms contain valuable user feedback. We colleect this data using Python web scraping techniques. The following example demonstrtaes fetching comments from a music platform:
import requests
from bs4 import BeautifulSoup
def get_song_comments(track_id):
api_endpoint = f"https://api.music-serv ...
Posted on Sun, 07 Jun 2026 16:55:13 +0000 by Restless
Creating Custom Bar Chart Views in Android
When implementing charts in Android applications, developers often rely on third-party libraries. However, for simple charting requirements, using a full-featured library might be overkill. This guide demonstrates how to create a custom bar chart view from scratch.For complex charting needs, consider established libraries like:MPAndroidCharthel ...
Posted on Tue, 26 May 2026 19:27:33 +0000 by shadypalm88
Creating Tables in Python with Pandas, Plottable, and Matplotlib
Introduction to Tables
Tables organize data in to rows and columns, facilitating sorting, filtering, and analysis. They provide a clear and structured way to present information, enabling quick comparisons and insights.
Generating Tables with Pandas
import pandas as pd
import numpy as np
# Generate sample data
num_samples = 6
city_a = np.rand ...
Posted on Tue, 26 May 2026 01:01:00 +0000 by alexville