Tagged articles
5000 articles
Page 31 of 50
MaGe Linux Operations
MaGe Linux Operations
Nov 25, 2022 · Fundamentals

5 Little‑Known Python Standard Library Modules You Should Use

Discover five obscure yet powerful Python standard‑library modules—difflib, sched, binaascii, tty, and weakref—along with their key functions, usage examples, and practical tips, enabling developers of any skill level to expand their toolkit and streamline tasks such as string comparison, scheduling, encoding, terminal handling, and memory management.

PythonStandard LibraryTTY
0 likes · 10 min read
5 Little‑Known Python Standard Library Modules You Should Use
MaGe Linux Operations
MaGe Linux Operations
Nov 24, 2022 · Fundamentals

Create Stunning Interactive Charts with Plotly in One Line of Python

This article introduces the powerful open‑source Python visualization library Plotly, showing how a single line of code can generate interactive, publication‑ready charts—from basic bar and box plots to advanced 3‑D and heatmap visualizations—while integrating seamlessly with pandas and Jupyter notebooks.

CufflinksInteractive ChartsPython
0 likes · 8 min read
Create Stunning Interactive Charts with Plotly in One Line of Python
Model Perspective
Model Perspective
Nov 22, 2022 · Fundamentals

How to Solve the Traveling Salesman Problem Using Python & NetworkX

This article introduces the classic Traveling Salesman Problem, explains its mathematical formulation, discusses its NP‑hard nature, and demonstrates a practical solution in Python by generating random city coordinates, building a distance graph with NetworkX, applying an approximation algorithm, and visualizing the resulting tour.

NP-hardPythongraph theory
0 likes · 6 min read
How to Solve the Traveling Salesman Problem Using Python & NetworkX
Python Programming Learning Circle
Python Programming Learning Circle
Nov 22, 2022 · Artificial Intelligence

Using tsfresh for Automated Time Series Feature Extraction in Python

This article introduces the tsfresh Python package, explains why traditional machine‑learning models struggle with time‑series data, and demonstrates how tsfresh can automatically generate and select hundreds of useful features—including statistical, nonlinear, and signal‑processing metrics—while supporting big‑data frameworks such as Dask and Spark.

PythonTime Seriesfeature engineering
0 likes · 5 min read
Using tsfresh for Automated Time Series Feature Extraction in Python
Python Programming Learning Circle
Python Programming Learning Circle
Nov 19, 2022 · Fundamentals

20 Useful Python One‑Liner Code Snippets

This article presents 20 practical Python one‑liner code snippets, covering loops, conditionals, data structures, functions, recursion, file handling, classes, and more, each with concise explanations and ready‑to‑run examples to help developers write cleaner, more efficient code.

One-linerPythonprogramming
0 likes · 13 min read
20 Useful Python One‑Liner Code Snippets
Python Programming Learning Circle
Python Programming Learning Circle
Nov 18, 2022 · Big Data

Multidimensional Data Visualization Strategies Using Python and the Wine Quality Dataset

This article explores effective strategies for visualizing one‑ to six‑dimensional data using Python libraries such as pandas, matplotlib, and seaborn, demonstrating each technique with the UCI Wine Quality dataset and providing code snippets for histograms, heatmaps, pair plots, 3‑D scatter plots, bubble charts, and more.

PythonSeabornwine dataset
0 likes · 32 min read
Multidimensional Data Visualization Strategies Using Python and the Wine Quality Dataset
21CTO
21CTO
Nov 14, 2022 · Fundamentals

Top 7 Python IDEs for 2024: Choose the Best Environment for Your Code

This guide reviews seven popular Python IDEs—Eric, Geany, PyCharm, Spyder, Thonny, Visual Studio Code, and Bluefish—highlighting their key features, platform support, and suitability for beginners, scientific work, or professional development, helping readers pick the right tool for their projects.

DevelopmentIDEPython
0 likes · 6 min read
Top 7 Python IDEs for 2024: Choose the Best Environment for Your Code
21CTO
21CTO
Nov 14, 2022 · Fundamentals

How Microsoft’s Faster CPython Team Is Boosting Python Performance by Up to 60%

Microsoft assembled a six‑engineer team, including Guido van Rossum, to accelerate CPython according to a multi‑phase plan, resulting in Python 3.11 delivering 10‑60% speed improvements and showcasing how coordinated open‑source effort can overcome Python’s historic performance limitations.

CPythonLanguage DevelopmentMicrosoft
0 likes · 6 min read
How Microsoft’s Faster CPython Team Is Boosting Python Performance by Up to 60%
Model Perspective
Model Perspective
Nov 13, 2022 · Fundamentals

Why Python Is Key for Modeling and How to Install Anaconda Quickly

This guide explains why Python is vital for mathematical modeling, outlines its key features, and provides a step‑by‑step tutorial for installing Anaconda and launching Jupyter Notebook, enabling beginners to write and run their first Python code quickly.

AnacondaPythoninstallation guide
0 likes · 4 min read
Why Python Is Key for Modeling and How to Install Anaconda Quickly
Model Perspective
Model Perspective
Nov 13, 2022 · Fundamentals

9 Compelling Reasons to Choose Python Over Matlab for Modeling

Python outshines Matlab in cost, openness, community support, cross‑platform flexibility, extensive libraries, especially for machine learning, and offers a richer ecosystem of IDEs and flexible coding styles, making it a superior, free alternative for modern scientific and engineering modeling tasks.

MATLABOpen-sourcePython
0 likes · 4 min read
9 Compelling Reasons to Choose Python Over Matlab for Modeling
Model Perspective
Model Perspective
Nov 12, 2022 · Fundamentals

How to Perform One-Way ANOVA in Python: Theory, Example, and Code

This article explains the concept of one‑factor (one‑way) ANOVA, walks through a lamp‑life example with four manufacturing processes, derives the within‑ and between‑group sum‑of‑squares formulas, and shows how to execute the test in Python using statsmodels.

ANOVAPythonhypothesis testing
0 likes · 6 min read
How to Perform One-Way ANOVA in Python: Theory, Example, and Code
Python Programming Learning Circle
Python Programming Learning Circle
Nov 11, 2022 · Backend Development

How to Use auto-py-to-exe to Package Python Programs into Executables

auto-py-to-exe is a GUI front‑end for PyInstaller that simplifies packaging Python scripts into standalone executables; this guide explains installation, key configuration options such as script location, one‑file mode, console window, icon, additional files, and demonstrates a complete example by packaging a simple calculator program.

ExecutableGUIPython
0 likes · 7 min read
How to Use auto-py-to-exe to Package Python Programs into Executables
Liangxu Linux
Liangxu Linux
Nov 10, 2022 · Fundamentals

How to Open a Web Page with Python: os.system, Selenium, and webbrowser

The article examines how viral “hacker” videos misuse simple batch commands, then explains three practical Python methods—using os.system, Selenium WebDriver, and the built‑in webbrowser module—to reliably open a URL, comparing their capabilities and providing sample code.

PythonSeleniumTutorial
0 likes · 5 min read
How to Open a Web Page with Python: os.system, Selenium, and webbrowser
21CTO
21CTO
Nov 9, 2022 · Fundamentals

Exploring Python’s Major Interpreters: CPython, Jython, IronPython, PyPy, and Cython

An overview of Python’s primary interpreter implementations—including CPython, Jython, IronPython, PyPy, and Cython—highlights their origins, execution models, compatibility, performance characteristics, and unique advantages, helping developers choose the right runtime for their specific needs.

CPythonCythonInterpreters
0 likes · 4 min read
Exploring Python’s Major Interpreters: CPython, Jython, IronPython, PyPy, and Cython
Python Programming Learning Circle
Python Programming Learning Circle
Nov 9, 2022 · Fundamentals

10 Practical pip Tips for Efficient Python Package Management

This article introduces ten useful pip techniques—including installation, upgrading, version-specific installs, uninstalling, inspecting package details, checking for conflicts, using domestic mirrors, downloading without installing, and batch installing from requirements files—to help Python developers manage packages more effectively.

InstallationPythoncommand-line
0 likes · 7 min read
10 Practical pip Tips for Efficient Python Package Management
Model Perspective
Model Perspective
Nov 7, 2022 · Operations

Essential Guide to Evaluation and Optimization Models: Resources & Algorithms

This curated list compiles recent articles on evaluation and optimization models, covering Data Envelopment Analysis, ANP, VIKOR, various grey analysis methods, competition ranking techniques, case studies, linear and integer programming, and a range of optimization algorithms with Python examples.

DEAModel EvaluationOperations Research
0 likes · 4 min read
Essential Guide to Evaluation and Optimization Models: Resources & Algorithms
Python Programming Learning Circle
Python Programming Learning Circle
Nov 4, 2022 · Fundamentals

Common Python Functions and Practical Code Examples

This article presents a curated collection of over 100 frequently used Python functions across twelve categories, providing concise explanations and ready-to-run code snippets to help beginners quickly memorize and apply essential built‑in operations, from basic I/O to decorators and regular expressions.

Pythonfunctionsprogramming fundamentals
0 likes · 11 min read
Common Python Functions and Practical Code Examples
Sohu Tech Products
Sohu Tech Products
Nov 2, 2022 · Fundamentals

Understanding ULID: Features, Specification, and Python Usage

This article explains ULID (Universally Unique Lexicographically Sortable Identifier), compares it with UUID, outlines its technical specifications, lists its advantages and typical application scenarios, and provides detailed Python examples for generating and manipulating ULIDs.

Distributed SystemsPythonULID
0 likes · 6 min read
Understanding ULID: Features, Specification, and Python Usage
Python Programming Learning Circle
Python Programming Learning Circle
Nov 1, 2022 · Fundamentals

Python Student Information Management System Tutorial with Complete Source Code

This article presents a step‑by‑step tutorial for building a console‑based student information management system in Python, covering system design, functional requirements, detailed function implementations for adding, deleting, modifying, searching, and displaying records, and provides the full source code with execution screenshots.

CLIData StructuresPython
0 likes · 10 min read
Python Student Information Management System Tutorial with Complete Source Code
Programmer DD
Programmer DD
Nov 1, 2022 · Fundamentals

How Microsoft’s Faster CPython Team Is Boosting Python Performance

Microsoft’s Faster CPython team, formed with Guido van Rossum and six engineers, aims to accelerate CPython by up to five‑fold through staged improvements, already delivering 10‑60% speed gains in Python 3.11 while emphasizing collaborative development and community value.

CPythonMicrosoftPerformance
0 likes · 6 min read
How Microsoft’s Faster CPython Team Is Boosting Python Performance
Model Perspective
Model Perspective
Oct 31, 2022 · Fundamentals

Mastering the Method of Moments: Theory and Python Example

This article explains the method of moments for estimating population parameters, outlines its step‑by‑step derivation, and demonstrates a Python implementation that estimates a basketball player's shooting odds from binary outcome data using.

Pythondata analysismethod of moments
0 likes · 4 min read
Mastering the Method of Moments: Theory and Python Example
phodal
phodal
Oct 31, 2022 · Frontend Development

How Perspective Delivers Real‑Time Financial Visualizations with WASM and Apache Arrow

The article examines the open‑source Perspective library—originating from J.P. Morgan’s FinOS—and its multi‑language architecture that combines C++/WASM, Rust, JavaScript, and Python to deliver high‑performance, framework‑free data visualizations for real‑time financial analytics, highlighting its use of Apache Arrow, Web Components, and Jupyter integration.

Apache ArrowData visualizationFrontend
0 likes · 8 min read
How Perspective Delivers Real‑Time Financial Visualizations with WASM and Apache Arrow
Python Programming Learning Circle
Python Programming Learning Circle
Oct 27, 2022 · Fundamentals

Common Python Mistakes in Data Science Projects and How to Avoid Them

This article outlines frequent Python pitfalls in data‑science workflows—such as neglecting virtual environments, overusing notebooks, hard‑coding absolute paths, ignoring warnings, avoiding list comprehensions, skipping type hints, writing unreadable pandas chains, not following PEP guidelines, and not using coding assistance tools—and provides practical solutions to improve code quality and productivity.

Pythonbest practicescoding standards
0 likes · 8 min read
Common Python Mistakes in Data Science Projects and How to Avoid Them
Model Perspective
Model Perspective
Oct 26, 2022 · Artificial Intelligence

Master Machine Learning Algorithms: Types, Python Code & Real-World Examples

This article categorizes machine learning algorithms into supervised, unsupervised, and reinforcement learning, then details ten common algorithms—including linear regression, logistic regression, decision trees, SVM, Naive Bayes, K‑NN, K‑means, random forest, and dimensionality reduction—accompanied by clear Python code examples and illustrative diagrams.

AlgorithmsPythonUnsupervised Learning
0 likes · 14 min read
Master Machine Learning Algorithms: Types, Python Code & Real-World Examples
Alimama Tech
Alimama Tech
Oct 26, 2022 · Artificial Intelligence

GPU Utilization Analysis and Optimization for Alibaba's Intelligent Creative Video Service

The paper analyzes why Alibaba Mama’s intelligent creative video service suffers low GPU utilization—due to Python GIL blocking, lack of kernel fusion, and serialized CUDA streams—and details service‑level changes (separate CPU/GPU processes, shared‑memory queues, priority scheduling) and operator‑level kernel‑fusion techniques (channels‑last layouts, custom pooling, TensorRT conversion) that raise utilization from ~30 % to near 100 % and boost throughput by 75 %.

Deep LearningGPU OptimizationPython
0 likes · 20 min read
GPU Utilization Analysis and Optimization for Alibaba's Intelligent Creative Video Service
Laravel Tech Community
Laravel Tech Community
Oct 25, 2022 · Fundamentals

Python 3.11 Stable Release: Major New Features and Changes

Python 3.11 has been officially released, introducing a range of new language features such as fine‑grained error locations, exception groups, built‑in TOML parsing, asyncio task groups, enhanced regular expressions, significant performance gains, and numerous typing improvements like Self types and variadic generics.

Pythonlanguage featuresprogramming
0 likes · 2 min read
Python 3.11 Stable Release: Major New Features and Changes
Python Programming Learning Circle
Python Programming Learning Circle
Oct 25, 2022 · Artificial Intelligence

Genetic Algorithms: Theory, Steps, and Practical Implementation with TPOT for Data Science

This article introduces genetic algorithms, explains their biological inspiration, details each step of the algorithm, demonstrates solving the knapsack problem, and provides a complete Python implementation using the TPOT library for feature selection and regression on the Big Mart Sales dataset.

PythonTPOTfeature selection
0 likes · 19 min read
Genetic Algorithms: Theory, Steps, and Practical Implementation with TPOT for Data Science
Model Perspective
Model Perspective
Oct 23, 2022 · Artificial Intelligence

Understanding the Butterfly Optimization Algorithm: Theory and Python Code

This article explains the Butterfly Optimization Algorithm (BOA), covering its biological inspiration, core concepts such as scent-based global and local search, key parameters, iteration process, and provides a complete Python implementation with example usage and visualisation of convergence.

Artificial IntelligenceButterfly Optimization AlgorithmPython
0 likes · 15 min read
Understanding the Butterfly Optimization Algorithm: Theory and Python Code
DevOps Cloud Academy
DevOps Cloud Academy
Oct 22, 2022 · Fundamentals

How to Write Your First Apache Airflow DAG (Hello World)

This tutorial walks through creating a simple “Hello World” Apache Airflow DAG by setting up the Python file, importing modules, defining the DAG object, adding a PythonOperator task, writing the callable function, and running the DAG with Airflow’s webserver and scheduler.

Apache AirflowDAGPython
0 likes · 9 min read
How to Write Your First Apache Airflow DAG (Hello World)
MaGe Linux Operations
MaGe Linux Operations
Oct 21, 2022 · Cloud Native

Which Docker Base Image Is Best for Your Python App? A Practical Comparison

This article evaluates popular Docker base images for Python applications—Ubuntu, CentOS, Debian, Amazon Linux 2, official Python images, and Alpine—by outlining stability, security updates, dependency freshness, library availability, Python version, image size, and build time, ultimately recommending Amazon Linux 2 and Debian/Ubuntu over Alpine.

AlpineBase ImageContainerization
0 likes · 17 min read
Which Docker Base Image Is Best for Your Python App? A Practical Comparison
Model Perspective
Model Perspective
Oct 20, 2022 · Fundamentals

How to Display Chinese Characters in Matplotlib Plots (Step‑by‑Step)

Matplotlib does not render Chinese text by default, showing squares instead, but you can fix this by setting a Chinese font directly in code, adjusting rcParams, or editing the config file; the example demonstrates loading a local font file and applying it to axis labels and titles.

Chinese charactersData visualizationFont settings
0 likes · 2 min read
How to Display Chinese Characters in Matplotlib Plots (Step‑by‑Step)
Python Programming Learning Circle
Python Programming Learning Circle
Oct 20, 2022 · Artificial Intelligence

Overview of Common Python AI Libraries with Code Examples

This article provides a concise introduction to a wide range of popular Python libraries for artificial intelligence and data science, such as NumPy, OpenCV, scikit-image, Pillow, Scikit-learn, TensorFlow, PyTorch, and many others, accompanied by practical code snippets and performance comparisons.

Artificial IntelligenceNumPyOpenCV
0 likes · 33 min read
Overview of Common Python AI Libraries with Code Examples
Architect's Tech Stack
Architect's Tech Stack
Oct 20, 2022 · Fundamentals

Understanding ULID: A Better Alternative to UUID

ULID (Universally Unique Lexicographically Sortable Identifier) combines a millisecond-precision timestamp with high-entropy randomness to produce 128‑bit, URL‑safe, lexicographically sortable IDs that avoid UUID’s collision risks, offering advantages such as monotonic ordering, compact Base32 encoding, and suitability for distributed database primary keys.

Distributed SystemsPythonULID
0 likes · 8 min read
Understanding ULID: A Better Alternative to UUID
Open Source Linux
Open Source Linux
Oct 19, 2022 · Information Security

How to Crack Wi‑Fi Passwords with Python: A Step‑by‑Step Guide

This tutorial walks through building a Python script that scans nearby Wi‑Fi networks and performs brute‑force password cracking, first using a command‑line approach and then enhancing it with a Tkinter graphical interface, while also discussing limitations and possible multithreading improvements.

Information SecurityPythonTkinter
0 likes · 14 min read
How to Crack Wi‑Fi Passwords with Python: A Step‑by‑Step Guide
Model Perspective
Model Perspective
Oct 19, 2022 · Artificial Intelligence

How the Artificial Bee Colony Algorithm Optimizes Complex Problems

The article explains the Artificial Bee Colony (ABC) algorithm, its biological inspiration, core components, and detailed steps—including employed, onlooker, and scout bee phases—followed by a complete Python implementation applied to a pressure‑vessel design optimization problem.

Artificial Bee ColonyPythonswarm intelligence
0 likes · 16 min read
How the Artificial Bee Colony Algorithm Optimizes Complex Problems
Open Source Linux
Open Source Linux
Oct 18, 2022 · Backend Development

Master gRPC: Build High‑Performance RPC Services with Python

gRPC is a high‑performance, open‑source RPC framework built on HTTP/2 and Protocol Buffers, and this guide explains its core concepts, communication patterns, protobuf usage, and provides step‑by‑step Python examples for creating, compiling, and running client‑server services, plus deployment tips.

HTTP/2Protocol BuffersPython
0 likes · 10 min read
Master gRPC: Build High‑Performance RPC Services with Python
Open Source Linux
Open Source Linux
Oct 17, 2022 · Operations

10 Powerful Python Automation Scripts to Eliminate Repetitive Tasks

Discover ten practical Python automation scripts—from HTML parsing and QR code scanning to screenshot capture, PDF manipulation, StackOverflow querying, mobile device control, hardware monitoring, Instagram uploading, and video watermarking—that streamline repetitive tasks and boost productivity across diverse workflows.

ProductivityPythonScripting
0 likes · 14 min read
10 Powerful Python Automation Scripts to Eliminate Repetitive Tasks
Top Architect
Top Architect
Oct 17, 2022 · Fundamentals

Understanding ULID: Features, Specification, and Python Usage

This article explains ULID (Universally Unique Lexicographically Sortable Identifier) as a time‑based, collision‑resistant alternative to UUID, outlines its specifications, highlights its advantages, and provides practical Python examples for generating and manipulating ULIDs.

PythonULIDUUID alternative
0 likes · 7 min read
Understanding ULID: Features, Specification, and Python Usage
Model Perspective
Model Perspective
Oct 16, 2022 · Artificial Intelligence

Unlocking the Seagull Optimization Algorithm: Principles, Migration & Attack Mechanics

This article introduces the Seagull Optimization Algorithm (SOA), explains how it mimics seagull migration and attack behaviors to solve optimization problems, details its migration and prey‑attack phases, outlines the step‑by‑step workflow, and provides a full Python implementation with code examples.

PythonSeagull Optimization Algorithmmetaheuristic
0 likes · 10 min read
Unlocking the Seagull Optimization Algorithm: Principles, Migration & Attack Mechanics
Sohu Tech Products
Sohu Tech Products
Oct 12, 2022 · Big Data

Using GoPUP: A Python Library for Easy Access to Public Data APIs

This article introduces the GoPUP Python library, explains how to install it, demonstrates retrieving Weibo index data with code examples, shows how to visualize the results using Pandas, Jupyter and Matplotlib, and lists the wide range of public data APIs the library supports.

JupyterPythondata API
0 likes · 7 min read
Using GoPUP: A Python Library for Easy Access to Public Data APIs
DevOps Cloud Academy
DevOps Cloud Academy
Oct 11, 2022 · Operations

Managing Jenkins Jobs with the python‑jenkins API

This guide demonstrates how to use the python‑jenkins library to interact with Jenkins via its API, covering installation, configuration, job creation, copying, deletion, node management, plugin handling, and scripting examples for automating CI/CD pipelines.

APICI/CDDevOps
0 likes · 9 min read
Managing Jenkins Jobs with the python‑jenkins API
Python Programming Learning Circle
Python Programming Learning Circle
Oct 11, 2022 · Fundamentals

Plotly Overview: Interactive Python Visualizations Made Easy

This article introduces the powerful open‑source Plotly library for Python, showing how a single line of code can create interactive charts such as bar, box, scatter, time‑series, and advanced visualizations, while also covering installation, theme customization, and integration with Jupyter Notebook and Plotly Chart Studio.

CufflinksData visualizationInteractive Charts
0 likes · 8 min read
Plotly Overview: Interactive Python Visualizations Made Easy
Efficient Ops
Efficient Ops
Oct 10, 2022 · Backend Development

Master gRPC: From Basics to Building a Python Microservice

This article introduces gRPC, explains its HTTP/2 and Protocol Buffers foundations, walks through writing and compiling .proto files, provides complete Python server and client examples, and shows how to quickly set up the environment and integrate gRPC into microservice and Kubernetes deployments.

HTTP/2Protocol BuffersPython
0 likes · 9 min read
Master gRPC: From Basics to Building a Python Microservice
21CTO
21CTO
Oct 10, 2022 · Information Security

Top 10 Programming Languages Every Cybersecurity Professional Should Master

This article introduces the ten most important programming languages for cybersecurity, explains why each language matters, and shows how mastering them can boost your ability to protect systems, detect threats, and build secure applications in an increasingly digital world.

C++JavaScriptPython
0 likes · 10 min read
Top 10 Programming Languages Every Cybersecurity Professional Should Master
Alibaba Cloud Native
Alibaba Cloud Native
Oct 10, 2022 · Cloud Native

Build a Serverless Python Email Scheduler on Alibaba Cloud Function Compute

This tutorial explains the fundamentals of Serverless architecture, outlines its BaaS and FaaS components, presents three typical use cases, and provides a step‑by‑step guide—including Python code and deployment instructions—to create an automated daily email service on Alibaba Cloud Serverless.

Alibaba CloudCloud NativeFunction Compute
0 likes · 7 min read
Build a Serverless Python Email Scheduler on Alibaba Cloud Function Compute
FunTester
FunTester
Oct 9, 2022 · Backend Development

From Functional Testing to Automation: My Learning Journey, Roadmap, and Resources

This article shares the author’s personal transition from manual functional testing to automation testing, outlines a detailed learning roadmap covering Python, Selenium, Robot Framework, API testing, CI/CD, and provides curated resources and QR‑code links for aspiring automation engineers.

API testingAutomation testingCI/CD
0 likes · 7 min read
From Functional Testing to Automation: My Learning Journey, Roadmap, and Resources
Python Programming Learning Circle
Python Programming Learning Circle
Oct 8, 2022 · Fundamentals

Commonly Used Python Functions: A Quick Reference Guide

This article presents a concise, organized collection of over 100 commonly used Python functions across twelve categories—including basic I/O, control flow, data structures, modules, and file operations—providing code examples and explanations to help beginners quickly memorize and apply them.

Pythonfunctions
0 likes · 10 min read
Commonly Used Python Functions: A Quick Reference Guide
Python Programming Learning Circle
Python Programming Learning Circle
Oct 7, 2022 · Artificial Intelligence

Analyzing WeChat Friend Data with Python: Gender, Avatar, Signature, and Location Insights

This article demonstrates how to use Python libraries such as itchat, jieba, matplotlib, snownlp, and TencentYoutuyun to retrieve WeChat friend information and perform data analysis on gender distribution, avatar usage, signature sentiment, and geographic location, presenting results with charts and word clouds.

Image ProcessingPythonSentiment Analysis
0 likes · 12 min read
Analyzing WeChat Friend Data with Python: Gender, Avatar, Signature, and Location Insights
Model Perspective
Model Perspective
Oct 6, 2022 · Artificial Intelligence

Demystifying RNNs and LSTMs: Architecture, Limits, and Python Forecasting

This article explains the structure and operation of recurrent neural networks (RNNs), their limitations, how long short‑term memory (LSTM) networks overcome these issues with gated mechanisms, and provides a complete Python implementation for time‑series airline passenger forecasting.

LSTMNeural NetworksPython
0 likes · 17 min read
Demystifying RNNs and LSTMs: Architecture, Limits, and Python Forecasting
Model Perspective
Model Perspective
Oct 4, 2022 · Artificial Intelligence

How Metropolis-Hastings Improves MCMC Sampling Efficiency

This article explains the detailed‑balance condition for Markov chains, shows why finding a transition matrix for a given stationary distribution is hard, and demonstrates how Metropolis‑Hastings modifies MCMC to achieve higher acceptance rates with a concrete Python example.

MCMCMarkov chainMetropolis-Hastings
0 likes · 9 min read
How Metropolis-Hastings Improves MCMC Sampling Efficiency
Model Perspective
Model Perspective
Oct 2, 2022 · Fundamentals

Why Do Markov Chains Always Converge? A Hands‑On Exploration

This article explains the basic definition of Markov chains, illustrates a stock‑market example with transition matrices, demonstrates convergence through Python simulations, and shows how the steady‑state distribution enables sampling for Monte Carlo methods.

Monte CarloPythonconvergence
0 likes · 10 min read
Why Do Markov Chains Always Converge? A Hands‑On Exploration
21CTO
21CTO
Oct 2, 2022 · Backend Development

Pyston 2.3.5 Boosts Python Performance with Major CPython Compatibility

Pyston 2.3.5, a fork of CPython 3.8 maintained by Anaconda, delivers double‑digit performance gains for network‑service workloads, offers two‑fold speedups on micro‑benchmarks like chaos.py and nbody.py, and remains highly compatible with the full CPython feature set and C API.

BackendJITPyston
0 likes · 4 min read
Pyston 2.3.5 Boosts Python Performance with Major CPython Compatibility
MaGe Linux Operations
MaGe Linux Operations
Oct 2, 2022 · Fundamentals

Master Python Decorators: From Basics to Advanced Usage

This article explains Python decorators by first reviewing functions as first‑class objects, then showing how to create simple timing decorators, extend them with *args/**kwargs, and build higher‑order decorators like a repeat‑n‑times wrapper, complete with practical code examples.

Pythonargsdecorators
0 likes · 9 min read
Master Python Decorators: From Basics to Advanced Usage
Model Perspective
Model Perspective
Oct 1, 2022 · Artificial Intelligence

Boost Your Models with LightGBM: Fast, Accurate Gradient Boosting in Python

This article introduces LightGBM, a high‑performance gradient boosting framework, explains its advantages over XGBoost, and provides step‑by‑step Python code for building classification and regression models on the Iris dataset, including model training, evaluation, and visualizing feature importance and tree structures.

LightGBMPythonclassification
0 likes · 5 min read
Boost Your Models with LightGBM: Fast, Accurate Gradient Boosting in Python
MaGe Linux Operations
MaGe Linux Operations
Oct 1, 2022 · Artificial Intelligence

11 Powerful Feature Selection Techniques Every Data Scientist Should Master

This guide walks through a comprehensive set of feature‑selection strategies—from removing unused or missing columns to handling multicollinearity, low‑variance features, and using PCA—complete with Python code examples and visualizations to help you build leaner, more interpretable machine‑learning models.

Pythondata preprocessingdimensionality reduction
0 likes · 18 min read
11 Powerful Feature Selection Techniques Every Data Scientist Should Master
Python Programming Learning Circle
Python Programming Learning Circle
Sep 29, 2022 · Fundamentals

Python Performance Optimization Tips

This article presents practical Python performance optimization techniques—including using local variables, minimizing function calls, avoiding repeated loop calculations, preferring direct imports, leveraging dictionaries for lookups, iterating over items, employing generator expressions, and pre‑compiling code—to improve speed and reduce resource consumption.

Pythonoptimization
0 likes · 6 min read
Python Performance Optimization Tips
Model Perspective
Model Perspective
Sep 27, 2022 · Artificial Intelligence

Master XGBoost: Boosting Trees Explained with Python Code

This article explains the core concepts of XGBoost as a boosting tree algorithm, describes how it builds ensembles of decision trees to predict outcomes, and provides complete Python implementations for classification and regression using the Scikit-learn interface, along with visualizations of trees and feature importance.

PythonXGBoostboosting
0 likes · 4 min read
Master XGBoost: Boosting Trees Explained with Python Code
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 27, 2022 · Mobile Development

Comprehensive Guide to Android ADB: Concepts, Setup, Commands, and Automation Scripts

This article provides a detailed introduction to Android Debug Bridge (ADB), covering its concepts, architecture, environment setup, common issues, command syntax, and practical automation examples using both shell scripts and Python, enabling developers to control devices, perform UI actions, and schedule tasks efficiently.

ADBAndroidMobile Development
0 likes · 20 min read
Comprehensive Guide to Android ADB: Concepts, Setup, Commands, and Automation Scripts
Python Programming Learning Circle
Python Programming Learning Circle
Sep 26, 2022 · Backend Development

Comprehensive Guide to Using Celery for Asynchronous Task Processing in Python

This article provides a detailed tutorial on Celery, covering its architecture, installation, task structures, basic and advanced usage, integration with Django, and code examples for creating workers, scheduling tasks, and retrieving results, enabling developers to implement robust asynchronous processing in Python applications.

Asynchronous TasksDjangoPython
0 likes · 13 min read
Comprehensive Guide to Using Celery for Asynchronous Task Processing in Python