Skip to content

Commit

Permalink
Ensured compatibility with StatsModels 0.14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vruusmann committed Feb 10, 2024
1 parent 00fa161 commit 2686c25
Show file tree
Hide file tree
Showing 6 changed files with 150 additions and 150 deletions.
300 changes: 150 additions & 150 deletions pmml-statsmodels/src/test/resources/csv/MNLogitConstIris.csv
Original file line number Diff line number Diff line change
@@ -1,151 +1,151 @@
probability(setosa),probability(versicolor),probability(virginica)
0.9999999639310913,3.6068908838977036e-08,1.094369979502961e-30
0.9999972684543477,2.731545652410012e-06,1.4866847324384677e-26
0.9999997769077582,2.230922418058491e-07,3.4103303815451217e-28
0.9999936968818555,6.303118144536353e-06,3.1280619730181676e-25
0.9999999812832631,1.8716736975574783e-08,5.024328671642019e-31
0.9999999537494609,4.62505391182577e-08,2.265748959453882e-30
0.9999997977764172,2.022235827614119e-07,1.2065929801720879e-27
0.9999996909084233,3.090915766449885e-07,1.0924318287958493e-28
0.9999870847405272,1.2915259472771927e-05,4.017716926265078e-24
0.9999966064142499,3.3935857501560745e-06,6.883438292336178e-27
0.9999999848428895,1.5157110494942216e-08,3.8151433965325806e-32
0.9999986255209743,1.374479025626765e-06,5.006544007285425e-27
0.9999973246860673,2.6753139327713753e-06,8.138297148937615e-27
0.9999998422940712,1.5770592864894468e-07,5.827914759969332e-28
0.999999999979261,2.0738986729645327e-11,1.7174082240559307e-38
0.9999999999516234,4.837661543043943e-11,8.8451863432275e-37
0.9999999996085831,3.9141681124949275e-10,3.178387462634103e-34
0.9999999572306377,4.2769362259033336e-08,4.464738091324565e-30
0.9999999442701566,5.5729843434679094e-08,2.42534312979154e-31
0.9999999874210209,1.2578978942402112e-08,3.5640965663896307e-31
0.9999981530249569,1.8469750430812138e-06,3.707749085235985e-28
0.9999999666178683,3.338213164539669e-08,7.073166255891587e-30
0.9999999997118512,2.881488878428387e-10,1.7533107888431656e-33
0.9999892049792308,1.0795020769328656e-05,1.364186889851729e-24
0.9999507421638754,4.925783612452921e-05,3.8839262041629766e-24
0.9999744335056772,2.5566494322937413e-05,5.620371111166851e-25
0.9999985671340436,1.4328659564776252e-06,1.6707394923390918e-26
0.9999998976032258,1.0239677407833136e-07,4.502657658075058e-30
0.9999999304918286,6.950817151533596e-08,2.383692849415579e-30
0.9999920046201605,7.995379839657691e-06,2.645737824491343e-25
0.9999845922665727,1.540773342725805e-05,5.762749267027543e-25
0.999999761096452,2.3890354795938817e-07,7.309239432163783e-29
0.9999999993128159,6.87184062227059e-10,8.329934595576558e-35
0.9999999999295004,7.049957421085779e-11,6.825747293132667e-37
0.9999959759967115,4.024003288425827e-06,2.808257769317375e-26
0.9999999568016559,4.3198344062401186e-08,3.332007115677717e-30
0.9999999939861923,6.0138076589226815e-09,4.787702052968878e-33
0.9999999816685675,1.833143237645697e-08,2.750379857143208e-31
0.9999982496708032,1.750329196870466e-06,8.988771642527921e-26
0.9999997338532596,2.661467404750065e-07,4.891565883348062e-29
0.9999999849346408,1.5065359067457497e-08,1.0851535950122903e-30
0.9994976361458576,0.000502363854142334,1.0577825471258365e-20
0.999999650552029,3.4944797099344184e-07,3.798706751098754e-27
0.9999990998053431,9.00194656927004e-07,5.716629089898314e-26
0.99999823752994,1.7624700599689836e-06,1.0365386296876606e-26
0.9999962383894838,3.7616105162237058e-06,1.3545552066673522e-25
0.9999999650244186,3.497558147029147e-08,8.027288574927873e-31
0.9999991457803321,8.542196678397908e-07,6.998321323704622e-27
0.9999999823971718,1.7602828280513e-08,8.520347769969286e-32
0.9999997901848771,2.0981512301601673e-07,5.783300240425897e-29
4.382065254928121e-11,0.9999983140594358,1.68589674360008e-06
1.637215510958652e-10,0.9999622368739842,3.7762962294215756e-05
1.3077490256127486e-12,0.9998117261974984,0.00018827380119381448
1.644400857917539e-11,0.9926673745914187,0.007332625392137218
2.2959538047738204e-12,0.9987800037058473,0.0012199962918567255
3.1980654475463227e-12,0.9931239427673907,0.006876057229411148
2.445676881958896e-11,0.9991079124835118,0.0008920874920314217
1.0668659638752099e-07,0.9999966621891961,3.231124207615464e-06
8.400731024030006e-12,0.9999753129098201,2.468708177912964e-05
7.355987254051809e-10,0.9971027734668078,0.0028972257975935847
4.5418893656740187e-10,0.9997088160556803,0.0002911834901306517
5.543935120812803e-10,0.9997833178197524,0.00021668162585421162
2.6071020329765837e-11,0.9999850095234162,1.4990450512839513e-05
1.0108421903663258e-12,0.993813409353652,0.006186590645337174
2.8566722031580005e-07,0.999999110432509,6.039002707243363e-07
4.4799177103208726e-10,0.9999987957906351,1.20376137321045e-06
9.55880521065383e-12,0.9677150100712552,0.032284989919186005
3.2919732808815307e-10,0.9999968147829397,3.184887862997323e-06
2.898035564204966e-14,0.7526666019110594,0.2473333980889117
4.4670003272810473e-10,0.9999753538473275,2.464570597254267e-05
6.915255205188705e-13,0.533179537124255,0.4668204628750535
2.2821459449156156e-09,0.9999969864214105,3.0112964435165997e-06
2.1168860886814942e-15,0.4990005197680022,0.5009994802319956
6.382826331487357e-13,0.9988583052513703,0.0011416947479913533
2.232296634693065e-10,0.9999957823867509,4.2173900194511865e-06
1.7235878600085334e-10,0.9999949684971771,5.0313304641742296e-06
3.926305987775783e-13,0.9996123758704373,0.0003876241291700853
8.902756812569053e-14,0.9524412551777602,0.04755874482215066
7.986463867669121e-12,0.9947252929682334,0.0052747070237802104
1.626816884163277e-07,0.9999998089098242,2.8408487378770415e-08
5.666240756921934e-10,0.9999630380591584,3.6961374217473226e-05
2.21527940825268e-09,0.9999961430141482,3.854770572364342e-06
2.545040523668701e-09,0.9999951435228271,4.853932132249239e-06
2.5429011690021988e-17,0.024161935690229737,0.9758380643097703
6.5192967496689396e-12,0.8901776566060715,0.10982234338740926
3.8004309260595815e-10,0.9996240362739834,0.00037596334597343544
1.0540806561100662e-11,0.999910354228682,8.964576077712866e-05
4.628296416343527e-13,0.9976225779440249,0.0023774220555123284
1.6410157031752265e-09,0.9999532849919851,4.6713366999162944e-05
8.284441430862833e-11,0.998438831170676,0.0015611687464795704
1.8403019571505572e-12,0.9875429197645286,0.012457080233631165
7.497572531730727e-12,0.9989733914822873,0.0010266085102151536
3.44902064557205e-10,0.9999705975362942,2.9402118803651603e-05
5.5361369528503677e-08,0.9999962925882904,3.6520503400221626e-06
4.434317180836529e-11,0.9986649294171032,0.0013350705385537028
6.854423803300245e-10,0.9999803217043154,1.967761024226815e-05
2.5825391300832706e-10,0.9998528658491874,0.00014713389255867023
1.655064370422146e-10,0.9999844043215379,1.5595512955658874e-05
9.733438182073301e-06,0.999990202667439,6.389437894306058e-08
3.8046210009111187e-10,0.9998852480680543,0.00011475155148350228
2.630504740303019e-26,2.708954671701968e-08,0.9999999729104533
7.692933254374432e-20,0.0001643711524823443,0.9998356288475176
3.5992152822374784e-22,0.00019263290935533946,0.9998073670906447
6.297308465527003e-21,0.0004177510059285273,0.9995822489940713
6.534777959458173e-24,3.08624324998406e-06,0.99999691375675
3.6162911728710705e-27,3.879638142410987e-06,0.9999961203618576
2.3556897571116552e-17,0.000536498262017562,0.9994635017379824
3.515168927331411e-24,0.00022125022609590113,0.9997787497739041
3.314935484238581e-24,3.296763458394125e-05,0.9999670323654161
4.553948974156242e-22,3.5889638248750964e-05,0.9999641103617513
1.1615642170825326e-14,0.18393730541956166,0.8160626945804267
1.1294708369009157e-19,0.0010691806966337892,0.9989308193033662
2.300105688835277e-19,0.001631891263610473,0.9983681087363895
3.2791763202395763e-21,1.4658269467508527e-05,0.9999853417305324
3.311589756286025e-22,7.411397745212391e-07,0.9999992588602256
1.111256763201079e-18,0.00037037787970739023,0.9996296221202926
1.3914459894420945e-18,0.009274885769220656,0.9907251142307794
6.751821385831712e-23,0.0003873919186970103,0.9996126080813029
1.1170273100245603e-33,1.3045441555429451e-09,0.9999999986954559
3.5690398290323863e-19,0.004870562087518293,0.9951294379124817
8.662285191048286e-21,0.00016147684777847684,0.9998385231522214
1.5526693365287038e-18,0.0002180905637973988,0.9997819094362026
1.5153957873176522e-28,1.949598820357743e-06,0.9999980504011796
1.3199232235919696e-15,0.1035651590279217,0.8964348409720769
1.4048119482502334e-19,0.0011224308458973897,0.9988775691541026
1.37081284867025e-19,0.024941179244499154,0.9750588207555009
2.160614595356589e-14,0.26682105748958695,0.7331789425103914
2.5727642094189276e-14,0.24287920440579577,0.7571207955941784
4.259424199284416e-23,9.078531924421914e-06,0.9999909214680756
5.574217198420739e-18,0.3323703754447086,0.6676296245552914
3.339142160835333e-23,0.0004418108803491268,0.9995581891196509
3.1816877999983585e-18,0.26859476631223594,0.731405233687764
1.044051379051139e-23,2.638677875782081e-06,0.9999973613221241
2.4864708270961078e-15,0.5683538627455295,0.4316461372544681
3.035314590942123e-21,0.0015399476637004477,0.9984600523362995
3.1780307012095904e-23,0.00010595531478346401,0.9998940446852166
3.7213727744276304e-21,1.2221367289481766e-05,0.9999877786327105
3.027109035797686e-18,0.010470499638305267,0.9895295003616947
9.543906842892614e-14,0.3173680754746796,0.682631924525225
2.2568150765943808e-17,0.01868465638655974,0.9813153436134402
8.042470195682294e-22,1.6276036937557344e-05,0.9999837239630625
1.0358893157370788e-15,0.03364682060144668,0.9663531793985523
7.692933254374432e-20,0.0001643711524823443,0.9998356288475176
4.594613398874097e-23,1.0812633156026014e-05,0.999989187366844
5.076626021020648e-22,8.018916016737216e-06,0.9999919810839832
4.80093911920432e-18,0.0015519481179664492,0.9984480518820336
1.6556765233609063e-18,0.002543884732246182,0.9974561152677538
6.436227070146343e-17,0.016831201197662474,0.9831687988023374
5.738819658358828e-19,0.00016981137895534724,0.9998301886210447
7.98023752641377e-17,0.011045284586695488,0.9889547154133044
0.9999999639310913,3.6068908838570315e-08,1.0943699794175342e-30
0.9999972684543477,2.73154565238643e-06,1.4866847323396777e-26
0.9999997769077582,2.230922418037321e-07,3.410330381298708e-28
0.9999936968818555,6.303118144497076e-06,3.1280619728203544e-25
0.9999999812832631,1.871673697536705e-08,5.024328671243179e-31
0.9999999537494609,4.625053911781011e-08,2.2657489592738617e-30
0.9999997977764172,2.0222358275978537e-07,1.2065929800842883e-27
0.9999996909084233,3.090915766421356e-07,1.092431828717001e-28
0.9999870847405274,1.291525947269723e-05,4.0177169260203685e-24
0.9999966064142499,3.3935857501284654e-06,6.883438291888361e-27
0.9999999848428895,1.5157110494756868e-08,3.8151433962232216e-32
0.9999986255209743,1.3744790256171355e-06,5.006544006946942e-27
0.9999973246860673,2.675313932748602e-06,8.138297148404806e-27
0.9999998422940712,1.5770592864742574e-07,5.827914759553453e-28
0.999999999979261,2.073898672925394e-11,1.7174082238851142e-38
0.9999999999516234,4.837661542970143e-11,8.845186342360186e-37
0.9999999996085831,3.914168112438024e-10,3.1783874623415974e-34
0.9999999572306377,4.2769362258567316e-08,4.464738090974778e-30
0.9999999442701566,5.572984343405126e-08,2.425343129599253e-31
0.9999999874210209,1.2578978942268087e-08,3.564096566099818e-31
0.9999981530249569,1.8469750430649275e-06,3.7077490849812544e-28
0.9999999666178683,3.338213164506485e-08,7.0731662553289e-30
0.9999999997118512,2.881488878388237e-10,1.7533107886868674e-33
0.9999892049792308,1.079502076926574e-05,1.3641868897624747e-24
0.9999507421638756,4.9257836124363674e-05,3.8839262039370135e-24
0.9999744335056772,2.5566494322765835e-05,5.620371110824726e-25
0.9999985671340436,1.432865956467238e-06,1.6707394922228002e-26
0.9999998976032258,1.0239677407724946e-07,4.5026576577346494e-30
0.9999999304918286,6.950817151453932e-08,2.3836928492326576e-30
0.9999920046201605,7.995379839610964e-06,2.64573782432514e-25
0.9999845922665729,1.540773342716516e-05,5.76274926667315e-25
0.999999761096452,2.389035479568839e-07,7.309239431611399e-29
0.9999999993128159,6.871840622181894e-10,8.329934594847483e-35
0.9999999999295004,7.049957420975925e-11,6.825747292483351e-37
0.9999959759967118,4.0240032883946335e-06,2.8082577691338805e-26
0.9999999568016559,4.319834406187324e-08,3.3320071154193246e-30
0.9999999939861923,6.0138076588353825e-09,4.787702052566572e-33
0.9999999816685675,1.8331432376255664e-08,2.750379856927653e-31
0.9999982496708032,1.7503291968576497e-06,8.988771641934002e-26
0.9999997338532596,2.661467404724138e-07,4.8915658829914585e-29
0.9999999849346408,1.5065359067282638e-08,1.0851535949246375e-30
0.9994976361458603,0.0005023638541397418,1.0577825470699728e-20
0.999999650552029,3.4944797099065595e-07,3.7987067508323216e-27
0.9999990998053431,9.001946569208748e-07,5.716629089485502e-26
0.99999823752994,1.7624700599594507e-06,1.0365386296161163e-26
0.9999962383894838,3.761610516194572e-06,1.354555206577881e-25
0.9999999650244186,3.497558146994802e-08,8.027288574302744e-31
0.9999991457803321,8.542196678331537e-07,6.99832132322596e-27
0.9999999823971718,1.7602828280306625e-08,8.520347769284328e-32
0.9999997901848771,2.0981512301389377e-07,5.783300240002066e-29
4.3820652548194705e-11,0.9999983140594358,1.6858967435833634e-06
1.6372155109164481e-10,0.9999622368739848,3.77629622937159e-05
1.3077490255755626e-12,0.9998117261974993,0.0001882738011929063
1.6444008578741498e-11,0.9926673745914504,0.007332625392105618
2.295953804710047e-12,0.998780003705853,0.00121999629185102
3.1980654474509413e-12,0.9931239427674157,0.006876057229386208
2.4456768818885507e-11,0.9991079124835223,0.0008920874920211052
1.0668659638544427e-07,0.9999966621891959,3.2311242075627506e-06
8.400731023810016e-12,0.9999753129098203,2.4687081779000105e-05
7.35598725386228e-10,0.9971027734668457,0.0028972257975554976
4.5418893655709344e-10,0.9997088160556822,0.0002911834901289578
5.543935120672506e-10,0.9997833178197554,0.00021668162585104838
2.607102032916443e-11,0.9999850095234161,1.4990450512815544e-05
1.0108421903356933e-12,0.9938134093536705,0.00618659064531876
2.8566722031034553e-07,0.999999110432509,6.039002707107415e-07
4.479917710217882e-10,0.9999987957906351,1.2037613731943403e-06
9.558805210365089e-12,0.9677150100715113,0.03228498991892994
3.291973280803627e-10,0.9999968147829397,3.1848878629723616e-06
2.8980355641148454e-14,0.7526666019102677,0.24733339808970334
4.467000327177052e-10,0.9999753538473276,2.4645705972332224e-05
6.915255204987206e-13,0.5331795371263658,0.4668204628729427
2.2821459448659633e-09,0.9999969864214105,3.0112964434741277e-06
2.116886088603686e-15,0.49900051976634313,0.5009994802336548
6.382826331296648e-13,0.9988583052513703,0.0011416947479914263
2.2322966346404768e-10,0.9999957823867508,4.217390019406342e-06
1.7235878599674757e-10,0.9999949684971771,5.031330464116512e-06
3.926305987664597e-13,0.9996123758704375,0.0003876241291697839
8.902756812287315e-14,0.9524412551778564,0.047558744822054584
7.986463867439603e-12,0.9947252929682716,0.005274707023741847
1.6268168841352867e-07,0.9999998089098242,2.8408487378273048e-08
5.666240756792215e-10,0.9999630380591588,3.696137421715671e-05
2.2152794082055064e-09,0.9999961430141483,3.854770572326504e-06
2.545040523612706e-09,0.9999951435228273,4.853932132185969e-06
2.542901168890478e-17,0.024161935690064713,0.9758380643099354
6.51929674946927e-12,0.8901776566068341,0.10982234338664654
3.800430925954952e-10,0.9996240362739897,0.00037596334596722144
1.0540806560815912e-11,0.9999103542286828,8.964576077638666e-05
4.628296416217455e-13,0.9976225779440206,0.0023774220555165416
1.6410157031344525e-09,0.9999532849919858,4.671336699848255e-05
8.284441430649431e-11,0.9984388311706881,0.0015611687464674538
1.840301957095525e-12,0.9875429197645418,0.012457080233617834
7.497572531514993e-12,0.998973391482294,0.001026608510208373
3.4490206454908603e-10,0.9999705975362946,2.940211880337564e-05
5.53613695274357e-08,0.9999962925882905,3.652050339968046e-06
4.4343171807166875e-11,0.9986649294171132,0.0013350705385436798
6.85442380312769e-10,0.9999803217043156,1.9677610242028365e-05
2.5825391300164344e-10,0.999852865849189,0.00014713389255702964
1.6550643703814865e-10,0.9999844043215381,1.5595512955499476e-05
9.733438181928533e-06,0.9999902026674392,6.389437894146956e-08
3.804621000816047e-10,0.9998852480680558,0.00011475155148219785
2.6305047401571736e-26,2.7089546716818536e-08,0.9999999729104533
7.692933254031054e-20,0.00016437115248146153,0.9998356288475185
3.599215282043329e-22,0.00019263290935307874,0.999807367090647
6.297308465193056e-21,0.0004177510059238245,0.9995822489940762
6.534777959100549e-24,3.0862432499521966e-06,0.9999969137567499
3.616291172609236e-27,3.879638142316986e-06,0.9999961203618576
2.3556897570249683e-17,0.0005364982620173524,0.9994635017379825
3.51516892709245e-24,0.00022125022609086373,0.9997787497739091
3.3149354840243365e-24,3.296763458324415e-05,0.9999670323654167
4.5539489739460785e-22,3.588963824866299e-05,0.9999641103617513
1.1615642170474643e-14,0.18393730542034983,0.8160626945796385
1.1294708368481828e-19,0.001069180696625214,0.9989308193033748
2.300105688735339e-19,0.0016318912636029599,0.998368108736397
3.279176320088756e-21,1.4658269467414686e-05,0.9999853417305327
3.3115897561497844e-22,7.411397745210284e-07,0.9999992588602254
1.1112567631617873e-18,0.0003703778797085767,0.9996296221202915
1.3914459893775673e-18,0.009274885769154256,0.9907251142308459
6.751821385438257e-23,0.0003873919186925143,0.9996126080813075
1.1170273099254754e-33,1.304544155496858e-09,0.9999999986954559
3.5690398288490074e-19,0.0048705620874489345,0.9951294379125512
8.662285190663732e-21,0.00016147684777791246,0.9998385231522221
1.55266933647053e-18,0.0002180905637974933,0.9997819094362025
1.515395787197659e-28,1.9495988202992016e-06,0.9999980504011797
1.3199232235457668e-15,0.10356515902780955,0.8964348409721892
1.4048119481879327e-19,0.0011224308458934304,0.9988775691541065
1.370812848597786e-19,0.024941179244205917,0.9750588207557941
2.1606145952890907e-14,0.2668210574900255,0.7331789425099529
2.5727642093384085e-14,0.2428792044064419,0.7571207955935324
4.2594241990564595e-23,9.07853192432412e-06,0.9999909214680757
5.574217198157506e-18,0.3323703754418295,0.6676296245581704
3.339142160625814e-23,0.0004418108803404004,0.9995581891196597
3.1816877998514274e-18,0.2685947663109071,0.7314052336890929
1.0440513789955602e-23,2.63867787575542e-06,0.9999973613221244
2.4864708270036434e-15,0.5683538627442186,0.43164613725577894
3.035314590754839e-21,0.0015399476636704693,0.9984600523363295
3.1780307010335513e-23,0.00010595531478208264,0.9998940446852179
3.721372774274585e-21,1.2221367289497832e-05,0.9999877786327105
3.027109035661244e-18,0.010470499638245786,0.9895295003617542
9.543906842609595e-14,0.3173680754758195,0.6826319245240852
2.2568150765096168e-17,0.018684656386545803,0.9813153436134543
8.042470195325023e-22,1.6276036937508195e-05,0.9999837239630626
1.0358893157083126e-15,0.033646820601654144,0.9663531793983449
7.692933254031054e-20,0.00016437115248146153,0.9998356288475185
4.594613398637931e-23,1.081263315594427e-05,0.9999891873668441
5.076626020801369e-22,8.018916016730494e-06,0.9999919810839832
4.800939119040288e-18,0.0015519481179700272,0.9984480518820299
1.65567652329131e-18,0.0025438847322312714,0.9974561152677687
6.436227069911794e-17,0.01683120119766083,0.9831687988023391
5.738819658153146e-19,0.00016981137895607587,0.999830188621044
7.980237526109678e-17,0.011045284586687649,0.9889547154133123
Binary file modified pmml-statsmodels/src/test/resources/pkl/LogitFormulaAudit.pkl
Binary file not shown.
Binary file modified pmml-statsmodels/src/test/resources/pkl/LogitLassoFormulaAudit.pkl
Binary file not shown.
Binary file modified pmml-statsmodels/src/test/resources/pkl/MNLogitConstIris.pkl
Binary file not shown.
Binary file modified pmml-statsmodels/src/test/resources/pkl/OrderedLogitAuto.pkl
Binary file not shown.
Binary file modified pmml-statsmodels/src/test/resources/pkl/OrderedProbitAuto.pkl
Binary file not shown.

0 comments on commit 2686c25

Please sign in to comment.