Advances in Applied Mathematics
Vol. 11  No. 06 ( 2022 ), Article ID: 52321 , 7 pages
10.12677/AAM.2022.116344

基于改进的Askey-Wilson 多项式核函数

张莆华,闫焱*

华北理工大学理学院,河北 唐山

收稿日期:2022年5月10日;录用日期:2022年5月27日;发布日期:2022年6月13日

摘要

基于Askey-Wilson多项式的性质,给出了两种Askey-Wilson多项式形式,分别与Rbf核函数和三角核函数进行组合,构造混合支持向量机AW核函数。所构造的AW核函数都含有一个重要核参数q,可通过改变q值来调整核函数。实验选取双螺线及6个UCI数据集,比较AW核函数在数据集上的泛化性能和鲁棒性。

关键词

Askey-Wilson多项式,三角核函数,Rbf核函数

Based on Improved Askey-Wilson Polynomial Kernel Function

Puhua Zhang, Yan Yan*

College of Science, North China University of Science and Technology, Tangshan Hebei

Received: May 10th, 2022; accepted: May 27th, 2022; published: Jun. 13th, 2022

ABSTRACT

Based on the properties of Askey-Wilson polynomials, two forms of Askey-Wilson polynomials are given, which are combined with Rbf kernel function and triangular kernel function respectively to construct a hybrid support vector machine AW kernel function. The constructed AW kernel functions all contain an important kernel parameter q, which can be adjusted by changing the q value. The experiment selects the double helix and 6 UCI datasets to compare the generalization performance and robustness of the AW kernel function on the datasets.

Keywords:Askey-Wilson Polynomial, Trigonometric Kernel Function, Rbf Kernel Function

Copyright © 2022 by author(s) and Hans Publishers Inc.

This work is licensed under the Creative Commons Attribution International License (CC BY 4.0).

http://creativecommons.org/licenses/by/4.0/

1. 引言

一元Askey-Wilson多项式 p n ( x ; a , b , c , d | q ) 是n阶的x多项式,包含五个参数a、b、c、d和q。参考标准的基本超几何表示法 [1] 和该多项式的三项递推表达式关系,可以推断Askey-Wilson多项式为正交多项式。正交多项式形成的正交函数系是分析数学中的一个重要组成部分,正交多项式在实际应用中有着良好的鲁棒性,现已被广泛应用于机器学习及数理统计等各方面。从分析组合角度出发,Askey-Wilson多项式可以给出一个明确的绝对连续测度的n阶矩函数 u n ( a , b , c , d ; q ) ,该函数是包含参数a、b、c、d和q并混合二项式和q-二项式的有理函数。Jang Soo Kim [2] 通过组合模型的n阶矩函数,给出了新的n阶Askey-Wilson多项式组合形式,所包含的参数在多项式中权重有所不同,当参数 d = 0 时,得到的Askey-Wilson多项式表达式为对称的多项式,同样特殊情况 b = a d = c 也是如此。Askey-Wilson多项式在正交多项式邻域中是最新的研究成果,构造支持向量机的核函数也是十分有效的。Luís Daniel Abreu [3] 等人基于Askey-Wilson多项式构造出多项式再生核函数,Michael R. Hoare [4] 等人研究了其转移矩阵。Askey-Wilson多项式选取不同参数的值,可以获取不同的Askey-Wilson多项式核函数形式,但由于参数比较多,所以必须要有一种高效的寻参机制和核选择机制,利用自适应优化策略来控制参数。正交多项式核函数以往采用的是Rbf核函数与泛化正交多项式乘积的组合核。三角核函数有着与Rbf核函数相当的性能,本文提出了Askey-Wilson多项式两类形式分别与Rbf核函数和三角核函数组合形成混合核函数,并考察每一种混合核函数在支持向量机上的分类能力。

2. Askey-Wilson核函数

2.1. Askey-Wilson多项式

Askey-Wilson多项式表达式 [5] 为:

p n ( x ; a , b , c , d | q ) = ( a b , a c , a d ; q ) n a n Φ 4 3 ( q n , a b c d q n 1 , a e i θ , a e i θ a b , a c , a d | q ; q )

其中 x = cos θ ,且 | q | < 1

Askey-Wilson多项式的递推公式 [2]:

A n p n + 1 α ( x ) = ( 2 x B n ) p n α ( x ) C n p n 1 α ( x )

其中

A n = a 1 ( 1 a b q n + α ) ( 1 a c q n + α ) ( 1 a d q n + α ) ( 1 a b c d q n + α 1 ) ( 1 a b c d q 2 n + 2 α 1 ) ( 1 a b c d q 2 n + 2 α )

C n = a ( 1 b c q n + α ) ( 1 b d q n + α ) ( 1 c d q n + α ) ( 1 q n + α ) ( 1 a b c d q 2 n + 2 α 2 ) ( 1 a b c d q 2 n + 2 α 1 )

B n = a + a 1 A n C n

Askey-Wilson多项式的正交关系 [6] 为:

1 2 π 1 1 ω ( x ) 1 x 2 p m ( x ; a , b , c , d | q ) p n ( x ; a , b , c , d | q ) d x = h n δ m n

其中 h ( x ) = ( e i θ , e i θ ; q ) max ( | a | , | b | , | c | , | d | , q ) < 1

2.2. 三角核函数

三角核函数是根据Laplace核函数 K ( x , z ) = exp ( x z σ ) 改进而来。利用泰勒展开式,当 x z 0 时, K ( x , z ) 近似等于 1 x z σ 。当 σ 为1或者2且 z = 0 ,固定x范围, K ( x , z ) = 1 x z σ 核函数关于 x = 0 是一个对称的三角图形,故可称为三角核函数 [7]。

2.3. 两类AW核函数

第一类Askey-Wilson多项式, b = c = d = 0 a = q 时,根据递推公式 A n = q 1 C n = q ( 1 q n ) B n = q n + 1 ,1到3阶AW广义多项式为

p 1 1 ( x ; q | q ) = q 2 + 2 x

p 2 1 ( x ; q | q ) = ( q 2 + 2 x ) p 1 1 ( x ; q | q ) T + q 2 1

p 3 1 ( x ; q | q ) = ( q 3 + 2 x ) p 2 1 ( x ; q | q ) T + ( q 3 1 ) ( q 2 + 2 x )

x为行向量, p n 1 ( x ; q | q ) T p n 1 ( x ; q , q ) 转置。

第二类Askey-Wilson多项式, c = d = 0 b = a a = q 时,根据递推公 A n = ( 1 + q n + 2 ) / q C n = q ( 1 q n ) B n = 0 1到3阶的AW广义多项式为

p 1 2 ( x ; q | q ) = 2 q x / ( q 2 + 1 )

p 2 2 ( x ; q | q ) = 2 q x p 1 2 ( x ; q | q ) T / ( 1 + q 3 ) + ( q 3 q 2 ) / ( 1 + q 3 )

p 3 2 ( x ; q | q ) = 2 q x p 2 2 ( x ; q | q ) T / ( 1 + q 4 ) ( q 2 q 4 ) p 1 2 ( x ; q | q ) / ( 1 + q 4 )

基于上述的两类Askey-Wilson多项式,建立n阶Askey-Wilson高斯核函数和Askey-Wilson三角核函数第一类AW高斯核函数 K G a u s s _ H 1 ( x , z ) = exp ( x z 2 d ) j = 0 n P n 1 ( x ) ( P n 1 ( z ) ) T ,第一类AW三角核函数 K T r i _ H 1 ( x , z ) = ( 1 x z σ 0 ) j = 0 n P n 1 ( x ) P n 1 ( z ) T 。同理可以构建第二类AW高斯核函数 K G a u s s _ H 2 ( x , z ) 和第二类AW三角核函数 K T r i _ H 2 ( x , z )

根据Mercer条件 [6],若 i = 1 n ( p i ( x ) φ ( x ) d x ) 2 0 ,则 K ( x , z ) = i = 1 n p i ( x ) ( p i ( z ) ) T 是核函数。由于 exp ( x z 2 d ) 是Rbf核函数的一种形式,所以核函数成立。三角函数 1 x z σ 0 ,基于其单调性,利用Mercer定理,证明也是一个核函数 [6]。再根据核函数的性质,核函数的乘积组合依旧是核函数,所以第一类AW多项式混合函数和第二类AW多项式混合函数都可以作为支持向量机的核函数。

3. 实验结果

3.1. 在双螺旋分类对比

本文实验选择了238个样本点的双螺旋线数据集,通过第一类AW高斯核函数、第一类AW三角核函数、第二类AW高斯核函数、第二类AW三角核函数以及Rbf核函数来进行对比。表1列出了这5种核函数在双螺旋集上训练精度为100%时的分类间隔及支持向量的个数。如下是各类AW核函数在训练集上的分类界面图。

Table 1. Training results of kernel function on double helix

表1. 核函数在双螺旋线上训练结果

实验结果表明,AW核函数都能将双螺旋数据集准确的分类,且间隔都要优于Rbf核函数,尤其是第二类AW三角核函数最大间隔最好,其次是第二类AW高斯核函数。

3.2. 标准UCI数据集上的分类对比

选取的标准UCI数据集属性如表2所示。在这里只考虑1到3阶的AW核函数,核参数q取不同值时,1到3阶AW核函数对数据预测会产生不同准确率。选取最高的准确率,标明对应阶数,则得到实验结果如表3。根据表3的实验结果,挑选出AW核函数在每个数据集上最好的分类效果,然后和Rbf核函数、Poly核函数分类效果做出对比,得到表4

Table 2. Attributes of experimental UCI data sets

表2. 实验种UCI数据集的属性

Table 3. Precision of four kinds of AW kernel function results: %

表3. 四类AW核函数结果精度:%

Table 4. Attributes of experimental UCI data sets

表4. 实验种UCI数据集的属性

表4可以看出,第一类AW高斯核函数和第二类AW高斯核函数在sonar数据集上具有很好的表现,在vechicle和svmguide2表现比第一类AW三角核函数,第二类AW三角核函数要差一些。第一类AW三角核函数和第二类AW三角核函数可以通过调整核参数q的值从而获取最高的精度,比高斯核函数和多项式核函数而言有明显优势,因此有着非常好的鲁棒性的泛化能力。

文章引用

张莆华,闫 焱. 基于改进的Askey-Wilson多项式核函数
Based on Improved Askey-Wilson Polynomial Kernel Function[J]. 应用数学进展, 2022, 11(06): 3246-3252. https://doi.org/10.12677/AAM.2022.116344

参考文献

  1. 1. Gasper, G. and Rahman, M. (2004) Basic Hypergeometric Series. 2nd Edition, Cambridge University Press, Cambridge. https://doi.org/10.1017/CBO9780511526251

  2. 2. Kim, J.S. and Stanton, D. (2014) Moments of Askey-Wilson Polynomials. Journal of Combinatorial Theory, Series A, 125, 113-145.

  3. 3. Abreu, L.D. and Bouzeffour, F. (2010) A Paley-Wiener Theorem for the Askey-Wilson Function Transform. Proceedings of the American Mathematical Society, 138, 2853-2862.

  4. 4. Hoare, M.R. and Rahman, M. (2008) A Probablistic Origin for a New Class of Bivariate Poly-nomials. SIGMA, 4, 89-107. https://doi.org/10.3842/SIGMA.2008.089

  5. 5. Ismail, M.E.H. and Stanton, D. (2015) Expansions in the As-key-Wilson Polynomials. Journal of Mathematical Analysis and Applications, 424, 664-674. https://doi.org/10.1016/j.jmaa.2014.11.048

  6. 6. 田萌, 王文剑. 一类改进的埃尔米特核函数[J]. 计算机科学, 2014, 41(5): 239-242+274.

  7. 7. Fasshauer, G.E. and Hickernell, F.J. (2015) Solving Support Vector Machines in Re-producing Kernel Banach Spaces with Positive Definite Functions. Applied and Computational Harmonic Analysis, 38, 115-139. https://doi.org/10.1016/j.acha.2014.03.007

  8. NOTES

    *通讯作者。

期刊菜单