lab05, lab07
This commit is contained in:
parent
d9b911b767
commit
03a8b1321e
@ -1,5 +1,7 @@
|
|||||||
FROM ubuntu:latest
|
FROM ubuntu:latest
|
||||||
|
|
||||||
RUN apt update && apt install -y python3-pip && pip3 install scikit-learn datasets
|
RUN apt update && apt install -y python3-pip && pip3 install scikit-learn datasets torch pandas
|
||||||
|
|
||||||
ENV HF_HOME="/tmp/hf"
|
ENV HF_HOME="/tmp/hf"
|
||||||
|
|
||||||
|
COPY . .
|
94
dev.data
Normal file
94
dev.data
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
,age,is_male,total_bilirubin,direct_ribilubin,alkaline_phosphotase,alamine_aminotransferasi,aspartate_aminotransferase,total_proteins,albumin,albumin_to_globulin_ratio,class
|
||||||
|
582,0.40322580645161293,True,0.01809954751131222,0.01709401709401709,0.0691747572815534,0.005527638190954774,0.00408997955010225,0.7254901960784315,0.7317073170731709,0.8461538461538465,1
|
||||||
|
453,0.532258064516129,True,0.004524886877828056,0.008547008547008546,0.07402912621359223,0.015075376884422113,0.0037491479209270625,0.6862745098039216,0.39024390243902446,0.23076923076923078,0
|
||||||
|
89,0.7580645161290323,True,0.15384615384615385,0.15384615384615383,0.08252427184466019,0.05477386934673367,0.11520109066121337,0.6862745098039216,0.4634146341463415,0.30769230769230776,0
|
||||||
|
71,1.0,False,0.009049773755656108,0.008547008547008546,0.05218446601941747,0.0050251256281407045,0.005794137695978187,0.1568627450980392,0.09756097560975613,0.15384615384615385,0
|
||||||
|
124,0.24193548387096775,True,0.0,0.0,0.04550970873786408,0.013065326633165831,0.005794137695978187,0.6470588235294119,0.6585365853658536,0.7692307692307694,1
|
||||||
|
178,1.0,True,0.4524886877828055,0.4188034188034187,0.279126213592233,0.0135678391959799,0.005794137695978187,0.2941176470588234,0.09756097560975613,0.07692307692307693,0
|
||||||
|
377,0.11290322580645162,False,0.0,0.008547008547008546,0.06067961165048543,0.0010050251256281404,0.0003408316291751874,0.4901960784313726,0.39024390243902446,0.38461538461538475,1
|
||||||
|
540,0.46774193548387094,True,0.009049773755656108,0.008547008547008546,0.007281553398058256,0.005527638190954774,0.0037491479209270625,0.6666666666666667,0.39024390243902446,0.23076923076923078,1
|
||||||
|
194,0.5806451612903225,True,0.06334841628959277,0.04273504273504273,0.06492718446601942,0.019095477386934675,0.006816632583503749,0.41176470588235303,0.39024390243902446,0.5384615384615385,1
|
||||||
|
123,0.8225806451612903,False,0.009049773755656108,0.008547008547008546,0.04611650485436893,0.0035175879396984917,0.0020449897750511245,0.5294117647058822,0.4146341463414635,0.38461538461538475,0
|
||||||
|
280,0.7258064516129032,True,0.009049773755656108,0.008547008547008546,0.012742718446601943,0.023115577889447236,0.01226993865030675,0.47058823529411775,0.39024390243902446,0.4615384615384616,0
|
||||||
|
411,0.16129032258064518,False,0.07692307692307693,0.059829059829059825,0.24696601941747567,0.009045226130653266,0.010906612133605997,0.6470588235294119,0.3658536585365854,0.23076923076923078,1
|
||||||
|
518,0.5161290322580645,True,0.10407239819004525,0.11111111111111109,0.06553398058252427,0.032160804020100506,0.0190865712338105,0.7058823529411766,0.5365853658536586,0.4615384615384616,0
|
||||||
|
352,0.2096774193548387,False,0.004524886877828056,0.008547008547008546,0.02548543689320388,0.013065326633165831,0.007157464212678937,0.9019607843137254,0.7073170731707317,0.5384615384615385,0
|
||||||
|
164,0.41935483870967744,True,0.05882352941176472,0.06837606837606837,0.04733009708737864,0.016080402010050253,0.017041581458759374,0.7450980392156863,0.7073170731707317,0.753846153846154,0
|
||||||
|
481,0.5161290322580645,True,0.07692307692307693,0.10256410256410256,0.10922330097087377,0.061306532663316586,0.12133605998636675,0.7254901960784315,0.6341463414634148,0.6153846153846154,0
|
||||||
|
34,0.40322580645161293,False,0.0904977375565611,0.094017094017094,0.18689320388349512,0.02462311557788945,0.015337423312883437,0.392156862745098,0.39024390243902446,0.30769230769230776,1
|
||||||
|
232,0.596774193548387,True,0.09502262443438916,0.1282051282051282,0.03337378640776698,0.06984924623115579,0.049079754601226995,0.8431372549019609,0.4146341463414635,0.15384615384615385,0
|
||||||
|
552,0.5161290322580645,True,0.0,0.0,0.057038834951456306,0.009547738693467337,0.006134969325153374,0.43137254901960786,0.3658536585365854,0.4615384615384616,0
|
||||||
|
77,0.8870967741935483,False,0.0,0.0,0.9211165048543688,0.042713567839195984,0.039195637355146556,0.19607843137254888,0.17073170731707327,0.30769230769230776,0
|
||||||
|
56,0.3225806451612903,True,0.009049773755656108,0.008547008547008546,0.058252427184466014,0.008040201005025126,0.0037491479209270625,0.8627450980392157,0.6341463414634148,0.4615384615384616,1
|
||||||
|
92,0.7580645161290323,True,0.3619909502262444,0.33333333333333326,0.11893203883495143,0.20201005025125632,0.28561690524880706,0.7450980392156863,0.39024390243902446,0.15384615384615385,0
|
||||||
|
543,0.43548387096774194,True,0.02714932126696833,0.04273504273504273,0.06189320388349514,0.0065326633165829154,0.005112474437627812,0.784313725490196,0.6341463414634148,0.5384615384615385,0
|
||||||
|
185,0.40322580645161293,True,0.0407239819004525,0.02564102564102564,0.11893203883495143,0.02512562814070352,0.03101567825494206,0.47058823529411775,0.39024390243902446,0.4615384615384616,1
|
||||||
|
21,0.6129032258064515,True,0.10407239819004525,0.10256410256410256,0.23058252427184464,0.006030150753768844,0.007498295841854124,0.6666666666666667,0.2439024390243903,0.07692307692307693,0
|
||||||
|
283,0.08064516129032256,True,0.03167420814479638,0.05128205128205127,0.1298543689320388,0.0,0.0030674846625766868,0.47058823529411775,0.17073170731707327,0.07692307692307693,1
|
||||||
|
67,0.38709677419354843,True,0.05429864253393667,0.059829059829059825,0.06856796116504854,0.021608040201005027,0.015678254942058625,0.5490196078431373,0.5853658536585367,0.7692307692307694,0
|
||||||
|
22,0.7903225806451613,True,0.28054298642533937,0.24786324786324784,0.2669902912621359,0.05326633165829146,0.018404907975460124,0.5490196078431373,0.4146341463414635,0.38461538461538475,0
|
||||||
|
223,0.596774193548387,True,0.022624434389140278,0.01709401709401709,0.04429611650485437,0.0050251256281407045,0.002385821404226312,0.6862745098039216,0.7560975609756098,1.0000000000000002,1
|
||||||
|
216,0.6774193548387097,True,0.013574660633484167,0.008547008547008546,0.008495145631067964,0.013065326633165831,0.0013633265167007497,0.5098039215686274,0.43902439024390255,0.4615384615384616,1
|
||||||
|
565,0.48387096774193544,True,0.990950226244344,1.0,0.024878640776699025,0.006030150753768844,0.04464894342194956,0.588235294117647,0.17073170731707327,0.046153846153846156,0
|
||||||
|
399,0.22580645161290325,True,0.01809954751131222,0.008547008547008546,0.06249999999999999,0.06381909547738693,0.04533060668029994,0.47058823529411775,0.39024390243902446,0.4615384615384616,0
|
||||||
|
19,0.43548387096774194,False,0.013574660633484167,0.01709401709401709,0.11589805825242716,0.11155778894472362,0.07941376959781868,0.6274509803921569,0.4146341463414635,0.30769230769230776,0
|
||||||
|
478,0.3225806451612903,True,0.29411764705882354,0.30769230769230765,0.057038834951456306,0.3075376884422111,0.16530334014996592,0.6470588235294119,0.5365853658536586,0.5307692307692309,0
|
||||||
|
144,0.5161290322580645,False,0.13122171945701358,0.11965811965811965,0.05279126213592233,0.02663316582914573,0.02556237218813906,0.392156862745098,0.3658536585365854,0.4615384615384616,0
|
||||||
|
255,0.40322580645161293,True,0.0497737556561086,0.05128205128205127,0.4593446601941747,0.03969849246231156,0.01226993865030675,0.47058823529411775,0.39024390243902446,0.4615384615384616,0
|
||||||
|
429,0.967741935483871,True,0.05882352941176472,0.05128205128205127,0.9999999999999998,0.04623115577889448,0.04396728016359919,0.37254901960784315,0.14634146341463417,0.07692307692307693,0
|
||||||
|
555,0.6774193548387097,True,0.009049773755656108,0.008547008547008546,0.1140776699029126,0.0648241206030151,0.02556237218813906,0.6666666666666667,0.39024390243902446,0.23076923076923078,0
|
||||||
|
189,0.564516129032258,False,0.009049773755656108,0.008547008547008546,0.0703883495145631,0.011055276381909548,0.0054533060668029995,0.3137254901960784,0.26829268292682934,0.38461538461538475,1
|
||||||
|
25,0.3387096774193548,True,0.1583710407239819,0.16239316239316237,0.11347087378640774,0.4346733668341709,0.24505794137695977,0.27450980392156854,0.31707317073170743,0.5384615384615385,0
|
||||||
|
428,0.629032258064516,False,0.0,0.0,0.0558252427184466,0.0,0.0,0.6470588235294119,0.4634146341463415,0.38461538461538475,1
|
||||||
|
66,0.6612903225806452,True,0.07239819004524889,0.094017094017094,0.05643203883495145,0.022613065326633167,0.02828902522154056,0.47058823529411775,0.5609756097560976,0.9230769230769234,0
|
||||||
|
154,0.3387096774193548,True,0.23981900452488691,0.2051282051282051,0.1140776699029126,0.017587939698492462,0.07532379004771643,0.392156862745098,0.31707317073170743,0.38461538461538475,0
|
||||||
|
508,0.532258064516129,True,0.8054298642533937,0.7179487179487178,0.2111650485436893,0.05477386934673367,0.07430129516019086,0.7647058823529411,0.4634146341463415,0.23076923076923078,0
|
||||||
|
293,0.16129032258064518,True,0.022624434389140278,0.034188034188034185,0.054004854368932036,0.0135678391959799,0.009884117246080435,0.803921568627451,0.7073170731707317,0.6153846153846154,1
|
||||||
|
551,0.25806451612903225,True,0.02714932126696833,0.02564102564102564,0.035194174757281545,0.0050251256281407045,0.003408316291751874,0.5098039215686274,0.39024390243902446,0.38461538461538475,1
|
||||||
|
20,0.6129032258064515,True,0.07239819004524889,0.07692307692307691,0.308252427184466,0.0035175879396984917,0.0054533060668029995,0.7254901960784315,0.2926829268292684,0.11538461538461542,0
|
||||||
|
580,0.629032258064516,True,0.009049773755656108,0.008547008547008546,0.08677184466019416,0.019095477386934675,0.012610770279481938,0.5490196078431373,0.43902439024390255,0.4615384615384616,0
|
||||||
|
246,0.6774193548387097,True,0.05429864253393667,0.7606837606837606,0.10315533980582522,0.006030150753768844,0.02283571915473756,0.4901960784313726,0.31707317073170743,0.23076923076923078,0
|
||||||
|
372,0.564516129032258,True,0.004524886877828056,0.008547008547008546,0.13592233009708737,0.009547738693467337,0.001704158145875937,1.0,1.0,1.0000000000000002,0
|
||||||
|
28,0.11290322580645162,True,0.022624434389140278,0.034188034188034185,0.015776699029126214,0.0050251256281407045,0.006134969325153374,0.05882352941176461,0.12195121951219512,0.4230769230769231,1
|
||||||
|
310,0.6129032258064515,True,0.009049773755656108,0.008547008547008546,0.04429611650485437,0.019095477386934675,0.003408316291751874,0.8823529411764706,0.7804878048780488,0.6923076923076925,0
|
||||||
|
85,0.01612903225806453,True,0.036199095022624445,0.034188034188034185,0.10133495145631066,0.02412060301507538,0.011247443762781185,0.607843137254902,0.6097560975609757,0.7692307692307694,0
|
||||||
|
392,0.45161290322580644,True,0.31221719457013575,0.35897435897435886,0.02851941747572815,0.042211055276381915,0.027266530334015,0.5294117647058822,0.4146341463414635,0.38461538461538475,0
|
||||||
|
221,0.5483870967741935,True,0.013574660633484167,0.008547008547008546,0.05461165048543689,0.01407035175879397,0.00408997955010225,0.7254901960784315,0.7073170731707317,0.7692307692307694,0
|
||||||
|
234,0.43548387096774194,False,0.013574660633484167,0.008547008547008546,0.11104368932038833,0.011055276381909548,0.005112474437627812,0.803921568627451,0.5121951219512195,0.30769230769230776,0
|
||||||
|
568,0.11290322580645162,False,0.7285067873303168,0.7094017094017093,0.05946601941747572,0.040703517587939705,0.030334014996591684,0.6470588235294119,0.5121951219512195,0.47692307692307706,0
|
||||||
|
201,0.5806451612903225,True,0.0,0.0,0.0703883495145631,0.020100502512562814,0.013974096796182688,0.27450980392156854,0.2439024390243903,0.38461538461538475,0
|
||||||
|
197,0.2096774193548387,False,0.0,0.008547008547008546,0.02427184466019417,0.0010050251256281404,0.006816632583503749,0.41176470588235303,0.2439024390243903,0.26923076923076933,0
|
||||||
|
557,0.6129032258064515,True,0.10407239819004525,0.094017094017094,0.05279126213592233,0.03517587939698493,0.03851397409679618,0.5098039215686274,0.4146341463414635,0.4615384615384616,0
|
||||||
|
285,0.0,True,0.0407239819004525,0.034188034188034185,0.28701456310679613,0.009547738693467337,0.00408997955010225,0.8431372549019609,0.6097560975609757,0.38461538461538475,0
|
||||||
|
214,0.40322580645161293,True,0.0497737556561086,0.07692307692307691,0.04733009708737864,0.004020100502512563,0.007498295841854124,0.7058823529411766,0.5365853658536586,0.4615384615384616,0
|
||||||
|
387,0.6129032258064515,True,0.009049773755656108,0.008547008547008546,0.035194174757281545,0.012060301507537688,0.0027266530334014993,0.6470588235294119,0.5609756097560976,0.5384615384615385,0
|
||||||
|
415,0.9193548387096773,True,0.03167420814479638,0.01709401709401709,0.3567961165048544,0.041708542713567845,0.009543285616905248,0.0,0.31707317073170743,0.23076923076923078,0
|
||||||
|
553,0.532258064516129,True,0.4343891402714932,0.35042735042735035,0.07888349514563106,0.02412060301507538,0.043626448534423996,0.6666666666666667,0.31707317073170743,0.15384615384615385,0
|
||||||
|
295,0.14516129032258068,True,0.0,0.008547008547008546,0.06067961165048543,0.034170854271356785,0.009884117246080435,0.8627450980392157,0.6097560975609757,0.38461538461538475,0
|
||||||
|
249,0.3225806451612903,True,0.02714932126696833,0.01709401709401709,0.2402912621359223,0.009045226130653266,0.004430811179277437,0.6666666666666667,0.39024390243902446,0.23076923076923078,0
|
||||||
|
477,0.6774193548387097,True,0.0,0.008547008547008546,0.07160194174757281,0.007035175879396985,0.006816632583503749,0.2941176470588234,0.2439024390243903,0.3692307692307693,0
|
||||||
|
389,0.9516129032258063,True,0.0,0.0,0.0,0.010552763819095479,0.00783912747102931,0.5294117647058822,0.43902439024390255,0.4615384615384616,0
|
||||||
|
163,0.41935483870967744,True,0.05882352941176472,0.06837606837606837,0.04733009708737864,0.016080402010050253,0.017041581458759374,0.7450980392156863,0.7073170731707317,0.753846153846154,0
|
||||||
|
242,0.25806451612903225,False,0.009049773755656108,0.008547008547008546,0.06249999999999999,0.010050251256281407,0.0037491479209270625,0.9019607843137254,0.6585365853658536,0.4615384615384616,0
|
||||||
|
47,0.43548387096774194,True,0.022624434389140278,0.01709401709401709,0.07766990291262135,0.814070351758794,0.3231083844580777,0.2549019607843137,0.34146341463414637,0.6923076923076925,0
|
||||||
|
117,0.3064516129032258,True,0.5475113122171946,0.5213675213675213,0.0558252427184466,1.0000000000000002,1.0000000000000002,0.41176470588235303,0.4634146341463415,0.6923076923076925,0
|
||||||
|
32,0.7096774193548387,True,0.01809954751131222,0.01709401709401709,0.05157766990291262,0.004522613065326633,0.0037491479209270625,0.3137254901960784,0.3658536585365854,0.6153846153846154,1
|
||||||
|
492,0.3548387096774193,False,0.01809954751131222,0.01709401709401709,0.4265776699029126,0.061809045226130656,0.03101567825494206,0.8431372549019609,0.4634146341463415,0.23076923076923078,0
|
||||||
|
464,0.5161290322580645,False,0.004524886877828056,0.008547008547008546,0.037621359223300975,0.005527638190954774,0.013974096796182688,0.17647058823529405,0.0,0.03846153846153849,1
|
||||||
|
373,0.1935483870967742,False,0.004524886877828056,0.0,0.023058252427184463,0.011055276381909548,0.004430811179277437,0.784313725490196,0.7073170731707317,0.6923076923076925,1
|
||||||
|
45,0.3548387096774193,True,0.05429864253393667,0.04273504273504273,0.10497572815533979,0.019095477386934675,0.05657805044308112,0.5686274509803921,0.43902439024390255,0.38461538461538475,1
|
||||||
|
385,0.596774193548387,True,0.009049773755656108,0.008547008547008546,0.030339805825242712,0.009547738693467337,0.006134969325153374,0.7450980392156863,0.6585365853658536,0.6923076923076925,0
|
||||||
|
130,0.5161290322580645,True,0.11764705882352942,0.11111111111111109,0.24878640776699026,0.020100502512562814,0.015678254942058625,0.47058823529411775,0.31707317073170743,0.30769230769230776,0
|
||||||
|
156,0.3064516129032258,True,0.013574660633484167,0.01709401709401709,0.21844660194174756,0.030150753768844227,0.023858214042263123,0.5098039215686274,0.4146341463414635,0.4615384615384616,0
|
||||||
|
52,0.40322580645161293,True,0.11312217194570139,0.1282051282051282,0.091626213592233,0.03517587939698493,0.13428766189502386,0.6274509803921569,0.6097560975609757,0.6923076923076925,0
|
||||||
|
328,0.48387096774193544,True,0.009049773755656108,0.008547008547008546,0.05461165048543689,0.009547738693467337,0.0027266530334014993,0.47058823529411775,0.3658536585365854,0.38461538461538475,1
|
||||||
|
514,0.5806451612903225,True,0.01809954751131222,0.01709401709401709,0.07766990291262135,0.019095477386934675,0.015678254942058625,0.9411764705882355,0.6829268292682928,0.4615384615384616,0
|
||||||
|
341,0.3709677419354838,False,0.009049773755656108,0.008547008547008546,0.3325242718446602,0.030150753768844227,0.04294478527607362,0.588235294117647,0.4146341463414635,0.30769230769230776,0
|
||||||
|
573,0.3064516129032258,True,0.14027149321266968,0.1282051282051282,0.3094660194174757,0.020100502512562814,0.025903203817314247,0.5098039215686274,0.12195121951219512,0.0,0
|
||||||
|
526,0.532258064516129,True,0.3981900452488688,0.43589743589743585,0.10072815533980581,0.005527638190954774,0.017382413087934562,0.5490196078431373,0.34146341463414637,0.30769230769230776,0
|
||||||
|
121,0.3064516129032258,True,1.0000000000000002,0.8632478632478631,0.1140776699029126,0.15678391959798998,0.03442399454669393,0.588235294117647,0.34146341463414637,0.23076923076923078,0
|
||||||
|
236,0.14516129032258068,True,0.009049773755656108,0.008547008547008546,0.12014563106796114,0.02361809045226131,0.009543285616905248,0.8431372549019609,0.5853658536585367,0.38461538461538475,1
|
||||||
|
487,0.3064516129032258,True,0.004524886877828056,0.008547008547008546,0.10558252427184464,0.04623115577889448,0.06066802999318337,0.47058823529411775,0.3658536585365854,0.40769230769230785,0
|
||||||
|
27,0.3387096774193548,True,0.2533936651583711,0.24786324786324784,0.0837378640776699,0.8391959798994976,0.28561690524880706,0.7058823529411766,0.6341463414634148,0.6153846153846154,0
|
||||||
|
307,0.2741935483870968,True,0.009049773755656108,0.008547008547008546,0.043689320388349516,0.005527638190954774,0.011929107021131563,0.19607843137254888,0.21951219512195125,0.4615384615384616,0
|
||||||
|
512,0.6935483870967742,True,0.01809954751131222,0.01709401709401709,0.05643203883495145,0.006030150753768844,0.0054533060668029995,0.43137254901960786,0.2926829268292684,0.30769230769230776,1
|
BIN
model_scripted.pt
Normal file
BIN
model_scripted.pt
Normal file
Binary file not shown.
6
my_runs/1/config.json
Normal file
6
my_runs/1/config.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"batch_size": 64,
|
||||||
|
"epochs": 100,
|
||||||
|
"learning_rate": 0.001,
|
||||||
|
"seed": 758847465
|
||||||
|
}
|
24
my_runs/1/cout.txt
Normal file
24
my_runs/1/cout.txt
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
INFO - sacred_scopes - Running command 'my_main'
|
||||||
|
INFO - sacred_scopes - Started run with ID "1"
|
||||||
|
ClassificationModel(
|
||||||
|
(layer_1): Linear(in_features=10, out_features=256, bias=True)
|
||||||
|
(layer_2): Linear(in_features=256, out_features=128, bias=True)
|
||||||
|
(layer_out): Linear(in_features=128, out_features=1, bias=True)
|
||||||
|
(relu): ReLU()
|
||||||
|
(sigmoid): Sigmoid()
|
||||||
|
(dropout): Dropout(p=0.1, inplace=False)
|
||||||
|
(batchnorm1): BatchNorm1d(256, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
|
||||||
|
(batchnorm2): BatchNorm1d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
|
||||||
|
)
|
||||||
|
Loss in 0. iteration: 0.773659348487854
|
||||||
|
Loss in 10. iteration: 0.6972044110298157
|
||||||
|
Loss in 20. iteration: 0.6682128310203552
|
||||||
|
Loss in 30. iteration: 0.6499606966972351
|
||||||
|
Loss in 40. iteration: 0.6151337027549744
|
||||||
|
Loss in 50. iteration: 0.6123079657554626
|
||||||
|
Loss in 60. iteration: 0.6080400347709656
|
||||||
|
Loss in 70. iteration: 0.6123043298721313
|
||||||
|
Loss in 80. iteration: 0.5966068506240845
|
||||||
|
Loss in 90. iteration: 0.5919382572174072
|
||||||
|
Last iteration loss value: 0.5908359885215759
|
||||||
|
INFO - sacred_scopes - Completed after 0:00:03
|
1
my_runs/1/metrics.json
Normal file
1
my_runs/1/metrics.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
71
my_runs/1/run.json
Normal file
71
my_runs/1/run.json
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
{
|
||||||
|
"artifacts": [],
|
||||||
|
"command": "my_main",
|
||||||
|
"experiment": {
|
||||||
|
"base_dir": "/Users/natalia.szymczyk/Workspace/untitled folder/uam/ium/ium_z487186",
|
||||||
|
"dependencies": [
|
||||||
|
"numpy==1.24.3",
|
||||||
|
"pandas==1.5.3",
|
||||||
|
"sacred==0.8.4",
|
||||||
|
"scikit-learn==1.2.2",
|
||||||
|
"torch==2.0.0"
|
||||||
|
],
|
||||||
|
"mainfile": "train.py",
|
||||||
|
"name": "sacred_scopes",
|
||||||
|
"repositories": [
|
||||||
|
{
|
||||||
|
"commit": "d9b911b767241c4d230c6fcd6199e6639d8b8966",
|
||||||
|
"dirty": true,
|
||||||
|
"url": "https://git.wmi.amu.edu.pl/s487186/ium_z487186.git"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sources": [
|
||||||
|
[
|
||||||
|
"train.py",
|
||||||
|
"_sources/train_f31ea0fb211226b21997ea6ed8f8699c.py"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"heartbeat": "2023-06-30T15:18:34.885910",
|
||||||
|
"host": {
|
||||||
|
"ENV": {},
|
||||||
|
"cpu": "Apple M1 Pro",
|
||||||
|
"hostname": "polpc11496",
|
||||||
|
"os": [
|
||||||
|
"Darwin",
|
||||||
|
"macOS-13.4-arm64-arm-64bit"
|
||||||
|
],
|
||||||
|
"python_version": "3.11.4"
|
||||||
|
},
|
||||||
|
"meta": {
|
||||||
|
"command": "my_main",
|
||||||
|
"named_configs": [],
|
||||||
|
"options": {
|
||||||
|
"--beat-interval": null,
|
||||||
|
"--capture": null,
|
||||||
|
"--comment": null,
|
||||||
|
"--debug": false,
|
||||||
|
"--enforce_clean": false,
|
||||||
|
"--file_storage": null,
|
||||||
|
"--force": false,
|
||||||
|
"--help": false,
|
||||||
|
"--id": null,
|
||||||
|
"--loglevel": null,
|
||||||
|
"--mongo_db": null,
|
||||||
|
"--name": null,
|
||||||
|
"--pdb": false,
|
||||||
|
"--print-config": false,
|
||||||
|
"--priority": null,
|
||||||
|
"--queue": false,
|
||||||
|
"--s3": null,
|
||||||
|
"--sql": null,
|
||||||
|
"--tiny_db": null,
|
||||||
|
"--unobserved": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resources": [],
|
||||||
|
"result": null,
|
||||||
|
"start_time": "2023-06-30T15:18:31.480266",
|
||||||
|
"status": "COMPLETED",
|
||||||
|
"stop_time": "2023-06-30T15:18:34.883899"
|
||||||
|
}
|
97
my_runs/_sources/train_f31ea0fb211226b21997ea6ed8f8699c.py
Normal file
97
my_runs/_sources/train_f31ea0fb211226b21997ea6ed8f8699c.py
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
import pandas as pd
|
||||||
|
import torch
|
||||||
|
import torch.nn as nn
|
||||||
|
|
||||||
|
from sklearn.preprocessing import MinMaxScaler
|
||||||
|
from torch.utils.data import TensorDataset
|
||||||
|
from torch.utils.data import DataLoader
|
||||||
|
|
||||||
|
from sacred import Experiment
|
||||||
|
from sacred.observers import FileStorageObserver
|
||||||
|
|
||||||
|
exint = Experiment("sacred_scopes", interactive=True)
|
||||||
|
exint.observers.append(FileStorageObserver('my_runs'))
|
||||||
|
|
||||||
|
@exint.config
|
||||||
|
def my_config():
|
||||||
|
batch_size = 64
|
||||||
|
learning_rate = 0.001
|
||||||
|
epochs = 100
|
||||||
|
|
||||||
|
|
||||||
|
@exint.capture
|
||||||
|
def prepare_message(msg):
|
||||||
|
return msg
|
||||||
|
|
||||||
|
|
||||||
|
@exint.main
|
||||||
|
def my_main(batch_size, learning_rate, epochs):
|
||||||
|
train_file = pd.read_csv('train.data').drop('Unnamed: 0', axis=1)
|
||||||
|
df_pandas = train_file.dropna()
|
||||||
|
|
||||||
|
X_train = df_pandas.drop('class', axis=1)
|
||||||
|
Y_train = df_pandas['class']
|
||||||
|
|
||||||
|
scaler = MinMaxScaler()
|
||||||
|
X_train = scaler.fit_transform(X_train)
|
||||||
|
|
||||||
|
x_tensor = torch.tensor(X_train).float()
|
||||||
|
y_tensor = torch.tensor(Y_train.values).float()
|
||||||
|
|
||||||
|
train_ds = TensorDataset(x_tensor, y_tensor.unsqueeze(1))
|
||||||
|
train_dl = DataLoader(train_ds, batch_size=batch_size)
|
||||||
|
|
||||||
|
class ClassificationModel(nn.Module):
|
||||||
|
def __init__(self, n_input_dim):
|
||||||
|
super(ClassificationModel, self).__init__()
|
||||||
|
self.layer_1 = nn.Linear(n_input_dim, 256)
|
||||||
|
self.layer_2 = nn.Linear(256, 128)
|
||||||
|
self.layer_out = nn.Linear(128, 1)
|
||||||
|
|
||||||
|
self.relu = nn.ReLU()
|
||||||
|
self.sigmoid = nn.Sigmoid()
|
||||||
|
self.dropout = nn.Dropout(p=0.1)
|
||||||
|
self.batchnorm1 = nn.BatchNorm1d(256)
|
||||||
|
self.batchnorm2 = nn.BatchNorm1d(128)
|
||||||
|
|
||||||
|
def forward(self, inputs):
|
||||||
|
x = self.relu(self.layer_1(inputs))
|
||||||
|
x = self.batchnorm1(x)
|
||||||
|
x = self.relu(self.layer_2(x))
|
||||||
|
x = self.batchnorm2(x)
|
||||||
|
x = self.dropout(x)
|
||||||
|
x = self.sigmoid(self.layer_out(x))
|
||||||
|
|
||||||
|
return x
|
||||||
|
|
||||||
|
|
||||||
|
model = ClassificationModel(X_train.shape[1])
|
||||||
|
print(model)
|
||||||
|
|
||||||
|
|
||||||
|
loss_func = nn.BCEWithLogitsLoss()
|
||||||
|
optimizer = torch.optim.Adam(model.parameters(), lr=learning_rate)
|
||||||
|
|
||||||
|
model.train()
|
||||||
|
train_loss = []
|
||||||
|
|
||||||
|
for epoch in range(epochs):
|
||||||
|
for xb, yb in train_dl:
|
||||||
|
y_pred = model(xb) # Forward Propagation
|
||||||
|
loss = loss_func(y_pred, yb) # Loss Computation
|
||||||
|
optimizer.zero_grad() # Clearing all previous gradients, setting to zero
|
||||||
|
loss.backward() # Back Propagation
|
||||||
|
optimizer.step() # Updating the parameters
|
||||||
|
|
||||||
|
if epoch % 10 == 0:
|
||||||
|
print(f"Loss in {epoch}. iteration: {loss.item()}")
|
||||||
|
train_loss.append(loss.item())
|
||||||
|
print('Last iteration loss value: '+str(loss.item()))
|
||||||
|
|
||||||
|
|
||||||
|
model_scripted = torch.jit.script(model) # Export to TorchScript
|
||||||
|
model_scripted.save('model_scripted.pt') # Save
|
||||||
|
|
||||||
|
|
||||||
|
exint.run()
|
||||||
|
|
61
predict.py
Normal file
61
predict.py
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
|
||||||
|
import pandas as pd
|
||||||
|
import torch
|
||||||
|
import torch.nn as nn
|
||||||
|
import itertools
|
||||||
|
|
||||||
|
from sklearn.preprocessing import MinMaxScaler
|
||||||
|
from sklearn.metrics import f1_score as f1
|
||||||
|
from sklearn.metrics import confusion_matrix
|
||||||
|
from sklearn.metrics import *
|
||||||
|
|
||||||
|
from torch.utils.data import TensorDataset
|
||||||
|
from torch.utils.data import DataLoader
|
||||||
|
|
||||||
|
test_file = pd.read_csv('test.data').drop('Unnamed: 0', axis=1)
|
||||||
|
df_test = test_file.dropna()
|
||||||
|
|
||||||
|
X_test = df_test.drop('class', axis=1)
|
||||||
|
Y_test = df_test['class']
|
||||||
|
|
||||||
|
scaler = MinMaxScaler()
|
||||||
|
X_test = scaler.fit_transform(X_test)
|
||||||
|
|
||||||
|
x_test_tensor = torch.tensor(X_test).float()
|
||||||
|
y_test_tensor = torch.tensor(Y_test.values).float()
|
||||||
|
|
||||||
|
test_ds = TensorDataset(x_test_tensor, y_test_tensor.unsqueeze(1))
|
||||||
|
test_dl = DataLoader(test_ds, batch_size=64)
|
||||||
|
|
||||||
|
model = torch.jit.load('model_scripted.pt')
|
||||||
|
model.eval()
|
||||||
|
|
||||||
|
y_pred_list = []
|
||||||
|
model.eval()
|
||||||
|
|
||||||
|
with torch.no_grad():
|
||||||
|
for xb_test,yb_test in test_dl:
|
||||||
|
y_test_pred = model(xb_test)
|
||||||
|
y_pred_tag = torch.round(y_test_pred)
|
||||||
|
y_pred_list.append(y_pred_tag.detach().numpy())
|
||||||
|
|
||||||
|
y_pred_list = [a.squeeze().tolist() for a in y_pred_list]
|
||||||
|
|
||||||
|
ytest_pred = list(itertools.chain.from_iterable(y_pred_list))
|
||||||
|
|
||||||
|
y_true_test = Y_test.values.ravel()
|
||||||
|
conf_matrix = confusion_matrix(y_true_test ,ytest_pred)
|
||||||
|
print("Confusion Matrix of the Test Set")
|
||||||
|
print("-----------")
|
||||||
|
print(conf_matrix)
|
||||||
|
print("Precision of the MLP :\t"+str(precision_score(y_true_test,ytest_pred)))
|
||||||
|
print("Accuracy of the MLP :\t"+str(accuracy_score(y_true_test,ytest_pred)))
|
||||||
|
print("Recall of the MLP :\t"+str(recall_score(y_true_test,ytest_pred)))
|
||||||
|
print("F1 Score of the Model :\t"+str(f1_score(y_true_test,ytest_pred)))
|
||||||
|
|
||||||
|
|
||||||
|
print(*map(int, ytest_pred))
|
||||||
|
print(*y_true_test)
|
||||||
|
|
||||||
|
with open('predicted_values.txt', 'w') as f:
|
||||||
|
f.write(" ".join(map(str, map(int, ytest_pred))))
|
116
test.data
Normal file
116
test.data
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
,age,is_male,total_bilirubin,direct_ribilubin,alkaline_phosphotase,alamine_aminotransferasi,aspartate_aminotransferase,total_proteins,albumin,albumin_to_globulin_ratio,class
|
||||||
|
355,0.1744186046511628,True,0.029999999999999995,0.04964539007092199,0.06983050847457628,0.002567394094993583,0.015384615384615385,0.9090909090909092,0.9473684210526314,0.6666666666666667,1
|
||||||
|
407,0.09302325581395349,True,0.016666666666666666,0.007092198581560284,0.4366101694915254,0.18741976893453144,0.09423076923076923,0.7636363636363637,0.7105263157894737,0.4666666666666667,0
|
||||||
|
90,0.6511627906976745,True,0.17333333333333334,0.19148936170212766,0.09423728813559323,0.5147625160462131,0.8076923076923078,0.781818181818182,0.5789473684210527,0.32000000000000006,0
|
||||||
|
402,0.4418604651162791,False,0.0,0.0,0.05898305084745763,0.18485237483953787,0.09423076923076923,0.9272727272727272,0.7894736842105263,0.4,0
|
||||||
|
268,0.41860465116279066,True,0.4666666666666667,0.4468085106382979,0.19186440677966102,0.050064184852374835,0.0625,0.49090909090909096,0.28947368421052627,0.13333333333333333,0
|
||||||
|
356,0.33720930232558144,True,0.0066666666666666645,0.007092198581560284,0.12271186440677967,0.012836970474967908,0.019230769230769232,1.0,0.763157894736842,0.33333333333333337,0
|
||||||
|
110,0.23255813953488372,False,0.0066666666666666645,0.007092198581560284,0.07661016949152544,0.0,0.0,0.4545454545454546,0.34210526315789463,0.2733333333333333,1
|
||||||
|
488,0.6511627906976745,True,0.0066666666666666645,0.007092198581560284,0.06508474576271187,0.025673940949935813,0.015384615384615385,0.7272727272727273,0.6578947368421053,0.4666666666666667,1
|
||||||
|
132,0.1627906976744186,False,0.010000000000000002,0.007092198581560284,0.0840677966101695,0.029525032092426188,0.020192307692307693,0.6363636363636365,0.6578947368421053,0.5733333333333333,1
|
||||||
|
497,0.7325581395348837,True,0.05666666666666667,0.07092198581560286,0.0833898305084746,0.03979460847240052,0.02788461538461539,0.7636363636363637,0.5263157894736843,0.2666666666666666,0
|
||||||
|
541,0.4418604651162791,True,0.010000000000000002,0.007092198581560284,0.0833898305084746,0.02310654685494223,0.008653846153846154,0.6545454545454545,0.5263157894736843,0.33333333333333337,1
|
||||||
|
70,0.1744186046511628,False,0.0066666666666666645,0.007092198581560284,0.0752542372881356,0.19897304236200256,0.3721153846153846,0.4545454545454546,0.5263157894736843,0.6,0
|
||||||
|
281,0.5348837209302326,True,0.0066666666666666645,0.007092198581560284,0.07932203389830508,0.008985879332477537,0.004807692307692308,0.8,0.8421052631578947,0.6666666666666667,1
|
||||||
|
184,0.6976744186046512,True,0.02,0.021276595744680854,0.08542372881355934,0.008985879332477537,0.008653846153846154,0.7090909090909092,0.8157894736842104,0.7333333333333333,0
|
||||||
|
420,0.5930232558139535,False,0.3466666666666667,0.3546099290780142,0.8644067796610171,0.04749679075738125,0.04519230769230769,0.6181818181818184,0.34210526315789463,0.13333333333333333,0
|
||||||
|
412,0.7093023255813954,True,0.14666666666666667,0.1843971631205674,0.07796610169491525,0.028241335044929396,0.05865384615384616,0.7454545454545454,0.49999999999999994,0.2666666666666666,0
|
||||||
|
296,0.813953488372093,False,0.013333333333333332,0.014184397163120567,0.10779661016949152,0.006418485237483954,0.008653846153846154,0.8909090909090911,0.7894736842105263,0.4666666666666667,0
|
||||||
|
104,0.686046511627907,True,0.0,0.0,0.06440677966101695,0.012836970474967908,0.01730769230769231,0.4545454545454546,0.3947368421052631,0.33333333333333337,0
|
||||||
|
571,1.0,True,0.02,0.014184397163120567,0.09491525423728814,0.04492939666238767,0.11923076923076925,0.7090909090909092,0.5263157894736843,0.2666666666666666,0
|
||||||
|
181,0.8255813953488372,True,0.08,0.08510638297872342,0.09694915254237288,0.028241335044929396,0.02596153846153846,0.0,0.13157894736842107,0.4666666666666667,0
|
||||||
|
278,0.4767441860465117,True,0.05666666666666667,0.04964539007092199,0.09084745762711866,0.01797175866495507,0.009615384615384616,0.9090909090909092,0.7894736842105263,0.4666666666666667,0
|
||||||
|
208,0.7674418604651163,False,0.013333333333333332,0.014184397163120567,0.09830508474576272,0.0539152759948652,0.08173076923076925,0.5636363636363637,0.47368421052631576,0.2533333333333334,0
|
||||||
|
2,0.6744186046511628,True,0.22666666666666666,0.2836879432624113,0.28135593220338984,0.06290115532734274,0.05576923076923077,0.7272727272727273,0.6052631578947367,0.3933333333333333,0
|
||||||
|
554,0.8023255813953488,True,0.043333333333333335,0.056737588652482275,0.09830508474576272,0.011553273427471117,0.031730769230769236,0.6363636363636365,0.5263157894736843,0.33333333333333337,0
|
||||||
|
338,0.8255813953488372,True,0.043333333333333335,0.04964539007092199,0.22372881355932203,0.08729139922978177,0.038461538461538464,0.5636363636363637,0.49999999999999994,0.4,0
|
||||||
|
63,0.6162790697674418,True,0.0066666666666666645,0.007092198581560284,0.09016949152542372,0.03080872913992298,0.08365384615384616,0.38181818181818183,0.28947368421052627,0.2666666666666666,0
|
||||||
|
55,0.4418604651162791,True,0.28,0.3120567375886525,0.1335593220338983,0.025673940949935813,0.04903846153846154,0.509090909090909,0.2631578947368421,0.13333333333333333,0
|
||||||
|
578,0.6511627906976745,True,0.0,0.0,0.288135593220339,0.011553273427471117,0.023076923076923078,0.5272727272727273,0.15789473684210525,0.04666666666666666,1
|
||||||
|
350,0.38372093023255816,True,0.043333333333333335,0.04964539007092199,0.04745762711864407,0.06546854942233632,0.046153846153846156,0.49090909090909096,0.49999999999999994,0.4666666666666667,0
|
||||||
|
29,0.9302325581395349,False,0.0066666666666666645,0.007092198581560284,0.07661016949152544,0.002567394094993583,0.010576923076923078,0.5454545454545454,0.5789473684210527,0.5333333333333334,1
|
||||||
|
155,0.34883720930232553,True,0.2733333333333333,0.2765957446808511,0.1511864406779661,0.06033376123234915,0.12307692307692308,0.509090909090909,0.3684210526315789,0.2666666666666666,0
|
||||||
|
422,0.43023255813953487,True,0.023333333333333334,0.028368794326241138,0.11593220338983051,0.029525032092426188,0.03076923076923077,0.7090909090909092,0.631578947368421,0.44666666666666666,0
|
||||||
|
83,0.33720930232558144,True,0.05,0.06382978723404256,0.1240677966101695,0.2349165596919127,0.13653846153846155,0.4363636363636365,0.5263157894736843,0.6333333333333333,0
|
||||||
|
247,0.5930232558139535,True,0.013333333333333332,0.007092198581560284,0.07796610169491525,0.01797175866495507,0.01730769230769231,0.5272727272727273,0.4473684210526316,0.33333333333333337,0
|
||||||
|
82,0.5232558139534884,True,0.0066666666666666645,0.0,0.04949152542372881,0.003851091142490371,0.0019230769230769232,0.4363636363636365,0.47368421052631576,0.4666666666666667,1
|
||||||
|
318,0.39534883720930236,True,0.10666666666666667,0.14893617021276598,0.09559322033898307,0.21566110397946084,0.21346153846153848,0.8727272727272728,0.9210526315789473,0.6666666666666667,0
|
||||||
|
261,0.33720930232558144,True,0.03333333333333334,0.4893617021276596,0.2915254237288136,0.2490372272143774,0.12500000000000003,0.8181818181818183,0.763157894736842,0.4666666666666667,0
|
||||||
|
244,0.5813953488372093,True,0.010000000000000002,0.007092198581560284,0.09694915254237288,0.011553273427471117,0.008653846153846154,0.6000000000000001,0.3947368421052631,0.19999999999999998,0
|
||||||
|
451,0.36046511627906974,True,0.010000000000000002,0.007092198581560284,0.13830508474576272,0.011553273427471117,0.014423076923076924,0.7636363636363637,0.5789473684210527,0.33333333333333337,0
|
||||||
|
546,0.4767441860465117,True,0.6566666666666666,0.8226950354609929,0.07661016949152544,0.04621309370988447,0.021153846153846155,0.4363636363636365,0.34210526315789463,0.2666666666666666,0
|
||||||
|
361,0.7093023255813954,False,0.0066666666666666645,0.007092198581560284,0.07254237288135594,0.015404364569961488,0.01730769230769231,0.6909090909090909,0.49999999999999994,0.2666666666666666,1
|
||||||
|
176,0.5930232558139535,True,0.010000000000000002,0.007092198581560284,0.2759322033898305,0.12965340179717585,0.08557692307692308,0.49090909090909096,0.4210526315789474,0.33333333333333337,0
|
||||||
|
10,0.6162790697674418,True,0.003333333333333334,0.0,0.09152542372881356,0.05134788189987162,0.04711538461538462,0.5272727272727273,0.4473684210526316,0.33333333333333337,0
|
||||||
|
424,0.32558139534883723,False,0.0066666666666666645,0.0,0.11186440677966103,0.0012836970474967915,0.004807692307692308,0.7272727272727273,0.5263157894736843,0.2666666666666666,0
|
||||||
|
211,0.4418604651162791,True,0.07333333333333335,0.08510638297872342,0.09762711864406781,0.06290115532734274,0.16346153846153846,0.7272727272727273,0.5789473684210527,0.33333333333333337,0
|
||||||
|
6,0.2558139534883721,False,0.013333333333333332,0.007092198581560284,0.05355932203389831,0.006418485237483954,0.0019230769230769232,0.7272727272727273,0.6578947368421053,0.4666666666666667,0
|
||||||
|
486,0.4418604651162791,False,0.010000000000000002,0.007092198581560284,0.08135593220338982,0.008985879332477537,0.004807692307692308,0.6727272727272728,0.5263157894736843,0.33333333333333337,0
|
||||||
|
495,0.32558139534883723,True,0.0066666666666666645,0.007092198581560284,0.06101694915254238,0.025673940949935813,0.01826923076923077,0.5636363636363637,0.5263157894736843,0.43999999999999995,1
|
||||||
|
259,0.4418604651162791,True,0.9999999999999999,1.0000000000000002,0.1423728813559322,0.06931964056482669,0.11538461538461539,0.40000000000000013,0.28947368421052627,0.19999999999999998,0
|
||||||
|
101,0.2674418604651163,True,0.0066666666666666645,0.007092198581560284,0.11389830508474577,0.012836970474967908,0.0125,0.4181818181818182,0.34210526315789463,0.2666666666666666,1
|
||||||
|
165,0.5116279069767442,True,0.13333333333333333,0.15602836879432622,0.14033898305084747,0.002567394094993583,0.061538461538461535,0.7272727272727273,0.3684210526315789,0.1466666666666667,0
|
||||||
|
72,0.8255813953488372,False,0.010000000000000002,0.007092198581560284,0.08813559322033898,0.020539152759948654,0.013461538461538462,0.25454545454545463,0.2631578947368421,0.33333333333333337,0
|
||||||
|
177,0.8255813953488372,True,0.4766666666666667,0.6312056737588653,0.640677966101695,0.07702182284980744,0.03076923076923077,0.4181818181818182,0.31578947368421056,0.2666666666666666,0
|
||||||
|
196,0.6511627906976745,True,0.05,0.07092198581560286,0.3993220338983051,0.05263157894736842,0.0903846153846154,0.5454545454545454,0.28947368421052627,0.15333333333333335,0
|
||||||
|
227,0.7441860465116279,False,0.0066666666666666645,0.007092198581560284,0.0752542372881356,0.008985879332477537,0.004807692307692308,0.6181818181818184,0.7368421052631577,0.7333333333333333,0
|
||||||
|
545,0.4767441860465117,False,0.0066666666666666645,0.007092198581560284,0.05288135593220339,0.03851091142490372,0.03076923076923077,0.2727272727272728,0.31578947368421056,0.4,1
|
||||||
|
440,0.5232558139534884,False,0.010000000000000002,0.007092198581560284,0.0833898305084746,0.015404364569961488,0.009615384615384616,0.7272727272727273,0.868421052631579,0.8,0
|
||||||
|
489,0.7093023255813954,True,0.010000000000000002,0.0,0.04813559322033899,0.007702182284980746,0.01826923076923077,0.5272727272727273,0.5789473684210527,0.5866666666666667,1
|
||||||
|
436,0.2209302325581395,True,0.016666666666666666,0.014184397163120567,0.0928813559322034,0.03851091142490372,0.06730769230769232,0.581818181818182,0.5526315789473684,0.4666666666666667,0
|
||||||
|
76,0.313953488372093,True,0.013333333333333332,0.007092198581560284,0.3003389830508475,0.22849807445442874,0.006730769230769231,0.4181818181818182,0.34210526315789463,0.2666666666666666,0
|
||||||
|
302,0.5348837209302326,False,0.039999999999999994,0.035460992907801414,0.24067796610169492,0.02182284980744544,0.021153846153846155,0.6909090909090909,0.6578947368421053,0.4666666666666667,0
|
||||||
|
265,0.0,True,0.013333333333333332,0.007092198581560284,0.1850847457627119,0.024390243902439022,0.023076923076923078,0.9090909090909092,0.7894736842105263,0.4666666666666667,1
|
||||||
|
30,0.6162790697674418,True,0.11666666666666667,0.1276595744680851,0.07796610169491525,0.043645699614890884,0.09711538461538463,0.40000000000000013,0.13157894736842107,0.06666666666666668,0
|
||||||
|
73,0.5581395348837209,True,0.003333333333333334,0.0,0.06508474576271187,0.014120667522464696,0.0057692307692307696,0.6545454545454545,0.6842105263157894,0.6,0
|
||||||
|
331,0.2558139534883721,True,0.039999999999999994,0.035460992907801414,0.09152542372881356,0.06546854942233632,0.04423076923076923,0.4363636363636365,0.31578947368421056,0.19999999999999998,0
|
||||||
|
248,0.41860465116279066,True,0.0066666666666666645,0.0,0.08610169491525424,0.03337612323491655,0.01826923076923077,0.36363636363636376,0.4210526315789474,0.4666666666666667,0
|
||||||
|
499,0.5930232558139535,True,0.10333333333333333,0.10638297872340427,0.1857627118644068,0.037227214377406934,0.0576923076923077,0.7636363636363637,0.49999999999999994,0.19999999999999998,0
|
||||||
|
396,0.813953488372093,True,0.016666666666666666,0.014184397163120567,0.06779661016949153,0.024390243902439022,0.021153846153846155,0.6181818181818184,0.631578947368421,0.5333333333333334,0
|
||||||
|
39,0.5,True,0.07333333333333335,0.08510638297872342,0.13559322033898305,0.14377406931964057,0.06057692307692308,0.581818181818182,0.6052631578947367,0.5333333333333334,0
|
||||||
|
145,0.7093023255813954,True,0.010000000000000002,0.007092198581560284,0.08542372881355934,0.008985879332477537,0.011538461538461539,0.4363636363636365,0.49999999999999994,0.5333333333333334,1
|
||||||
|
535,0.6511627906976745,True,0.6366666666666666,0.6666666666666667,0.2650847457627119,0.04492939666238767,0.04038461538461539,0.5636363636363637,0.2631578947368421,0.06666666666666668,0
|
||||||
|
158,0.7906976744186046,True,0.0066666666666666645,0.0,0.08203389830508476,0.011553273427471117,0.024038461538461543,0.509090909090909,0.2631578947368421,0.13333333333333333,0
|
||||||
|
81,0.2906976744186046,True,0.016666666666666666,0.014184397163120567,0.0,0.01797175866495507,0.015384615384615385,0.38181818181818183,0.49999999999999994,0.6666666666666667,0
|
||||||
|
370,0.5813953488372093,False,0.7366666666666667,0.8014184397163121,0.3274576271186441,0.024390243902439022,0.02596153846153846,0.8727272727272728,0.631578947368421,0.33333333333333337,0
|
||||||
|
357,0.33720930232558144,True,0.053333333333333344,0.0425531914893617,0.08813559322033898,0.050064184852374835,0.026923076923076925,0.6909090909090909,0.5263157894736843,0.2666666666666666,0
|
||||||
|
60,0.313953488372093,False,0.010000000000000002,0.007092198581560284,0.05627118644067797,0.012836970474967908,0.0057692307692307696,0.5454545454545454,0.5263157894736843,0.4666666666666667,0
|
||||||
|
78,0.7674418604651163,True,0.029999999999999995,0.035460992907801414,0.04813559322033899,0.0012836970474967915,0.013461538461538462,0.581818181818182,0.7368421052631577,0.8533333333333333,1
|
||||||
|
203,0.19767441860465115,True,0.016666666666666666,0.014184397163120567,0.04542372881355933,0.020539152759948654,0.010576923076923078,0.6181818181818184,0.6578947368421053,0.6,1
|
||||||
|
272,0.19767441860465115,True,0.6,0.6666666666666667,0.20677966101694914,0.48652118100128366,0.47115384615384615,0.9454545454545453,0.8157894736842104,0.4666666666666667,0
|
||||||
|
513,0.7558139534883721,True,0.013333333333333332,0.007092198581560284,0.09491525423728814,0.026957637997432605,0.013461538461538462,0.7090909090909092,0.5263157894736843,0.2666666666666666,0
|
||||||
|
11,0.7906976744186046,True,0.07333333333333335,0.08510638297872342,0.12542372881355934,0.025673940949935813,0.04423076923076923,0.8,0.5263157894736843,0.19999999999999998,0
|
||||||
|
86,0.10465116279069767,True,0.003333333333333334,0.0,0.16610169491525426,0.02182284980744544,0.04423076923076923,0.7636363636363637,0.6842105263157894,0.4666666666666667,1
|
||||||
|
447,0.4767441860465117,False,0.76,0.9007092198581561,1.0,0.5314505776636713,0.48173076923076924,0.8545454545454547,0.6578947368421053,0.33333333333333337,0
|
||||||
|
353,0.5116279069767442,False,0.029999999999999995,0.04964539007092199,0.3701694915254238,0.12708600770218229,0.15961538461538463,0.7636363636363637,0.763157894736842,0.5333333333333334,0
|
||||||
|
79,0.627906976744186,False,0.07666666666666666,0.08510638297872342,0.40338983050847466,0.04749679075738125,0.06634615384615386,0.3090909090909092,0.15789473684210525,0.13333333333333333,0
|
||||||
|
238,0.36046511627906974,False,0.013333333333333332,0.007092198581560284,0.07796610169491525,0.037227214377406934,0.024038461538461543,0.781818181818182,0.9736842105263159,1.0,1
|
||||||
|
235,0.6511627906976745,True,0.03333333333333334,0.035460992907801414,0.19322033898305085,0.28112965340179713,0.27692307692307694,0.2727272727272728,0.2631578947368421,0.33333333333333337,0
|
||||||
|
544,0.5813953488372093,False,0.16666666666666666,0.2198581560283688,0.1864406779661017,0.07188703465982027,0.03076923076923077,0.7272727272727273,0.5789473684210527,0.33333333333333337,0
|
||||||
|
275,0.2558139534883721,True,0.04666666666666666,0.04964539007092199,0.0711864406779661,0.014120667522464696,0.008653846153846154,0.9454545454545453,0.8157894736842104,0.4666666666666667,1
|
||||||
|
140,0.6511627906976745,True,0.003333333333333334,0.0,0.0752542372881356,0.011553273427471117,0.010576923076923078,0.581818181818182,0.6052631578947367,0.5333333333333334,1
|
||||||
|
522,0.4883720930232558,False,0.010000000000000002,0.007092198581560284,0.0745762711864407,0.01668806161745828,0.004807692307692308,0.8909090909090911,0.7105263157894737,0.33333333333333337,0
|
||||||
|
153,0.5581395348837209,True,0.003333333333333334,0.0,0.06983050847457628,0.019255455712451863,0.016346153846153847,0.6363636363636365,0.6842105263157894,0.6,1
|
||||||
|
199,0.034883720930232565,False,0.8899999999999999,0.8297872340425533,0.9118644067796611,0.9999999999999999,1.0,0.5636363636363637,0.2631578947368421,0.06666666666666668,0
|
||||||
|
398,0.39534883720930236,True,0.010000000000000002,0.007092198581560284,0.09016949152542372,0.01797175866495507,0.038461538461538464,0.7454545454545454,0.7105263157894737,0.4666666666666667,0
|
||||||
|
533,0.4883720930232558,False,0.029999999999999995,0.021276595744680854,0.1511864406779661,0.6392811296534018,0.5894230769230769,0.10909090909090913,0.0,0.0,0
|
||||||
|
301,0.5465116279069767,False,0.013333333333333332,0.007092198581560284,0.13898305084745763,0.012836970474967908,0.019230769230769232,0.6727272727272728,0.5789473684210527,0.33333333333333337,0
|
||||||
|
9,0.5930232558139535,True,0.0066666666666666645,0.007092198581560284,0.14576271186440679,0.0539152759948652,0.046153846153846156,0.6909090909090909,0.631578947368421,0.4666666666666667,0
|
||||||
|
480,0.034883720930232565,True,0.0,0.0,0.18779661016949153,0.02182284980744544,0.03942307692307693,0.8909090909090911,0.8421052631578947,0.5333333333333334,1
|
||||||
|
523,0.5348837209302326,True,0.003333333333333334,0.007092198581560284,0.04203389830508475,0.005134788189987163,0.0057692307692307696,0.32727272727272727,0.4210526315789474,0.5333333333333334,0
|
||||||
|
287,0.4534883720930233,True,0.02666666666666667,0.035460992907801414,0.054237288135593226,0.005134788189987163,0.009615384615384616,0.9090909090909092,0.7894736842105263,0.4666666666666667,1
|
||||||
|
569,0.13953488372093023,True,0.24,0.2836879432624113,0.13084745762711866,0.2593068035943517,0.15192307692307694,0.7454545454545454,0.7894736842105263,0.6,0
|
||||||
|
441,0.4418604651162791,False,0.06,0.07092198581560286,0.14711864406779662,0.02310654685494223,0.02788461538461539,0.19999999999999996,0.21052631578947367,0.2666666666666666,0
|
||||||
|
84,0.32558139534883723,True,0.003333333333333334,0.0,0.10983050847457629,0.043645699614890884,0.020192307692307693,0.8181818181818183,0.868421052631579,0.6933333333333334,0
|
||||||
|
498,0.7441860465116279,True,0.043333333333333335,0.028368794326241138,0.051525423728813566,0.008985879332477537,0.011538461538461539,0.6363636363636365,0.7894736842105263,0.8666666666666667,0
|
||||||
|
579,0.41860465116279066,True,0.003333333333333334,0.0,0.015593220338983055,0.03080872913992298,0.020192307692307693,0.5454545454545454,0.5789473684210527,0.5333333333333334,0
|
||||||
|
245,0.5813953488372093,True,0.013333333333333332,0.007092198581560284,0.14576271186440679,0.005134788189987163,0.007692307692307693,0.5636363636363637,0.47368421052631576,0.33333333333333337,0
|
||||||
|
277,0.6511627906976745,True,0.05,0.04964539007092199,0.07796610169491525,0.043645699614890884,0.028846153846153848,0.5454545454545454,0.47368421052631576,0.33333333333333337,0
|
||||||
|
137,0.1627906976744186,True,0.010000000000000002,0.007092198581560284,0.14033898305084747,0.07830551989730423,0.12500000000000003,0.4545454545454546,0.3947368421052631,0.33333333333333337,0
|
||||||
|
182,0.7093023255813954,True,0.04666666666666666,0.04964539007092199,0.06440677966101695,0.03209242618741977,0.031730769230769236,0.1454545454545455,0.10526315789473684,0.18666666666666662,1
|
||||||
|
148,0.5348837209302326,True,0.013333333333333332,0.007092198581560284,0.08610169491525424,0.011553273427471117,0.015384615384615385,0.7636363636363637,0.9210526315789473,0.9066666666666665,0
|
||||||
|
109,0.37209302325581395,True,0.013333333333333332,0.0,0.2786440677966102,0.01797175866495507,0.023076923076923078,0.5272727272727273,0.47368421052631576,0.4,1
|
||||||
|
516,0.6511627906976745,True,0.013333333333333332,0.014184397163120567,0.06305084745762712,0.006418485237483954,0.013461538461538462,0.6727272727272728,0.5263157894736843,0.33333333333333337,0
|
||||||
|
305,0.5813953488372093,False,0.029999999999999995,0.0425531914893617,0.08135593220338982,0.03209242618741977,0.0057692307692307696,0.8909090909090911,0.7105263157894737,0.4,1
|
||||||
|
167,0.5,False,0.08333333333333334,0.09929078014184399,0.14711864406779662,0.0680359435173299,0.054807692307692314,0.47272727272727266,0.21052631578947367,0.11333333333333331,0
|
||||||
|
329,0.19767441860465115,True,0.0066666666666666645,0.007092198581560284,0.09220338983050849,0.003851091142490371,0.0125,0.781818181818182,0.8157894736842104,0.6,1
|
372
train.data
Normal file
372
train.data
Normal file
@ -0,0 +1,372 @@
|
|||||||
|
,age,is_male,total_bilirubin,direct_ribilubin,alkaline_phosphotase,alamine_aminotransferasi,aspartate_aminotransferase,total_proteins,albumin,albumin_to_globulin_ratio,class
|
||||||
|
107,0.3950617283950617,True,0.005361930294906166,0.005102040816326532,0.046409379579872984,0.014179104477611941,0.005693371289141927,0.47826086956521746,0.28260869565217395,0.08000000000000002,1
|
||||||
|
33,0.41975308641975306,False,0.029490616621983917,0.056122448979591844,0.1695163654127992,0.03656716417910448,0.009353395689304595,0.4202898550724637,0.45652173913043476,0.20000000000000007,1
|
||||||
|
534,0.43209876543209874,True,0.0160857908847185,0.035714285714285726,0.08158280410356619,0.058208955223880594,0.012810085400569337,0.7681159420289856,0.673913043478261,0.28,1
|
||||||
|
204,0.20987654320987653,True,0.004021447721179624,0.005102040816326532,0.03517342452369321,0.012686567164179104,0.0030500203334688897,0.5362318840579712,0.5217391304347827,0.28,1
|
||||||
|
48,0.345679012345679,False,0.002680965147453083,0.0,0.055202735710796286,0.021641791044776117,0.0034566897112647418,0.47826086956521746,0.45652173913043476,0.28,0
|
||||||
|
330,0.2716049382716049,True,0.021447721179624665,0.040816326530612256,0.04592085979482169,0.03283582089552239,0.011590077267181781,0.4927536231884057,0.391304347826087,0.20000000000000007,0
|
||||||
|
469,0.7654320987654321,True,0.005361930294906166,0.005102040816326532,0.049829018075232046,0.008955223880597014,0.004270028466856446,0.24637681159420294,0.2391304347826087,0.20000000000000007,0
|
||||||
|
391,0.8765432098765431,True,0.006702412868632709,0.005102040816326532,0.04836345872007816,0.01119402985074627,0.0018300122000813337,0.6086956521739131,0.6086956521739131,0.32000000000000006,0
|
||||||
|
419,0.6296296296296295,False,0.10455764075067023,0.19387755102040818,0.6287249633610161,0.03134328358208955,0.010980073200488003,0.5797101449275364,0.43478260869565216,0.15999999999999998,0
|
||||||
|
448,0.5432098765432098,False,0.005361930294906166,0.005102040816326532,0.03859306301905227,0.011940298507462685,0.0028466856445709637,0.47826086956521746,0.3695652173913044,0.15999999999999998,0
|
||||||
|
139,0.13580246913580246,True,0.005361930294906166,0.005102040816326532,0.15486077186126038,0.01119402985074627,0.011183407889385929,0.4927536231884057,0.6086956521739131,0.4800000000000001,0
|
||||||
|
576,0.345679012345679,True,0.19571045576407506,0.413265306122449,0.11040547142159257,0.03582089552238806,0.014030093533956891,0.3768115942028985,0.28260869565217395,0.15999999999999998,0
|
||||||
|
88,0.1728395061728395,True,0.002680965147453083,0.005102040816326532,0.23204689789936492,0.017164179104477612,0.004676697844652298,0.6956521739130435,0.5,0.15999999999999998,0
|
||||||
|
442,0.4691358024691358,False,0.09383378016085792,0.1785714285714286,0.11480214948705422,0.03134328358208955,0.018503456689711265,0.27536231884057966,0.21739130434782605,0.15999999999999998,0
|
||||||
|
413,0.5432098765432098,True,0.004021447721179624,0.005102040816326532,0.07083536883243771,0.003731343283582089,0.0038633590890605938,0.27536231884057966,0.26086956521739135,0.20000000000000007,1
|
||||||
|
141,0.7654320987654321,False,0.050938337801608585,0.10204081632653063,0.04689789936492428,0.003731343283582089,0.0038633590890605938,0.6376811594202898,0.28260869565217395,0.040000000000000036,0
|
||||||
|
423,0.6049382716049383,True,0.0160857908847185,0.040816326530612256,0.056179775280898875,0.025373134328358207,0.009760065067100447,0.5507246376811594,0.6521739130434783,0.4800000000000001,1
|
||||||
|
437,0.38271604938271603,True,0.0160857908847185,0.030612244897959186,0.04592085979482169,0.003731343283582089,0.006710044733631557,0.36231884057971014,0.3478260869565218,0.24000000000000005,0
|
||||||
|
142,0.32098765432098764,True,0.0160857908847185,0.015306122448979595,0.13141182217879824,0.05522388059701492,0.026026840178934526,0.4202898550724637,0.391304347826087,0.24000000000000005,0
|
||||||
|
556,0.5802469135802468,True,0.004021447721179624,0.0,0.057156814851001464,0.01119402985074627,0.0032533550223668157,0.4927536231884057,0.47826086956521746,0.28,0
|
||||||
|
207,0.4444444444444444,True,0.04691689008042896,0.0816326530612245,0.14020517830972154,0.7014925373134329,0.30276535176901176,0.5797101449275364,0.6304347826086956,0.4,0
|
||||||
|
191,0.691358024691358,True,0.07238605898123324,0.1479591836734694,0.09477283829995115,0.07238805970149255,0.018910126067507117,0.5652173913043479,0.5652173913043479,0.32800000000000007,0
|
||||||
|
290,0.5061728395061729,False,0.00804289544235925,0.010204081632653062,0.09135319980459208,0.028358208955223882,0.006710044733631557,0.855072463768116,0.7391304347826086,0.28,0
|
||||||
|
53,0.41975308641975306,True,0.009383378016085792,0.010204081632653062,0.06595017098192477,0.05671641791044776,0.028263521756811714,0.5217391304347827,0.5652173913043479,0.36,0
|
||||||
|
570,0.14814814814814814,True,0.029490616621983917,0.056122448979591844,0.08451392281387396,0.09029850746268657,0.016063440422936153,0.391304347826087,0.3695652173913044,0.24000000000000005,0
|
||||||
|
490,0.6049382716049383,False,0.005361930294906166,0.005102040816326532,0.0635075720566683,0.06417910447761195,0.009353395689304595,0.5797101449275364,0.5869565217391306,0.344,0
|
||||||
|
58,0.5802469135802468,True,0.005361930294906166,0.005102040816326532,0.14851001465559355,0.02388059701492537,0.001423342822285482,0.36231884057971014,0.2391304347826087,0.12,0
|
||||||
|
105,0.3950617283950617,True,0.06568364611260054,0.11224489795918367,0.040058622374206154,0.016417910447761194,0.016470109800732005,0.3478260869565217,0.3695652173913044,0.28,1
|
||||||
|
64,0.654320987654321,True,0.012064343163538875,0.015306122448979595,0.09574987787005373,0.022388059701492536,0.015250101667344447,0.5507246376811594,0.3478260869565218,0.12,0
|
||||||
|
335,0.1111111111111111,False,0.004021447721179624,0.0,0.05813385442110405,0.010447761194029851,0.001626677511183408,0.8985507246376814,0.8695652173913047,0.36,0
|
||||||
|
96,0.43209876543209874,True,0.045576407506702415,0.07142857142857144,0.11480214948705422,0.06865671641791045,0.1258641724278162,0.6376811594202898,0.5217391304347827,0.20000000000000007,0
|
||||||
|
43,0.5679012345679012,True,0.029490616621983917,0.056122448979591844,0.1719589643380557,0.2962686567164179,0.11488409922732819,0.5362318840579712,0.5,0.28,0
|
||||||
|
289,0.654320987654321,True,0.0549597855227882,0.11224489795918367,0.12310698583292623,0.08208955223880597,0.019113460756405045,0.6231884057971016,0.673913043478261,0.4,0
|
||||||
|
332,0.2716049382716049,True,0.08981233243967827,0.163265306122449,0.09526135808500244,0.05223880597014925,0.020740138267588453,0.5072463768115942,0.43478260869565216,0.20000000000000007,0
|
||||||
|
470,0.7654320987654321,True,0.009383378016085792,0.020408163265306124,0.050806057645334635,0.0022388059701492534,0.009150061000406669,0.6376811594202898,0.6956521739130435,0.42400000000000004,0
|
||||||
|
188,0.691358024691358,True,0.020107238605898123,0.035714285714285726,0.26917440156326333,0.02388059701492537,0.005490036600244002,0.2608695652173913,0.19565217391304351,0.12,0
|
||||||
|
504,0.345679012345679,True,0.403485254691689,0.8673469387755105,0.07572056668295066,0.021641791044776117,0.013826758845058967,0.40579710144927533,0.391304347826087,0.24000000000000005,0
|
||||||
|
511,0.5061728395061729,True,0.02412868632707775,0.07653061224489797,0.1255495847581827,0.020149253731343283,0.007523383489223261,0.5942028985507246,0.5434782608695652,0.28,0
|
||||||
|
192,0.691358024691358,True,0.02546916890080429,0.025510204081632654,0.10210063507572056,0.05149253731343283,0.008133387555917039,0.5652173913043479,0.5652173913043479,0.32000000000000006,0
|
||||||
|
267,0.4814814814814814,False,0.006702412868632709,0.010204081632653062,0.03761602344894968,0.0014925373134328365,0.0036600244001626678,0.6811594202898552,0.5652173913043479,0.6000000000000001,0
|
||||||
|
531,0.4444444444444444,True,0.4075067024128686,0.9285714285714288,0.1084513922813874,0.0746268656716418,0.03558357055713705,0.7536231884057973,0.391304347826087,0.08000000000000002,0
|
||||||
|
521,0.6296296296296295,True,0.05361930294906167,0.14285714285714288,0.08158280410356619,0.002985074626865672,0.0028466856445709637,0.6376811594202898,0.26086956521739135,0.040000000000000036,0
|
||||||
|
347,0.41975308641975306,True,0.004021447721179624,0.005102040816326532,0.07474352711284807,0.25298507462686565,0.019113460756405045,0.6231884057971016,0.5652173913043479,0.28,0
|
||||||
|
509,0.5185185185185185,True,0.26273458445040215,0.5051020408163267,0.09330727894479726,0.09701492537313433,0.10756405042700284,0.391304347826087,0.45652173913043476,0.36,0
|
||||||
|
231,0.7037037037037037,True,0.005361930294906166,0.0,0.10698583292623351,0.055970149253731345,0.044733631557543715,0.8405797101449277,0.7391304347826086,0.28,0
|
||||||
|
542,0.7160493827160493,True,0.004021447721179624,0.005102040816326532,0.0537371763556424,0.026865671641791045,0.007320048800325335,0.6666666666666667,0.6956521739130435,0.36,1
|
||||||
|
36,0.16049382716049382,False,0.004021447721179624,0.005102040816326532,0.040058622374206154,0.005970149253731343,0.00508336722244815,0.6521739130434783,0.6521739130434783,0.352,1
|
||||||
|
334,0.1111111111111111,False,0.004021447721179624,0.005102040816326532,0.14020517830972154,0.005223880597014926,0.0026433509556730377,0.6811594202898552,0.673913043478261,0.32000000000000006,0
|
||||||
|
218,0.024691358024691357,True,0.002680965147453083,0.0,0.11040547142159257,0.020895522388059702,0.0038633590890605938,0.3043478260869565,0.2391304347826087,0.15999999999999998,1
|
||||||
|
315,0.2222222222222222,True,0.006702412868632709,0.010204081632653062,0.05666829506595017,0.005970149253731343,0.0020333468889792597,0.5797101449275364,0.6086956521739131,0.36,1
|
||||||
|
250,0.35802469135802467,True,0.022788203753351208,0.06122448979591839,0.20371275036638983,0.020895522388059702,0.0022366815778771857,0.5507246376811594,0.45652173913043476,0.20000000000000007,0
|
||||||
|
133,0.6049382716049383,True,0.006702412868632709,0.015306122448979595,0.08549096238397655,0.005223880597014926,0.000610004066693778,0.5652173913043479,0.43478260869565216,0.20000000000000007,0
|
||||||
|
510,0.4074074074074074,False,0.005361930294906166,0.005102040816326532,0.06936980947728383,0.015671641791044775,0.00508336722244815,0.9420289855072463,0.8043478260869565,0.28,1
|
||||||
|
174,0.3333333333333333,True,0.002680965147453083,0.0,0.05471421592574499,0.028358208955223882,0.004676697844652298,0.47826086956521746,0.6086956521739131,0.5200000000000001,0
|
||||||
|
126,0.5432098765432098,True,0.07238605898123324,0.12244897959183676,0.3610161211529067,0.09179104477611941,0.0156567710451403,0.47826086956521746,0.41304347826086957,0.20000000000000007,0
|
||||||
|
456,0.345679012345679,True,0.004021447721179624,0.005102040816326532,0.061553492916463115,0.008955223880597014,0.006506710044733631,0.6811594202898552,0.47826086956521746,0.15999999999999998,1
|
||||||
|
562,0.7654320987654321,True,0.22654155495978553,0.42857142857142866,0.15876893014167073,0.12164179104477613,0.07238714924766165,0.7391304347826086,0.3695652173913044,0.08000000000000002,0
|
||||||
|
345,0.691358024691358,True,0.03351206434316353,0.06122448979591839,0.08158280410356619,0.016417910447761194,0.006710044733631557,0.4202898550724637,0.2391304347826087,0.08000000000000002,0
|
||||||
|
401,0.5679012345679012,True,0.09249329758713136,0.18367346938775514,0.014167073766487542,0.025373134328358207,0.045750305002033344,0.5942028985507246,0.15217391304347827,0.0,0
|
||||||
|
171,0.49382716049382713,False,0.020107238605898123,0.025510204081632654,0.11480214948705422,0.2746268656716418,0.12017080113867426,0.5652173913043479,0.5217391304347827,0.28,0
|
||||||
|
547,0.5679012345679012,False,0.36595174262734587,0.545918367346939,0.15486077186126038,0.021641791044776117,0.06852379015860106,0.6376811594202898,0.3043478260869565,0.040000000000000036,0
|
||||||
|
524,0.30864197530864196,True,0.005361930294906166,0.005102040816326532,0.045432340009770394,0.0014925373134328365,0.000813338755591704,0.5942028985507246,0.6086956521739131,0.32000000000000006,1
|
||||||
|
467,0.2962962962962963,False,0.00804289544235925,0.010204081632653062,0.013190034196384953,0.005970149253731343,0.01972346482309882,0.5942028985507246,0.47826086956521746,0.20000000000000007,1
|
||||||
|
427,0.7530864197530864,True,0.006702412868632709,0.005102040816326532,0.05227161700048852,0.017164179104477612,0.011183407889385929,0.6231884057971016,0.45652173913043476,0.18000000000000005,0
|
||||||
|
354,0.5432098765432098,False,0.005361930294906166,0.005102040816326532,0.04250122129946263,0.01119402985074627,0.0024400162667751117,0.6956521739130435,0.6521739130434783,0.28,0
|
||||||
|
397,0.9135802469135802,True,0.00804289544235925,0.010204081632653062,0.043478260869565216,0.013432835820895522,0.011996746644977633,0.5217391304347827,0.47826086956521746,0.24000000000000005,0
|
||||||
|
394,0.5432098765432098,False,0.00804289544235925,0.010204081632653062,0.12066438690766976,0.020149253731343283,0.009150061000406669,0.4637681159420291,0.3478260869565218,0.15999999999999998,0
|
||||||
|
205,0.5061728395061729,True,0.028150134048257374,0.056122448979591844,0.048851978505129456,0.013432835820895522,0.0022366815778771857,0.7101449275362319,0.673913043478261,0.32000000000000006,0
|
||||||
|
193,0.5555555555555556,True,0.012064343163538875,0.015306122448979595,0.06985832926233512,0.014925373134328356,0.0028466856445709637,0.47826086956521746,0.47826086956521746,0.30400000000000005,1
|
||||||
|
349,0.5555555555555556,False,0.005361930294906166,0.005102040816326532,0.046409379579872984,0.006716417910447762,0.000813338755591704,0.5652173913043479,0.5869565217391306,0.36,1
|
||||||
|
445,0.16049382716049382,True,0.006702412868632709,0.005102040816326532,0.10552027357107963,0.022388059701492536,0.007116714111427409,0.6666666666666667,0.673913043478261,0.36,1
|
||||||
|
162,0.691358024691358,True,0.07238605898123324,0.13265306122448983,0.2618466047874939,0.02462686567164179,0.011183407889385929,0.391304347826087,0.19565217391304351,0.08000000000000002,0
|
||||||
|
563,0.7407407407407407,True,0.013404825737265414,0.020408163265306124,0.11480214948705422,0.015671641791044775,0.014640097600650671,0.6521739130434783,0.3695652173913044,0.08000000000000002,0
|
||||||
|
325,0.4691358024691358,True,0.005361930294906166,0.005102040816326532,0.046409379579872984,0.012686567164179104,0.0024400162667751117,0.5797101449275364,0.47826086956521746,0.20000000000000007,1
|
||||||
|
16,0.41975308641975306,True,0.018766756032171584,0.035714285714285726,0.13629702002931118,0.11791044776119403,0.08743391622610817,0.7101449275362319,0.7608695652173914,0.4,0
|
||||||
|
260,0.4691358024691358,True,0.21447721179624663,0.4489795918367348,0.08891060087933561,0.034328358208955224,0.015453436356242375,0.391304347826087,0.2391304347826087,0.08000000000000002,0
|
||||||
|
279,0.5432098765432098,False,0.00804289544235925,0.0663265306122449,0.03957010258915486,0.005970149253731343,0.000610004066693778,0.811594202898551,0.7173913043478262,0.28,0
|
||||||
|
537,0.07407407407407407,False,0.005361930294906166,0.0,0.1621885686370298,0.01119402985074627,0.013013420089467263,0.7101449275362319,0.5869565217391306,0.24000000000000005,0
|
||||||
|
111,0.5432098765432098,True,0.03753351206434316,0.07653061224489797,0.09477283829995115,0.017164179104477612,0.02135014233428223,0.43478260869565216,0.28260869565217395,0.128,0
|
||||||
|
37,0.5185185185185185,False,0.18498659517426272,0.3928571428571429,0.1519296531509526,0.020895522388059702,0.013420089467263115,0.23188405797101447,0.2391304347826087,0.20000000000000007,0
|
||||||
|
14,0.7037037037037037,True,0.004021447721179624,0.005102040816326532,0.040058622374206154,0.03208955223880597,0.006100040666937779,0.4492753623188405,0.391304347826087,0.22800000000000004,0
|
||||||
|
463,0.25925925925925924,True,0.005361930294906166,0.0,0.032730825598436736,0.009701492537313432,0.006303375355835705,0.7681159420289856,0.673913043478261,0.28,0
|
||||||
|
468,0.7654320987654321,True,0.00804289544235925,0.010204081632653062,0.06204201270151441,0.014925373134328356,0.008743391622610817,0.3768115942028985,0.26086956521739135,0.12,0
|
||||||
|
559,0.2716049382716049,True,0.5683646112600536,1.0000000000000002,0.15974596971177332,0.048507462686567165,0.0258235054900366,0.6956521739130435,0.3695652173913044,0.08000000000000002,0
|
||||||
|
460,0.2222222222222222,False,0.02412868632707775,0.045918367346938785,0.07425500732779677,0.11119402985074628,0.008133387555917039,0.40579710144927533,0.3478260869565218,0.20000000000000007,0
|
||||||
|
62,0.6666666666666666,True,0.00804289544235925,0.020408163265306124,0.046409379579872984,0.020149253731343283,0.006506710044733631,0.6521739130434783,0.5869565217391306,0.28,0
|
||||||
|
31,0.5925925925925926,True,0.006702412868632709,0.005102040816326532,0.045432340009770394,0.018656716417910446,0.006710044733631557,0.31884057971014496,0.43478260869565216,0.43999999999999995,0
|
||||||
|
100,0.2839506172839506,True,0.002680965147453083,0.005102040816326532,0.04787493893502687,0.012686567164179104,0.0034566897112647418,0.1449275362318841,0.15217391304347827,0.18400000000000005,1
|
||||||
|
472,0.4691358024691358,True,0.004021447721179624,0.005102040816326532,0.06546165119687347,0.04029850746268657,0.004473363155754372,0.4492753623188405,0.3260869565217391,0.15999999999999998,1
|
||||||
|
38,0.5432098765432098,True,0.013404825737265414,0.025510204081632654,0.09770395701025891,0.020895522388059702,0.011183407889385929,0.4492753623188405,0.28260869565217395,0.124,0
|
||||||
|
87,0.6666666666666666,True,0.005361930294906166,0.005102040816326532,0.11480214948705422,0.017164179104477612,0.009760065067100447,0.5072463768115942,0.47826086956521746,0.28,0
|
||||||
|
119,0.345679012345679,True,0.2359249329758713,0.413265306122449,0.11480214948705422,0.9253731343283582,0.2112647417649451,0.391304347826087,0.3695652173913044,0.24000000000000005,0
|
||||||
|
494,0.25925925925925924,True,0.004021447721179624,0.005102040816326532,0.05959941377625794,0.13880597014925375,0.07930052867019113,0.5507246376811594,0.6521739130434783,0.4800000000000001,0
|
||||||
|
566,0.5679012345679012,False,0.00804289544235925,0.010204081632653062,0.0625305324865657,0.008955223880597014,0.00406669377795852,0.7391304347826086,0.673913043478261,0.28,1
|
||||||
|
215,0.7654320987654321,True,0.002680965147453083,0.005102040816326532,0.0180752320468979,0.005223880597014926,0.027856852379015862,0.3333333333333333,0.5217391304347827,0.64,1
|
||||||
|
374,0.6419753086419753,False,0.004021447721179624,0.0,0.040058622374206154,0.011940298507462685,0.0024400162667751117,0.6231884057971016,0.673913043478261,0.4,1
|
||||||
|
18,0.4444444444444444,False,0.006702412868632709,0.010204081632653062,0.11235955056179775,0.1656716417910448,0.047580317202114676,0.5942028985507246,0.47826086956521746,0.20000000000000007,0
|
||||||
|
515,0.5555555555555556,True,0.04691689008042896,0.10204081632653063,0.061553492916463115,0.041044776119402986,0.03456689711264742,0.6086956521739131,0.45652173913043476,0.15999999999999998,0
|
||||||
|
358,0.4074074074074074,True,0.004021447721179624,0.005102040816326532,0.055202735710796286,0.013432835820895522,0.004676697844652298,0.4202898550724637,0.3695652173913044,0.20000000000000007,0
|
||||||
|
59,0.7407407407407407,True,0.009383378016085792,0.020408163265306124,0.040058622374206154,0.007462686567164179,0.0026433509556730377,0.40579710144927533,0.5,0.43599999999999994,1
|
||||||
|
461,0.2962962962962963,False,0.005361930294906166,0.005102040816326532,0.12017586712261846,0.033582089552238806,0.0024400162667751117,0.5942028985507246,0.6956521739130435,0.4840000000000001,0
|
||||||
|
476,0.41975308641975306,True,0.006702412868632709,0.010204081632653062,0.12066438690766976,0.003731343283582089,0.0028466856445709637,0.40579710144927533,0.391304347826087,0.28,0
|
||||||
|
536,0.5185185185185185,True,0.2064343163538874,0.36224489795918374,0.08011724474841231,0.04253731343283582,0.04249694997966653,0.6086956521739131,0.3695652173913044,0.12,0
|
||||||
|
364,0.20987654320987653,True,0.005361930294906166,0.005102040816326532,0.05862237420615535,0.017164179104477612,0.009353395689304595,0.5942028985507246,0.5652173913043479,0.28,1
|
||||||
|
1,0.7160493827160493,True,0.14075067024128687,0.2755102040816327,0.31069858329262334,0.04029850746268657,0.018096787311915413,0.6956521739130435,0.5,0.176,0
|
||||||
|
362,0.6296296296296295,True,0.009383378016085792,0.010204081632653062,0.07425500732779677,0.008208955223880595,0.000813338755591704,0.5072463768115942,0.43478260869565216,0.20000000000000007,1
|
||||||
|
131,0.8148148148148148,False,0.004021447721179624,0.005102040816326532,0.08500244259892525,0.005970149253731343,0.0034566897112647418,0.4492753623188405,0.3478260869565218,0.18000000000000005,1
|
||||||
|
507,0.5679012345679012,True,0.006702412868632709,0.010204081632653062,0.06399609184171959,0.13432835820895522,0.012606750711671411,0.6956521739130435,0.6521739130434783,0.28,0
|
||||||
|
446,0.6172839506172839,True,0.005361930294906166,0.005102040816326532,0.05764533463605276,0.018656716417910446,0.0018300122000813337,0.40579710144927533,0.391304347826087,0.264,0
|
||||||
|
348,0.8148148148148148,True,0.012064343163538875,0.015306122448979595,0.1441133365901319,0.006716417910447762,0.000610004066693778,0.4927536231884057,0.41304347826086957,0.20000000000000007,0
|
||||||
|
493,0.7530864197530864,True,0.004021447721179624,0.005102040816326532,0.0986809965803615,0.014925373134328356,0.0034566897112647418,0.36231884057971014,0.19565217391304351,0.08800000000000002,1
|
||||||
|
567,0.5925925925925926,True,0.03083109919571046,0.0663265306122449,0.09184171958964338,0.007462686567164179,0.005896705978039853,0.47826086956521746,0.17391304347826086,0.03600000000000003,0
|
||||||
|
431,0.5308641975308641,False,0.005361930294906166,0.005102040816326532,0.08451392281387396,0.0,0.000406669377795852,0.5797101449275364,0.43478260869565216,0.18400000000000005,1
|
||||||
|
118,0.345679012345679,True,0.20777479892761394,0.35204081632653067,0.10600879335613092,0.9999999999999999,0.32309882065880435,0.4202898550724637,0.41304347826086957,0.28,0
|
||||||
|
98,0.1728395061728395,True,0.002680965147453083,0.0,0.0986809965803615,0.06492537313432836,0.0305002033346889,0.4637681159420291,0.47826086956521746,0.32000000000000006,0
|
||||||
|
220,0.4074074074074074,True,0.005361930294906166,0.005102040816326532,0.04103566194430874,0.012686567164179104,0.007116714111427409,0.3333333333333333,0.3478260869565218,0.28,0
|
||||||
|
426,0.5061728395061729,True,0.012064343163538875,0.025510204081632654,0.05031753786028334,0.0291044776119403,0.006303375355835705,0.4202898550724637,0.3478260869565218,0.20000000000000007,1
|
||||||
|
309,0.5432098765432098,False,0.009383378016085792,0.030612244897959186,0.2266731802638007,0.12537313432835823,0.04859699064660431,0.7681159420289856,0.7173913043478262,0.32000000000000006,0
|
||||||
|
99,0.1728395061728395,True,0.004021447721179624,0.0,0.12164142647777235,0.22238805970149256,0.08011386742578284,0.6086956521739131,0.6086956521739131,0.32000000000000006,0
|
||||||
|
237,0.38271604938271603,False,0.006702412868632709,0.010204081632653062,0.046409379579872984,0.007462686567164179,0.00101667344448963,0.7681159420289856,0.673913043478261,0.28,0
|
||||||
|
474,0.38271604938271603,True,0.021447721179624665,0.05102040816326532,0.07962872496336101,0.017164179104477612,0.025213501423342822,0.47826086956521746,0.391304347826087,0.20000000000000007,1
|
||||||
|
404,0.2222222222222222,True,0.005361930294906166,0.005102040816326532,0.06595017098192477,0.007462686567164179,0.0030500203334688897,0.5942028985507246,0.6521739130434783,0.4,0
|
||||||
|
340,0.8765432098765431,True,0.006702412868632709,0.005102040816326532,0.06985832926233512,0.025373134328358207,0.004473363155754372,0.5072463768115942,0.43478260869565216,0.20000000000000007,0
|
||||||
|
314,0.2716049382716049,True,0.021447721179624665,0.040816326530612256,0.06448461162677088,0.010447761194029851,0.010980073200488003,0.7391304347826086,0.7391304347826086,0.36,0
|
||||||
|
147,0.7530864197530864,True,0.004021447721179624,0.0,0.1607230092818759,0.007462686567164179,0.0038633590890605938,0.3768115942028985,0.41304347826086957,0.32000000000000006,0
|
||||||
|
371,0.35802469135802467,True,0.005361930294906166,0.005102040816326532,0.03517342452369321,0.014925373134328356,0.0036600244001626678,0.6521739130434783,0.7608695652173914,0.4800000000000001,1
|
||||||
|
393,0.45679012345679015,True,0.03083109919571046,0.06122448979591839,0.25256472887151926,0.09850746268656717,0.011590077267181781,0.7681159420289856,0.673913043478261,0.28,0
|
||||||
|
505,0.345679012345679,True,0.4316353887399464,0.7142857142857144,0.07620908646800195,0.06343283582089553,0.04554697031313542,0.4492753623188405,0.47826086956521746,0.32000000000000006,0
|
||||||
|
506,0.6419753086419753,True,0.23190348525469168,0.44387755102040827,0.08597948216902784,0.02462686567164179,0.03538023586823912,0.4202898550724637,0.3260869565217391,0.15999999999999998,0
|
||||||
|
50,0.5061728395061729,False,0.004021447721179624,0.005102040816326532,0.05227161700048852,0.008208955223880595,0.000610004066693778,0.43478260869565216,0.3478260869565218,0.15999999999999998,0
|
||||||
|
376,0.35802469135802467,True,0.004021447721179624,0.0,0.05129457743038593,0.018656716417910446,0.004473363155754372,0.6231884057971016,0.6086956521739131,0.32000000000000006,0
|
||||||
|
5,0.5185185185185185,True,0.018766756032171584,0.030612244897959186,0.07083536883243771,0.006716417910447762,0.000610004066693778,0.7101449275362319,0.7608695652173914,0.4,0
|
||||||
|
210,0.2962962962962963,True,0.005361930294906166,0.010204081632653062,0.06204201270151441,0.007462686567164179,0.000610004066693778,0.20289855072463764,0.3260869565217391,0.43999999999999995,0
|
||||||
|
434,0.32098765432098764,False,0.004021447721179624,0.005102040816326532,0.06399609184171959,0.016417910447761194,0.00508336722244815,0.6956521739130435,0.5869565217391306,0.24800000000000005,1
|
||||||
|
418,0.5679012345679012,True,0.050938337801608585,0.11224489795918367,0.189057156814851,0.04402985074626865,0.007930052867019113,0.6231884057971016,0.45652173913043476,0.15999999999999998,0
|
||||||
|
257,0.49382716049382713,True,0.005361930294906166,0.005102040816326532,0.13287738153395212,0.10298507462686568,0.015250101667344447,0.4202898550724637,0.45652173913043476,0.32000000000000006,0
|
||||||
|
294,0.2222222222222222,True,0.02680965147453083,0.045918367346938785,0.1353199804592086,0.01119402985074627,0.0020333468889792597,0.811594202898551,0.7826086956521741,0.32000000000000006,0
|
||||||
|
304,0.6296296296296295,False,0.005361930294906166,0.005102040816326532,0.0449438202247191,0.008208955223880595,0.001220008133387556,0.6086956521739131,0.6304347826086956,0.43999999999999995,0
|
||||||
|
406,0.5061728395061729,True,0.004021447721179624,0.005102040816326532,0.057156814851001464,0.005970149253731343,0.00955673037820252,0.5797101449275364,0.6086956521739131,0.36,1
|
||||||
|
433,0.45679012345679015,False,0.006702412868632709,0.005102040816326532,0.06741573033707865,0.015671641791044775,0.0026433509556730377,0.7101449275362319,0.6304347826086956,0.28,1
|
||||||
|
180,0.8765432098765431,True,0.03217158176943699,0.06122448979591839,0.09135319980459208,0.009701492537313432,0.0036600244001626678,0.0,0.0,0.08000000000000002,0
|
||||||
|
213,0.04938271604938271,False,0.006702412868632709,0.005102040816326532,0.16511968734733756,0.01119402985074627,0.00955673037820252,0.6956521739130435,0.5434782608695652,0.20000000000000007,0
|
||||||
|
41,0.7160493827160493,True,0.002680965147453083,0.0,0.04738641914997557,0.02388059701492537,0.020130134200894673,0.31884057971014496,0.3695652173913044,0.32000000000000006,1
|
||||||
|
134,0.1728395061728395,True,0.018766756032171584,0.030612244897959186,0.056179775280898875,0.018656716417910446,0.00508336722244815,0.5942028985507246,0.5869565217391306,0.32000000000000006,0
|
||||||
|
311,0.6172839506172839,False,0.30563002680965146,0.6377551020408164,0.24963361016121152,0.02462686567164179,0.007320048800325335,0.6521739130434783,0.5652173913043479,0.24000000000000005,0
|
||||||
|
258,0.3950617283950617,True,0.005361930294906166,0.005102040816326532,0.05813385442110405,0.015671641791044775,0.004676697844652298,0.5362318840579712,0.6304347826086956,0.43999999999999995,1
|
||||||
|
195,0.691358024691358,True,0.02680965147453083,0.045918367346938785,0.5183194919394235,0.014925373134328356,0.008743391622610817,0.36231884057971014,0.21739130434782605,0.08000000000000002,0
|
||||||
|
0,0.7530864197530864,False,0.004021447721179624,0.0,0.060576453346360526,0.004477611940298508,0.001423342822285482,0.5942028985507246,0.5217391304347827,0.24000000000000005,0
|
||||||
|
271,0.0,True,0.005361930294906166,0.005102040816326532,0.19394235466536394,0.10597014925373135,0.044733631557543715,0.5507246376811594,0.5,0.24000000000000005,1
|
||||||
|
320,0.32098765432098764,False,0.004021447721179624,0.005102040816326532,0.0,0.015671641791044775,0.0032533550223668157,0.4492753623188405,0.5434782608695652,0.43999999999999995,0
|
||||||
|
173,0.3333333333333333,True,0.002680965147453083,0.0,0.05471421592574499,0.028358208955223882,0.004676697844652298,0.47826086956521746,0.6086956521739131,0.5200000000000001,0
|
||||||
|
316,0.49382716049382713,True,0.006702412868632709,0.005102040816326532,0.05813385442110405,0.014179104477611941,0.014436762911752743,0.6376811594202898,0.6086956521739131,0.28,1
|
||||||
|
363,0.4691358024691358,False,0.006702412868632709,0.005102040816326532,0.049829018075232046,0.011940298507462685,0.0036600244001626678,0.8405797101449277,0.7608695652173914,0.28,1
|
||||||
|
152,0.5185185185185185,False,0.005361930294906166,0.005102040816326532,0.05813385442110405,0.007462686567164179,0.005896705978039853,0.47826086956521746,0.43478260869565216,0.24000000000000005,0
|
||||||
|
520,0.7160493827160493,True,0.018766756032171584,0.040816326530612256,0.07865168539325842,0.04402985074626865,0.029280195201301342,0.855072463768116,0.673913043478261,0.20000000000000007,0
|
||||||
|
390,0.8395061728395061,True,0.005361930294906166,0.005102040816326532,0.04152418172936004,0.009701492537313432,0.004880032533550224,0.47826086956521746,0.45652173913043476,0.28,0
|
||||||
|
435,0.16049382716049382,False,0.0013404825737265416,0.0,0.06985832926233512,0.013432835820895522,0.0020333468889792597,0.6376811594202898,0.7826086956521741,0.56,1
|
||||||
|
127,0.7407407407407407,True,0.034852546916890076,0.0663265306122449,0.0903761602344895,0.026865671641791045,0.005896705978039853,0.5507246376811594,0.5,0.24000000000000005,0
|
||||||
|
252,0.7530864197530864,True,0.009383378016085792,0.010204081632653062,0.09526135808500244,0.028358208955223882,0.005896705978039853,0.6231884057971016,0.6521739130434783,0.36,1
|
||||||
|
292,0.5061728395061729,True,0.002680965147453083,0.005102040816326532,0.08891060087933561,0.008955223880597014,0.0026433509556730377,0.6376811594202898,0.5434782608695652,0.24000000000000005,0
|
||||||
|
233,0.35802469135802467,True,0.021447721179624665,0.0663265306122449,1.0,0.028358208955223882,0.01586010573403823,0.5072463768115942,0.45652173913043476,0.24000000000000005,0
|
||||||
|
230,0.7037037037037037,True,0.014745308310991957,0.025510204081632654,0.06497313141182218,0.03805970149253731,0.015046766978446523,0.5797101449275364,0.6304347826086956,0.4,1
|
||||||
|
381,0.43209876543209874,True,0.002680965147453083,0.005102040816326532,0.06106497313141182,0.013432835820895522,0.006506710044733631,0.7826086956521738,0.5217391304347827,0.12,0
|
||||||
|
57,0.5432098765432098,False,0.006702412868632709,0.005102040816326532,0.05471421592574499,0.010447761194029851,0.008743391622610817,0.40579710144927533,0.391304347826087,0.24000000000000005,1
|
||||||
|
410,0.1728395061728395,True,0.013404825737265414,0.025510204081632654,0.07425500732779677,0.3208955223880597,0.1705978039853599,0.3333333333333333,0.21739130434782605,0.12,0
|
||||||
|
146,0.7654320987654321,False,0.03351206434316353,0.06122448979591839,0.05129457743038593,0.008208955223880595,0.005490036600244002,0.40579710144927533,0.19565217391304351,0.040000000000000036,0
|
||||||
|
40,0.5061728395061729,True,0.02680965147453083,0.05102040816326532,0.05129457743038593,0.017164179104477612,0.007930052867019113,0.3478260869565217,0.3695652173913044,0.28,0
|
||||||
|
414,0.7530864197530864,True,0.013404825737265414,0.025510204081632654,0.09623839765510503,0.013432835820895522,0.0026433509556730377,0.36231884057971014,0.28260869565217395,0.15999999999999998,1
|
||||||
|
24,0.728395061728395,True,0.006702412868632709,0.005102040816326532,0.06399609184171959,0.03134328358208955,0.006913379422529483,0.47826086956521746,0.6521739130434783,0.6200000000000001,1
|
||||||
|
379,0.8395061728395061,True,0.004021447721179624,0.005102040816326532,0.05959941377625794,0.004477611940298508,0.0022366815778771857,0.6666666666666667,0.6086956521739131,0.28,1
|
||||||
|
471,0.5555555555555556,False,0.002680965147453083,0.0,0.05959941377625794,0.005223880597014926,0.0030500203334688897,0.5652173913043479,0.43478260869565216,0.15999999999999998,1
|
||||||
|
366,0.14814814814814814,True,0.004021447721179624,0.005102040816326532,0.17342452369320957,0.013432835820895522,0.004880032533550224,0.6521739130434783,0.6956521739130435,0.4,1
|
||||||
|
532,0.7160493827160493,True,0.004021447721179624,0.005102040816326532,0.04836345872007816,0.0014925373134328365,0.001220008133387556,0.7971014492753623,0.5,0.12,1
|
||||||
|
128,0.6666666666666666,False,0.01742627345844504,0.035714285714285726,0.8954567659990229,0.03805970149253731,0.014640097600650671,0.7681159420289856,0.6521739130434783,0.26,0
|
||||||
|
496,0.24691358024691357,True,0.00804289544235925,0.005102040816326532,0.061553492916463115,0.03134328358208955,0.00406669377795852,0.7681159420289856,0.8478260869565217,0.4800000000000001,0
|
||||||
|
443,0.4691358024691358,False,0.004021447721179624,0.005102040816326532,0.043478260869565216,0.018656716417910446,0.014233428222854819,0.5072463768115942,0.5,0.30400000000000005,0
|
||||||
|
254,0.41975308641975306,False,0.004021447721179624,0.0,0.043478260869565216,0.05970149253731343,0.0020333468889792597,0.6376811594202898,0.7173913043478262,0.43999999999999995,1
|
||||||
|
35,0.32098765432098764,True,0.012064343163538875,0.015306122448979595,0.20468978993649242,0.06865671641791045,0.014030093533956891,0.6086956521739131,0.5217391304347827,0.24000000000000005,0
|
||||||
|
367,0.691358024691358,True,0.02412868632707775,0.045918367346938785,0.10161211529066927,0.026119402985074626,0.008336722244814965,0.4927536231884057,0.43478260869565216,0.24000000000000005,1
|
||||||
|
558,0.5802469135802468,True,0.0482573726541555,0.12244897959183676,0.10356619443087445,0.27761194029850744,0.0648637657584384,0.6956521739130435,0.673913043478261,0.32000000000000006,0
|
||||||
|
459,0.7530864197530864,True,0.009383378016085792,0.020408163265306124,0.30434782608695654,0.004477611940298508,0.007116714111427409,0.43478260869565216,0.13043478260869562,0.01999999999999999,0
|
||||||
|
12,0.7407407407407407,True,0.006702412868632709,0.010204081632653062,0.12066438690766976,0.03805970149253731,0.00955673037820252,0.6231884057971016,0.5434782608695652,0.24000000000000005,1
|
||||||
|
44,1.0,False,0.00804289544235925,0.010204081632653062,0.07083536883243771,0.005223880597014926,0.000813338755591704,0.6231884057971016,0.5869565217391306,0.28,1
|
||||||
|
343,0.8148148148148148,True,0.03619302949061662,0.07653061224489797,0.06595017098192477,0.022388059701492536,0.0034566897112647418,0.4202898550724637,0.2391304347826087,0.08000000000000002,0
|
||||||
|
539,0.7530864197530864,False,0.004021447721179624,0.005102040816326532,0.16756228627259404,0.010447761194029851,0.006913379422529483,0.6521739130434783,0.5652173913043479,0.24000000000000005,1
|
||||||
|
239,0.4444444444444444,True,0.006702412868632709,0.010204081632653062,0.06497313141182218,0.04402985074626865,0.007523383489223261,0.5942028985507246,0.47826086956521746,0.20000000000000007,0
|
||||||
|
120,0.345679012345679,True,0.30294906166219837,0.5714285714285716,0.11577918905715681,0.3522388059701492,0.05368035786905246,0.6376811594202898,0.5652173913043479,0.24000000000000005,0
|
||||||
|
229,0.5185185185185185,True,0.002680965147453083,0.005102040816326532,0.11089399120664387,0.011940298507462685,0.0020333468889792597,0.47826086956521746,0.45652173913043476,0.28,0
|
||||||
|
212,0.2222222222222222,True,0.03083109919571046,0.045918367346938785,0.04738641914997557,0.05373134328358209,0.023586823912159417,0.40579710144927533,0.47826086956521746,0.36,1
|
||||||
|
360,0.24691358024691357,True,0.004021447721179624,0.005102040816326532,0.07572056668295066,0.027611940298507463,0.0030500203334688897,0.5652173913043479,0.5217391304347827,0.28,0
|
||||||
|
528,0.5061728395061729,True,0.01742627345844504,0.035714285714285726,0.12310698583292623,0.0014925373134328365,0.005490036600244002,0.5217391304347827,0.26086956521739135,0.08000000000000002,0
|
||||||
|
143,0.32098765432098764,True,0.0160857908847185,0.015306122448979595,0.13141182217879824,0.05522388059701492,0.026026840178934526,0.4202898550724637,0.391304347826087,0.24000000000000005,0
|
||||||
|
298,0.3333333333333333,False,0.009383378016085792,0.010204081632653062,0.06204201270151441,0.011940298507462685,0.000813338755591704,0.7536231884057973,0.6304347826086956,0.24000000000000005,0
|
||||||
|
113,0.8641975308641975,True,0.002680965147453083,0.0,0.10210063507572056,0.010447761194029851,0.01769011793411956,0.3333333333333333,0.2391304347826087,0.12,0
|
||||||
|
529,0.6296296296296295,True,0.0388739946380697,0.07142857142857144,0.07376648754274548,0.03283582089552239,0.028670191134607566,0.3478260869565217,0.19565217391304351,0.08000000000000002,0
|
||||||
|
517,0.2962962962962963,True,0.006702412868632709,0.005102040816326532,0.07425500732779677,0.02985074626865672,0.0034566897112647418,0.7681159420289856,0.673913043478261,0.28,0
|
||||||
|
530,0.2222222222222222,False,0.009383378016085792,0.010204081632653062,0.03663898387884709,0.002985074626865672,0.0020333468889792597,0.6231884057971016,0.6304347826086956,0.32000000000000006,1
|
||||||
|
503,0.6049382716049383,True,0.26005361930294907,0.5255102040816328,0.08549096238397655,0.021641791044776117,0.04270028466856445,0.7826086956521738,0.3478260869565218,0.040000000000000036,0
|
||||||
|
222,0.5308641975308641,True,0.006702412868632709,0.005102040816326532,0.0986809965803615,0.022388059701492536,0.0034566897112647418,0.7681159420289856,0.673913043478261,0.28,0
|
||||||
|
457,0.7037037037037037,True,0.005361930294906166,0.005102040816326532,0.063019052271617,0.013432835820895522,0.004880032533550224,0.6086956521739131,0.5434782608695652,0.24000000000000005,1
|
||||||
|
326,0.3950617283950617,False,0.010723860589812333,0.015306122448979595,0.1441133365901319,0.11194029850746269,0.016063440422936153,0.811594202898551,0.7608695652173914,0.32000000000000006,1
|
||||||
|
400,0.7654320987654321,False,0.004021447721179624,0.005102040816326532,0.04836345872007816,0.010447761194029851,0.0018300122000813337,0.5362318840579712,0.5,0.28,1
|
||||||
|
548,0.4691358024691358,True,0.14343163538873993,0.30612244897959184,0.07376648754274548,0.03731343283582089,0.03558357055713705,0.6086956521739131,0.41304347826086957,0.9999999999999999,0
|
||||||
|
135,0.7654320987654321,True,0.14611260053619304,0.2806122448979592,0.5114802149487054,0.9253731343283582,1.0,0.6231884057971016,0.3260869565217391,0.08000000000000002,0
|
||||||
|
382,0.6666666666666666,False,0.004021447721179624,0.0,0.05324865657059111,0.012686567164179104,0.0022366815778771857,0.5797101449275364,0.5,0.24000000000000005,0
|
||||||
|
269,0.2716049382716049,True,0.002680965147453083,0.0,0.022960429897410845,0.003731343283582089,0.0018300122000813337,0.01449275362318836,0.15217391304347827,0.4,0
|
||||||
|
284,0.1728395061728395,True,0.006702412868632709,0.010204081632653062,0.11577918905715681,0.014925373134328356,0.007523383489223261,0.7681159420289856,0.673913043478261,0.28,0
|
||||||
|
484,0.7160493827160493,True,0.06166219839142091,0.10204081632653063,0.019540791402051783,0.005970149253731343,0.005896705978039853,0.3333333333333333,0.26086956521739135,0.5680000000000001,0
|
||||||
|
383,0.691358024691358,False,0.013404825737265414,0.030612244897959186,0.04689789936492428,0.0,0.000203334688897926,0.31884057971014496,0.3478260869565218,0.28,1
|
||||||
|
136,0.5185185185185185,False,0.057640750670241284,0.10714285714285716,0.12066438690766976,0.03880597014925373,0.016063440422936153,0.5362318840579712,0.3478260869565218,0.12,0
|
||||||
|
114,0.5679012345679012,True,0.07238605898123324,0.1479591836734694,0.2921348314606741,0.12761194029850748,0.05571370475803172,0.43478260869565216,0.3043478260869565,0.14800000000000002,1
|
||||||
|
202,0.41975308641975306,False,0.005361930294906166,0.005102040816326532,0.040058622374206154,0.006716417910447762,0.0024400162667751117,0.4927536231884057,0.47826086956521746,0.29200000000000004,1
|
||||||
|
322,0.3950617283950617,True,0.01742627345844504,0.020408163265306124,0.06936980947728383,0.019402985074626865,0.004676697844652298,0.6376811594202898,0.6521739130434783,0.36,0
|
||||||
|
291,0.691358024691358,True,0.004021447721179624,0.005102040816326532,0.0542256961406937,0.016417910447761194,0.000610004066693778,0.7391304347826086,0.7173913043478262,0.32000000000000006,1
|
||||||
|
416,0.8148148148148148,True,0.002680965147453083,0.0,0.3903273082559844,0.049253731343283584,0.03436356242374949,0.5217391304347827,0.391304347826087,0.18000000000000005,0
|
||||||
|
564,0.41975308641975306,False,0.002680965147453083,0.0,0.049829018075232046,0.008955223880597014,0.004676697844652298,0.4637681159420291,0.43478260869565216,0.24000000000000005,1
|
||||||
|
369,0.6666666666666666,False,0.005361930294906166,0.005102040816326532,0.032730825598436736,0.010447761194029851,0.0028466856445709637,0.6231884057971016,0.673913043478261,0.4,0
|
||||||
|
479,0.35802469135802467,True,0.040214477211796246,0.07653061224489797,0.06008793356130923,0.5738805970149253,0.16937779585197235,0.6666666666666667,0.5,0.15999999999999998,0
|
||||||
|
94,0.691358024691358,True,0.064343163538874,0.11734693877551021,0.05129457743038593,0.08656716417910448,0.03883692557950386,0.5942028985507246,0.43478260869565216,0.15999999999999998,0
|
||||||
|
288,0.5679012345679012,False,0.00804289544235925,0.020408163265306124,0.08597948216902784,0.004477611940298508,0.005693371289141927,0.6956521739130435,0.6086956521739131,0.24000000000000005,0
|
||||||
|
339,0.8765432098765431,True,0.013404825737265414,0.015306122448979595,0.07425500732779677,0.02985074626865672,0.0038633590890605938,0.4637681159420291,0.3695652173913044,0.15999999999999998,0
|
||||||
|
198,0.45679012345679015,True,0.006702412868632709,0.005102040816326532,0.051783097215437224,0.008955223880597014,0.001423342822285482,0.4927536231884057,0.45652173913043476,0.24000000000000005,1
|
||||||
|
549,0.4444444444444444,False,0.022788203753351208,0.045918367346938785,0.34440644846116264,0.04776119402985075,0.026433509556730378,0.7391304347826086,0.8695652173913047,0.5200000000000001,0
|
||||||
|
93,0.691358024691358,True,0.07238605898123324,0.13265306122448983,0.06888128969223253,0.15671641791044777,0.07909719398129321,0.6231884057971016,0.45652173913043476,0.15999999999999998,0
|
||||||
|
122,0.6666666666666666,True,0.01742627345844504,0.035714285714285726,0.06106497313141182,0.03731343283582089,0.014843432289548595,0.4637681159420291,0.5652173913043479,0.43999999999999995,1
|
||||||
|
270,0.4074074074074074,True,0.004021447721179624,0.005102040816326532,0.08402540302882266,0.06417910447761195,0.008743391622610817,0.9855072463768118,0.8695652173913047,0.28,0
|
||||||
|
359,0.8024691358024691,False,0.005361930294906166,0.005102040816326532,0.04054714215925745,0.02388059701492537,0.011996746644977633,0.8260869565217392,0.8695652173913047,0.43999999999999995,1
|
||||||
|
168,0.691358024691358,True,0.30026809651474534,0.6377551020408164,0.43917928676111384,0.03208955223880597,0.006100040666937779,0.6086956521739131,0.5217391304347827,0.24000000000000005,0
|
||||||
|
333,0.3950617283950617,False,0.004021447721179624,0.005102040816326532,0.043478260869565216,0.008208955223880595,0.0028466856445709637,0.4637681159420291,0.47826086956521746,0.32000000000000006,1
|
||||||
|
13,0.8641975308641975,False,0.009383378016085792,0.015306122448979595,0.07376648754274548,0.008955223880597014,0.0038633590890605938,0.7826086956521738,0.6956521739130435,0.28,0
|
||||||
|
303,0.5679012345679012,True,0.004021447721179624,0.005102040816326532,0.06985832926233512,0.005970149253731343,0.001220008133387556,0.8260869565217392,0.7173913043478262,0.28,1
|
||||||
|
317,0.38271604938271603,True,0.004021447721179624,0.005102040816326532,0.06595017098192477,0.02388059701492537,0.0038633590890605938,0.5942028985507246,0.5434782608695652,0.28,0
|
||||||
|
342,0.38271604938271603,True,0.005361930294906166,0.005102040816326532,0.06595017098192477,0.019402985074626865,0.004270028466856446,0.6231884057971016,0.673913043478261,0.4,1
|
||||||
|
187,0.691358024691358,True,0.022788203753351208,0.045918367346938785,0.0625305324865657,0.07761194029850747,0.04798698657991053,0.18840579710144928,0.15217391304347827,0.12,0
|
||||||
|
449,0.5432098765432098,False,0.006702412868632709,0.005102040816326532,0.0537371763556424,0.011940298507462685,0.0032533550223668157,0.5072463768115942,0.47826086956521746,0.28,0
|
||||||
|
219,0.4074074074074074,True,0.005361930294906166,0.005102040816326532,0.030288226673180263,0.023134328358208955,0.005693371289141927,0.5362318840579712,0.5434782608695652,0.32000000000000006,0
|
||||||
|
91,0.691358024691358,True,0.08579088471849866,0.15816326530612249,0.11968734733756717,0.29402985074626864,0.15921106140707605,0.5942028985507246,0.45652173913043476,0.15999999999999998,0
|
||||||
|
501,0.3950617283950617,True,0.03217158176943699,0.07142857142857144,0.11822178798241328,0.013432835820895522,0.013216754778365189,0.4637681159420291,0.3478260869565218,0.15999999999999998,0
|
||||||
|
403,0.7530864197530864,True,0.004021447721179624,0.005102040816326532,0.06643869076697606,0.006716417910447762,0.0022366815778771857,0.5217391304347827,0.5869565217391306,0.4,1
|
||||||
|
251,0.35802469135802467,True,0.006702412868632709,0.035714285714285726,0.3014167073766487,0.020149253731343283,0.005896705978039853,0.4637681159420291,0.3695652173913044,0.20000000000000007,0
|
||||||
|
473,0.4691358024691358,True,0.00804289544235925,0.010204081632653062,0.044455300439667805,0.020895522388059702,0.0020333468889792597,0.5942028985507246,0.6521739130434783,0.4,1
|
||||||
|
336,0.8765432098765431,True,0.08445040214477212,0.1785714285714286,0.19296531509526135,0.14029850746268657,0.02684017893452623,0.5072463768115942,0.5,0.28,0
|
||||||
|
299,0.24691358024691357,False,0.006702412868632709,0.005102040816326532,0.06448461162677088,0.022388059701492536,0.004880032533550224,0.6811594202898552,0.6956521739130435,0.36,1
|
||||||
|
384,0.37037037037037035,True,0.04423592493297587,0.10204081632653063,0.20859794821690278,0.07835820895522388,0.01626677511183408,0.5507246376811594,0.41304347826086957,0.15999999999999998,0
|
||||||
|
150,0.6419753086419753,True,0.009383378016085792,0.020408163265306124,0.057156814851001464,0.014925373134328356,0.006303375355835705,0.6086956521739131,0.6304347826086956,0.36,1
|
||||||
|
380,0.5679012345679012,True,0.01742627345844504,0.035714285714285726,0.13092330239374694,0.019402985074626865,0.00854005693371289,0.6666666666666667,0.5434782608695652,0.24000000000000005,0
|
||||||
|
409,0.5432098765432098,True,0.06166219839142091,0.1275510204081633,0.24035173424523695,0.2044776119402985,0.03639690931272875,0.5507246376811594,0.5217391304347827,0.28,0
|
||||||
|
116,0.5432098765432098,True,0.004021447721179624,0.0,0.7655105031753786,0.04776119402985075,0.028060187067913786,0.3768115942028985,0.2391304347826087,0.12,0
|
||||||
|
444,0.7037037037037037,True,0.005361930294906166,0.005102040816326532,0.048851978505129456,0.005970149253731343,0.001626677511183408,0.5217391304347827,0.41304347826086957,0.20000000000000007,1
|
||||||
|
51,0.37037037037037035,False,0.002680965147453083,0.0,0.04787493893502687,0.003731343283582089,0.001626677511183408,0.5652173913043479,0.5434782608695652,0.28,0
|
||||||
|
388,0.5185185185185185,True,0.005361930294906166,0.005102040816326532,0.04738641914997557,0.015671641791044775,0.005896705978039853,0.6666666666666667,0.6304347826086956,0.32000000000000006,0
|
||||||
|
454,0.2962962962962963,True,0.002680965147453083,0.005102040816326532,0.04689789936492428,0.003731343283582089,0.00101667344448963,0.6231884057971016,0.5652173913043479,0.28,1
|
||||||
|
321,0.32098765432098764,False,0.005361930294906166,0.005102040816326532,0.06595017098192477,0.014925373134328356,0.00955673037820252,0.36231884057971014,0.41304347826086957,0.32000000000000006,0
|
||||||
|
327,0.24691358024691357,True,0.0388739946380697,0.07653061224489797,0.0542256961406937,0.0007462686567164178,0.004473363155754372,0.7101449275362319,0.6521739130434783,0.28,1
|
||||||
|
483,0.32098765432098764,True,0.005361930294906166,0.005102040816326532,0.05813385442110405,0.026865671641791045,0.009353395689304595,0.7391304347826086,0.7391304347826086,0.36,1
|
||||||
|
465,0.5061728395061729,False,0.002680965147453083,0.0,0.10112359550561797,0.009701492537313432,0.006303375355835705,0.3478260869565217,0.2391304347826087,0.08000000000000002,1
|
||||||
|
115,0.5679012345679012,True,0.09249329758713136,0.1785714285714286,0.7410845139228138,0.058208955223880594,0.010776738511590077,0.4202898550724637,0.3043478260869565,0.12,1
|
||||||
|
263,0.41975308641975306,False,0.005361930294906166,0.005102040816326532,0.05959941377625794,0.01119402985074627,0.0020333468889792597,0.6231884057971016,0.45652173913043476,0.15999999999999998,0
|
||||||
|
337,0.8765432098765431,True,0.028150134048257374,0.056122448979591844,0.1524181729360039,0.055970149253731345,0.011590077267181781,0.5362318840579712,0.43478260869565216,0.20000000000000007,0
|
||||||
|
190,0.691358024691358,True,0.07908847184986595,0.15816326530612249,0.12261846604787494,0.08059701492537315,0.020943472956486377,0.5652173913043479,0.6086956521739131,0.388,0
|
||||||
|
550,0.5185185185185185,True,0.0388739946380697,0.07142857142857144,0.05324865657059111,0.01119402985074627,0.006100040666937779,0.4202898550724637,0.3260869565217391,0.15999999999999998,0
|
||||||
|
319,0.12345679012345678,True,0.006702412868632709,0.010204081632653062,0.12066438690766976,0.008208955223880595,0.00101667344448963,0.7826086956521738,0.7173913043478262,0.28,1
|
||||||
|
395,0.5061728395061729,True,0.005361930294906166,0.005102040816326532,0.03761602344894968,0.010447761194029851,0.0018300122000813337,0.5217391304347827,0.5,0.28,1
|
||||||
|
276,0.38271604938271603,True,0.006702412868632709,0.005102040816326532,0.06204201270151441,0.01119402985074627,0.0018300122000813337,0.5362318840579712,0.5869565217391306,0.36,1
|
||||||
|
75,0.30864197530864196,False,0.004021447721179624,0.0,0.04836345872007816,0.03134328358208955,0.006100040666937779,0.36231884057971014,0.3478260869565218,0.24000000000000005,1
|
||||||
|
95,0.8765432098765431,True,0.006702412868632709,0.005102040816326532,0.10698583292623351,0.01119402985074627,0.0024400162667751117,0.24637681159420294,0.28260869565217395,0.28,0
|
||||||
|
243,0.2962962962962963,False,0.006702412868632709,0.005102040816326532,0.12359550561797752,0.01119402985074627,0.0024400162667751117,0.8405797101449277,1.0000000000000002,0.6000000000000001,0
|
||||||
|
69,0.691358024691358,True,0.005361930294906166,0.005102040816326532,0.07425500732779677,0.010447761194029851,0.001220008133387556,0.5217391304347827,0.45652173913043476,0.24000000000000005,1
|
||||||
|
538,0.5925925925925926,True,0.018766756032171584,0.035714285714285726,0.016609672691744015,0.055970149253731345,0.01362342415616104,0.5362318840579712,0.391304347826087,0.15999999999999998,0
|
||||||
|
15,0.25925925925925924,True,0.002680965147453083,0.0,0.05862237420615535,0.06044776119402986,0.00854005693371289,0.40579710144927533,0.3043478260869565,0.15999999999999998,1
|
||||||
|
3,0.6666666666666666,True,0.00804289544235925,0.015306122448979595,0.05813385442110405,0.002985074626865672,0.0018300122000813337,0.5942028985507246,0.5434782608695652,0.28,0
|
||||||
|
274,0.35802469135802467,True,0.018766756032171584,0.035714285714285726,0.06497313141182218,0.01119402985074627,0.0022366815778771857,0.7681159420289856,0.673913043478261,0.28,0
|
||||||
|
577,0.345679012345679,True,0.1648793565683646,0.4234693877551021,0.06204201270151441,0.013432835820895522,0.007320048800325335,0.391304347826087,0.3695652173913044,0.24000000000000005,0
|
||||||
|
138,0.1728395061728395,True,0.005361930294906166,0.005102040816326532,0.10698583292623351,0.04626865671641791,0.026230174867832454,0.40579710144927533,0.3478260869565218,0.20000000000000007,0
|
||||||
|
266,0.7160493827160493,True,0.010723860589812333,0.015306122448979595,0.06448461162677088,0.020895522388059702,0.008743391622610817,0.5217391304347827,0.6304347826086956,0.4800000000000001,0
|
||||||
|
306,0.5432098765432098,True,0.0160857908847185,0.045918367346938785,0.2564728871519296,0.04776119402985075,0.020740138267588453,0.6666666666666667,0.3260869565217391,0.040000000000000036,0
|
||||||
|
161,0.691358024691358,True,0.1487935656836461,0.25000000000000006,0.48216902784562765,0.0664179104477612,0.03578690524603497,0.5072463768115942,0.41304347826086957,0.20000000000000007,0
|
||||||
|
455,0.20987654320987653,False,0.002680965147453083,0.0,0.06008793356130923,0.01119402985074627,0.0022366815778771857,0.5942028985507246,0.5434782608695652,0.28,0
|
||||||
|
206,0.4444444444444444,True,0.04289544235924933,0.08673469387755103,0.1084513922813874,0.02985074626865672,0.009963399755998373,0.6231884057971016,0.43478260869565216,0.15999999999999998,0
|
||||||
|
324,0.691358024691358,True,0.029490616621983917,0.056122448979591844,0.05276013678553981,0.02388059701492537,0.005286701911346076,0.391304347826087,0.391304347826087,0.28,0
|
||||||
|
375,0.5308641975308641,True,0.04155495978552279,0.07653061224489797,0.06985832926233512,0.016417910447761194,0.00406669377795852,0.5942028985507246,0.5434782608695652,0.28,0
|
||||||
|
262,0.1728395061728395,True,0.005361930294906166,0.005102040816326532,0.0806057645334636,0.033582089552238806,0.008743391622610817,0.6086956521739131,0.673913043478261,0.4,0
|
||||||
|
439,0.4691358024691358,False,0.005361930294906166,0.005102040816326532,0.05129457743038593,0.01119402985074627,0.001423342822285482,0.5072463768115942,0.47826086956521746,0.28,0
|
||||||
|
273,0.32098765432098764,True,0.004021447721179624,0.005102040816326532,0.09721543722520762,0.003731343283582089,0.001423342822285482,1.0,0.8260869565217392,0.36,0
|
||||||
|
125,0.691358024691358,True,0.018766756032171584,0.020408163265306124,0.06741573033707865,0.026119402985074626,0.0028466856445709637,0.1739130434782608,0.17391304347826086,0.15999999999999998,1
|
||||||
|
458,0.2716049382716049,True,0.08579088471849866,0.15816326530612249,0.03761602344894968,0.020149253731343283,0.001626677511183408,0.13043478260869562,0.0,0.0,0
|
||||||
|
166,0.6296296296296295,True,1.0,0.1785714285714286,0.13141182217879824,0.022388059701492536,0.011183407889385929,0.5072463768115942,0.3478260869565218,0.12,0
|
||||||
|
485,0.2222222222222222,False,0.08445040214477212,0.15816326530612249,0.38446507083536885,0.10746268656716419,0.048190321268808456,0.5072463768115942,0.41304347826086957,0.20000000000000007,0
|
||||||
|
226,0.2716049382716049,True,0.012064343163538875,0.015306122448979595,0.0537371763556424,0.020895522388059702,0.010370069133794225,0.7681159420289856,0.673913043478261,0.28,0
|
||||||
|
112,0.2839506172839506,True,0.010723860589812333,0.015306122448979595,0.05666829506595017,0.03955223880597015,0.005693371289141927,0.4927536231884057,0.5217391304347827,0.32000000000000006,1
|
||||||
|
502,0.4691358024691358,True,0.005361930294906166,0.005102040816326532,0.03126526624328285,0.014179104477611941,0.0038633590890605938,0.31884057971014496,0.391304347826087,0.36,0
|
||||||
|
26,0.37037037037037035,True,0.04959785522788203,0.09693877551020409,0.11040547142159257,0.6455223880597015,0.1464009760065067,0.3333333333333333,0.391304347826087,0.32000000000000006,0
|
||||||
|
346,0.5185185185185185,True,0.002680965147453083,0.005102040816326532,0.025403028822667317,0.002985074626865672,0.0,0.6086956521739131,0.5434782608695652,0.24000000000000005,0
|
||||||
|
500,0.8148148148148148,True,0.03083109919571046,0.056122448979591844,0.14753297508549096,0.03880597014925373,0.008946726311508743,0.47826086956521746,0.3260869565217391,0.12,0
|
||||||
|
405,0.3333333333333333,False,0.005361930294906166,0.005102040816326532,0.07425500732779677,0.003731343283582089,0.0020333468889792597,0.7101449275362319,0.673913043478261,0.32000000000000006,0
|
||||||
|
65,0.654320987654321,True,0.013404825737265414,0.030612244897959186,0.1988275525158769,0.03880597014925373,0.0156567710451403,0.4202898550724637,0.3478260869565218,0.20000000000000007,0
|
||||||
|
450,0.7530864197530864,True,0.10053619302949061,0.2142857142857143,0.10698583292623351,0.02985074626865672,0.012403416022773485,0.47826086956521746,0.45652173913043476,0.28,0
|
||||||
|
286,0.37037037037037035,False,0.005361930294906166,0.005102040816326532,0.063019052271617,0.003731343283582089,0.000203334688897926,0.855072463768116,0.8260869565217392,0.36,0
|
||||||
|
108,0.3950617283950617,True,0.005361930294906166,0.005102040816326532,0.046409379579872984,0.014179104477611941,0.005693371289141927,0.47826086956521746,0.28260869565217395,0.08000000000000002,1
|
||||||
|
300,0.6666666666666666,True,0.005361930294906166,0.005102040816326532,0.057156814851001464,0.016417910447761194,0.0028466856445709637,0.7971014492753623,0.7608695652173914,0.32000000000000006,1
|
||||||
|
581,0.3333333333333333,True,0.012064343163538875,0.020408163265306124,0.05911089399120664,0.014179104477611941,0.004270028466856446,0.5942028985507246,0.5434782608695652,0.28,0
|
||||||
|
160,0.691358024691358,True,0.14209115281501342,0.24489795918367352,0.3356130923302394,0.09701492537313433,0.06893045953639691,0.40579710144927533,0.26086956521739135,0.12,0
|
||||||
|
308,0.5061728395061729,False,0.005361930294906166,0.005102040816326532,0.049829018075232046,0.008955223880597014,0.001423342822285482,0.7971014492753623,0.6956521739130435,0.28,0
|
||||||
|
228,0.7530864197530864,False,0.00804289544235925,0.010204081632653062,0.06790425012212994,0.011940298507462685,0.000406669377795852,0.3768115942028985,0.3695652173913044,0.24000000000000005,1
|
||||||
|
438,0.7530864197530864,True,0.005361930294906166,0.005102040816326532,0.04836345872007816,0.014925373134328356,0.016063440422936153,0.15942028985507245,0.10869565217391303,0.08000000000000002,0
|
||||||
|
452,0.6666666666666666,True,0.006702412868632709,0.005102040816326532,0.5065950170981924,0.01119402985074627,0.00508336722244815,0.6376811594202898,0.5652173913043479,0.24000000000000005,0
|
||||||
|
575,0.345679012345679,True,0.3297587131367292,0.6938775510204083,0.2427943331704934,0.023134328358208955,0.0156567710451403,0.7536231884057973,0.3478260869565218,0.88,0
|
||||||
|
200,0.5555555555555556,True,0.002680965147453083,0.0,0.07572056668295066,0.02985074626865672,0.00854005693371289,0.3333333333333333,0.3260869565217391,0.24000000000000005,0
|
||||||
|
172,0.6296296296296295,True,0.18364611260053618,0.38265306122448983,0.3356130923302394,0.018656716417910446,0.01057340382269215,0.3333333333333333,0.15217391304347827,0.068,0
|
||||||
|
282,0.5679012345679012,True,0.004021447721179624,0.005102040816326532,0.06106497313141182,0.0014925373134328365,0.000610004066693778,0.6231884057971016,0.5434782608695652,0.24000000000000005,0
|
||||||
|
313,0.32098765432098764,False,0.005361930294906166,0.005102040816326532,0.046409379579872984,0.01119402985074627,0.0022366815778771857,0.7536231884057973,0.7826086956521741,0.4,1
|
||||||
|
462,0.41975308641975306,True,0.004021447721179624,0.005102040816326532,0.022960429897410845,0.008955223880597014,0.001423342822285482,0.5362318840579712,0.3478260869565218,0.136,0
|
||||||
|
256,0.5679012345679012,True,0.006702412868632709,0.010204081632653062,0.4093795798729848,0.009701492537313432,0.001220008133387556,0.5072463768115942,0.5652173913043479,0.36,0
|
||||||
|
386,0.41975308641975306,True,0.03083109919571046,0.0663265306122449,0.02051783097215437,0.01119402985074627,0.0020333468889792597,0.6956521739130435,0.7173913043478262,0.36,1
|
||||||
|
183,0.4444444444444444,True,0.002680965147453083,0.0,0.05276013678553981,0.007462686567164179,0.001220008133387556,0.391304347826087,0.3478260869565218,0.20000000000000007,0
|
||||||
|
68,0.7654320987654321,True,0.004021447721179624,0.005102040816326532,0.08597948216902784,0.012686567164179104,0.0030500203334688897,0.5217391304347827,0.6086956521739131,0.43999999999999995,0
|
||||||
|
159,0.5679012345679012,True,0.010723860589812333,0.015306122448979595,0.10698583292623351,0.019402985074626865,0.004270028466856446,0.6521739130434783,0.6521739130434783,0.32000000000000006,0
|
||||||
|
7,0.30864197530864196,False,0.006702412868632709,0.010204081632653062,0.06790425012212994,0.002985074626865672,0.0,0.5797101449275364,0.5869565217391306,0.32000000000000006,0
|
||||||
|
344,0.4074074074074074,True,0.005361930294906166,0.005102040816326532,0.06448461162677088,0.03731343283582089,0.005896705978039853,0.7971014492753623,0.8913043478260871,0.4800000000000001,1
|
||||||
|
432,0.30864197530864196,True,0.004021447721179624,0.005102040816326532,0.049829018075232046,0.033582089552238806,0.015453436356242375,0.6956521739130435,0.8043478260869565,0.5120000000000001,0
|
||||||
|
157,0.8395061728395061,True,0.004021447721179624,0.0,0.06497313141182218,0.007462686567164179,0.004880032533550224,0.4492753623188405,0.2391304347826087,0.08000000000000002,0
|
||||||
|
240,0.5432098765432098,True,0.004021447721179624,0.005102040816326532,0.049829018075232046,0.016417910447761194,0.0038633590890605938,0.7681159420289856,0.673913043478261,0.28,1
|
||||||
|
466,0.2962962962962963,False,0.002680965147453083,0.0,0.0361504640937958,0.008955223880597014,0.00101667344448963,0.31884057971014496,0.21739130434782605,0.12,1
|
||||||
|
574,0.345679012345679,True,0.15683646112600536,0.30102040816326536,0.22081094284318517,0.028358208955223882,0.016470109800732005,0.5652173913043479,0.3260869565217391,0.08000000000000002,0
|
||||||
|
525,0.6049382716049383,False,0.006702412868632709,0.005102040816326532,0.0718124084025403,0.018656716417910446,0.004270028466856446,0.7681159420289856,0.6521739130434783,0.24000000000000005,1
|
||||||
|
491,0.2839506172839506,True,0.00804289544235925,0.010204081632653062,0.057156814851001464,0.034328358208955224,0.0203334688897926,0.5942028985507246,0.6521739130434783,0.6200000000000001,1
|
||||||
|
170,0.8395061728395061,True,0.01742627345844504,0.035714285714285726,0.06692721055202736,0.013432835820895522,0.005286701911346076,0.5072463768115942,0.45652173913043476,0.25200000000000006,0
|
||||||
|
323,0.09876543209876543,True,0.005361930294906166,0.005102040816326532,0.1167562286272594,0.027611940298507463,0.011386742578283855,0.5797101449275364,0.5652173913043479,0.32000000000000006,1
|
||||||
|
264,0.41975308641975306,True,0.005361930294906166,0.005102040816326532,0.0898876404494382,0.033582089552238806,0.016470109800732005,0.6811594202898552,0.7391304347826086,0.43199999999999994,1
|
||||||
|
417,0.08641975308641975,True,0.004021447721179624,0.0,0.2584269662921348,0.011940298507462685,0.0036600244001626678,0.6376811594202898,0.7173913043478262,0.43999999999999995,1
|
||||||
|
46,0.20987654320987653,True,0.04691689008042896,0.08673469387755103,0.04250122129946263,0.019402985074626865,0.0032533550223668157,0.5942028985507246,0.6521739130434783,0.41600000000000004,0
|
||||||
|
561,0.7654320987654321,True,0.21715817694369974,0.38265306122448983,0.12310698583292623,0.1664179104477612,0.0758438389589264,0.6086956521739131,0.2391304347826087,0.040000000000000036,0
|
||||||
|
74,0.7901234567901234,True,0.004021447721179624,0.0,0.040058622374206154,0.007462686567164179,0.0022366815778771857,0.4492753623188405,0.43478260869565216,0.28,0
|
||||||
|
106,0.3950617283950617,True,0.06568364611260054,0.11224489795918367,0.040058622374206154,0.016417910447761194,0.016470109800732005,0.3478260869565217,0.3695652173913044,0.28,1
|
||||||
|
103,0.6296296296296295,False,0.005361930294906166,0.005102040816326532,0.07914020517830972,0.002985074626865672,0.0024400162667751117,0.4927536231884057,0.5217391304347827,0.36,1
|
||||||
|
175,0.3333333333333333,True,0.005361930294906166,0.005102040816326532,0.06595017098192477,0.02462686567164179,0.00406669377795852,0.6666666666666667,0.673913043478261,0.36,0
|
||||||
|
519,0.38271604938271603,True,0.34718498659517427,0.6122448979591838,0.021983390327308255,0.11791044776119403,0.1258641724278162,0.9420289855072463,0.2391304347826087,0.0,0
|
||||||
|
54,0.4691358024691358,True,0.11394101876675604,0.22448979591836737,0.10210063507572056,0.015671641791044775,0.010166734444896299,0.4492753623188405,0.2391304347826087,0.08000000000000002,0
|
||||||
|
4,0.8395061728395061,True,0.04691689008042896,0.09693877551020409,0.06448461162677088,0.012686567164179104,0.009760065067100447,0.6666666666666667,0.3260869565217391,0.040000000000000036,0
|
||||||
|
97,0.43209876543209874,True,0.08310991957104558,0.1479591836734694,0.07425500732779677,0.13432835820895522,0.1909312728751525,0.18840579710144928,0.17391304347826086,0.15999999999999998,0
|
||||||
|
572,0.345679012345679,True,0.2037533512064343,0.47959183673469397,0.034684904738641914,0.03283582089552239,0.023180154534363565,0.4202898550724637,0.673913043478261,0.88,0
|
||||||
|
527,0.4444444444444444,True,0.04155495978552279,0.07653061224489797,0.11480214948705422,0.04328358208955224,0.03843025620170801,0.6376811594202898,0.5434782608695652,0.24000000000000005,0
|
||||||
|
186,0.691358024691358,True,0.03753351206434316,0.08673469387755103,0.3356130923302394,0.05149253731343283,0.027246848312322082,0.7391304347826086,0.5,0.15599999999999997,0
|
||||||
|
225,0.2716049382716049,True,0.002680965147453083,0.005102040816326532,0.02784562774792379,0.026119402985074626,0.008133387555917039,0.7536231884057973,0.673913043478261,0.28,0
|
||||||
|
151,0.5679012345679012,True,0.0160857908847185,0.035714285714285726,0.07572056668295066,0.005970149253731343,0.0018300122000813337,0.4637681159420291,0.43478260869565216,0.264,0
|
||||||
|
560,0.7654320987654321,True,0.19839142091152814,0.38775510204081637,0.1431362970200293,0.23208955223880598,0.11203741358275722,0.5507246376811594,0.28260869565217395,0.040000000000000036,0
|
||||||
|
8,0.16049382716049382,True,0.006702412868632709,0.010204081632653062,0.06790425012212994,0.008955223880597014,0.001626677511183408,0.6811594202898552,0.6956521739130435,0.36,1
|
||||||
|
224,0.8148148148148148,True,0.01742627345844504,0.020408163265306124,0.16463116756228627,0.034328358208955224,0.006710044733631557,0.43478260869565216,0.47826086956521746,0.32000000000000006,0
|
||||||
|
80,0.6666666666666666,False,0.02680965147453083,0.05102040816326532,0.41621885686370297,0.03731343283582089,0.026636844245628306,0.2898550724637681,0.19565217391304351,0.12,0
|
||||||
|
217,0.5555555555555556,True,0.009383378016085792,0.020408163265306124,0.04689789936492428,0.014925373134328356,0.00406669377795852,0.6231884057971016,0.7391304347826086,0.4800000000000001,0
|
||||||
|
129,0.5061728395061729,True,0.03217158176943699,0.0816326530612245,0.09770395701025891,0.03507462686567164,0.010980073200488003,0.3478260869565217,0.3043478260869565,0.20000000000000007,0
|
||||||
|
169,0.691358024691358,True,0.11394101876675604,0.19897959183673472,0.4333170493404983,0.017164179104477612,0.004270028466856446,0.5942028985507246,0.47826086956521746,0.20000000000000007,0
|
||||||
|
421,0.2716049382716049,True,0.00804289544235925,0.010204081632653062,0.048851978505129456,0.028358208955223882,0.012200081333875559,0.6376811594202898,0.6086956521739131,0.28,1
|
||||||
|
17,0.35802469135802467,True,0.0160857908847185,0.020408163265306124,0.049829018075232046,0.003731343283582089,0.0024400162667751117,0.6666666666666667,0.5652173913043479,0.24800000000000005,1
|
||||||
|
365,0.4444444444444444,True,0.004021447721179624,0.005102040816326532,0.055202735710796286,0.013432835820895522,0.006506710044733631,0.3768115942028985,0.3260869565217391,0.20000000000000007,1
|
||||||
|
61,0.6666666666666666,True,0.00804289544235925,0.020408163265306124,0.046409379579872984,0.020149253731343283,0.006506710044733631,0.6521739130434783,0.5869565217391306,0.28,0
|
||||||
|
49,0.6296296296296295,True,0.24128686327077747,0.44387755102040827,0.06985832926233512,0.04029850746268657,0.03395689304595364,0.5072463768115942,0.19565217391304351,0.040000000000000036,0
|
||||||
|
378,0.5679012345679012,False,0.004021447721179624,0.0,0.063019052271617,0.007462686567164179,0.006100040666937779,0.6666666666666667,0.5217391304347827,0.20000000000000007,0
|
||||||
|
482,0.5061728395061729,True,0.009383378016085792,0.015306122448979595,0.014167073766487542,0.06044776119402986,0.035990239934932895,0.6521739130434783,0.6304347826086956,0.32400000000000007,0
|
||||||
|
351,0.4074074074074074,True,0.012064343163538875,0.015306122448979595,0.06448461162677088,0.023134328358208955,0.005490036600244002,0.3768115942028985,0.26086956521739135,0.12,0
|
||||||
|
297,0.25925925925925924,False,0.006702412868632709,0.010204081632653062,0.04689789936492428,0.010447761194029851,0.0028466856445709637,0.6086956521739131,0.7608695652173914,0.56,1
|
||||||
|
23,0.4444444444444444,True,0.020107238605898123,0.045918367346938785,0.08207132388861749,0.004477611940298508,0.008946726311508743,0.23188405797101447,0.15217391304347827,0.12,0
|
||||||
|
102,0.16049382716049382,True,0.006702412868632709,0.005102040816326532,0.07865168539325842,0.019402985074626865,0.006913379422529483,0.6086956521739131,0.7173913043478262,0.5000000000000001,0
|
||||||
|
368,0.4691358024691358,False,0.005361930294906166,0.005102040816326532,0.05813385442110405,0.008955223880597014,0.0018300122000813337,0.6521739130434783,0.6521739130434783,0.32000000000000006,0
|
||||||
|
408,0.5432098765432098,True,0.02680965147453083,0.05102040816326532,0.23986321446018563,0.09776119402985076,0.012606750711671411,0.6956521739130435,0.5869565217391306,0.24000000000000005,0
|
||||||
|
149,0.691358024691358,True,0.005361930294906166,0.005102040816326532,0.10893991206643869,0.008208955223880595,0.0032533550223668157,0.6376811594202898,0.673913043478261,0.36,0
|
||||||
|
42,0.4691358024691358,True,0.08579088471849866,0.15816326530612249,0.27699071812408405,0.01119402985074627,0.007320048800325335,0.4927536231884057,0.3043478260869565,0.12,1
|
||||||
|
179,0.8765432098765431,True,0.10187667560321716,0.22959183673469388,0.15779189057156814,0.014925373134328356,0.0028466856445709637,0.40579710144927533,0.19565217391304351,0.07200000000000001,0
|
||||||
|
430,0.6049382716049383,False,0.004021447721179624,0.0,0.05813385442110405,0.007462686567164179,0.004473363155754372,0.3043478260869565,0.21739130434782605,0.12,0
|
||||||
|
475,0.41975308641975306,True,0.02412868632707775,0.045918367346938785,0.12066438690766976,0.08134328358208956,0.006303375355835705,0.7536231884057973,0.6956521739130435,0.28,1
|
||||||
|
425,0.6666666666666666,True,0.0,0.0,0.0180752320468979,0.03656716417910448,0.02338348922326149,0.23188405797101447,0.3478260869565218,0.43999999999999995,0
|
99
train.py
Normal file
99
train.py
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
import pandas as pd
|
||||||
|
import torch
|
||||||
|
import torch.nn as nn
|
||||||
|
|
||||||
|
from sklearn.preprocessing import MinMaxScaler
|
||||||
|
from torch.utils.data import TensorDataset
|
||||||
|
from torch.utils.data import DataLoader
|
||||||
|
|
||||||
|
from sacred import Experiment
|
||||||
|
from sacred.observers import FileStorageObserver, MongoObserver
|
||||||
|
|
||||||
|
exint = Experiment("ium_z487186", interactive=True)
|
||||||
|
exint.observers.append(FileStorageObserver('my_runs'))
|
||||||
|
exint.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@172.17.0.1:27017',
|
||||||
|
db_name='sacred'))
|
||||||
|
|
||||||
|
@exint.config
|
||||||
|
def my_config():
|
||||||
|
batch_size = 64
|
||||||
|
learning_rate = 0.001
|
||||||
|
epochs = 100
|
||||||
|
|
||||||
|
|
||||||
|
@exint.capture
|
||||||
|
def prepare_message(msg):
|
||||||
|
return msg
|
||||||
|
|
||||||
|
|
||||||
|
@exint.main
|
||||||
|
def my_main(batch_size, learning_rate, epochs):
|
||||||
|
train_file = pd.read_csv('train.data').drop('Unnamed: 0', axis=1)
|
||||||
|
df_pandas = train_file.dropna()
|
||||||
|
|
||||||
|
X_train = df_pandas.drop('class', axis=1)
|
||||||
|
Y_train = df_pandas['class']
|
||||||
|
|
||||||
|
scaler = MinMaxScaler()
|
||||||
|
X_train = scaler.fit_transform(X_train)
|
||||||
|
|
||||||
|
x_tensor = torch.tensor(X_train).float()
|
||||||
|
y_tensor = torch.tensor(Y_train.values).float()
|
||||||
|
|
||||||
|
train_ds = TensorDataset(x_tensor, y_tensor.unsqueeze(1))
|
||||||
|
train_dl = DataLoader(train_ds, batch_size=batch_size)
|
||||||
|
|
||||||
|
class ClassificationModel(nn.Module):
|
||||||
|
def __init__(self, n_input_dim):
|
||||||
|
super(ClassificationModel, self).__init__()
|
||||||
|
self.layer_1 = nn.Linear(n_input_dim, 256)
|
||||||
|
self.layer_2 = nn.Linear(256, 128)
|
||||||
|
self.layer_out = nn.Linear(128, 1)
|
||||||
|
|
||||||
|
self.relu = nn.ReLU()
|
||||||
|
self.sigmoid = nn.Sigmoid()
|
||||||
|
self.dropout = nn.Dropout(p=0.1)
|
||||||
|
self.batchnorm1 = nn.BatchNorm1d(256)
|
||||||
|
self.batchnorm2 = nn.BatchNorm1d(128)
|
||||||
|
|
||||||
|
def forward(self, inputs):
|
||||||
|
x = self.relu(self.layer_1(inputs))
|
||||||
|
x = self.batchnorm1(x)
|
||||||
|
x = self.relu(self.layer_2(x))
|
||||||
|
x = self.batchnorm2(x)
|
||||||
|
x = self.dropout(x)
|
||||||
|
x = self.sigmoid(self.layer_out(x))
|
||||||
|
|
||||||
|
return x
|
||||||
|
|
||||||
|
|
||||||
|
model = ClassificationModel(X_train.shape[1])
|
||||||
|
print(model)
|
||||||
|
|
||||||
|
|
||||||
|
loss_func = nn.BCEWithLogitsLoss()
|
||||||
|
optimizer = torch.optim.Adam(model.parameters(), lr=learning_rate)
|
||||||
|
|
||||||
|
model.train()
|
||||||
|
train_loss = []
|
||||||
|
|
||||||
|
for epoch in range(epochs):
|
||||||
|
for xb, yb in train_dl:
|
||||||
|
y_pred = model(xb) # Forward Propagation
|
||||||
|
loss = loss_func(y_pred, yb) # Loss Computation
|
||||||
|
optimizer.zero_grad() # Clearing all previous gradients, setting to zero
|
||||||
|
loss.backward() # Back Propagation
|
||||||
|
optimizer.step() # Updating the parameters
|
||||||
|
|
||||||
|
if epoch % 10 == 0:
|
||||||
|
print(f"Loss in {epoch}. iteration: {loss.item()}")
|
||||||
|
train_loss.append(loss.item())
|
||||||
|
print('Last iteration loss value: '+str(loss.item()))
|
||||||
|
|
||||||
|
|
||||||
|
model_scripted = torch.jit.script(model) # Export to TorchScript
|
||||||
|
model_scripted.save('model_scripted.pt') # Save
|
||||||
|
|
||||||
|
|
||||||
|
exint.run()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user