Skip to content

Instantly share code, notes, and snippets.

@Micky774
Created May 2, 2022 00:19
Show Gist options
  • Save Micky774/b7144b6b4ff07aba2bc78a6b19767deb to your computer and use it in GitHub Desktop.
Save Micky774/b7144b6b4ff07aba2bc78a6b19767deb to your computer and use it in GitHub Desktop.
Benchmark results of svmlight cythonization
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 6 columns, instead of 7. in line 1.
shape,main,PR,main/PR,X_sparse,y_sparse
0,"(100, 100)",0.0330301012311662,0.0344602039882114,0.9584998754640446,True,True
1,"(100, 1000)",0.3113810675484793,0.3663262639726911,0.85001021813629,True,True
2,"(1000, 100)",0.3353710855756487,0.3434690747942243,0.9764229451416342,True,True
3,"(1000, 1000)",3.149646248136248,3.4548325879233226,0.9116639281295769,True,True
4,"(10000, 100)",3.1907405853271484,3.161099229540144,1.0093769140525577,True,True
5,"(10000, 1000)",31.38007930346898,34.35677589688982,0.9133592569234557,True,True
0,"(100, 100)",0.0423240661621093,0.033186742237636,1.2753305479352222,True,False
1,"(100, 1000)",0.3182226249149867,0.3539021696363176,0.8991824640182442,True,False
2,"(1000, 100)",0.3290740762438093,0.3116425446101597,1.055934377173871,True,False
3,"(1000, 1000)",3.137813670294625,3.482315574373518,0.9010710268150037,True,False
4,"(10000, 100)",3.198991196496146,3.1761574063982283,1.007189124207736,True,False
5,"(10000, 1000)",31.272762094225204,34.34214925765991,0.9106233235315029,True,False
0,"(100, 100)",0.0373200348445347,0.0102952889033726,3.62496236820602,False,True
1,"(100, 1000)",0.3297021048409598,0.1538904735020228,2.142446490273656,False,True
2,"(1000, 100)",0.3459936550685337,0.0990709917885916,3.4923810574830254,False,True
3,"(1000, 1000)",3.24301586832319,1.2586659363337926,2.5765501192233398,False,True
4,"(10000, 100)",3.386432102748326,0.9564693995884488,3.5405545689234232,False,True
5,"(10000, 1000)",32.63132490430559,12.608410835266112,2.5880600918424057,False,True
0,"(100, 100)",0.0340310164860316,0.0107239314488002,3.1733713189521566,False,False
1,"(100, 1000)",0.3109427179609026,0.0861073221479143,3.6111065842550336,False,False
2,"(1000, 100)",0.3172877175467355,0.0534499032156808,5.936170104301548,False,False
3,"(1000, 1000)",3.107310942241124,0.7918032237461635,3.924347425033049,False,False
4,"(10000, 100)",3.141720805849348,0.5303405693599156,5.923968459816657,False,False
5,"(10000, 1000)",31.713676963533675,7.832697902406965,4.048882946677691,False,False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment