zhengruifeng commented on pull request #31657: URL: https://github.com/apache/spark/pull/31657#issuecomment-786405671
log for second commit (LBFGS with unit std vec): ``` [info] LogisticRegressionSuite: featuresMean: [0.4999142959117828,1.4847274177074965] featuresStd: [0.28501348037270735,0.28375633081273305] optimizer: breeze.optimize.LBFGS@624d4b69 initialCoefWithInterceptMatrix 0.0 0.0 -3.548107045716773 gradient: [-6.57041694534459E-4,-4.370107454830405E-4,3.625153510711243E-16] solution: 0.0,0.0,-3.548107045716773 gradient: [0.037486046426067406,0.09987861275241,0.06507239621227094] gradient: [0.0013405594990216123,0.005019022157632213,0.0035834830790336973] gradient: [-3.210682348387613E-4,4.8377771610451234E-4,6.054237842405305E-4] solution: 0.014805700695282229,0.009847549024766982,-3.548107045716781 gradient: [-3.0439342146747623E-4,4.583018612212477E-4,5.881840414461824E-4] gradient: [-2.960154039993151E-4,4.457188384476876E-4,5.796684709803373E-4] gradient: [-2.8339754836559654E-4,4.270376956658465E-4,5.670253289058287E-4] gradient: [-2.643562412798169E-4,3.9945054731613526E-4,5.483532130856691E-4] solution: 0.05271369323095594,0.010180670435029071,-3.5697082151460187 gradient: [1.1037417136010827E-4,-8.7704283467311E-6,2.1570716372172727E-4] solution: 0.2971472561219698,0.05005170605291687,-3.76653674223476 gradient: [8.037837845700428E-5,-1.0875323550967706E-4,8.098851723631143E-5] solution: 0.3156740085496769,0.0960039248572748,-3.849640027204097 gradient: [1.2475582765711754E-5,-6.506116783877217E-5,-3.145661083981624E-5] solution: 0.3120252467428481,0.19284879886445705,-3.9967027342507913 gradient: [-9.952686706791347E-8,-3.7266622659746237E-6,-2.48899982200976E-6] solution: 0.29943354035110287,0.20097832760243223,-4.0012388018408505 gradient: [-3.116152416004958E-8,-9.911977248879821E-8,-1.0046797058538637E-7] solution: 0.29889640759752595,0.2009961607263976,-4.000896894654767 gradient: [-2.5794348819250245E-9,-2.807803823943189E-9,-3.89839012736548E-9] solution: 0.2988863273085957,0.2009739013083474,-4.000854686053599 Just the blr data Coefficients: [0.2988863273085957,0.2009739013083474] Intercept: -4.000854686053599 objectives: 0.12762747240529596,0.1276204351259814,0.12759702629942907,0.12751125093754292,0.1274979961754713,0.12748578824275672,0.12748550756610177,0.12748550712444337,0.12748550712354415 featuresMean: [0.4999142959117828,1.4847274177074965,0.9899999976158129] featuresStd: [0.28501348037270735,0.28375633081273305,0.03000002215257344] optimizer: breeze.optimize.LBFGS@3af3aac9 initialCoefWithInterceptMatrix 0.0 0.0 0.0 -3.548107045716773 gradient: [-6.57041694534459E-4,-4.370107454830405E-4,-1.3400003191621544E-6,3.625153510711243E-16] solution: 0.0,0.0,0.0,-3.548107045716773 gradient: [0.0375640994399445,0.10009275463877076,0.06456907958057753,0.06521326011205325] gradient: [0.0013431585739733982,0.005026663543417702,0.0035517611882163154,0.003588615786464317] gradient: [-3.215209510861858E-4,4.8263111134848026E-4,5.973629602699559E-4,6.046895719797653E-4] solution: 0.01476791598861038,0.009822417708188631,3.0118350635448057E-5,-3.548107045716781 gradient: [-3.0478851559377266E-4,4.57239850921697E-4,5.772211350909403E-4,5.84407120749076E-4] gradient: [-2.963752657802199E-4,4.4472367632075234E-4,5.672715430191644E-4,5.743885213481228E-4] gradient: [-2.836965233322361E-4,4.261734557453568E-4,5.524985845169208E-4,5.595136829010668E-4] gradient: [-2.6454577178281114E-4,3.988515626222023E-4,5.306793422089565E-4,5.375452880291062E-4] solution: 0.05511550800937802,0.01710393453944099,-0.016677593371711107,-3.5650843362532716 gradient: [1.122620493222393E-4,1.69351977375603E-5,1.5461916575593314E-4,1.5985737926524723E-4] solution: 0.3117402674013613,0.09950259002347643,-0.15018496930807412,-3.701229449303286 gradient: [5.7819864364046636E-5,-7.931161977957402E-5,3.052582029483142E-5,3.539355570733648E-5] solution: 0.3168790579367132,0.1403905504150381,-0.183731576240573,-3.7363532715032655 gradient: [1.4743302769282955E-6,-4.000320616425612E-5,-2.574634225776826E-5,-2.0316982900646382E-5] solution: 0.3048717507346099,0.19644631102165389,-0.22246194509495965,-3.7777168113808957 gradient: [-2.5616048474991257E-7,-2.372110642287623E-6,-4.559378512450379E-6,1.0723439402145586E-6] solution: 0.2990006716083257,0.19896032820137124,-0.22049520055803037,-3.779576550575493 gradient: [-1.072006751766814E-7,3.9679441851170695E-6,-5.737911080290558E-7,5.084563288675078E-6] solution: 0.29811334334195977,0.19910403616747102,-0.21973735720023457,-3.7799308768290003 gradient: [3.618859048673073E-8,8.206222113082688E-6,2.13322674141024E-6,7.79891010998962E-6] solution: 0.297531502541459,0.19917841684840484,-0.21879905742916328,-3.780567305589414 gradient: [3.6852929213999983E-7,1.7741352737281727E-5,8.249230339804676E-6,1.3897083500686726E-5] solution: 0.29622627778017097,0.1993527398955799,-0.2153077894880589,-3.7833783254400823 gradient: [8.254793243916722E-7,3.071202613148222E-5,1.6615489032990666E-5,2.21559308999365E-5] solution: 0.29445516565452834,0.19961774108021677,-0.20721805867900145,-3.7905545792375985 gradient: [1.5080967889392268E-6,4.977822599483974E-5,2.9035602520753182E-5,3.419577850491083E-5] solution: 0.29186249825145566,0.20008357593356302,-0.18638360403308213,-3.8100801690608113 gradient: [-2.139171072656502E-6,5.9997546816326555E-5,3.601975366950968E-5,4.0150239634130885E-5] solution: 0.2886944694406605,0.20069510694788137,-0.14160520321069647,-3.853450857476339 gradient: [3.123679943973452E-4,7.907503811127178E-4,5.128227009677784E-4,5.177968792483155E-4] gradient: [2.8981152652879608E-5,1.3236434987216522E-4,8.32425434606449E-5,8.745638600883705E-5] gradient: [1.3600885471268874E-5,9.660091385737042E-5,5.9905328147155285E-5,6.407797059835396E-5] solution: 0.29015461068533377,0.2010356194419702,-0.13381092420066193,-3.861560850089791 gradient: [5.091219156568055E-6,7.989698985274619E-5,4.981018678515008E-5,5.2140942545909776E-5] solution: 0.2889644212440831,0.20163892576562398,-0.06356777616471686,-3.9318202217639624 gradient: [-1.638896583274934E-6,3.747714583515104E-5,2.3651306704564094E-5,2.4007865486593508E-5] solution: 0.2924268470215754,0.20161472261417557,0.004930175160276287,-4.002439055205999 gradient: [-1.8578618848861786E-6,6.817288074784309E-6,4.483800044275091E-6,4.259816139215184E-6] solution: 0.29698477338513346,0.20117557716679002,0.019736460334381693,-4.019546524444534 gradient: [-4.219129886512096E-7,-3.681974822385454E-7,-1.0021405022092011E-7,-1.8844565476086215E-7] solution: 0.2987125076693035,0.20094278788708111,0.011979589384142555,-4.012584276406878 gradient: [-1.0284521554295267E-8,-2.1540999252404E-7,-4.0695946408031426E-8,-4.998402444867711E-8] solution: 0.2988739578020278,0.20091572751874073,0.008760941746385165,-4.009436371951801 gradient: [-1.2109268655921212E-8,3.9794101315701264E-8,-2.381728513298409E-8,-2.3388013236742997E-8] solution: 0.298868144564205,0.20101389459979044,0.008381706578824933,-4.009204134794202 blr data plus one vector that is filled with 1's and .9's Coefficients: [0.298868144564205,0.20101389459979044,0.008381706578824933] Intercept: -4.009204134794202 objectives: 0.12762747240529596,0.12762045312494819,0.1275927219403859,0.12749768996089272,0.12749032155264528,0.1274862204790816,0.12748615171112732,0.12748614895106744,0.1274861460563986,0.12748613568361433,0.12748611225740603,0.1274860533859962,0.12748593227948832,0.1274859184947711,0.12748573132604268,0.12748556318255125,0.12748551199276867,0.1274855064445357,0.12748550626898617,0.12748550626422303 ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org