Tagged articles

Python

5000 articles · Page 28 of 50
Model Perspective
Model Perspective
Sep 1, 2023 · Fundamentals

Unlocking the Power of Finite State Transducers: From Theory to Python Implementation

This article introduces finite‑state transducers, explains their mathematical definition, illustrates state‑transition examples such as binary counters, word detection, and parentheses matching, explores key applications in speech synthesis, spell‑checking, lemmatization, transliteration, and lexical analysis, and provides a concise Python implementation.

Pythonautomata theoryfinite state transducer
0 likes · 9 min read
Unlocking the Power of Finite State Transducers: From Theory to Python Implementation
Test Development Learning Exchange
Test Development Learning Exchange
Aug 31, 2023 · Frontend Development

Using Playwright for UI Automation: Handling Dialogs, File Uploads, and Executing JavaScript

This article demonstrates how to use the Playwright library in Python to automate common UI interactions such as dismissing dialog boxes, uploading single or multiple files (including from a folder), and executing JavaScript code on web pages, providing complete code examples for each task.

Dialog HandlingJavaScript ExecutionPlaywright
0 likes · 6 min read
Using Playwright for UI Automation: Handling Dialogs, File Uploads, and Executing JavaScript
Model Perspective
Model Perspective
Aug 31, 2023 · Artificial Intelligence

Master Feature Selection: From Filters to PCA with Python

This article explains why selecting the right features is essential for machine learning, outlines the general workflow, compares filter, wrapper, and embedded methods, demonstrates statistical tests and Python code examples, and shows how PCA can synthesize features for dimensionality reduction.

Machine LearningPCAPython
0 likes · 18 min read
Master Feature Selection: From Filters to PCA with Python
Architect
Architect
Aug 31, 2023 · Artificial Intelligence

Building a Custom LLM Chatbot with LangChain, ChromaDB, and LLaMA‑2

This tutorial explains how to leverage generative AI tools—including LLMs, embedding models, vector databases, and the LangChain framework—to create a custom chatbot that answers user queries using a knowledge base, with step‑by‑step code examples for Google Colab.

ChatbotEmbeddingGenerative AI
0 likes · 15 min read
Building a Custom LLM Chatbot with LangChain, ChromaDB, and LLaMA‑2
Test Development Learning Exchange
Test Development Learning Exchange
Aug 30, 2023 · Frontend Development

Playwright Automation Script for End-to-End H5 User Flow (Registration, Login, Checkout)

This tutorial provides a complete Playwright Python script that automates a typical H5 e‑commerce user journey—including registration, login, address entry, product selection, cart addition, checkout, order review, and screenshot capture—while explaining how to adapt URLs and selectors for your own site.

FrontendPlaywrightPython
0 likes · 4 min read
Playwright Automation Script for End-to-End H5 User Flow (Registration, Login, Checkout)
Model Perspective
Model Perspective
Aug 30, 2023 · Artificial Intelligence

How Gradient Descent Trains Neural Networks: A Blind Hiker’s Journey

This article uses a blindfolded mountain‑climbing analogy to explain how gradient descent trains neural networks, covering cost functions, learning rates, iterative updates, and provides a Python implementation for a simple three‑layer network example.

AIBackpropagationMachine Learning
0 likes · 10 min read
How Gradient Descent Trains Neural Networks: A Blind Hiker’s Journey
21CTO
21CTO
Aug 29, 2023 · Artificial Intelligence

Mojo vs Python: Does the New AI Language Really Deliver 36,000× Speedup?

The article examines Modular's new Mojo language, its claim of massive performance gains over Python for AI workloads, presents benchmark code and results, discusses its origins, investment interest, and current beta status, concluding that while impressive, the 36,000× claim is overstated.

AI programmingMatrix multiplicationMojo
0 likes · 8 min read
Mojo vs Python: Does the New AI Language Really Deliver 36,000× Speedup?
Test Development Learning Exchange
Test Development Learning Exchange
Aug 28, 2023 · Frontend Development

Python Playwright UI Automation Tutorial

This article provides a comprehensive guide to learning Python Playwright for UI automation, covering installation, basic concepts, script writing, page interactions, element handling, multi-page management, browser contexts, waiting strategies, testing, and advanced practices.

PlaywrightPythonUI automation
0 likes · 5 min read
Python Playwright UI Automation Tutorial
Python Crawling & Data Mining
Python Crawling & Data Mining
Aug 28, 2023 · Fundamentals

How to Group Connected People Using Pandas and NetworkX in Python

An experienced Python user demonstrates how to group related individuals into connected components using pandas for data manipulation and networkx for graph analysis, providing complete code examples, visualizations, and step-by-step explanations to help readers solve similar connectivity problems.

PandasPythongraph connectivity
0 likes · 6 min read
How to Group Connected People Using Pandas and NetworkX in Python
Test Development Learning Exchange
Test Development Learning Exchange
Aug 27, 2023 · Fundamentals

20 Common Python Built-in Constants with Example Code

This article introduces twenty frequently used Python built-in constants—including True, False, None, NotImplemented, Ellipsis, __debug__, and various exception classes—explaining their meanings and providing clear code snippets that demonstrate how each constant can be applied in typical programming scenarios.

Built-in ConstantsFundamentalsPython
0 likes · 7 min read
20 Common Python Built-in Constants with Example Code
Model Perspective
Model Perspective
Aug 26, 2023 · Artificial Intelligence

Why Accuracy Isn’t Enough: Mastering MCC for Imbalanced Classification

This article reviews common classification evaluation metrics—accuracy, precision, recall, and F1—explains their limitations on imbalanced data, and introduces the Matthews Correlation Coefficient (MCC) with Python implementations to provide a more reliable performance measure.

MCCMachine LearningPython
0 likes · 5 min read
Why Accuracy Isn’t Enough: Mastering MCC for Imbalanced Classification
21CTO
21CTO
Aug 26, 2023 · Artificial Intelligence

How Microsoft’s New Python in Excel Transforms Data Analysis and Machine Learning

Microsoft has integrated Python directly into Excel, enabling data analysts to run Python code, create visualizations, and apply machine‑learning models within spreadsheets, all powered by Azure and Anaconda, marking a major shift for enterprise data workflows.

AnacondaExcelMachine Learning
0 likes · 10 min read
How Microsoft’s New Python in Excel Transforms Data Analysis and Machine Learning
Python Programming Learning Circle
Python Programming Learning Circle
Aug 26, 2023 · Fundamentals

A Comprehensive Overview of Popular Python IDEs and Editors

This article reviews the most popular Python IDEs and code editors, comparing their features, compatibility, plugins, advantages, and disadvantages, helping developers—from beginners to advanced users—choose the right development environment for general programming, data science, AI, and machine learning tasks.

IDEPythondevelopment tools
0 likes · 9 min read
A Comprehensive Overview of Popular Python IDEs and Editors
Test Development Learning Exchange
Test Development Learning Exchange
Aug 26, 2023 · Fundamentals

Understanding Python Virtual Environments: pythonvenv, virtualenv, and conda with API Automation Example

This article explains the concept and importance of Python virtual environments, compares three popular tools—pythonvenv, virtualenv, and conda—provides step‑by‑step commands for creating and activating environments on different operating systems, and includes a practical API automation code example demonstrating their use.

Pythoncondapythonvenv
0 likes · 4 min read
Understanding Python Virtual Environments: pythonvenv, virtualenv, and conda with API Automation Example
Model Perspective
Model Perspective
Aug 25, 2023 · Fundamentals

Master Plotly Sankey Diagrams: From Web Traffic to Energy Flow

This article explains the origins and applications of Sankey diagrams, demonstrates how to create them with Plotly in Python across various scenarios such as website navigation, energy conversion, cost breakdown, financial flows, data migration, and confusion matrix visualization, and provides complete code examples.

PythonSankey diagramplotly
0 likes · 9 min read
Master Plotly Sankey Diagrams: From Web Traffic to Energy Flow
php Courses
php Courses
Aug 25, 2023 · Artificial Intelligence

Meta Launches Code Llama: An Advanced AI Coding Model

Meta introduced Code Llama, a Llama 2‑based AI coding model available in base, Python‑specific, and instruction‑tuned versions across 7B, 13B, and 34B sizes, claiming superior benchmark performance and free community licensing for research and commercial use.

AI codingCode LlamaMeta
0 likes · 5 min read
Meta Launches Code Llama: An Advanced AI Coding Model
Test Development Learning Exchange
Test Development Learning Exchange
Aug 23, 2023 · Operations

Server Monitoring Strategies and Tools Using Python

This article outlines key strategies and Python tools for server monitoring, including defining metrics, utilizing libraries like psutil and requests, log analysis, load testing with Locust and PyTest, and implementing automated alerts for high availability.

High AvailabilityPythonServer monitoring
0 likes · 4 min read
Server Monitoring Strategies and Tools Using Python
Model Perspective
Model Perspective
Aug 23, 2023 · Artificial Intelligence

Master Logistic Regression: Binary, Multiclass, and Ordered Extensions with Python

This article explains logistic regression and its extensions—binary, multiclass (softmax), and ordered logistic regression—covering mathematical foundations, optimization objectives, real‑world applications, and Python implementations using scikit‑learn with code examples and visual illustrations.

PythonScikit-learnbinary classification
0 likes · 15 min read
Master Logistic Regression: Binary, Multiclass, and Ordered Extensions with Python
DataFunTalk
DataFunTalk
Aug 22, 2023 · Artificial Intelligence

Building Complex Distributed Systems with Ray: An AutoML Case Study and Cloud‑Native Deployment

This article explains how the Ray distributed computing engine simplifies the design, deployment, and operation of complex cloud‑native distributed systems—illustrated through an AutoML service example—by detailing system complexity, Ray’s core concepts, resource customization, runtime environments, monitoring, and ecosystem integrations.

AIAutoMLCloud Native
0 likes · 26 min read
Building Complex Distributed Systems with Ray: An AutoML Case Study and Cloud‑Native Deployment
Python Crawling & Data Mining
Python Crawling & Data Mining
Aug 22, 2023 · Fundamentals

Label Excel Rows by Keywords with Pandas: A Quick Python Guide

This article demonstrates how to use Python's pandas library to read an Excel file, define a function that matches specific brand keywords in a column, assign corresponding labels such as “automobile brand” or “sports brand” to a new column, and output the results, while also providing the full code example and tips for sharing data and seeking help.

ExcelPandasPython
0 likes · 5 min read
Label Excel Rows by Keywords with Pandas: A Quick Python Guide
Test Development Learning Exchange
Test Development Learning Exchange
Aug 20, 2023 · Fundamentals

Key Steps and Techniques for Data Cleaning with Python Pandas

This article outlines essential data cleaning steps—including handling missing and duplicate values, type conversion, outlier treatment, text processing, standardization, sampling, and merging—providing concise Python pandas code snippets for each technique to improve data quality for analysis.

Big DataData preprocessingPandas
0 likes · 5 min read
Key Steps and Techniques for Data Cleaning with Python Pandas
Model Perspective
Model Perspective
Aug 19, 2023 · Artificial Intelligence

Unlocking Hidden Patterns: How Tensor Decomposition Powers Modern AI

This article introduces tensors and tensor decomposition, explains core operations, explores CP and other factorization methods, and demonstrates Python implementations for music and movie recommendation systems, highlighting how these techniques reveal hidden structures in large‑scale data.

Big DataCP decompositionMachine Learning
0 likes · 15 min read
Unlocking Hidden Patterns: How Tensor Decomposition Powers Modern AI
DataFunTalk
DataFunTalk
Aug 17, 2023 · Artificial Intelligence

Introduction to LangChain: Concepts, Tools, and Example Applications

This article introduces the LangChain framework, explains its core concepts such as models, prompts, agents, memory, indexes, and tools, provides detailed code examples for each component, and demonstrates practical applications ranging from chatbots to image generation, helping readers understand and build powerful LLM-powered solutions.

AgentsLangChainPython
0 likes · 27 min read
Introduction to LangChain: Concepts, Tools, and Example Applications
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 17, 2023 · Artificial Intelligence

Getting Started with YOLOv8 on the Ultralytics Platform: Installation, Command‑Line Usage, and Model Training

This article introduces the YOLOv8 object‑detection framework on the Ultralytics platform, covering environment setup, command‑line and Python APIs for inference, model‑file options, result interpretation, data annotation, training procedures, and exporting models to various deployment formats.

PythonUltralyticsYOLO
0 likes · 14 min read
Getting Started with YOLOv8 on the Ultralytics Platform: Installation, Command‑Line Usage, and Model Training
MaGe Linux Operations
MaGe Linux Operations
Aug 16, 2023 · Fundamentals

How Layered Architecture Keeps a 30K‑File Python Codebase Manageable

This article explains how a massive Python project with nearly 30,000 files uses a layered architecture and Import Linter to enforce dependency rules, reduce complexity, track technical debt, and improve maintainability, while also discussing the trade‑offs and practical implementation details.

Pythoncode organizationimport-linter
0 likes · 15 min read
How Layered Architecture Keeps a 30K‑File Python Codebase Manageable
Python Programming Learning Circle
Python Programming Learning Circle
Aug 16, 2023 · Backend Development

Comprehensive List and Comparison of Python Web Frameworks

This article presents a curated collection of Python web frameworks, explains what a web framework is, outlines their purposes, and provides a ranked overview of each framework's official site, advantages, and disadvantages to help developers choose the most suitable option for their projects.

ComparisonDjangoFastAPI
0 likes · 23 min read
Comprehensive List and Comparison of Python Web Frameworks
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 16, 2023 · Artificial Intelligence

Deep Dive into OCR – Chapter 2: Development and Classification of OCR Technology

This article provides a comprehensive overview of OCR technology, detailing the evolution from traditional hand‑crafted methods to modern deep‑learning approaches, describing image preprocessing, text detection and recognition pipelines, summarizing classic machine‑learning algorithms, and presenting a practical OpenCV implementation with Python code.

OCRPythoncomputer vision
0 likes · 23 min read
Deep Dive into OCR – Chapter 2: Development and Classification of OCR Technology
Test Development Learning Exchange
Test Development Learning Exchange
Aug 14, 2023 · Fundamentals

Data Analysis Report Writing and Presentation: Code Examples for Various Business Scenarios

This guide explains how to write and present data analysis reports across various business scenarios, providing step‑by‑step Python code using pandas and matplotlib to visualize sales trends, survey results, patient statistics, investment performance, and user behavior, along with a comprehensive report template.

Business IntelligencePandasPython
0 likes · 9 min read
Data Analysis Report Writing and Presentation: Code Examples for Various Business Scenarios
Python Programming Learning Circle
Python Programming Learning Circle
Aug 14, 2023 · Backend Development

Common Python Scheduling Techniques and Tools

This article reviews multiple ways to implement periodic tasks in Python, covering simple loops with sleep, libraries such as Timeloop, threading.Timer, sched, schedule, the APScheduler framework, as well as distributed solutions like Celery and Apache Airflow, and provides code examples for each method.

APSchedulerAirflowPython
0 likes · 23 min read
Common Python Scheduling Techniques and Tools
Model Perspective
Model Perspective
Aug 13, 2023 · Artificial Intelligence

Unlocking Hidden Markov Models: Theory, Algorithms, and Python Implementations

This article explains Hidden Markov Models, covering their core concepts, basic elements, the three fundamental problems with forward, Viterbi, and Baum‑Welch algorithms, provides a weather illustration, detailed Python code using hmmlearn, and a real‑world earthquake case study, highlighting practical implementation steps.

HMMHidden Markov ModelMachine Learning
0 likes · 15 min read
Unlocking Hidden Markov Models: Theory, Algorithms, and Python Implementations
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Aug 13, 2023 · Fundamentals

Multi-Source BFS Solution for the 2023Q2B Mars Terraforming Challenge

The article presents a grid‑based Mars terraforming problem where cells are marked YES, NO, or NA, and asks to determine the minimum number of solar days needed to convert all convertible (NO) cells to habitable (YES) using a multi‑source BFS approach, returning –1 if impossible, with full Python implementation and complexity analysis.

BFSGridPython
0 likes · 8 min read
Multi-Source BFS Solution for the 2023Q2B Mars Terraforming Challenge
Model Perspective
Model Perspective
Aug 12, 2023 · Fundamentals

Unlocking Bayesian Methods: Theory, Real-World Examples, and Python Demo

This article explains Bayesian methods—its core theorem, historical and everyday applications, a detailed medical testing model, and provides a step‑by‑step Python calculation illustrating how prior probabilities and new evidence combine to produce posterior probabilities.

Bayesian InferenceMedical TestingPython
0 likes · 6 min read
Unlocking Bayesian Methods: Theory, Real-World Examples, and Python Demo
21CTO
21CTO
Aug 11, 2023 · Backend Development

How Layered Architecture Keeps a 28K‑File Python Monolith Manageable

This article explains how a massive Python codebase with over 27,000 modules is organized using a layered architecture, enforced with Import Linter, to reduce complexity, track technical debt, and enable independent development across clients and territories.

Pythoncode organizationimport-linter
0 likes · 14 min read
How Layered Architecture Keeps a 28K‑File Python Monolith Manageable
Python Programming Learning Circle
Python Programming Learning Circle
Aug 11, 2023 · Fundamentals

13 Advanced Python Scripts for Everyday Tasks

This article presents thirteen practical Python scripts—including speed testing, Google searching, web automation, lyric fetching, EXIF extraction, OCR, image cartoonization, recycle‑bin clearing, photo enhancement, Windows version detection, PDF‑to‑image conversion, hex‑to‑RGB conversion, and website status checking—each accompanied by ready‑to‑run code examples.

Pythonautomationtutorial
0 likes · 9 min read
13 Advanced Python Scripts for Everyday Tasks
Test Development Learning Exchange
Test Development Learning Exchange
Aug 10, 2023 · Fundamentals

Python Built‑in Functions for Data Type Casting

This article explains how to use Python's built‑in casting functions—int(), float(), str(), bool(), list(), tuple(), set() and dict()—to convert between numeric, string, boolean, sequence, and mapping types, providing clear code examples for each conversion scenario.

ListPythonbool
0 likes · 14 min read
Python Built‑in Functions for Data Type Casting
Architect's Guide
Architect's Guide
Aug 10, 2023 · Artificial Intelligence

Getting Started with LangChain: Building LLM Applications in Python

This tutorial introduces LangChain, an open‑source Python framework that provides unified model access, prompt management, memory, retrieval, and tool integration, enabling developers to quickly prototype AI‑driven applications using large language models and various external data sources.

AgentsLLMLangChain
0 likes · 13 min read
Getting Started with LangChain: Building LLM Applications in Python
Test Development Learning Exchange
Test Development Learning Exchange
Aug 9, 2023 · Fundamentals

Understanding Python Lists: Creation, Operations, and Manipulation

This article explains why Python lists are essential, how to create them (empty, with integers, strings, mixed types, or nested lists), outlines their key characteristics such as order and mutability, and demonstrates common operations—including indexing, slicing, adding, removing, modifying, and retrieving element indices—through clear code examples.

Data StructuresListProgramming Fundamentals
0 likes · 12 min read
Understanding Python Lists: Creation, Operations, and Manipulation
Model Perspective
Model Perspective
Aug 9, 2023 · Fundamentals

Master the Kelly Criterion: Optimize Betting and Investment Returns

This article explains the Kelly Criterion, its mathematical formula, practical application with a biased‑coin example, detailed derivation, Python simulation code, and a balanced evaluation of its strengths and limitations for gambling and investment strategies.

Betting StrategyKelly CriterionPython
0 likes · 11 min read
Master the Kelly Criterion: Optimize Betting and Investment Returns
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Aug 9, 2023 · Interview Experience

Compute the Longest Broadcast Response Time with BFS

This article explains a graph‑based interview problem where, given an undirected network of N nodes and their connections, you must determine the minimum time for a broadcast node to receive all responses, and provides a full Python BFS solution with complexity analysis.

BFSPythonalgorithm
0 likes · 6 min read
Compute the Longest Broadcast Response Time with BFS
Test Development Learning Exchange
Test Development Learning Exchange
Aug 8, 2023 · Fundamentals

Master Python Metaprogramming: Metaclasses, Decorators, and Property Accessors Explained

Learn how Python's metaprogramming lets you dynamically create, modify, and control classes and functions at runtime, covering metaclasses for singleton patterns and class registration, decorators for caching, timing, and logging, and property accessors for validation and computed attributes, each illustrated with concrete code examples.

MetaprogrammingPythonbackend
0 likes · 7 min read
Master Python Metaprogramming: Metaclasses, Decorators, and Property Accessors Explained
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Aug 8, 2023 · Interview Experience

Unlock the Golden Treasure Box: Algorithmic Solutions for Interview Questions

This article presents three interview‑style algorithm problems—a golden treasure‑box search, an inequality‑set validator with maximum‑difference calculation, and a smallest‑number‑after‑removing‑digits task—each with clear problem statements, constraints, step‑by‑step simulation logic, and full Python code implementations.

Data StructuresPythonSimulation
0 likes · 10 min read
Unlock the Golden Treasure Box: Algorithmic Solutions for Interview Questions
Test Development Learning Exchange
Test Development Learning Exchange
Aug 7, 2023 · Databases

Python Code Examples for Connecting to Common Databases

This article provides concise Python code snippets for connecting to and querying a variety of popular databases—including MySQL, PostgreSQL, SQLite, MongoDB, Oracle, SQL Server, Redis, Elasticsearch, Cassandra, Couchbase, Firebase, DynamoDB, Neo4j, and InfluxDB—illustrating the essential steps for each.

Code examplesDatabaseMongoDB
0 likes · 8 min read
Python Code Examples for Connecting to Common Databases
Test Development Learning Exchange
Test Development Learning Exchange
Aug 6, 2023 · Fundamentals

Practical Python Garbage Collection and Memory Analysis: 10 Useful Code Examples

This article presents ten practical Python code examples demonstrating various garbage collection mechanisms and memory‑analysis tools, including reference counting, cyclic references, object inspection, tracemalloc, memory_profiler, pympler, and objgraph, to help developers understand and optimize memory usage.

Garbage CollectionPythondebugging
0 likes · 4 min read
Practical Python Garbage Collection and Memory Analysis: 10 Useful Code Examples
Test Development Learning Exchange
Test Development Learning Exchange
Aug 3, 2023 · Fundamentals

Dynamic Class Creation and Modification in Python: Techniques and 10 Practical Examples

This article explains Python's dynamic class creation and modification techniques—including the type function, metaclasses, and class decorators—through ten practical code examples that demonstrate how to build flexible, maintainable class structures for various programming scenarios.

Class DecoratorsDynamic ClassesMetaprogramming
0 likes · 8 min read
Dynamic Class Creation and Modification in Python: Techniques and 10 Practical Examples
Test Development Learning Exchange
Test Development Learning Exchange
Aug 2, 2023 · Backend Development

Practical Examples of Python multiprocessing and Celery for Parallel and Distributed Task Processing

This article introduces Python's multiprocessing module and the Celery distributed task queue, explains their core features, and provides ten practical code examples demonstrating multi‑process parallel computation, inter‑process communication, asynchronous tasks, scheduling, retries, and distributed processing for real‑world applications.

Distributed TasksMultiprocessingPython
0 likes · 7 min read
Practical Examples of Python multiprocessing and Celery for Parallel and Distributed Task Processing
Test Development Learning Exchange
Test Development Learning Exchange
Aug 2, 2023 · Fundamentals

Dynamic Code Execution and Code Generation in Python: Techniques and Practical Scenarios

This article explains Python's dynamic code execution and code generation techniques, covering the exec function, code templates, and six practical examples such as dynamic module import, class loading, function invocation, class definition, function creation, and runtime modification of classes or functions.

Code GenerationPythonTemplates
0 likes · 5 min read
Dynamic Code Execution and Code Generation in Python: Techniques and Practical Scenarios
Architect
Architect
Jul 31, 2023 · Artificial Intelligence

Getting Started with LangChain: Building LLM‑Powered Applications

This article introduces LangChain, explains why it’s useful for building applications with large language models, walks through installation, API‑key setup, model and embedding selection, prompt engineering, chaining, memory, agents, and vector‑store indexing, and provides runnable Python code examples throughout.

AgentsLLMLangChain
0 likes · 16 min read
Getting Started with LangChain: Building LLM‑Powered Applications
JD Tech
JD Tech
Jul 31, 2023 · Artificial Intelligence

Local Deployment, Fine‑tuning, and Inference of the Open‑source Alpaca‑LoRA Model on GPU Servers

This article details the step‑by‑step process of installing GPU drivers, setting up a Python environment, deploying the open‑source Alpaca‑LoRA large language model, fine‑tuning it with Chinese data on a multi‑GPU server, and running inference, while discussing practical challenges and performance observations.

AlpacaGPULoRA
0 likes · 14 min read
Local Deployment, Fine‑tuning, and Inference of the Open‑source Alpaca‑LoRA Model on GPU Servers
Python Programming Learning Circle
Python Programming Learning Circle
Jul 31, 2023 · Backend Development

Online Movie Website Built with Python Flask – Project Overview and Setup Guide

This article introduces a beginner‑friendly online movie website project built with Python Flask, detailing its architecture, front‑end and back‑end features, required environment, dependency installation, and deployment steps, complemented by screenshots and a QR code for free Python learning resources.

BootstrapFlaskPython
0 likes · 4 min read
Online Movie Website Built with Python Flask – Project Overview and Setup Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 31, 2023 · Artificial Intelligence

Overview of Deep Neural Network Architectures

This article provides a comprehensive overview of deep neural network families, introducing twelve major architectures—including Feedforward, CNN, RNN, LSTM, DBN, GAN, Autoencoder, Residual, Capsule, Transformer, Attention, and Deep Reinforcement Learning—explaining their principles, structures, training methods, and offering Python/TensorFlow/PyTorch code examples.

CNNGaNPython
0 likes · 29 min read
Overview of Deep Neural Network Architectures
MaGe Linux Operations
MaGe Linux Operations
Jul 30, 2023 · Fundamentals

17 Essential Python Tricks to Boost Your Coding Efficiency

This article presents 17 practical Python tricks—including swapping variables, joining lists, finding frequent items, checking anagrams, reversing strings or lists, transposing arrays, chained comparisons, dictionary operations, and more—to help developers write cleaner, more efficient code.

FundamentalsPythoncoding efficiency
0 likes · 4 min read
17 Essential Python Tricks to Boost Your Coding Efficiency
Model Perspective
Model Perspective
Jul 29, 2023 · Fundamentals

Unveiling Music’s Hidden Frequencies: Fourier Series Explained with Python

This article introduces Fourier series, explains how any musical note can be decomposed into its constituent frequencies, demonstrates generating a composite waveform with Python, computes its Fourier coefficients, visualizes the results, and discusses practical applications such as audio analysis, instrument classification, and digital music compression.

Audio AnalysisFourier SeriesMusic
0 likes · 8 min read
Unveiling Music’s Hidden Frequencies: Fourier Series Explained with Python
Test Development Learning Exchange
Test Development Learning Exchange
Jul 28, 2023 · Fundamentals

Creating Beautiful Charts with Altair: Scatter, Line, Bar, Box, Area, and Pie Plots in Python

This article demonstrates how to use the Python Altair library to create a variety of visualizations—including scatter, line, bar, box, area, and pie charts—by loading sample datasets and applying concise, consistent API calls, while also highlighting customization options and interactive capabilities.

AltairData VisualizationPython
0 likes · 5 min read
Creating Beautiful Charts with Altair: Scatter, Line, Bar, Box, Area, and Pie Plots in Python
MoonWebTeam
MoonWebTeam
Jul 28, 2023 · Artificial Intelligence

Unlocking LangChain: A Complete Guide to Building LLM Applications

This article introduces LangChain, explains its architecture and core components, and provides step‑by‑step Python examples for chat models, embeddings, prompts, indexes, chains, memory, agents, and practical use‑cases such as QA bots, web search, summarization, and persistent vector stores.

LLMLangChainPython
0 likes · 34 min read
Unlocking LangChain: A Complete Guide to Building LLM Applications
Test Development Learning Exchange
Test Development Learning Exchange
Jul 27, 2023 · Artificial Intelligence

Splitting PDF Files and Recognizing MP3 Audio with Python

This guide explains how to split a PDF into separate files using PyPDF2 and provides two Python approaches for converting MP3 audio to text—one leveraging Google Speech‑Recognition for higher accuracy and another using PocketSphinx for complete transcription—complete with ready‑to‑run code examples.

PDFPyPDF2Python
0 likes · 5 min read
Splitting PDF Files and Recognizing MP3 Audio with Python
Model Perspective
Model Perspective
Jul 27, 2023 · Fundamentals

Unlocking Markov Chains: From Weather Forecasts to Keyboard Predictions

This article introduces Markov chains as a mathematical model of state transitions, explains definitions, transition matrices, n‑step and steady‑state distributions, and demonstrates practical Python simulations for weather forecasting and simple keyboard word prediction.

Machine LearningMarkov chainPython
0 likes · 7 min read
Unlocking Markov Chains: From Weather Forecasts to Keyboard Predictions