Tagged articles
5000 articles
Page 38 of 50
Code DAO
Code DAO
Dec 20, 2021 · Artificial Intelligence

Exploring Latent Space with a Variational Autoencoder in TensorFlow

This article explains the theory behind variational autoencoders, details their KL‑divergence loss, provides a complete TensorFlow implementation, and demonstrates reconstruction, latent‑space visualization, and novel image generation through sampling and interpolation.

KL divergenceLatent SpacePython
0 likes · 13 min read
Exploring Latent Space with a Variational Autoencoder in TensorFlow
Code DAO
Code DAO
Dec 20, 2021 · Artificial Intelligence

Building Efficient Data Pipelines with TensorFlow’s tf.data API

This article explains how to use TensorFlow’s tf.data API to construct high‑performance, flexible data pipelines—from loading images or tensors, applying transformations and data augmentation, to batching, shuffling, caching, prefetching, and feeding the pipeline directly into model.fit for training.

PythonTensorFlowdata loading
0 likes · 9 min read
Building Efficient Data Pipelines with TensorFlow’s tf.data API
Code DAO
Code DAO
Dec 19, 2021 · Artificial Intelligence

Exploring Latent Space with TensorFlow Autoencoders (Part 1)

This tutorial walks through building a TensorFlow 2.0 autoencoder from scratch, preparing the FashionDB dataset, visualizing raw images, projecting them into PCA and t‑SNE spaces, constructing encoder and decoder layers, training the model, and visualizing the resulting latent space to reveal image clusters.

AutoencoderLatent SpacePCA
0 likes · 13 min read
Exploring Latent Space with TensorFlow Autoencoders (Part 1)
Code DAO
Code DAO
Dec 18, 2021 · Artificial Intelligence

Implement Random Forest Regression in Python using Scikit-Learn

This article explains the fundamentals of random forest regression, describes why it outperforms single decision trees for nonlinear or noisy data, defines bootstrapping and bagging, and provides a step‑by‑step Python example using NumPy, Pandas, and Scikit‑Learn’s RandomForestRegressor with data loading, preprocessing, model training, prediction, and evaluation via MSE and R².

BootstrappingPythonRandom Forest
0 likes · 6 min read
Implement Random Forest Regression in Python using Scikit-Learn
FunTester
FunTester
Dec 18, 2021 · Backend Development

Using Postman and a Python Flask Service to Compare Old and New API Responses

The article explains how to keep external API contracts unchanged while replacing a data source by importing all microservice endpoints into Postman, writing pre‑request and test scripts, and optionally using a Python Flask service with deepdiff to automatically compare old and new JSON responses.

API testingDeepDiffFlask
0 likes · 7 min read
Using Postman and a Python Flask Service to Compare Old and New API Responses
Python Programming Learning Circle
Python Programming Learning Circle
Dec 18, 2021 · Fundamentals

Vim Configuration Guide for Python Development

This guide provides a comprehensive Vim setup for Python development, covering .vimrc basics, window splitting, code folding, one‑key execution, plugin management with Vundle, auto‑completion tools, syntax checking, color schemes, file navigation, and useful shortcuts.

Development EnvironmentPythonVim
0 likes · 10 min read
Vim Configuration Guide for Python Development
Python Programming Learning Circle
Python Programming Learning Circle
Dec 16, 2021 · Artificial Intelligence

Part-of-Speech Tagging with Jieba in Python

This article explains how to perform Chinese part-of-speech tagging using the jieba.posseg library in Python, including loading stop words, extracting article content via Newspaper3k, applying precise mode segmentation, filtering, and presenting results in a pandas DataFrame.

NLPPOS taggingPython
0 likes · 3 min read
Part-of-Speech Tagging with Jieba in Python
Code DAO
Code DAO
Dec 15, 2021 · Artificial Intelligence

Should You Monitor Your Machine Learning Models? An Introduction with Evidently AI

The article explains why monitoring production ML models is essential to detect data and target drift, describes the open‑source Evidently AI library and its statistical tests, and demonstrates its use on a weather‑forecast example and a plant‑seedling image classification case, including dashboards, code snippets, and visual analysis of drift impact.

Evidently AIModel MonitoringPython
0 likes · 14 min read
Should You Monitor Your Machine Learning Models? An Introduction with Evidently AI
Python Programming Learning Circle
Python Programming Learning Circle
Dec 15, 2021 · Frontend Development

Using pyecharts to Create Various Map Visualizations in Python

This tutorial introduces the Python pyecharts library for creating various map visualizations with Echarts, explains how the code generates HTML files, and provides complete example functions for basic, label‑less, continuous and piecewise visual maps, world and regional maps, plus guidance for using real data.

Data visualizationPyechartsPython
0 likes · 5 min read
Using pyecharts to Create Various Map Visualizations in Python
Code DAO
Code DAO
Dec 12, 2021 · Artificial Intelligence

How to Boost Text Analysis Accuracy on a 2‑Billion‑Word Corpus

This article explains practical techniques for improving NLP model accuracy on massive corpora, covering challenges of multi‑field text, word‑embedding choices, a fasttext‑based regression demo with book‑review data, feature engineering tricks, and a comparison with tf‑idf + LASSO.

NLPPythonWord2Vec
0 likes · 13 min read
How to Boost Text Analysis Accuracy on a 2‑Billion‑Word Corpus
MaGe Linux Operations
MaGe Linux Operations
Dec 12, 2021 · Backend Development

Which Python Build Tool Fits Your Project? A Hands‑On Comparison

This article reviews the lack of a standard Python project management tool, compares four popular solutions—CookieCutter, PyScaffold, PyBuilder, and Poetry—detailing their installation, generated directory structures, and build commands, while showing how to use Make, tox, and other utilities for testing and packaging.

PoetryPythonbuild tools
0 likes · 12 min read
Which Python Build Tool Fits Your Project? A Hands‑On Comparison
MaGe Linux Operations
MaGe Linux Operations
Dec 11, 2021 · Backend Development

Mastering Python Signals with Blinker and Flask: A Complete Guide

This article introduces the concept of signals, explains the features of the Python Blinker library, demonstrates various usage patterns—including named, anonymous, multicast, and topic‑based signals—as well as how to integrate Blinker with Flask for custom and built‑in Flask signals, highlighting advantages and limitations.

Backend DevelopmentBlinkerFlask
0 likes · 12 min read
Mastering Python Signals with Blinker and Flask: A Complete Guide
Python Programming Learning Circle
Python Programming Learning Circle
Dec 11, 2021 · Fundamentals

Understanding Python Threads, Processes, GIL, and Multiprocessing

This article explains the fundamental differences between threads and processes, the role of Python's Global Interpreter Lock (GIL), and how to use the multiprocessing package—including Process, Pool, Queue, Pipe, and synchronization primitives—as well as an overview of concurrent.futures for high‑level concurrent programming in Python.

ConcurrencyGILPython
0 likes · 38 min read
Understanding Python Threads, Processes, GIL, and Multiprocessing
Python Programming Learning Circle
Python Programming Learning Circle
Dec 10, 2021 · Fundamentals

Python Programming Exercises: Sorting, Math, File Operations, and More

This article presents a comprehensive collection of over thirty Python programming exercises covering basic algorithms such as bubble sort, mathematical computations, string manipulation, file system operations, and utility scripts, each illustrated with code screenshots to help learners practice and master fundamental coding skills.

AlgorithmsCode ExamplesPython
0 likes · 5 min read
Python Programming Exercises: Sorting, Math, File Operations, and More
Baobao Algorithm Notes
Baobao Algorithm Notes
Dec 10, 2021 · Artificial Intelligence

AutoX: One-Click Tabular AutoML from Feature Engineering to Model Fusion

AutoX offers a one‑click solution for tabular AutoML by defining feature operators, constructing a searchable feature space, applying efficient feature selection, tuning hyper‑parameters, and performing model ensembling, enabling users with limited ML expertise to automatically generate high‑performing predictive models, as demonstrated on multiple Kaggle datasets.

AutoMLAutoXMachine Learning Automation
0 likes · 7 min read
AutoX: One-Click Tabular AutoML from Feature Engineering to Model Fusion
Laravel Tech Community
Laravel Tech Community
Dec 9, 2021 · Fundamentals

TIOBE Programming Language Index – December 2021 Rankings and Trends

The December 2021 TIOBE index reveals the top 20 programming languages, highlights notable movements such as Python’s three‑month dominance, Swift’s rise into the top ten, and C# as a strong candidate for the upcoming annual award, while also explaining the index’s methodology and its limitations.

C#PythonTIOBE Index
0 likes · 5 min read
TIOBE Programming Language Index – December 2021 Rankings and Trends
Python Programming Learning Circle
Python Programming Learning Circle
Dec 9, 2021 · Fundamentals

Plotting 500‑hPa Geopotential Height, Wind Speed, and Wind Barbs with Python, xarray, and Cartopy

This tutorial shows how to load a NAM NetCDF file with xarray, smooth 500‑hPa geopotential height and wind components, compute wind speed using MetPy, and create a Lambert Conformal map with Cartopy that displays color‑filled wind speed, height contours, and wind barbs, finally saving the figure as an image.

CartopyMetPyPython
0 likes · 5 min read
Plotting 500‑hPa Geopotential Height, Wind Speed, and Wind Barbs with Python, xarray, and Cartopy
Python Programming Learning Circle
Python Programming Learning Circle
Dec 9, 2021 · Game Development

Modular Alien Invasion Game Tutorial with Python and Pygame

This tutorial walks through building a complete Alien Invasion arcade game in Python using Pygame, explaining the modular design of settings, ship, alien, bullet, button, game statistics, and scoreboard modules, and demonstrates how to implement game loops, event handling, collision detection, and scoring logic.

Alien InvasionGame DevelopmentModular Programming
0 likes · 15 min read
Modular Alien Invasion Game Tutorial with Python and Pygame
Python Programming Learning Circle
Python Programming Learning Circle
Dec 8, 2021 · Backend Development

Using PyInstaller and Nuitka to Package Python Projects into Executables

This article compares PyInstaller and Nuitka for converting Python scripts into standalone Windows executables, discusses their advantages and drawbacks, provides step‑by‑step installation of Nuitka, explains key command‑line options, and demonstrates a practical example that yields a tiny, fast‑building executable versus a large, slow‑building PyInstaller output.

CLIExecutableNuitka
0 likes · 6 min read
Using PyInstaller and Nuitka to Package Python Projects into Executables
Code DAO
Code DAO
Dec 7, 2021 · Artificial Intelligence

How to Cluster Text with TF‑IDF, KMeans and PCA in Python

This article walks through a complete Python workflow that loads the 20 Newsgroups dataset, preprocesses the documents, vectorizes them with TF‑IDF, groups them using KMeans, reduces dimensions with PCA, and visualizes the resulting clusters, illustrating each step with code and plots.

KMeansNLPPCA
0 likes · 13 min read
How to Cluster Text with TF‑IDF, KMeans and PCA in Python
Efficient Ops
Efficient Ops
Dec 5, 2021 · Backend Development

How I Boosted a Python Service to 50k QPS: Real‑World Performance Tuning Steps

This article details a step‑by‑step performance optimization of a Python backend service, covering requirement analysis, architecture redesign with caching and Redis queues, load‑testing results, TCP TIME_WAIT issues, and kernel parameter tweaks that ultimately raised throughput to 50,000 QPS with zero errors.

LinuxPerformance OptimizationPython
0 likes · 9 min read
How I Boosted a Python Service to 50k QPS: Real‑World Performance Tuning Steps
Python Programming Learning Circle
Python Programming Learning Circle
Dec 4, 2021 · Backend Development

Getting Started with gRPC in Python: Concepts, Setup, and Example

This article introduces the high‑performance gRPC framework, explains why it uses HTTP/2 and Protocol Buffers, outlines its core components, and provides a step‑by‑step Python tutorial with environment setup, code generation, server and client implementations, and common application scenarios.

Backend DevelopmentHTTP/2Protocol Buffers
0 likes · 9 min read
Getting Started with gRPC in Python: Concepts, Setup, and Example
Code DAO
Code DAO
Dec 3, 2021 · Artificial Intelligence

Understanding Actor‑Critic and A2C: From Policy Gradients to REINFORCE in RL

This article derives the policy‑gradient objective for discrete actions, implements the Monte‑Carlo REINFORCE algorithm in PyTorch, explains the actor‑critic framework, introduces Advantage Actor‑Critic (A2C) versus A3C, and demonstrates their performance on the OpenAI Gym CartPole‑v0 environment.

A2COpenAI GymPolicy Gradient
0 likes · 13 min read
Understanding Actor‑Critic and A2C: From Policy Gradients to REINFORCE in RL
Python Programming Learning Circle
Python Programming Learning Circle
Dec 2, 2021 · Frontend Development

CuteCharts: A Lightweight Python Visualization Library – Installation and Basic Examples

This article introduces the lightweight Python visualization library cutecharts, explains its installation, and provides step‑by‑step code examples for creating line, bar, pie, radar, scatter charts and combined page charts, demonstrating how to customize options such as labels, legends, colors, and inner radius.

CuteChartsFrontendPython
0 likes · 9 min read
CuteCharts: A Lightweight Python Visualization Library – Installation and Basic Examples
Code DAO
Code DAO
Dec 1, 2021 · Artificial Intelligence

Building a Satellite Image Classifier with PyTorch ResNet34

This article walks through creating a satellite image classification pipeline using PyTorch and a pretrained ResNet34 model, covering dataset preparation, project structure, data loading, model definition, training, validation, loss/accuracy plotting, and inference on new images with detailed code examples and results.

Deep LearningImage ClassificationPyTorch
0 likes · 17 min read
Building a Satellite Image Classifier with PyTorch ResNet34
Python Programming Learning Circle
Python Programming Learning Circle
Dec 1, 2021 · Fundamentals

Introduction to NetworkX: Installation, Basic Usage, and Graph Operations in Python

This article introduces the Python NetworkX library, covering its installation via Anaconda, fundamental graph creation, node and edge manipulation, attribute handling, directed and multigraph features, built‑in generators, analysis functions, and visualization with Matplotlib, all illustrated with concrete code examples.

Data StructuresPythongraph theory
0 likes · 13 min read
Introduction to NetworkX: Installation, Basic Usage, and Graph Operations in Python
Python Programming Learning Circle
Python Programming Learning Circle
Dec 1, 2021 · Fundamentals

The Fastest Way to Loop in Python: Using Built‑in Functions and Formulas Instead of While/For Loops

This article benchmarks Python while and for loops, shows that for loops are faster due to fewer operations, demonstrates how built‑in functions like sum and direct arithmetic formulas can achieve orders‑of‑magnitude speedups, and concludes that the quickest way to "loop" in Python is to avoid loops altogether.

Algorithmic EfficiencyBenchmarkingOptimization
0 likes · 8 min read
The Fastest Way to Loop in Python: Using Built‑in Functions and Formulas Instead of While/For Loops
Code DAO
Code DAO
Nov 30, 2021 · Artificial Intelligence

How to Train a Custom Object Detector with PyTorch Faster R‑CNN

This article provides a step‑by‑step guide to building, training, and evaluating a custom object detection model using PyTorch Faster R‑CNN on a microcontroller dataset, covering data preparation, configuration, model modification, training loops, loss visualization, and inference on new images.

Faster R-CNNPyTorchPython
0 likes · 23 min read
How to Train a Custom Object Detector with PyTorch Faster R‑CNN
Liangxu Linux
Liangxu Linux
Nov 28, 2021 · Information Security

How to Use Shodan’s Python SDK for Device Discovery and Analysis

This guide explains what Shodan is, why internet‑connected devices are vulnerable, and provides step‑by‑step instructions—including environment setup, API key registration, basic Python searches, and advanced facet queries—to safely explore and analyze exposed devices.

APIDevice DiscoveryFacets
0 likes · 6 min read
How to Use Shodan’s Python SDK for Device Discovery and Analysis
MaGe Linux Operations
MaGe Linux Operations
Nov 26, 2021 · Fundamentals

Unlock Python’s 68 Built‑in Functions: A Complete Guide for Beginners

This article presents all 68 built‑in functions available in Python 3.6.2, categorizes them into twelve groups, and provides clear code examples for each function, helping beginners quickly master essential Python utilities for data types, conversions, mathematics, collections, scope, iteration, and more.

Code ExamplesData TypesPython
0 likes · 17 min read
Unlock Python’s 68 Built‑in Functions: A Complete Guide for Beginners
360 Quality & Efficiency
360 Quality & Efficiency
Nov 26, 2021 · Fundamentals

Generating Custom PDF Documents with ReportLab in Python

This article explains how to use Python's ReportLab library to create highly customized PDF documents, covering basic components like canvas, templates, page headers/footers, and demonstrating single‑column and double‑column layouts with text, charts, images, and tables through detailed code examples.

PDFPythonReportLab
0 likes · 9 min read
Generating Custom PDF Documents with ReportLab in Python
Programmer DD
Programmer DD
Nov 26, 2021 · Artificial Intelligence

Leverage DDParser for COVID‑19 Vaccine Data Extraction and Open‑Source Tools

This article introduces several pandemic‑related open‑source resources—including a nationwide COVID‑19 vaccine record lookup, a tracker for ineffective vaccine distribution, and Baidu's DDParser NLP tool—detailing their purpose, usage, and installation to help developers build better vaccine‑related applications.

COVID-19DDParserNLP
0 likes · 5 min read
Leverage DDParser for COVID‑19 Vaccine Data Extraction and Open‑Source Tools
Python Programming Learning Circle
Python Programming Learning Circle
Nov 25, 2021 · Big Data

Analyzing and Visualizing Maoyan Movie Reviews for “Chinese Doctors” Using Python

This tutorial demonstrates how to crawl approximately 40,000 Maoyan movie reviews for the film “Chinese Doctors,” preprocess the data, and create visualizations such as rating pie charts, city distribution maps, top‑viewer bar charts, and a word cloud using Python libraries like requests, pyecharts, and wordcloud.

Data visualizationMovie ReviewsPython
0 likes · 12 min read
Analyzing and Visualizing Maoyan Movie Reviews for “Chinese Doctors” Using Python
Python Programming Learning Circle
Python Programming Learning Circle
Nov 25, 2021 · Backend Development

Understanding Asynchronous Programming, I/O Models, and Event‑Driven Architecture in Python

This article explains the differences between synchronous and asynchronous calls, describes various I/O models—including blocking, non‑blocking, multiplexed, signal‑driven, and asynchronous I/O—and outlines how event‑driven programming works in Python back‑end frameworks such as Tornado, Twisted, Gevent, and asyncio.

Event-drivenI/O ModelsPython
0 likes · 9 min read
Understanding Asynchronous Programming, I/O Models, and Event‑Driven Architecture in Python
Python Programming Learning Circle
Python Programming Learning Circle
Nov 23, 2021 · Game Development

Python Pygame Skiing Game Tutorial with Full Source Code

This tutorial walks through building a simple skiing game in Python using Pygame, explaining the game mechanics, required image assets, and providing the complete source code that handles skier movement, obstacle generation, collision detection, scoring, and rendering in a 640×640 window.

Game DevelopmentPythonSkiing Game
0 likes · 7 min read
Python Pygame Skiing Game Tutorial with Full Source Code
MaGe Linux Operations
MaGe Linux Operations
Nov 21, 2021 · Backend Development

How to Reverse Engineer Laifeng Live Chat API and Send Automated Messages with Python

This guide walks through extracting and reproducing the encrypted parameters required to post chat messages on Laifeng live streams, covering site navigation, packet capture, timestamp generation, signature calculation via JavaScript decryption, and a complete Python script that logs in, builds the request, and sends the comment.

API reverse engineeringJavaScriptPython
0 likes · 17 min read
How to Reverse Engineer Laifeng Live Chat API and Send Automated Messages with Python
DataFunTalk
DataFunTalk
Nov 21, 2021 · Artificial Intelligence

Design Considerations for Next‑Generation AI Platforms: Programming Languages, Runtime Environment, Scheduler, and Model Deployment

The article examines three key design dimensions of modern AI platforms—programming language choice, runtime environment isolation, and scheduling/resource management—while also discussing challenges in model deployment such as algorithm diversity, resource usage patterns, and architectural generality, proposing Kubernetes‑based solutions and Arrow‑based data sharing to achieve efficient, scalable AI services.

Model DeploymentPythonkubernetes
0 likes · 14 min read
Design Considerations for Next‑Generation AI Platforms: Programming Languages, Runtime Environment, Scheduler, and Model Deployment
21CTO
21CTO
Nov 19, 2021 · Artificial Intelligence

Top Programming Languages Powering Modern AI: Benefits & Use Cases

This article reviews the most suitable programming languages for artificial intelligence, explaining why Python, R, Java, LISP, Prolog, C++, Haskell, JavaScript, and Julia excel in AI development and outlining their key advantages and typical applications.

AIC++Java
0 likes · 16 min read
Top Programming Languages Powering Modern AI: Benefits & Use Cases
Python Programming Learning Circle
Python Programming Learning Circle
Nov 17, 2021 · Backend Development

Using Blinker for Signal Handling in Python and Flask

This article introduces the concept of signals, explains how the Python Blinker library implements them with named, anonymous, and multicast signals, demonstrates various usage patterns including decorators and receiver checks, and shows how to integrate Blinker with Flask for request‑level event handling.

BackendBlinkerFlask
0 likes · 10 min read
Using Blinker for Signal Handling in Python and Flask
Python Programming Learning Circle
Python Programming Learning Circle
Nov 13, 2021 · Game Development

Python Game Development Tutorials: 2048, Snake, Tetris, and LianLianKan with Pygame and Tkinter

This article provides step‑by‑step Python tutorials for creating classic games—including 2048, Snake, Tetris, and LianLianKan—detailing design principles, core logic, and complete source code using Pygame and Tkinter for learners with basic Python and game‑programming knowledge.

2048Game DevelopmentLianLianKan
0 likes · 39 min read
Python Game Development Tutorials: 2048, Snake, Tetris, and LianLianKan with Pygame and Tkinter
Python Programming Learning Circle
Python Programming Learning Circle
Nov 10, 2021 · Big Data

Data Analysis and Visualization of Bilibili Documentary Metadata

This article demonstrates how to collect, process, and visualize Bilibili documentary metadata using Python APIs, pandas, and various plotting libraries, revealing insights into regional distribution, genre trends, episode lengths, popularity metrics, and comment dynamics across Chinese, British, and American documentary collections.

BilibiliMatplotlibPython
0 likes · 19 min read
Data Analysis and Visualization of Bilibili Documentary Metadata
Laravel Tech Community
Laravel Tech Community
Nov 9, 2021 · Fundamentals

TIOBE November 2021 Programming Language Rankings and Trends

The TIOBE Index for November 2021 shows Python retaining the top spot while PHP slips to the lower end of the top ten, highlights notable movements for languages such as Lua, Dart, Kotlin, and provides detailed rankings for the top 100 programming languages along with historical trend charts.

Language TrendsPHPPython
0 likes · 6 min read
TIOBE November 2021 Programming Language Rankings and Trends
MaGe Linux Operations
MaGe Linux Operations
Nov 7, 2021 · Fundamentals

Explore Python 3.10 Official Docs: Installation, API, FAQs & More

The Python 3.10.0 reference documentation provides a comprehensive guide covering installation, API reference, common questions, standard library details, language reference, and beginner tutorials, offering essential resources for newcomers and experienced developers alike, with downloadable PDFs and QR codes for easy access.

APIDocumentationPython
0 likes · 3 min read
Explore Python 3.10 Official Docs: Installation, API, FAQs & More
Test Development Learning Exchange
Test Development Learning Exchange
Nov 7, 2021 · Backend Development

Custom Python Logging Wrapper Using colorlog

This article introduces a custom Python logging wrapper built on the standard logging module and colorlog, explaining its design, configuration of console and file handlers, level settings, formatter setup, and usage examples to enhance debugging and monitoring across development, testing, and production phases.

ColorLogDebuggingPython
0 likes · 4 min read
Custom Python Logging Wrapper Using colorlog
Java Backend Technology
Java Backend Technology
Nov 7, 2021 · Artificial Intelligence

6 Must‑Try Open‑Source Projects to Boost Your Development Skills

This article introduces six intriguing open‑source projects—including an audio‑based keylogger, a high‑accuracy face‑recognition library, a TensorFlow.js video‑person removal tool, a Chinese kinship calculator, a Java Word template engine, and a sleek macOS Markdown editor—each with brief descriptions, screenshots, and usage examples.

AIJavaJavaScript
0 likes · 5 min read
6 Must‑Try Open‑Source Projects to Boost Your Development Skills