当前位置: 首页 > news >正文

充分统计量(Sufficient Statistic)概念与应用: 中英双语

充分统计量:概念与应用

在统计学中,充分统计量(Sufficient Statistic) 是一个核心概念。它是从样本中计算得出的函数,能够完整且无损地表征样本中与分布参数相关的信息。在参数估计中,充分统计量能够帮助我们提取必要的统计信息,从而实现更高效的推断。

本文将从充分统计量的定义出发,结合指数族分布的例子,深入探讨这一概念及其在统计推断中的重要性。


1. 充分统计量的定义

设 ( X = { x 1 , x 2 , … , x n } X = \{x_1, x_2, \dots, x_n\} X={x1,x2,,xn} ) 是来自分布 ( p ( x ∣ θ ) p(x|\theta) p(xθ) ) 的样本,其中 ( θ \theta θ ) 是分布的参数。统计量 ( T ( X ) T(X) T(X) ) 被称为关于参数 ( θ \theta θ ) 的充分统计量,如果满足因子分解定理(Factorization Theorem)

p ( X ∣ θ ) = h ( X ) g ( T ( X ) , θ ) , p(X|\theta) = h(X) g(T(X), \theta), p(Xθ)=h(X)g(T(X),θ),

其中:

  • ( T ( X ) T(X) T(X) ) 是样本的函数,即统计量;
  • ( h ( X ) h(X) h(X) ) 是与 ( θ \theta θ ) 无关的函数;
  • ( g ( T ( X ) , θ ) g(T(X), \theta) g(T(X),θ) ) 是 ( T ( X ) T(X) T(X) ) 与 ( θ \theta θ ) 的联合函数。

直观解释:充分统计量 ( T ( X ) T(X) T(X) ) 能够提取样本中关于参数 ( θ \theta θ ) 的全部信息,( h ( X ) h(X) h(X) ) 则捕捉了样本中与 ( θ \theta θ ) 无关的其他信息。


2. 充分统计量的意义

假设我们已经计算了充分统计量 ( T ( X ) T(X) T(X) ),则原始样本 ( X X X ) 中的其他信息对于 ( θ \theta θ ) 的估计是冗余的。也就是说,利用 ( T ( X ) T(X) T(X) ) 进行推断,与直接使用整个样本 ( X X X ) 的效果是等价的。

例如,在正态分布 ( X ∼ N ( μ , σ 2 ) X \sim \mathcal{N}(\mu, \sigma^2) XN(μ,σ2) ) 中:

  • 样本均值 ( x ˉ = 1 n ∑ i = 1 n x i \bar{x} = \frac{1}{n} \sum_{i=1}^n x_i xˉ=n1i=1nxi ) 是 ( μ \mu μ ) 的充分统计量;
  • 样本方差 ( s 2 = 1 n ∑ i = 1 n ( x i − x ˉ ) 2 s^2 = \frac{1}{n} \sum_{i=1}^n (x_i - \bar{x})^2 s2=n1i=1n(xixˉ)2 ) 是 ( σ 2 \sigma^2 σ2 ) 的充分统计量。

3. 指数族分布与充分统计量

指数族分布是统计学中一类重要的分布形式,其概率密度函数(或质量函数)可以统一表示为:如果读者对指数族分布的概率密度函数的形式有疑问,请参考笔者的另一篇文章 指数族分布(Exponential Family of Distributions)的两种形式及其区别

p ( x ∣ θ ) = h ( x ) exp ⁡ ( η ( θ ) T t ( x ) − A ( θ ) ) , p(x|\theta) = h(x) \exp\left(\eta(\theta)^T t(x) - A(\theta)\right), p(xθ)=h(x)exp(η(θ)Tt(x)A(θ)),

其中:

  • ( η ( θ ) \eta(\theta) η(θ) ) 是参数 ( θ \theta θ ) 的自然参数;
  • ( t ( x ) t(x) t(x) ) 是样本的充分统计量;
  • ( A ( θ ) A(\theta) A(θ) ) 是规范化因子,保证分布的积分为 1;
  • ( h ( x ) h(x) h(x) ) 是与参数无关的测度函数。

3.1 常见的指数族分布例子

正态分布(均值已知,方差未知)

概率密度函数:
p ( x ∣ μ , σ 2 ) = 1 2 π σ 2 exp ⁡ ( − ( x − μ ) 2 2 σ 2 ) . p(x|\mu, \sigma^2) = \frac{1}{\sqrt{2\pi\sigma^2}} \exp\left(-\frac{(x-\mu)^2}{2\sigma^2}\right). p(xμ,σ2)=2πσ2 1exp(2σ2(xμ)2).

写成指数族形式:
p ( x ∣ μ , σ 2 ) = exp ⁡ ( − 1 2 σ 2 x 2 + μ σ 2 x − μ 2 2 σ 2 − 1 2 ln ⁡ ( 2 π σ 2 ) ) . p(x|\mu, \sigma^2) = \exp\left(-\frac{1}{2\sigma^2} x^2 + \frac{\mu}{\sigma^2} x - \frac{\mu^2}{2\sigma^2} - \frac{1}{2} \ln(2\pi\sigma^2)\right). p(xμ,σ2)=exp(2σ21x2+σ2μx2σ2μ221ln(2πσ2)).

充分统计量为:
t ( x ) = { x , x 2 } . t(x) = \{x, x^2\}. t(x)={x,x2}.

泊松分布

概率质量函数:
p ( x ∣ λ ) = λ x e − λ x ! , x = 0 , 1 , 2 , … p(x|\lambda) = \frac{\lambda^x e^{-\lambda}}{x!}, \quad x = 0, 1, 2, \dots p(xλ)=x!λxeλ,x=0,1,2,

写成指数族形式:
p ( x ∣ λ ) = exp ⁡ ( x ln ⁡ λ − λ − ln ⁡ x ! ) . p(x|\lambda) = \exp\left(x \ln \lambda - \lambda - \ln x!\right). p(xλ)=exp(xlnλλlnx!).

充分统计量为:
t ( x ) = x . t(x) = x. t(x)=x.

二项分布

概率质量函数:
p ( x ∣ n , p ) = ( n x ) p x ( 1 − p ) n − x , x = 0 , 1 , … , n . p(x|n, p) = \binom{n}{x} p^x (1-p)^{n-x}, \quad x = 0, 1, \dots, n. p(xn,p)=(xn)px(1p)nx,x=0,1,,n.

写成指数族形式:
p ( x ∣ n , p ) = exp ⁡ ( x ln ⁡ p 1 − p + n ln ⁡ ( 1 − p ) + ln ⁡ ( n x ) ) . p(x|n, p) = \exp\left(x \ln \frac{p}{1-p} + n \ln (1-p) + \ln \binom{n}{x}\right). p(xn,p)=exp(xln1pp+nln(1p)+ln(xn)).

充分统计量为:
t ( x ) = x . t(x) = x. t(x)=x.


4. 应用场景

4.1 参数估计

充分统计量极大地简化了参数估计的过程。例如,在最大似然估计(MLE)中,充分统计量允许我们直接基于 ( T ( X ) T(X) T(X) ) 构建似然函数,而无需处理整个样本。

4.2 数据压缩

充分统计量将数据从高维样本 ( X X X ) 压缩为低维统计量 ( T ( X ) T(X) T(X) ),但仍然保留了关于参数 ( θ \theta θ ) 的全部信息。这对于大数据分析尤为重要。

4.3 贝叶斯推断

在贝叶斯框架中,充分统计量可以简化后验分布的计算,因为 ( p ( θ ∣ X ) ∝ p ( T ( X ) ∣ θ ) p ( θ ) p(\theta|X) \propto p(T(X)|\theta)p(\theta) p(θX)p(T(X)θ)p(θ) )。


5. 总结

充分统计量是统计推断中的关键工具,能够高效提取样本中关于分布参数的信息。通过指数族分布的形式化,我们不仅能够清晰地识别充分统计量,还能理解其在不同分布中的表现形式。充分统计量在参数估计、数据压缩和贝叶斯推断中的广泛应用,进一步凸显了其重要性。

读者在学习时,可以从正态分布、泊松分布等常见的指数族分布入手,尝试推导其充分统计量,以加深对这一概念的理解。

Sufficient Statistic: Concept and Applications

In statistics, the concept of sufficient statistic plays a fundamental role. A sufficient statistic is a function of a dataset that captures all the information about a parameter of interest contained within the data. By leveraging sufficient statistics, we can efficiently perform parameter inference without processing the entire dataset.

This article introduces sufficient statistics, their mathematical definition, and their relevance in statistical inference. We will illustrate the concept with examples from exponential family distributions, along with detailed mathematical formulations.


1. Definition of Sufficient Statistic

Let ( X = { x 1 , x 2 , … , x n } X = \{x_1, x_2, \dots, x_n\} X={x1,x2,,xn} ) be a sample drawn from a probability distribution ( p ( x ∣ θ p(x|\theta p(xθ) ), where ( θ \theta θ ) is the parameter of interest. A statistic ( T ( X ) T(X) T(X) ) is called a sufficient statistic for ( θ \theta θ ) if it satisfies the factorization theorem:

p ( X ∣ θ ) = h ( X ) g ( T ( X ) , θ ) , p(X|\theta) = h(X) \, g(T(X), \theta), p(Xθ)=h(X)g(T(X),θ),

where:

  • ( T ( X ) T(X) T(X) ) is the statistic (a function of the data);
  • ( h ( X ) h(X) h(X) ) is a function independent of ( θ \theta θ );
  • ( g ( T ( X ) , θ ) g(T(X), \theta) g(T(X),θ) ) depends only on ( T ( X ) T(X) T(X) ) and ( θ \theta θ ).

Intuition

A sufficient statistic ( T ( X ) T(X) T(X) ) extracts all the information about ( θ \theta θ ) from the dataset ( X X X ). Once ( T ( X ) T(X) T(X) ) is computed, the original dataset ( X X X ) provides no additional value for parameter estimation.


2. Importance of Sufficient Statistics

  1. Efficient Parameter Estimation
    Once the sufficient statistic ( T ( X ) T(X) T(X) ) is computed, we can perform inference on ( θ \theta θ ) without using the entire dataset. This simplifies calculations, especially for large datasets.

  2. Data Compression
    A sufficient statistic reduces the dimensionality of the data while retaining all relevant information about ( θ \theta θ ). For example, instead of using a large dataset, we only need ( T ( X ) T(X) T(X) ), which is often a low-dimensional vector.

  3. Bayesian Inference
    In Bayesian statistics, the posterior distribution ( p ( θ ∣ X ) p(\theta|X) p(θX) ) depends only on ( T ( X ) T(X) T(X) ). This simplifies the computation of posterior distributions.


3. Exponential Family and Sufficient Statistics

The exponential family of distributions provides a convenient framework for identifying sufficient statistics. A probability distribution belongs to the exponential family if it can be expressed as:

p ( x ∣ θ ) = h ( x ) exp ⁡ ( η ( θ ) T t ( x ) − A ( θ ) ) , p(x|\theta) = h(x) \exp\left(\eta(\theta)^T t(x) - A(\theta)\right), p(xθ)=h(x)exp(η(θ)Tt(x)A(θ)),

where:

  • ( η ( θ ) \eta(\theta) η(θ) ) is the natural parameter;
  • ( t ( x ) t(x) t(x) ) is the sufficient statistic;
  • ( A ( θ ) A(\theta) A(θ)) is the log-partition function, ensuring normalization;
  • ( h ( x ) h(x) h(x) ) is a base measure independent of ( θ \theta θ ).

3.1 Examples of Exponential Family Distributions

Normal Distribution (( μ \mu μ ) known, ( σ 2 \sigma^2 σ2 ) unknown)

Probability density function:
p ( x ∣ σ 2 ) = 1 2 π σ 2 exp ⁡ ( − ( x − μ ) 2 2 σ 2 ) . p(x|\sigma^2) = \frac{1}{\sqrt{2\pi\sigma^2}} \exp\left(-\frac{(x-\mu)^2}{2\sigma^2}\right). p(xσ2)=2πσ2 1exp(2σ2(xμ)2).

Rewritten in exponential family form:
p ( x ∣ σ 2 ) = exp ⁡ ( − 1 2 σ 2 x 2 + μ σ 2 x − μ 2 2 σ 2 − 1 2 ln ⁡ ( 2 π σ 2 ) ) . p(x|\sigma^2) = \exp\left(-\frac{1}{2\sigma^2}x^2 + \frac{\mu}{\sigma^2}x - \frac{\mu^2}{2\sigma^2} - \frac{1}{2}\ln(2\pi\sigma^2)\right). p(xσ2)=exp(2σ21x2+σ2μx2σ2μ221ln(2πσ2)).

The sufficient statistic is:
t ( x ) = { x , x 2 } . t(x) = \{x, x^2\}. t(x)={x,x2}.

Poisson Distribution

Probability mass function:
p ( x ∣ λ ) = λ x e − λ x ! , x = 0 , 1 , 2 , … p(x|\lambda) = \frac{\lambda^x e^{-\lambda}}{x!}, \quad x = 0, 1, 2, \dots p(xλ)=x!λxeλ,x=0,1,2,

Rewritten in exponential family form:
p ( x ∣ λ ) = exp ⁡ ( x ln ⁡ λ − λ − ln ⁡ x ! ) . p(x|\lambda) = \exp\left(x \ln \lambda - \lambda - \ln x!\right). p(xλ)=exp(xlnλλlnx!).

The sufficient statistic is:
t ( x ) = x . t(x) = x. t(x)=x.

Binomial Distribution

Probability mass function:
p ( x ∣ n , p ) = ( n x ) p x ( 1 − p ) n − x , x = 0 , 1 , … , n . p(x|n, p) = \binom{n}{x} p^x (1-p)^{n-x}, \quad x = 0, 1, \dots, n. p(xn,p)=(xn)px(1p)nx,x=0,1,,n.

Rewritten in exponential family form:
p ( x ∣ n , p ) = exp ⁡ ( x ln ⁡ p 1 − p + n ln ⁡ ( 1 − p ) + ln ⁡ ( n x ) ) . p(x|n, p) = \exp\left(x \ln \frac{p}{1-p} + n \ln (1-p) + \ln \binom{n}{x}\right). p(xn,p)=exp(xln1pp+nln(1p)+ln(xn)).

The sufficient statistic is:
t ( x ) = x . t(x) = x. t(x)=x.


4. Applications of Sufficient Statistics

4.1 Maximum Likelihood Estimation (MLE)

The likelihood function for parameter ( θ \theta θ ) can be written in terms of the sufficient statistic ( T ( X ) T(X) T(X) ). This simplifies the optimization process in MLE, reducing computational complexity.

For example, for the Poisson distribution, the MLE for ( λ \lambda λ ) is:
λ ^ = ∑ i = 1 n x i n , \hat{\lambda} = \frac{\sum_{i=1}^n x_i}{n}, λ^=ni=1nxi,
where ( T ( X ) = ∑ i = 1 n x i T(X) = \sum_{i=1}^n x_i T(X)=i=1nxi ).

4.2 Bayesian Inference

In Bayesian inference, the posterior distribution depends only on ( T ( X ) T(X) T(X) ):
p ( θ ∣ X ) ∝ p ( T ( X ) ∣ θ ) p ( θ ) . p(\theta|X) \propto p(T(X)|\theta)p(\theta). p(θX)p(T(X)θ)p(θ).

This makes the computation of posterior distributions more tractable, especially in conjugate prior settings.

4.3 Data Summarization

Sufficient statistics compress data into a smaller, sufficient representation. For instance, in large-scale data applications, computing sufficient statistics instead of storing entire datasets saves storage and computational resources.


5. Summary

Sufficient statistics are a cornerstone of statistical inference, enabling efficient parameter estimation and data summarization. By focusing on the exponential family, we can better understand how sufficient statistics operate in various common distributions, such as the normal, Poisson, and binomial distributions.

Understanding and utilizing sufficient statistics not only simplifies complex statistical procedures but also offers practical advantages in data analysis, particularly in settings with large datasets or complex Bayesian models. Readers are encouraged to explore further by deriving sufficient statistics for different distributions and applying them to real-world problems.

相关文章:

充分统计量(Sufficient Statistic)概念与应用: 中英双语

充分统计量:概念与应用 在统计学中,充分统计量(Sufficient Statistic) 是一个核心概念。它是从样本中计算得出的函数,能够完整且无损地表征样本中与分布参数相关的信息。在参数估计中,充分统计量能够帮助我…...

基于Matlab计算机视觉的车道线识别与前车检测系统研究

随着自动驾驶技术的发展,车道线识别和前车检测成为智能驾驶系统中的核心技术之一。本实训报告围绕基于计算机视觉的车道线识别与前车检测系统展开,旨在通过处理交通视频数据,实时检测车辆所在车道及其与前车的相对位置,从而为车道…...

模糊测试中常见的10种变异mutation策略

1. 引入 基于变异策略的模糊测试,有两个重点: (1)seed:种子,初始的合法输入序列。 (2)mutation:对已经存在的输入序列,进行微调。 所以,mutatio…...

opencv-android编译遇到的相关问题处理

1、opencv-android sdk下载 下载地址:https://opencv.org/releases/ 下载安卓SDK即可 2、解压下载好的SDK 3、导入opencv的SDK到安卓项目中 导入步骤在/OpenCV-android-sdk/sdk/build.gradle文件的注释中写的非常详细,大家可安装官方给出的步骤导入。…...

把 py脚本生成windows 可执行的文件

1 确保生成的exe文件,不会立即退出 input("Please input any key to exit!")2 安装 PyInstaller 确保已经安装了 PyInstaller。可以使用 pip 来安装它: pip install pyinstaller3 执行命令 这里的 --onefile 选项表示将所有依赖项打包到一…...

云计算的发展历史与未来展望

云计算的起源与发展 云计算的概念最早可以追溯到20世纪60年代,当时的计算机科学家约翰麦卡锡(John McCarthy)提出了“按需提供计算能力”的构想。尽管这一理念在当时的技术条件下无法实现,但为云计算的未来发展奠定了理论基础。 …...

基于飞腾S2500处理器的全国产加固服务器

近日,西安康德航测电子科技有限公司凭借其深厚的行业底蕴和创新精神,正式推出了基于飞腾S2500处理器的全国产加固服务器。这一产品的问世,不仅标志着我国在信息技术领域的自立自强迈出了坚实的一步,更以其卓越的性能、坚固的设计和…...

gitlab-cicd部署安装与具体操作

一、安装 本例中是用安装包直接在ubuntu下安装的,也可以用docker镜像。 curl -LJO https://gitlab-runner-downloads.s3.amazonaws.com/latest/rpm/gitlab-runner_amd64.rpmrpm -i gitlab-runner_amd64.rpm 安装runner后,需要跟在runner所在服务器安装…...

2022高等代数上【南昌大学】

2022 高等代数 证明: p ( x ) p(x) p(x) 是不可约多项式的充要条件是对任意的多项式 f ( x ) , g ( x ) f(x), g(x) f(x),g(x),若 p ( x ) ∣ f ( x ) g ( x ) p(x) \mid f(x)g(x) p(x)∣f(x)g(x),则有 p ( x ) ∣ f ( x ) p(x) \mid f(x) p(x)∣f(x) 或 p ( x ) ∣ g (…...

文本生成类(机器翻译)系统评估

在机器翻译任务中常用评价指标:BLEU、ROGUE、METEOR、PPL。 这些指标的缺点:只能反应模型输出是否类似于测试文本。 BLUE(Bilingual Evaluation Understudy):是用于评估模型生成的句子(candidate)和实际句子(referen…...

11.7【miniob】【debug】

这里的vector是实际值,而relation是指针,所以要解引用,*$1,并在最后调用其析构函数 emplace_back 和 push_back 都是用于在容器(如 std::vector)的末尾添加元素的方法,但它们的工作方式有所不同…...

OSHI 介绍与使用

OSHI 介绍 OSHI(Operating System and Hardware Information)是一个开源的Java库,用于从操作系统和硬件层面获取系统资源的详细信息。它提供了对操作系统、硬件、CPU、内存、磁盘、网络接口等多种信息的访问,且不依赖于平台特定的…...

Hadoop生态圈框架部署(八)- Hadoop高可用(HA)集群部署

文章目录 前言一、部署规划二、Hadoop HA集群部署(手动部署)1. 下载hadoop2. 上传安装包2. 解压hadoop安装包3. 配置hadoop配置文件3.1 虚拟机hadoop1修改hadoop配置文件3.1.1 修改 hadoop-env.sh 配置文件3.3.2 修改 core-site.xml 配置文件3.3.3 修改 …...

【RocketMQ】Name Server 无状态特点及如何让 Broker Consumer Producer 感知新节点

文章目录 前言1. Name Server 无状态特点2. Name Server 地址服务3. Name Server 手动配置后记 前言 看了 《RocketMQ 消息中间件实战派(上册)》前面一点,书中代码太多容易陷入细节。 这里简单描述下 RocketMQ Name Server 无状态表现在什么…...

蓝牙定位的MATLAB程序,四个锚点、三维空间

这段代码通过RSSI信号强度实现了在三维空间中的蓝牙定位,展示了如何使用锚点位置和测量的信号强度来估计未知点的位置。代码涉及信号衰减模型、距离计算和最小二乘法估计等基本概念,并通过三维可视化展示了真实位置与估计位置的关系。 目录 程序描述 运…...

机器学习--绪论

开启这一系列文章的初衷,是希望搭建一座通向机器学习世界的桥梁,为有志于探索这一领域的读者提供系统性指引和实践经验分享。随着人工智能和大数据技术的迅猛发展,机器学习已成为推动技术创新和社会变革的重要驱动力。从智能推荐系统到自然语…...

Unity 设计模式-命令模式(Command Pattern)详解

命令模式(Command Pattern)是一种行为型设计模式,它将请求封装成对象,从而使得可以使用不同的请求、队列或日志请求,以及支持可撤销的操作。命令模式通常包含四个主要角色:命令(Command&#xf…...

线程信号量 Linux环境 C语言实现

既可以解决多个同类共享资源的互斥问题&#xff0c;也可以解决简易的同步问题 头文件&#xff1a;#include <semaphore.h> 类型&#xff1a;sem_t 初始化&#xff1a;int sem_init(sem_t *sem, int pshared, unsigned int value); //程序中第一次对指定信号量调用p、v操…...

karmada-descheduler

descheduler规则 karmada-descheduler 定期检测所有部署&#xff0c;通常是每2分钟一次&#xff0c;并确定目标调度集群中无法调度的副本数量。它通过调用 karmada-scheduler-estimator 来完成这个过程。如果发现无法调度的副本&#xff0c;它将通过减少 spec.clusters 的配…...

【热门主题】000075 探索嵌入式硬件设计的奥秘

前言&#xff1a;哈喽&#xff0c;大家好&#xff0c;今天给大家分享一篇文章&#xff01;并提供具体代码帮助大家深入理解&#xff0c;彻底掌握&#xff01;创作不易&#xff0c;如果能帮助到大家或者给大家一些灵感和启发&#xff0c;欢迎收藏关注哦 &#x1f495; 目录 【热…...

接口测试中缓存处理策略

在接口测试中&#xff0c;缓存处理策略是一个关键环节&#xff0c;直接影响测试结果的准确性和可靠性。合理的缓存处理策略能够确保测试环境的一致性&#xff0c;避免因缓存数据导致的测试偏差。以下是接口测试中常见的缓存处理策略及其详细说明&#xff1a; 一、缓存处理的核…...

国防科技大学计算机基础课程笔记02信息编码

1.机内码和国标码 国标码就是我们非常熟悉的这个GB2312,但是因为都是16进制&#xff0c;因此这个了16进制的数据既可以翻译成为这个机器码&#xff0c;也可以翻译成为这个国标码&#xff0c;所以这个时候很容易会出现这个歧义的情况&#xff1b; 因此&#xff0c;我们的这个国…...

YSYX学习记录(八)

C语言&#xff0c;练习0&#xff1a; 先创建一个文件夹&#xff0c;我用的是物理机&#xff1a; 安装build-essential 练习1&#xff1a; 我注释掉了 #include <stdio.h> 出现下面错误 在你的文本编辑器中打开ex1文件&#xff0c;随机修改或删除一部分&#xff0c;之后…...

【第二十一章 SDIO接口(SDIO)】

第二十一章 SDIO接口 目录 第二十一章 SDIO接口(SDIO) 1 SDIO 主要功能 2 SDIO 总线拓扑 3 SDIO 功能描述 3.1 SDIO 适配器 3.2 SDIOAHB 接口 4 卡功能描述 4.1 卡识别模式 4.2 卡复位 4.3 操作电压范围确认 4.4 卡识别过程 4.5 写数据块 4.6 读数据块 4.7 数据流…...

【快手拥抱开源】通过快手团队开源的 KwaiCoder-AutoThink-preview 解锁大语言模型的潜力

引言&#xff1a; 在人工智能快速发展的浪潮中&#xff0c;快手Kwaipilot团队推出的 KwaiCoder-AutoThink-preview 具有里程碑意义——这是首个公开的AutoThink大语言模型&#xff08;LLM&#xff09;。该模型代表着该领域的重大突破&#xff0c;通过独特方式融合思考与非思考…...

鸿蒙中用HarmonyOS SDK应用服务 HarmonyOS5开发一个生活电费的缴纳和查询小程序

一、项目初始化与配置 1. 创建项目 ohpm init harmony/utility-payment-app 2. 配置权限 // module.json5 {"requestPermissions": [{"name": "ohos.permission.INTERNET"},{"name": "ohos.permission.GET_NETWORK_INFO"…...

聊一聊接口测试的意义有哪些?

目录 一、隔离性 & 早期测试 二、保障系统集成质量 三、验证业务逻辑的核心层 四、提升测试效率与覆盖度 五、系统稳定性的守护者 六、驱动团队协作与契约管理 七、性能与扩展性的前置评估 八、持续交付的核心支撑 接口测试的意义可以从四个维度展开&#xff0c;首…...

服务器--宝塔命令

一、宝塔面板安装命令 ⚠️ 必须使用 root 用户 或 sudo 权限执行&#xff01; sudo su - 1. CentOS 系统&#xff1a; yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh2. Ubuntu / Debian 系统…...

Linux系统部署KES

1、安装准备 1.版本说明V008R006C009B0014 V008&#xff1a;是version产品的大版本。 R006&#xff1a;是release产品特性版本。 C009&#xff1a;是通用版 B0014&#xff1a;是build开发过程中的构建版本2.硬件要求 #安全版和企业版 内存&#xff1a;1GB 以上 硬盘&#xf…...

Chrome 浏览器前端与客户端双向通信实战

Chrome 前端&#xff08;即页面 JS / Web UI&#xff09;与客户端&#xff08;C 后端&#xff09;的交互机制&#xff0c;是 Chromium 架构中非常核心的一环。下面我将按常见场景&#xff0c;从通道、流程、技术栈几个角度做一套完整的分析&#xff0c;特别适合你这种在分析和改…...