文档解释
ORA-40218: Both priors table and weights table are specified
Cause: Both a priors table and a weights table are specified for SVM model build.
Action: Priors table is the old (pre 11g) mechanism for specifying class weights, and class weights table is the new (and correct) way to specify class weights. Remove the priors table entry from the settings table (after transferring class weight settings, if appropriate). Going forward, priors table will be valid only for NB models. Use class weights for SVM.
ORA-40218 异常是指用户在创建模式时,同时指定了参考表和(权重表)weights表,导致系统无法识别,因此抛出此异常。官方解释如下:
ORA-40218: Both priors table and weights table are specified
Cause: Both a priors table and a weights table have been specified. The system cannot accommodate both types at the same time.
Action: Supply only one of either a priors table or a weights table.
常见案例
正常处理方法及步骤是:只指定其中一张表,而不是同时指定两张表,如只指定 priors表或者weights表,否则会发生本异常。