Skip to content

Instantly share code, notes, and snippets.

@MikeLing
Created July 10, 2017 04:43
Show Gist options
  • Save MikeLing/b4d422289dbdc114d36f7d4cf277b42f to your computer and use it in GitHub Desktop.
Save MikeLing/b4d422289dbdc114d36f7d4cf277b42f to your computer and use it in GitHub Desktop.
matrix=[ 1, 0.357435345649719238, 0.881105303764343262, 0.264614194631576538, 0.392460733652114868, 0.29888606071472168, 0.77649921178817749, 0.392304211854934692, 0.415194451808929443, 0.284810483455657959, 0.0661987736821174622,0.264099746942520142, 0.346782028675079346, 0.25590476393699646, 0.805517375469207764, 0.192790955305099487, 0.913285493850708008, 0.15366363525390625, 0.567021012306213379, 0.133734241127967834, 0.969233214855194092, 0.247210726141929626, 0.792447865009307861, 0.175152182579040527, 0.331717342138290405, 0.210481196641921997, 0.645177245140075684, 0.271643549203872681, 0.341481983661651611, 0.206513836979866028, 0.0391497872769832611, 0.176229551434516907, 0.237540602684020996, 0.177651673555374146, 0.711493313312530518, 0.121511027216911316, 0.849533617496490479, 0.101873315870761871, 0.496741175651550293, 0.0933600813150405884, 0.071564696729183197, 0.596106052398681641, 0.146366193890571594, 0.281917452812194824, 0.639549732208251953, 0.213880911469459534, 0.372015953063964844, 0.911623120307922363, 0.0226767528802156448, 0.0492779314517974854],[ 0.357435345649719238, 1, 0.561927437782287598, 0.854806661605834961, 0.530831336975097656, 0.712739408016204834, 0.753707170486450195, 0.962326228618621826, 0.526182651519775391, 0.728163659572601318, 0.573994874954223633, 0.878541469573974609, 0.966297805309295654, 0.798527777194976807, 0.366745322942733765, 0.902861952781677246, 0.34661555290222168, 0.76191401481628418, 0.422591179609298706, 0.246665239334106445, 0.485494434833526611, 0.969233214855194092, 0.708241939544677734, 0.792918920516967773, 0.628762960433959961, 0.703391134738922119, 0.877605080604553223, 0.933807194232940674, 0.606472671031951904, 0.739912927150726318, 0.475713968276977539, 0.821545243263244629, 0.92757868766784668, 0.776854038238525391, 0.453961461782455444, 0.797459900379180908, 0.451835691928863525, 0.707870423793792725, 0.518811881542205811, 0.241315364837646484, 0.604867279529571533, 0.881548464298248291, 0.696786701679229736, 0.725827991962432861, 0.764996170997619629, 0.656486630439758301, 0.863387703895568848, 0.450656980276107788, 0.396767795085906982, 0.345941364765167236],[ 0.881105303764343262, 0.561927437782287598, 1, 0.447892367839813232, 0.599734723567962646, 0.378624320030212402, 0.94646155834197998, 0.571613490581512451, 0.689045906066894531, 0.543196618556976318, 0.138885661959648132, 0.390563040971755981, 0.55186694860458374, 0.493446797132492065, 0.642950832843780518, 0.326531916856765747, 0.778270184993743896, 0.321267455816268921, 0.549984574317932129, 0.208016008138656616, 0.920325577259063721, 0.41882777214050293, 0.969233214855194092, 0.319493114948272705, 0.546281576156616211, 0.287343591451644897, 0.847473978996276855, 0.426544427871704102, 0.61073070764541626, 0.424458891153335571, 0.0885161012411117554, 0.280858308076858521, 0.407381266355514526, 0.369161695241928101, 0.612010776996612549, 0.221789047122001648, 0.780171036720275879, 0.229531064629554749, 0.519238531589508057, 0.156495079398155212, 0.131751462817192078, 0.838109910488128662, 0.214341536164283752, 0.371893167495727539, 0.731928050518035889, 0.319428086280822754, 0.639424443244934082, 0.867989897727966309, 0.0529787652194499969, 0.083194442093372345],[ 0.264614194631576538, 0.854806661605834961, 0.447892367839813232, 1, 0.296326398849487305, 0.41267046332359314, 0.607196807861328125, 0.908144533634185791, 0.572470605373382568, 0.7961539626121521, 0.361537277698516846, 0.609897911548614502, 0.953873157501220703, 0.877685427665710449, 0.306647300720214844, 0.721679627895355225, 0.312099337577819824, 0.552857637405395508, 0.198915794491767883, 0.5077667236328125, 0.375549614429473877, 0.865692377090454102, 0.589851200580596924, 0.969233214855194092, 0.366748332977294922, 0.425536572933197021, 0.738742947578430176, 0.920782923698425293, 0.689438104629516602, 0.845310211181640625, 0.313082218170166016, 0.595927953720092773, 0.956748545169830322, 0.892186522483825684, 0.396607518196105957, 0.66603851318359375, 0.425101578235626221, 0.536696195602416992, 0.255167961120605469, 0.519049346446990967, 0.651068150997161865, 0.714827358722686768, 0.507307291030883789, 0.813761889934539795, 0.497775375843048096, 0.881705403327941895, 0.870271444320678711, 0.413069844245910645, 0.419376254081726074, 0.15817926824092865],[ 0.392460733652114868, 0.530831336975097656, 0.599734723567962646, 0.296326398849487305, 1, 0.46169590950012207, 0.634207725524902344, 0.412018835544586182, 0.473155349493026733, 0.471725136041641235, 0.339109152555465698, 0.464392483234405518, 0.427091628313064575, 0.436184704303741455, 0.207456290721893311, 0.391195625066757202, 0.245810061693191528, 0.614127874374389648, 0.580913424491882324, 0.0502369105815887451, 0.436195164918899536, 0.42100059986114502, 0.618526697158813477, 0.224920526146888733, 0.969233214855194092, 0.372837871313095093, 0.604262828826904297, 0.32715219259262085, 0.446248054504394531, 0.39222794771194458, 0.229972183704376221, 0.3553466796875, 0.335473865270614624, 0.347230345010757446, 0.210125550627708435, 0.282734870910644531, 0.262198388576507568, 0.466879159212112427, 0.583577811717987061, 0.0402159020304679871, 0.117292381823062897, 0.703484296798706055, 0.237522795796394348, 0.178141549229621887, 0.621726572513580322, 0.141615137457847595, 0.534207761287689209, 0.319420963525772095, 0.0718453079462051392, 0.235091805458068848],[ 0.29888606071472168, 0.712739408016204834, 0.378624320030212402, 0.41267046332359314, 0.46169590950012207, 1, 0.537954747676849365, 0.653444111347198486, 0.191284671425819397, 0.286898255348205566, 0.593722522258758545, 0.923871874809265137, 0.577803969383239746, 0.334522843360900879, 0.344857782125473022, 0.767990410327911377, 0.252792000770568848, 0.537987887859344482, 0.679447174072265625, 0.0579931959509849548, 0.398707687854766846, 0.678455352783203125, 0.468675315380096436, 0.375946879386901855, 0.537091970443725586, 0.969233214855194092, 0.615183174610137939, 0.622738242149353027, 0.216529503464698792, 0.286313444375991821, 0.483263075351715088, 0.848483026027679443, 0.544731497764587402, 0.31962248682975769, 0.419234097003936768, 0.666201353073120117, 0.323636889457702637, 0.490888088941574097, 0.81923288106918335, 0.0557206645607948303, 0.421493709087371826, 0.601968646049499512, 0.820539772510528564, 0.484302490949630737, 0.824904441833496094, 0.322147965431213379, 0.416710585355758667, 0.305095881223678589, 0.267809092998504639, 0.640901446342468262],[ 0.77649921178817749, 0.753707170486450195, 0.94646155834197998, 0.607196807861328125, 0.634207725524902344, 0.537954747676849365, 1, 0.761222183704376221, 0.68036574125289917, 0.638080298900604248, 0.238732755184173584, 0.575030624866485596, 0.734033405780792236, 0.617981553077697754, 0.648688375949859619, 0.504842281341552734, 0.711981058120727539, 0.45463225245475769, 0.59771120548248291, 0.241497114300727844, 0.877929449081420898, 0.608082890510559082, 0.992970108985900879, 0.468837350606918335, 0.625307738780975342, 0.441920042037963867, 0.969233214855194092, 0.614862740039825439, 0.652753114700317383, 0.539707958698272705, 0.164695516228675842, 0.447602003812789917, 0.586526215076446533, 0.500445365905761719, 0.668378233909606934, 0.371171891689300537, 0.77256089448928833, 0.351592719554901123, 0.610819220542907715, 0.196662157773971558, 0.239554837346076965, 0.953034162521362305, 0.359499901533126831, 0.529876172542572021, 0.860415875911712646, 0.453524857759475708, 0.766530215740203857, 0.822381854057312012, 0.109867386519908905, 0.148837044835090637],[ 0.392304211854934692, 0.962326228618621826, 0.571613490581512451, 0.908144533634185791, 0.412018835544586182, 0.653444111347198486, 0.761222183704376221, 1, 0.512737274169921875, 0.689230024814605713, 0.444836527109146118, 0.813029110431671143, 0.980594158172607422, 0.763531386852264404, 0.456916600465774536, 0.839071094989776611, 0.423101246356964111, 0.603164494037628174, 0.38203921914100647, 0.335470706224441528, 0.532234668731689453, 0.931631147861480713, 0.719610035419464111, 0.84141308069229126, 0.487462133169174194, 0.644121766090393066, 0.885322093963623047, 0.969233214855194092, 0.590286672115325928, 0.699534595012664795, 0.368240654468536377, 0.759396672248840332, 0.940204799175262451, 0.741941511631011963, 0.564917087554931641, 0.740252137184143066, 0.550896704196929932, 0.559727966785430908, 0.468479752540588379, 0.327812135219573975, 0.633000969886779785, 0.846206486225128174, 0.679000258445739746, 0.862757325172424316, 0.744018673896789551, 0.792666971683502197, 0.833697736263275146, 0.529240906238555908, 0.377507388591766357, 0.262206971645355225],[ 0.415194451808929443, 0.526182651519775391, 0.689045906066894531, 0.572470605373382568, 0.473155349493026733, 0.191284671425819397, 0.68036574125289917, 0.512737274169921875, 1, 0.869838535785675049, 0.139105334877967834, 0.273879975080490112, 0.582060396671295166, 0.773351848125457764, 0.259781092405319214, 0.298152327537536621, 0.387840092182159424, 0.398604720830917358, 0.193467170000076294, 0.376839131116867065, 0.474233120679855347, 0.428862839937210083, 0.730302989482879639, 0.446547508239746094, 0.471289515495300293, 0.158744931221008301, 0.666181385517120361, 0.418391972780227661, 0.969233214855194092, 0.743265330791473389, 0.09694720059633255, 0.215368941426277161, 0.469852358102798462, 0.632674157619476318, 0.270405501127243042, 0.221451848745346069, 0.425146669149398804, 0.311418086290359497, 0.199733227491378784, 0.310017794370651245, 0.14943656325340271, 0.713828146457672119, 0.140548840165138245, 0.308721005916595459, 0.388109892606735229, 0.360405474901199341, 0.820128738880157471, 0.504773139953613281, 0.0777706950902938843, 0.0475131794810295105],[ 0.284810483455657959, 0.728163659572601318, 0.543196618556976318, 0.7961539626121521, 0.471725136041641235, 0.286898255348205566, 0.638080298900604248, 0.689230024814605713, 0.869838535785675049, 1,...,]...]
statistic before normalization is -0.011932
statistic after normalization is -0.143190
vector=[-0.0188990416936576366,-0.0188990416936576366,-0.0188990416936576366,-0.0188990416936576366,-0.0188990416936576366,-0.0188990416936576366,-0.0188990416936576366,-0.0188990416936576366,-0.0188990416936576366,-0.0188990416936576366]
0.000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment