draft
bool 1
class | date
stringlengths 19
20
| title
stringlengths 9
214
| tag
sequence | category
sequence | body
stringlengths 575
57.5k
| description
stringlengths 40
192
⌀ | image
stringlengths 28
59
⌀ | embeddings_base_en
sequence | embeddings_small_en
sequence | embeddings_mini_lm
sequence | slug
stringlengths 8
191
| url
stringlengths 49
232
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
false | 2013-12-28 21:46:42 | RxJava: From Future to Observable | [
"java"
] | [
"Java"
] | I first came across https://rx.codeplex.com/[Reactive Extensions] about 4 years ago on http://weblogs.asp.net/podwysocki/[Matthew Podwysocki's blog] but then haven't heard much about it until I saw Matthew give a talk at http://codemesh.io/[Code Mesh] a few weeks ago.
It seems to have grown in popularity recently and I noticed that's there's now a Java version called https://github.com/Netflix/RxJava[RxJava] http://techblog.netflix.com/2013/02/rxjava-netflix-api.html[written by Netflix].
I thought I'd give it a try by changing http://www.markhneedham.com/blog/2013/12/23/neo4j-cypher-using-merge-with-schema-indexesconstraints/[some code I wrote while exploring cypher's MERGE function] to expose an Observable instead of Futures.
To recap, we have 50 threads and we do 100 iterations where we create random (user, event) pairs. We create a maximum of 10 users and 50 events and the goal is to concurrently send requests for the same pairs.
In the example of my other post I was throwing away the result of each query whereas here I returned the result back so I had something to subscribe to.
The outline of the code looks like this:
[source,java]
----
public class MergeTimeRx
{
public static void main( final String[] args ) throws InterruptedException, IOException
{
String pathToDb = "/tmp/foo";
FileUtils.deleteRecursively( new File( pathToDb ) );
GraphDatabaseService db = new GraphDatabaseFactory().newEmbeddedDatabase( pathToDb );
final ExecutionEngine engine = new ExecutionEngine( db );
int numberOfThreads = 50;
int numberOfUsers = 10;
int numberOfEvents = 50;
int iterations = 100;
Observable<ExecutionResult> events = processEvents( engine, numberOfUsers, numberOfEvents, numberOfThreads, iterations );
events.subscribe( new Action1<ExecutionResult>()
{
@Override
public void call( ExecutionResult result )
{
for ( Map<String, Object> row : result )
{
}
}
} );
....
}
}
----
The nice thing about using RxJava is that there's no mention of how we got our collection of +++<cite>+++ExecutionResult+++</cite>+++s, it's not important. We just have a stream of them and by calling the +++<cite>+++subscribe+++</cite>+++ function on the +++<cite>+++Observable+++</cite>+++ we'll be informed whenever another one is made available.
Most of the examples I found show how to generate events from a single thread but I wanted to use a thread pool so that I could fire off lots of requests at the same time. The +++<cite>+++processEvents+++</cite>+++ method ended up looking like this:
[source,java]
----
private static Observable<ExecutionResult> processEvents( final ExecutionEngine engine, final int numberOfUsers, final int numberOfEvents, final int numberOfThreads, final int iterations )
{
final Random random = new Random();
final List<Integer> userIds = generateIds( numberOfUsers );
final List<Integer> eventIds = generateIds( numberOfEvents );
return Observable.create( new Observable.OnSubscribeFunc<ExecutionResult>()
{
@Override
public Subscription onSubscribe( final Observer<? super ExecutionResult> observer )
{
final ExecutorService executor = Executors.newFixedThreadPool( numberOfThreads );
List<Future<ExecutionResult>> jobs = new ArrayList<>();
for ( int i = 0; i < iterations; i++ )
{
Future<ExecutionResult> job = executor.submit( new Callable<ExecutionResult>()
{
@Override
public ExecutionResult call()
{
Integer userId = userIds.get( random.nextInt( numberOfUsers ) );
Integer eventId = eventIds.get( random.nextInt( numberOfEvents ) );
return engine.execute(
"MERGE (u:User {id: {userId}})\n" +
"MERGE (e:Event {id: {eventId}})\n" +
"MERGE (u)-[:HAS_EVENT]->(e)\n" +
"RETURN u, e",
MapUtil.map( "userId", userId, "eventId", eventId ) );
}
} );
jobs.add( job );
}
for ( Future<ExecutionResult> future : jobs )
{
try
{
observer.onNext( future.get() );
}
catch ( InterruptedException | ExecutionException ignored )
{
}
}
observer.onCompleted();
executor.shutdown();
return Subscriptions.empty();
}
} );
}
----
I'm not sure if that's the correct way of using +++<cite>+++Observable+++</cite>+++s so please let me know in the comments if I've got it wrong.
I wasn't sure what the proper way of handling errors was. I initially had a call to +++<cite>+++observer#onError+++</cite>+++ in the catch block but that means that no further events are produced which wasn't what I wanted.
The code is https://gist.github.com/mneedham/8164614[available as a gist] if you want to play around with it. I added the following dependency to get the RxJava library: ~~~xml +++<dependency>++++++<groupId>+++com.netflix.rxjava+++</groupId>+++ +++<artifactId>+++rxjava-core+++</artifactId>+++ +++<version>+++0.15.1+++</version>++++++</dependency>+++ ~~~ | null | null | [
-0.00006502830365207046,
-0.05849500373005867,
-0.007056952454149723,
0.023392869159579277,
0.048728302121162415,
-0.005945198703557253,
0.0631854236125946,
0.03279072418808937,
0.0015272804303094745,
-0.0068712057545781136,
0.0009232637821696699,
-0.04484071210026741,
-0.08228810131549835,
0.010649689473211765,
-0.005789464805275202,
0.072688028216362,
0.08109738677740097,
-0.005415246356278658,
0.04043303057551384,
-0.004052144940942526,
0.00361745641566813,
0.04251701757311821,
0.003291900036856532,
0.03067476488649845,
0.03008139505982399,
0.04053371399641037,
-0.006691498216241598,
-0.010801071301102638,
-0.053860608488321304,
0.002283535897731781,
0.052706632763147354,
0.031159840524196625,
0.006102561950683594,
0.00626036012545228,
0.047267649322748184,
0.010514755733311176,
-0.021999655291438103,
0.02950742468237877,
0.01356764417141676,
-0.0039932443760335445,
-0.05934736877679825,
0.006782053504139185,
-0.01446343120187521,
0.012727473862469196,
-0.017964215949177742,
-0.013863028027117252,
-0.0176542978733778,
0.007959184236824512,
-0.010432024486362934,
0.0132772671058774,
-0.05549556389451027,
0.04526064917445183,
-0.007566859945654869,
0.023508131504058838,
0.005408729892224073,
0.04016377404332161,
0.027025848627090454,
-0.05869333818554878,
0.06655874848365784,
-0.03474985435605049,
0.010195815935730934,
-0.005660953465849161,
-0.009082094766199589,
0.03728964179754257,
-0.033685363829135895,
-0.03264962136745453,
-0.013821054250001907,
0.05696241557598114,
-0.026583410799503326,
-0.019294677302241325,
0.0030431533232331276,
-0.004740801639854908,
-0.008486942388117313,
-0.0007958985515870154,
0.0176339503377676,
-0.049303025007247925,
-0.01996949128806591,
0.07145106792449951,
0.02124744839966297,
0.045713577419519424,
-0.013902071863412857,
-0.006421161349862814,
0.01787891425192356,
0.026721518486738205,
0.0237392857670784,
-0.016306139528751373,
0.0014074284117668867,
0.0017834021709859371,
-0.02592192217707634,
0.01308351382613182,
0.04478977620601654,
-0.05593954399228096,
-0.013320338912308216,
0.033872947096824646,
-0.008030243217945099,
0.02022395469248295,
-0.014506804756820202,
-0.003851215587928891,
0.009709094651043415,
-0.006154172588139772,
-0.00793675146996975,
-0.0070295087061822414,
0.022968841716647148,
-0.0034063931088894606,
-0.05619707703590393,
-0.017778974026441574,
-0.048587143421173096,
-0.04317023605108261,
0.0008269488462246954,
0.01692170277237892,
-0.04725498706102371,
0.029183389618992805,
-0.007389098405838013,
0.01186177134513855,
-0.06979405879974365,
0.0707637369632721,
0.004577020648866892,
-0.015545723959803581,
0.015992572531104088,
0.02472338266670704,
0.041446227580308914,
0.02393157407641411,
-0.010035009123384953,
0.08350517600774765,
-0.020481163635849953,
0.057588886469602585,
-0.00747898081317544,
0.03984836861491203,
-0.008546351455152035,
-0.08196257054805756,
0.019582783803343773,
0.04159048572182655,
0.009384732693433762,
-0.01605231687426567,
-0.007451995275914669,
0.011944408528506756,
-0.010834641754627228,
-0.010002953000366688,
0.04875536635518074,
0.03582620248198509,
-0.017592011019587517,
-0.055267851799726486,
0.02536936104297638,
-0.03746606037020683,
0.01982957310974598,
0.032085955142974854,
-0.018776435405015945,
-0.04760795831680298,
-0.02361939288675785,
0.02905905991792679,
0.0014500539982691407,
0.059194207191467285,
0.04334503784775734,
-0.03239879012107849,
0.01709306240081787,
0.09235987812280655,
0.0036359296645969152,
0.012103185057640076,
-0.002543496899306774,
0.0031915423460304737,
0.053605806082487106,
0.0351741760969162,
0.0034318407997488976,
0.043220702558755875,
0.014097490347921848,
0.00558492774143815,
-0.004410764202475548,
0.04288864508271217,
-0.022915076464414597,
-0.010778775438666344,
-0.06222117692232132,
-0.06678324192762375,
0.03256745636463165,
-0.04668779671192169,
0.004141148179769516,
0.009209128096699715,
0.08279287070035934,
0.0020664057228714228,
0.02287393994629383,
0.007224468048661947,
-0.05867971479892731,
0.023798951879143715,
0.004691021516919136,
0.0052012293599545956,
0.00982196070253849,
0.009123263880610466,
0.08277709782123566,
0.04095236584544182,
-0.02453944832086563,
0.029768386855721474,
-0.07620229572057724,
-0.07979976385831833,
-0.027437489479780197,
0.005044135265052319,
0.04580731317400932,
-0.049562931060791016,
0.0011332412250339985,
0.05568361282348633,
0.024368053302168846,
0.010976757854223251,
0.001269314088858664,
0.0031972636934369802,
0.02568654716014862,
-0.03481883928179741,
-0.0672745481133461,
0.026370016857981682,
0.05419390648603439,
-0.058616600930690765,
-0.07050736993551254,
0.011967211961746216,
-0.0011945745209231973,
-0.019359512254595757,
0.0055571263656020164,
-0.027052443474531174,
0.04034886136651039,
0.029794594272971153,
0.014236429706215858,
-0.03977889195084572,
0.021030280739068985,
-0.04215279221534729,
0.019450267776846886,
-0.020659875124692917,
-0.020514709874987602,
-0.008589780889451504,
0.006382780149579048,
0.11946054548025131,
0.046565961092710495,
-0.029014287516474724,
-0.05570663884282112,
0.03450768440961838,
0.04249592125415802,
-0.03959888219833374,
0.0016453108983114362,
-0.023135105147957802,
0.005088404752314091,
0.008300070650875568,
-0.001754828612320125,
-0.00789283961057663,
-0.0016442810883745551,
-0.046643175184726715,
0.02126534841954708,
0.0741279199719429,
-0.0453311912715435,
0.03537717089056969,
0.012611018493771553,
-0.04526491463184357,
0.013973021879792213,
-0.03939206153154373,
-0.052912283688783646,
0.021495243534445763,
-0.007871191017329693,
-0.009155726060271263,
0.04742661863565445,
-0.039811015129089355,
0.0026592223439365625,
-0.01942145824432373,
-0.01723337545990944,
0.02565445564687252,
0.029554113745689392,
0.06173098832368851,
-0.0125660989433527,
0.021665727719664574,
-0.01589144580066204,
-0.008133781142532825,
-0.004853198304772377,
-0.06370439380407333,
-0.010755833238363266,
-0.012164530344307423,
0.004885747097432613,
0.038118042051792145,
0.027396833524107933,
0.0063799661584198475,
0.021808190271258354,
-0.0036971464287489653,
0.004253758583217859,
-0.030002808198332787,
0.04492822289466858,
0.014185039326548576,
-0.04741192236542702,
-0.006959757301956415,
-0.027072831988334656,
0.030056841671466827,
-0.013374023139476776,
-0.040547605603933334,
0.012511875480413437,
-0.050198931246995926,
0.05364344269037247,
-0.03423869609832764,
-0.07270530611276627,
0.02700161747634411,
0.028465764597058296,
0.07102376222610474,
-0.008562920615077019,
0.0023992820642888546,
0.08678530156612396,
0.007713511120527983,
0.018755963072180748,
0.02180192619562149,
0.004724196158349514,
0.035447876900434494,
-0.0019123299280181527,
0.03363347426056862,
0.030695060268044472,
-0.012480249628424644,
-0.015756625682115555,
-0.043580759316682816,
0.03603598475456238,
0.0037893580738455057,
-0.26787927746772766,
-0.009192855097353458,
-0.006557119078934193,
-0.03960726037621498,
0.03656337782740593,
0.0035378632601350546,
0.028580470010638237,
-0.026640070602297783,
-0.01652415841817856,
0.037696436047554016,
0.015529711730778217,
-0.030050940811634064,
-0.0179984662681818,
0.025442330166697502,
-0.021283088251948357,
-0.008950053714215755,
-0.0139999371021986,
-0.03976632282137871,
-0.009821249172091484,
0.030647117644548416,
-0.005431927274912596,
-0.07055332511663437,
0.0064241476356983185,
0.023563239723443985,
0.030224958434700966,
0.007068935316056013,
-0.08288398385047913,
0.048194997012615204,
-0.01895686239004135,
-0.010407897643744946,
0.00513146398589015,
-0.01993986777961254,
0.015954669564962387,
-0.01520051620900631,
-0.019482821226119995,
-0.016070466488599777,
0.005130101460963488,
0.01648111641407013,
-0.0066161323338747025,
0.008275630883872509,
-0.04959449917078018,
-0.0884510800242424,
-0.029214870184659958,
-0.011194081045687199,
0.04916771873831749,
0.008775215595960617,
-0.055490512400865555,
0.013959232717752457,
-0.04528328403830528,
0.05990699306130409,
-0.026586174964904785,
-0.034353069961071014,
-0.005411181133240461,
0.012880715541541576,
-0.004522408824414015,
-0.04140894114971161,
-0.024695420637726784,
0.001038475544191897,
-0.02893705479800701,
-0.010253324173390865,
-0.020496221259236336,
-0.03959628939628601,
-0.005291598848998547,
-0.015131989493966103,
-0.01822933927178383,
-0.06286438554525375,
-0.056888386607170105,
0.0019248153548687696,
0.08329221606254578,
0.0038025847170501947,
-0.0013989490689709783,
0.03219911456108093,
0.004829403944313526,
-0.12914790213108063,
-0.040621399879455566,
-0.01602865569293499,
0.015587897971272469,
-0.00973900593817234,
-0.03397032618522644,
0.05357675999403,
-0.06541941314935684,
-0.022512167692184448,
0.013060463592410088,
-0.022647980600595474,
0.05444539338350296,
-0.017901049926877022,
0.0054300036281347275,
-0.031063271686434746,
-0.027896525338292122,
0.010340383276343346,
0.05946946516633034,
-0.04219202324748039,
0.008378447033464909,
-0.022945590317249298,
0.01932462863624096,
0.04540733993053436,
0.005843379069119692,
0.019291043281555176,
-0.013377804309129715,
0.032200299203395844,
0.04066602885723114,
-0.06890831887722015,
0.015160471200942993,
-0.04843919724225998,
0.011326998472213745,
-0.012223036959767342,
-0.04705757647752762,
0.025561315938830376,
0.02899676375091076,
0.03455636277794838,
-0.002847315277904272,
-0.018861226737499237,
0.011004463769495487,
-0.06252028793096542,
-0.032653313130140305,
-0.010755407623946667,
0.021760305389761925,
0.034739285707473755,
0.008256964385509491,
-0.03664379194378853,
-0.07206552475690842,
0.02939768321812153,
0.03178254887461662,
-0.007413777988404036,
-0.04197404533624649,
-0.06220252811908722,
-0.02774900197982788,
-0.03079882450401783,
0.02632896974682808,
0.03180631995201111,
-0.02814631164073944,
0.03151145949959755,
-0.0038521860260516405,
0.0033324616961181164,
0.01337709091603756,
-0.04697668179869652,
-0.029396887868642807,
-0.02881607413291931,
0.004034247249364853,
-0.009081104770302773,
0.0135054811835289,
0.011633909307420254,
0.004401728976517916,
0.03439294546842575,
0.03644097223877907,
0.013107403181493282,
0.04678487405180931,
-0.004384264349937439,
0.0053891572169959545,
-0.003949842415750027,
0.03839610144495964,
-0.06546463072299957,
0.01978776603937149,
-0.03956534340977669,
-0.051019731909036636,
-0.012789790518581867,
0.027513381093740463,
-0.040859825909137726,
-0.01618950068950653,
-0.08131660521030426,
0.02693876251578331,
-0.050177183002233505,
-0.0007430248660966754,
-0.021434061229228973,
0.012321234680712223,
0.05365634337067604,
-0.02551051415503025,
0.06637991219758987,
-0.0427539125084877,
-0.050112880766391754,
-0.005930259358137846,
-0.02621093951165676,
-0.01314583420753479,
0.06577212363481522,
0.000042533589294180274,
0.03522999957203865,
0.002118043601512909,
0.019563328474760056,
0.026721950620412827,
0.02719387598335743,
0.0038724562618881464,
-0.006260515656322241,
0.01835237443447113,
0.022831426933407784,
0.046595241874456406,
0.04574086517095566,
0.01122394297271967,
0.010861458256840706,
-0.02768683061003685,
-0.019952809438109398,
-0.02575075253844261,
0.019751833751797676,
-0.01560812909156084,
0.011806316673755646,
-0.03295459225773811,
-0.08321795612573624,
0.0352061428129673,
0.022058943286538124,
0.03485751152038574,
0.004498834256082773,
0.0138762341812253,
0.05249250680208206,
-0.012563171796500683,
0.033835794776678085,
0.07112462818622589,
-0.04663835093379021,
-0.009850085712969303,
0.009200760163366795,
0.02207130193710327,
-0.007745983079075813,
0.024974873289465904,
-0.052358705550432205,
-0.010579042136669159,
-0.017305757850408554,
-0.016415776684880257,
-0.02173019014298916,
-0.03234490752220154,
-0.03153332695364952,
0.027290454134345055,
-0.006113757845014334,
0.008891148492693901,
0.0040068309754133224,
-0.03325396776199341,
-0.02082926407456398,
-0.026901235803961754,
0.019825486466288567,
-0.03503858670592308,
-0.039581626653671265,
0.03316551819443703,
-0.01313039567321539,
0.008485488593578339,
-0.022733060643076897,
0.011881786398589611,
0.01688464730978012,
-0.009096953086555004,
-0.01927424967288971,
-0.048677459359169006,
0.011133918538689613,
0.023932166397571564,
0.05290372669696808,
-0.01189226470887661,
-0.00833555031567812,
-0.02982911467552185,
0.0129276467487216,
-0.018252355977892876,
0.027444951236248016,
0.006955337710678577,
0.0051550911739468575,
0.01244745310395956,
0.034590914845466614,
0.024283654987812042,
0.04607869312167168,
-0.0062906136736273766,
0.01241520419716835,
0.06579166650772095,
-0.05780705809593201,
-0.01507315319031477,
-0.027771074324846268,
-0.08993218094110489,
0.0005675792344845831,
-0.011600748635828495,
0.0051070814952254295,
-0.04625527560710907,
0.03836585581302643,
0.041141875088214874,
0.016800036653876305,
0.04563254117965698,
-0.028639744967222214,
0.03665037080645561,
-0.017237719148397446,
-0.0074098301120102406,
-0.0862584114074707,
-0.010845860466361046,
0.05370118468999863,
0.03465789929032326,
0.045824699103832245,
-0.012256918475031853,
-0.05589861795306206,
0.02769545651972294,
-0.03695688769221306,
-0.018642151728272438,
0.029453983530402184,
-0.01947694644331932,
-0.019244419410824776,
0.025637075304985046,
-0.06791066378355026,
0.008282114751636982,
0.021733339875936508,
-0.03459184244275093,
-0.03159819915890694,
-0.01950422301888466,
0.05458294600248337,
0.010335149243474007,
0.0340728759765625,
-0.005563411861658096,
-0.020649464800953865,
0.07957030832767487,
-0.010531284846365452,
0.02493019960820675,
0.09490539133548737,
-0.026531916111707687,
0.026110954582691193,
0.032498836517333984,
-0.004646785091608763,
-0.026188135147094727,
0.002534991130232811,
0.022714221850037575,
-0.040977753698825836,
0.03052448108792305,
0.016171826049685478,
-0.036002062261104584,
-0.05905670300126076,
0.07160264998674393,
0.005411903839558363,
-0.053074851632118225,
-0.04584610462188721,
0.010423594154417515,
-0.020932480692863464,
-0.039083708077669144,
-0.0466151125729084,
0.016731178387999535,
-0.009601620025932789,
0.08077149838209152,
-0.010298053734004498,
-0.0033055772073566914,
0.08155074715614319,
0.022170156240463257,
0.020829735323786736,
-0.0285042617470026,
0.06780502200126648,
0.09572911262512207,
0.007482550106942654,
-0.0007684877491556108,
0.04940830543637276,
-0.04189722239971161,
-0.014103184454143047,
0.005422917194664478,
-0.02125542424619198,
-0.05635460838675499,
-0.026868565008044243,
-0.010685229673981667,
0.0707617774605751,
-0.00028340224525891244,
0.06384998559951782,
-0.04306173324584961,
0.002081263344734907,
-0.007904776372015476,
0.02608826570212841,
0.039339348673820496,
0.01922811195254326,
0.0009553731069900095,
0.02483026683330536,
-0.008783048950135708,
-0.04167906194925308,
0.023178625851869583,
-0.02853003516793251,
-0.02911943756043911,
0.012460260652005672,
0.0014250307576730847,
0.019169142469763756,
0.008160769008100033,
0.010768745094537735,
0.06829789280891418,
-0.01648641750216484,
-0.009678950533270836,
-0.010021284222602844,
-0.004263979848474264,
-0.0025506634265184402,
-0.008457642048597336,
-0.028506504371762276,
-0.03243934363126755,
0.007024476304650307,
-0.04236655309796333,
-0.02299843728542328,
-0.03656318783760071,
-0.055771779268980026,
0.037484243512153625,
-0.04787261411547661,
0.04540460556745529,
-0.00831580813974142,
-0.01327697653323412,
-0.05480552837252617,
-0.04202599450945854,
-0.05247789993882179,
-0.038793232291936874,
-0.07716435939073563,
-0.016200043261051178,
-0.009653446264564991,
0.010379883460700512,
-0.017861798405647278,
-0.004937971476465464,
-0.008545300923287868,
0.0013567375717684627,
0.04337508976459503,
-0.02560284174978733,
-0.010521307587623596,
0.02294818125665188,
-0.017746128141880035,
0.0084680849686265,
0.04272276908159256,
0.0585155263543129,
-0.0022755498066544533,
0.025023672729730606,
-0.06173129752278328,
-0.002582130255177617,
0.049992725253105164,
0.037780363112688065,
-0.008488863706588745,
-0.08339349180459976,
0.04046303406357765,
0.006781834177672863,
-0.026852790266275406,
-0.052225079387426376,
-0.012113317847251892,
0.029901543632149696,
0.0009216269245371222,
0.045264434069395065,
-0.04025154933333397,
-0.019748259335756302,
-0.04200313612818718,
-0.002061206381767988,
0.009070221334695816,
0.01491094846278429,
0.040371429175138474,
-0.040168002247810364,
0.05997421592473984,
0.037683676928281784,
-0.02735970728099346,
-0.012103554792702198,
0.01081625185906887,
-0.0009397899848408997,
-0.007686196826398373,
0.00465071527287364,
-0.05140728875994682,
-0.057708606123924255,
-0.06878720223903656,
0.021566016599535942,
0.06714626401662827,
-0.014496361836791039,
-0.03373461961746216,
0.012159253470599651,
0.05601545795798302,
-0.06615938246250153,
0.0007490003481507301,
-0.012483633123338223,
0.06597965210676193,
-0.01640789955854416,
-0.04511834681034088,
-0.0013658847892656922,
0.013324141502380371,
-0.02395440638065338,
-0.0016370653174817562,
0.011187771335244179,
-0.036573030054569244,
-0.027763841673731804,
-0.009673018008470535,
0.02971496805548668,
0.04767554998397827,
0.009026339277625084,
-0.00647104112431407
] | [
-0.09679518640041351,
-0.025091955438256264,
-0.06708379834890366,
-0.006211970467120409,
0.057752445340156555,
-0.02425571158528328,
-0.039700090885162354,
0.05011410638689995,
0.0323931910097599,
-0.0010423102648928761,
0.020677929744124413,
0.0022049061954021454,
0.018916426226496696,
0.019962100312113762,
0.1195785403251648,
-0.010347661562263966,
-0.02647390030324459,
-0.08223318308591843,
-0.03212645277380943,
0.024320004507899284,
-0.012980119325220585,
-0.03381698578596115,
-0.016703573986887932,
-0.03308776766061783,
0.021178757771849632,
0.03171759843826294,
-0.0049096643924713135,
-0.05962388962507248,
-0.0003342310374137014,
-0.2025861144065857,
-0.0078024002723395824,
0.008566328324377537,
0.04004276543855667,
-0.007365326397120953,
-0.010182571597397327,
0.01150941289961338,
0.029819762334227562,
-0.02305184118449688,
-0.008286272175610065,
0.02835628017783165,
0.01066594012081623,
0.0399971567094326,
-0.05690445378422737,
0.020272742956876755,
0.0018711049342527986,
-0.022797992452979088,
-0.041000623255968094,
-0.011850141920149326,
-0.01908760517835617,
0.032007791101932526,
-0.017357701435685158,
-0.03970414027571678,
0.023447053506970406,
0.013922258280217648,
0.018435338512063026,
0.023055486381053925,
0.008042853325605392,
0.09578737616539001,
0.010457552969455719,
0.02923254296183586,
0.001590450992807746,
-0.024299263954162598,
-0.12796667218208313,
0.08972406387329102,
0.009970744140446186,
0.022219672799110413,
-0.020999113097786903,
-0.0403769314289093,
-0.00325710978358984,
0.05850670486688614,
0.001051829312928021,
0.006642122287303209,
-0.041511114686727524,
0.04943481832742691,
-0.035575371235609055,
0.02385134994983673,
-0.0124581940472126,
0.02741093747317791,
0.02012573927640915,
-0.019998088479042053,
-0.031246233731508255,
-0.014776882715523243,
-0.004397000186145306,
-0.014479206874966621,
-0.03910317271947861,
0.02207721769809723,
0.02101464383304119,
0.040512703359127045,
0.009599450044333935,
0.0456678606569767,
0.030964482575654984,
0.02069851942360401,
0.06289362162351608,
-0.005251938011497259,
-0.06600117683410645,
0.011807484552264214,
0.010659019462764263,
0.02667599730193615,
0.005720375571399927,
0.3859593868255615,
0.01536383293569088,
-0.03240220993757248,
0.05284751579165459,
0.05847102403640747,
0.0187593512237072,
-0.040206167846918106,
0.023001063615083694,
-0.04562258720397949,
0.0528000183403492,
-0.01404891349375248,
0.01976337656378746,
-0.05434410274028778,
0.060647621750831604,
-0.05810445919632912,
-0.012186133302748203,
0.03901126980781555,
0.03142916038632393,
0.021630680188536644,
0.0005961793358437717,
0.02436302788555622,
0.010755620896816254,
-0.031469058245420456,
0.03342525288462639,
0.0054362015798687935,
0.031246565282344818,
0.008306615985929966,
0.01942526176571846,
0.06045651063323021,
0.007649489678442478,
0.020440425723791122,
0.07196463644504547,
0.016209593042731285,
-0.043081134557724,
-0.011401936411857605,
0.0022112883161753416,
0.02065092884004116,
0.05311228707432747,
-0.022854380309581757,
-0.00129502615891397,
0.01714351773262024,
-0.00824795663356781,
-0.00045037586824037135,
0.04818755015730858,
-0.038260702043771744,
-0.04232798144221306,
0.12731847167015076,
0.01228395476937294,
-0.011897300370037556,
-0.012686987407505512,
-0.036740873008966446,
0.010274275206029415,
0.04985947161912918,
-0.019172830507159233,
-0.07820312678813934,
-0.010354115627706051,
0.027589373290538788,
0.09846074134111404,
-0.00506145553663373,
-0.0783550888299942,
-0.007849479094147682,
-0.016748463734984398,
-0.021854910999536514,
-0.021091150119900703,
0.0780317485332489,
0.05674542486667633,
-0.13965189456939697,
-0.000911408569663763,
0.03234751150012016,
0.023109354078769684,
-0.05569957569241524,
0.0012787946034222841,
0.0033115618862211704,
-0.007472027093172073,
-0.02430187538266182,
0.05002189055085182,
0.005259373690932989,
-0.0541963130235672,
-0.007997087202966213,
0.07670850306749344,
0.03141510859131813,
-0.0008378009079024196,
-0.0018991520628333092,
-0.033003516495227814,
-0.001980098430067301,
-0.06739380955696106,
-0.04409133270382881,
-0.04786857217550278,
0.014895223081111908,
-0.012422207742929459,
-0.0640680268406868,
-0.029754193499684334,
-0.037147898226976395,
-0.048702917993068695,
0.11894311755895615,
-0.007229698356240988,
-0.02727157063782215,
0.008222670294344425,
-0.023630712181329727,
0.009548409841954708,
-0.03623627871274948,
0.034191861748695374,
0.030837900936603546,
-0.015777936205267906,
0.037281762808561325,
-0.07398411631584167,
0.028381042182445526,
0.05775107443332672,
-0.025263918563723564,
0.033650364726781845,
0.036034125834703445,
-0.04836281016469002,
0.014926541596651077,
-0.01017638761550188,
0.033498700708150864,
-0.03597308695316315,
-0.010305296629667282,
-0.03100711852312088,
0.02194506861269474,
0.012198180891573429,
0.01849604770541191,
0.005606759339570999,
0.0010087029077112675,
-0.0229574553668499,
-0.3448846638202667,
-0.023585185408592224,
-0.016794200986623764,
-0.01693740300834179,
0.019804544746875763,
-0.041694533079862595,
0.020168796181678772,
-0.03977859765291214,
0.012238571420311928,
0.03405236080288887,
0.10767895728349686,
0.030180618166923523,
-0.016064327210187912,
-0.10630842298269272,
0.011721075512468815,
0.024256590753793716,
-0.014058668166399002,
0.0039554741233587265,
-0.039525024592876434,
-0.008706129156053066,
-0.016566740348935127,
-0.0393928699195385,
-0.0024922355078160763,
-0.030047770589590073,
-0.0029443991370499134,
-0.009027552790939808,
0.10118889063596725,
0.0009679270442575216,
0.07116997987031937,
-0.05518200621008873,
0.03986998647451401,
-0.0015459698624908924,
-0.018994975835084915,
-0.0715479776263237,
-0.005437951534986496,
0.00048392487224191427,
0.023379364982247353,
0.00025989406276494265,
0.008815186098217964,
-0.014529789797961712,
-0.04810820892453194,
-0.01916520670056343,
-0.038595959544181824,
-0.0795554369688034,
-0.031065458431839943,
-0.005817826837301254,
-0.05879340320825577,
-0.06891975551843643,
0.028706058859825134,
0.059192199259996414,
-0.02124735340476036,
0.004208218771964312,
0.005648238118737936,
0.0419585183262825,
0.0071594021283090115,
-0.014233263209462166,
-0.03957732394337654,
-0.0006695117335766554,
0.028363365679979324,
0.0055772773921489716,
0.008334167301654816,
0.0404779277741909,
0.022423410788178444,
-0.07032908499240875,
0.018903624266386032,
0.022648420184850693,
0.024200910702347755,
0.0023583213333040476,
0.04968671873211861,
-0.06770287454128265,
-0.06207071989774704,
0.11812567710876465,
-0.0027608999516814947,
0.009073877707123756,
0.034498292952775955,
0.02621750719845295,
-0.008242057636380196,
0.0003646004479378462,
0.02812158316373825,
0.0430288128554821,
0.017768094316124916,
-0.01851135864853859,
0.012271914631128311,
-0.01385051291435957,
-0.04388526454567909,
0.04258665814995766,
-0.021230503916740417,
-0.02007744088768959,
0.029699238017201424,
0.004683780949562788,
-0.003502983832731843,
0.007096455432474613,
-0.03539739176630974,
-0.06263843178749084,
0.013962211087346077,
-0.003964531235396862,
-0.2864294946193695,
0.014589019119739532,
0.017403999343514442,
0.04230871424078941,
-0.01542900875210762,
0.01491543184965849,
0.03706463426351547,
-0.06061317399144173,
-0.042519837617874146,
0.0009219865314662457,
0.04868524521589279,
0.07450486719608307,
0.005015391856431961,
0.0008443377446383238,
0.03438357263803482,
0.04529162868857384,
0.03968338295817375,
0.008363930508494377,
0.018544502556324005,
-0.008164727129042149,
-0.006368293426930904,
-0.02154175192117691,
0.16812150180339813,
0.036792293190956116,
0.026987435296177864,
0.0607185922563076,
-0.03933693468570709,
-0.006747135426849127,
0.07456760108470917,
0.0025203463155776262,
-0.03719526156783104,
0.034627433866262436,
0.018318334594368935,
-0.012535597197711468,
0.024487057700753212,
-0.09259176254272461,
0.009694751352071762,
0.04785862937569618,
0.004773858468979597,
-0.03278045356273651,
-0.003333442145958543,
0.002214734675362706,
-0.009607946500182152,
0.00406259298324585,
0.07506106048822403,
-0.013591124676167965,
-0.018715614452958107,
-0.050058506429195404,
-0.07352637499570847,
-0.013061854057013988,
-0.038549017161130905,
-0.06175852566957474,
0.00965649913996458,
-0.010549575090408325,
-0.006445084698498249,
0.07127547264099121,
0.01453151274472475,
-0.026265470311045647,
-0.02264055423438549,
0.004446480423212051,
0.004033141303807497,
-0.0664045512676239,
0.10038945078849792,
-0.007806846871972084,
0.009092774242162704
] | [
0.01464159693568945,
-0.004144140984863043,
0.002139559481292963,
0.02272995002567768,
-0.0030136823188513517,
0.02939375303685665,
-0.0001144884736277163,
0.025949258357286453,
-0.009142400696873665,
0.007583193015307188,
-0.03365277871489525,
0.025064343586564064,
0.0554727278649807,
0.014263788238167763,
-0.008631856180727482,
-0.02230195701122284,
-0.002932100323960185,
-0.028787687420845032,
0.016151169314980507,
0.004226543474942446,
0.006760770920664072,
-0.0062008751556277275,
0.0024596103467047215,
-0.044129353016614914,
0.008765497244894505,
0.04978029429912567,
-0.0070642633363604546,
-0.016291961073875427,
0.025926785543560982,
-0.11120439320802689,
0.013317474164068699,
-0.01677519641816616,
0.0001300589501624927,
-0.007230795919895172,
-0.040093597024679184,
-0.02283308655023575,
-0.003460973734036088,
-0.008464989252388477,
0.009395423345267773,
0.02465793304145336,
-0.013965996913611889,
-0.023740971460938454,
-0.032589465379714966,
0.01135864108800888,
-0.01714477688074112,
-0.06741641461849213,
-0.033456090837717056,
-0.01786733977496624,
0.0006821611314080656,
0.0022368484642356634,
-0.04804256558418274,
-0.011440697126090527,
0.018494626507163048,
0.03441975265741348,
0.04519212245941162,
0.008715636096894741,
-0.04672292247414589,
-0.012884311378002167,
0.01846267096698284,
-0.04019390046596527,
0.03236781060695648,
-0.027616186067461967,
-0.042728208005428314,
-0.011273463256657124,
-0.03436603397130966,
-0.026791555806994438,
-0.0014744235668331385,
0.017971253022551537,
0.0072088101878762245,
-0.0006825865712016821,
-0.030921148136258125,
0.04592680186033249,
-0.0481858104467392,
-0.009389309212565422,
-0.031089939177036285,
0.023877397179603577,
0.022521980106830597,
-0.0447600893676281,
-0.0011968071339651942,
0.012544852681457996,
-0.024721847847104073,
0.005493422504514456,
0.014629575423896313,
0.024517860263586044,
-0.007438044063746929,
0.023100178688764572,
0.015860725194215775,
-0.0037424692418426275,
-0.005055036395788193,
0.023054441437125206,
-0.03402990475296974,
0.04236871749162674,
0.01449758093804121,
0.016365498304367065,
-0.10608021169900894,
0.01771985925734043,
-0.027869483456015587,
0.00088985834736377,
0.02086050994694233,
0.8464298248291016,
0.02751987613737583,
-0.0033467861358076334,
0.014953521080315113,
0.03760070726275444,
-0.0017998515395447612,
-0.025610480457544327,
-0.015917804092168808,
0.02145078219473362,
-0.0004799902089871466,
-0.02550310455262661,
0.008834844455122948,
0.0020873998291790485,
0.016268061473965645,
0.024711277335882187,
-0.016375264152884483,
0.055356528609991074,
0.007953866384923458,
-0.013435610570013523,
0.004167531616985798,
0.026116205379366875,
0.018944287672638893,
0.006559422705322504,
-0.0027131647802889347,
0.028659682720899582,
0.03451717644929886,
-0.1564355045557022,
-0.008295059204101562,
-6.747921647475495e-33,
0.01158483698964119,
-0.028750954195857048,
0.008473058231174946,
-0.0009319767123088241,
0.03859638795256615,
0.01001073233783245,
0.03866122290492058,
0.018493345007300377,
-0.03175073862075806,
-0.045262906700372696,
-0.014824798330664635,
0.02343546226620674,
0.007137077860534191,
-0.055586863309144974,
0.0010569776641204953,
-0.028745857998728752,
-0.0009475147817283869,
0.03044744022190571,
-0.018177367746829987,
0.00948275439441204,
0.03236167132854462,
0.03585401549935341,
-0.004948711954057217,
0.029588287696242332,
-0.011496043764054775,
0.022870555520057678,
-0.006535504944622517,
0.0037629809230566025,
0.013267823494970798,
-0.04445319250226021,
-0.02687987871468067,
0.004183480050414801,
-0.018043475225567818,
-0.012556370347738266,
0.0019017928279936314,
-0.04998745769262314,
-0.009857683442533016,
-0.011175690218806267,
-0.05150871351361275,
-0.045322902500629425,
-0.04067450389266014,
0.004088429734110832,
-0.05555252730846405,
0.0032578306272625923,
-0.02978592924773693,
-0.029973294585943222,
-0.016569364815950394,
0.020101405680179596,
-0.0002897476078942418,
0.02390974760055542,
0.012751429341733456,
0.019577795639634132,
0.006297455634921789,
-0.02414594776928425,
-0.009167436510324478,
0.042044173926115036,
-0.005359319970011711,
0.026047876104712486,
-0.008517083711922169,
0.030739232897758484,
-0.0014905770076438785,
-0.017213281244039536,
-0.03177763149142265,
0.014446795918047428,
0.006928558461368084,
0.015343469567596912,
0.011126474477350712,
-0.007014818023890257,
-0.0033082154113799334,
0.029807930812239647,
-0.051484908908605576,
0.044483162462711334,
-0.01058413926512003,
0.0021780410315841436,
0.041131068021059036,
-0.022376645356416702,
0.00335430889390409,
-0.018833160400390625,
-0.0004256581887602806,
0.01448934804648161,
-0.006522874813526869,
-0.007543113082647324,
0.02147415652871132,
0.013764484785497189,
-0.010925069451332092,
-0.018556052818894386,
-0.006731693167239428,
0.02235846221446991,
-0.007683488540351391,
0.029022615402936935,
0.05295872688293457,
0.027429981157183647,
0.009036562405526638,
-0.03001207672059536,
-0.041835229843854904,
7.18845578786141e-33,
-0.029787329956889153,
-0.00802401639521122,
-0.04876888915896416,
0.010664652101695538,
0.02038070186972618,
-0.002552041318267584,
0.037854135036468506,
0.004563102498650551,
-0.02990608848631382,
0.00753168947994709,
-0.03463813289999962,
0.017901387065649033,
-0.008383684791624546,
0.04682474955916405,
0.04957045242190361,
-0.04007396847009659,
0.029546184465289116,
-0.03155956044793129,
-0.009585076943039894,
-0.010557212866842747,
0.014007089659571648,
0.012268648482859135,
0.018778637051582336,
0.00751254428178072,
0.042116232216358185,
0.04451753944158554,
0.012300046160817146,
0.005974634550511837,
-0.016794145107269287,
0.0033852667547762394,
0.015325231477618217,
-0.032503120601177216,
-0.01518966257572174,
-0.00791566539555788,
-0.004720950964838266,
0.01674315333366394,
-0.0023461354430764914,
0.0011813795426860452,
0.02525716833770275,
0.004946441855281591,
-0.013918616808950901,
-0.025215953588485718,
-0.031276751309633255,
0.029167063534259796,
0.028042590245604515,
0.008528056554496288,
-0.02696140483021736,
0.008419772610068321,
0.006071265321224928,
-0.006776150315999985,
-0.018859216943383217,
0.020807087421417236,
0.009679583832621574,
0.040414951741695404,
-0.006600051186978817,
-0.034213852137327194,
0.014452765695750713,
0.02821374498307705,
0.04033374413847923,
-0.015843676403164864,
-0.008475384674966335,
-0.027611400932073593,
-0.03052378073334694,
0.04499794915318489,
0.005267403554171324,
-0.015822870656847954,
-0.021070601418614388,
-0.004201019648462534,
-0.00364977796562016,
0.009508895687758923,
0.017158223316073418,
0.011743907816708088,
-0.015769077464938164,
0.04254036769270897,
0.045979712158441544,
-0.015126035548746586,
-0.014531340450048447,
-0.008512679487466812,
-0.037602756172418594,
0.03517410159111023,
0.018304139375686646,
0.04107525572180748,
0.011086317710578442,
-0.004150778520852327,
0.005680033005774021,
0.007908151485025883,
-0.010117126628756523,
0.013539989478886127,
-0.006541535723954439,
-0.0015023762825876474,
-0.00721848476678133,
-0.009440691210329533,
-0.021042967215180397,
0.013651012443006039,
0.023379232734441757,
-1.2628054157914903e-8,
-0.009238388389348984,
-0.002648505847901106,
-0.03082890994846821,
0.0020176374819129705,
0.05406734347343445,
0.03295305743813515,
-0.024424346163868904,
-0.021275585517287254,
-0.0012617281172424555,
0.018122239038348198,
0.03819587454199791,
-0.018355950713157654,
0.036478832364082336,
0.03373684361577034,
0.040459588170051575,
-0.056199897080659866,
0.017875222489237785,
-0.021298207342624664,
0.0334036760032177,
0.009811618365347385,
-0.021617600694298744,
0.042573314160108566,
-0.031538140028715134,
0.00896394718438387,
0.002138338051736355,
-0.006233529653400183,
0.04399644210934639,
-0.0667937844991684,
-0.012249907478690147,
-0.03375164419412613,
-0.032764993607997894,
-0.010195241309702396,
-0.029684115201234818,
0.03331127390265465,
-0.06302787363529205,
-0.009839118458330631,
0.025809969753026962,
0.02764357067644596,
0.0015796415973454714,
0.011227559298276901,
0.010774476453661919,
0.014342564158141613,
-0.013006079941987991,
-0.022701025009155273,
-0.00438626017421484,
0.006280627101659775,
-0.014537609182298183,
-0.0027250265702605247,
0.06719858944416046,
-0.0374983511865139,
-0.015046169050037861,
0.00800210889428854,
-0.017866861075162888,
0.008392883464694023,
0.013583381660282612,
-0.028537379577755928,
-0.0013704729499295354,
-0.03542023524641991,
-0.010425932705402374,
-0.018598804250359535,
0.016591472551226616,
0.033395953476428986,
-0.03575016185641289,
-0.0324038602411747
] | rxjava-from-future-to-observable | https://markhneedham.com/blog/2013/12/28/rxjava-from-future-to-observable |
false | 2013-12-10 23:46:46 | Neo4j: Cypher - Getting the hang of MERGE | [
"neo4j",
"cypher"
] | [
"neo4j"
] | I've been trying to get the hang of cypher's http://docs.neo4j.org/chunked/milestone/query-merge.html[MERGE function] and started out by writing a small file to import some people with random properties using the https://github.com/DiUS/java-faker[java-faker] library.
[source,java]
----
public class Merge {
private static Label PERSON = DynamicLabel.label("Person");
public static void main(String[] args) throws IOException {
File dbFile = new File("/tmp/test-db");
FileUtils.deleteRecursively(dbFile);
Faker faker = new Faker();
Random random = new Random();
GraphDatabaseService db = new GraphDatabaseFactory().newEmbeddedDatabase(dbFile.getPath());
Transaction tx = db.beginTx();
for (int i = 0; i < 100000; i++) {
Node person = db.createNode(PERSON);
person.setProperty("name", faker.name());
person.setProperty("firstName", faker.firstName());
person.setProperty("lastName", faker.lastName());
person.setProperty("country", faker.country());
person.setProperty("age", random.nextInt(50));
}
tx.success();
tx.close();
}
}
----
We can write the following query to get back a sample of the people that have been imported:
[source,cypher]
----
$ MATCH (p:Person) RETURN p LIMIT 5;
==> +------------------------------------------------------------------------------------------------------------------+
==> | p |
==> +------------------------------------------------------------------------------------------------------------------+
==> | Node[1344]{name:"Benton Swaniawski",firstName:"Rossie",lastName:"Ankunding",country:"Guadeloupe",age:30} |
==> | Node[1345]{name:"Dagmar Bartell",firstName:"Ashlynn",lastName:"Watsica",country:"French Guiana",age:35} |
==> | Node[1346]{name:"Ms. Missouri Gaylord",firstName:"Muriel",lastName:"Streich",country:"Chile",age:43} |
==> | Node[1347]{name:"Melvina Heathcote",firstName:"Geovanni",lastName:"Marks",country:"United Arab Emirates",age:33} |
==> | Node[1348]{name:"Brendan Schaefer",firstName:"Dayne",lastName:"Haley",country:"Tokelau",age:24} |
==> +------------------------------------------------------------------------------------------------------------------+
----
We can use the MERGE function to ensure that a node with specific properties exists so we might write something like the following:
[source,cypher]
----
MERGE (p:Person {name: "Benton Swaniawski",
firstName:"Rossie",
lastName:"Ankunding",
country:"Guadeloupe",
age:30})
RETURN p
----
If we have a look at the +++<cite>+++PROFILE+++</cite>+++ output of the query we'd see something like the following:
[source,bash]
----
UpdateGraph(commands=["
MergeNodeAction(
p,
Map(firstName(1) -> Literal(Rossie), country(3) -> Literal(Guadeloupe),
name(0) -> Literal(Benton Swaniawski),
lastName(2) -> Literal(Ankunding),
age(4) -> Literal(30)),
List(Person(0)),
ArrayBuffer(Property(p,lastName(2)) == Literal(Ankunding),
Property(p,name(0)) == Literal(Benton Swaniawski),
Property(p,age(4)) == Literal(30),
Property(p,country(3)) == Literal(Guadeloupe),
Property(p,firstName(1)) == Literal(Rossie)),
List(LabelAction(p,LabelSetOp,List(Person(0))),
PropertySetAction(Property(p,name),Literal(Benton Swaniawski)),
PropertySetAction(Property(p,country),Literal(Guadeloupe)),
PropertySetAction(Property(p,age),Literal(30)),
PropertySetAction(Property(p,lastName),Literal(Ankunding)),
PropertySetAction(Property(p,firstName),
Literal(Rossie))),
List(),
Some(PlainMergeNodeProducer(<function2>)))"], _rows=1, _db_hits=100219)
----
The bit that stands out is that there were 100,219 db_hits which slows down the query considerably.
If we want to use +++<cite>+++MERGE+++</cite>+++ then we need to make sure that we have an index or constraint on one of the properties e.g.
[source,bash]
----
$ CREATE INDEX ON :Person(name);
==> +-------------------+
==> | No data returned. |
==> +-------------------+
==> Indexes added: 1
----
If we look at the profile of that we'll see that the number of db_hits has reduced as it's now using the index to do part of the lookup that the MERGE requires:
[source,bash]
----
UpdateGraph(commands=["
MergeNodeAction(
p,
Map(firstName(1) -> Literal(Rossie), country(3) -> Literal(Guadeloupe),
name(0) -> Literal(Benton Swaniawski),
...
Some(PlainMergeNodeProducer(<function2>)))"], _rows=1, _db_hits=4)
----
We can go one step further by only including the property that's acting as our 'key' (i.e. name) in the first part of the statement and setting the other properties only if necessary:
[source,cypher]
----
MERGE (p:Person {name: "Benton Swaniawski"})
ON CREATE SET p.firstName="Rossie",
p.lastName="Ankunding",
p.country="Guadeloupe",
p.age=30
RETURN p
----
If we profile that query we can see that things have improved:
[source,bash]
----
UpdateGraph(commands=["MergeNodeAction(
p,
Map(name(0) -> Literal(Benton Swaniawski)),
List(Person(0)),ArrayBuffer(),
List(LabelAction(p,LabelSetOp,List(Person(0))),
PropertySetAction(Property(p,name),Literal(Benton Swaniawski)),
PropertySetAction(Property(p,firstName),Literal(Rossie)),
PropertySetAction(Property(p,lastName),Literal(Ankunding)),
PropertySetAction(Property(p,country),Literal(Guadeloupe)),
PropertySetAction(Property(p,age),Literal(30))),
List(),
Some(PlainMergeNodeProducer(<function2>)))"], _rows=1, _db_hits=0)
----
In some cases we might want to update a property every time that 'key' gets matched in a MERGE statement which we could do like so:
[source,cypher]
----
MERGE (p:Person {name: "Benton Swaniawski"})
ON MATCH SET p.times = COALESCE(p.times, 0) + 1
RETURN p
----
You can also use +++<cite>+++MERGE+++</cite>+++ to http://docs.neo4j.org/chunked/milestone/query-merge.html#merge-merge-on-a-relationship[create relationships] but for now I just wanted to explore how it should be used in the context of nodes which I think I've now figured out.
Always happy to take tips on how to do things better though! | null | null | [
0.00792432390153408,
-0.038190651684999466,
-0.03765374794602394,
0.061405062675476074,
0.09528505057096481,
-0.01611575484275818,
0.04509923234581947,
0.018449001014232635,
0.007737957872450352,
-0.016958696767687798,
0.0004651524650398642,
-0.013630537316203117,
-0.08869998157024384,
0.008500049822032452,
-0.014888734556734562,
0.05333850160241127,
0.0670812577009201,
0.002144673839211464,
0.04450336843729019,
-0.016445927321910858,
-0.024355532601475716,
0.039187829941511154,
-0.011323338374495506,
0.046184420585632324,
0.032340843230485916,
0.0315999798476696,
-0.0018942999886348844,
0.009807302616536617,
-0.04449326917529106,
0.004612742457538843,
0.06404778361320496,
-0.02106611058115959,
0.02694946900010109,
-0.024763889610767365,
0.008183826692402363,
-0.002712866058573127,
-0.04085024073719978,
0.007566673215478659,
-0.002284102141857147,
0.001960441470146179,
-0.05912147834897041,
0.02833460457623005,
-0.003632914973422885,
0.0072342162020504475,
-0.053785305470228195,
-0.029360966756939888,
-0.05353895202279091,
0.046841006726026535,
-0.0006835947278887033,
0.0125766322016716,
-0.06099991127848625,
0.02727874554693699,
-0.028351761400699615,
0.01598145067691803,
0.013995875604450703,
0.06211945787072182,
0.02356332167983055,
-0.08650540560483932,
0.05938933417201042,
-0.025562409311532974,
-0.001150533091276884,
-0.015088914893567562,
0.009058994241058826,
0.014349873177707195,
-0.03251983970403671,
-0.03764598071575165,
0.0033861848060041666,
0.06505376100540161,
-0.02576182782649994,
-0.0362606942653656,
0.0018313216278329492,
0.009890477173030376,
-0.030215544626116753,
-0.01641697622835636,
-0.005667032208293676,
-0.0547766350209713,
0.005659383721649647,
0.056023046374320984,
0.018304280936717987,
0.03969860449433327,
-0.0009278627694584429,
0.00929465051740408,
0.02159753255546093,
0.012511119246482849,
0.03449200093746185,
-0.043943628668785095,
-0.03730286285281181,
-0.010711872950196266,
-0.037853337824344635,
0.04030808061361313,
0.007254424970597029,
-0.058442622423172,
-0.022471698001027107,
0.007989536039531231,
-0.024951620027422905,
0.014026916585862637,
-0.009466366842389107,
-0.00221132580190897,
0.024970034137368202,
-0.0006691360613331199,
-0.020301491022109985,
0.007936245761811733,
-0.003333012107759714,
0.0031556133180856705,
-0.06505846977233887,
-0.019442372024059296,
-0.01594553329050541,
-0.04711291939020157,
-0.01028241217136383,
0.0012907616328448057,
-0.04531107470393181,
0.0018378532258793712,
0.0016640002140775323,
0.025414209812879562,
-0.08929776400327682,
0.07200946658849716,
0.015172288753092289,
0.0038303828332573175,
-0.017160438001155853,
0.04556039348244667,
0.047418177127838135,
0.0347239188849926,
0.014499885961413383,
0.08650393784046173,
0.0015976084396243095,
0.05078126862645149,
-0.004282803740352392,
0.05277235805988312,
0.0028514808509498835,
-0.06506878137588501,
-0.020011285319924355,
0.05351877957582474,
0.008716314099729061,
0.019780218601226807,
0.004368215333670378,
-0.033251598477363586,
-0.008330748416483402,
0.021476030349731445,
0.06003635376691818,
0.016382649540901184,
0.0033612491097301245,
-0.03669217228889465,
0.03250409662723541,
-0.010627620853483677,
0.007159454748034477,
0.012945147231221199,
-0.014140637591481209,
-0.044456783682107925,
-0.004292221739888191,
0.049098797142505646,
0.011793671175837517,
0.02779199182987213,
0.06970524042844772,
-0.013058282434940338,
0.004042926710098982,
0.12326408922672272,
0.0013305793981999159,
-0.0017026765272021294,
-0.007626949809491634,
0.005389275029301643,
0.04861482232809067,
0.044830940663814545,
-0.016540519893169403,
0.03365474194288254,
-0.003934534732252359,
-0.01604260504245758,
-0.0052621373906731606,
0.0700576975941658,
-0.03130871430039406,
-0.008475548587739468,
-0.033997904509305954,
-0.06276068091392517,
0.04194245859980583,
-0.0340593047440052,
-0.018898220732808113,
0.024757254868745804,
0.07108765840530396,
-0.005196243524551392,
0.01724928990006447,
0.0065986295230686665,
-0.06821746379137039,
0.060305364429950714,
0.02098214253783226,
-0.0005351941217668355,
-0.010320338420569897,
0.019376279786229134,
0.06456392258405685,
0.03232923150062561,
-0.009749564342200756,
0.040690336376428604,
-0.07107099145650864,
-0.06293801218271255,
-0.01855892315506935,
-0.015550754964351654,
0.08193740248680115,
-0.027267100289463997,
0.009263558313250542,
0.05561220645904541,
0.010380069725215435,
0.012349425815045834,
0.019711332395672798,
-0.0371008925139904,
0.023126034066081047,
-0.023236757144331932,
-0.05307700112462044,
0.0384870283305645,
0.03291240334510803,
-0.04000373184680939,
-0.02765963040292263,
0.020741986110806465,
-0.012677635066211224,
-0.005080411210656166,
0.03428386524319649,
-0.027426278218626976,
0.03778732195496559,
0.038673341274261475,
-0.0012374939396977425,
-0.016197606921195984,
0.029747091233730316,
-0.04533417895436287,
0.03659582883119583,
0.013226666487753391,
-0.03678147867321968,
0.010673737153410912,
-0.005398590583354235,
0.12742406129837036,
0.04685424640774727,
-0.027059640735387802,
-0.04269097372889519,
0.03812960535287857,
0.005385739728808403,
-0.044910259544849396,
0.051149941980838776,
-0.022220684215426445,
0.016283323988318443,
-0.019861221313476562,
-0.006236743181943893,
-0.004533363971859217,
-0.001907253172248602,
-0.02515590377151966,
0.00800107792019844,
0.04497971385717392,
-0.03915069252252579,
0.05864887684583664,
0.020687641575932503,
-0.022213904187083244,
-0.005528763867914677,
-0.05118483677506447,
-0.03345813602209091,
0.02092302404344082,
0.015236868523061275,
-0.016663042828440666,
0.06600792706012726,
-0.031526193022727966,
-0.021465573459863663,
-0.03914353623986244,
-0.023051468655467033,
0.0359066016972065,
0.03604549169540405,
0.0748443454504013,
-0.006412932183593512,
0.026464635506272316,
-0.028281256556510925,
0.001154899364337325,
-0.03367399424314499,
-0.05974192172288895,
-0.03972724452614784,
-0.021543798968195915,
0.020784102380275726,
0.02419515699148178,
0.005542359780520201,
0.00283071375451982,
0.029033126309514046,
0.010730733163654804,
0.015069435350596905,
-0.0055669452995061874,
0.007449411321431398,
0.009861113503575325,
-0.022862711921334267,
-0.036490388214588165,
-0.042619772255420685,
0.04967932030558586,
-0.042917318642139435,
-0.05592554807662964,
-0.004552922677248716,
-0.0674869567155838,
0.051491983234882355,
-0.04168570786714554,
-0.027461307123303413,
-0.00005522039282368496,
0.0292959101498127,
0.06185104325413704,
0.011867468245327473,
0.00954997818917036,
0.0803755521774292,
-0.016112567856907845,
0.01174786314368248,
0.03236296400427818,
-0.01631145365536213,
0.05366106331348419,
0.001260262099094689,
0.04869573935866356,
0.012602326460182667,
-0.021846307441592216,
-0.00004980455923941918,
-0.03262125328183174,
0.019701804965734482,
-0.01175916101783514,
-0.28419220447540283,
0.06645004451274872,
-0.017317965626716614,
-0.05833524838089943,
0.01613447070121765,
-0.04273467883467674,
0.009967751801013947,
-0.0447668619453907,
-0.02414865605533123,
0.035084016621112823,
-0.01951700635254383,
-0.014924994669854641,
-0.02068496122956276,
0.04339222609996796,
0.006692247465252876,
-0.005177664570510387,
-0.024430733174085617,
-0.03505609557032585,
-0.001984650269150734,
0.05290780961513519,
-0.01870877295732498,
-0.052768561989068985,
0.00202145054936409,
0.012129461392760277,
0.032404568046331406,
0.024613238871097565,
-0.08282484859228134,
0.0354776456952095,
-0.05097394436597824,
-0.009027293883264065,
-0.0003052985412068665,
-0.00987317319959402,
0.011315709911286831,
0.02089768461883068,
-0.03281237930059433,
-0.008879614993929863,
0.013068640604615211,
0.02078251726925373,
-0.020199617370963097,
0.04429399594664574,
-0.049575041979551315,
-0.05225185677409172,
-0.021550776436924934,
-0.020776137709617615,
0.0781656876206398,
-0.01387863326817751,
-0.05961662530899048,
-0.02097492478787899,
-0.032052844762802124,
0.07981108874082565,
-0.04578264802694321,
-0.014510287903249264,
0.005141520872712135,
-0.0024639777839183807,
-0.012181046418845654,
-0.020653313025832176,
-0.006391588132828474,
-0.0008053125930018723,
-0.05763554945588112,
-0.026302672922611237,
0.005585753824561834,
-0.026964684948325157,
0.010570341721177101,
-0.04184421896934509,
-0.006141387391835451,
-0.06564202904701233,
-0.05373714119195938,
-0.04211907088756561,
0.07022327184677124,
0.03848059102892876,
-0.011716309934854507,
0.026734568178653717,
-0.00930298026651144,
-0.11707857996225357,
-0.03814566135406494,
-0.040575604885816574,
0.004593945108354092,
-0.016990769654512405,
-0.016775047406554222,
0.05406021699309349,
-0.04714695364236832,
-0.027869783341884613,
0.01665630377829075,
0.01273343339562416,
0.02316589280962944,
0.013304900377988815,
0.01814383454620838,
0.0005931344931013882,
-0.03757278621196747,
-0.0005933748325332999,
0.08137928694486618,
-0.011247791349887848,
-0.0067583611235022545,
-0.021719763055443764,
0.008594740182161331,
0.06410720944404602,
0.011204827576875687,
-0.0024499769788235426,
0.015551813878118992,
0.030749021098017693,
0.0629521980881691,
-0.03073294088244438,
0.0036945908796042204,
-0.024868033826351166,
-0.007262250408530235,
-0.020335860550403595,
-0.053610533475875854,
0.013120485469698906,
0.009628839790821075,
0.03491736948490143,
-0.011227396316826344,
-0.006908343639224768,
0.011817030608654022,
-0.03680866211652756,
-0.04881320521235466,
-0.02440980076789856,
0.003030139720067382,
0.021969672292470932,
0.03537857159972191,
-0.02444525808095932,
-0.06985727697610855,
0.026951989158988,
0.029888620600104332,
-0.009659843519330025,
-0.045884523540735245,
-0.06550642848014832,
-0.04631582275032997,
-0.016688590869307518,
0.021787673234939575,
0.010392221622169018,
-0.020409248769283295,
0.04235502704977989,
0.016067037358880043,
-0.003048639977350831,
0.0357060432434082,
-0.007085357792675495,
-0.0323965884745121,
-0.03278908133506775,
-0.0010670727351680398,
0.0023268177174031734,
0.008462234400212765,
-0.024803174659609795,
-0.0006496813730336726,
0.0390724241733551,
0.050988368690013885,
-0.022660313174128532,
0.009973014704883099,
0.007075255271047354,
0.0076786186546087265,
-0.00422225845977664,
0.009132549166679382,
-0.04162084311246872,
0.023461423814296722,
-0.04712919145822525,
-0.03489281237125397,
-0.004309008363634348,
0.04248113930225372,
-0.011537130922079086,
-0.027429187670350075,
-0.02790350653231144,
0.03621159493923187,
-0.03695276379585266,
0.046114832162857056,
-0.031126830726861954,
-0.00038218515692278743,
0.06232840195298195,
-0.029115106910467148,
0.024149557575583458,
-0.04269389808177948,
-0.028746629133820534,
0.0030196928419172764,
-0.014734451659023762,
-0.019821040332317352,
-0.012823422439396381,
-0.0027500244323164225,
0.03116055391728878,
0.013827775605022907,
0.041624534875154495,
0.014261927455663681,
0.02998817339539528,
-0.03189752250909805,
-0.012843194417655468,
-0.002138527575880289,
0.0028238396625965834,
0.05799545720219612,
0.03237564489245415,
-0.020614279434084892,
-0.009135245345532894,
-0.04151611030101776,
-0.0154455890879035,
-0.008578111417591572,
0.008973533287644386,
-0.019911548122763634,
0.019205551594495773,
-0.026718690991401672,
-0.08021880686283112,
0.00004545030606095679,
0.02727007493376732,
-0.0031405717600136995,
0.031027061864733696,
0.018076278269290924,
-0.008757967501878738,
0.0028639943338930607,
0.024709727615118027,
0.0663749948143959,
-0.05253807082772255,
-0.018733778968453407,
-0.023703843355178833,
0.008250062353909016,
-0.009826588444411755,
0.01040727086365223,
-0.059142109006643295,
-0.025790713727474213,
-0.032664090394973755,
-0.012022851034998894,
-0.004045107401907444,
-0.05205138772726059,
-0.022788431495428085,
0.012364169582724571,
0.010751986876130104,
-0.0011496504303067923,
0.01068048644810915,
0.010749547742307186,
-0.02407064102590084,
-0.0048807961866259575,
0.03577112406492233,
-0.04366054758429527,
-0.008318377658724785,
0.001801770064048469,
-0.010361181572079659,
0.03553377836942673,
-0.02056664042174816,
0.04140646383166313,
0.01582719199359417,
-0.009547797031700611,
-0.006546584889292717,
-0.055969271808862686,
0.023466726765036583,
0.021682124584913254,
0.0392933189868927,
0.012177557684481144,
0.009311413392424583,
-0.03276923671364784,
0.0022141998633742332,
-0.011151631362736225,
0.01826680451631546,
-0.010150830261409283,
-0.010470696724951267,
0.01256466843187809,
0.040282946079969406,
-0.006744015496224165,
0.05444782227277756,
-0.015479225665330887,
-0.027692759409546852,
0.07766721397638321,
-0.026831064373254776,
-0.05892232432961464,
-0.00444537540897727,
-0.0598008967936039,
0.013384109362959862,
0.033124133944511414,
0.02805052511394024,
-0.05378074198961258,
0.054284803569316864,
0.06489191949367523,
0.005340166389942169,
0.01619638316333294,
-0.017435936257243156,
0.027088671922683716,
-0.03736833110451698,
-0.036322563886642456,
-0.08357559889554977,
-0.0063810269348323345,
0.06967602670192719,
0.0003317298833280802,
-0.0025609831791371107,
-0.03486203774809837,
-0.016639772802591324,
-0.006194437388330698,
-0.062379270792007446,
-0.007925860583782196,
0.04313845932483673,
-0.008512768894433975,
0.010698611848056316,
0.012606785632669926,
-0.043985046446323395,
-0.0063920351676642895,
0.04141261428594589,
-0.03742071986198425,
-0.02773454040288925,
-0.04637066274881363,
0.04984571784734726,
0.005628829821944237,
0.040333643555641174,
0.0016604705015197396,
-0.020352553576231003,
0.06604354828596115,
0.03609669208526611,
0.03819525986909866,
0.0534466877579689,
-0.021284809336066246,
0.04290444776415825,
0.033978912979364395,
-0.016177458688616753,
0.005379241891205311,
0.04665972664952278,
-0.018306849524378777,
-0.06688423454761505,
0.02658703550696373,
0.013115227222442627,
-0.03168446570634842,
-0.0490126796066761,
0.05195404589176178,
-0.003103414550423622,
-0.0657840445637703,
-0.026875821873545647,
0.03393394872546196,
-0.031204238533973694,
-0.020517632365226746,
-0.054692771285772324,
0.014402806758880615,
-0.050239767879247665,
0.058633871376514435,
-0.020457442849874496,
-0.005079249851405621,
0.06762193888425827,
0.0009233458549715579,
0.000024952649255283177,
-0.009193748235702515,
0.07468858361244202,
0.09431768208742142,
0.024970881640911102,
0.013606157153844833,
0.05637224018573761,
0.017608216032385826,
-0.05410562828183174,
-0.01078595407307148,
-0.03628358244895935,
0.005008871667087078,
0.0033247130922973156,
-0.009824016131460667,
0.07973208278417587,
-0.016279906034469604,
0.08405864238739014,
-0.03485921025276184,
0.008604628965258598,
0.0034304584842175245,
0.015344753861427307,
0.024678541347384453,
0.06222352012991905,
0.010251670144498348,
0.04578723385930061,
-0.03397892788052559,
-0.020334498956799507,
0.032176800072193146,
0.008094599470496178,
-0.012054896913468838,
0.020439499989151955,
-0.026981042698025703,
0.006977257784456015,
0.022561989724636078,
0.019720308482646942,
0.07483552396297455,
-0.02445370890200138,
-0.018974246457219124,
0.001019806251861155,
-0.002739214338362217,
0.0166572704911232,
-0.008520124480128288,
-0.014762458391487598,
-0.03158905357122421,
-0.0018170505063608289,
-0.04525909200310707,
-0.0080671776086092,
-0.030416401103138924,
-0.044288307428359985,
-0.011533612385392189,
-0.015026447363197803,
0.009235480800271034,
-0.00019281038839835674,
-0.025066034868359566,
-0.03609173744916916,
-0.043182745575904846,
-0.022774947807192802,
-0.04899869114160538,
-0.0653790533542633,
-0.0029083057306706905,
-0.022044481709599495,
-0.002560996450483799,
-0.020774731412529945,
0.022326644510030746,
-0.03320464491844177,
-0.012846959754824638,
0.05235084891319275,
-0.032054800540208817,
0.004126484040170908,
0.014174099080264568,
0.026783784851431847,
0.015745609998703003,
0.013954758644104004,
0.03855119273066521,
-0.0023240474984049797,
0.00808667205274105,
-0.011298769153654575,
-0.025901395827531815,
0.03350893780589104,
0.014859813265502453,
0.015372782945632935,
-0.09242255240678787,
0.02410382218658924,
0.016062024980783463,
-0.024207578971982002,
-0.07524865865707397,
-0.000507791934069246,
0.04902689903974533,
-0.00397127028554678,
0.031315647065639496,
-0.008239712566137314,
-0.009747042320668697,
-0.02808362804353237,
-0.0025281968992203474,
0.004442846868187189,
-0.00710452301427722,
0.049384474754333496,
-0.04426756873726845,
0.08317702263593674,
0.020128998905420303,
-0.01927022822201252,
-0.026252245530486107,
0.0033257498871535063,
0.004190643317997456,
-0.012432144023478031,
-0.03500397130846977,
-0.022833533585071564,
-0.03886337950825691,
-0.07662402838468552,
-0.019832629710435867,
0.023257724940776825,
-0.03416555002331734,
-0.003324650228023529,
-0.008116554468870163,
0.045234158635139465,
-0.03374745324254036,
0.03196696192026138,
-0.029026515781879425,
0.04425441473722458,
-0.027043383568525314,
-0.03286302834749222,
-0.024833176285028458,
-0.0009187181713059545,
-0.004543344024568796,
0.012205926701426506,
0.028072502464056015,
-0.042541567236185074,
-0.009294839575886726,
-0.024850403890013695,
0.021760771051049232,
0.03737863898277283,
0.0065043773502111435,
-0.008901666849851608
] | [
-0.08275579661130905,
-0.02985621802508831,
-0.0370478630065918,
-0.00672948407009244,
0.0423409640789032,
-0.03879149630665779,
-0.003605777630582452,
0.006162802688777447,
0.022683169692754745,
-0.007427053060382605,
0.053980451077222824,
-0.03094123676419258,
0.01682853139936924,
-0.01435865554958582,
0.0690518319606781,
0.00031319246045313776,
-0.032868433743715286,
-0.077117919921875,
-0.03983534872531891,
0.034895628690719604,
-0.026279576122760773,
-0.05209360271692276,
-0.022389991208910942,
-0.03176168352365494,
0.012776777148246765,
0.03294193744659424,
0.026282180100679398,
-0.018176265060901642,
-0.016931353136897087,
-0.21215486526489258,
0.03021700121462345,
0.01846197247505188,
-0.020859573036432266,
-0.014834057539701462,
0.024769296869635582,
0.030150514096021652,
0.03022865392267704,
-0.007877333089709282,
0.0057016583159565926,
0.0415467843413353,
0.03301621600985527,
0.006016178987920284,
-0.06309185177087784,
-0.02225622721016407,
0.0459897555410862,
-0.0009159277542494237,
-0.01085648313164711,
0.00967449601739645,
-0.006640786305069923,
0.03059268184006214,
-0.055986691266298294,
-0.021081719547510147,
0.01659822277724743,
-0.0007504731183871627,
0.0003844109014607966,
0.040212102234363556,
0.06550814211368561,
0.07204783707857132,
0.03466321900486946,
0.06267403066158295,
0.010022824630141258,
0.00334445433691144,
-0.11765892803668976,
0.054440416395664215,
0.006260454189032316,
0.020948654040694237,
-0.04622773081064224,
-0.026705779135227203,
-0.04049469530582428,
0.08610813319683075,
0.041594356298446655,
0.0055699897930026054,
-0.03799022361636162,
0.07972563803195953,
-0.009317387826740742,
0.013743002898991108,
-0.004375985823571682,
0.015465573407709599,
0.026056427508592606,
-0.012852657586336136,
-0.06753958016633987,
0.0006464783218689263,
-0.02972497045993805,
-0.019612429663538933,
-0.05397678166627884,
0.05849980562925339,
-0.0050314245745539665,
0.05281950160861015,
0.003094016807153821,
0.020233165472745895,
0.03365448862314224,
0.030150271952152252,
0.054140355437994,
0.024190612137317657,
-0.08879990130662918,
-0.006605155300348997,
0.004062999039888382,
0.017916178330779076,
0.01585206389427185,
0.4281146228313446,
0.012882715091109276,
0.0017206118209287524,
0.040587492287158966,
0.04880979657173157,
-0.016832752153277397,
-0.01852080039680004,
-0.007289002649486065,
-0.04909022897481918,
0.042877987027168274,
-0.016594169661402702,
-0.01011958159506321,
-0.03673102334141731,
0.03926384449005127,
-0.09189894050359726,
-0.00434242095798254,
0.028803003951907158,
0.053643498569726944,
0.01674046367406845,
-0.03695089742541313,
-0.007267385721206665,
-0.0008210334926843643,
0.007986931130290031,
0.012247011996805668,
0.04269571974873543,
0.012190509587526321,
-0.012458061799407005,
0.020545169711112976,
0.035865601152181625,
0.01627025380730629,
0.03125949576497078,
0.04201427847146988,
0.0034528712276369333,
-0.07811937481164932,
0.018738357350230217,
-0.014258640818297863,
-0.0008573015802539885,
0.0006008034106343985,
-0.023932943120598793,
-0.026774106547236443,
0.001509424182586372,
-0.018468089401721954,
-0.025449642911553383,
0.028086798265576363,
-0.009312046691775322,
-0.04395727813243866,
0.11166962236166,
-0.0026634130626916885,
-0.02198365144431591,
-0.027519188821315765,
-0.055669717490673065,
-0.011747908778488636,
0.04103117436170578,
0.002973083173856139,
-0.07367102801799774,
-0.0040041012689471245,
0.01296091265976429,
0.0784415528178215,
-0.01020913664251566,
-0.07858313620090485,
-0.004301229026168585,
0.0004730367218144238,
-0.02787190116941929,
-0.033280666917562485,
0.08591192215681076,
0.03865120932459831,
-0.11182043701410294,
-0.013773306272923946,
0.023811310529708862,
0.02015414647758007,
-0.05592288449406624,
0.011483601294457912,
0.0019378230208531022,
-0.03416716307401657,
-0.027329448610544205,
0.05639956146478653,
-0.012603598646819592,
-0.043367791920900345,
-0.023383503779768944,
0.028079936280846596,
-0.0018466915935277939,
-0.007708547171205282,
0.011161234229803085,
-0.0655134990811348,
0.006389453075826168,
-0.07083234190940857,
-0.090506911277771,
-0.08287752419710159,
0.0384291373193264,
-0.0323939211666584,
-0.028800301253795624,
-0.03120436705648899,
0.010876322165131569,
-0.040080852806568146,
0.09711376577615738,
-0.03702865540981293,
-0.05671367049217224,
-0.03942394629120827,
0.01374154444783926,
-0.007311281282454729,
-0.05027002841234207,
0.040401849895715714,
0.03802190348505974,
-0.006228516343981028,
0.020918702706694603,
-0.06614124774932861,
0.03580183908343315,
0.06758946180343628,
-0.03920803219079971,
0.06693300604820251,
0.0326046347618103,
-0.020065773278474808,
0.013531828299164772,
-0.018547581508755684,
0.04588472098112106,
-0.0033218206372112036,
-0.011140680871903896,
-0.007996180094778538,
0.004013179801404476,
0.04138205945491791,
0.026136837899684906,
-0.04092935472726822,
-0.004161542747169733,
-0.0057764514349401,
-0.35379183292388916,
-0.04770364984869957,
-0.014306921511888504,
-0.0002757639449555427,
0.023252137005329132,
-0.018828481435775757,
0.016623515635728836,
-0.0035427098628133535,
0.024467967450618744,
0.025557193905115128,
0.062361642718315125,
-0.01219880860298872,
-0.0121263787150383,
-0.039858657866716385,
0.0016846753424033523,
0.03182099759578705,
-0.025864260271191597,
0.016557693481445312,
-0.018466517329216003,
0.00643600570037961,
-0.00356770446524024,
-0.03718973323702812,
-0.022353366017341614,
-0.040431197732686996,
0.012825350277125835,
-0.02765517123043537,
0.1173100546002388,
0.0019130916334688663,
0.027682237327098846,
-0.04169468209147453,
0.04846165329217911,
0.009203944355249405,
-0.01164628192782402,
-0.06504566222429276,
0.024281946942210197,
-0.025410225614905357,
0.0034128311090171337,
-0.012568769045174122,
-0.01097466517239809,
0.0032863488886505365,
-0.036689456552267075,
-0.019867684692144394,
-0.04019465669989586,
-0.0463482104241848,
-0.0110737020149827,
0.024711493402719498,
-0.05002066493034363,
-0.00846317782998085,
0.008389724418520927,
0.08499794453382492,
-0.0017457962967455387,
0.01759597845375538,
0.047494642436504364,
0.02720400132238865,
0.02670953795313835,
-0.042886149138212204,
-0.05261293426156044,
-0.0042647081427276134,
0.04153173789381981,
0.007697335444390774,
0.013547677546739578,
0.04337839037179947,
0.03862787410616875,
-0.0710168406367302,
0.01705772615969181,
-0.0048101614229381084,
-0.003139195032417774,
-0.0023754991125315428,
0.03925040736794472,
-0.04185464605689049,
-0.03511951118707657,
0.10477006435394287,
0.0056014335714280605,
0.010284666903316975,
0.0263175331056118,
0.07237908989191055,
-0.02197376824915409,
-0.021030962467193604,
0.018146943300962448,
0.02308807522058487,
0.049897726625204086,
-0.029279638081789017,
0.05855385214090347,
-0.021965816617012024,
-0.040306661278009415,
0.05304985120892525,
0.016342243179678917,
-0.03325843811035156,
0.06669136881828308,
0.0019533655140548944,
-0.014379451051354408,
0.010612660087645054,
-0.022241389378905296,
-0.04601041227579117,
0.053952012211084366,
-0.043036095798015594,
-0.2780424654483795,
0.01029880065470934,
0.011352782137691975,
0.06768208742141724,
0.0010152922477573156,
0.018937893211841583,
0.040349774062633514,
-0.0077557917684316635,
-0.0017198153072968125,
0.00011080859985668212,
0.043179869651794434,
0.028850095346570015,
0.019160374999046326,
-0.012291309423744678,
0.012710154987871647,
0.012072065845131874,
0.025120576843619347,
-0.007545024156570435,
0.04909836873412132,
0.012232252396643162,
0.02340340055525303,
-0.051083844155073166,
0.17852675914764404,
0.04595494270324707,
0.015477283857762814,
0.04974803701043129,
-0.025649424642324448,
0.007216180209070444,
0.05964350327849388,
-0.011684076860547066,
-0.01934554986655712,
0.039110954850912094,
-0.0006305472343228757,
0.024546105414628983,
0.012235147878527641,
-0.049776770174503326,
-0.003271267283707857,
0.0456937737762928,
-0.0036326544359326363,
-0.03657830134034157,
-0.016730383038520813,
-0.012421135790646076,
-0.03859928250312805,
0.044248711317777634,
0.058711014688014984,
-0.02934383973479271,
-0.027464818209409714,
-0.01792454533278942,
-0.06051952764391899,
0.005057340022176504,
-0.027759592980146408,
-0.041828054934740067,
-0.03281582519412041,
-0.04694142937660217,
-0.013805834576487541,
0.07152390480041504,
0.030182067304849625,
-0.007764593698084354,
0.011435258202254772,
0.017998233437538147,
-0.00721742445603013,
-0.042194344103336334,
0.09587584435939789,
-0.021356264129281044,
-0.009305331856012344
] | [
0.0017590353963896632,
0.02844161167740822,
-0.010112832300364971,
0.006890219636261463,
-0.011777726002037525,
-0.010866012424230576,
-0.00510267773643136,
0.0233147069811821,
-0.035545650869607925,
0.017317669466137886,
0.003964199684560299,
0.011657372117042542,
0.052748002111911774,
-0.03222556412220001,
-0.009941734373569489,
-0.012583587318658829,
-0.013443304225802422,
0.037171319127082825,
0.014614477753639221,
-0.02201930619776249,
-0.05822338908910751,
0.007112239487469196,
0.04324612393975258,
0.00022999623615760356,
0.01160816103219986,
0.026480576023459435,
-0.028100816532969475,
0.009570294991135597,
0.010575504042208195,
-0.11291157454252243,
0.0067761726677417755,
-0.020278548821806908,
-0.0065187718719244,
0.00778199965134263,
-0.029482809826731682,
0.01655038259923458,
0.0043561733327806,
0.02401767484843731,
0.014491491951048374,
0.0021306367125362158,
0.00915202870965004,
-0.017394674941897392,
-0.03694751486182213,
0.016406701877713203,
0.0022737837862223387,
-0.02248295769095421,
-0.04260648787021637,
0.0011119447881355882,
0.005138017237186432,
0.004933485761284828,
-0.06789391487836838,
-0.029286999255418777,
0.0040617091581225395,
-0.002143173711374402,
0.017096351832151413,
0.03247242048382759,
-0.050947338342666626,
-0.00476992828771472,
-0.010170972906053066,
0.012019232846796513,
0.017452940344810486,
-0.014155703596770763,
-0.04885328561067581,
-0.021442361176013947,
0.007985222153365612,
-0.021512562409043312,
0.02334538847208023,
0.025629576295614243,
0.02470579370856285,
-0.011747612617909908,
-0.003799085970968008,
0.03558160737156868,
-0.0753636434674263,
0.008832331746816635,
-0.043645597994327545,
0.05855643376708031,
-0.002019911538809538,
-0.012671154923737049,
0.0021942753810435534,
-0.009939884766936302,
-0.04856960102915764,
-0.02159343846142292,
0.0051518394611775875,
-0.015094500035047531,
-0.03980628028512001,
0.0359962098300457,
0.010931328870356083,
0.016601841896772385,
-0.01469856221228838,
0.020771285519003868,
-0.03408003970980644,
0.05477859452366829,
-0.0053219604305922985,
-0.009726434014737606,
-0.095109723508358,
0.016413304954767227,
0.008579565212130547,
-0.011924455873668194,
0.018501540645956993,
0.8449081778526306,
0.0020668108481913805,
0.002615253906697035,
0.03598034754395485,
-0.004176909103989601,
0.0001113547186832875,
-0.01960269920527935,
-0.00007501446089008823,
-0.0067983209155499935,
0.013937761075794697,
-0.013754076324403286,
0.008022424764931202,
-0.0019829769153147936,
0.006601892877370119,
0.014749208465218544,
-0.00960481259971857,
0.04994257166981697,
0.015861202031373978,
-0.022190436720848083,
0.00954051036387682,
0.005779611878097057,
-0.009417841210961342,
0.007019904907792807,
-0.04016929492354393,
0.005973437801003456,
-0.02052934467792511,
-0.1452932059764862,
-0.01108698919415474,
-7.276991818313437e-33,
0.019405953586101532,
-0.021238885819911957,
0.046943549066782,
0.029094841331243515,
0.015385151840746403,
0.026470310986042023,
-0.018006300553679466,
-0.01068338006734848,
-0.010272226296365261,
-0.04232952371239662,
-0.02866387739777565,
-0.028974656015634537,
0.028749210759997368,
-0.0487661138176918,
0.010113864205777645,
-0.026496397331357002,
0.011626631952822208,
0.03715891391038895,
-0.02283826470375061,
0.025554556399583817,
0.01756000891327858,
0.04318714141845703,
0.0031854542903602123,
0.04370381310582161,
0.019036179408431053,
0.03110928274691105,
-0.007781332824379206,
0.030882854014635086,
0.0017939723329618573,
-0.05137030780315399,
-0.050897836685180664,
0.0021279205102473497,
-0.002159873256459832,
-0.014081553556025028,
0.002904099179431796,
-0.05515643209218979,
-0.01246222946792841,
-0.021966084837913513,
-0.039317358285188675,
-0.06335073709487915,
-0.04718713462352753,
-0.010469278320670128,
-0.00399579294025898,
-0.0034164423123002052,
-0.023653587326407433,
-0.005636677145957947,
0.00009429697092855349,
-0.0004297900595702231,
0.03290219232439995,
0.02541135624051094,
0.023088417947292328,
0.026844406500458717,
-0.016233189031481743,
0.015999358147382736,
-0.03538044914603233,
0.03458701819181442,
0.013551576063036919,
0.027768636122345924,
-0.04699880629777908,
0.039287958294153214,
0.007268985267728567,
-0.008494511246681213,
-0.017682479694485664,
0.027430696412920952,
0.017530035227537155,
0.03262033313512802,
-0.006279065273702145,
-0.0015529519878327847,
0.016043782234191895,
0.021275220438838005,
-0.025658564642071724,
0.0452706515789032,
-0.009184611029922962,
-0.010445156134665012,
0.03686247020959854,
-0.027697904035449028,
0.004303753841668367,
-0.022088395431637764,
0.006570755969733,
0.025049962103366852,
-0.009135191328823566,
-0.01724199950695038,
0.00875905156135559,
-0.007929094135761261,
0.001225307467393577,
-0.015699410811066628,
0.016304338350892067,
-0.00016539050557184964,
0.02233671024441719,
0.025581099092960358,
0.042359672486782074,
0.020339544862508774,
0.0030788828153163195,
0.0013711892534047365,
-0.01676328293979168,
7.21421748124365e-33,
-0.018074369058012962,
-0.0027133245021104813,
0.02402155101299286,
0.011901597492396832,
0.05340046435594559,
0.0057607125490903854,
-0.0028168344870209694,
0.022086240351200104,
-0.03364475443959236,
0.019047463312745094,
-0.029304390773177147,
-0.008332638069987297,
0.019698195159435272,
0.011043095029890537,
0.029884150251746178,
-0.020446695387363434,
0.051488086581230164,
-0.018427180126309395,
0.0015261832159012556,
0.028961647301912308,
0.012714006006717682,
0.002469400642439723,
0.022858725860714912,
0.018665503710508347,
0.04991339519619942,
0.028972284868359566,
-0.01491149328649044,
-0.008815517649054527,
0.0008016775827854872,
0.002293247962370515,
0.007581867277622223,
-0.01433358434587717,
-0.02524465322494507,
-0.03667481616139412,
0.024803007021546364,
-0.01717488281428814,
-0.013939651660621166,
0.0005547387409023941,
0.0310063473880291,
-0.014779837802052498,
-0.027844471856951714,
-0.009868386201560497,
-0.03369884938001633,
0.06406986713409424,
0.049528248608112335,
0.0003180808562319726,
-0.011840050108730793,
0.030772322788834572,
-0.01771114207804203,
0.009196213446557522,
0.006620822940021753,
0.04987386614084244,
0.010836093686521053,
0.048737552016973495,
0.028545431792736053,
-0.039650190621614456,
-0.01154183130711317,
0.04338579997420311,
0.0009872084483504295,
0.0069204638712108135,
-0.016863888129591942,
-0.03174179792404175,
-0.027688348665833473,
0.03857529163360596,
-0.0075847008265554905,
-0.021410182118415833,
-0.02138914354145527,
0.016261039301753044,
-0.027370424941182137,
0.031754668802022934,
0.013981630094349384,
-0.0034796372056007385,
-0.034410517662763596,
0.0303996242582798,
0.045027267187833786,
-0.022249465808272362,
-0.020224543288350105,
-0.015707921236753464,
-0.031001854687929153,
0.024549273774027824,
0.033543672412633896,
0.021829983219504356,
-0.0019074463052675128,
0.0004425241786520928,
0.027562838047742844,
-0.01692201755940914,
-0.044247742742300034,
0.006398006342351437,
-0.012890437617897987,
0.014832875691354275,
-0.0068573798052966595,
-0.038566797971725464,
-0.014856192283332348,
0.03336731344461441,
-0.03539720177650452,
-1.2747775279819962e-8,
-0.013662733137607574,
0.03876766189932823,
-0.026077553629875183,
-0.007159625645726919,
0.03215818107128143,
0.03450047969818115,
-0.01627212204039097,
0.002769054379314184,
-0.0016484048683196306,
0.031011728569865227,
0.026057234033942223,
-0.0048843976110219955,
0.0015343762934207916,
0.016002219170331955,
0.004748239181935787,
-0.0684155747294426,
-0.012010695412755013,
-0.02392040193080902,
0.019860384985804558,
0.01710864156484604,
-0.004047708120197058,
0.033151544630527496,
-0.03938344866037369,
-0.0002923984720837325,
-0.014610960148274899,
-0.03498285263776779,
0.04260725900530815,
-0.02618352137506008,
0.020117372274398804,
-0.04237065091729164,
-0.007381030358374119,
-0.02047472633421421,
-0.014572981745004654,
0.0194429662078619,
-0.04380536079406738,
0.003125441027805209,
0.03043529763817787,
0.03888906165957451,
0.023249005898833275,
0.03664935380220413,
-0.012661276385188103,
0.016955595463514328,
-0.013520965352654457,
-0.02528281882405281,
-0.022428054362535477,
-0.020700378343462944,
-0.02452891133725643,
0.0005741210770793259,
0.04022146761417389,
-0.0438695028424263,
-0.015349014662206173,
-0.026197604835033417,
0.006352613214403391,
-0.027779055759310722,
0.021925654262304306,
-0.0012471986701712012,
-0.0023386471439152956,
0.0016928822733461857,
0.02096324972808361,
-0.00482563441619277,
0.016889194026589394,
-0.03298001363873482,
-0.03277737647294998,
-0.04228220507502556
] | neo4j-cypher-getting-the-hang-of-merge | https://markhneedham.com/blog/2013/12/10/neo4j-cypher-getting-the-hang-of-merge |
false | 2013-12-23 13:30:38 | Neo4j: Cypher - Using MERGE with schema indexes/constraints | [
"neo4j"
] | [
"neo4j"
] | A couple of weeks about I wrote about http://www.markhneedham.com/blog/2013/12/10/neo4j-cypher-getting-the-hang-of-merge/[cypher's MERGE function] and over the last few days I've been exploring how it works when used with http://docs.neo4j.org/chunked/milestone/query-schema-index.html[schema indexes] and http://docs.neo4j.org/chunked/milestone/query-constraints.html#constraints-create-uniqueness-constraint[unique constraints].
A common use case with Neo4j is to model users and events where an event could be a tweet, Facebook post or Pinterest pin. The model might look like this:
image::{{<siteurl>}}/uploads/2013/12/2013-12-22_20-14-04.png[2013 12 22 20 14 04,600]
We'd have a stream of (user, event) pairs and a cypher statement like the following to get the data into Neo4j:
[source,cypher]
----
MERGE (u:User {id: {userId}})
MERGE (e:Event {id: {eventId}})
MERGE (u)-[:CREATED_EVENT]->(m)
RETURN u, e
----
We'd like to ensure that we don't get duplicate users or events and http://docs.neo4j.org/chunked/stable/query-merge.html[MERGE provides the semantics to do this:</p>]
____
MERGE ensures that a pattern exists in the graph. Either the pattern already exists, or it needs to be created.
____
I wanted to see what would happen if I wrote a script that tried to create the same (user, event) pairs concurrently and ended up with the following: ~~~java import org.neo4j.cypher.javacompat.ExecutionEngine; import org.neo4j.cypher.javacompat.ExecutionResult; import org.neo4j.graphdb.GraphDatabaseService; import org.neo4j.graphdb.factory.GraphDatabaseFactory; import org.neo4j.helpers.collection.MapUtil; import org.neo4j.kernel.impl.util.FileUtils; \... public class MergeTime { public static void main(String[] args) throws Exception { String pathToDb = "/tmp/foo"; FileUtils.deleteRecursively(new File(pathToDb)); GraphDatabaseService db = new GraphDatabaseFactory().newEmbeddedDatabase( pathToDb ); final ExecutionEngine engine = new ExecutionEngine( db ); ExecutorService executor = Executors.newFixedThreadPool( 50 ); final Random random = new Random(); final int numberOfUsers = 10; final int numberOfEvents = 50; int iterations = 100; final List+++<Integer>+++userIds = generateIds( numberOfUsers ); final List+++<Integer>+++eventIds = generateIds( numberOfEvents ); List+++<Future>+++merges = new ArrayList<>( ); for ( int i = 0; i < iterations; i++ ) { Integer userId = userIds.get(random.nextInt(numberOfUsers)); Integer eventId = eventIds.get(random.nextInt(numberOfEvents)); merges.add(executor.submit(mergeAway( engine, userId, eventId) )); } for ( Future merge : merges ) { merge.get(); } executor.shutdown(); ExecutionResult userResult = engine.execute("MATCH (u:User) RETURN u.id as userId, COUNT(u) AS count ORDER BY userId"); System.out.println(userResult.dumpToString()); } private static Runnable mergeAway(final ExecutionEngine engine, final Integer userId, final Integer eventId) { return new Runnable() { @Override public void run() { try { ExecutionResult result = engine.execute( "MERGE (u:User {id: \{userId}})\n" + "MERGE (e:Event {id: \{eventId}})\n" + "MERGE (u)-[:CREATED_EVENT]\->(m)\n" + "RETURN u, e", MapUtil.map( "userId", userId, "eventId", eventId) ); // throw away for ( Map<String, Object> row : result ) { } } catch ( Exception e ) { e.printStackTrace(); } } }; } private static List+++<Integer>+++generateIds( int amount ) { List+++<Integer>+++ids = new ArrayList<>(); for ( int i = 1; i \<= amount; i++ ) { ids.add( i ); } return ids; } } ~~~
We create a maximum of 10 users and 50 events and then do 100 iterations of random (user, event) pairs with 50 concurrent threads. Afterwards we execute a query which checks how many users of each id have been created and get the following output: ~~~bash +----------------+ | userId | count | +----------------+ | 1 | 6 | | 2 | 3 | | 3 | 4 | | 4 | 8 | | 5 | 9 | | 6 | 7 | | 7 | 5 | | 8 | 3 | | 9 | 3 | | 10 | 2 | +----------------+ 10 rows ~~~
Next I added in a schema index on users and events to see if that would make any difference, https://groups.google.com/forum/#!topic/neo4j/ikRyqcQSBaA[something Javad Karabi recently asked on the user group]. ~~~cypher CREATE INDEX ON :User(id) CREATE INDEX ON :Event(id) ~~~
We wouldn't expect this to make a difference as schema indexes don't ensure uniqueness but I ran it anyway t and got the following output: ~~~bash +----------------+ | userId | count | +----------------+ | 1 | 2 | | 2 | 9 | | 3 | 7 | | 4 | 2 | | 5 | 3 | | 6 | 7 | | 7 | 7 | | 8 | 6 | | 9 | 5 | | 10 | 3 | +----------------+ 10 rows ~~~
If we want to ensure uniqueness of users and events we need to add a unique constraint on the id of both of these labels: ~~~cypher CREATE CONSTRAINT ON (user:User) ASSERT user.id IS UNIQUE CREATE CONSTRAINT ON (event:Event) ASSERT event.id IS UNIQUE ~~~
Now if we run the test we'll only end up with one of each user: ~~~bash +----------------+ | userId | count | +----------------+ | 1 | 1 | | 2 | 1 | | 3 | 1 | | 4 | 1 | | 5 | 1 | | 6 | 1 | | 7 | 1 | | 8 | 1 | | 9 | 1 | | 10 | 1 | +----------------+ 10 rows ~~~
We'd see the same type of result if we ran a similar query checking for the uniqueness of events.
As far as I can tell this duplication of nodes that we merge on only happens if you try and create the same node twice concurrently. Once the node has been created we can use MERGE with a non-unique index and a duplicate node won't get created.
All the code from this post is https://gist.github.com/mneedham/8096822[available as a gist] if you want to play around with it.+++</Integer>++++++</Integer>++++++</Future>++++++</Integer>++++++</Integer>+++ | null | null | [
0.012337139807641506,
-0.039914075285196304,
-0.024156298488378525,
0.044436417520046234,
0.09007623791694641,
-0.009945395402610302,
0.028473660349845886,
0.02311605028808117,
0.0013629593886435032,
-0.018539613112807274,
-0.009498637169599533,
-0.03013116680085659,
-0.07002805918455124,
0.019214460626244545,
-0.01002650335431099,
0.057418663054704666,
0.06044428050518036,
0.02041294053196907,
0.037317633628845215,
-0.024630600586533546,
0.007114152889698744,
0.04596526175737381,
-0.0001291243825107813,
0.041310884058475494,
0.04730277135968208,
0.002085641259327531,
-0.015709688887000084,
-0.009519808925688267,
-0.04651466757059097,
-0.00374970561824739,
0.046391796320676804,
0.004630567971616983,
0.014494429342448711,
-0.02878904901444912,
0.020622417330741882,
-0.012062468566000462,
-0.036889877170324326,
0.008045966736972332,
-0.01625632680952549,
-0.0156451016664505,
-0.05225776508450508,
0.03326033428311348,
-0.02878929302096367,
0.022290941327810287,
-0.03771679103374481,
-0.01566520892083645,
-0.04344216361641884,
0.03175202012062073,
-0.002113477559760213,
0.022254006937146187,
-0.1004931628704071,
0.007126465439796448,
0.0010007264791056514,
0.030059652402997017,
-0.0035967486910521984,
0.05770675092935562,
0.007517506368458271,
-0.0769842341542244,
0.06142411753535271,
-0.018894821405410767,
-0.0064754793420434,
-0.010978865437209606,
-0.012512785382568836,
0.018470104783773422,
-0.020975105464458466,
-0.04992001876235008,
0.007521591614931822,
0.055122505873441696,
-0.042824048548936844,
-0.019698230549693108,
0.020089538767933846,
0.025252632796764374,
0.002847471972927451,
0.016641847789287567,
-0.007063006516546011,
-0.04728696122765541,
-0.017600471153855324,
0.058009494096040726,
0.031081611290574074,
0.04332192987203598,
-0.022358529269695282,
0.007017295341938734,
0.009365472011268139,
0.026299145072698593,
0.010912405326962471,
-0.040174804627895355,
-0.024775225669145584,
-0.014077802188694477,
-0.036568865180015564,
0.04026593640446663,
0.005756790284067392,
-0.07255952805280685,
-0.011856723576784134,
0.001973398495465517,
-0.017862165346741676,
0.028336085379123688,
-0.0069817849434912205,
-0.00016992694872897118,
0.016521556302905083,
-0.01710760034620762,
-0.031080231070518494,
-0.010279132053256035,
-0.024371840059757233,
0.021180838346481323,
-0.06881983578205109,
-0.02465725503861904,
-0.04232359677553177,
-0.019680390134453773,
0.015727492049336433,
-0.037514958530664444,
-0.047680653631687164,
0.025958431884646416,
0.003930975683033466,
0.029701557010412216,
-0.06853336095809937,
0.0676870197057724,
0.025824060663580894,
-0.014254258014261723,
-0.02457331120967865,
0.021951401606202126,
0.032673005014657974,
0.02043045684695244,
0.0010660577099770308,
0.07051664590835571,
0.015128569677472115,
0.04519956558942795,
-0.01343432255089283,
0.04134449362754822,
-0.04477353394031525,
-0.08120579272508621,
-0.015292460098862648,
0.05506763234734535,
-0.004031226504594088,
-0.012338747270405293,
-0.00032049414585344493,
-0.027972394600510597,
-0.00642190407961607,
0.028470534831285477,
0.05757179111242294,
0.014716467820107937,
0.00371561455540359,
-0.05079233646392822,
0.031512364745140076,
0.02107170782983303,
0.03052246943116188,
0.021876119077205658,
-0.02690356783568859,
-0.031788088381290436,
-0.016979912295937538,
0.00786544568836689,
0.025258783251047134,
0.02861192263662815,
0.05624600872397423,
-0.015037218108773232,
0.009146679192781448,
0.12544730305671692,
0.01773456670343876,
-0.008985412307083607,
-0.014210636727511883,
0.027009395882487297,
0.03887009620666504,
0.020571080967783928,
-0.0010421850020065904,
0.05023576319217682,
-0.002155125606805086,
0.008627794682979584,
-0.0059638358652591705,
0.06615298986434937,
-0.02975892461836338,
-0.00765620544552803,
-0.02537505142390728,
-0.061468277126550674,
0.057026125490665436,
-0.05530281737446785,
-0.003711022436618805,
0.05285141244530678,
0.08643225580453873,
-0.0005536512471735477,
0.02554761804640293,
0.009709899313747883,
-0.07564112544059753,
0.04510708525776863,
0.010912318713963032,
0.011314178816974163,
0.00111956091132015,
0.01393077615648508,
0.0769452378153801,
0.04922059550881386,
-0.0004454188165254891,
0.023617034777998924,
-0.08988156914710999,
-0.06642002612352371,
-0.021011261269450188,
-0.015842091292142868,
0.06584580987691879,
-0.0472833625972271,
0.013972142711281776,
0.06557805836200714,
-0.017043350264430046,
0.03768105432391167,
0.026162439957261086,
-0.02449163980782032,
0.012395807541906834,
-0.04249715805053711,
-0.044970981776714325,
0.0626584067940712,
0.02316095679998398,
-0.04658282920718193,
-0.0469563864171505,
0.009803704917430878,
0.004670960828661919,
0.011951282620429993,
0.015168555080890656,
-0.0448373407125473,
0.04951728135347366,
0.04229040816426277,
0.016036108136177063,
-0.01846133917570114,
0.022104475647211075,
-0.019303953275084496,
0.04445317015051842,
0.015503916889429092,
-0.0010238212998956442,
0.007623716723173857,
0.016853688284754753,
0.10428520292043686,
0.038885634392499924,
-0.03164565563201904,
-0.05007389187812805,
0.03803665190935135,
0.014377815648913383,
-0.01982049271464348,
0.011114057153463364,
-0.014120527543127537,
-0.009193561039865017,
-0.010615875013172626,
-0.017897261306643486,
-0.01320025697350502,
-0.009168419986963272,
-0.02501014620065689,
0.02005094848573208,
0.061007943004369736,
-0.0392354391515255,
0.06194896250963211,
-0.016545729711651802,
-0.014361066743731499,
0.01732841692864895,
-0.039496049284935,
-0.031389959156513214,
0.027695994824171066,
0.025846678763628006,
-0.0029625478200614452,
0.06530395150184631,
-0.04642263799905777,
-0.01744518056511879,
-0.030693674460053444,
-0.014234327711164951,
0.03018716536462307,
0.04833463951945305,
0.06642237305641174,
0.0007587674190290272,
0.02793547324836254,
-0.03888874128460884,
0.00043972302228212357,
-0.025760473683476448,
-0.051185693591833115,
-0.049671854823827744,
-0.025863174349069595,
0.015167901292443275,
0.027552802115678787,
0.022314997389912605,
-0.016003591939806938,
0.01942797750234604,
-0.008037347346544266,
0.020445315167307854,
-0.008183186873793602,
0.005815204698592424,
-0.0195807833224535,
-0.013601674698293209,
-0.0372811034321785,
-0.03965512663125992,
0.05959121882915497,
-0.04272565618157387,
-0.048023853451013565,
-0.006172131281346083,
-0.06581390649080276,
0.05125251039862633,
-0.059671081602573395,
-0.020607713609933853,
0.015591132454574108,
0.03185046836733818,
0.06406322866678238,
0.0012206240789964795,
0.004368406720459461,
0.08958934992551804,
0.008574486710131168,
0.01112010981887579,
0.023021124303340912,
-0.00484581058844924,
0.05208178982138634,
-0.01617523841559887,
0.04438911750912666,
0.05329805612564087,
-0.020220797508955002,
0.0021205481607466936,
-0.03127947077155113,
0.010704761371016502,
-0.022462572902441025,
-0.2884422838687897,
0.04931938648223877,
-0.009960446506738663,
-0.058259885758161545,
0.00392082380130887,
-0.016892604529857635,
0.009138339199125767,
-0.021868888288736343,
-0.02948477678000927,
0.009506184607744217,
-0.013800214044749737,
-0.02821873314678669,
-0.012322203256189823,
0.0299824345856905,
0.013637429103255272,
-0.00738874077796936,
-0.012819159775972366,
-0.04122522473335266,
0.0031214668415486813,
0.043956927955150604,
-0.01832333393394947,
-0.056203924119472504,
0.003654161933809519,
0.01269093994051218,
0.02845735289156437,
0.01930508390069008,
-0.08136951923370361,
0.027382992208003998,
-0.05201307311654091,
-0.0217377170920372,
0.011988159269094467,
-0.0016003615455701947,
0.0138240996748209,
0.005671921651810408,
-0.03315558284521103,
-0.009730573743581772,
0.04676074907183647,
0.005457138177007437,
0.012686202302575111,
0.028673920780420303,
-0.056031957268714905,
-0.06195205822587013,
-0.019124677404761314,
-0.012963579967617989,
0.07040536403656006,
0.016817685216665268,
-0.0705733671784401,
-0.006595474202185869,
-0.03110685385763645,
0.04889417439699173,
-0.015490834601223469,
-0.022508999332785606,
-0.011928229592740536,
0.011215061880648136,
-0.0151950279250741,
-0.02544790878891945,
-0.013486955314874649,
-0.01130743883550167,
-0.03764481469988823,
-0.013727954588830471,
-0.021179618313908577,
-0.04690508544445038,
0.028179273009300232,
-0.052422404289245605,
-0.008087319321930408,
-0.05176829174160957,
-0.09546611458063126,
-0.0274871326982975,
0.059476010501384735,
0.022169264033436775,
-0.0008674503187648952,
0.03823285177350044,
-0.002736547961831093,
-0.12079025059938431,
-0.047977015376091,
-0.033447377383708954,
0.010974490083754063,
-0.002786527154967189,
-0.009964948520064354,
0.058599237352609634,
-0.05898243561387062,
-0.05016639456152916,
0.021740911528468132,
0.015941031277179718,
0.03884259983897209,
0.007673739921301603,
0.008881323970854282,
-0.018331561237573624,
-0.04120201617479324,
0.01388274971395731,
0.06795936077833176,
-0.02147619053721428,
-0.01243860274553299,
-0.006820871494710445,
0.01109855156391859,
0.03304871916770935,
0.01904989778995514,
0.008108377456665039,
0.0221981443464756,
0.02796504832804203,
0.046568289399147034,
-0.03626890107989311,
0.021748444065451622,
-0.02907516248524189,
-0.006188969127833843,
-0.0057512857019901276,
-0.03914391249418259,
0.024980759248137474,
0.028151219710707664,
0.034410446882247925,
-0.021222205832600594,
-0.01626652106642723,
0.023897504433989525,
-0.06321301311254501,
-0.0395427942276001,
-0.009161778725683689,
0.0018169754184782505,
0.034294433891773224,
0.02497929334640503,
-0.03590349480509758,
-0.06618037074804306,
0.02154296450316906,
0.0366290807723999,
-0.00750316446647048,
-0.06875105947256088,
-0.029216278344392776,
-0.053529225289821625,
-0.032439716160297394,
0.014272618107497692,
0.0213483739644289,
-0.02654467709362507,
0.042594064027071,
0.0172109417617321,
-0.027140900492668152,
0.0240042544901371,
-0.025782259181141853,
-0.029031021520495415,
-0.012278951704502106,
0.0011956216767430305,
-0.018383324146270752,
0.006860086694359779,
0.009788083843886852,
-0.01702464558184147,
0.039469946175813675,
0.035924214869737625,
0.012243587523698807,
0.004432558547705412,
0.007161799352616072,
0.018507134169340134,
0.011779988184571266,
0.001277411007322371,
-0.02850186452269554,
-0.0037221089005470276,
-0.03817525506019592,
-0.02983427420258522,
-0.004215705208480358,
0.04255995526909828,
-0.013419763185083866,
-0.007502876687794924,
-0.0440828800201416,
0.01939687691628933,
-0.05222341790795326,
0.0450211763381958,
-0.023076007142663002,
-0.011051690205931664,
0.03271079435944557,
-0.019974958151578903,
0.030372507870197296,
-0.05115088075399399,
-0.030377106741070747,
0.019164124503731728,
0.01319451816380024,
-0.04689834266901016,
0.00044259693822823465,
0.023107850924134254,
0.026277443394064903,
0.01957704685628414,
0.02783692441880703,
0.02287493832409382,
0.020987067371606827,
0.012043159455060959,
-0.01917383261024952,
0.007897448725998402,
0.012284033931791782,
0.036019161343574524,
0.03913826867938042,
-0.006895942613482475,
0.015375401824712753,
-0.04488234594464302,
-0.022704390808939934,
-0.013730701990425587,
0.004612409509718418,
-0.03453945368528366,
0.011678967624902725,
-0.028672566637396812,
-0.07126348465681076,
0.04396273195743561,
0.009143789298832417,
0.01401403546333313,
0.048285871744155884,
0.004580742213875055,
-0.003933607134968042,
-0.00784110277891159,
0.03030368499457836,
0.06239652633666992,
-0.04100474342703819,
-0.03455214947462082,
-0.0013668456813320518,
-0.013385612517595291,
-0.004481859505176544,
0.025456244125962257,
-0.04689951241016388,
-0.04163883253931999,
-0.008687464520335197,
0.03712264448404312,
-0.005381283350288868,
-0.03779929131269455,
-0.03243987634778023,
0.012078013271093369,
0.00758158415555954,
0.02999173477292061,
0.017968902364373207,
0.004686115309596062,
-0.0006745227728970349,
0.007487964350730181,
0.03979167714715004,
-0.026474688202142715,
0.00044917050399817526,
0.01631963439285755,
-0.0069524142891168594,
0.026919065043330193,
-0.03561230003833771,
0.013748032040894032,
0.026669884100556374,
-0.007512301206588745,
-0.022362802177667618,
-0.050282590091228485,
0.020620524883270264,
-0.030724596232175827,
0.04170876741409302,
0.0011656973510980606,
-0.007466799579560757,
-0.03622337430715561,
0.016559932380914688,
-0.03397176414728165,
0.01757698878645897,
-0.015290375798940659,
-0.008428923785686493,
0.0026600344572216272,
0.04498733580112457,
0.007621946278959513,
0.030514700338244438,
-0.01684659719467163,
-0.04099737107753754,
0.052564237266778946,
-0.011080469004809856,
-0.06007590517401695,
-0.04239421337842941,
-0.047987762838602066,
-0.0073580495081841946,
0.009449194185435772,
0.014356683008372784,
-0.051528289914131165,
0.054432034492492676,
0.043244246393442154,
0.01580972969532013,
0.01970040053129196,
-0.0002411220339126885,
0.03619327023625374,
-0.02604186348617077,
-0.018435141071677208,
-0.07619534432888031,
-0.017157994210720062,
0.05180827155709267,
-0.006516516208648682,
0.02020951174199581,
-0.027196871116757393,
-0.013915663585066795,
0.026662148535251617,
-0.04598487913608551,
-0.013529525138437748,
0.053913164883852005,
-0.006435256451368332,
0.027279438450932503,
0.02342626079916954,
-0.07529444247484207,
-0.005395971704274416,
0.03357981890439987,
-0.02150510996580124,
-0.02742571383714676,
-0.041927482932806015,
0.05073923617601395,
-0.010626861825585365,
0.0203067809343338,
-0.024334555491805077,
-0.03656737506389618,
0.07267487794160843,
0.001367952791042626,
0.033491045236587524,
0.06286424398422241,
-0.01699296198785305,
0.021178197115659714,
0.03220367431640625,
0.005911916960030794,
-0.007308893371373415,
0.059799350798130035,
-0.025089820846915245,
-0.05474745109677315,
0.04944944381713867,
0.016558589413762093,
-0.01574588008224964,
-0.023479824885725975,
0.06535118073225021,
0.005704089999198914,
-0.05724120885133743,
-0.04150727018713951,
0.021444035694003105,
-0.03162647783756256,
-0.007740785833448172,
-0.05629236251115799,
0.010070295073091984,
-0.044627606868743896,
0.052241142839193344,
-0.014805073849856853,
0.010368150658905506,
0.07258117198944092,
-0.005290668923407793,
0.023700108751654625,
-0.004713393747806549,
0.08115122467279434,
0.09550806879997253,
0.04854367673397064,
0.016005057841539383,
0.06617074459791183,
-0.00610583508387208,
-0.03842944651842117,
-0.0017801998183131218,
-0.032026562839746475,
-0.011056517250835896,
0.019473683089017868,
0.0044401404447853565,
0.05924351140856743,
-0.02329866774380207,
0.07324747741222382,
-0.010611359030008316,
-0.010438228957355022,
-0.02529378980398178,
0.0024474915117025375,
0.053431324660778046,
0.05756634473800659,
0.01768459379673004,
0.028766820207238197,
-0.030495762825012207,
-0.033281099051237106,
0.02929076924920082,
-0.014427016489207745,
-0.02752496860921383,
0.03207501024007797,
0.003758623730391264,
0.009618246927857399,
0.021396910771727562,
0.03573260083794594,
0.07256460934877396,
-0.02906373329460621,
0.0037574912421405315,
-0.0009198942570947111,
-0.013341836631298065,
0.0013518115738406777,
0.002290201373398304,
0.0011375222820788622,
-0.02372526191174984,
-0.021306930109858513,
-0.036809276789426804,
-0.004809502977877855,
-0.0231376513838768,
-0.04797520115971565,
0.02357417158782482,
-0.01767664961516857,
0.011785851791501045,
-0.005919031333178282,
-0.016994187608361244,
-0.030930353328585625,
-0.03957989439368248,
-0.03546125441789627,
-0.06816839426755905,
-0.07616578787565231,
0.007587573025375605,
0.010430945083498955,
0.011236201040446758,
-0.013572841882705688,
0.0039828005246818066,
-0.025653637945652008,
-0.01578376069664955,
0.051058538258075714,
-0.027314266189932823,
0.0032223849557340145,
0.0004928208654746413,
0.009703254327178001,
0.009343319572508335,
0.04160045087337494,
0.05082535743713379,
0.0036112924572080374,
0.017108812928199768,
-0.033635206520557404,
0.006200732197612524,
0.03760784864425659,
0.033683180809020996,
-0.02372163161635399,
-0.0871506780385971,
0.016633862629532814,
0.022016948089003563,
-0.04932045564055443,
-0.08474892377853394,
0.021869640797376633,
0.06259138882160187,
-0.00845111720263958,
0.031212205067276955,
-0.003535124473273754,
-0.02542656846344471,
-0.04090843349695206,
0.004883496090769768,
-0.010058075189590454,
-0.011058005504310131,
0.037289097905159,
-0.02693874202668667,
0.08330787718296051,
0.047005437314510345,
-0.022156015038490295,
-0.022441964596509933,
-0.01170291192829609,
0.0017787006217986345,
-0.009648406878113747,
-0.02864241786301136,
-0.033422380685806274,
-0.04096737876534462,
-0.09607984870672226,
-0.05960952863097191,
0.021136246621608734,
-0.02356647700071335,
-0.017078783363103867,
0.004920863546431065,
0.03736226260662079,
-0.03882474824786186,
0.027928950265049934,
-0.033210523426532745,
0.05003325268626213,
-0.01373389083892107,
-0.03566688299179077,
-0.03739834204316139,
-0.000020404837414389476,
-0.018186958506703377,
0.00645105168223381,
0.0036689883563667536,
-0.053999342024326324,
-0.008686461485922337,
-0.01968913897871971,
0.017070168629288673,
0.02109609916806221,
0.013954457826912403,
-0.0029498902149498463
] | [
-0.07953868806362152,
-0.02087133564054966,
-0.029090655967593193,
-0.004454857669770718,
0.039446186274290085,
-0.028405899181962013,
-0.017954036593437195,
0.017934445291757584,
0.04576960951089859,
-0.015222977846860886,
0.039219677448272705,
-0.011117017827928066,
0.015747571364045143,
-0.010337098501622677,
0.07357905805110931,
0.010188227519392967,
-0.07785525918006897,
-0.0466131865978241,
-0.03241922706365585,
0.0291622132062912,
-0.04804466664791107,
-0.027521219104528427,
-0.034669455140829086,
-0.0311250202357769,
0.0045441072434186935,
0.06569527834653854,
0.007421466056257486,
-0.04134219139814377,
0.009797286242246628,
-0.2036382555961609,
0.020183542743325233,
0.03633420169353485,
-0.008422113955020905,
-0.01812192052602768,
0.026388423517346382,
0.0016000389587134123,
0.04960818216204643,
0.004057992249727249,
0.02623393014073372,
0.05960797145962715,
0.038699254393577576,
0.021057400852441788,
-0.055246688425540924,
-0.015400555916130543,
0.044254954904317856,
0.03382241353392601,
-0.03347908705472946,
-0.0021140072494745255,
-0.05231151729822159,
0.04321480542421341,
-0.0054541598074138165,
-0.051183607429265976,
-0.010800795629620552,
-0.013286763802170753,
0.015300964005291462,
0.06542357802391052,
0.018838761374354362,
0.09477292746305466,
0.02118954062461853,
0.045093245804309845,
0.021612195298075676,
0.001537865842692554,
-0.10887360572814941,
0.0748506635427475,
0.017515411600470543,
-0.00704647321254015,
-0.050454698503017426,
-0.0020172318909317255,
-0.033642515540122986,
0.1023511216044426,
0.03768851235508919,
0.021061072126030922,
-0.02159302867949009,
0.08259368687868118,
-0.04144887253642082,
0.04594886302947998,
-0.0018499301513656974,
0.00237687723711133,
0.013771262019872665,
0.009941515512764454,
-0.08765192329883575,
0.023606080561876297,
-0.013891647569835186,
-0.016599755734205246,
-0.03765483945608139,
0.028642233461141586,
0.00490201823413372,
0.03713057562708855,
-0.027822336181998253,
0.029217317700386047,
0.002584142377600074,
0.01278138067573309,
0.059080660343170166,
0.020606208592653275,
-0.08372840285301208,
-0.008872514590620995,
-0.00029965414432808757,
0.006912183482199907,
0.0007612438057549298,
0.3773684501647949,
-0.007406990975141525,
0.01682475209236145,
0.03138626366853714,
0.06808984279632568,
-0.005114553030580282,
-0.01327588688582182,
-0.01565871201455593,
-0.06927753984928131,
0.03526251018047333,
-0.04634125903248787,
0.007245423272252083,
-0.0501147098839283,
0.050163306295871735,
-0.09958644211292267,
-0.005482237786054611,
0.014748014509677887,
0.04389817640185356,
0.019388370215892792,
-0.03210005164146423,
0.011806335300207138,
0.0037877866998314857,
0.03505386784672737,
0.03432774171233177,
0.012078017927706242,
0.017521658912301064,
0.028863511979579926,
0.021398957818746567,
0.044266801327466965,
0.03350086510181427,
0.006542722694575787,
0.06068434566259384,
0.020429542288184166,
-0.06082531437277794,
0.029053475707769394,
-0.03336501121520996,
-0.015328769572079182,
0.020686358213424683,
-0.036978110671043396,
-0.006342192180454731,
0.0032578723039478064,
0.00029930638265796006,
-0.0252692811191082,
0.04642669856548309,
-0.007767883129417896,
-0.03232091665267944,
0.15319834649562836,
-0.003776983357965946,
-0.03554171323776245,
-0.039000771939754486,
-0.028664270415902138,
-0.010012964718043804,
0.02857181802392006,
-0.006215876899659634,
-0.08201535046100616,
-0.005182038061320782,
0.0318625345826149,
0.06852497905492783,
0.00848202034831047,
-0.09357268363237381,
0.027506636455655098,
-0.01066688634455204,
-0.005543625447899103,
-0.04513007029891014,
0.0779440850019455,
0.059325091540813446,
-0.1536974459886551,
0.007284411694854498,
0.02090226672589779,
0.02758442610502243,
-0.06331674754619598,
0.008180405013263226,
-0.0024310979060828686,
-0.018345844000577927,
-0.041291918605566025,
0.06356830894947052,
0.013457292690873146,
-0.03693796694278717,
-0.036839988082647324,
0.06485641002655029,
0.012631344608962536,
0.003251847345381975,
-0.017331022769212723,
-0.041138891130685806,
-0.0007030114647932351,
-0.0744345411658287,
-0.08055170625448227,
-0.061301831156015396,
0.021765561774373055,
-0.012761415913701057,
-0.045603763312101364,
-0.025072898715734482,
0.015718204900622368,
-0.02601725235581398,
0.11383359134197235,
-0.04545649513602257,
-0.05124761536717415,
-0.042793553322553635,
-0.017998797819018364,
-0.03105027601122856,
-0.044670697301626205,
0.011844586580991745,
0.013976321555674076,
-0.01350641343742609,
0.0137668801471591,
-0.0519537627696991,
0.03100455366075039,
0.059649668633937836,
-0.03027895838022232,
0.040289632976055145,
0.01458720676600933,
-0.057116810232400894,
0.018067654222249985,
-0.026157954707741737,
0.017508529126644135,
0.014811553992331028,
-0.01787037029862404,
-0.0028363463934510946,
0.018714873120188713,
-0.004394479561597109,
0.04503976181149483,
-0.0341893807053566,
0.008229583501815796,
0.021539371460676193,
-0.34998199343681335,
-0.05040799081325531,
0.0014063690323382616,
-0.008095401339232922,
0.003964086063206196,
-0.01527825091034174,
0.013915247283875942,
-0.02878541871905327,
-0.028183599933981895,
0.0076309684664011,
0.07576872408390045,
-0.007882996462285519,
-0.04578082635998726,
-0.10072025656700134,
0.006135415285825729,
0.026771893724799156,
-0.012896089814603329,
-0.001371297286823392,
-0.02864135429263115,
0.011588279157876968,
-0.004329014103859663,
-0.02596977725625038,
-0.00047568819718435407,
-0.051537320017814636,
-0.006213418673723936,
-0.003965113777667284,
0.09086903929710388,
-0.007645749021321535,
0.020026085898280144,
-0.04792759567499161,
0.03161755949258804,
0.006488195154815912,
-0.022752920165657997,
-0.07074329257011414,
0.004793324042111635,
-0.009258855134248734,
0.012292219325900078,
0.01877748593688011,
-0.0031347644980996847,
0.0003848338092211634,
-0.03989068418741226,
-0.004315799102187157,
-0.02320091240108013,
-0.07311299443244934,
-0.007655597757548094,
0.028827901929616928,
-0.029595190659165382,
-0.03677484393119812,
0.025145700201392174,
0.05831084027886391,
0.011089402250945568,
0.016979558393359184,
0.01742212101817131,
0.01678360626101494,
0.018392425030469894,
-0.0198246780782938,
-0.055053822696208954,
-0.005104157142341137,
0.04058345779776573,
0.010553496889770031,
0.007480126805603504,
0.03640493378043175,
0.015987444669008255,
-0.0870031788945198,
0.045974887907505035,
-0.0006274647312238812,
-0.015726525336503983,
0.0067201219499111176,
0.02340548112988472,
-0.06885822862386703,
-0.025894125923514366,
0.11777081340551376,
0.011071591638028622,
0.021472938358783722,
0.044726066291332245,
0.041252460330724716,
-0.006070154253393412,
-0.01119441632181406,
0.042664024978876114,
0.001496623968705535,
0.026383019983768463,
-0.06397006660699844,
0.06470756977796555,
-0.02463698387145996,
-0.049037836492061615,
0.035510849207639694,
0.011672758497297764,
-0.03368872404098511,
0.038934290409088135,
-0.002527780830860138,
-0.017412763088941574,
0.005362958647310734,
-0.008378719910979271,
-0.027682438492774963,
0.05300579220056534,
-0.03320464491844177,
-0.2728448808193207,
0.038777001202106476,
0.01753002405166626,
0.044061750173568726,
0.03885437548160553,
0.03709711134433746,
0.027273965999484062,
-0.025109581649303436,
-0.005332724191248417,
-0.00013712883810512722,
0.03522200882434845,
0.0590953454375267,
-0.008907605893909931,
-0.009626529179513454,
0.0042716460302472115,
0.040568407624959946,
0.035582318902015686,
0.01166581641882658,
0.03056446462869644,
-0.02253415249288082,
0.0570000521838665,
-0.018264520913362503,
0.1874459832906723,
0.025475021451711655,
0.015393376350402832,
0.058632005006074905,
-0.03180227056145668,
-0.012300039641559124,
0.04339967668056488,
0.0075617507100105286,
-0.036949820816516876,
0.04929576441645622,
0.01614985056221485,
0.038585495203733444,
0.0030321336816996336,
-0.028930585831403732,
0.02047679014503956,
0.05690327286720276,
0.020067386329174042,
-0.04864051565527916,
-0.009195798076689243,
0.005786612164229155,
-0.03142322227358818,
0.014549956656992435,
0.07749731093645096,
-0.03671593219041824,
-0.041249699890613556,
-0.013860749080777168,
-0.0691893994808197,
-0.019550511613488197,
-0.035276222974061966,
-0.0536954291164875,
-0.018431281670928,
-0.030932538211345673,
-0.021434912458062172,
0.05648130178451538,
-0.006791096180677414,
0.005158481188118458,
0.01980387046933174,
0.03078121319413185,
-0.003956321161240339,
-0.013439789414405823,
0.09161164611577988,
-0.023841097950935364,
0.0020216668490320444
] | [
0.040679216384887695,
0.03341936692595482,
0.006782373413443565,
0.02658216655254364,
-0.004779129754751921,
-0.007098237052559853,
-0.03438504412770271,
0.011304342187941074,
-0.028584441170096397,
-0.0006993518909439445,
-0.005284316837787628,
0.0276284608989954,
0.052421268075704575,
0.006182786077260971,
0.006151087582111359,
0.01268740464001894,
-0.022402320057153702,
0.023869631811976433,
0.010439523495733738,
-0.03970259055495262,
-0.04041903465986252,
-0.03486010804772377,
0.022965172305703163,
0.022395730018615723,
-0.006879938300698996,
0.008932682685554028,
-0.013900346122682095,
0.002286180853843689,
0.028864474967122078,
-0.0800662711262703,
-0.015385566279292107,
-0.024849075824022293,
-0.01564880646765232,
0.009549202397465706,
-0.02922791987657547,
0.025496695190668106,
0.038075078278779984,
-0.008728642016649246,
-0.0027135296259075403,
0.009326728992164135,
0.025493012741208076,
-0.023716747760772705,
-0.06076570600271225,
0.00737098278477788,
0.0007266546599566936,
-0.030821694061160088,
-0.04088902100920677,
-0.007164862938225269,
-0.006816816981881857,
-0.0004280604189261794,
-0.047823842614889145,
-0.024708200246095657,
0.01268282625824213,
0.0068586766719818115,
0.03165821358561516,
0.01629788801074028,
-0.04713089391589165,
-0.026280682533979416,
0.015887975692749023,
-0.019871478900313377,
0.03204754367470741,
-0.012107152491807938,
-0.06933892518281937,
-0.01916823722422123,
0.004126715939491987,
-0.016679314896464348,
0.0076659685000777245,
0.017885534092783928,
0.023637691512703896,
0.005799777340143919,
-0.00652413722127676,
0.03698205575346947,
-0.0720992311835289,
-0.014620515517890453,
-0.024203237146139145,
0.05858985707163811,
0.04017866775393486,
-0.01934262365102768,
-0.026769649237394333,
0.010301163420081139,
-0.0383429192006588,
0.0019086420070379972,
-0.0006644753157161176,
-0.0176249947398901,
-0.04314660280942917,
0.010349596850574017,
-0.021013667806982994,
-0.0108530567958951,
0.0005774376913905144,
0.014385947957634926,
-0.0432608425617218,
0.036660872399806976,
-0.007191759999841452,
-0.017611172050237656,
-0.0876564159989357,
0.013045309111475945,
0.01291443221271038,
-0.014221214689314365,
0.012384354136884212,
0.8123936057090759,
0.011046047322452068,
-0.0035755822900682688,
0.000014137202015263028,
0.0020465259440243244,
0.032123319804668427,
0.0004983233520761132,
-0.011606036685407162,
0.008836821652948856,
-0.015401538461446762,
0.016411764547228813,
-0.021107448264956474,
0.007152897771447897,
0.017137402668595314,
0.015364664606750011,
-0.007001974154263735,
0.03939250111579895,
-0.004410094115883112,
-0.017077377066016197,
-0.0037849314976483583,
0.011121469549834728,
0.010542182251811028,
0.03046390973031521,
-0.003898178692907095,
0.028318487107753754,
-0.007350737228989601,
-0.15807129442691803,
-0.023324379697442055,
-7.543561610985284e-33,
0.05202281475067139,
-0.0036889289040118456,
0.04749460518360138,
0.0241153035312891,
0.01089389342814684,
0.04318922013044357,
-0.007590805646032095,
-0.03979068249464035,
-0.02800714038312435,
-0.03439559414982796,
-0.043557293713092804,
-0.016852060332894325,
0.018916349858045578,
-0.029295677319169044,
0.01575225405395031,
-0.03764453902840614,
0.005060008727014065,
0.024481570348143578,
-0.009795846417546272,
0.012672941200435162,
-0.0037566532846540213,
0.03896534442901611,
-0.040082767605781555,
0.059713829308748245,
0.024646656587719917,
0.05208303779363632,
-0.016979528591036797,
0.018158575519919395,
-0.01598096266388893,
-0.04983552545309067,
-0.06560489535331726,
0.032447054982185364,
0.014209020882844925,
-0.019498523324728012,
0.0061854650266468525,
-0.07813984900712967,
-0.01762196235358715,
0.002175994450226426,
-0.03487216681241989,
-0.08779411762952805,
-0.032212261110544205,
-0.013673178851604462,
-0.014838560484349728,
-0.053388673812150955,
-0.044289905577898026,
-0.011045957915484905,
-0.007276240270584822,
-0.010599556379020214,
0.021907655522227287,
-0.018775273114442825,
0.027956295758485794,
0.03932339325547218,
0.01229653786867857,
-0.001933857798576355,
-0.042710836976766586,
-0.005746099166572094,
0.009038278833031654,
-0.005236287135630846,
-0.009503418579697609,
0.013581193052232265,
0.03602294623851776,
-0.02199242264032364,
-0.03526176139712334,
0.03458556905388832,
0.030684655532240868,
0.015604292973876,
-0.018344178795814514,
0.01166627835482359,
-0.002575148595497012,
0.0364321731030941,
-0.04947982355952263,
0.06854591518640518,
-0.020889898762106895,
-0.023842424154281616,
0.043610066175460815,
-0.07557998597621918,
-0.0008396010962314904,
-0.015553119592368603,
0.001931703183799982,
0.05200819671154022,
-0.04187599942088127,
-0.051578424870967865,
0.021642154082655907,
-0.028224056586623192,
0.005734107922762632,
-0.031237319111824036,
0.03314681351184845,
0.02131347917020321,
0.01860186830163002,
0.024408679455518723,
0.04357875511050224,
0.02690889686346054,
-0.0032661953009665012,
-0.015531186945736408,
0.0015362704871222377,
6.61463822050751e-33,
-0.01649172231554985,
0.0007830499089322984,
-0.00847617257386446,
0.012194002978503704,
0.05152369663119316,
0.010188097134232521,
-0.025834638625383377,
0.003741718828678131,
-0.057223130017519,
0.028194326907396317,
-0.0017728481907397509,
-0.014996308833360672,
-0.017681704834103584,
0.022815700620412827,
0.03959003463387489,
-0.008292530663311481,
0.023406922817230225,
-0.036621589213609695,
-0.0020565479062497616,
0.007027775514870882,
-0.003720519132912159,
0.0030524544417858124,
-0.011816740967333317,
0.013972439803183079,
0.04882362484931946,
0.006331350188702345,
0.011663684621453285,
-0.002171439118683338,
-0.011162994429469109,
-0.004409498069435358,
-0.0074098315089941025,
-0.05155416205525398,
-0.010119353421032429,
-0.02373385988175869,
0.044960424304008484,
-0.0056123798713088036,
-0.019497323781251907,
-0.019299708306789398,
0.034287046641111374,
-0.016688736155629158,
0.010042663663625717,
0.008029176853597164,
-0.031807057559490204,
0.08736161887645721,
0.031580280512571335,
0.03665449470281601,
-0.0050762421451509,
0.025983134284615517,
0.00009880465950118378,
0.017149515450000763,
0.00350862555205822,
0.03531722351908684,
0.017911100760102272,
0.045097868889570236,
0.02258615382015705,
-0.039036113768815994,
0.013699483126401901,
0.03210483491420746,
-0.0068116518668830395,
-0.004977835342288017,
-0.02121061645448208,
-0.02531021647155285,
-0.03249797224998474,
0.039860546588897705,
-0.0015573189593851566,
-0.0494641475379467,
-0.027004139497876167,
0.01854553073644638,
-0.025495192036032677,
0.011843237094581127,
0.01283311378210783,
0.03519325703382492,
-0.018335318192839622,
0.04116826131939888,
0.049664631485939026,
-0.030072761699557304,
-0.02514958195388317,
0.0021708100102841854,
-0.0431801937520504,
0.0003679926157929003,
0.010195549577474594,
0.03471703082323074,
0.02307196706533432,
0.008366288617253304,
-0.0013758522691205144,
0.003320795949548483,
-0.01431252621114254,
0.0323665514588356,
-0.04616658389568329,
0.00985032320022583,
0.016487477347254753,
-0.0329439714550972,
-0.03669099509716034,
0.06526301056146622,
-0.010839187540113926,
-1.2819671546537847e-8,
-0.04135622829198837,
0.033601485192775726,
-0.038137223571538925,
-0.034849613904953,
0.00958520732820034,
0.0441768541932106,
-0.002023885492235422,
0.00024229484552051872,
-0.0019101336365565658,
0.013533009216189384,
0.028525423258543015,
-0.004029122181236744,
-0.010449796915054321,
0.0011991512728855014,
0.011204135604202747,
-0.0789666399359703,
-0.032927948981523514,
-0.0077919503673911095,
0.02648424170911312,
0.02827228419482708,
-0.004140162840485573,
0.032787758857011795,
-0.035304952412843704,
0.006240528076887131,
-0.009828961454331875,
-0.02780589833855629,
0.041686683893203735,
-0.009476441890001297,
0.00953494943678379,
-0.046569693833589554,
-0.005753862671554089,
-0.02880670502781868,
-0.003013055305927992,
0.031498074531555176,
-0.03900575637817383,
-0.019821273162961006,
0.023235255852341652,
0.0382581427693367,
0.019200345501303673,
0.026279475539922714,
0.020500769838690758,
0.00773460790514946,
-0.007610747124999762,
-0.028087224811315536,
-0.027266090735793114,
0.019585009664297104,
-0.03233284875750542,
0.007566404528915882,
0.06085091829299927,
-0.009185855276882648,
-0.0547059141099453,
-0.0014762850478291512,
0.0316975936293602,
0.0035433354787528515,
0.05833697319030762,
-0.015812132507562637,
0.0011141466675326228,
-0.010148278437554836,
0.025510791689157486,
-0.02477853000164032,
0.04394806921482086,
0.006877751089632511,
-0.03895583003759384,
-0.018335415050387383
] | neo4j-cypher-using-merge-with-schema-indexesconstraints | https://markhneedham.com/blog/2013/12/23/neo4j-cypher-using-merge-with-schema-indexesconstraints |
false | 2014-03-03 16:34:18 | Neo4j 2.1.0-M01: LOAD CSV with Rik Van Bruggen's Tube Graph | [
"neo4j"
] | [
"neo4j"
] | Last week we released http://blog.neo4j.org/2014/02/neo4j-210-milestone-1-release-import-and-dense-nodes.html[the first milestone of Neo4j 2.1.0] and one its features is a new function in cypher - http://docs.neo4j.org/chunked/milestone/import-importing-data-from-a-single-csv-file.html[LOAD CSV] - which aims to make it easier to get data into Neo4j.
I thought I'd give it a try to import the London tube graph - something that my colleague Rik http://blog.bruggen.com/2013/11/meet-this-tubular-graph.html[wrote about a few months ago].
I'm using the same data set as Rik but I had to tweak it a bit as there were naming differences when describing the connection from Kennington to Waterloo and Kennington to Oval. My https://github.com/mneedham/tube/blob/master/runtimes.csv[updated version of the dataset is on github].
With the help of Alistair we now have a variation on the original which takes into account the various platforms at stations and the waiting time of a train on the platform. This will also enable us to add in things like getting from the ticket hall to the various platforms more easily.
The model looks like this:
image::{{<siteurl>}}/uploads/2014/03/2014-03-03_16-15-58.png[2014 03 03 16 15 58,600]
Now we need to create a graph and the first step is to put an index on station name as we'll be looking that up quite frequently in the queries that follow:
[source,cypher]
----
CREATE INDEX on :Station(stationName)
----
Now that's in place we can make use of LOAD CSV. The data is very de-normalised which works out quite nicely for us and we end up with the following script:
[source,cypher]
----
LOAD CSV FROM "file:/Users/markhneedham/code/tube/runtimes.csv" AS csvLine
WITH csvLine[0] AS lineName,
csvLine[1] AS direction,
csvLine[2] AS startStationName,
csvLine[3] AS destinationStationName,
toFloat(csvLine[4]) AS distance,
toFloat(csvLine[5]) AS runningTime
MERGE (start:Station { stationName: startStationName})
MERGE (destination:Station { stationName: destinationStationName})
MERGE (line:Line { lineName: lineName})
MERGE (line) - [:DIRECTION] -> (dir:Direction { direction: direction})
CREATE (inPlatform:InPlatform {name: "In: " + destinationStationName + " " + lineName + " " + direction})
CREATE (outPlatform:OutPlatform {name: "Out: " + startStationName + " " + lineName + " " + direction})
CREATE (inPlatform) - [:AT] -> (destination)
CREATE (outPlatform) - [:AT] -> (start)
CREATE (inPlatform) - [:ON] -> (dir)
CREATE (outPlatform) - [:ON] -> (dir)
CREATE (outPlatform) - [r:TRAIN {distance: distance, runningTime: runningTime}] -> (inPlatform)
----
This file doesn't contain any headers so we'll simulate them by using a WITH clause so that we don't have index lookups all over the place. In this case we're pointing to a file on the local file system but we could choose to point to a CSV file on the web if we wanted to.
Since stations, lines and directions appear frequently we'll use MERGE to ensure they don't get duplicated.
After that we have a post processing step to connect the 'in' and 'out' platforms shown in the diagram.
[source,cypher]
----
MATCH (station:Station) <-[:AT]- (platformIn:InPlatform),
(station:Station) <-[:AT]- (platformOut:OutPlatform),
(direction:Direction) <-[:ON]- (platformIn:InPlatform),
(direction:Direction) <-[:ON]- (platformOut:OutPlatform)
CREATE (platformIn) -[:WAIT {runningTime: 0.5}]-> (platformOut)
----
After running a few queries on the graph I realised that it wasn't possible to combine some journies through Kennington and Euston so I had to add some relationships in there as well:
[source,cypher]
----
// link the Euston stations
MATCH (euston:Station {stationName: "EUSTON"})<-[:AT]-(eustonIn:InPlatform)
MATCH (eustonCx:Station {stationName: "EUSTON (CX)"})<-[:AT]-(eustonCxIn:InPlatform)
MATCH (eustonCity:Station {stationName: "EUSTON (CITY)"})<-[:AT]-(eustonCityIn:InPlatform)
CREATE UNIQUE (eustonIn)-[:WAIT {runningTime: 0.0}]->(eustonCxIn)
CREATE UNIQUE (eustonIn)-[:WAIT {runningTime: 0.0}]->(eustonCityIn)
CREATE UNIQUE (eustonCxIn)-[:WAIT {runningTime: 0.0}]->(eustonCityIn)
// link the Kennington stations
MATCH (kenningtonCx:Station {stationName: "KENNINGTON (CX)"})<-[:AT]-(kenningtonCxIn:InPlatform)
MATCH (kenningtonCity:Station {stationName: "KENNINGTON (CITY)"})<-[:AT]-(kenningtonCityIn:InPlatform)
CREATE UNIQUE (kenningtonCxIn)-[:WAIT {runningTime: 0.0}]->(kenningtonCityIn)
----
I've been https://github.com/mneedham/tube/blob/master/src/main/java/tube/TubeImporter.java[playing around with the A* algorithm] to find the quickest route between stations based on the distances between stations.
The next step is to put a timetable graph alongside this so we can do quickest routes at certain parts of the day and the next step after that will be to take delays into account.
If you've got some data you want to get into the graph give LOAD CSV a try and https://groups.google.com/forum/#!topic/neo4j/wePBQ6YUGtw[let us know how you get on], the cypher team are keen to get feedback on this. | null | null | [
0.01158972829580307,
-0.02957422100007534,
0.00647061737254262,
0.0279197059571743,
0.096290722489357,
0.007760945241898298,
0.025215495377779007,
0.037851959466934204,
0.03304419666528702,
-0.00850609876215458,
-0.00022378706489689648,
-0.03243986889719963,
-0.05565152317285538,
0.04016958177089691,
-0.00010761766316136345,
0.05670970305800438,
0.07442491501569748,
0.009212561883032322,
0.021596001461148262,
-0.009777639992535114,
0.026899131014943123,
0.05252394452691078,
0.009888936765491962,
0.03934960812330246,
0.017380425706505775,
-0.02299443818628788,
-0.006067254114896059,
-0.010031343437731266,
-0.046662431210279465,
-0.006085599306970835,
0.0506863035261631,
-0.006561167538166046,
0.03669833764433861,
-0.009629706852138042,
0.03456805646419525,
-0.0038659959100186825,
-0.04661915823817253,
0.0005106425960548222,
-0.0017249075463041663,
-0.021996697410941124,
-0.06267283111810684,
0.04305673763155937,
-0.022772669792175293,
0.013443314470350742,
-0.059049464762210846,
0.0030453887302428484,
-0.028149548918008804,
0.02917386405169964,
0.02325974777340889,
0.012385808862745762,
-0.07520274817943573,
0.02003643661737442,
-0.000841706816572696,
0.00031035859137773514,
-0.009181521832942963,
0.03903542086482048,
0.006702983286231756,
-0.07290199398994446,
0.048053495585918427,
-0.013729090802371502,
0.0054833171889185905,
-0.013045480474829674,
0.001652172184549272,
0.024815993383526802,
0.008177141658961773,
-0.06754971295595169,
-0.017929483205080032,
0.056655820459127426,
-0.03532883897423744,
-0.026971926912665367,
0.01968049257993698,
0.020514940842986107,
-0.006815983448177576,
-0.003832775866612792,
-0.0031397673301398754,
-0.056212976574897766,
-0.0017584188608452678,
0.05228111147880554,
0.022912899032235146,
0.06370055675506592,
-0.021259019151329994,
0.01896723546087742,
0.0037248937878757715,
0.02685418911278248,
0.007352392189204693,
-0.03561455383896828,
-0.02835487388074398,
-0.02168026752769947,
-0.06337135285139084,
0.05618582293391228,
0.02037186548113823,
-0.06306388974189758,
0.01084837131202221,
-0.00272572529502213,
-0.00951479747891426,
0.014124213717877865,
-0.00908090453594923,
0.014733674935996532,
0.02366465888917446,
-0.03134770691394806,
-0.03658461198210716,
-0.01896708831191063,
-0.0057302857749164104,
0.010844865813851357,
-0.07397682219743729,
-0.03215226158499718,
-0.02977909706532955,
-0.02321065217256546,
0.006184695288538933,
-0.01930759847164154,
-0.01376690436154604,
-0.00043741989065892994,
-0.027699559926986694,
0.02524479106068611,
-0.07956229895353317,
0.04988911747932434,
0.02081342786550522,
-0.0345107801258564,
-0.0321788527071476,
0.0038036855403333902,
0.043993983417749405,
0.0287033561617136,
0.0010109724244102836,
0.06396327167749405,
-0.012876121327280998,
0.044042348861694336,
0.010761313140392303,
0.044691238552331924,
-0.009127709083259106,
-0.06462331861257553,
-0.02210232801735401,
0.0769093707203865,
-0.013681459240615368,
0.0018467179033905268,
-0.011338542215526104,
-0.04396147280931473,
-0.008735212497413158,
0.013222737237811089,
0.05861011892557144,
0.030800824984908104,
0.015649136155843735,
-0.05238979309797287,
0.0399535708129406,
0.013516038656234741,
0.02059817872941494,
0.01569281332194805,
-0.030901197344064713,
-0.04554706811904907,
-0.03212622553110123,
-0.00486711785197258,
0.013832202181220055,
0.039175838232040405,
0.049965471029281616,
-0.01666594296693802,
0.018009411171078682,
0.1124667078256607,
0.03638570010662079,
0.007946469821035862,
-0.029648054391145706,
0.022344153374433517,
0.03861219808459282,
0.042144775390625,
0.02479476109147072,
0.04619454964995384,
-0.015517746098339558,
-0.020886411890387535,
-0.008901257999241352,
0.056229427456855774,
-0.01036965660750866,
-0.000875196186825633,
-0.0258688535541296,
-0.057169001549482346,
0.07037211954593658,
-0.033485136926174164,
-0.004090199247002602,
0.055040400475263596,
0.07688769698143005,
0.011402346193790436,
0.017095478251576424,
0.0030254048760980368,
-0.07130640745162964,
0.043682120740413666,
0.015439356677234173,
0.021727878600358963,
0.011926544830203056,
0.004331148229539394,
0.0679415836930275,
0.03014541044831276,
-0.00370858539827168,
0.02609066665172577,
-0.0662260353565216,
-0.0657062828540802,
-0.03743378818035126,
-0.018859289586544037,
0.05420124903321266,
-0.028309788554906845,
0.038366060703992844,
0.04384508356451988,
-0.00830265786498785,
0.04237108305096626,
0.03425430878996849,
-0.011880234815180302,
0.022809019312262535,
-0.055814724415540695,
-0.05719601362943649,
0.050988126546144485,
0.022837257012724876,
-0.05056513473391533,
-0.046188559383153915,
0.017932532355189323,
-0.028469514101743698,
0.008103007450699806,
0.044299859553575516,
-0.022526325657963753,
0.046294718980789185,
0.028191186487674713,
0.03909256309270859,
-0.009723744355142117,
0.01073372457176447,
-0.04219549521803856,
0.03856963291764259,
0.010391660034656525,
-0.023938501253724098,
-0.009279375895857811,
-0.006772734224796295,
0.10574409365653992,
0.060026928782463074,
-0.007402576971799135,
-0.053138453513383865,
0.02805355191230774,
0.030418626964092255,
-0.02546835131943226,
0.010333038866519928,
-0.016017330810427666,
-0.0068169147707521915,
-0.015258347615599632,
-0.029416199773550034,
-0.024766771122813225,
-0.011624754406511784,
-0.035921916365623474,
0.015277216210961342,
0.05291108414530754,
-0.010064775124192238,
0.04533084109425545,
0.011148354969918728,
-0.012363404966890812,
0.0119444215670228,
-0.050489261746406555,
-0.07105731219053268,
0.010508468374609947,
0.019157838076353073,
0.0013814818812534213,
0.05341310426592827,
-0.020508898422122,
-0.023049352690577507,
-0.017349500209093094,
-0.020254436880350113,
0.031430479139089584,
0.03682464361190796,
0.08421973139047623,
0.013830005191266537,
0.03995520994067192,
-0.048799410462379456,
0.011627289466559887,
-0.010921403765678406,
-0.04131795093417168,
-0.050586942583322525,
-0.05886586755514145,
0.047065120190382004,
0.014365789480507374,
0.022255459800362587,
-0.020602526143193245,
0.021253837272524834,
0.005984530318528414,
0.031166303902864456,
-0.01596238650381565,
0.025999518111348152,
0.015549016185104847,
-0.0020851732697337866,
-0.038982849568128586,
-0.05146132409572601,
0.05956178903579712,
-0.052775729447603226,
-0.016257496550679207,
-0.0037559771444648504,
-0.05991451069712639,
0.05492677539587021,
-0.06365301460027695,
-0.01880747079849243,
-0.015402024611830711,
0.027491575106978416,
0.054546765983104706,
0.010413195006549358,
-0.005537801887840033,
0.06932781636714935,
0.024586601182818413,
0.012421212159097195,
0.005224978551268578,
-0.004123042803257704,
0.06518145650625229,
-0.014375786297023296,
0.027953770011663437,
0.04282646253705025,
-0.014543464407324791,
-0.009381547570228577,
-0.021107396110892296,
0.002508991165086627,
-0.032298676669597626,
-0.29107847809791565,
0.05041022226214409,
-0.023462101817131042,
-0.06208617240190506,
0.012588143348693848,
-0.03456529974937439,
-0.015596815384924412,
-0.026159215718507767,
-0.03916122764348984,
0.0048568663187325,
-0.016678523272275925,
-0.02480020932853222,
-0.03231382742524147,
0.027239980176091194,
0.015912242233753204,
0.023619644343852997,
-0.0022414177656173706,
-0.05668286234140396,
-0.0014835820766165853,
0.03662066534161568,
-0.005977874621748924,
-0.03070133738219738,
-0.008722550235688686,
0.033536363393068314,
0.011419103480875492,
0.04193738102912903,
-0.099512480199337,
0.03836639225482941,
-0.06018707528710365,
-0.026206551119685173,
0.0065288967452943325,
-0.030703766271471977,
0.012995488941669464,
-0.004743295256048441,
-0.018053416162729263,
-0.01945875957608223,
0.04008125513792038,
0.021975025534629822,
0.0109630785882473,
-0.007585224695503712,
-0.045594703406095505,
-0.039465371519327164,
-0.01124623790383339,
-0.010698771104216576,
0.0839797630906105,
-0.004921418614685535,
-0.0779150053858757,
0.003242681035771966,
-0.02664605714380741,
0.06080946698784828,
-0.029500598087906837,
-0.019228043034672737,
-0.007401620969176292,
0.010208853520452976,
-0.02812112122774124,
-0.02410043403506279,
-0.021219011396169662,
-0.01930086314678192,
-0.040582459419965744,
-0.03424825146794319,
-0.009255685843527317,
-0.039266835898160934,
0.013883436098694801,
-0.05756872892379761,
-0.019560527056455612,
-0.050304315984249115,
-0.08654146641492844,
-0.03370240703225136,
0.05465683713555336,
0.02252517081797123,
-0.019836880266666412,
0.03383084014058113,
-0.0015006248140707612,
-0.10243120789527893,
-0.03864416107535362,
-0.03326287493109703,
-0.005629145074635744,
0.01003266591578722,
-0.0018263132078573108,
0.062333330512046814,
-0.051661405712366104,
-0.06373395770788193,
0.022721733897924423,
0.002460222225636244,
0.00735121127218008,
-0.0008228165679611266,
0.018040265887975693,
-0.012432433664798737,
-0.03422011062502861,
-0.0058144195936620235,
0.0489155538380146,
-0.04220223426818848,
-0.010082133114337921,
0.0006950103561393917,
-0.014281965792179108,
0.016977129504084587,
0.004239308647811413,
0.007913376204669476,
0.02023661695420742,
0.055580075830221176,
0.028682781383395195,
-0.031998198479413986,
0.015095684677362442,
-0.025939147919416428,
-0.02960200048983097,
-0.017039574682712555,
-0.036590591073036194,
0.0105238426476717,
0.038533881306648254,
0.029125062748789787,
-0.005067079793661833,
-0.03895014896988869,
0.015129449777305126,
-0.06002998724579811,
-0.02855950966477394,
0.0009107309160754085,
0.02441518008708954,
0.020289435982704163,
0.045581426471471786,
-0.014268352650105953,
-0.05060422420501709,
0.022186605259776115,
0.02384330704808235,
0.003266948973760009,
-0.0588197223842144,
-0.028157930821180344,
-0.014282739721238613,
-0.028968824073672295,
0.00990813784301281,
0.01441393792629242,
-0.04863669350743294,
0.030604733154177666,
0.010152041912078857,
-0.040800098329782486,
0.04032227024435997,
-0.023749804124236107,
-0.04385899379849434,
-0.03705841302871704,
0.028007851913571358,
0.0012742761755362153,
-0.02424641139805317,
0.01805812679231167,
-0.006369258742779493,
0.03722337260842323,
0.04981838911771774,
0.015701793134212494,
0.02400159277021885,
0.008480556309223175,
0.02841118909418583,
-0.020926233381032944,
-0.0218683872371912,
-0.03377898782491684,
0.007544785272330046,
-0.02724972553551197,
-0.020174043253064156,
-0.005706904921680689,
0.046899400651454926,
-0.017556803300976753,
-0.023202653974294662,
-0.014819210395216942,
0.03339012712240219,
-0.05711679905653,
0.018512101843953133,
0.0019987851846963167,
0.017936553806066513,
0.0535682812333107,
-0.010548549704253674,
0.015470648184418678,
-0.008370963856577873,
-0.016391010954976082,
0.012216974049806595,
0.03288701921701431,
-0.03299383819103241,
-0.0067542497999966145,
0.0015745157143101096,
0.0035560743417590857,
0.008407042361795902,
0.03258408606052399,
0.0503547228872776,
0.02234402298927307,
-0.011865443550050259,
-0.018266908824443817,
0.013523113913834095,
0.023318326100707054,
0.042947135865688324,
0.06004749611020088,
-0.015644995495676994,
0.016582917422056198,
0.0025808585342019796,
-0.002400053199380636,
-0.012743989005684853,
-0.002266727155074477,
-0.031925756484270096,
-0.002518560504540801,
-0.018369343131780624,
-0.05940479412674904,
0.041069984436035156,
-0.003217357909306884,
0.004535997752100229,
0.034095969051122665,
0.008482782170176506,
-0.013077250681817532,
-0.010522423312067986,
0.042358193546533585,
0.061950597912073135,
-0.04331912472844124,
-0.02560672163963318,
0.0005446873838081956,
0.0025401299353688955,
-0.014360819943249226,
0.027484366670250893,
-0.06666912138462067,
-0.034840453416109085,
-0.01389390416443348,
0.01924232207238674,
-0.024174636229872704,
-0.04946568235754967,
-0.018703889101743698,
-0.002397333737462759,
0.0015755194472149014,
0.014826731756329536,
0.03207654505968094,
0.011507302522659302,
-0.027118556201457977,
0.0018531593959778547,
0.03830182924866676,
-0.021005788818001747,
-0.019765198230743408,
-0.0043525188229978085,
-0.02085239626467228,
0.011019915342330933,
-0.019185390323400497,
0.02252405509352684,
0.012880765832960606,
-0.014867043122649193,
0.0015367111191153526,
-0.051764264702796936,
0.01385628804564476,
-0.012393906712532043,
0.05428159609436989,
-0.008390868082642555,
-0.003771901363506913,
-0.025880960747599602,
0.014117994345724583,
-0.02881336770951748,
0.003482652362436056,
-0.012200410477817059,
0.011548832058906555,
0.013721955940127373,
0.03328714147210121,
0.009688232094049454,
0.035033684223890305,
-0.010812819935381413,
-0.054551176726818085,
0.040045227855443954,
-0.06170152872800827,
-0.04735040292143822,
-0.01248226035386324,
-0.0425565131008625,
-0.012572524137794971,
0.0029696740675717592,
0.015056638978421688,
-0.04417748376727104,
0.06346514075994492,
0.055417951196432114,
0.034651484340429306,
0.043203506618738174,
-0.005198410712182522,
0.020548798143863678,
-0.030421514064073563,
-0.021100368350744247,
-0.08600407093763351,
0.003808993147686124,
0.055175360292196274,
0.0056081064976751804,
-0.00312817539088428,
-0.0033762941602617502,
-0.026792563498020172,
0.009064768441021442,
-0.05655530467629433,
-0.028583737090229988,
0.05250263959169388,
-0.022707324475049973,
0.03588125854730606,
-0.00732443667948246,
-0.059730034321546555,
0.014901548624038696,
0.0639801174402237,
-0.03559132665395737,
-0.015228266827762127,
-0.036958999931812286,
0.050518766045570374,
-0.03895426541566849,
0.056690096855163574,
-0.016608871519565582,
-0.03105458803474903,
0.06867153942584991,
0.010829905048012733,
0.041237637400627136,
0.05168804153800011,
-0.0068464139476418495,
0.03653021529316902,
0.024404210969805717,
-0.026636719703674316,
-0.013683357276022434,
0.04609037563204765,
-0.009783626534044743,
-0.048607710748910904,
0.03260839357972145,
0.016354108229279518,
0.002784745069220662,
-0.04387157782912254,
0.07855338603258133,
0.010668870061635971,
-0.029863545671105385,
-0.04672851040959358,
0.04028746858239174,
-0.0316426046192646,
-0.010002187453210354,
-0.029903486371040344,
0.005823094863444567,
-0.03484835475683212,
0.04491608217358589,
-0.016139507293701172,
-0.016582492738962173,
0.07148085534572601,
0.004302165471017361,
0.001969831995666027,
-0.0020774807780981064,
0.09507515281438828,
0.09463004022836685,
0.054862141609191895,
0.012241053394973278,
0.0699087530374527,
-0.00654034037142992,
-0.039759647101163864,
-0.01982605643570423,
-0.01348853763192892,
-0.002581215463578701,
0.0025971042923629284,
-0.002059265738353133,
0.052614323794841766,
-0.041227634996175766,
0.08777206391096115,
-0.022820577025413513,
-0.008439545519649982,
-0.017084166407585144,
-0.016730591654777527,
0.030674539506435394,
0.07207003980875015,
0.007892964407801628,
0.04809366539120674,
-0.04120190069079399,
-0.02871675230562687,
0.02202228084206581,
0.001116033410653472,
-0.021530788391828537,
0.04642215743660927,
-0.017040768638253212,
-0.004009644966572523,
0.0008666507201269269,
0.036353692412376404,
0.0816957876086235,
-0.05186835676431656,
-0.002030008239671588,
-0.012310775928199291,
0.02251686155796051,
-0.0017855955520644784,
0.02473354898393154,
-0.023855214938521385,
-0.013070044107735157,
-0.014548218809068203,
-0.04620947688817978,
-0.029355525970458984,
-0.01620332896709442,
-0.03454504534602165,
0.013981519266963005,
-0.026313642039895058,
-0.012563596479594707,
-0.0031408595386892557,
-0.038805995136499405,
-0.0346350334584713,
-0.04569058120250702,
-0.041891057044267654,
-0.06242610886693001,
-0.08599279075860977,
-0.020319553092122078,
0.0023649802897125483,
0.0007116031483747065,
-0.02304155007004738,
-0.005343252327293158,
-0.0337604284286499,
-0.02380036935210228,
0.0367937833070755,
-0.05617227405309677,
0.0022475551813840866,
0.004872113931924105,
0.014001989737153053,
0.0018829578766599298,
0.027488334104418755,
0.04491274803876877,
0.019444946199655533,
0.0008013829356059432,
-0.027905384078621864,
0.025947727262973785,
0.04922156780958176,
0.0183271374553442,
0.0041061402298510075,
-0.07842694222927094,
0.013256407342851162,
0.021601229906082153,
-0.029247721657156944,
-0.08362432569265366,
0.012577805668115616,
0.05483345687389374,
0.011231807060539722,
0.02849643863737583,
-0.008600177243351936,
-0.02189790830016136,
-0.023245731368660927,
-0.0012277103960514069,
-0.003621441777795553,
0.005650323815643787,
0.023956649005413055,
-0.01939011737704277,
0.07952370494604111,
0.041967738419771194,
-0.01441243290901184,
-0.02276577427983284,
-0.03526390343904495,
-0.005176123697310686,
0.0023437279742211103,
-0.03581041470170021,
-0.04730458930134773,
-0.0373452827334404,
-0.08856018632650375,
-0.03891770541667938,
0.016109662130475044,
-0.026182392612099648,
-0.01936320960521698,
0.009457341395318508,
0.02553841471672058,
-0.010202047415077686,
0.02241717092692852,
-0.03298061713576317,
0.028258970007300377,
-0.018701452761888504,
-0.018998481333255768,
-0.035330843180418015,
0.024671675637364388,
-0.00046008016215637326,
0.015771515667438507,
0.02607116289436817,
-0.04650765284895897,
0.011680836789309978,
-0.03134077042341232,
0.023718101903796196,
0.03818284720182419,
0.026794763281941414,
0.013706590048968792
] | [
-0.03970811143517494,
-0.03814331442117691,
-0.003500340972095728,
-0.02265956625342369,
0.06933386623859406,
-0.023555772379040718,
-0.026710936799645424,
0.015986021608114243,
-0.007295617368072271,
-0.015392612665891647,
0.011122006922960281,
-0.05556974932551384,
-0.01598571613430977,
0.008619428612291813,
0.053917013108730316,
-0.0020172521471977234,
-0.039098095148801804,
-0.07884998619556427,
-0.02645847573876381,
0.04132327064871788,
-0.04155478626489639,
-0.04895740747451782,
-0.027969833463430405,
-0.04993395507335663,
0.009898119606077671,
0.015019343234598637,
0.06398632377386093,
-0.012818596325814724,
-0.007119117304682732,
-0.21961146593093872,
0.005672432482242584,
0.004085062071681023,
0.016406981274485588,
-0.005114499479532242,
0.005328372120857239,
-0.002583825960755348,
0.07099191099405289,
-0.009523596614599228,
0.016947658732533455,
0.04890089109539986,
0.02660001814365387,
-0.001161462045274675,
-0.05772284418344498,
-0.005113229155540466,
0.056933704763650894,
0.027826394885778427,
-0.005304581485688686,
0.0043566664680838585,
-0.01260820310562849,
0.002111387439072132,
-0.027381332591176033,
-0.0029115912038832903,
-0.006319388281553984,
-0.019868597388267517,
-0.01270825695246458,
0.052267588675022125,
0.03324772045016289,
0.05060829594731331,
0.03991767391562462,
0.05677729845046997,
0.0061112879775464535,
0.01860629767179489,
-0.13551391661167145,
0.07031761854887009,
0.007887264713644981,
0.0013851640978828073,
-0.06052768602967262,
-0.01766642928123474,
-0.028415607288479805,
0.0752352699637413,
0.007534227799624205,
-0.0000407183360948693,
-0.039923761039972305,
0.05438021570444107,
0.009422733448445797,
0.009244099259376526,
-0.021840622648596764,
0.025004372000694275,
0.015452153980731964,
-0.05084140598773956,
-0.013079212978482246,
0.024673087522387505,
-0.04281532019376755,
-0.00829077698290348,
-0.03530905768275261,
0.039528071880340576,
-0.047839339822530746,
0.05554375424981117,
-0.017611980438232422,
0.04417841136455536,
0.0450332909822464,
0.0197274349629879,
0.04761631786823273,
0.039250075817108154,
-0.08160391449928284,
-0.034013792872428894,
0.018894746899604797,
0.028844637796282768,
0.027950940653681755,
0.41696804761886597,
-0.005324193742126226,
-0.008676410652697086,
0.0350215807557106,
0.09236611425876617,
-0.01120702549815178,
-0.02546151913702488,
0.0014648755313828588,
-0.06118131801486015,
0.036932479590177536,
-0.003498758189380169,
0.017024114727973938,
-0.03024705871939659,
0.03830185532569885,
-0.07973545789718628,
0.00805977638810873,
-0.008033627644181252,
0.052015893161296844,
0.01330968365073204,
-0.03410843387246132,
0.02571498230099678,
0.0006384548032656312,
0.0204567089676857,
0.03471653535962105,
0.004599897190928459,
0.017335865646600723,
0.0236175786703825,
0.01906432770192623,
0.036315470933914185,
0.022604675963521004,
0.01664513349533081,
0.038680508732795715,
0.013206331059336662,
-0.08295071125030518,
0.045908745378255844,
-0.018684400245547295,
-0.0025142175145447254,
0.03861866891384125,
-0.05488548427820206,
-0.028374744579195976,
0.033185165375471115,
-0.0042003244161605835,
-0.031051333993673325,
0.0248576570302248,
0.004165022633969784,
-0.03309693560004234,
0.11221128702163696,
0.0044282968156039715,
-0.05970509722828865,
-0.012924924492835999,
-0.04792372137308121,
0.013365370221436024,
0.03241189196705818,
0.009164772927761078,
-0.07002148777246475,
-0.004899204708635807,
0.01576918177306652,
0.08354676514863968,
0.008818697184324265,
-0.09194652736186981,
0.01474997028708458,
-0.01841241680085659,
-0.02543465606868267,
-0.03575340658426285,
0.06656403094530106,
0.051274631172418594,
-0.13156457245349884,
-0.01035531610250473,
0.010896295309066772,
0.04077388346195221,
-0.07568437606096268,
0.005122885573655367,
0.014274646528065205,
-0.04307098686695099,
0.0024477080442011356,
0.08424000442028046,
-0.012385456822812557,
-0.03712012618780136,
-0.0037277957890182734,
0.04558734595775604,
0.0026340747717767954,
-0.016553770750761032,
-0.017319997772574425,
-0.03881766274571419,
0.006027715280652046,
-0.06870856136083603,
-0.07038500905036926,
-0.08474335819482803,
0.031333714723587036,
-0.04173741862177849,
-0.02579556405544281,
0.0032355145085603,
0.011330949142575264,
-0.04909195378422737,
0.06880653649568558,
-0.04129297286272049,
-0.0397055484354496,
-0.027809886261820793,
0.019768327474594116,
-0.01626179926097393,
-0.029072027653455734,
-0.0010738560231402516,
0.0035789511166512966,
-0.023668404668569565,
0.003538089571520686,
-0.054199300706386566,
0.03236592933535576,
0.07481829822063446,
-0.036422617733478546,
0.06638478487730026,
0.0331231988966465,
-0.026371058076620102,
-0.012727262452244759,
0.014186994172632694,
0.022510983049869537,
-0.005716892424970865,
-0.020918020978569984,
0.0008069627219811082,
-0.03209172561764717,
0.025204459205269814,
0.03973255679011345,
-0.029730385169386864,
-0.013592148199677467,
-0.042914263904094696,
-0.35653212666511536,
-0.03302152082324028,
-0.013594058342278004,
0.010991297662258148,
0.026187730953097343,
-0.022552350535988808,
0.01851680316030979,
-0.0034705938305705786,
0.012032129801809788,
0.02254081703722477,
0.10199244320392609,
0.015618883073329926,
-0.009341905824840069,
-0.0736631378531456,
0.004598897881805897,
0.02454252727329731,
-0.013806037604808807,
0.0024682083167135715,
-0.02468341402709484,
0.004696506541222334,
0.005121470429003239,
-0.03845047950744629,
-0.0456484779715538,
-0.03024459443986416,
-0.011673301458358765,
-0.030266253277659416,
0.11690828949213028,
-0.019726961851119995,
0.0390690341591835,
-0.04895555600523949,
0.014912491664290428,
-0.012087473645806313,
0.01013944298028946,
-0.06931076943874359,
-0.015299828723073006,
-0.0229240320622921,
0.05137893185019493,
0.026976807042956352,
-0.018872404471039772,
-0.007777223363518715,
-0.053028129041194916,
-0.019795700907707214,
-0.0408792570233345,
-0.03677426278591156,
-0.03389297053217888,
0.045631226152181625,
-0.027460061013698578,
-0.008047567680478096,
0.012525989674031734,
0.05963776633143425,
0.018791241571307182,
0.018965866416692734,
0.009033852256834507,
0.029805313795804977,
0.017901191487908363,
-0.03149978816509247,
-0.04912647604942322,
0.0031808167695999146,
0.02574162185192108,
0.04162412881851196,
-0.01542518101632595,
0.035488683730363846,
0.03562173619866371,
-0.07864776998758316,
0.015135061927139759,
0.014954778365790844,
-0.005569580011069775,
0.004377460107207298,
0.03397032618522644,
-0.014120431616902351,
-0.022558778524398804,
0.09027402848005295,
-0.013966512866318226,
0.031021689996123314,
0.03061003051698208,
0.03571920469403267,
-0.01651792973279953,
0.04599880427122116,
0.039399154484272,
0.02504660189151764,
0.042531680315732956,
-0.04360997676849365,
0.06992245465517044,
-0.003082851879298687,
-0.027395471930503845,
0.060220688581466675,
0.017313437536358833,
-0.04957007244229317,
0.04302297905087471,
0.027371380478143692,
-0.024661729112267494,
-0.0028342988807708025,
-0.010778892785310745,
-0.04903925955295563,
0.0712873786687851,
-0.03431759029626846,
-0.26797109842300415,
0.03166722133755684,
0.04286503791809082,
0.04612278565764427,
0.0037670498713850975,
-0.009015154093503952,
0.029395800083875656,
-0.011601228266954422,
0.02199215069413185,
0.008067438378930092,
0.042050737887620926,
0.034368716180324554,
0.010161654092371464,
-0.004413241986185312,
0.0017821764340624213,
-0.005583012010902166,
0.03782562166452408,
0.027224179357290268,
0.004431795794516802,
-0.00344088370911777,
0.024037983268499374,
-0.023087622597813606,
0.17079555988311768,
0.050910305231809616,
0.009942642413079739,
0.02942047081887722,
-0.03780166059732437,
0.02089293673634529,
0.02823394536972046,
-0.005362424533814192,
-0.03300412371754646,
0.022857075557112694,
-0.030963324010372162,
0.03161369636654854,
0.02386433072388172,
-0.04647437855601311,
-0.035977914929389954,
0.07608871906995773,
0.019972452893853188,
-0.030704118311405182,
-0.0019427584484219551,
0.01929929479956627,
-0.05784626677632332,
0.028730908408761024,
0.04093689098954201,
-0.013802354224026203,
-0.01447222474962473,
-0.026853982359170914,
-0.051575932651758194,
-0.020883258432149887,
-0.04083135351538658,
-0.06092451140284538,
-0.03366314247250557,
-0.021557621657848358,
0.013325999490916729,
0.09350761771202087,
0.010927896946668625,
-0.02766415663063526,
0.0308670736849308,
0.010105378925800323,
-0.00916198268532753,
-0.06752017140388489,
0.08971328288316727,
-0.01854921132326126,
-0.003865140723064542
] | [
0.03465304896235466,
0.05827394127845764,
0.01767505146563053,
0.02613881789147854,
-0.016730239614844322,
0.007216442376375198,
-0.011759072542190552,
0.033488769084215164,
-0.040624313056468964,
-0.017403874546289444,
-0.04411665350198746,
0.012743429280817509,
0.05413656681776047,
0.002280710032209754,
0.011645975522696972,
-0.005061305593699217,
0.004766686819493771,
0.02441410906612873,
0.02540423534810543,
-0.023982128128409386,
-0.03367290273308754,
-0.03906114771962166,
0.02496604062616825,
0.007466780953109264,
-0.006556537467986345,
0.035517510026693344,
-0.02570745162665844,
0.0008070127223618329,
0.012121008709073067,
-0.10813508182764053,
-0.05014418810606003,
-0.027043258771300316,
-0.016335083171725273,
-0.003996574319899082,
-0.034641820937395096,
0.02174367755651474,
0.01985587179660797,
0.004652685020118952,
-0.007287232670933008,
0.034938085824251175,
0.04782824590802193,
-0.01948585733771324,
-0.03085445612668991,
0.01791527308523655,
0.021545350551605225,
-0.034483443945646286,
-0.015114020556211472,
-0.01934465952217579,
0.01337155606597662,
-0.006445444189012051,
-0.05041174590587616,
-0.03155730664730072,
-0.012309467419981956,
0.017199458554387093,
-0.01457208301872015,
0.004345315042883158,
-0.04775966331362724,
-0.0018450389616191387,
0.03765407204627991,
-0.010947654023766518,
0.005003456491976976,
-0.009051892906427383,
-0.05805683508515358,
-0.02389630861580372,
-0.004192973021417856,
-0.011255784891545773,
-0.017793014645576477,
0.01437187660485506,
0.031367991119623184,
-0.003971803467720747,
-0.02024565078318119,
0.053472697734832764,
-0.07538804411888123,
-0.026940252631902695,
-0.028342610225081444,
0.036537494510412216,
0.03543771430850029,
0.0001605393917998299,
-0.03218621388077736,
-0.006113494746387005,
-0.019462289288640022,
0.009905282407999039,
0.004725214559584856,
-0.023321546614170074,
-0.0328265056014061,
-0.0026253978721797466,
0.0026876397896558046,
-0.008188134990632534,
-0.011844037100672722,
0.014833544380962849,
-0.026249712333083153,
0.0334082655608654,
-0.02589542232453823,
0.005039538722485304,
-0.08482526242733002,
0.01404790673404932,
0.017856737598776817,
0.015566302463412285,
0.01851205714046955,
0.8276689052581787,
0.0227593295276165,
-0.021265441551804543,
0.0009944939520210028,
0.030574215576052666,
0.002813160652294755,
-0.0009754447382874787,
0.00931822694838047,
0.005123968701809645,
-0.014666118659079075,
-0.02348380722105503,
0.014308584854006767,
0.003211771138012409,
0.009922400116920471,
0.016716061159968376,
0.003943628631532192,
0.04414648935198784,
-0.0074425265192985535,
0.0031237166840583086,
-0.007604369428008795,
0.017843075096607208,
-0.009938310831785202,
0.012506088241934776,
-0.006483767181634903,
0.009846559725701809,
-0.011409986764192581,
-0.16613933444023132,
0.0006175385206006467,
-6.504841170668954e-33,
0.027807369828224182,
-0.010754367336630821,
0.0629710853099823,
-0.0040996926836669445,
0.006992433685809374,
0.006912961136549711,
-0.019480306655168533,
-0.005815277341753244,
-0.016031013801693916,
-0.018428198993206024,
-0.036049798130989075,
0.007173983845859766,
0.011114676482975483,
-0.028088003396987915,
0.009278597310185432,
-0.03202956169843674,
0.005458740517497063,
0.00561222480610013,
0.014632981270551682,
-0.020105011761188507,
0.025698352605104446,
0.023698406293988228,
-0.018150415271520615,
0.032295048236846924,
0.012209276668727398,
0.047389715909957886,
-0.013595262542366982,
-0.0030503785237669945,
0.007721229922026396,
-0.04251234233379364,
-0.04136793315410614,
0.03408815711736679,
0.008049381896853447,
-0.018641695380210876,
0.008139656856656075,
-0.06891193985939026,
-0.027864472940564156,
0.00418318435549736,
-0.032307859510183334,
-0.040489066392183304,
-0.0460398904979229,
-0.024702752009034157,
-0.028040099889039993,
-0.017608152702450752,
-0.04384069889783859,
0.0008414324838668108,
-0.02659083716571331,
0.00690201111137867,
-0.0014055854408070445,
0.01027362234890461,
0.017310185357928276,
0.02067253366112709,
-0.029689231887459755,
-0.0041201915591955185,
-0.0273323655128479,
0.019199660047888756,
0.02673976868391037,
-0.01613413542509079,
-0.019226690754294395,
0.015988023951649666,
0.046764131635427475,
0.0016281238058581948,
-0.006178933661431074,
0.032158128917217255,
0.026317931711673737,
0.008225426077842712,
0.004885002505034208,
0.010193770751357079,
-0.021630456671118736,
0.029122482985258102,
-0.057672496885061264,
0.06068482995033264,
-0.004954648669809103,
-0.03835020586848259,
0.06479666382074356,
-0.04724146053195,
-0.014897849410772324,
-0.0013627605512738228,
0.012316994369029999,
0.04346056282520294,
-0.04365251585841179,
-0.052446648478507996,
0.026142681017518044,
-0.04796688258647919,
-0.0021294921170920134,
-0.016074636951088905,
0.05258100479841232,
0.002313400851562619,
0.029966644942760468,
0.02783467248082161,
0.0380733497440815,
0.05186741054058075,
-0.021764058619737625,
0.00011810265277745202,
-0.024938475340604782,
7.003666606544208e-33,
0.01940893940627575,
0.02142251469194889,
-0.010607258416712284,
0.013285612687468529,
0.024825794622302055,
0.011986686848104,
0.02274087443947792,
-0.003734406316652894,
-0.013734150677919388,
0.07082689553499222,
-0.008622280322015285,
-0.025273015722632408,
0.000955405121203512,
0.026404449716210365,
0.054372638463974,
0.0038104034028947353,
0.008482448756694794,
-0.046682991087436676,
-0.024364229291677475,
0.020219584926962852,
-0.024045797064900398,
-0.005438775755465031,
-0.024073217064142227,
0.011810997501015663,
0.04603326693177223,
0.009684192016720772,
0.025355009362101555,
0.002603731583803892,
-0.0077532269060611725,
0.01391808781772852,
-0.04065334051847458,
-0.025615932419896126,
0.007649973034858704,
-0.05245209485292435,
-0.007660023868083954,
0.04464020952582359,
0.015932923182845116,
0.0026693549007177353,
0.018578868359327316,
-0.00858382973819971,
0.024112805724143982,
0.020786451175808907,
-0.03224761411547661,
0.05112487077713013,
0.01492233481258154,
0.018826041370630264,
-0.0008242596522904932,
0.02693265862762928,
-0.01287174504250288,
0.03651808202266693,
0.01783589832484722,
0.027237724512815475,
0.015728885307908058,
0.03314029052853584,
0.047271277755498886,
-0.033297955989837646,
0.0035256294067949057,
0.028947284445166588,
-0.017555292695760727,
-0.02520361915230751,
-0.02845383808016777,
-0.052568335086107254,
-0.02326851338148117,
0.0236054714769125,
-0.004458040930330753,
-0.009222687222063541,
-0.03138124570250511,
-0.012852500192821026,
0.002255129162222147,
0.005601824726909399,
0.01364681776612997,
-0.0187834519892931,
0.003960234113037586,
0.02346726879477501,
0.005300883203744888,
-0.021333491429686546,
-0.02110131084918976,
0.021102318540215492,
-0.04366042837500572,
0.03265383839607239,
0.030289029702544212,
0.051733165979385376,
0.036139704287052155,
-0.002677377313375473,
-0.005994362756609917,
0.02826223149895668,
-0.006675785407423973,
0.026463262736797333,
0.008052329532802105,
0.017473820596933365,
0.0417620949447155,
-0.014969385229051113,
-0.03635244816541672,
0.052018024027347565,
-0.010067874565720558,
-1.2340575672453724e-8,
-0.05029619112610817,
0.038687534630298615,
-0.03690292686223984,
-0.002760761883109808,
0.023223457857966423,
0.005372984800487757,
0.003222081810235977,
-0.0020949675235897303,
-0.021321745589375496,
0.021267587319016457,
0.047097232192754745,
-0.012029706500470638,
0.002901931293308735,
-0.00016187061555683613,
0.009820589795708656,
-0.037058472633361816,
-0.012156985700130463,
-0.010473989881575108,
0.0321468710899353,
0.025016391649842262,
-0.01394632924348116,
0.03841124847531319,
-0.016121836379170418,
0.021469447761774063,
0.016684088855981827,
-0.03311838582158089,
0.024663647636771202,
-0.06562788784503937,
0.016180068254470825,
-0.01283150166273117,
-0.018520992249250412,
-0.023781390860676765,
-0.0052231415174901485,
0.00363348051905632,
-0.04256720468401909,
-0.03546503931283951,
0.02427254058420658,
0.04856894537806511,
0.020165039226412773,
0.037527550011873245,
0.0035817991010844707,
0.0005073184729553759,
-0.01464131847023964,
-0.03610166907310486,
-0.01650002971291542,
0.012429571710526943,
-0.04564506560564041,
-0.0021966348867863417,
0.0314689464867115,
-0.028320230543613434,
-0.014180797152221203,
-0.016100123524665833,
0.03094915673136711,
0.02579100988805294,
0.07133287191390991,
-0.011905846185982227,
-0.005540236830711365,
-0.018667392432689667,
-0.027931006625294685,
-0.019893338903784752,
-0.008231201209127903,
0.016046086326241493,
-0.010088224895298481,
-0.02631297893822193
] | neo4j-2-1-0-m01-load-csv-with-rik-van-bruggens-tube-graph | https://markhneedham.com/blog/2014/03/03/neo4j-2-1-0-m01-load-csv-with-rik-van-bruggens-tube-graph |
false | 2014-03-30 14:48:41 | Soulver: For all your random calculations | [
"soulver"
] | [
"Software Development"
] | I often find myself doing random calculations and I used to do so part manually and part using http://www.alfredapp.com/[Alfred]'s calculator until https://twitter.com/apcj[Alistair] pointed me at http://www.acqualia.com/soulver/[Soulver], a desktop/iPhone/iPad app, which is even better.
I thought I'd write some examples of calculations I use it for, partly so I'll remember the syntax in future!
_Calculating how much memory Neo4j memory mapping will take up_
[source,text]
----
800 mb + 2660mb + 6600mb + 9500mb + 40mb in GB = 19.6 GB
----
_How long would it take to cover 20,000 km at 100 km / day?_
[source,text]
----
20,000 km / 100 km/day in months = 6.57097681677241832481 months
----
_How long did an import of some data using the Neo4j shell take?_
[source,text]
----
4550855 ms in minutes = 75.84758333333333333333 minutes
----
_Bit shift 1 by 32 places_
[source,text]
----
1 << 32 = 4,294,967,296
----
_Translating into easier to digest units_
[source,text]
----
32381KB / second in MB per minute = 1,942.86 MB/minute
500,000 / 3 years in per hour = 19.01324310408685857874 per hour^2
----
_How long would it take to process a chunk of data?_
[source,text]
----
100 GB / (32381KB / second in MB per minute) = 51.47051254336390681778 minutes
----
_Hexadecimal to base 10_
[source,text]
----
0x1111 = 4,369
1 + 16 + 16^2 + 16^3 = 4,369
----
I'm sure there's much more that you can do that I haven't figured out yet but even for these simple examples it saves me a bunch of time. | null | null | [
0.02309504896402359,
-0.0032801716588437557,
0.0050942725501954556,
0.042820870876312256,
0.0961071029305458,
0.03380613029003143,
0.015306911431252956,
0.03614634647965431,
0.012105869129300117,
-0.01530974917113781,
0.022688059136271477,
-0.012432700954377651,
-0.04163683205842972,
-0.0026959108654409647,
-0.011992723681032658,
0.051404859870672226,
0.08181183785200119,
0.003738964209333062,
0.015331829898059368,
-0.005706190597265959,
0.024304058402776718,
0.054423097521066666,
0.016213010996580124,
0.03573711961507797,
0.024335552006959915,
0.003247408429160714,
-0.012320912443101406,
-0.002130429958924651,
-0.0528559572994709,
-0.003808814100921154,
0.052039775997400284,
-0.004970871843397617,
-0.0020426141563802958,
0.009323837235569954,
0.03454975038766861,
-0.01548971701413393,
-0.03761160001158714,
0.012165963649749756,
-0.006185004021972418,
0.0031523113138973713,
-0.045177899301052094,
0.025480832904577255,
-0.013606705702841282,
0.013589989393949509,
-0.05721111223101616,
-0.02223287522792816,
-0.03265601396560669,
0.030664442107081413,
-0.017787059769034386,
0.025120669975876808,
-0.0647401213645935,
0.040593892335891724,
0.0032482279930263758,
0.01889847032725811,
-0.02389795146882534,
0.061446938663721085,
0.023468835279345512,
-0.06631393730640411,
0.02887643314898014,
-0.021604983136057854,
0.03501185029745102,
-0.01221379078924656,
-0.015394465997815132,
0.006535378284752369,
0.002240896224975586,
-0.04195966571569443,
0.016735652461647987,
0.05093749240040779,
-0.036207862198352814,
0.030541986227035522,
0.003138341009616852,
0.016713885590434074,
-0.02428913488984108,
-0.009128198027610779,
0.002443866105750203,
-0.06401980668306351,
0.009264925494790077,
0.05797915905714035,
0.03827383741736412,
0.03680433705449104,
-0.01916412077844143,
0.006060879211872816,
0.015091361477971077,
0.03283408656716347,
-0.0013322123559191823,
-0.02225305512547493,
-0.04632911458611488,
-0.03226960822939873,
-0.07108768075704575,
0.048209525644779205,
0.023325754329562187,
-0.03581143915653229,
0.01681799814105034,
0.015268837101757526,
-0.02560795471072197,
0.0075709582306444645,
-0.0007820419850759208,
0.0179687961935997,
0.006638677790760994,
0.022044679149985313,
-0.02344287931919098,
-0.03633132949471474,
0.0009939265437424183,
-0.005896410439163446,
-0.057161226868629456,
-0.015264041721820831,
-0.034246474504470825,
-0.03213844075798988,
0.029890689998865128,
-0.001728951814584434,
-0.01972232386469841,
0.0009873014641925693,
-0.01740051433444023,
0.014902415685355663,
-0.08209315687417984,
0.03930367901921272,
0.03598394989967346,
-0.018949640914797783,
-0.026336582377552986,
-0.0006775713409297168,
0.06503953039646149,
0.04297935590147972,
0.0005458533414639533,
0.06262332201004028,
-0.005797452758997679,
0.023149657994508743,
0.02544851042330265,
0.028213780373334885,
0.0031916587613523006,
-0.06744798272848129,
0.0066850148141384125,
0.05680960416793823,
0.002148236846551299,
-0.0036249826662242413,
0.009981810115277767,
-0.03321376070380211,
-0.024364633485674858,
0.009797300212085247,
0.07696947455406189,
0.020441701635718346,
0.024491846561431885,
-0.03614147752523422,
0.03429071977734566,
0.004767557140439749,
0.024722756817936897,
0.009275062941014767,
0.0039812191389501095,
-0.045226551592350006,
-0.021008983254432678,
-0.004000270739197731,
-0.005243615712970495,
0.018520960584282875,
0.022806087508797646,
-0.043177150189876556,
0.03130485117435455,
0.09578458219766617,
0.011790597811341286,
0.012170559726655483,
-0.026233352720737457,
0.02671012654900551,
0.03214342147111893,
0.03068423457443714,
-0.011201288551092148,
0.03249680623412132,
-0.004210689105093479,
-0.02815275266766548,
0.014243349432945251,
0.07809562981128693,
-0.03195514902472496,
0.005281601566821337,
-0.03964512050151825,
-0.019414030015468597,
0.09580741077661514,
-0.042242929339408875,
-0.03538534417748451,
0.05125059187412262,
0.07063447684049606,
0.021715380251407623,
0.004238726105540991,
-0.01924877054989338,
-0.08378028124570847,
0.047409217804670334,
0.03246481716632843,
0.04173753783106804,
0.004942804109305143,
-0.011198406107723713,
0.07820282131433487,
0.01588054746389389,
0.0011273741256445646,
0.012093627825379372,
-0.06480354070663452,
-0.07931676506996155,
-0.012078909203410149,
0.003548340406268835,
0.060672108083963394,
-0.04051221162080765,
0.01067110151052475,
0.04565054178237915,
0.0065075610764324665,
0.033883579075336456,
-0.00826277956366539,
-0.0020097345113754272,
0.04722237586975098,
-0.06972172111272812,
-0.04097697511315346,
0.03288133069872856,
0.029699111357331276,
-0.03913170099258423,
-0.02263507805764675,
0.0008660953608341515,
-0.02039245516061783,
-0.024628980085253716,
0.04675175994634628,
-0.03146547079086304,
-0.005157476756721735,
0.04041314870119095,
0.04626481607556343,
-0.008905538357794285,
0.024506395682692528,
-0.029408669099211693,
0.01411167997866869,
0.02288992330431938,
-0.02895531803369522,
0.005158311687409878,
-0.004099623765796423,
0.10774364322423935,
0.06432275474071503,
-0.04155220091342926,
-0.0598142147064209,
0.0054852901957929134,
-0.016458993777632713,
-0.05496954917907715,
-0.013128494843840599,
0.004243097733706236,
0.013768775388598442,
-0.005358118563890457,
-0.04466031864285469,
-0.01681945100426674,
0.01400014664977789,
-0.023860657587647438,
-0.0030864309519529343,
0.03897589072585106,
-0.009765982627868652,
0.0784105658531189,
0.0024521981831640005,
0.00903201662003994,
-0.03835853934288025,
-0.03494677320122719,
-0.061258941888809204,
0.013573981821537018,
0.005500314757227898,
-0.005909375846385956,
0.06482092291116714,
-0.0018337264191359282,
0.0062406319193542,
-0.05333409458398819,
-0.026048246771097183,
0.05234958231449127,
0.043040577322244644,
0.054674260318279266,
-0.009279307909309864,
0.057614829391241074,
0.0035943007096648216,
0.021251147612929344,
-0.02384188026189804,
-0.07970000803470612,
-0.05580759420990944,
-0.027582990005612373,
0.018532030284404755,
0.008185959421098232,
0.03407801315188408,
-0.01620970293879509,
0.026143735274672508,
0.008317176252603531,
0.01695006527006626,
-0.04774368926882744,
0.051207128912210464,
-0.01528521440923214,
-0.033406782895326614,
-0.04705710709095001,
-0.02549600973725319,
0.08964353054761887,
-0.053534649312496185,
-0.022399380803108215,
0.019994620233774185,
-0.0500117652118206,
0.06427136063575745,
-0.06538998335599899,
-0.02542385272681713,
0.000003577852794478531,
0.01013426948338747,
0.040388140827417374,
0.0007296193507499993,
0.001177467405796051,
0.08709584921598434,
0.022538768127560616,
0.01923283189535141,
-0.025297021493315697,
-0.0020904727280139923,
0.04069024324417114,
-0.0029113898053765297,
0.03305993974208832,
0.00956527516245842,
0.012777300551533699,
-0.00996452011168003,
-0.04250133037567139,
-0.0027195876464247704,
-0.02858791872859001,
-0.26862862706184387,
0.05977647379040718,
-0.03169658035039902,
-0.06614567339420319,
0.01007545180618763,
-0.03689621016383171,
0.017146751284599304,
-0.022408301010727882,
-0.03628476709127426,
0.010528676211833954,
-0.025714075192809105,
-0.025417882949113846,
-0.032608889043331146,
0.057198137044906616,
0.007787669543176889,
0.023827126249670982,
0.011771080084145069,
-0.05388326197862625,
-0.013074093498289585,
0.04702283814549446,
0.015290379524230957,
-0.06410569697618484,
-0.003427773481234908,
0.043544501066207886,
0.02574932388961315,
0.05093337222933769,
-0.06561259180307388,
0.017019594088196754,
-0.06293866783380508,
0.0009424127056263387,
0.0002965661115013063,
-0.03198058158159256,
0.03674967586994171,
-0.002312064403668046,
-0.0032804098445922136,
-0.020597975701093674,
0.017356393858790398,
-0.0012737131910398602,
0.01328104455024004,
0.017472034320235252,
-0.009432024322450161,
-0.03439338132739067,
0.007259729318320751,
0.00467910710722208,
0.0804753303527832,
0.004211495164781809,
-0.06789841502904892,
-0.025213563814759254,
-0.014180307276546955,
0.05908796563744545,
-0.01020838413387537,
-0.045555610209703445,
-0.03758262097835541,
0.00011682344484142959,
-0.04252862557768822,
-0.02767629735171795,
-0.02034362033009529,
0.00834142416715622,
-0.05771427974104881,
-0.02889627031981945,
-0.009390193969011307,
-0.01769978366792202,
-0.012057698331773281,
-0.04515711963176727,
-0.011071380227804184,
-0.05783051997423172,
-0.06775373965501785,
-0.0024050346110016108,
0.07807382941246033,
0.03797421604394913,
-0.02779056876897812,
0.005062975455075502,
-0.010019496083259583,
-0.09975241869688034,
-0.04166470468044281,
-0.007214510813355446,
-0.027591107413172722,
0.04464399442076683,
-0.003648984944447875,
0.0646970272064209,
-0.04670016095042229,
-0.05718699470162392,
0.011244367808103561,
-0.0016973919700831175,
0.02141803875565529,
-0.047617197036743164,
-0.004601276014000177,
0.011613348498940468,
-0.0003721663379110396,
0.03076287917792797,
0.0756714791059494,
-0.038233432918787,
-0.023796619847416878,
-0.03214363753795624,
0.0049497331492602825,
0.015061797574162483,
-0.001250233966857195,
-0.003332276362925768,
0.031103061512112617,
0.02807600237429142,
0.03787446767091751,
-0.02352169156074524,
0.025272762402892113,
-0.0625889003276825,
-0.030172858387231827,
-0.03385859727859497,
-0.039640024304389954,
0.03414684906601906,
0.01565723866224289,
0.0315173976123333,
-0.010380725376307964,
-0.0004833307466469705,
0.012207003310322762,
-0.044681061059236526,
-0.04418475553393364,
-0.0007440540939569473,
0.016175128519535065,
0.01110632624477148,
0.023793956264853477,
-0.005881348624825478,
-0.06005513295531273,
0.019967254251241684,
0.022578805685043335,
-0.03018813766539097,
-0.04167887195944786,
-0.02258184924721718,
-0.02677117846906185,
-0.014992394484579563,
0.028002211824059486,
0.009599331766366959,
-0.017848139628767967,
0.022157078608870506,
0.004017045255750418,
-0.010274955071508884,
0.01714828982949257,
-0.03216726332902908,
-0.03838041424751282,
-0.048637088388204575,
0.010841364040970802,
0.005281313322484493,
0.0060613262467086315,
0.005892549175769091,
0.003745368216186762,
0.026497408747673035,
0.04529409483075142,
0.03481145575642586,
0.0348891019821167,
-0.010015588253736496,
0.016488632187247276,
-0.015530258417129517,
-0.00798536092042923,
-0.06362488120794296,
0.01880154013633728,
-0.04061101749539375,
-0.03586931526660919,
-0.008344365283846855,
0.03853384777903557,
-0.03346622362732887,
-0.029922356829047203,
-0.022440515458583832,
0.001223660772666335,
-0.05448861047625542,
-0.011779868975281715,
-0.028860701248049736,
-0.014663654379546642,
0.06606701016426086,
-0.013973689638078213,
0.03006390854716301,
0.0007419131579808891,
0.011123225092887878,
0.016567444428801537,
0.02669101022183895,
-0.06116499379277229,
0.005564663093537092,
0.029599061235785484,
0.0031201003585010767,
0.018634004518389702,
0.007243592292070389,
0.050606340169906616,
0.005007230676710606,
-0.016686422750353813,
-0.01165372971445322,
0.024246323853731155,
0.008483030833303928,
0.05644935369491577,
0.046602606773376465,
-0.013181302696466446,
0.03038431890308857,
-0.03747783228754997,
-0.009436962194740772,
-0.03320331871509552,
-0.021906379610300064,
-0.005549584981054068,
-0.01876205950975418,
-0.010902884416282177,
-0.07220905274152756,
0.04367900267243385,
0.032129548490047455,
0.008043653331696987,
0.04524325206875801,
0.032300446182489395,
-0.02497364953160286,
-0.03999964892864227,
0.03830139338970184,
0.06493246555328369,
-0.05712516978383064,
-0.003819257253780961,
0.012508264742791653,
0.03880700469017029,
0.00332660018466413,
0.01137232780456543,
-0.025503484532237053,
-0.018643585965037346,
-0.03328799828886986,
0.016275499016046524,
-0.015467769466340542,
-0.055723272264003754,
-0.01245850045233965,
-0.007059122901409864,
-0.028041845187544823,
-0.0038570850156247616,
0.01751231588423252,
-0.028042029589414597,
-0.026033630594611168,
-0.013001609593629837,
-0.007612168323248625,
-0.012084727175533772,
-0.009793923236429691,
0.007360359653830528,
-0.0163918137550354,
0.01176748238503933,
-0.03194178268313408,
0.017451521009206772,
0.04254432022571564,
-0.000557677005417645,
-0.02466416358947754,
-0.048745740205049515,
0.015474296174943447,
0.0023660585284233093,
0.05290640890598297,
-0.01732836849987507,
-0.006388512440025806,
-0.031402554363012314,
0.02642556093633175,
-0.0410333126783371,
0.003352196654304862,
-0.004105909261852503,
-0.011627673171460629,
0.002218578476458788,
0.028243137523531914,
-0.013045510277152061,
0.013287226669490337,
-0.014395118691027164,
-0.017687467858195305,
0.031810469925403595,
-0.05800739675760269,
-0.047166354954242706,
-0.002286373171955347,
-0.04433318227529526,
0.02399616874754429,
-0.0006665575201623142,
-0.0055284337140619755,
-0.029975248500704765,
0.05884603410959244,
0.04517721012234688,
0.03486020863056183,
0.05448649451136589,
-0.005405806936323643,
0.03664601966738701,
-0.035449691116809845,
-0.005849058739840984,
-0.0962476059794426,
-0.030503518879413605,
0.0320073701441288,
0.002936287084594369,
-0.0039482079446315765,
0.02180708572268486,
-0.019940869882702827,
0.025975797325372696,
-0.07448636740446091,
-0.026588911190629005,
0.07266580313444138,
-0.005471635144203901,
0.0019347037887200713,
-0.013210964389145374,
-0.06654921174049377,
0.0051354612223804,
0.03111300803720951,
-0.03672267496585846,
-0.004222474060952663,
-0.011617399752140045,
0.060505252331495285,
-0.008025167509913445,
0.04129615053534508,
-0.044946253299713135,
-0.0028561910148710012,
0.076789490878582,
0.013011964969336987,
0.02648705616593361,
0.04759282246232033,
-0.004638843238353729,
0.05322844535112381,
0.03232576698064804,
-0.013754133135080338,
-0.01060501392930746,
0.010325008071959019,
-0.029769200831651688,
-0.04733021557331085,
-0.0003051591047551483,
-0.021091895177960396,
-0.019198868423700333,
-0.03654306381940842,
0.06598487496376038,
0.020468218252062798,
0.002206666162237525,
-0.07893381267786026,
0.03870512917637825,
-0.03925930708646774,
-0.010308912955224514,
-0.012087141163647175,
-0.0172672588378191,
-0.0406167209148407,
0.039794426411390305,
-0.024954864755272865,
-0.003447306342422962,
0.07850273698568344,
0.004203007556498051,
-0.021958298981189728,
0.01023158524185419,
0.08045464009046555,
0.0786936953663826,
0.055224135518074036,
-0.0018179595936089754,
0.07009284198284149,
-0.01637960411608219,
-0.03984647989273071,
-0.00518898107111454,
-0.029959406703710556,
-0.02648130990564823,
-0.001106702140532434,
0.03359021991491318,
0.0744626447558403,
-0.031239978969097137,
0.07004466652870178,
-0.04524995759129524,
0.008951928466558456,
0.007126912474632263,
0.010269476100802422,
0.022887472063302994,
0.06369876116514206,
0.011698792688548565,
0.021565627306699753,
-0.036599770188331604,
-0.03593594953417778,
0.02605895698070526,
-0.005555447656661272,
-0.015599277801811695,
0.02950839139521122,
-0.02055440843105316,
0.0064503843896090984,
0.004743137396872044,
0.05009365454316139,
0.07280496507883072,
-0.024772565811872482,
0.007882047444581985,
-0.0013679108815267682,
0.034602921456098557,
0.005359726957976818,
0.0167195163667202,
-0.016457028687000275,
-0.008366051129996777,
-0.009447659365832806,
-0.019750377163290977,
-0.00885067693889141,
-0.02090860716998577,
-0.04056898131966591,
-0.0008885932620614767,
-0.030847841873764992,
0.004426886327564716,
0.002029270399361849,
-0.031412310898303986,
-0.03284826874732971,
-0.042957406491041183,
-0.03225909546017647,
-0.05796056613326073,
-0.07440207153558731,
0.021029341965913773,
0.023533377796411514,
-0.01414367463439703,
-0.031869031488895416,
0.013490618206560612,
-0.03578135743737221,
-0.03391414135694504,
0.027426667511463165,
-0.06651508808135986,
-0.03561042994260788,
0.009004157036542892,
0.002608566079288721,
0.007692295126616955,
0.017022760584950447,
0.06664306670427322,
0.004217382054775953,
-0.006390806753188372,
-0.014866335317492485,
-0.004064645152539015,
0.049375712871551514,
0.04997144639492035,
-0.009954793378710747,
-0.10158636420965195,
0.00884823128581047,
0.044686608016490936,
-0.02363281324505806,
-0.07551268488168716,
0.01841684617102146,
0.02960319072008133,
-0.00017580129497218877,
0.05778701975941658,
-0.023934166878461838,
0.0043295007199049,
-0.03820958733558655,
0.014607861638069153,
0.0020354127045720816,
0.0022505156230181456,
0.03487896919250488,
-0.030309980735182762,
0.09278692305088043,
0.0134424464777112,
-0.03596990182995796,
-0.021738318726420403,
-0.013549991883337498,
-0.03269033133983612,
0.029975173994898796,
-0.02263711765408516,
-0.0033087246119976044,
-0.035481177270412445,
-0.08267877250909805,
-0.03220302611589432,
0.0030808348674327135,
-0.03770321607589722,
-0.04363164305686951,
0.03824905306100845,
0.028155941516160965,
-0.014729193411767483,
0.03985520452260971,
-0.04201261326670647,
0.021212469786405563,
-0.0215374194085598,
-0.01915394887328148,
0.003642575815320015,
0.011573918163776398,
-0.024700604379177094,
-0.003487379290163517,
0.04722586274147034,
-0.056523531675338745,
-0.034605517983436584,
-0.013903632760047913,
0.021680904552340508,
0.028396232053637505,
0.02547539956867695,
-0.003921947441995144
] | [
-0.06853244453668594,
-0.019157452508807182,
-0.011868588626384735,
-0.01954910159111023,
0.036245569586753845,
-0.035924315452575684,
-0.014668788760900497,
0.011213020421564579,
0.02907729707658291,
-0.011752242222428322,
0.00985745433717966,
-0.03179839625954628,
0.0019133975729346275,
0.011208411306142807,
0.05964569374918938,
-0.012208009138703346,
-0.00790908932685852,
-0.11561314016580582,
-0.014678356237709522,
0.04198238253593445,
0.009602160193026066,
-0.06725417822599411,
-0.03294280916452408,
-0.03653661906719208,
0.0032187525648623705,
0.03416253253817558,
0.029869187623262405,
-0.017665749415755272,
-0.012718777172267437,
-0.21833989024162292,
0.003442255547270179,
0.011611568741500378,
0.046704504638910294,
-0.01901610754430294,
-0.008274413645267487,
0.0391470231115818,
0.021817071363329887,
0.01016593910753727,
0.01249479316174984,
0.044608987867832184,
0.027115248143672943,
0.02816750481724739,
-0.053656205534935,
-0.0023542288690805435,
0.050367046147584915,
0.02172248438000679,
-0.02878802828490734,
-0.02001096121966839,
0.013116797432303429,
0.02703268826007843,
-0.05792298540472984,
0.019051212817430496,
0.0014255152782425284,
-0.00007973211904754862,
0.007488316856324673,
0.02742788940668106,
0.03926985710859299,
0.06644764542579651,
0.04699624329805374,
0.014957793988287449,
0.0032881004735827446,
0.011281615123152733,
-0.13165389001369476,
0.08470853418111801,
0.02005760557949543,
-0.016504410654306412,
-0.03633976727724075,
-0.03698369860649109,
-0.019819768145680428,
0.07391286641359329,
0.00796048529446125,
-0.002321701031178236,
-0.020266765728592873,
0.06370457261800766,
0.00033566675847396255,
0.008075318299233913,
-0.01801053062081337,
0.034726597368717194,
0.023989947512745857,
-0.04505093768239021,
-0.006609220989048481,
0.016608765348792076,
-0.049232445657253265,
-0.0042243944481015205,
-0.04995692893862724,
0.030886221677064896,
-0.027978653088212013,
0.07459033280611038,
0.007635613903403282,
0.032454509288072586,
0.0413617342710495,
0.034824926406145096,
0.03608373925089836,
0.017361527308821678,
-0.06916548311710358,
-0.019645418971776962,
0.01842602714896202,
0.04293904826045036,
0.004682809114456177,
0.4200204312801361,
0.015068714506924152,
0.007848803885281086,
0.05897727981209755,
0.06288191676139832,
-0.011585176922380924,
-0.01689637079834938,
-0.01874644123017788,
-0.05699888989329338,
0.01515981275588274,
-0.008658291772007942,
0.01891305297613144,
-0.007661802228540182,
0.04607618227601051,
-0.06295131146907806,
0.033003758639097214,
0.023961564525961876,
0.054806336760520935,
0.008017096668481827,
-0.007996464148163795,
0.006665827706456184,
-0.05633723363280296,
0.0198761485517025,
0.024385450407862663,
0.0010566491400822997,
0.015013957396149635,
-0.006010154262185097,
0.029513290151953697,
0.05193154141306877,
0.0050267418846488,
0.030140040442347527,
0.06918222457170486,
0.006446048617362976,
-0.09214703738689423,
0.02004391700029373,
-0.0027665819507092237,
0.0049554817378520966,
0.03166453540325165,
-0.03817730396986008,
0.003385203890502453,
0.0012776640942320228,
-0.03720952942967415,
-0.009345881640911102,
0.013901625759899616,
0.0007240661070682108,
-0.03560396283864975,
0.15408006310462952,
0.03400162234902382,
-0.026063527911901474,
-0.01807604543864727,
-0.07679558545351028,
0.023113328963518143,
0.04905465617775917,
0.01831023022532463,
-0.08378569781780243,
0.002412911504507065,
0.013940079137682915,
0.08580940961837769,
-0.027139730751514435,
-0.08282044529914856,
-0.013462509028613567,
-0.03803800046443939,
0.00901616271585226,
-0.03049742989242077,
0.0643233209848404,
0.07065805792808533,
-0.07795684039592743,
0.009381968528032303,
0.02277892455458641,
0.03228231891989708,
-0.07451111823320389,
0.027727657929062843,
0.01408340409398079,
-0.048464953899383545,
-0.017093023285269737,
0.08155559003353119,
-0.038688015192747116,
-0.029252899810671806,
0.0036149253137409687,
0.04667716845870018,
-0.01080002449452877,
-0.00937699992209673,
-0.0014292937703430653,
-0.04278022423386574,
0.001213421463035047,
-0.05784612521529198,
-0.07717379927635193,
-0.058217138051986694,
0.03540940210223198,
-0.04686948284506798,
0.0029754829593002796,
0.005874750204384327,
-0.006926893722265959,
-0.08232109248638153,
0.07785852998495102,
-0.07262232154607773,
-0.061901576817035675,
-0.005192953627556562,
0.030511852353811264,
-0.051487285643815994,
-0.04048316925764084,
0.03420186787843704,
-0.009893735870718956,
-0.01522787380963564,
0.020445648580789566,
-0.023436276242136955,
0.025411557406187057,
0.049255676567554474,
-0.02088397555053234,
0.09795438498258591,
0.07619813829660416,
-0.015765780583024025,
-0.041865501552820206,
0.008544712327420712,
0.011020207777619362,
-0.03175509721040726,
-0.005729164928197861,
-0.006906462367624044,
-0.010058303363621235,
0.03866266831755638,
0.04563373327255249,
-0.020049799233675003,
-0.04289909452199936,
-0.018594563007354736,
-0.34558171033859253,
-0.048147477209568024,
-0.01634237729012966,
-0.002001130487769842,
0.05515503138303757,
-0.04441561549901962,
0.010936297476291656,
-0.0312747023999691,
0.0239530298858881,
0.00462674954906106,
0.05622462183237076,
-0.03252895548939705,
0.0071921199560165405,
-0.08967365324497223,
0.007414389401674271,
0.023755788803100586,
-0.0229190643876791,
0.006165447179228067,
-0.029697969555854797,
-0.003721423912793398,
-0.0011583796003833413,
-0.028759321197867393,
-0.04546831548213959,
-0.04951012134552002,
-0.01509336568415165,
-0.025950338691473007,
0.10441844165325165,
-0.029922017827630043,
0.04125327616930008,
-0.03950021415948868,
0.04719008877873421,
-0.014848567545413971,
0.006914770230650902,
-0.06211957335472107,
-0.012924385257065296,
-0.03415270894765854,
0.03323746845126152,
0.03399643674492836,
-0.019029902294278145,
-0.023295704275369644,
-0.0705074667930603,
0.005819038487970829,
-0.03121231123805046,
-0.01964022032916546,
-0.06269019842147827,
0.03603854030370712,
-0.036165643483400345,
-0.024675337597727776,
0.006256790366023779,
0.03695177286863327,
0.02041683904826641,
-0.016013378277420998,
0.015082281082868576,
0.0033353562466800213,
0.02897045761346817,
-0.04253575950860977,
-0.08533512055873871,
0.010409926995635033,
-0.006419751793146133,
0.02907676249742508,
-0.010497539304196835,
0.01140296645462513,
0.02193511836230755,
-0.05561034008860588,
0.00430426886305213,
0.003610199084505439,
0.006498513277620077,
-0.009949390776455402,
0.009045511484146118,
-0.025545930489897728,
-0.0007780446321703494,
0.10112038254737854,
-0.021438106894493103,
0.027333395555615425,
0.05110150948166847,
0.008660571649670601,
-0.003508643014356494,
0.022440174594521523,
0.029723996296525,
0.02546793594956398,
0.051349908113479614,
-0.03563883155584335,
0.054534394294023514,
-0.013401136733591557,
-0.019493091851472855,
0.027955593541264534,
0.04200998693704605,
-0.03131785988807678,
0.009922533296048641,
0.025565817952156067,
-0.004531144164502621,
-0.007582162972539663,
-0.010410277172923088,
-0.08560293167829514,
0.053157806396484375,
-0.01817481406033039,
-0.26578667759895325,
0.03866351395845413,
0.019367454573512077,
0.04922301322221756,
0.00954451970756054,
-0.0052752564661204815,
0.015640782192349434,
-0.01157470140606165,
0.019205087795853615,
0.032295502722263336,
-0.019278667867183685,
0.048207156360149384,
0.008553269319236279,
-0.006116462405771017,
0.025999298319220543,
-0.009000120684504509,
0.010492679663002491,
-0.002692061010748148,
0.00839773565530777,
-0.001179747050628066,
0.03950309380888939,
-0.02849666215479374,
0.14845691621303558,
0.02400103025138378,
-0.007908184081315994,
0.05130213499069214,
-0.025810126215219498,
0.04544268548488617,
0.09218829870223999,
-0.0225932989269495,
-0.01609847880899906,
0.02202134020626545,
-0.009917470626533031,
0.029023515060544014,
0.010884220711886883,
-0.04823537915945053,
-0.048901453614234924,
0.04079196974635124,
0.025750400498509407,
0.004866699688136578,
0.03830808401107788,
-0.0039051182102411985,
-0.029912669211626053,
0.04326630383729935,
0.08893340080976486,
-0.0036191327963024378,
0.007748965173959732,
-0.033972300589084625,
-0.05798841640353203,
-0.026153361424803734,
-0.03754328563809395,
-0.04933138191699982,
-0.01679092086851597,
-0.023022500798106194,
0.00263211946003139,
0.07432474195957184,
0.0005984306917525828,
-0.04503503441810608,
0.0237098541110754,
-0.005233617965131998,
-0.01841321401298046,
-0.042968593537807465,
0.08418457955121994,
-0.008701998740434647,
0.006671634502708912
] | [
0.043892182409763336,
0.06718519330024719,
-0.01884361356496811,
0.0159195214509964,
-0.02172149159014225,
-0.03497392684221268,
-0.017472323030233383,
0.005508228205144405,
0.000050308924983255565,
0.013502554967999458,
-0.011461077257990837,
-0.0023949439637362957,
0.006485274061560631,
-0.0001777729921741411,
-0.012183589860796928,
-0.0050799427554011345,
0.00798227358609438,
0.01987062394618988,
-0.0007193258497864008,
-0.004676053766161203,
-0.027458375319838524,
0.017188342288136482,
0.04672088101506233,
-0.0006422446458600461,
0.006069405935704708,
0.03378986194729805,
-0.008208807557821274,
-0.018774528056383133,
0.026166459545493126,
-0.11652126163244247,
-0.011975339613854885,
-0.012539785355329514,
-0.009127624332904816,
-0.00022030857508070767,
-0.02937718853354454,
0.023583905771374702,
0.01742546074092388,
-0.0014027380384504795,
-0.004183556884527206,
0.016833681613206863,
0.02677925117313862,
-0.018777180463075638,
-0.03269481658935547,
0.040031686425209045,
0.014686004258692265,
-0.004782665520906448,
-0.02551322616636753,
-0.027007097378373146,
0.023684488609433174,
0.002308380324393511,
-0.04617687687277794,
0.008301659487187862,
-0.037334103137254715,
0.030531879514455795,
-0.006906295195221901,
-0.007227284833788872,
-0.017328178510069847,
0.024587202817201614,
0.002572621451690793,
-0.015580321662127972,
0.012044163420796394,
-0.013325495645403862,
-0.03427165374159813,
-0.017227530479431152,
0.0042680008336901665,
-0.015675436705350876,
-0.009411654435098171,
0.013095158152282238,
-0.011846039444208145,
0.015691159293055534,
-0.008685113862156868,
0.027872856706380844,
-0.02110636793076992,
-0.020959477871656418,
-0.006156647112220526,
0.003136351238936186,
0.026946131139993668,
-0.022494720295071602,
-0.01800527796149254,
-0.009570452384650707,
-0.0033336449414491653,
0.019991979002952576,
0.021228810772299767,
-0.008080190978944302,
-0.027379529550671577,
0.0024089079815894365,
0.02617044188082218,
0.015476390719413757,
0.025951359421014786,
-0.006231124047189951,
-0.01877862587571144,
-0.018588010221719742,
0.008031045086681843,
-0.008157286792993546,
-0.08857300132513046,
-0.014300025068223476,
0.011031121015548706,
-0.003038755152374506,
0.00282169203273952,
0.8511447906494141,
0.01822487823665142,
-0.0014115102821961045,
0.01520870253443718,
0.011265034787356853,
-0.003078568959608674,
-0.0017282251501455903,
0.03659219294786453,
0.014203366823494434,
-0.00798819586634636,
-0.0037821719888597727,
0.03576836362481117,
0.0005463128909468651,
0.021833790466189384,
0.029935989528894424,
0.017579814419150352,
0.03640683367848396,
0.0005412333412095904,
-0.000018565162463346496,
-0.0019993025343865156,
0.03545483946800232,
-0.016262631863355637,
0.022872425615787506,
-0.002602376975119114,
0.041642624884843826,
-0.0034013744443655014,
-0.18080003559589386,
0.012422583065927029,
-6.932740216151468e-33,
0.016814179718494415,
0.007135944906622171,
-0.0020594678353518248,
0.0038861464709043503,
0.015824830159544945,
-0.00903181079775095,
-0.021324947476387024,
0.018433962017297745,
0.00780235743150115,
-0.01338556595146656,
-0.0023344599176198244,
0.0013711265055462718,
-0.011469495482742786,
-0.023302216082811356,
0.00838739424943924,
-0.029836488887667656,
0.016200361773371696,
0.031845711171627045,
0.01788523979485035,
0.0006071278476156294,
0.014567575417459011,
0.032263271510601044,
-0.016000375151634216,
0.0016820428427308798,
0.02236088365316391,
0.032876815646886826,
0.0026429290883243084,
-0.02250322885811329,
0.006864380091428757,
-0.0581548772752285,
-0.03377422317862511,
0.015198789536952972,
-0.03969477489590645,
-0.06455545872449875,
0.009621910750865936,
-0.056608397513628006,
-0.005077453330159187,
-0.0035650210920721292,
-0.03902706876397133,
-0.038693346083164215,
-0.04853694140911102,
0.02392878755927086,
-0.022303501144051552,
-0.056559525430202484,
-0.02710704691708088,
-0.022906702011823654,
0.018583374097943306,
0.023436829447746277,
0.028744101524353027,
-0.010647404007613659,
-0.02043648064136505,
-0.002941285725682974,
-0.009755896404385567,
0.007099968381226063,
-0.0046615079045295715,
-0.007655448745936155,
0.033702898770570755,
-0.0008751622517593205,
0.020982498303055763,
0.055036112666130066,
0.007141213398426771,
-0.003718177555128932,
0.001829680404625833,
0.04229327291250229,
-0.012613027356564999,
-0.0021200927440077066,
-0.008010884746909142,
0.012882792390882969,
0.011977065354585648,
0.03863946720957756,
-0.06703700125217438,
-0.0055047511123120785,
-0.018967173993587494,
-0.010516736656427383,
0.027938764542341232,
-0.021150898188352585,
-0.022403858602046967,
-0.004039218183606863,
-0.03403021767735481,
0.045795638114213943,
-0.015203822404146194,
-0.006501088384538889,
0.021884534507989883,
-0.04057946056127548,
-0.03319981321692467,
0.013442393392324448,
0.015331191942095757,
0.004647542256861925,
-0.009639453142881393,
0.03215837851166725,
0.016865968704223633,
0.02508486434817314,
-0.014472142793238163,
-0.028537724167108536,
-0.03381149470806122,
7.325490511176456e-33,
-0.017843199893832207,
-0.017551030963659286,
-0.013333573937416077,
-0.007569564506411552,
0.018410108983516693,
0.021656380966305733,
0.019760824739933014,
-0.004173731431365013,
-0.03945349529385567,
0.0271906778216362,
-0.02922457456588745,
-0.01591695472598076,
0.0011579063721001148,
0.004012813791632652,
0.048245254904031754,
-0.004081169608980417,
0.012273096479475498,
-0.03892069309949875,
-0.0007075760513544083,
0.04010253772139549,
-0.044829536229372025,
0.016393842175602913,
0.01188728865236044,
-0.009343575686216354,
0.02609194628894329,
0.03567822650074959,
0.01265536155551672,
0.027145110070705414,
-0.020069101825356483,
0.00741124851629138,
-0.027275484055280685,
-0.04415301978588104,
-0.03565235435962677,
-0.024143291637301445,
-0.014872986823320389,
0.040591344237327576,
0.02351311780512333,
0.02757752686738968,
-0.01064255926758051,
0.010111884213984013,
0.0629001334309578,
0.020564138889312744,
-0.008608111180365086,
0.028217270970344543,
0.022937381640076637,
0.03549756482243538,
-0.007644714787602425,
0.008361022919416428,
-0.016808703541755676,
0.032418932765722275,
0.029296953231096268,
0.003058020258322358,
-0.03747987374663353,
0.005568487104028463,
0.01730695739388466,
-0.01426940318197012,
-0.011120920069515705,
0.0008138786652125418,
-0.007394575048238039,
-0.011610501445829868,
-0.02842426858842373,
-0.02124134451150894,
0.01426316425204277,
0.029895814135670662,
-0.03526279702782631,
0.0111347995698452,
-0.01471101213246584,
-0.0034034145064651966,
-0.001747534261085093,
0.022935688495635986,
0.024982992559671402,
-0.01686459593474865,
-0.0015615524025633931,
0.05152589827775955,
-0.005754372570663691,
-0.01560334675014019,
-0.0026913671754300594,
0.005115000065416098,
-0.014251087792217731,
0.015181074850261211,
0.041821304708719254,
0.04793289676308632,
0.023917270824313164,
-0.00781123386695981,
-0.003743180073797703,
-0.0000296190246444894,
-0.03018822893500328,
-0.007113615982234478,
-0.01091267354786396,
-0.008675368502736092,
0.015602179802954197,
-0.0037508453242480755,
-0.03201740235090256,
0.03539038076996803,
-0.010961692780256271,
-1.2675150706797922e-8,
-0.007483572233468294,
0.007745681796222925,
0.002893342636525631,
0.04215119406580925,
0.010172656737267971,
-0.008326997049152851,
-0.005611800588667393,
-0.011389648541808128,
-0.0061136228032410145,
0.008306422270834446,
0.04787958785891533,
-0.046760011464357376,
-0.025385065004229546,
0.012204266153275967,
0.012791530229151249,
-0.05506917089223862,
-0.007689822465181351,
-0.012539484538137913,
0.03372006490826607,
-0.023621393367648125,
0.01735767163336277,
0.07352396845817566,
-0.01156932208687067,
0.005959145724773407,
0.025995096191763878,
0.01932804100215435,
0.004670583643019199,
-0.07152364403009415,
-0.011091628111898899,
-0.021740129217505455,
0.019766047596931458,
-0.019495679065585136,
-0.030690645799040794,
0.02963261492550373,
-0.0070411465130746365,
-0.05330077186226845,
0.01522105373442173,
0.0408470444381237,
0.005521751940250397,
0.027150291949510574,
-0.0046237134374678135,
0.01589960791170597,
0.003513188799843192,
-0.02989550679922104,
-0.010186374187469482,
0.008597178384661674,
-0.035195719450712204,
-0.024730315431952477,
0.05948801711201668,
-0.026853574439883232,
0.01902487501502037,
0.012891554273664951,
0.016340624541044235,
0.020431125536561012,
0.025874027982354164,
-0.010695626959204674,
0.004960330203175545,
-0.06847072392702103,
-0.05597492679953575,
0.007031268905848265,
0.030047083273530006,
0.005304616875946522,
-0.03427363187074661,
-0.03549395129084587
] | soulver-for-all-your-random-calculations | https://markhneedham.com/blog/2014/03/30/soulver-for-all-your-random-calculations |
false | 2014-03-24 23:44:29 | Remote profiling Neo4j using yourkit | [
"neo4j",
"yourkit"
] | [
"neo4j"
] | http://www.yourkit.com/[yourkit] is my favourite JVM profiling tool and whilst it's really easy to profile a local JVM process, sometimes I need to profile a process on a remote machine.
In that case we need to first have the remote JVM started up with a http://www.yourkit.com/docs/80/help/agent.jsp[yourkit agent] parameter passed as one of the args to the Java program.
Since I'm mostly working with Neo4j this means we need to add the following to +++<cite>+++conf/neo4j-wrapper.conf+++</cite>+++:
[source,text]
----
wrapper.java.additional=-agentpath:/Users/markhneedham/Downloads/YourKit_Java_Profiler_2013_build_13074.app/bin/mac/libyjpagent.jnilib=port=8888
----
If we run lsof with the Neo4j process ID we'll see that there's now a socket listening on port 8888:
[source,text]
----
java 4388 markhneedham 20u IPv6 0x901df453b4e9a125 0t0 TCP *:8888 (LISTEN)
...
----
We can connect to that via the 'Monitor Remote Applications' section of yourkit:
image::{{<siteurl>}}/uploads/2014/03/2014-03-24_23-39-59.png[2014 03 24 23 39 59,600]
In this case I'm demonstrating how to connect to it on my laptop and am using localhost but usually we'd specify the remote machine's host name instead.
We also need to ensure that port 8888 is open on any firewalls we have in front of the machine.
The file we refer to in the 'agentpath' flag is a bit different depending on the operating system we're using. All the http://www.yourkit.com/docs/80/help/agent.jsp[details are on the yourkit website]. | null | null | [
0.009550239890813828,
-0.014842471107840538,
-0.004499404691159725,
0.011143581941723824,
0.09483660012483597,
-0.010674574412405491,
0.05358117073774338,
0.007734856568276882,
0.03312317654490471,
-0.030886316671967506,
-0.008032144047319889,
-0.007063021417707205,
-0.050554778426885605,
0.03011937625706196,
-0.02174443192780018,
0.060185108333826065,
0.08743224292993546,
-0.015072117559611797,
0.018894009292125702,
-0.016065899282693863,
0.004665471147745848,
0.06432660669088364,
0.018230969086289406,
0.04119372367858887,
-0.000820367073174566,
0.023327918723225594,
0.011006858199834824,
-0.009546460583806038,
-0.0419183224439621,
-0.019226592034101486,
0.04898593947291374,
0.00028748379554599524,
0.02562224119901657,
-0.015241962857544422,
0.021816177293658257,
-0.008912745863199234,
-0.011507553979754448,
0.023345598950982094,
-0.007094623986631632,
0.021178537979722023,
-0.06350404769182205,
0.04885603114962578,
-0.005063721444457769,
0.0322171151638031,
-0.026983516290783882,
-0.010108387097716331,
-0.01936529390513897,
0.014227384701371193,
0.047972552478313446,
0.02802690491080284,
-0.08368804305791855,
0.019306130707263947,
-0.05691156163811684,
0.0022319843992590904,
0.03521203249692917,
0.0452561117708683,
0.02918095514178276,
-0.09101121872663498,
0.03826978802680969,
-0.01974540390074253,
-0.02119525335729122,
-0.023018399253487587,
0.0158186424523592,
0.033507026731967926,
-0.016187865287065506,
-0.02413785085082054,
0.023404112085700035,
0.05084991455078125,
-0.03309061750769615,
-0.02045794576406479,
0.004715061746537685,
0.026595477014780045,
-0.023187099024653435,
-0.018466463312506676,
0.03919030353426933,
-0.035496219992637634,
0.0016759567661210895,
0.025154873728752136,
0.015275547280907631,
0.07385314255952835,
-0.053990140557289124,
-0.003356482135131955,
0.012273275293409824,
0.013182899914681911,
0.006831195205450058,
-0.051405154168605804,
-0.007554070092737675,
-0.00901828333735466,
-0.04962196201086044,
0.061202436685562134,
0.05649293586611748,
-0.04625241458415985,
-0.005987602286040783,
0.015217767097055912,
-0.03603161498904228,
0.016305798664689064,
0.017821557819843292,
-0.017622726038098335,
0.01718660444021225,
0.00011695557623170316,
-0.03165885806083679,
-0.013555205427110195,
-0.020690856501460075,
0.0323391929268837,
-0.06684597581624985,
0.0024126400239765644,
-0.016380297020077705,
-0.026083193719387054,
-0.006538973189890385,
-0.0023979726247489452,
-0.022922800853848457,
0.02304648421704769,
-0.00519711896777153,
0.0044686999171972275,
-0.07720062881708145,
0.06734871864318848,
-0.013142013922333717,
-0.05200546234846115,
-0.006866293493658304,
0.03172017261385918,
0.05578317865729332,
0.05971415713429451,
-0.02740042842924595,
0.0842311680316925,
-0.0034290330950170755,
0.01866462454199791,
0.012704385444521904,
0.037862252444028854,
-0.018706023693084717,
-0.0586702786386013,
0.01494695246219635,
0.07237400859594345,
0.021859394386410713,
0.019063647836446762,
-0.022589294239878654,
-0.009898096323013306,
0.004948714282363653,
0.02051718533039093,
0.06281958520412445,
0.031616538763046265,
-0.0011616756673902273,
-0.04702235758304596,
0.017325500026345253,
-0.003225728403776884,
0.024234959855675697,
0.0010024836519733071,
-0.0154033238068223,
-0.03812096640467644,
-0.035887639969587326,
0.02290090173482895,
0.011514437384903431,
0.046405695378780365,
0.07589522004127502,
-0.013418061658740044,
0.009696480818092823,
0.10369481891393661,
0.04384395107626915,
0.009421149268746376,
-0.01964680664241314,
0.0006075911805965006,
0.04648227244615555,
0.024431630969047546,
0.011357965879142284,
0.056345392018556595,
-0.001180189079605043,
0.03196834772825241,
0.014218727126717567,
0.032185714691877365,
0.016011707484722137,
-0.0010170381283387542,
-0.04958118125796318,
-0.05335359647870064,
0.06533205509185791,
-0.032506298273801804,
-0.003955706022679806,
0.030712595209479332,
0.07156533002853394,
0.0065355063416063786,
0.03153868019580841,
-0.008511473424732685,
-0.068224236369133,
0.04962427169084549,
0.010747662745416164,
0.00458251079544425,
0.015273029915988445,
0.01688740961253643,
0.06731415539979935,
0.037366803735494614,
-0.03899364918470383,
0.019280103966593742,
-0.0631536990404129,
-0.0734563022851944,
-0.01345881074666977,
-0.016718830913305283,
0.06996050477027893,
-0.028777213767170906,
0.002804884919896722,
0.026362190023064613,
0.024235907942056656,
0.0282059907913208,
0.03130834549665451,
-0.030636871233582497,
0.026571553200483322,
-0.06583526730537415,
-0.0807357057929039,
0.060110367834568024,
0.016985993832349777,
-0.047356538474559784,
-0.026371031999588013,
0.01591651327908039,
-0.03498425707221031,
0.002869155490770936,
0.03157360479235649,
-0.02487797476351261,
0.05131044611334801,
0.023019781336188316,
0.018606793135404587,
-0.03858140856027603,
0.030805224552750587,
-0.03512490168213844,
0.020325619727373123,
0.00036983907921239734,
-0.014442301355302334,
0.020480629056692123,
0.025492709130048752,
0.1014324352145195,
0.06738381087779999,
-0.03243973106145859,
-0.06730528920888901,
0.046823352575302124,
0.01955634541809559,
-0.05411316454410553,
0.017013361677527428,
-0.0252374317497015,
-0.004485054407268763,
-0.025233512744307518,
-0.04483252018690109,
-0.01713840290904045,
-0.006028052419424057,
-0.05234823748469353,
-0.010750752873718739,
0.0808577910065651,
-0.01887926273047924,
0.04459498077630997,
0.016278104856610298,
-0.0284719280898571,
0.014715603552758694,
-0.05244256183505058,
-0.05191199108958244,
0.03690321370959282,
0.0139699662104249,
-0.008085655979812145,
0.04585704952478409,
-0.057041700929403305,
-0.011701105162501335,
-0.03216417506337166,
-0.039293043315410614,
0.03174522891640663,
0.02224365994334221,
0.07117361575365067,
-0.008705345913767815,
0.04703604802489281,
-0.027182210236787796,
0.011429782025516033,
-0.013735108077526093,
-0.03499221429228783,
-0.018305331468582153,
-0.012835884466767311,
0.006422878708690405,
0.009390365332365036,
-0.0055886972695589066,
-0.01952550932765007,
0.012466381303966045,
-0.0118101229891181,
0.022030014544725418,
-0.004257124848663807,
0.01639961265027523,
0.016830436885356903,
0.019907044246792793,
-0.013963538222014904,
-0.027608221396803856,
0.04014208912849426,
-0.046631865203380585,
-0.02882090024650097,
0.006578763015568256,
-0.059214118868112564,
0.02594761550426483,
-0.0927310511469841,
-0.04953903332352638,
-0.021675698459148407,
0.011079076677560806,
0.03575411066412926,
0.024321146309375763,
0.01956949383020401,
0.05585247278213501,
-0.008989479392766953,
0.00730593828484416,
0.038542527705430984,
-0.0013613086193799973,
0.03175897151231766,
-0.0009414164815098047,
0.021288370713591576,
0.011447688564658165,
-0.012961756438016891,
-0.012367181479930878,
-0.06075527146458626,
0.0166159700602293,
-0.06051124632358551,
-0.2921658158302307,
0.052764490246772766,
-0.001064301934093237,
-0.04194661229848862,
0.02501428872346878,
-0.019452231004834175,
0.01815503090620041,
-0.03270989656448364,
-0.016301503404974937,
-0.0012108810478821397,
-0.014803102239966393,
-0.03768724203109741,
-0.009958256967365742,
0.02558443695306778,
-0.011493168771266937,
-0.01486408431082964,
-0.021144025027751923,
-0.04011055454611778,
0.027102502062916756,
-0.014046020805835724,
-0.009335936047136784,
-0.038837116211652756,
0.021937362849712372,
0.032891348004341125,
0.02604561299085617,
0.05151882767677307,
-0.08312176913022995,
0.04699419438838959,
-0.02172277495265007,
-0.0034668678417801857,
-0.014236623421311378,
-0.023953668773174286,
-0.0030157126020640135,
-0.000044584401621250436,
-0.022053394466638565,
-0.019606010988354683,
0.05370019003748894,
0.00047275578253902495,
0.019227461889386177,
0.018904540687799454,
-0.044848278164863586,
-0.05083189159631729,
-0.017629841342568398,
-0.02497057430446148,
0.0762581154704094,
-0.002777928952127695,
-0.0858452171087265,
-0.030942590907216072,
-0.01138906180858612,
0.09470314532518387,
-0.05763571336865425,
-0.025037184357643127,
0.001451119314879179,
0.05119729042053223,
-0.034101977944374084,
-0.03722548484802246,
-0.025630339980125427,
-0.023325173184275627,
-0.03450978174805641,
-0.04148996248841286,
-0.007524134125560522,
-0.04000629857182503,
-0.013842794112861156,
-0.04330707713961601,
-0.005623972043395042,
-0.06112634018063545,
-0.07723430544137955,
-0.02573847584426403,
0.08329444378614426,
-0.004565809853374958,
-0.041690077632665634,
-0.008300918154418468,
-0.008112828247249126,
-0.1117771789431572,
-0.009939427487552166,
-0.018466653302311897,
-0.044190600514411926,
-0.001517103984951973,
0.0072052450850605965,
0.06629493087530136,
-0.05098801851272583,
-0.02601153962314129,
-0.010447770357131958,
-0.006425970233976841,
0.029252348467707634,
-0.026493962854146957,
0.011083969846367836,
-0.027975089848041534,
-0.00010397410369478166,
-0.01691034808754921,
0.05948558822274208,
-0.03054598532617092,
-0.040836870670318604,
-0.02653120644390583,
0.0061989095993340015,
0.024996409192681313,
0.006835946813225746,
0.00867578573524952,
0.02859065867960453,
0.04000683128833771,
0.03896281123161316,
-0.041520439088344574,
0.0026844905223697424,
-0.03357663378119469,
-0.013466130010783672,
0.0002931879716925323,
-0.052288152277469635,
0.018840501084923744,
0.024815283715724945,
0.026885919272899628,
-0.01474643312394619,
-0.03745375573635101,
0.00857565738260746,
-0.05533868074417114,
-0.043354809284210205,
-0.0008351370925083756,
0.01785317435860634,
0.021435510367155075,
0.04046201333403587,
-0.026965808123350143,
-0.033556945621967316,
0.009701264090836048,
0.030369309708476067,
-0.017367159947752953,
-0.053346261382102966,
-0.0033982296008616686,
-0.03219141811132431,
-0.012102438136935234,
0.027749741449952126,
0.015323883853852749,
-0.0037375744432210922,
0.02001689188182354,
0.04712492600083351,
-0.007084183860570192,
0.009625178761780262,
-0.007441054098308086,
-0.026481684297323227,
-0.024616245180368423,
0.021301189437508583,
-0.019568631425499916,
-0.010256873443722725,
0.024883070960640907,
0.0007992905448190868,
0.04305209219455719,
0.03921337425708771,
0.0077509586699306965,
0.04502629488706589,
0.006559146102517843,
0.015081348828971386,
-0.03510316088795662,
0.021909022703766823,
-0.032799094915390015,
0.0312790721654892,
-0.027234766632318497,
-0.050200458616018295,
-0.017256082966923714,
0.036674533039331436,
-0.028838030993938446,
-0.04675711318850517,
-0.02027733251452446,
0.01390133984386921,
-0.07072634249925613,
-0.00408228300511837,
-0.0017947357846423984,
-0.000617242360021919,
0.061335671693086624,
-0.0028128947596997023,
0.03556840121746063,
-0.025064915418624878,
-0.009755621664226055,
0.016487767919898033,
0.0109788216650486,
-0.03253014013171196,
0.01750345341861248,
0.018480051308870316,
0.0246916264295578,
0.003165990114212036,
0.03618096560239792,
0.023152807727456093,
0.012628579512238503,
0.018604520708322525,
-0.01525463443249464,
0.01981424354016781,
0.025538509711623192,
0.03783223405480385,
0.005421791225671768,
-0.03547767549753189,
-0.00574210612103343,
-0.0034385891631245613,
-0.0006560379988513887,
0.0004498288908507675,
0.01628357172012329,
-0.04238131642341614,
0.015832029283046722,
-0.017453962936997414,
-0.07803232967853546,
0.04188290983438492,
-0.004827032331377268,
0.013960262760519981,
0.028660515323281288,
-0.009339479729533195,
0.012592628598213196,
-0.022855572402477264,
0.05420764535665512,
0.05447773262858391,
-0.04299810901284218,
-0.01070572528988123,
0.004276792518794537,
0.01735154166817665,
-0.009835630655288696,
0.003489771392196417,
-0.058102283626794815,
-0.006422945763915777,
0.007774491794407368,
0.01382742915302515,
-0.05545913800597191,
-0.051247984170913696,
-0.011653274297714233,
0.01738649606704712,
-0.0027860517147928476,
0.00893806666135788,
0.011075722053647041,
-0.008164022117853165,
-0.017355697229504585,
-0.03904631361365318,
0.042211588472127914,
-0.0019782506860792637,
0.0014226034982129931,
0.007012899499386549,
-0.013211093842983246,
0.007708045653998852,
-0.04142821952700615,
0.04001276567578316,
0.02831856906414032,
-0.01946602389216423,
-0.012154440395534039,
-0.05726689100265503,
0.01506067905575037,
-0.01695503108203411,
0.04229346290230751,
-0.004553147125989199,
0.02160930261015892,
-0.03307745233178139,
0.01070461142808199,
-0.047035444527864456,
0.004062382970005274,
-0.03903653845191002,
-0.029716240242123604,
0.005732810124754906,
0.0343158021569252,
0.014092305675148964,
0.026106128469109535,
-0.0032904883846640587,
-0.022456645965576172,
0.06300109624862671,
-0.0651501938700676,
-0.04934007674455643,
0.010930074378848076,
-0.0588521882891655,
0.026211723685264587,
0.02381644956767559,
-0.00787806510925293,
-0.04471229761838913,
0.05726711452007294,
0.04733945056796074,
-0.014345187693834305,
0.003858652664348483,
-0.015185344964265823,
0.013856773264706135,
-0.03894348070025444,
-0.019498612731695175,
-0.08714836090803146,
0.024277713149785995,
0.03753183037042618,
-0.000612672243732959,
0.007077562157064676,
0.005894595757126808,
-0.04509231448173523,
0.015641510486602783,
-0.07219032198190689,
-0.008618376217782497,
0.02887796424329281,
-0.025660157203674316,
-0.01784525439143181,
0.0030442290008068085,
-0.05804590508341789,
0.03378557413816452,
0.028558719903230667,
-0.04614800587296486,
-0.023691199719905853,
-0.045228518545627594,
0.03994809091091156,
0.0034486548975110054,
0.04293191805481911,
-0.040855295956134796,
-0.018511993810534477,
0.07842312753200531,
0.022613711655139923,
0.005358673166483641,
0.0554521307349205,
0.010176196694374084,
0.030184006318449974,
0.036890577524900436,
-0.008772457018494606,
0.0038829122204333544,
0.013216497376561165,
-0.02110963687300682,
-0.053550150245428085,
0.021052993834018707,
0.020480042323470116,
-0.030321335420012474,
-0.039121028035879135,
0.05130913853645325,
0.023264966905117035,
-0.02973863296210766,
-0.03705437481403351,
0.04654577001929283,
-0.0323098748922348,
-0.025160469114780426,
-0.05659981444478035,
0.03717789426445961,
-0.03358437865972519,
0.03237351402640343,
-0.02299492433667183,
0.019115762785077095,
0.07055111229419708,
-0.017556771636009216,
-0.01130740623921156,
0.0027633279096335173,
0.10003255307674408,
0.08537337929010391,
0.010683709755539894,
0.014703486114740372,
0.06663860380649567,
0.015368584543466568,
-0.03420263156294823,
-0.019316617399454117,
-0.00894966907799244,
-0.0522782988846302,
0.006047804839909077,
0.0020369919948279858,
0.07424937933683395,
-0.03298644348978996,
0.07565199583768845,
-0.023152856156229973,
-0.009405409917235374,
0.016864195466041565,
0.01660589687526226,
0.026844613254070282,
0.030465243384242058,
0.01885952614247799,
0.035438477993011475,
-0.008775982074439526,
-0.020897511392831802,
0.031200159341096878,
-0.03818340227007866,
-0.03690904751420021,
0.013299916870892048,
-0.012164301238954067,
0.011223220266401768,
0.02250155247747898,
0.031510256230831146,
0.074847012758255,
-0.016791069880127907,
0.00543549470603466,
-0.00201614573597908,
0.03718504309654236,
-0.01634211838245392,
0.006283621769398451,
-0.012786023318767548,
-0.02556619979441166,
-0.016614452004432678,
-0.008470959961414337,
-0.008510595187544823,
-0.0319952517747879,
-0.019986925646662712,
0.012468441389501095,
-0.03949661925435066,
0.01755903661251068,
0.00627478864043951,
-0.01104756910353899,
-0.046523090451955795,
-0.04330834001302719,
-0.05536026507616043,
-0.053381338715553284,
-0.04470501467585564,
-0.018262334167957306,
0.0060408576391637325,
0.0010470435954630375,
-0.03430350497364998,
-0.0012316562933847308,
-0.03914576396346092,
-0.026335997506976128,
0.041175007820129395,
-0.07365936040878296,
0.006058589555323124,
-0.0014090494951233268,
0.008667717687785625,
0.014583603478968143,
0.029042713344097137,
0.05667668953537941,
-0.01688406430184841,
-0.005933257285505533,
-0.03509620577096939,
-0.003251635003834963,
0.04629790410399437,
0.01920587196946144,
-0.006088715512305498,
-0.07259426265954971,
0.015262536704540253,
0.035994965583086014,
-0.005223365966230631,
-0.05325257033109665,
0.004123566672205925,
0.035896703600883484,
0.013228165917098522,
0.04735000431537628,
-0.005812699440866709,
0.00801460724323988,
-0.027013221755623817,
-0.004865462426096201,
-0.009983981028199196,
0.003677990520372987,
0.03962849825620651,
0.009759368374943733,
0.0821729302406311,
0.05304793268442154,
-0.01770768314599991,
-0.027448978275060654,
-0.0136102931573987,
0.005715813487768173,
0.001752916956320405,
-0.02964753471314907,
-0.025686798617243767,
-0.03659246489405632,
-0.07992597669363022,
-0.02627142332494259,
0.034121885895729065,
-0.004302113316953182,
-0.025231802836060524,
0.024148572236299515,
0.014169727452099323,
-0.03412524238228798,
-0.005797529127448797,
-0.04288658872246742,
0.024786386638879776,
-0.035679470747709274,
-0.023536106571555138,
-0.01959165744483471,
0.030057720839977264,
0.011705165728926659,
-0.03578983247280121,
0.03275308385491371,
-0.03656715154647827,
0.002603106200695038,
-0.00833952333778143,
0.04078926891088486,
0.05035575106739998,
0.0020303416531533003,
0.0034756422974169254
] | [
-0.05017698183655739,
-0.029459459707140923,
0.011121271178126335,
-0.0490582175552845,
0.04345395788550377,
-0.03940882906317711,
0.020420553162693977,
0.04682912677526474,
-0.015808245167136192,
-0.032523464411497116,
0.018130136653780937,
-0.025386346504092216,
0.004444947000592947,
-0.014759108424186707,
0.10706330835819244,
-0.0110100619494915,
-0.02846706472337246,
-0.031237909570336342,
0.015183712355792522,
0.028085337951779366,
-0.04541302099823952,
-0.026636352762579918,
-0.012951529584825039,
-0.04606237635016441,
0.03257053717970848,
0.04315744340419769,
0.059674814343452454,
-0.029626810923218727,
-0.014370270073413849,
-0.18843546509742737,
0.008206437341868877,
-0.02351406402885914,
0.01737632043659687,
0.02153838239610195,
-0.013750777579843998,
0.04535376653075218,
0.011115186847746372,
-0.04495057836174965,
0.008841567672789097,
0.007163347210735083,
0.026596354320645332,
-0.008623391389846802,
-0.04700019210577011,
0.007553753908723593,
0.019025210291147232,
-0.041177596896886826,
0.04020329937338829,
-0.02703660912811756,
-0.010726439766585827,
-0.010593087412416935,
-0.03537343814969063,
-0.014934267848730087,
0.052183859050273895,
-0.012388033792376518,
0.051213789731264114,
-0.004469971638172865,
0.0405275784432888,
0.07714270055294037,
0.04382234066724777,
0.03517778217792511,
-0.02339634671807289,
0.011080042459070683,
-0.14358045160770416,
0.06932072341442108,
0.018029166385531425,
0.004706802312284708,
-0.024312244728207588,
-0.01051026489585638,
-0.006238637492060661,
0.05059610307216644,
-0.008766992948949337,
0.015531109645962715,
-0.0713224858045578,
0.03223029151558876,
-0.027432305738329887,
-0.026838205754756927,
-0.0031768656335771084,
0.053839340806007385,
0.04441676661372185,
-0.03944747895002365,
-0.06679648160934448,
0.0026350985281169415,
-0.035705626010894775,
-0.050661850720644,
-0.06060309335589409,
0.05647166818380356,
-0.001282488345168531,
0.06437986344099045,
0.039265621453523636,
0.014670539647340775,
0.00463148346170783,
0.014378372579813004,
0.0347931832075119,
-0.005370771512389183,
-0.08546023815870285,
-0.011753993108868599,
0.011943330988287926,
0.009519899263978004,
-0.033604711294174194,
0.39944350719451904,
-0.0026713870465755463,
-0.027004744857549667,
0.02391357347369194,
0.02302817814052105,
0.01625804789364338,
-0.02067316696047783,
-0.05623504891991615,
-0.03916587308049202,
0.05620210990309715,
-0.007485231384634972,
0.022400137037038803,
-0.013642849400639534,
0.03635135293006897,
-0.06521116197109222,
0.03998705372214317,
0.0015725205885246396,
0.03801139071583748,
0.03986392170190811,
-0.0021808163728564978,
0.004754339810460806,
-0.005378129426389933,
0.01830451376736164,
0.0485706552863121,
0.00509344507008791,
0.06331869214773178,
-0.003178458893671632,
0.01989460363984108,
0.0317227803170681,
0.034179527312517166,
0.01968616247177124,
0.02298087626695633,
-0.01962713897228241,
-0.04958365112543106,
0.0017092530615627766,
0.02030232921242714,
0.030188992619514465,
0.04244659096002579,
-0.05312855541706085,
-0.01646699570119381,
0.014536638744175434,
-0.019198214635252953,
0.015456389635801315,
-0.006375503726303577,
-0.014491257257759571,
-0.026814104989171028,
0.08578220754861832,
0.007028533145785332,
-0.024947088211774826,
-0.008627536706626415,
-0.07249487191438675,
0.008028549142181873,
0.056347399950027466,
-0.014810899272561073,
-0.04742608219385147,
0.016635993495583534,
0.012459052726626396,
0.0665331706404686,
0.016351476311683655,
-0.07994578033685684,
0.01703139767050743,
-0.020854860544204712,
-0.04772241786122322,
-0.01566110923886299,
0.06704940646886826,
0.03602491691708565,
-0.11954152584075928,
-0.026888258755207062,
0.04808541387319565,
-0.005719861947000027,
-0.07433038204908371,
-0.03084053099155426,
0.022332213819026947,
-0.035584621131420135,
-0.0173912663012743,
0.027907315641641617,
-0.03841580078005791,
-0.03726113215088844,
0.02621845342218876,
0.02070274017751217,
-0.0012438703561201692,
-0.0139412647113204,
0.001535085728392005,
-0.022442150861024857,
-0.021608613431453705,
-0.018317973241209984,
-0.06909902393817902,
-0.050699006766080856,
-0.006869599688798189,
-0.040275588631629944,
-0.054380714893341064,
-0.047469183802604675,
-0.022648796439170837,
-0.052182748913764954,
0.05307389050722122,
0.0244495440274477,
-0.006834312342107296,
-0.005973948631435633,
-0.015273001976311207,
0.014076728373765945,
-0.046462688595056534,
0.03452857956290245,
0.048979416489601135,
-0.013411860913038254,
0.05382654815912247,
-0.10146138072013855,
0.042676083743572235,
0.030068889260292053,
-0.007828332483768463,
0.050738900899887085,
0.03197275474667549,
-0.05964561924338341,
0.009668998420238495,
-0.0136672742664814,
0.02514462359249592,
-0.05450891703367233,
-0.036983802914619446,
-0.036737456917762756,
0.047486234456300735,
0.05374680832028389,
0.05284656956791878,
-0.03838951885700226,
0.052546560764312744,
-0.03817997872829437,
-0.3528740406036377,
-0.027630861848592758,
-0.003944655414670706,
0.008819203823804855,
0.0010353086981922388,
-0.03859977051615715,
0.024792766198515892,
-0.02696014568209648,
0.04541792348027229,
0.01097850687801838,
0.14242695271968842,
-0.020405111834406853,
0.016901852563023567,
-0.06517048180103302,
-0.006367893423885107,
0.06445364654064178,
-0.001204709755256772,
-0.024705786257982254,
-0.015298505313694477,
0.0026735211722552776,
0.009826578199863434,
-0.020397184416651726,
-0.03676437586545944,
0.0017334200674667954,
0.007804444525390863,
-0.015022815205156803,
0.09478803724050522,
0.002489460865035653,
0.0725361704826355,
-0.07252908498048782,
0.06789863854646683,
0.006879275664687157,
-0.017555605620145798,
-0.1014227569103241,
-0.05922204256057739,
-0.046941641718149185,
0.012690828181803226,
0.030913660302758217,
0.013797984458506107,
0.0003392857906874269,
-0.08140647411346436,
-0.007474179845303297,
-0.0034043348859995604,
-0.07491558790206909,
-0.009978413581848145,
-0.010438969358801842,
-0.005169515032321215,
-0.03317701071500778,
0.023850299417972565,
0.0357993021607399,
0.014208221808075905,
0.024978648871183395,
0.009722377173602581,
0.026844050735235214,
0.021880608052015305,
-0.037502337247133255,
-0.05377412959933281,
-0.03848724812269211,
-0.01296431478112936,
0.023092880845069885,
0.01635604351758957,
0.06723576039075851,
0.0017805080860853195,
-0.08853691816329956,
0.043895818293094635,
-0.008481026627123356,
0.03126983344554901,
0.027196208015084267,
0.0585109181702137,
-0.029127180576324463,
-0.016924336552619934,
0.07715222984552383,
0.021272366866469383,
0.03237159177660942,
0.03982215002179146,
0.001420300453901291,
0.0123045789077878,
0.0018513448303565383,
0.02991463430225849,
0.008007821626961231,
0.04105711355805397,
-0.031681545078754425,
0.052185893058776855,
-0.03468319773674011,
-0.012013322673738003,
0.06517200917005539,
-0.019256381317973137,
-0.0037054955027997494,
0.04516402631998062,
-0.0065494985319674015,
-0.04455506056547165,
-0.010847438126802444,
-0.009171107783913612,
-0.04687642306089401,
0.05599907040596008,
0.012320911511778831,
-0.23811222612857819,
0.025732675567269325,
0.00707297632470727,
0.07504468411207199,
-0.01999678835272789,
-0.04372439533472061,
0.025871725752949715,
-0.07585035264492035,
-0.0399632528424263,
0.04700588434934616,
0.015293492004275322,
0.03222226724028587,
-0.012347514741122723,
-0.002019226783886552,
0.05462499335408211,
-0.004988421685993671,
0.033530108630657196,
0.01973670907318592,
0.009519226849079132,
-0.024267682805657387,
0.035881612449884415,
-0.013712943531572819,
0.1919783055782318,
0.006624157074838877,
0.01201611664146185,
0.08772745728492737,
-0.011576052755117416,
-0.003287643427029252,
0.0620715469121933,
-0.00784942228347063,
0.01185929961502552,
0.012599896639585495,
0.0416952483355999,
0.03126989305019379,
0.04846056550741196,
-0.07144507765769958,
-0.01409128587692976,
0.037314094603061676,
0.00922423880547285,
-0.022144949063658714,
0.013605696149170399,
0.027568692341446877,
-0.04849347099661827,
0.016951870173215866,
0.06835661828517914,
-0.04888537526130676,
-0.04065019264817238,
-0.011812669225037098,
-0.017913177609443665,
-0.028643235564231873,
-0.04200778156518936,
-0.09081205725669861,
-0.01649162545800209,
0.0176790039986372,
0.02808721736073494,
0.07714550942182541,
0.02402329444885254,
-0.014176571741700172,
-0.030284617096185684,
0.03109356015920639,
-0.012822546064853668,
-0.03174085170030594,
0.10366969555616379,
-0.012875670567154884,
0.0038037626072764397
] | [
0.026292435824871063,
0.03040650673210621,
-0.024626923725008965,
0.0016076660249382257,
0.026419619098305702,
0.009927073493599892,
-0.015067512169480324,
0.03917606174945831,
-0.032353829592466354,
-0.015886232256889343,
-0.008485575206577778,
-0.006488054990768433,
0.017238173633813858,
0.017650794237852097,
0.01841268315911293,
-0.005297299008816481,
0.007555766496807337,
0.0539451539516449,
0.03214385733008385,
-0.022137612104415894,
-0.03395555540919304,
0.006763030309230089,
0.06824876368045807,
-0.06641967594623566,
-0.018363164737820625,
0.009578704833984375,
0.017238087952136993,
-0.02095968835055828,
0.013740516267716885,
-0.1332947015762329,
0.02554926648736,
-0.019726069644093513,
-0.05044829100370407,
0.013615915551781654,
-0.000842174282297492,
0.02057773806154728,
0.016787614673376083,
0.023659219965338707,
-0.03261645510792732,
0.01750575751066208,
0.0019244113937020302,
-0.014132911339402199,
-0.01661130227148533,
0.013376429677009583,
-0.001230187714099884,
-0.024933762848377228,
-0.04212724044919014,
-0.05757855996489525,
-0.012465586885809898,
-0.03433334827423096,
-0.038889795541763306,
-0.004406762309372425,
-0.004498833324760199,
0.03086661919951439,
-0.0008975142845883965,
-0.026088779792189598,
-0.000911224284209311,
-0.00023897437495179474,
0.027343928813934326,
0.019536415114998817,
0.021429287269711494,
0.008830580860376358,
-0.026590494439005852,
-0.036012668162584305,
-0.030866241082549095,
-0.030847636982798576,
0.011007172986865044,
-0.0013734429376199841,
-0.010141387581825256,
0.013802946545183659,
-0.027190666645765305,
0.06556669622659683,
-0.06784521043300629,
-0.046060219407081604,
-0.04431749880313873,
-0.015157125890254974,
0.023566244170069695,
-0.004284858703613281,
0.005749756935983896,
0.026490597054362297,
-0.0007657174137420952,
-0.0008025275892578065,
-0.036053985357284546,
0.022787107154726982,
-0.025158364325761795,
0.025551678612828255,
-0.0350598506629467,
-0.040206920355558395,
0.028268462046980858,
0.04959497228264809,
0.014277337118983269,
0.04284467548131943,
-0.006200676318258047,
0.0027937344275414944,
-0.0886920616030693,
-0.004004770424216986,
0.00932555552572012,
-0.01435263454914093,
0.006332059390842915,
0.8277618885040283,
-0.017786316573619843,
-0.02467728592455387,
0.026211464777588844,
0.04210168868303299,
0.023736342787742615,
-0.01596963219344616,
0.002736537717282772,
0.02553078718483448,
-0.003026804653927684,
0.010854517109692097,
0.02040821872651577,
-0.004862494766712189,
0.02485583908855915,
0.022469140589237213,
0.026754774153232574,
0.009334743022918701,
0.059589408338069916,
0.004503645468503237,
-0.007044715341180563,
0.05213335156440735,
0.021538730710744858,
0.02728579193353653,
0.009209813550114632,
0.02636939287185669,
-0.012827740982174873,
-0.1496904492378235,
0.03498866409063339,
-6.888955255635245e-33,
0.053141217678785324,
-0.007876035757362843,
0.04061797261238098,
0.02221614494919777,
0.0050741275772452354,
-0.02221418358385563,
0.004455110523849726,
-0.0037087788805365562,
-0.011737313121557236,
-0.04356978461146355,
-0.0030936659313738346,
-0.012913653627038002,
-0.010642197914421558,
0.0005971872014924884,
-0.02551215887069702,
0.004470773972570896,
0.01062565017491579,
0.054682981222867966,
-0.02704036422073841,
0.03009200654923916,
-0.002974343253299594,
0.014724206179380417,
-0.004814518615603447,
0.021878089755773544,
0.0040074908174574375,
0.02889311872422695,
0.006937752477824688,
-0.0022052654530853033,
-0.01220732182264328,
-0.047067273408174515,
-0.004704317543655634,
0.023971760645508766,
-0.022880204021930695,
-0.009775702841579914,
0.00407462427392602,
-0.07053979486227036,
-0.01944982260465622,
-0.00930520985275507,
-0.05093298479914665,
-0.06441646814346313,
-0.05306869372725487,
0.009461836889386177,
-0.007613820489495993,
-0.022683938965201378,
-0.04008900746703148,
-0.03229528293013573,
-0.0014904270647093654,
0.005956029985100031,
-0.0007171141332946718,
0.04118233546614647,
-0.014215746894478798,
0.00005286662053549662,
-0.01009485125541687,
0.019977958872914314,
-0.017108546569943428,
0.014182844199240208,
0.016425808891654015,
0.02222147025167942,
-0.029643747955560684,
0.008023127913475037,
0.02396920882165432,
0.013597549870610237,
-0.03498147800564766,
0.01932007074356079,
0.023289641365408897,
-0.027841227129101753,
0.028863705694675446,
-0.014018360525369644,
-0.0038383202627301216,
0.040229521691799164,
-0.06539604812860489,
0.056049346923828125,
-0.007479851599782705,
-0.019964804872870445,
0.007657261099666357,
-0.06589269638061523,
0.00231230934150517,
0.05451768636703491,
0.00014297757297754288,
0.05333294719457626,
0.016794778406620026,
0.024916639551520348,
0.0007990822778083384,
-0.031688276678323746,
0.010555501095950603,
0.005278173368424177,
0.005951439496129751,
-0.011953466571867466,
0.013465669937431812,
0.02047096937894821,
0.03016785904765129,
0.0362406000494957,
-0.02482757158577442,
-0.007158173713833094,
-0.06684411317110062,
6.301139019930991e-33,
-0.01851598732173443,
-0.024566704407334328,
-0.03535054996609688,
0.0057629067450761795,
0.015966497361660004,
0.012834437191486359,
0.014796003699302673,
0.016892723739147186,
-0.045460935682058334,
0.01104573905467987,
-0.023575643077492714,
-0.0020401671063154936,
0.008618929423391819,
0.02065354213118553,
0.03773289546370506,
-0.0012957766884937882,
-0.004807397723197937,
-0.009499192237854004,
0.011182840913534164,
-0.008938262239098549,
0.013383816927671432,
0.013070224784314632,
0.02104664407670498,
0.00781974196434021,
0.05239322781562805,
-0.016858432441949844,
0.022758176550269127,
0.031202023848891258,
-0.04851195961236954,
-0.013458947651088238,
0.06690159440040588,
-0.02748628705739975,
-0.025674190372228622,
-0.04632280021905899,
0.008838677778840065,
0.00981302373111248,
0.0015138876624405384,
0.037982601672410965,
0.015536719001829624,
-0.0016923570074141026,
0.02313970774412155,
-0.0064262449741363525,
-0.02700822427868843,
0.014747603796422482,
-0.011799980886280537,
0.024825043976306915,
0.005739221815019846,
0.003792273113504052,
0.013453825376927853,
-0.007767881732434034,
-0.01941516622900963,
0.03135329484939575,
0.00284576159901917,
0.021440312266349792,
-0.009993031620979309,
-0.004404460079967976,
-0.023642290383577347,
0.0471268892288208,
0.026610273867845535,
0.019474763423204422,
0.01799415424466133,
-0.043118637055158615,
-0.012578120455145836,
0.007117839530110359,
-0.034684550017118454,
-0.027861403301358223,
-0.010173655115067959,
-0.009127896279096603,
0.016838999465107918,
-0.019643258303403854,
0.006978039629757404,
0.0002643723273649812,
-0.013444991782307625,
0.026375960558652878,
0.004439538344740868,
-0.04466306045651436,
0.012680250220000744,
-0.03191833198070526,
-0.038038767874240875,
0.02428181655704975,
0.011609782464802265,
0.05120135843753815,
-0.002569772768765688,
-0.02500484511256218,
0.03904270753264427,
-0.00017439937801100314,
-0.019991882145404816,
0.03549499437212944,
-0.019032960757613182,
-0.00014443823602050543,
0.007498208899050951,
0.0017490905011072755,
-0.044539399445056915,
0.0291423536837101,
-0.059390485286712646,
-1.2452175290889045e-8,
0.005119008477777243,
-0.003119263332337141,
-0.0017226646887138486,
-0.0007180307875387371,
-0.014097006060183048,
0.02643771842122078,
-0.022068653255701065,
-0.020715992897748947,
-0.023599985986948013,
0.01601647585630417,
0.03223055601119995,
-0.013274990022182465,
-0.0032629973720759153,
0.039679158478975296,
0.030621329322457314,
-0.05245869606733322,
-0.004996997304260731,
0.032622333616018295,
0.029167696833610535,
0.011725223623216152,
0.0530865378677845,
0.00845370627939701,
-0.007354864850640297,
0.024595454335212708,
0.003222821280360222,
-0.0014416653430089355,
0.024637047201395035,
-0.06154851242899895,
-0.03171314299106598,
-0.007958977483212948,
-0.042812321335077286,
-0.012289172038435936,
-0.027310682460665703,
0.0007714724051766098,
-0.03432583808898926,
-0.004541867878288031,
-0.04411434009671211,
0.0009809744078665972,
-0.003307079430669546,
0.016952350735664368,
-0.009213409386575222,
0.008132733404636383,
-0.036399006843566895,
-0.014292428269982338,
-0.017897743731737137,
0.013510772958397865,
-0.030072584748268127,
-0.016787024214863777,
0.027708204463124275,
-0.013372021727263927,
0.016274714842438698,
-0.01711263321340084,
0.027910394594073296,
0.022297492250800133,
0.042319316416978836,
-0.01918642781674862,
0.029421282932162285,
-0.05142756551504135,
-0.009458160027861595,
-0.025564098730683327,
0.03629414737224579,
0.00684555247426033,
-0.024737684056162834,
-0.006912593729794025
] | remote-profiling-neo4j-using-yourkit | https://markhneedham.com/blog/2014/03/24/remote-profiling-neo4j-using-yourkit |
false | 2014-03-23 21:18:36 | Functional Programming in Java - Venkat Subramaniam: Book Review | [
"book-review"
] | [
"Books"
] | I picked up Venkat Subramaniam's 'http://pragprog.com/book/vsjava8/functional-programming-in-java[Functional Programming in Java: Harnessing the Power of Java 8 Lambda Expressions]' to learn a little bit more about Java 8 having struggled to find any online tutorials which did that.
A big chunk of the book focuses on lambdas, http://www.markhneedham.com/blog/2009/01/19/f-vs-c-vs-java-functional-collection-parameters/[functional collection parameters] and lazy evaluation which will be familiar to users of C#, Clojure, Scala, Haskell, Ruby, Python, F# or libraries like https://code.google.com/p/totallylazy/[totallylazy] and https://code.google.com/p/guava-libraries/[Guava].
Although I was able to race through the book quite quickly it was still interesting to see how Java 8 is going to reduce the amount of code we need to write to do simple operations on collections.
I wrote up my thoughts on http://www.markhneedham.com/blog/2014/02/26/java-8-lambda-expressions-vs-auto-closeable/[lambda expressions instead of auto closeable], using http://www.markhneedham.com/blog/2014/02/23/java-8-group-by-with-collections/[group by on collections] and http://www.markhneedham.com/blog/2014/02/23/java-8-sorting-values-in-collections/[sorting values in collections] in previous blog posts.
I noticed a couple of subtle differences in the method names added to collection e.g. skip/limit are there instead of take/drop for grabbing a subset of said collection.
There are also methods such as 'mapToInt' and 'mapToDouble' where in other languages you'd just have a single 'map' and it would handle everything.
Over the last couple of years I've used totallylazy on Java projects to deal with collections and while I like the style of code it encourages you end up with a lot of code due to all the anonymous classes you have to create.
In Java 8 lambdas are a first class concept which should make using totallylazy even better.
In a previous blog post I showed how you'd go about sorted a collection of people by age. In Java 8 it would look like this:
[source,java]
----
List<Person> people = Arrays.asList(new Person("Paul", 24), new Person("Mark", 30), new Person("Will", 28));
people.stream().sorted(comparing(p -> p.getAge())).forEach(System.out::println)
----
I find the 'comparing' function that we have to use a bit unintuitive and this is what we'd have using totallylazy pre Java 8:
[source,java]
----
Sequence<Person> people = sequence(new Person("Paul", 24), new Person("Mark", 30), new Person("Will", 28));
people.sortBy(new Callable1<Person, Integer>() {
@Override
public Integer call(Person person) throws Exception {
return person.getAge();
}
});
----
Using Java 8 lambdas the code is much simplified:
[source,java]
----
Sequence<Person> people = sequence(new Person("Paul", 24), new Person("Mark", 30), new Person("Will", 28));
System.out.println(people.sortBy(Person::getAge));
----
If we use 'forEach' to print out each person individually we end up with the following:
[source,java]
----
Sequence<Person> people = sequence(new Person("Paul", 24), new Person("Mark", 30), new Person("Will", 28));
people.sortBy(Person::getAge).forEach((Consumer<? super Person>) System.out::println);
----
The compiler can't work out whether we want to use the forEach method from totallylazy or from Iterable so we end up having to cast which is a bit nasty.
I haven't yet tried converting the totallylazy code I've written but my thinking is that the real win of Java 8 will be making it easier to use libraries like totallylazy and Guava.
Overall the book describes Java 8's features very well but if you've used any of the languages I mentioned at the top it will all be very familiar - finally Java has caught up with the rest! | null | null | [
0.004982557613402605,
-0.02563232183456421,
-0.0056515904143452644,
-0.0053082178346812725,
0.06338315457105637,
0.002412470756098628,
0.03460857272148132,
0.008352605625987053,
-0.00033273815643042326,
-0.017230262979865074,
0.008648407645523548,
-0.004424861166626215,
-0.061173584312200546,
0.020895034074783325,
-0.028925597667694092,
0.07451583445072174,
0.06950198113918304,
-0.02956811897456646,
0.02048071287572384,
0.010444724932312965,
0.011337942443788052,
0.06480151414871216,
0.021712126210331917,
0.036669399589300156,
0.020748864859342575,
0.004440686199814081,
0.01675671525299549,
-0.007080812007188797,
-0.05341557040810585,
-0.019854310899972916,
0.03714299947023392,
0.017936984077095985,
-0.023543521761894226,
0.009456483647227287,
-0.007261575199663639,
-0.028035197407007217,
0.005797583609819412,
0.004531200043857098,
0.001398098305799067,
0.04268312826752663,
-0.062274083495140076,
0.03192861005663872,
-0.018616506829857826,
0.01910705305635929,
-0.04110584408044815,
0.0136621268466115,
-0.03751160949468613,
0.0023878244683146477,
-0.030456623062491417,
-0.003398916218429804,
-0.048884741961956024,
0.021676145493984222,
-0.017948804423213005,
0.009564831852912903,
-0.02288968488574028,
0.050162896513938904,
-0.00501571549102664,
-0.07377686351537704,
0.02151639200747013,
-0.05085019767284393,
0.00727973785251379,
-0.013201783411204815,
-0.0019358390709385276,
0.01880687288939953,
0.016696970909833908,
-0.008408728055655956,
-0.05372491478919983,
0.03565618395805359,
-0.051316287368535995,
-0.015372687950730324,
-0.01957256905734539,
0.03557474538683891,
-0.010131364688277245,
-0.007992498576641083,
0.0017919035162776709,
-0.041756771504879,
-0.013288978487253189,
0.06618762016296387,
0.013018553145229816,
0.030792485922574997,
-0.025729715824127197,
0.00016622396651655436,
0.05631348490715027,
0.025590967386960983,
0.031278274953365326,
-0.019281523302197456,
-0.04180851951241493,
-0.026555372402071953,
-0.026016265153884888,
0.05048587918281555,
0.030871834605932236,
-0.048045556992292404,
-0.008905363269150257,
0.049358464777469635,
-0.014587676152586937,
0.003081634407863021,
0.019890502095222473,
-0.020528579130768776,
-0.012714662589132786,
0.019856702536344528,
-0.021217137575149536,
-0.04233977198600769,
0.023838000372052193,
-0.017414899542927742,
-0.06042446196079254,
-0.030704660341143608,
-0.01943245530128479,
-0.003846928244456649,
0.01317954994738102,
0.01740499772131443,
-0.05107033625245094,
0.01146901398897171,
-0.038881782442331314,
-0.004887458868324757,
-0.08424026519060135,
0.053702667355537415,
0.0048100920394063,
-0.030925866216421127,
-0.023595862090587616,
0.035648733377456665,
0.05281985551118851,
0.04653576761484146,
0.01850445754826069,
0.0806720182299614,
0.008792392909526825,
0.01992814987897873,
-0.004187367390841246,
0.060684435069561005,
0.015051951631903648,
-0.04821329936385155,
-0.009353859350085258,
0.0464291051030159,
-0.03265957534313202,
0.0018759622471407056,
-0.009521815925836563,
-0.032463815063238144,
-0.036297887563705444,
0.03619082644581795,
0.04932969808578491,
0.042500320822000504,
-0.004890470765531063,
-0.047654736787080765,
0.035209622234106064,
-0.027340209111571312,
0.02419447898864746,
0.007252022624015808,
0.0035752716939896345,
-0.00287437136285007,
-0.017027722671628,
-0.010773371905088425,
0.023726679384708405,
0.05252014845609665,
0.02284923754632473,
-0.024540837854146957,
0.03754090145230293,
0.08245808631181717,
0.009197905659675598,
0.029652439057826996,
0.013958549126982689,
0.03060395084321499,
0.0432598702609539,
0.04630326107144356,
0.012107369489967823,
0.02554755099117756,
0.001172883901745081,
0.005597749259322882,
-0.002475540619343519,
0.07950807362794876,
-0.0021608585957437754,
-0.017372049391269684,
-0.05414159595966339,
-0.05121367797255516,
0.035679493099451065,
-0.03624390438199043,
-0.024044429883360863,
-0.0035800226032733917,
0.08875849843025208,
0.0031626811251044273,
0.061950623989105225,
-0.014052759855985641,
-0.06749344617128372,
0.018458370119333267,
0.009707028977572918,
0.01893109641969204,
0.03287656977772713,
0.009127013385295868,
0.060993485152721405,
0.033868949860334396,
0.013577545993030071,
0.017922820523381233,
-0.04569803178310394,
-0.0736575573682785,
-0.019595807418227196,
-0.016428671777248383,
0.06768565624952316,
-0.01947227120399475,
-0.0057883840054273605,
0.05738789960741997,
0.017505597323179245,
0.0494820810854435,
0.03837110847234726,
-0.009586898609995842,
0.0014385940739884973,
-0.02511312998831272,
-0.04268542304635048,
0.043176423758268356,
0.029343638569116592,
-0.014804414473474026,
-0.044207338243722916,
0.021213442087173462,
0.010362437926232815,
-0.006224202923476696,
0.016174642369151115,
-0.029748084023594856,
0.05672094225883484,
0.03804974630475044,
0.02988298051059246,
-0.04180072247982025,
0.0774124339222908,
-0.05711221694946289,
0.016660088673233986,
0.022156832739710808,
-0.01424519345164299,
0.008218150585889816,
0.008777393959462643,
0.11227591335773468,
0.06880313903093338,
-0.05319084972143173,
-0.04243207350373268,
0.01968565583229065,
0.03062143549323082,
-0.05081469938158989,
-0.00680124294012785,
-0.01374415960162878,
0.01694515347480774,
-0.0063063716515898705,
-0.01478158961981535,
-0.018324928358197212,
0.011735058389604092,
-0.034156691282987595,
-0.025172967463731766,
0.06818488985300064,
-0.013224995695054531,
0.06230456009507179,
0.02951030060648918,
-0.03423212096095085,
0.00016396926366724074,
-0.047664932906627655,
-0.057275909930467606,
0.0002949093177448958,
-0.0042005861178040504,
-0.010034422390162945,
0.043220147490501404,
-0.03167900815606117,
-0.0204154085367918,
-0.022499410435557365,
-0.036797720938920975,
0.0005937112146057189,
0.056225430220365524,
0.07619748264551163,
-0.020452935248613358,
0.06717041879892349,
-0.006262882146984339,
-0.022543443366885185,
-0.004183807875961065,
-0.06039357930421829,
-0.014251203276216984,
-0.018431121483445168,
0.036219920963048935,
0.03546484559774399,
0.002748979488387704,
0.0372360423207283,
0.0338125005364418,
0.0016074040904641151,
-0.026055505499243736,
-0.017430391162633896,
0.024430466815829277,
-0.015913043171167374,
-0.05441640689969063,
-0.033373113721609116,
-0.04177996143698692,
0.06881406158208847,
-0.01845543272793293,
-0.030440768226981163,
-0.021399058401584625,
-0.055639930069446564,
0.08899068832397461,
-0.07610304653644562,
-0.04935179278254509,
0.009557725861668587,
0.04869861155748367,
0.03700371831655502,
-0.026405373588204384,
-0.018647300079464912,
0.06065882742404938,
0.019056016579270363,
-0.020179051905870438,
0.011921432800590992,
-0.008433721028268337,
0.007800223305821419,
-0.02886076644062996,
0.009122575633227825,
0.04067782312631607,
0.015819817781448364,
-0.012266436591744423,
-0.03935813903808594,
0.007613310124725103,
0.004757225047796965,
-0.28260383009910583,
0.03117056004703045,
-0.00867767445743084,
-0.04388803988695145,
-0.011404387652873993,
0.023150619119405746,
-0.012207827530801296,
-0.04144541174173355,
-0.010628977790474892,
0.03696810454130173,
-0.03488074615597725,
-0.025965247303247452,
-0.0540328249335289,
0.05613793805241585,
-0.012682152912020683,
0.010559993796050549,
-0.008021445944905281,
-0.03859565034508705,
-0.026416471228003502,
0.049980681389570236,
-0.029148388653993607,
-0.07151003926992416,
-0.002233300358057022,
0.0415981151163578,
0.03273754566907883,
0.05529167875647545,
-0.09282542020082474,
0.040291376411914825,
-0.04333661124110222,
0.0062935007736086845,
-0.0051895491778850555,
-0.0006543245981447399,
0.01014111191034317,
-0.04812470078468323,
-0.024375544860959053,
-0.019397083669900894,
0.006372957956045866,
0.018330086022615433,
-0.006230124272406101,
0.047307971864938736,
-0.011773462407290936,
-0.047773994505405426,
-0.023462340235710144,
0.026359330862760544,
0.07429999858140945,
-0.007273964583873749,
-0.07321556657552719,
-0.008045242168009281,
-0.028526274487376213,
0.062105443328619,
-0.028023971244692802,
-0.057934485375881195,
0.003368132747709751,
0.04320100322365761,
-0.017992740496993065,
-0.03432383015751839,
-0.01001807302236557,
-0.02670782059431076,
-0.02806517295539379,
-0.010965518653392792,
-0.011938461102545261,
-0.06329338252544403,
-0.003612869419157505,
-0.04748789221048355,
-0.044501934200525284,
-0.036101676523685455,
-0.06888718158006668,
0.004820697475224733,
0.07899146527051926,
0.0277326088398695,
0.0004796830180566758,
0.019303632900118828,
-0.012632524594664574,
-0.12194716185331345,
-0.035445310175418854,
-0.02331903763115406,
-0.030475763604044914,
-0.02015017531812191,
0.012767280451953411,
0.05940813571214676,
-0.05055372416973114,
-0.07338076084852219,
0.011125371791422367,
0.021497637033462524,
0.034119147807359695,
-0.037717871367931366,
-0.010463627055287361,
-0.010877275839447975,
-0.01851118542253971,
-0.010430377908051014,
0.055258698761463165,
0.00433686375617981,
-0.005417888518422842,
-0.039154913276433945,
0.040077678859233856,
0.05216418579220772,
0.05153317749500275,
0.003357777139171958,
0.004215072374790907,
0.0519232451915741,
0.03978536278009415,
-0.058194734156131744,
0.03300170600414276,
-0.017443552613258362,
-0.008975946344435215,
0.010235294699668884,
-0.053160659968853,
0.019335974007844925,
0.04284726083278656,
0.00192039436660707,
-0.02505353093147278,
-0.032730501145124435,
0.018029384315013885,
-0.04505740851163864,
-0.018303291872143745,
-0.014679811894893646,
0.01698516495525837,
0.04640968516469002,
0.014259138144552708,
-0.004636764992028475,
-0.06774488836526871,
0.02041495405137539,
0.0033840888645499945,
-0.04085172712802887,
-0.0770992785692215,
-0.03233986720442772,
-0.025924576446413994,
-0.02851465903222561,
0.00705117778852582,
0.027479607611894608,
-0.021615194156765938,
0.02986813709139824,
0.007598798256367445,
-0.018001973628997803,
0.01843699999153614,
-0.02985524944961071,
-0.019962400197982788,
-0.044147931039333344,
-0.024180516600608826,
-0.022686319425702095,
0.01778239756822586,
-0.01621469110250473,
0.02242366410791874,
0.030142666772007942,
0.010533767752349377,
0.017170364037156105,
0.03094254434108734,
0.02271663397550583,
0.007439146284013987,
0.01282750628888607,
-0.012126214802265167,
-0.051772959530353546,
0.018436862155795097,
-0.042530618607997894,
-0.032878439873456955,
-0.005457358900457621,
0.04389401897788048,
-0.022922180593013763,
-0.039204977452754974,
-0.04262905195355415,
0.03512802720069885,
-0.04551326110959053,
-0.02467452548444271,
-0.026794925332069397,
-0.03012152761220932,
0.06091270595788956,
-0.023304559290409088,
0.044354189187288284,
-0.023930823430418968,
-0.010570806451141834,
0.0030880854465067387,
0.005082115530967712,
-0.0015460016438737512,
0.02640048786997795,
0.0054370746947824955,
-0.007877970114350319,
-0.006836234591901302,
0.01791980117559433,
0.010896628722548485,
0.008818398229777813,
-0.00364476116374135,
-0.012342061847448349,
-0.000675481278449297,
0.000001389088083669776,
0.05110083147883415,
0.015496479347348213,
0.01563950441777706,
-0.012506064958870411,
-0.033752281218767166,
0.0033589890226721764,
-0.03715772181749344,
-0.015043244697153568,
-0.007851473987102509,
0.03183368965983391,
-0.031343307346105576,
-0.07306363433599472,
0.047062236815690994,
0.023294935002923012,
-0.0028530717827379704,
-0.018772751092910767,
0.018885686993598938,
0.004427970852702856,
-0.01055909413844347,
0.020483458414673805,
0.07015015184879303,
-0.06023615971207619,
0.015485592186450958,
-0.00990345235913992,
0.004308243747800589,
0.020921334624290466,
0.02136702463030815,
-0.04912373051047325,
-0.006289517506957054,
-0.016346028074622154,
-0.0001324602053500712,
-0.011676572263240814,
-0.030430467799305916,
0.0017496714135631919,
0.014227994717657566,
0.0012269018916413188,
-0.0393713153898716,
0.0027311022859066725,
-0.021068178117275238,
-0.03111882694065571,
-0.0246147271245718,
0.003260330529883504,
-0.034679751843214035,
-0.015680452808737755,
0.018035242334008217,
-0.03574344515800476,
0.020706987008452415,
-0.05495492368936539,
0.010343391448259354,
0.032270800322294235,
-0.00463741272687912,
0.01158848125487566,
-0.029227115213871002,
0.016721969470381737,
-0.01345745474100113,
0.059637077152729034,
-0.012434883043169975,
-0.02802974358201027,
-0.025720981881022453,
-0.01544943731278181,
-0.06396739929914474,
-0.0005459823296405375,
-0.001857295399531722,
-0.005879535339772701,
0.00041374698048457503,
0.04238596931099892,
-0.00740303797647357,
0.03188611567020416,
0.0006710183224640787,
0.012872238643467426,
0.07848472148180008,
-0.04585086926817894,
-0.015028566122055054,
-0.017298275604844093,
-0.054816070944070816,
-0.003076535649597645,
-0.021654296666383743,
0.011779174208641052,
-0.015976497903466225,
0.04012444615364075,
0.03998947888612747,
0.031501032412052155,
0.046642810106277466,
-0.006827081087976694,
0.051985591650009155,
-0.0285110492259264,
0.001217048498801887,
-0.10025673359632492,
-0.009855319745838642,
0.014137063175439835,
0.029136329889297485,
-0.017851760610938072,
-0.04398009553551674,
-0.0469885915517807,
0.02441086806356907,
-0.07630059868097305,
-0.0022583631798624992,
0.01671878807246685,
-0.024719174951314926,
-0.005159938242286444,
0.025723816826939583,
-0.057793449610471725,
0.027215711772441864,
0.014089679345488548,
-0.02858748659491539,
-0.01692616008222103,
-0.026875387877225876,
0.03819148242473602,
0.022683385759592056,
0.01906644180417061,
-0.007670734543353319,
0.015203687362372875,
0.07220962643623352,
0.017349012196063995,
-0.02032395452260971,
0.06028495728969574,
-0.008569746278226376,
0.03696208447217941,
0.03458934277296066,
0.0011791200377047062,
0.004062081221491098,
0.014913471415638924,
-0.01198301836848259,
-0.05258758366107941,
0.0030989176593720913,
0.01519434992223978,
-0.05400454252958298,
-0.040644578635692596,
0.06480753421783447,
0.042729347944259644,
-0.02388669364154339,
-0.03244837373495102,
0.02283557876944542,
-0.05573739856481552,
0.0032081773970276117,
-0.031593143939971924,
0.020645856857299805,
-0.0447373166680336,
0.05423767492175102,
-0.019158408045768738,
-0.010657411068677902,
0.06457336246967316,
-0.003243017243221402,
-0.02318970486521721,
-0.0075631169602274895,
0.10491523146629333,
0.07999643683433533,
0.04908815398812294,
0.007034279406070709,
0.06131020560860634,
-0.027850203216075897,
-0.03717108443379402,
0.0012859790585935116,
0.003229101188480854,
-0.01160096563398838,
-0.018382392823696136,
0.03847595676779747,
0.09482268244028091,
0.005632310640066862,
0.06526374071836472,
-0.059882935136556625,
0.0013156217755749822,
-0.011033373884856701,
0.02476976439356804,
0.010853217914700508,
0.0581648051738739,
0.013721240684390068,
0.05160487815737724,
-0.01728661358356476,
-0.04373500868678093,
0.0329100675880909,
-0.011972567066550255,
-0.026897141709923744,
0.0006399885751307011,
0.010002443566918373,
0.002080294070765376,
0.033744074404239655,
0.05579880625009537,
0.061514124274253845,
-0.006985679734498262,
0.006755534093827009,
-0.00957298930734396,
0.004667525179684162,
0.007807601243257523,
-0.020042093470692635,
-0.03580329194664955,
-0.044008154422044754,
0.005470817442983389,
0.01789376698434353,
0.00006652488082181662,
-0.0013983008684590459,
-0.029824385419487953,
0.044649284332990646,
-0.025107000023126602,
-0.0025730060879141092,
0.01148191001266241,
0.014209817163646221,
-0.042624350637197495,
-0.045232731848955154,
-0.02806500345468521,
-0.001676623011007905,
-0.06366225332021713,
-0.02420513518154621,
0.008293294347822666,
-0.006770812440663576,
-0.03737557306885719,
-0.029170693829655647,
0.01763855293393135,
-0.010152199305593967,
0.05505728721618652,
-0.05373413488268852,
-0.03644157946109772,
0.019009048119187355,
0.0292036235332489,
0.0401337556540966,
0.01831166073679924,
0.041742000728845596,
-0.02752886526286602,
0.013372940011322498,
-0.025485189631581306,
-0.013758201152086258,
0.06747929751873016,
0.022770430892705917,
0.03544984757900238,
-0.07297907769680023,
0.023299235850572586,
0.0224783755838871,
-0.004058098886162043,
-0.0773511677980423,
-0.008622877299785614,
0.02420385554432869,
-0.000725693185813725,
0.031023304909467697,
-0.01226185541599989,
-0.023823512718081474,
-0.05641978234052658,
0.001545730629004538,
0.0184111837297678,
0.020200787112116814,
0.050717826932668686,
-0.0081061702221632,
0.07050436735153198,
0.00026315791183151305,
-0.018268125131726265,
-0.04523826017975807,
-0.006912765093147755,
-0.012275045737624168,
0.008249460719525814,
-0.039588812738657,
-0.04347958788275719,
-0.0190801452845335,
-0.039717141538858414,
-0.005200562998652458,
0.014068099670112133,
-0.02527713216841221,
-0.031854934990406036,
0.026529831811785698,
0.053650181740522385,
-0.037173133343458176,
0.05203664302825928,
-0.010116079822182655,
0.046774137765169144,
-0.01366886030882597,
-0.02411884069442749,
-0.0019245472503826022,
0.013350884430110455,
-0.007870110683143139,
0.023952413350343704,
0.03215800225734711,
-0.035154953598976135,
-0.044518228620290756,
-0.01132259052246809,
0.013623927719891071,
0.026238754391670227,
-0.010142161510884762,
0.014013919979333878
] | [
-0.1180611327290535,
-0.004547094460576773,
-0.0659940242767334,
-0.020317435264587402,
0.04005219787359238,
-0.010962340980768204,
-0.010503074154257774,
0.03512992709875107,
0.0036570713855326176,
-0.0010127510176971555,
-0.025462904945015907,
-0.04084677994251251,
-0.025912761688232422,
0.011763576418161392,
0.0644805058836937,
-0.001632708590477705,
0.013745659030973911,
-0.001820188364945352,
-0.07133731991052628,
0.015655135735869408,
0.03302998095750809,
-0.017774010077118874,
-0.034130699932575226,
-0.0567486472427845,
0.04338713735342026,
0.02435433864593506,
0.032714687287807465,
-0.04622809588909149,
0.016467977315187454,
-0.2074175924062729,
-0.005233509466052055,
-0.001711880206130445,
0.06776174157857895,
-0.031937211751937866,
-0.054566964507102966,
0.04872654378414154,
0.02091013267636299,
0.028125707060098648,
-0.04002929478883743,
0.01851353794336319,
0.03868408501148224,
0.040053900331258774,
-0.0492367222905159,
-0.012215524911880493,
0.013919954188168049,
0.008809451013803482,
0.011166985146701336,
-0.046438973397016525,
-0.039720065891742706,
0.007640449795871973,
-0.08290662616491318,
-0.015190431848168373,
-0.007443574722856283,
-0.03866448998451233,
-0.02553635835647583,
-0.010789417661726475,
0.023418953642249107,
0.07525164633989334,
0.005917026661336422,
0.00932905450463295,
0.009884022176265717,
-0.034577034413814545,
-0.10930371284484863,
0.1035076305270195,
0.0029277163557708263,
0.04309602826833725,
0.00885578989982605,
-0.048585712909698486,
-0.00681619718670845,
0.09434839338064194,
0.01480626966804266,
-0.015787867829203606,
-0.02665683440864086,
0.03463389351963997,
0.009937196038663387,
-0.02866503968834877,
-0.006166994571685791,
0.009321969002485275,
0.052176669239997864,
-0.03373517841100693,
-0.05585648864507675,
-0.05619111284613609,
0.033153362572193146,
-0.009746837429702282,
-0.024342909455299377,
0.016378402709960938,
0.0067859855480492115,
0.039252664893865585,
0.030862189829349518,
0.0388842336833477,
0.05191086232662201,
0.002295092446729541,
0.05076000466942787,
0.024341687560081482,
-0.07601676136255264,
-0.0027497955597937107,
-0.02536509372293949,
-0.022277340292930603,
-0.005440394394099712,
0.4227273166179657,
-0.03860015049576759,
0.00038133806083351374,
0.05351566895842552,
-0.0011710415128618479,
-0.011472685262560844,
0.005596155766397715,
-0.010610387660562992,
-0.05710739269852638,
0.004305790178477764,
-0.06023702025413513,
-0.02204921469092369,
-0.012735742144286633,
0.06245051696896553,
-0.04389532282948494,
-0.017310528084635735,
0.013051517307758331,
0.06793767213821411,
0.038238901644945145,
0.017713775858283043,
0.024238072335720062,
0.00855893176048994,
0.0011207364732399583,
0.03712744638323784,
0.029375743120908737,
0.032615117728710175,
-0.008329793810844421,
0.010555648244917393,
0.03309888020157814,
0.05659760534763336,
0.017192723229527473,
0.05342624709010124,
-0.03390399366617203,
-0.08936642855405807,
-0.03466085344552994,
0.0075087398290634155,
0.027162374928593636,
0.042473968118429184,
-0.05251549929380417,
0.04421994835138321,
0.019236119464039803,
0.019742611795663834,
-0.009279785677790642,
0.009021184407174587,
-0.03999389335513115,
-0.05007600784301758,
0.0937785655260086,
0.00025418525910936296,
-0.03142153099179268,
-0.0011551647912710905,
-0.04013541713356972,
0.008151199668645859,
0.0549408495426178,
-0.007539960090070963,
-0.05647484213113785,
0.008117965422570705,
0.02516406588256359,
0.0694301500916481,
0.011548148468136787,
-0.08547566086053848,
-0.019460590556263924,
-0.0672222301363945,
-0.006027271039783955,
-0.04191727563738823,
0.05447778105735779,
0.011268222704529762,
-0.07286324352025986,
-0.0030587464570999146,
0.007686834782361984,
0.01875528320670128,
-0.04677916690707207,
-0.0066547575406730175,
0.04509269446134567,
-0.031303878873586655,
0.02658122032880783,
0.047066621482372284,
-0.02134183794260025,
-0.03968895226716995,
0.0018476286204531789,
0.027339022606611252,
0.01678404025733471,
0.0013806711649522185,
0.02608306333422661,
-0.04777499660849571,
0.027076294645667076,
-0.03707854077219963,
-0.09832920879125595,
-0.05971261486411095,
-0.0033015182707458735,
-0.012094376608729362,
0.0020850589498877525,
-0.008813234977424145,
-0.0230473093688488,
-0.06009971722960472,
0.062195952981710434,
-0.00698497798293829,
-0.029463952407240868,
0.034523479640483856,
-0.019560683518648148,
-0.020929526537656784,
-0.0013444386422634125,
0.008185388520359993,
0.06191142275929451,
0.011083877645432949,
0.050594426691532135,
-0.024562543258070946,
-0.023913657292723656,
0.035986460745334625,
-0.059242840856313705,
0.04425651580095291,
0.02246129885315895,
-0.05938602611422539,
-0.02457520179450512,
-0.027773214504122734,
0.018769310787320137,
-0.036322351545095444,
-0.011948483064770699,
0.010681244544684887,
0.01882218010723591,
0.008769262582063675,
-0.0015243951929733157,
-0.04588582366704941,
-0.06319131702184677,
-0.02669416181743145,
-0.34682515263557434,
-0.026528112590312958,
-0.04210887476801872,
-0.02335551753640175,
0.0012558539165183902,
-0.06049181893467903,
0.020706089213490486,
-0.05981169641017914,
-0.02780100330710411,
0.01641290821135044,
0.07252379506826401,
-0.035086922347545624,
-0.012836528941988945,
-0.07600495964288712,
-0.007528108544647694,
0.048095714300870895,
-0.030976373702287674,
-0.031294096261262894,
-0.06725294142961502,
0.049641549587249756,
0.00008318185427924618,
0.021406421437859535,
0.028622303158044815,
-0.053756680339574814,
-0.008091790601611137,
-0.015378481708467007,
0.08552613109350204,
-0.020675068721175194,
0.08301069587469101,
-0.029820062220096588,
0.04021826758980751,
0.006760330870747566,
-0.010505527257919312,
-0.06706659495830536,
-0.014657799154520035,
-0.011231185868382454,
-0.020363761112093925,
-0.016618477180600166,
0.06594326347112656,
-0.003237720113247633,
-0.04450590908527374,
0.010466689243912697,
-0.06906042248010635,
-0.04881137236952782,
-0.01928061991930008,
0.014582504518330097,
-0.004629718139767647,
-0.05135301500558853,
0.01392173022031784,
0.04306666925549507,
-0.012917320244014263,
0.0009374493965879083,
0.040568456053733826,
0.009511810727417469,
-0.00029187710606493056,
-0.01932794228196144,
-0.06476626545190811,
-0.021320149302482605,
0.004828554578125477,
-0.0005942255374975502,
0.038554657250642776,
0.04792236536741257,
0.019201889634132385,
-0.017625058069825172,
0.011428635567426682,
0.0010690465569496155,
-0.02221432887017727,
0.00668700085952878,
0.02911454252898693,
-0.05289220064878464,
-0.059206198900938034,
0.08396649360656738,
-0.026344889774918556,
-0.00847244169563055,
0.03292769193649292,
0.056792452931404114,
0.000914985837880522,
0.02770748920738697,
0.021236993372440338,
-0.01043892651796341,
0.03177421912550926,
-0.0028163555543869734,
0.04579273611307144,
-0.017202094197273254,
-0.00582323782145977,
0.04369541257619858,
0.0022562320809811354,
-0.008926569484174252,
-0.00029024892137385905,
0.007959112524986267,
-0.029451735317707062,
0.020954782143235207,
0.013616898097097874,
-0.03941750526428223,
0.08600471168756485,
0.03551138564944267,
-0.23561416566371918,
0.026277722790837288,
0.055253081023693085,
0.04203992336988449,
-0.011414973996579647,
0.027292029932141304,
0.052549876272678375,
-0.08500782400369644,
0.03875413537025452,
0.007836945354938507,
0.024586111307144165,
0.045891813933849335,
0.0317918099462986,
0.01228285487741232,
0.06644108891487122,
-0.025867577642202377,
0.03466474264860153,
0.020230533555150032,
0.06040126457810402,
0.003377314191311598,
0.034032102674245834,
0.009389270097017288,
0.18812565505504608,
-0.00398302311077714,
0.03861943259835243,
0.04046610742807388,
0.031001225113868713,
0.0072212908416986465,
0.06625700742006302,
0.02500060573220253,
0.019662193953990936,
0.008188256062567234,
0.08829948306083679,
0.023521507158875465,
0.017542265355587006,
-0.09236352890729904,
-0.03480583801865578,
0.03228108584880829,
0.003744322108104825,
-0.02628559246659279,
-0.0026979108806699514,
0.01689882017672062,
-0.0444418340921402,
0.004146716091781855,
0.0974237322807312,
0.004645478446036577,
-0.033385757356882095,
-0.03717705234885216,
-0.05411097779870033,
0.004063998349010944,
-0.0291239432990551,
-0.030892573297023773,
0.003961253445595503,
-0.0035739000886678696,
-0.00126369739882648,
0.07923635840415955,
-0.0025171907618641853,
-0.030447429046034813,
-0.04460794851183891,
0.03428618237376213,
0.016638927161693573,
0.025870133191347122,
0.09475193917751312,
0.029769014567136765,
0.03272060304880142
] | [
-0.013350805267691612,
0.05965033173561096,
-0.018955113366246223,
0.0011998548870906234,
-0.02828594483435154,
0.018441200256347656,
0.0016420327592641115,
0.054726313799619675,
-0.02938234806060791,
-0.02960822917521,
-0.008161184377968311,
0.019773246720433235,
-0.000798678258433938,
-0.00396434823051095,
0.02633475326001644,
-0.04082841798663139,
0.006513052154332399,
0.01470300555229187,
0.006162807811051607,
-0.017158983275294304,
-0.0026142692659050226,
0.05141552910208702,
0.0432891808450222,
-0.01599857211112976,
-0.0115369763225317,
0.03283580392599106,
-0.01976422406733036,
-0.04854174703359604,
-0.0009757818188518286,
-0.12668651342391968,
-0.03194166347384453,
-0.002108630957081914,
0.002297586528584361,
-0.019404038786888123,
-0.02378454990684986,
0.024380650371313095,
-0.00036758449277840555,
0.03586604446172714,
0.02793586440384388,
-0.015827981755137444,
-0.050218984484672546,
0.017312590032815933,
-0.06433979421854019,
-0.016182146966457367,
-0.009570054709911346,
-0.013421066105365753,
0.01873854361474514,
-0.03872302547097206,
-0.005924950819462538,
-0.0021258366759866476,
-0.037325821816921234,
0.01483855303376913,
-0.003443034365773201,
-0.004528263583779335,
0.03713246434926987,
-0.0028801411390304565,
-0.007937103509902954,
-0.058159295469522476,
0.0013831672258675098,
-0.019034842029213905,
-0.03207904100418091,
-0.021628472954034805,
-0.018745139241218567,
-0.004514411091804504,
-0.007632800377905369,
-0.06079729646444321,
0.05585354566574097,
0.01862342096865177,
0.020726727321743965,
0.007875087670981884,
-0.0065004779025912285,
0.030251435935497284,
-0.02144239842891693,
-0.041534487158060074,
-0.004925033077597618,
0.01582702249288559,
0.022385604679584503,
-0.03162345290184021,
0.03144417703151703,
0.020107373595237732,
-0.044612184166908264,
0.005212964024394751,
-0.006935522425919771,
0.023656031116843224,
-0.0027739389333873987,
-0.022291135042905807,
-0.014580750837922096,
-0.013021668419241905,
0.03728403151035309,
0.04358214884996414,
-0.047572579234838486,
0.005861483979970217,
0.018031569197773933,
0.004754764959216118,
-0.09304442256689072,
0.022152969613671303,
0.0030280358623713255,
-0.02462332881987095,
0.0056165847927331924,
0.8260647058486938,
0.015349169261753559,
0.04349052906036377,
0.03899562358856201,
0.005641324445605278,
0.008974741213023663,
0.003213859163224697,
-0.037648577243089676,
-0.0003233372699469328,
0.004862872418016195,
-0.030953429639339447,
0.002780797891318798,
-0.038684580475091934,
0.047521982342004776,
0.014693151228129864,
-0.0009987105149775743,
0.02758336067199707,
0.05776315554976463,
0.01324605941772461,
0.025057664141058922,
0.010518222115933895,
0.016636567190289497,
-0.04468219354748726,
0.02747189998626709,
-0.010008353739976883,
0.02488100156188011,
-0.12467518448829651,
-0.05633009597659111,
-8.345693976731458e-33,
0.07317619770765305,
-0.05636931210756302,
0.03747902810573578,
0.009113415144383907,
-0.006072439718991518,
-0.020444177091121674,
0.018493812531232834,
0.006877896375954151,
0.001584238256327808,
-0.019451439380645752,
0.013916988857090473,
0.021586652845144272,
-0.0019532358273863792,
-0.01474951021373272,
0.010475048795342445,
-0.006951645947992802,
0.02745824307203293,
0.0061073037795722485,
-0.022712966427206993,
-0.01778542809188366,
0.018398499116301537,
0.007014425005763769,
0.03694745898246765,
-0.014919397421181202,
0.007400583475828171,
0.019313203170895576,
0.04200591892004013,
0.003712568897753954,
-0.03725757449865341,
-0.040610261261463165,
0.008443170227110386,
-0.01764100044965744,
0.007070452440530062,
0.01815786212682724,
0.06754494458436966,
-0.03583845868706703,
0.0005865705898031592,
-0.0048032281920313835,
-0.002153383567929268,
-0.06282271444797516,
-0.045868851244449615,
-0.017530757933855057,
-0.03413784131407738,
-0.001204577973112464,
-0.0077726771123707294,
-0.04109057039022446,
-0.0028852801769971848,
0.04885607585310936,
0.014730897732079029,
0.10362794995307922,
0.0324469655752182,
0.0187761839479208,
-0.007958246394991875,
0.001689169672317803,
-0.02709316834807396,
0.03347788751125336,
-0.0032636397518217564,
0.01914786547422409,
0.008640486747026443,
0.05549418926239014,
-0.0470973439514637,
0.02946055866777897,
0.014296747744083405,
0.009644760750234127,
-0.0026865440886467695,
-0.02940209209918976,
-0.02591598406434059,
-0.0014789357082918286,
-0.012608497403562069,
0.005155637394636869,
-0.004597516730427742,
0.021901477128267288,
0.0025236313231289387,
0.007904034107923508,
0.039145391434431076,
-0.04741987958550453,
-0.011319080367684364,
-0.03711175173521042,
-0.029651017859578133,
0.007214182522147894,
0.05314566195011139,
-0.013169818557798862,
0.01702476106584072,
-0.015368910506367683,
-0.008280888199806213,
-0.009360812604427338,
0.05328010395169258,
0.0010797602590173483,
0.02177353948354721,
-0.00816920306533575,
0.03037433885037899,
0.029067981988191605,
-0.0048940833657979965,
-0.016583112999796867,
-0.008763141930103302,
7.824859613188965e-33,
-0.012954503297805786,
-0.011341232806444168,
0.001571399625390768,
-0.012729143723845482,
0.030643431469798088,
-0.03524119034409523,
0.026830999180674553,
-0.006540041882544756,
-0.04320370405912399,
0.027627011761069298,
-0.09001093357801437,
-0.0015182339120656252,
-0.013551303185522556,
0.014576945453882217,
0.04889301583170891,
-0.01842910423874855,
0.029753414914011955,
-0.041578806936740875,
0.002703526057302952,
-0.013680229894816875,
0.0022912579588592052,
-0.005332366097718477,
0.03840433433651924,
0.018076200038194656,
0.022225255146622658,
-0.007607310079038143,
-0.037721749395132065,
0.01337155606597662,
-0.02713964693248272,
0.007161541376262903,
0.05258791521191597,
-0.002762759802863002,
0.0068856799043715,
-0.023921504616737366,
-0.003382123541086912,
-0.022525422275066376,
-0.005711461417376995,
-0.0035190049093216658,
0.03998849168419838,
0.02028079703450203,
0.010091785341501236,
-0.04400995746254921,
0.019824255257844925,
0.011436591856181622,
-0.011020817793905735,
0.02644507959485054,
0.018694903701543808,
0.0269878301769495,
0.004306663293391466,
0.01568695530295372,
-0.0004027803079225123,
0.017912961542606354,
-0.0006844978197477758,
0.03403810039162636,
0.028567031025886536,
-0.01628263108432293,
-0.01782158389687538,
0.0029998216778039932,
0.01201628614217043,
0.016224808990955353,
0.01713973842561245,
-0.047633010894060135,
-0.0024657908361405134,
0.01962694339454174,
-0.017376918345689774,
-0.025056522339582443,
0.031693074852228165,
-0.03503578528761864,
-0.038764771074056625,
-0.0071001192554831505,
-0.009085319004952908,
-0.02390618994832039,
-0.011734256520867348,
0.03678034618496895,
0.025230485945940018,
-0.048011139035224915,
-0.029090624302625656,
0.006187387276440859,
0.0024192684795707464,
-0.010203156620264053,
0.04804904758930206,
-0.012754184193909168,
-0.015584466978907585,
-0.02215586043894291,
0.018869660794734955,
0.0017580309649929404,
0.007180234417319298,
-0.013603311032056808,
-0.03614262491464615,
-0.010454135946929455,
-0.005070015788078308,
0.002666433807462454,
0.014937000349164009,
0.02945340983569622,
0.03857327625155449,
-1.3312532409770483e-8,
0.0126015180721879,
-0.01722905971109867,
-0.02794632501900196,
0.006662365514785051,
0.06311549246311188,
0.004434703849256039,
-0.020511239767074585,
-0.0011817150516435504,
-0.0266557689756155,
0.0024491765070706606,
0.04919463396072388,
-0.009686214849352837,
0.030257495120167732,
0.017613518983125687,
0.024563292041420937,
-0.04518378525972366,
0.023365357890725136,
0.009576487354934216,
0.005831077694892883,
0.020949572324752808,
0.004716936033219099,
0.024248594418168068,
-0.04649590328335762,
0.003552572336047888,
-0.010623615235090256,
0.012367394752800465,
0.04489902779459953,
-0.07530760020017624,
0.017571628093719482,
-0.03561855107545853,
-0.012351930141448975,
-0.0075228335335850716,
-0.003215866396203637,
-0.00562821002677083,
-0.04753447696566582,
-0.029542014002799988,
0.02019874006509781,
0.004824950359761715,
-0.024628063663840294,
0.012753245420753956,
-0.055139705538749695,
-0.01455980446189642,
0.0014265747740864754,
-0.02688373625278473,
-0.028474563732743263,
0.0008076712256297469,
-0.013829289004206657,
0.01965656876564026,
0.00439233984798193,
0.010731393471360207,
0.0041487556882202625,
0.007131405174732208,
0.04853704571723938,
-0.004840710200369358,
0.013393564149737358,
-0.0038463277742266655,
0.02723703719675541,
-0.05788872390985489,
-0.014528758823871613,
0.021637050434947014,
0.029164141044020653,
-0.02184721827507019,
-0.034232571721076965,
-0.023627102375030518
] | functional-programming-in-java-venkat-subramaniam-book-review | https://markhneedham.com/blog/2014/03/23/functional-programming-in-java-venkat-subramaniam-book-review |
false | 2014-04-19 06:33:39 | Neo4j: Cypher - Creating relationships between a collection of nodes / Invalid input '[': | [
"neo4j"
] | [
"neo4j"
] | When working with graphs we'll frequently find ourselves wanting to create relationships between collections of nodes.
A common example of this would be creating a linked list of days so that we can quickly traverse across http://blog.neo4j.org/2012/02/modeling-multilevel-index-in-neoj4.html[a time tree]. Let's say we start with just 3 days:
[source,cypher]
----
MERGE (day1:Day {day:1 })
MERGE (day2:Day {day:2 })
MERGE (day3:Day {day:3 })
RETURN day1, day2, day3
----
And we want to create a 'NEXT' relationship between adjacent days:
[source,cypher]
----
(day1)-[:NEXT]->(day2)-[:NEXT]->(day3)
----
The most obvious way to do this would be to collect the days into an ordered collection and iterate over them using +++<cite>+++http://docs.neo4j.org/chunked/stable/query-foreach.html[FOREACH]+++</cite>+++, creating a relationship between adjacent nodes:
[source,cypher]
----
MATCH (day:Day)
WITH day
ORDER BY day.day
WITH COLLECT(day) AS days
FOREACH(i in RANGE(0, length(days)-2) |
CREATE UNIQUE (days[i])-[:NEXT]->(days[i+1]))
----
Unfortunately this isn't valid syntax:
[source,text]
----
Invalid input '[': expected an identifier character, node labels, a property map, whitespace, ')' or a relationship pattern (line 6, column 32)
" CREATE UNIQUE (days[i])-[:NEXT]->(days[i+1]))"
^
----
It doesn't seem to like us using array indices where we specify the node identifier.
However, we can work around that by putting +++<cite>+++days[i]+++</cite>+++ and +++<cite>+++days[i+1]+++</cite>+++ into single item arrays and using nested +++<cite>+++FOREACH+++</cite>+++ loops on those, something http://www.markhneedham.com/blog/2013/11/29/neo4j-modelling-series-of-events/[Michael Hunger showed me last year] and I forgot all about!
[source,cypher]
----
MATCH (day:Day)
WITH day
ORDER BY day.day
WITH COLLECT(day) AS days
FOREACH(i in RANGE(0, length(days)-2) |
FOREACH(day1 in [days[i]] |
FOREACH(day2 in [days[i+1]] |
CREATE UNIQUE (day1)-[:NEXT]->(day2))))
----
Now if we do a query to get back all the days we'll see they're connected:
image::{{<siteurl>}}/uploads/2014/04/2014-04-19_07-32-37.png[2014 04 19 07 32 37,366] | null | null | [
0.005542274564504623,
-0.01847248338162899,
-0.00906803272664547,
0.0595792755484581,
0.08261511474847794,
-0.019255701452493668,
0.020556757226586342,
0.016120266169309616,
0.038165878504514694,
-0.020232975482940674,
0.017847299575805664,
-0.008973349817097187,
-0.07271602749824524,
0.016581961885094643,
-0.034739453345537186,
0.059339795261621475,
0.05731424316763878,
0.007456598803400993,
-0.023205382749438286,
-0.035136181861162186,
-0.006594028789550066,
0.018857350572943687,
0.010035842657089233,
0.04492844268679619,
0.05643155798316002,
0.01214390154927969,
-0.004565350711345673,
-0.0040918136946856976,
-0.02806953340768814,
0.021969405934214592,
0.05092030391097069,
-0.008418211713433266,
0.0069798314943909645,
-0.010336126200854778,
0.030241722241044044,
-0.015724649652838707,
-0.040456123650074005,
-0.02561461739242077,
0.005270313937216997,
-0.01863560825586319,
-0.046985186636447906,
0.03137363865971565,
-0.01824808306992054,
-0.020214980468153954,
-0.025342466309666634,
0.022516964003443718,
-0.06772633641958237,
0.03478950634598732,
0.014964614063501358,
0.034256063401699066,
-0.10056701302528381,
-0.0017109873006120324,
0.012014603242278099,
0.01449674367904663,
-0.026846488937735558,
0.06032771244645119,
-0.005264111794531345,
-0.07536309212446213,
0.05187348276376724,
-0.019663799554109573,
0.0026210062205791473,
-0.013059019111096859,
-0.00363741023465991,
0.02821469120681286,
-0.0024687794502824545,
-0.03974534571170807,
-0.008991138078272343,
0.060286588966846466,
-0.058689650148153305,
-0.011051909066736698,
-0.011482799425721169,
0.013006770983338356,
0.00619174400344491,
0.007992471568286419,
-0.021115580573678017,
-0.049951255321502686,
-0.022170770913362503,
0.030465098097920418,
0.04826261103153229,
0.053391192108392715,
-0.023030288517475128,
0.022945141419768333,
0.011091869324445724,
0.0085783451795578,
-0.0013087003026157618,
0.002272859215736389,
-0.04637525975704193,
-0.027272051200270653,
-0.07628526538610458,
0.030245617032051086,
0.0029399024788290262,
-0.06093804910778999,
-0.005551434122025967,
0.011291451752185822,
-0.03469499945640564,
0.009196813218295574,
-0.004973295610398054,
-0.013736775144934654,
0.009524373337626457,
0.004750148858875036,
-0.02067231573164463,
-0.036191411316394806,
0.010988695546984673,
0.012586374767124653,
-0.07368423789739609,
-0.04062212258577347,
-0.03658009320497513,
-0.027425307780504227,
0.012236766517162323,
-0.016027862206101418,
-0.08584589511156082,
-0.005739204119890928,
0.006608462892472744,
0.04487539082765579,
-0.07857491821050644,
0.05835504084825516,
0.03381524235010147,
-0.0039528063498437405,
-0.03268614038825035,
0.020096000283956528,
0.03336091339588165,
0.005039994139224291,
0.013386713340878487,
0.06961552798748016,
-0.012477866373956203,
0.04202200472354889,
-0.004485712852329016,
0.035548631101846695,
-0.038280028849840164,
-0.0815204381942749,
-0.02175123058259487,
0.049093980342149734,
-0.01264635194092989,
-0.028184043243527412,
-0.030733847990632057,
-0.02678733319044113,
-0.04309125617146492,
0.03654060140252113,
0.04581015929579735,
0.032514967024326324,
0.010835942812263966,
-0.03893782198429108,
0.04234200716018677,
-0.01149162370711565,
0.015066317282617092,
0.017016513273119926,
-0.029742039740085602,
-0.024976568296551704,
0.0050169918686151505,
0.01837782934308052,
0.0228852741420269,
0.03394675254821777,
0.03393512964248657,
-0.03060191683471203,
0.00145446858368814,
0.09500132501125336,
0.021200591698288918,
0.035648517310619354,
-0.007442038040608168,
0.01683056354522705,
0.05789707601070404,
0.025067506358027458,
-0.005116259679198265,
0.07145345211029053,
0.003086960641667247,
-0.022622141987085342,
-0.007887507788836956,
0.051143843680620193,
-0.018579693511128426,
-0.009091627784073353,
-0.03314284235239029,
-0.041420482099056244,
0.04229293018579483,
-0.054194267839193344,
-0.004316149279475212,
0.048651497811079025,
0.052324842661619186,
0.015601984225213528,
0.01929919794201851,
0.02026144415140152,
-0.06835174560546875,
0.04690035060048103,
0.01959361881017685,
-0.003530827583745122,
0.009530771523714066,
0.0077676959335803986,
0.05986855551600456,
0.039495691657066345,
0.0009517137077637017,
0.030220231041312218,
-0.08140680938959122,
-0.05804774537682533,
0.0020513783674687147,
-0.018650494515895844,
0.0736338421702385,
-0.03176816925406456,
0.0065432447008788586,
0.0582791306078434,
-0.007176557555794716,
0.041187409311532974,
0.021443748846650124,
-0.016043467447161674,
0.013706453144550323,
-0.045484066009521484,
-0.06011428311467171,
0.036298610270023346,
0.005324738100171089,
-0.04582943394780159,
-0.0403931587934494,
0.014826623722910881,
-0.006575670558959246,
0.018773198127746582,
0.03030613623559475,
-0.013429141603410244,
0.04324136674404144,
0.03404955193400383,
0.032488007098436356,
0.0005945875309407711,
-0.001665838877670467,
-0.05559653043746948,
0.04157796502113342,
0.018176507204771042,
-0.029236530885100365,
0.009184107184410095,
-0.020138002932071686,
0.116933174431324,
0.060542475432157516,
-0.026348542422056198,
-0.039876438677310944,
0.03182077407836914,
0.002481934381648898,
-0.0075819361954927444,
0.024835985153913498,
-0.0062276762910187244,
-0.006617796141654253,
-0.0010318000568076968,
-0.014661445282399654,
-0.011551639065146446,
0.011208908632397652,
-0.044113799929618835,
-0.0009791706688702106,
0.055656250566244125,
-0.04371703788638115,
0.07161807268857956,
0.016825692728161812,
0.0021473465021699667,
-0.011627023108303547,
-0.04994018003344536,
-0.05727316066622734,
0.035263240337371826,
0.015367153100669384,
-0.010937814600765705,
0.06190226227045059,
-0.029953129589557648,
-0.017573704943060875,
-0.021264908835291862,
-0.023809121921658516,
0.027858896180987358,
0.05958398059010506,
0.054444462060928345,
-0.0217981468886137,
0.04923534020781517,
-0.021269874647259712,
0.010611888952553272,
-0.010076864622533321,
-0.06855414062738419,
-0.03336513042449951,
-0.007045091595500708,
0.03382253646850586,
0.02574755810201168,
0.03964945673942566,
-0.022017138078808784,
0.030598022043704987,
-0.008255002088844776,
0.010288878343999386,
-0.0035591337364166975,
0.02220808155834675,
0.0007644277648068964,
0.00110201898496598,
-0.05207022279500961,
-0.034575968980789185,
0.05053115636110306,
-0.0465007945895195,
-0.05645482987165451,
-0.0264598298817873,
-0.06256726384162903,
0.059029512107372284,
-0.05648147314786911,
-0.027628080919384956,
0.005490199197083712,
0.0415269173681736,
0.06406661868095398,
-0.01236577145755291,
-0.023367922753095627,
0.06758224964141846,
0.0323256254196167,
0.010372214950621128,
0.019169537350535393,
0.010211018845438957,
0.03868614137172699,
-0.005366198718547821,
0.024270087480545044,
0.07842079550027847,
-0.02551172859966755,
-0.013369401916861534,
-0.02431182935833931,
0.003161356085911393,
-0.016055673360824585,
-0.2605133354663849,
0.03425988554954529,
-0.04937049001455307,
-0.04268720746040344,
0.010770417749881744,
-0.04580393061041832,
0.030627820640802383,
-0.03954392299056053,
-0.016278861090540886,
-0.005632023327052593,
-0.0034239499364048243,
-0.042424485087394714,
-0.02623700350522995,
0.05816067382693291,
0.02152121439576149,
0.007019151467829943,
-0.010630923323333263,
-0.05844898894429207,
0.006720495410263538,
0.06451655924320221,
-0.019123826175928116,
-0.01743035763502121,
-0.02676168456673622,
0.04361756145954132,
0.016033953055739403,
0.038811907172203064,
-0.09538125991821289,
0.024062516167759895,
-0.06079864501953125,
-0.028834300115704536,
0.0005826512933708727,
-0.02147061750292778,
0.018115196377038956,
-0.014692160300910473,
-0.013858107849955559,
-0.041771046817302704,
0.044294510036706924,
0.025584811344742775,
0.006775519344955683,
0.023440245538949966,
-0.04795840010046959,
-0.046300049871206284,
-0.00588090717792511,
-0.016098709776997566,
0.06411059200763702,
-0.005037005990743637,
-0.053950514644384384,
-0.016854390501976013,
-0.018771305680274963,
0.044991638511419296,
-0.033533792942762375,
-0.013168325647711754,
0.01189367100596428,
0.00280098058283329,
-0.019097696989774704,
-0.02107258327305317,
-0.011234181001782417,
-0.020962072536349297,
-0.052361711859703064,
-0.00620944332331419,
-0.012210153974592686,
-0.07157447934150696,
0.036997824907302856,
-0.053371794521808624,
-0.040177132934331894,
-0.046196822077035904,
-0.09944804012775421,
-0.03836621716618538,
0.044595565646886826,
0.04178502410650253,
-0.01051281951367855,
0.014669377356767654,
-0.024285737425088882,
-0.1107349693775177,
-0.043770208954811096,
-0.022506216540932655,
-0.0023487319704145193,
-0.01821068860590458,
-0.021938443183898926,
0.04038740694522858,
-0.03772047907114029,
-0.05771495774388313,
-0.005884019657969475,
0.04194581136107445,
0.018409818410873413,
0.018490226939320564,
0.016428763046860695,
-0.028079207986593246,
-0.04211323708295822,
-0.002182711847126484,
0.04031786695122719,
-0.007923985831439495,
-0.004594855010509491,
-0.014237064868211746,
0.014532330445945263,
0.025205450132489204,
0.01877760887145996,
0.016659369692206383,
0.008906792849302292,
0.02765471674501896,
0.04358697310090065,
-0.016309263184666634,
0.011600076220929623,
-0.008924072608351707,
-0.025761447846889496,
0.005320717114955187,
-0.04421902820467949,
0.028227269649505615,
0.019911175593733788,
0.0354619175195694,
-0.008192204870283604,
-0.007014953065663576,
0.01058567501604557,
-0.05088111758232117,
-0.032099973410367966,
-0.033064961433410645,
0.025625327602028847,
0.045227523893117905,
0.04942837730050087,
-0.006905925925821066,
-0.0839003324508667,
0.024691620841622353,
0.035715971142053604,
-0.022668616846203804,
-0.06275364011526108,
-0.04383028671145439,
-0.015326907858252525,
-0.014853520318865776,
0.007055837195366621,
0.04216831177473068,
-0.044241756200790405,
0.023024672642350197,
0.038221996277570724,
-0.026000432670116425,
0.03738047182559967,
-0.024502120912075043,
-0.015841994434595108,
-0.03240936994552612,
-0.029706832021474838,
0.013341143727302551,
-0.013553100638091564,
-0.0021275505423545837,
-0.015742016956210136,
0.04842371866106987,
0.03940243273973465,
0.01087892148643732,
0.010535426437854767,
-0.004192798864096403,
0.0161117110401392,
0.017549315467476845,
-0.03117544576525688,
-0.002465181052684784,
0.0172427948564291,
-0.03293498232960701,
-0.03186517953872681,
0.006557993590831757,
0.039142172783613205,
-0.03388858586549759,
-0.004136422649025917,
-0.037372421473264694,
0.05562753975391388,
-0.07046481966972351,
0.05032249540090561,
-0.038137394934892654,
-0.011103689670562744,
0.06288344413042068,
-0.04177911579608917,
0.02620197832584381,
-0.02324622869491577,
-0.01916099712252617,
0.036413565278053284,
0.001415363745763898,
-0.0335528627038002,
0.010348179377615452,
-0.012939289212226868,
0.0037816453259438276,
0.007002184633165598,
0.03859635815024376,
0.023623185232281685,
0.03282461315393448,
-0.014255674555897713,
-0.00845413189381361,
0.0006529951933771372,
-0.0031896696891635656,
0.03183731809258461,
0.015213597565889359,
0.005879936274141073,
0.015274747274816036,
-0.046194691210985184,
-0.03154086694121361,
-0.004920079838484526,
-0.015362439677119255,
-0.03013424761593342,
-0.008951343595981598,
-0.0330662801861763,
-0.05448717251420021,
0.047286178916692734,
0.000009381002200825606,
0.020048314705491066,
0.033006466925144196,
0.002807360142469406,
-0.01657036878168583,
-0.04063781723380089,
0.022314345464110374,
0.04875317960977554,
-0.05341619625687599,
-0.005194919183850288,
-0.007710017263889313,
-0.02104920707643032,
-0.008317901752889156,
0.03166673332452774,
-0.062107302248477936,
-0.01021323911845684,
-0.013522928580641747,
0.02653164602816105,
-0.001979404129087925,
-0.04463658109307289,
-0.029728971421718597,
0.01558982115238905,
0.014294822700321674,
0.03813845291733742,
-0.0014788926346227527,
0.01799052581191063,
-0.011114568449556828,
0.007328968029469252,
0.029849549755454063,
-0.04096998646855354,
-0.005108225625008345,
0.021203337237238884,
-0.004172292537987232,
0.0523243322968483,
-0.030159274116158485,
0.04054480791091919,
0.030873531475663185,
-0.010435941629111767,
-0.006327379494905472,
-0.06567586958408356,
0.02569437585771084,
0.005466388538479805,
0.06390532106161118,
-0.0025132654700428247,
-0.0003648231504485011,
-0.033416736871004105,
-0.012184332124888897,
-0.008786102756857872,
-0.00016834323469083756,
0.010088995099067688,
-0.012228832580149174,
0.0020159725099802017,
-0.0014225620543584228,
-0.017295051366090775,
0.03211694583296776,
-0.012849459424614906,
-0.03234011307358742,
0.040855828672647476,
-0.02933237887918949,
-0.051024179905653,
-0.018107658252120018,
-0.04897327348589897,
0.008716721087694168,
-0.00601969426497817,
0.029569530859589577,
-0.037105005234479904,
0.06396368145942688,
0.07445423305034637,
0.06066717579960823,
0.02839069440960884,
-0.006779233925044537,
0.034507375210523605,
-0.014527719467878342,
-0.011359955184161663,
-0.07457300275564194,
-0.010995063930749893,
0.046762917190790176,
-0.0014471188187599182,
-0.008725904859602451,
-0.010376597754657269,
-0.008643991313874722,
-0.01367240957915783,
-0.06459978967905045,
-0.027979835867881775,
0.041303087025880814,
-0.02807937003672123,
0.0455283559858799,
0.021154016256332397,
-0.04504690691828728,
-0.00196293112821877,
0.0509561188519001,
-0.014709374867379665,
-0.02474977821111679,
-0.03090035542845726,
0.06280823796987534,
-0.03330213204026222,
0.0443083792924881,
-0.0022837305441498756,
-0.019557185471057892,
0.0535774827003479,
0.03978459909558296,
0.02195281721651554,
0.08115284144878387,
-0.024041548371315002,
0.027543963864445686,
0.025857502594590187,
-0.026857666671276093,
-0.009792832657694817,
0.059442102909088135,
-0.021595235913991928,
-0.05278782919049263,
0.03594176843762398,
0.007463809568434954,
-0.018187250941991806,
-0.038828764110803604,
0.07111715525388718,
0.0049425107426941395,
-0.04920575022697449,
-0.040939319878816605,
0.028813878074288368,
-0.020457515493035316,
0.007344965357333422,
-0.04832446202635765,
0.026793276891112328,
-0.04624127596616745,
0.04831112548708916,
-0.016563842073082924,
0.022463427856564522,
0.08642324805259705,
-0.006488488055765629,
-0.011447322554886341,
-0.002622419036924839,
0.08769530057907104,
0.10257858783006668,
0.05592987313866615,
0.016712699085474014,
0.08441021293401718,
-0.01194452028721571,
-0.02293914183974266,
-0.01595265045762062,
-0.03158754110336304,
0.0003064157208427787,
-0.0102898133918643,
0.03312062844634056,
0.07115332782268524,
-0.01376254577189684,
0.06059585511684418,
-0.012129862792789936,
-0.027200348675251007,
0.0032849686685949564,
0.004570228047668934,
0.047217804938554764,
0.055437877774238586,
0.02406979352235794,
0.04370424151420593,
-0.004844763316214085,
-0.029696045443415642,
0.033241093158721924,
-0.016765208914875984,
-0.0038282903842628,
0.03449177369475365,
-0.018959686160087585,
0.007998337037861347,
0.004630315583199263,
0.05591999366879463,
0.0739942416548729,
-0.028342250734567642,
-0.017437400296330452,
-0.0024673333391547203,
0.010510727763175964,
0.0066682808101177216,
0.003461109707131982,
0.0057375505566596985,
-0.0237412191927433,
-0.019743094220757484,
-0.06031001731753349,
-0.017699258401989937,
-0.026219571009278297,
-0.018956489861011505,
0.001995110185816884,
-0.014388452284038067,
0.010129273869097233,
0.004147783387452364,
-0.00847146287560463,
-0.029711706563830376,
-0.03011164627969265,
-0.020364245399832726,
-0.04874929040670395,
-0.06400536745786667,
0.01712918095290661,
0.005498744081705809,
0.0013217320665717125,
-0.008054491132497787,
-0.0003156750462949276,
-0.016668781638145447,
0.01086586806923151,
0.04285861924290657,
-0.016304830089211464,
0.017709020525217056,
-0.005637049209326506,
0.04378504306077957,
0.016175372526049614,
0.03993577882647514,
0.03306316211819649,
-0.013059022836387157,
0.011403356678783894,
-0.018124841153621674,
0.01694287732243538,
0.04038577526807785,
0.018857428804039955,
0.0032088616862893105,
-0.08904381096363068,
-0.008683357387781143,
0.013399949297308922,
-0.02479088306427002,
-0.08966260403394699,
0.0063219512812793255,
0.053948841989040375,
-0.003960848320275545,
0.019296707585453987,
-0.011052006855607033,
-0.036433152854442596,
-0.023918528109788895,
0.01859068125486374,
0.01359197311103344,
-0.009174196049571037,
0.04300522431731224,
-0.049922581762075424,
0.07235043495893478,
0.013600453734397888,
-0.005145553033798933,
-0.01672285608947277,
-0.0059439390897750854,
0.0008824336691759527,
-0.013811473734676838,
-0.04532703757286072,
-0.036955393850803375,
-0.046174921095371246,
-0.0882694274187088,
-0.03098222427070141,
0.006808675825595856,
-0.03286882862448692,
-0.018846940249204636,
-0.008885413408279419,
0.022985810413956642,
-0.03592784330248833,
0.05355873331427574,
-0.024296632036566734,
0.024364851415157318,
-0.022028079256415367,
-0.01124785840511322,
-0.0461416058242321,
0.001615282497368753,
-0.014239208772778511,
0.021776948124170303,
0.014320139773190022,
-0.04823211953043938,
-0.02157759852707386,
-0.03547203168272972,
0.005567323882132769,
0.01293931808322668,
0.018617143854498863,
0.025721024721860886
] | [
-0.04782639816403389,
-0.019892366603016853,
-0.03712455555796623,
-0.010129938833415508,
0.033754654228687286,
-0.043945569545030594,
-0.03380485624074936,
-0.004875553771853447,
0.018571218475699425,
-0.01607051119208336,
0.022268695756793022,
-0.024243758991360664,
0.044124849140644073,
0.02456490509212017,
0.06688333302736282,
-0.00008940624684328213,
-0.06138041615486145,
-0.005315043497830629,
-0.031654831022024155,
0.052351705729961395,
0.005355223547667265,
-0.03393557295203209,
-0.047070637345314026,
-0.03045763447880745,
0.03448756784200668,
0.08182468265295029,
0.039456699043512344,
-0.04657992348074913,
-0.004397233482450247,
-0.22420062124729156,
-0.010253086686134338,
0.031206440180540085,
0.0072692809626460075,
-0.011434629559516907,
-0.0027240586932748556,
0.021686850115656853,
0.05526111647486687,
0.006810143124312162,
0.0009191083954647183,
0.016785625368356705,
0.02998955175280571,
0.008194361813366413,
-0.047115638852119446,
-0.023000678047537804,
0.03858570754528046,
0.01711311936378479,
-0.03557258099317551,
-0.016922006383538246,
-0.03837863728404045,
0.013739640824496746,
-0.028780978173017502,
-0.04242609441280365,
-0.021225206553936005,
0.01662367209792137,
0.0010946891270577908,
0.08196648955345154,
0.021743344143033028,
0.04594952613115311,
0.018236355856060982,
0.03373626247048378,
0.015047921799123287,
0.004788182210177183,
-0.13076408207416534,
0.05476706475019455,
0.022908560931682587,
0.009526120498776436,
-0.059846002608537674,
0.031466905027627945,
-0.04363824427127838,
0.08861594647169113,
0.024762839078903198,
-0.0027448181062936783,
-0.024426093325018883,
0.0819012001156807,
0.0060516223311424255,
0.016034241765737534,
-0.009037045761942863,
0.005216794088482857,
0.025180671364068985,
-0.03445753827691078,
-0.054218392819166183,
0.007292378693819046,
-0.011354751884937286,
-0.004567325580865145,
-0.013584934175014496,
0.06890412420034409,
-0.011196821928024292,
0.00205217394977808,
-0.010183442384004593,
0.06869951635599136,
-0.0028022974729537964,
-0.008219461888074875,
0.03069537878036499,
0.01787995919585228,
-0.06154117360711098,
-0.026132704690098763,
0.023485302925109863,
-0.004604080691933632,
0.006166669074445963,
0.3926732838153839,
-0.02574048563838005,
0.02263086847960949,
0.02854284457862377,
0.04524799808859825,
-0.03212549537420273,
-0.01701412908732891,
-0.009080354124307632,
-0.10034029930830002,
-0.003342323936522007,
-0.023449216037988663,
-0.01783306524157524,
-0.047590699046850204,
0.010435317642986774,
-0.13026751577854156,
0.030654389411211014,
0.00807489175349474,
0.05767005681991577,
0.04242585226893425,
-0.02777579240500927,
0.0014571627834811807,
0.0020769587717950344,
0.017865722998976707,
0.016717463731765747,
0.022663800045847893,
0.0081995390355587,
0.028328895568847656,
-0.0054232170805335045,
0.052250009030103683,
0.043233588337898254,
0.01847383938729763,
0.0653446763753891,
0.02343938685953617,
-0.056129783391952515,
0.026180226355791092,
-0.011664153076708317,
0.0008182575693354011,
0.007498701103031635,
-0.06137396767735481,
0.00014421026571653783,
0.04044126719236374,
0.0015306186396628618,
-0.01531169842928648,
0.0268084816634655,
-0.0031659905798733234,
-0.03892141953110695,
0.159161776304245,
-0.012217490933835506,
-0.024858487769961357,
-0.043127842247486115,
-0.029229821637272835,
-0.01444568857550621,
0.03704490885138512,
0.01866544783115387,
-0.07073292881250381,
-0.017820386216044426,
0.005583391059190035,
0.08919829875230789,
-0.017916131764650345,
-0.050628043711185455,
0.03371743857860565,
-0.014026916585862637,
-0.015085645951330662,
-0.053665824234485626,
0.08533584326505661,
0.04311990365386009,
-0.10856702923774719,
0.005578238051384687,
0.0320439375936985,
-0.0032825134694576263,
-0.09430820494890213,
0.026989232748746872,
0.02252005599439144,
-0.02258487232029438,
0.006251761224120855,
0.09017375856637955,
-0.010459821671247482,
-0.035265855491161346,
-0.03831939026713371,
0.05463176220655441,
0.0006556964945048094,
0.01702568493783474,
0.011053835041821003,
-0.048050783574581146,
0.012613688595592976,
-0.06009332835674286,
-0.06299429386854172,
-0.0707891434431076,
0.010634020902216434,
-0.04877572879195213,
-0.02362566627562046,
-0.007985075004398823,
0.011366712860763073,
-0.008975643664598465,
0.08132566511631012,
-0.06113990768790245,
-0.06488800048828125,
-0.008042088709771633,
0.01717333495616913,
-0.04455753415822983,
-0.029872728511691093,
0.029563207179307938,
-0.0010740833822637796,
0.0002653852861840278,
0.024671094492077827,
-0.06224554032087326,
-0.010978230275213718,
0.05547856166958809,
-0.04928206652402878,
0.042517561465501785,
-0.005280425772070885,
-0.04791400581598282,
0.015850882977247238,
-0.005817480850964785,
0.018596969544887543,
-0.022447463124990463,
-0.004654147662222385,
0.008863878436386585,
0.003746345406398177,
0.016164084896445274,
0.06354302912950516,
-0.021826913580298424,
-0.06858565658330917,
0.006055508274585009,
-0.33768200874328613,
-0.056419894099235535,
-0.01995076611638069,
-0.0008837273344397545,
0.009697459638118744,
-0.011361819691956043,
0.0017250018427148461,
-0.03638305515050888,
-0.038325246423482895,
0.028740419074892998,
0.07876790314912796,
-0.004866600036621094,
-0.022767527028918266,
-0.0737740769982338,
0.0030437042005360126,
0.05725059658288956,
0.01560690626502037,
0.010498659685254097,
-0.02414209023118019,
0.01835651509463787,
-0.008069227449595928,
-0.02884405478835106,
0.0062747495248913765,
-0.06603662669658661,
-0.016110163182020187,
0.011157308705151081,
0.11759889125823975,
-0.012215263210237026,
-0.017955897375941277,
-0.03271939605474472,
0.041264839470386505,
-0.0008998481789603829,
-0.027525922283530235,
-0.03150581941008568,
0.004773563705384731,
-0.017331037670373917,
0.008149850182235241,
0.005786291789263487,
-0.028146453201770782,
-0.035070862621068954,
-0.05012047663331032,
0.0047687748447060585,
-0.0307130366563797,
-0.03523518517613411,
-0.027171198278665543,
0.021681630983948708,
-0.04597610980272293,
-0.016919149085879326,
0.044164519757032394,
0.055649079382419586,
-0.01283218152821064,
0.00554594025015831,
0.017990224063396454,
0.0013640518300235271,
-0.0021166116930544376,
-0.031214600428938866,
-0.06936056166887283,
-0.012635399587452412,
0.00526235718280077,
-0.008592586033046246,
-0.004803168121725321,
0.022328566759824753,
0.014855644665658474,
-0.05698049068450928,
0.029553063213825226,
0.001822678605094552,
0.004084092564880848,
-0.016964135691523552,
-0.00419551320374012,
-0.007574785966426134,
-0.008291766978800297,
0.0964459776878357,
0.028876634314656258,
-0.0085607236251235,
0.05642908066511154,
0.03586126118898392,
-0.04844940826296806,
0.013947850093245506,
0.03292466327548027,
0.00456468528136611,
0.012686333619058132,
-0.08064763247966766,
0.07827860116958618,
0.01137030404061079,
-0.005555510986596346,
0.04308740049600601,
0.025670288130640984,
-0.021296216174960136,
0.0701148509979248,
0.008728151209652424,
0.000460668932646513,
-0.004408217500895262,
-0.019373277202248573,
-0.025915341451764107,
0.08447329699993134,
-0.021064776927232742,
-0.2888788878917694,
0.04787712171673775,
0.03941848501563072,
0.037373073399066925,
0.018528416752815247,
0.020016144961118698,
0.031727466732263565,
-0.014951220713555813,
0.010191857814788818,
-0.03567345067858696,
0.03958414867520332,
0.058348242193460464,
0.004716330673545599,
-0.018938202410936356,
-0.007565692998468876,
0.008783147670328617,
0.05151059478521347,
-0.00660029798746109,
0.026726027950644493,
0.013113732449710369,
0.04461526498198509,
-0.012944727204740047,
0.2208174467086792,
0.03549748659133911,
0.0008407344575971365,
0.03526059165596962,
-0.04657820239663124,
0.007951523177325726,
0.04531879723072052,
0.004641733597964048,
-0.0071927341632544994,
0.033906470984220505,
0.03905190899968147,
0.048487089574337006,
0.0205422043800354,
0.0008881467510946095,
0.005092424340546131,
0.048688098788261414,
0.017035285010933876,
-0.04154558479785919,
-0.024540450423955917,
0.005293811671435833,
-0.04149562865495682,
0.009487627074122429,
0.079434335231781,
-0.028144000098109245,
-0.008354747667908669,
-0.0011561858700588346,
-0.06400398910045624,
-0.00033094073296524584,
-0.036182764917612076,
-0.02799999713897705,
-0.02729516662657261,
-0.003401398891583085,
-0.00721806799992919,
0.02848990447819233,
0.02529030665755272,
0.004079957492649555,
0.007219587918370962,
0.015357292257249355,
-0.01675735041499138,
-0.017777355387806892,
0.08903183043003082,
-0.0329446867108345,
0.015987273305654526
] | [
-0.004917804151773453,
0.05850030481815338,
-0.007992970757186413,
0.049641579389572144,
-0.021582357585430145,
-0.02097294107079506,
-0.02486126683652401,
-0.022015394642949104,
-0.025328494608402252,
-0.015241551212966442,
-0.01932627707719803,
0.00011748439283110201,
0.05201152712106705,
-0.007905670441687107,
-0.00423184409737587,
0.02399897575378418,
-0.046462707221508026,
0.023832103237509727,
0.0444406121969223,
-0.02751057595014572,
-0.04829588159918785,
0.014749251306056976,
0.03462070971727371,
-0.008646071888506413,
-0.00029374012956395745,
0.026601161807775497,
-0.02250315435230732,
0.014510615728795528,
0.021348800510168076,
-0.10617519170045853,
-0.04956868290901184,
-0.008816555142402649,
-0.011280810460448265,
0.012047793716192245,
-0.036855172365903854,
0.025797337293624878,
0.030160564929246902,
0.013936354778707027,
0.008347702212631702,
0.014195678755640984,
0.017703916877508163,
0.013516046106815338,
-0.018651317805051804,
-0.0015447587938979268,
-0.012361296452581882,
0.00020234996918588877,
-0.035585109144449234,
-0.0035443108063191175,
-0.006140779238194227,
0.0007789414376020432,
-0.0659288614988327,
-0.01336643099784851,
-0.00892026536166668,
0.007122374605387449,
0.05461977794766426,
0.049660470336675644,
-0.04591112211346626,
-0.04700588062405586,
0.010913285426795483,
-0.01292784046381712,
0.017067596316337585,
-0.005620171315968037,
-0.056179702281951904,
-0.05077781528234482,
-0.016155632212758064,
-0.022930791601538658,
-0.016158346086740494,
0.05311829596757889,
0.011367247439920902,
-0.005699047818779945,
-0.03142120689153671,
0.04279075935482979,
-0.07810177654027939,
0.00024528850917704403,
-0.008433805778622627,
0.06825730949640274,
0.04477608576416969,
-0.029514718800783157,
-0.011944929137825966,
-0.015861447900533676,
-0.01991964504122734,
0.009193557314574718,
-0.014979250729084015,
0.019538814201951027,
-0.04736204817891121,
-0.00875567365437746,
-0.04104893282055855,
0.009769375436007977,
0.0022738187108188868,
0.005259398370981216,
-0.019547831267118454,
0.012778905220329762,
0.017309635877609253,
-0.01834171451628208,
-0.07175847142934799,
0.003290839260444045,
0.014965844340622425,
0.0021167248487472534,
0.03876354172825813,
0.7990378737449646,
0.03137599304318428,
0.01671544834971428,
-0.002163316123187542,
-0.0004889757256023586,
0.00398304732516408,
0.007526319473981857,
-0.01570400595664978,
-0.005143546964973211,
-0.027891168370842934,
-0.0063486830331385136,
-0.014021250419318676,
0.00854223407804966,
0.0065703741274774075,
0.008830716833472252,
0.0006128327222540975,
0.023141929879784584,
0.020522499457001686,
-0.00034855681587941945,
0.01720806024968624,
0.021830033510923386,
0.012326369062066078,
0.013831018470227718,
0.01287499163299799,
0.007919750176370144,
-0.003552732290700078,
-0.17752544581890106,
-0.03047395870089531,
-7.677723719980509e-33,
0.06555537134408951,
0.014194916002452374,
0.07297481596469879,
0.006292740814387798,
0.013132603839039803,
0.03983291983604431,
-0.027335701510310173,
-0.0384216383099556,
-0.037243593484163284,
-0.037113990634679794,
-0.035577189177274704,
0.017414171248674393,
0.02300773747265339,
-0.010501970537006855,
0.0056434813886880875,
-0.04319168999791145,
0.012083184905350208,
0.03405804932117462,
0.000014287500562204514,
-0.025637228041887283,
0.011589620262384415,
0.018960164859890938,
-0.0411917008459568,
0.04654940962791443,
0.013583690859377384,
0.025199590250849724,
-0.018260272219777107,
-0.0043022520840168,
-0.004059900995343924,
-0.07038510590791702,
-0.06466776877641678,
0.026904059574007988,
0.023819640278816223,
-0.0024581518955528736,
0.012999683618545532,
-0.05113287270069122,
-0.022508513182401657,
-0.006116755306720734,
-0.03210656717419624,
-0.09740018844604492,
-0.037780389189720154,
-0.000981973484158516,
0.01987045630812645,
-0.04399551823735237,
-0.027423009276390076,
-0.00866912491619587,
0.006033135112375021,
0.006969019770622253,
0.0025537991896271706,
0.04765639454126358,
0.00002547833719290793,
0.018187856301665306,
-0.014917629770934582,
0.006802952848374844,
-0.054636385291814804,
-0.004023603163659573,
0.006780540570616722,
0.011872985400259495,
0.007375949993729591,
0.041810281574726105,
0.013840609230101109,
-0.010197066701948643,
0.0013722183648496866,
0.04221421852707863,
0.025322798639535904,
0.034501973539590836,
-0.023001298308372498,
0.012689708732068539,
-0.01873187907040119,
0.04273063689470291,
-0.04430437088012695,
0.027178704738616943,
-0.024031557142734528,
-0.046146076172590256,
0.024158131331205368,
-0.05878046527504921,
-0.022525914013385773,
-0.05742945522069931,
0.006829238496720791,
0.042379043996334076,
-0.03976978361606598,
-0.004700560588389635,
0.013426067307591438,
-0.006276336498558521,
-0.005400467198342085,
-0.03280870243906975,
0.014926445670425892,
0.05287639796733856,
0.01671116054058075,
0.018886368721723557,
0.04596209526062012,
0.020961837843060493,
-0.000531745667103678,
-0.020319903269410133,
0.015383649617433548,
6.594039151377288e-33,
0.0002851621247828007,
-0.004609587602317333,
0.008237172849476337,
-0.013837024569511414,
0.04128040745854378,
-0.020683296024799347,
0.005610827822238207,
-0.0030866896267980337,
-0.03734355419874191,
0.030818352475762367,
0.015527654439210892,
-0.01380178239196539,
-0.01088439580053091,
0.030756520107388496,
0.07080183923244476,
-0.006520469672977924,
0.011956754140555859,
-0.030696338042616844,
0.017220940440893173,
0.03636271506547928,
0.017459653317928314,
-0.0010774260153993964,
0.004470945801585913,
0.039469219744205475,
0.04004800319671631,
0.009072605520486832,
0.0005219490849412978,
-0.01516837626695633,
-0.004560792353004217,
-0.0028033480048179626,
0.008434874005615711,
-0.04322381317615509,
0.002710085129365325,
-0.005169438663870096,
0.05320623517036438,
0.014716409146785736,
-0.015843313187360764,
-0.033134110271930695,
0.04575623571872711,
-0.023138638585805893,
-0.0021622092463076115,
0.02057502046227455,
-0.010551657527685165,
0.05049673840403557,
0.029842393472790718,
0.02320685237646103,
0.003518752520903945,
0.03214089944958687,
0.01067379117012024,
0.011689260601997375,
0.004757388960570097,
0.03228362277150154,
-0.011032634414732456,
0.010423539206385612,
0.04283507540822029,
-0.0565372109413147,
0.009385855868458748,
0.041951633989810944,
0.018609557300806046,
-0.02556070312857628,
-0.0201824102550745,
-0.02711607702076435,
-0.060427870601415634,
0.04728527367115021,
-0.013744509778916836,
-0.03701460361480713,
-0.04061483219265938,
-0.012156601063907146,
-0.017294064164161682,
0.018886959180235863,
-0.020824389532208443,
0.014647421427071095,
-0.023163318634033203,
0.011146305128932,
0.0016507592517882586,
-0.044691119343042374,
-0.029100511223077774,
-0.000002268871867272537,
-0.0404997281730175,
0.028707602992653847,
-0.001507721608504653,
0.009568853303790092,
0.049270011484622955,
0.026818081736564636,
-0.03394061326980591,
-0.028788886964321136,
-0.00911855511367321,
0.021274583414196968,
-0.01443585753440857,
0.02277754619717598,
0.008400990627706051,
-0.04514680430293083,
-0.03788222745060921,
0.06864888966083527,
-0.023189982399344444,
-1.266834370738934e-8,
-0.055325936526060104,
0.022164050489664078,
-0.030911866575479507,
-0.00862344540655613,
0.012940900400280952,
0.012478004209697247,
0.007834653370082378,
-0.006175957154482603,
-0.011216648854315281,
0.02037808485329151,
0.01936129480600357,
-0.03557998314499855,
0.024485863745212555,
0.006764467805624008,
0.02372126094996929,
-0.060739804059267044,
0.008240184746682644,
-0.018661092966794968,
0.049407847225666046,
0.020464781671762466,
0.0024938988499343395,
0.02796381153166294,
-0.028387492522597313,
0.0249429140239954,
0.01796087808907032,
-0.016909737139940262,
0.04636526107788086,
-0.05575168877840042,
0.036077070981264114,
-0.01555719505995512,
0.023549871519207954,
-0.02391868643462658,
-0.028006600216031075,
0.030250035226345062,
-0.03910651430487633,
-0.0215583685785532,
0.015125527046620846,
0.03939488157629967,
-0.004080864600837231,
0.03014826774597168,
-0.008488468825817108,
0.00892315711826086,
-0.055002856999635696,
-0.023998141288757324,
-0.028123032301664352,
0.006057111080735922,
-0.022053826600313187,
-0.030120309442281723,
0.0538739375770092,
-0.04832748696208,
-0.018740499392151833,
-0.006927598733454943,
0.0604177787899971,
-0.011201964691281319,
0.04921591281890869,
0.032279931008815765,
0.0016469877446070313,
-0.01650065928697586,
0.03506067767739296,
-0.012044110335409641,
0.009010009467601776,
-0.004696814808994532,
-0.014474631287157536,
-0.023640180006623268
] | neo4j-cypher-creating-relationships-between-a-collection-of-nodes-invalid-input | https://markhneedham.com/blog/2014/04/19/neo4j-cypher-creating-relationships-between-a-collection-of-nodes-invalid-input |
false | 2014-04-19 21:15:21 | Neo4j: Cypher - Creating a time tree down to the day | [
"neo4j"
] | [
"neo4j"
] | ERROR: type should be string, got "https://twitter.com/mesirii[Michael] recently wrote a blog post showing how to http://jexp.de/blog/2014/04/importing-forests-into-neo4j/[create a time tree representing time down to the second] using Neo4j's Cypher query language, something I built on top of for https://github.com/mneedham/neo4j-meetup[a side project] I'm working on.\n\nThe domain I want to model is RSVPs to meetup invites - I want to understand how much in advance people respond and how likely they are to drop out at a later stage.\n\nFor this problem I only need to measure time down to the day so my task is a bit easier than Michael's.\n\nAfter a bit of fiddling around with leap years I believe the following query will create a time tree representing all the days from 2011 - 2014, which covers the time the London Neo4j meetup has been running:\n\n[source,cypher]\n----\n\nWITH range(2011, 2014) AS years, range(1,12) as months\nFOREACH(year IN years |\n MERGE (y:Year {year: year})\n FOREACH(month IN months |\n CREATE (m:Month {month: month})\n MERGE (y)-[:HAS_MONTH]->(m)\n FOREACH(day IN (CASE\n WHEN month IN [1,3,5,7,8,10,12] THEN range(1,31)\n WHEN month = 2 THEN\n CASE\n WHEN year % 4 <> 0 THEN range(1,28)\n WHEN year % 100 <> 0 THEN range(1,29)\n WHEN year % 400 = 0 THEN range(1,29)\n ELSE range(1,28)\n END\n ELSE range(1,30)\n END) |\n CREATE (d:Day {day: day})\n MERGE (m)-[:HAS_DAY]->(d))))\n----\n\nThe next step is to link adjacent days together so that we can easily traverse between adjacent days without needing to go back up and down the tree. For example we should have something like this:\n\n[source,cypher]\n----\n\n(jan31)-[:NEXT]->(feb1)-[:NEXT]->(feb2)\n----\n\nWe can build this by first collecting all the 'day' nodes in date order like so:\n\n[source,cypher]\n----\n\nMATCH (year:Year)-[:HAS_MONTH]->(month)-[:HAS_DAY]->(day)\nWITH year,month,day\nORDER BY year.year, month.month, day.day\nWITH collect(day) as days\nRETURN days\n----\n\nAnd then http://www.markhneedham.com/blog/2014/04/19/neo4j-cypher-creating-relationships-between-a-collection-of-nodes-invalid-input/[iterating over adjacent nodes] to create the 'NEXT' relationship:\n\n[source,cypher]\n----\n\nMATCH (year:Year)-[:HAS_MONTH]->(month)-[:HAS_DAY]->(day)\nWITH year,month,day\nORDER BY year.year, month.month, day.day\nWITH collect(day) as days\nFOREACH(i in RANGE(0, length(days)-2) |\n FOREACH(day1 in [days[i]] |\n FOREACH(day2 in [days[i+1]] |\n CREATE UNIQUE (day1)-[:NEXT]->(day2))))\n----\n\nNow if we want to find the previous 5 days from the 1st February 2014 we could write the following query:\n\n[source,cypher]\n----\n\nMATCH (y:Year {year: 2014})-[:HAS_MONTH]->(m:Month {month: 2})-[:HAS_DAY]->(:Day {day: 1})<-[:NEXT*0..5]-(day)\nRETURN y,m,day\n----\n\nimage::{{<siteurl>}}/uploads/2014/04/2014-04-19_22-14-04.png[2014 04 19 22 14 04,600]\n\nIf we want to we can create the time tree and then connect the day nodes all in one query by using 'WITH *' like so:\n\n[source,cypher]\n----\n\nWITH range(2011, 2014) AS years, range(1,12) as months\nFOREACH(year IN years |\n MERGE (y:Year {year: year})\n FOREACH(month IN months |\n CREATE (m:Month {month: month})\n MERGE (y)-[:HAS_MONTH]->(m)\n FOREACH(day IN (CASE\n WHEN month IN [1,3,5,7,8,10,12] THEN range(1,31)\n WHEN month = 2 THEN\n CASE\n WHEN year % 4 <> 0 THEN range(1,28)\n WHEN year % 100 <> 0 THEN range(1,29)\n WHEN year % 400 = 0 THEN range(1,29)\n ELSE range(1,28)\n END\n ELSE range(1,30)\n END) |\n CREATE (d:Day {day: day})\n MERGE (m)-[:HAS_DAY]->(d))))\n\nWITH *\n\nMATCH (year:Year)-[:HAS_MONTH]->(month)-[:HAS_DAY]->(day)\nWITH year,month,day\nORDER BY year.year, month.month, day.day\nWITH collect(day) as days\nFOREACH(i in RANGE(0, length(days)-2) |\n FOREACH(day1 in [days[i]] |\n FOREACH(day2 in [days[i+1]] |\n CREATE UNIQUE (day1)-[:NEXT]->(day2))))\n----\n\nNow I need to connect the RSVP events to the tree!\n\n== Updated: 13th August 2017\n\nI updated the Cypher query to fix a bug pointed out in the comments by Adam Hill and Colin." | null | null | [
0.008735660463571548,
-0.016576869413256645,
0.005684817675501108,
0.030069464817643166,
0.07588957995176315,
-0.006207650527358055,
0.0634903684258461,
0.019998781383037567,
0.018739819526672363,
-0.0076545225456357,
0.002874089637771249,
-0.02289455197751522,
-0.06528186798095703,
0.03351674973964691,
-0.03493628278374672,
0.06312410533428192,
0.06875591725111008,
-0.014267604798078537,
0.009867342188954353,
-0.018985416740179062,
0.01960519328713417,
0.026013784110546112,
0.004431047942489386,
0.05602800473570824,
0.05871240422129631,
0.005438825115561485,
-0.01183471828699112,
-0.00511109409853816,
-0.03659602254629135,
-0.0071991002187132835,
0.043960921466350555,
-0.0032130838371813297,
0.013473181053996086,
-0.008433330804109573,
0.03444262966513634,
-0.011629406362771988,
-0.045658618211746216,
-0.006972444709390402,
0.010999648831784725,
-0.005252850241959095,
-0.04528935253620148,
0.030759762972593307,
-0.009123827330768108,
0.00006993078568484634,
-0.030210737138986588,
0.024829024448990822,
-0.034776072949171066,
0.02935006096959114,
0.023481203243136406,
0.026942186057567596,
-0.08015230298042297,
0.004887591116130352,
-0.003345621982589364,
0.017266346141695976,
-0.028597908094525337,
0.04621492326259613,
0.02206084504723549,
-0.08637072890996933,
0.049551401287317276,
-0.01707724668085575,
0.009336316026747227,
-0.03247061371803284,
0.0031520649790763855,
0.01703246310353279,
0.002960128476843238,
-0.03842014819383621,
0.010527471080422401,
0.05150303244590759,
-0.03679049387574196,
0.001577212824486196,
-0.005016358103603125,
0.015361197292804718,
-0.004326007328927517,
0.009587349370121956,
-0.013466022908687592,
-0.032680585980415344,
-0.0028387513011693954,
0.050323449075222015,
0.04136107489466667,
0.05131574720144272,
-0.025407705456018448,
-0.003556010080501437,
0.03801476210355759,
0.04042299836874008,
-0.005622230935841799,
-0.013717087917029858,
-0.037556372582912445,
-0.028157193213701248,
-0.05957437679171562,
0.046660467982292175,
0.0170240830630064,
-0.051266755908727646,
0.026657750830054283,
0.004054051358252764,
-0.005876161623746157,
0.015245659276843071,
0.011983907781541348,
0.0013258779654279351,
0.011874793097376823,
-0.0014466592110693455,
-0.01688486337661743,
-0.04080186039209366,
-0.006176642142236233,
0.026723118498921394,
-0.07085587084293365,
-0.032699860632419586,
-0.03806274011731148,
-0.020703401416540146,
0.014407575130462646,
-0.0009098936570808291,
-0.07060978561639786,
0.009547190740704536,
0.009057019837200642,
0.015647845342755318,
-0.0752100721001625,
0.06736524403095245,
0.0276651494204998,
-0.03602978587150574,
-0.02886228822171688,
-0.009410829283297062,
0.026788977906107903,
0.012214773334562778,
-0.007538589183241129,
0.056112438440322876,
-0.010451771318912506,
0.05544813349843025,
-0.0021257512271404266,
0.03886307775974274,
-0.044151421636343,
-0.06818712502717972,
-0.02416977658867836,
0.04576215147972107,
-0.013355087488889694,
-0.011577505618333817,
-0.033122360706329346,
-0.049292273819446564,
-0.02048785425722599,
0.03592515364289284,
0.06881535798311234,
0.02770274691283703,
0.019903458654880524,
-0.04254814609885216,
0.04424575716257095,
-0.015713924542069435,
0.033957988023757935,
0.038501765578985214,
-0.026318734511733055,
-0.051539454609155655,
-0.04119846224784851,
-0.015844089910387993,
0.01858527772128582,
0.02251320146024227,
0.01908756047487259,
-0.03880491480231285,
0.013904329389333725,
0.10189177095890045,
0.028897911310195923,
-0.0024452710058540106,
-0.014004027470946312,
0.011040130630135536,
0.055447567254304886,
0.032893773168325424,
-0.003072689287364483,
0.0643266960978508,
-0.0014464521082118154,
0.002297512721270323,
0.009315372444689274,
0.038688622415065765,
-0.007418888621032238,
-0.008232248947024345,
-0.04255128651857376,
-0.03196432441473007,
0.06210309639573097,
-0.06196369230747223,
-0.01509772427380085,
0.06034525856375694,
0.07255323231220245,
0.025079408660531044,
0.002966797212138772,
-0.006877781357616186,
-0.07850442826747894,
0.04746494069695473,
0.011572569608688354,
0.022108636796474457,
0.023547891527414322,
-0.013460465706884861,
0.05835682898759842,
0.02383376657962799,
-0.006349236238747835,
0.03494604676961899,
-0.08596055954694748,
-0.061694685369729996,
0.003361921291798353,
-0.030288662761449814,
0.05422049015760422,
-0.042215730994939804,
0.0340164415538311,
0.054606955498456955,
-0.011466274037957191,
0.04265448451042175,
0.016361601650714874,
-0.000981403747573495,
0.015687892213463783,
-0.017602618783712387,
-0.048906754702329636,
0.06917443126440048,
0.002591288648545742,
-0.039530470967292786,
-0.02681046724319458,
0.0128787811845541,
0.003874443005770445,
0.00917229987680912,
0.031518977135419846,
-0.018274391070008278,
0.04143403843045235,
0.038343027234077454,
0.04697412997484207,
-0.021101169288158417,
0.003435323014855385,
-0.04041564092040062,
0.041553352028131485,
0.03175473213195801,
-0.018987717106938362,
-0.0047218226827681065,
-0.0048761311918497086,
0.10225579887628555,
0.06460241973400116,
-0.020937850698828697,
-0.04950963705778122,
0.020284561440348625,
0.001387514523230493,
-0.011077729985117912,
-0.002041136845946312,
0.0024450391065329313,
0.026074742898344994,
-0.009365318343043327,
-0.018720919266343117,
-0.031942181289196014,
-0.02350487746298313,
-0.0329829603433609,
0.020437514409422874,
0.058675941079854965,
-0.018807342275977135,
0.05592295899987221,
-0.022880861535668373,
-0.0017046602442860603,
-0.00879655685275793,
-0.0285229180008173,
-0.06355155259370804,
0.034956518560647964,
0.026736019179224968,
-0.0014199137222021818,
0.06794353574514389,
-0.02350078709423542,
-0.010354696772992611,
-0.02124955877661705,
-0.010972470045089722,
0.05263940989971161,
0.049898676574230194,
0.05992228910326958,
0.0015814006328582764,
0.05138960853219032,
-0.03290597349405289,
0.008418690413236618,
-0.013768486678600311,
-0.058538638055324554,
-0.06235655024647713,
-0.019278712570667267,
0.025578483939170837,
0.010960415005683899,
0.03560474142432213,
-0.027391886338591576,
0.03241899609565735,
0.010578934103250504,
-0.004760678391903639,
-0.01971334218978882,
0.028062451630830765,
0.0015250035794451833,
-0.001719106687232852,
-0.04240880906581879,
-0.035645704716444016,
0.05177547037601471,
-0.05399761721491814,
-0.03329873085021973,
-0.01983085460960865,
-0.05509312078356743,
0.061435963958501816,
-0.07412324100732803,
-0.03179001435637474,
0.01439283974468708,
0.05074497312307358,
0.06223888695240021,
0.029417168349027634,
0.006312393117696047,
0.08411725610494614,
0.020431114360690117,
0.022329464554786682,
0.016630757600069046,
-0.013438078574836254,
0.040357183665037155,
-0.0008393415482714772,
0.01931183785200119,
0.043781474232673645,
-0.02274181693792343,
-0.002929526846855879,
-0.04068881273269653,
0.016227131709456444,
-0.024233590811491013,
-0.26923105120658875,
0.04659036546945572,
-0.046874694526195526,
-0.052048806101083755,
-0.004161824472248554,
-0.028046587482094765,
0.026433387771248817,
-0.03201637044548988,
-0.043103594332933426,
-0.0032472554594278336,
-0.017611224204301834,
-0.056333716958761215,
-0.022670505568385124,
0.046691108494997025,
0.024621518328785896,
-0.00127936783246696,
-0.001382765593007207,
-0.05245491489768028,
0.014396893791854382,
0.03605082258582115,
0.00029524380806833506,
-0.0460953414440155,
-0.009551167488098145,
0.04823489114642143,
0.02267679013311863,
0.04205241799354553,
-0.07298607379198074,
0.0006750058964826167,
-0.06117836758494377,
-0.0036834690254181623,
0.0022035634610801935,
-0.020671211183071136,
0.019682541489601135,
-0.01898432895541191,
-0.008832634426653385,
-0.009467544965445995,
0.04445262253284454,
0.01861896924674511,
0.023947276175022125,
0.033439215272665024,
-0.04646478220820427,
-0.052938878536224365,
-0.00965836551040411,
-0.0038365062791854143,
0.08011121302843094,
0.01471676304936409,
-0.053139884024858475,
-0.021188676357269287,
-0.018768366426229477,
0.062161482870578766,
-0.026323318481445312,
-0.027650710195302963,
-0.009577860124409199,
-0.00985170528292656,
-0.030960697680711746,
-0.03399716317653656,
-0.01797322742640972,
-0.015390495769679546,
-0.04123489931225777,
-0.027141021564602852,
-0.02034798078238964,
-0.03200070187449455,
0.021390603855252266,
-0.05404353886842728,
-0.0164130087941885,
-0.051906369626522064,
-0.10557430237531662,
-0.02464446984231472,
0.04625963047146797,
0.012035444378852844,
-0.027025308459997177,
0.016217179596424103,
-0.031835369765758514,
-0.11591368168592453,
-0.04848127439618111,
-0.012879207730293274,
-0.008180759847164154,
-0.009235452860593796,
-0.004952375311404467,
0.05547751858830452,
-0.05719384551048279,
-0.05293577164411545,
0.008229375816881657,
0.03955431282520294,
0.022229647263884544,
0.024691861122846603,
-0.006017800886183977,
-0.025891894474625587,
-0.02577918954193592,
0.015817217528820038,
0.03745077922940254,
-0.014638851396739483,
-0.03709859400987625,
-0.00022309631458483636,
0.005640826188027859,
0.025289658457040787,
0.0023519278038293123,
0.0011656001443043351,
0.023212844505906105,
0.020077290013432503,
0.014402319677174091,
-0.027742432430386543,
0.010551409795880318,
-0.006161279045045376,
-0.02976135164499283,
-0.023744842037558556,
-0.03270954266190529,
0.029483851045370102,
0.02696930803358555,
0.04168322682380676,
0.007786641363054514,
-0.010340524837374687,
0.00031503383070230484,
-0.0503147654235363,
-0.02643645741045475,
-0.014884056523442268,
0.015891239047050476,
0.03293957933783531,
0.0482637956738472,
-0.015085762366652489,
-0.07140428572893143,
0.007847202941775322,
0.014229515567421913,
-0.008748087100684643,
-0.04080613702535629,
-0.01870989240705967,
-0.032416343688964844,
-0.023956306278705597,
0.02289067581295967,
0.023662056773900986,
-0.04466011002659798,
0.05406259745359421,
0.04341806471347809,
-0.016606951132416725,
0.04117710888385773,
-0.017032502219080925,
-0.02281312271952629,
-0.04305898770689964,
0.01369206327944994,
-0.009901131503283978,
-0.018278243020176888,
-0.0004161720280535519,
-0.009015808813273907,
0.052793290466070175,
0.0297302957624197,
0.023449232801795006,
0.00362270325422287,
-0.019672760739922523,
0.016777977347373962,
0.01560425665229559,
-0.017711399123072624,
-0.03214697912335396,
-0.0031123077496886253,
-0.05566515401005745,
-0.038283996284008026,
-0.007059559691697359,
0.041532859206199646,
-0.0024577772710472345,
-0.028098978102207184,
-0.03324354812502861,
0.028745250776410103,
-0.0706368014216423,
0.0220860093832016,
-0.027249492704868317,
0.010507971048355103,
0.06889790296554565,
-0.04008471220731735,
0.02167510986328125,
-0.03951382264494896,
-0.014283380471169949,
0.02139962650835514,
0.01357804425060749,
-0.05117560178041458,
0.022852502763271332,
0.0006986359367147088,
0.0002617573190946132,
0.014275569468736649,
0.02101132832467556,
0.03384704515337944,
0.01899549923837185,
-0.004410212393850088,
0.006032634526491165,
0.004058684688061476,
-0.007309434469789267,
0.04651779308915138,
0.05017385259270668,
-0.008655295707285404,
-0.0013372738612815738,
-0.03486449271440506,
-0.03028050810098648,
-0.011815813370049,
-0.015461964532732964,
-0.0184716135263443,
-0.019279547035694122,
-0.031298741698265076,
-0.06726447492837906,
0.055194176733493805,
0.004133049864321947,
0.00658465176820755,
0.036294277757406235,
0.008351093158125877,
-0.02728903852403164,
-0.007046888116747141,
0.04416201263666153,
0.045102305710315704,
-0.055403195321559906,
-0.010368837043642998,
0.02373412624001503,
-0.01739349775016308,
-0.009090934880077839,
0.029707036912441254,
-0.051546018570661545,
-0.03847138583660126,
-0.02123343013226986,
0.02833383157849312,
-0.02228405326604843,
-0.037013810127973557,
-0.020052803680300713,
0.01184712816029787,
-0.0006840486312285066,
0.05016449838876724,
0.0018467004410922527,
0.0003784244181588292,
-0.0007518475758843124,
-0.011998721398413181,
0.045773159712553024,
-0.021557584404945374,
0.004481426440179348,
0.014972562901675701,
-0.01910308375954628,
0.011077353730797768,
-0.04029256850481033,
0.02011280693113804,
0.021338708698749542,
-0.04214590787887573,
-0.015090636909008026,
-0.07397988438606262,
0.01820448227226734,
-0.015811316668987274,
0.06650615483522415,
-0.011568542569875717,
0.010196259245276451,
-0.02893196791410446,
-0.0015367495361715555,
-0.023038113489747047,
0.012233172543346882,
-0.001006890437565744,
-0.017485931515693665,
0.013535202480852604,
0.025498561561107635,
0.008305641822516918,
0.03276510909199715,
-0.007254377473145723,
-0.019619325175881386,
0.028985343873500824,
-0.044585440307855606,
-0.06731458753347397,
-0.019632209092378616,
-0.057486642152071,
-0.009389753453433514,
-0.0011936344671994448,
0.008116049692034721,
-0.03129483386874199,
0.06296364217996597,
0.06990332156419754,
0.0556814968585968,
0.06211283802986145,
-0.009743120521306992,
0.012172815389931202,
-0.021754909306764603,
-0.029283007606863976,
-0.07999490946531296,
-0.006153407972306013,
0.02867985889315605,
0.009379906579852104,
-0.006485463120043278,
-0.0020785864908248186,
-0.007842049933969975,
0.011354343965649605,
-0.07355887442827225,
-0.02372070401906967,
0.04163190722465515,
-0.015927240252494812,
0.026886001229286194,
0.014709258452057838,
-0.06724997609853745,
-0.003018196439370513,
0.05838771164417267,
-0.022217487916350365,
-0.01816648617386818,
-0.02703327126801014,
0.05798850208520889,
-0.02239278145134449,
0.058623626828193665,
-0.04020799696445465,
-0.03197367489337921,
0.0764736756682396,
0.0061645833775401115,
0.007133635692298412,
0.06600861996412277,
-0.00876437034457922,
0.030555766075849533,
0.02883918769657612,
-0.013098870404064655,
-0.022264983505010605,
0.029668450355529785,
-0.032861173152923584,
-0.05541059002280235,
0.03564748540520668,
0.014159263111650944,
-0.010442190803587437,
-0.03450995683670044,
0.07994463294744492,
0.010540838353335857,
-0.04518796503543854,
-0.013376547023653984,
0.028553171083331108,
-0.013495733961462975,
-0.015594559721648693,
-0.05358508601784706,
0.013969335705041885,
-0.051097381860017776,
0.04741092026233673,
-0.017665574327111244,
0.031148575246334076,
0.07021162658929825,
-0.00655697425827384,
-0.010415974073112011,
0.009733753278851509,
0.09876064211130142,
0.10286059230566025,
0.04073439538478851,
0.017928363755345345,
0.07854480296373367,
-0.012164456769824028,
-0.0327499657869339,
-0.031526558101177216,
-0.05416702851653099,
-0.024522049352526665,
-0.019770408049225807,
0.03459498658776283,
0.07853187620639801,
-0.03187771886587143,
0.06284280121326447,
-0.016294384375214577,
-0.025445785373449326,
-0.007857070304453373,
-0.018868951126933098,
0.054862525314092636,
0.06252143532037735,
0.03548942878842354,
0.03076992742717266,
-0.01818615384399891,
-0.043810371309518814,
0.03627198189496994,
-0.0028341684956103563,
-0.016597716137766838,
0.0418488085269928,
-0.014003592543303967,
-0.0022769467905163765,
0.004588905721902847,
0.042797818779945374,
0.061337169259786606,
-0.023812243714928627,
0.0035357887391000986,
0.0049179536290466785,
0.0037424589972943068,
-0.007802865467965603,
0.013052154332399368,
-0.0022179598454385996,
-0.01146046444773674,
-0.021779026836156845,
-0.04568082466721535,
-0.01843288168311119,
-0.009096627123653889,
-0.054964806884527206,
0.011282426305115223,
-0.0221465602517128,
0.0005251567927189171,
0.008410288952291012,
-0.03191767632961273,
-0.01786501333117485,
-0.036388933658599854,
-0.030282767489552498,
-0.03378728777170181,
-0.06828396767377853,
0.00438869372010231,
0.017458997666835785,
-0.012647604569792747,
-0.0015919668367132545,
0.028245490044355392,
-0.009373459033668041,
-0.020738590508699417,
0.025764791294932365,
-0.032260727137327194,
-0.01812276430428028,
0.00858787540346384,
0.002786813536658883,
0.0244104266166687,
0.045742448419332504,
0.0522993840277195,
-0.011661224067211151,
-0.003884362056851387,
-0.05934436246752739,
0.030858619138598442,
0.039523325860500336,
0.028637368232011795,
-0.007575262803584337,
-0.0674721747636795,
0.003435190301388502,
0.04040805622935295,
-0.022424334660172462,
-0.08298708498477936,
0.02646210975944996,
0.04637658968567848,
0.011321221478283405,
0.03463242948055267,
-0.017285412177443504,
-0.02180153876543045,
-0.02836781181395054,
0.010019333101809025,
-0.005960116162896156,
-0.0006309819873422384,
0.037818752229213715,
-0.016203168779611588,
0.06442940980195999,
0.043590303510427475,
-0.04259543865919113,
-0.026390988379716873,
-0.02532385289669037,
0.004180282820016146,
-0.013404782861471176,
-0.039020806550979614,
-0.029425829648971558,
-0.06494652479887009,
-0.08683274686336517,
-0.04858000576496124,
0.014111378230154514,
-0.011072825640439987,
-0.02198532223701477,
0.007171288598328829,
0.019101431593298912,
-0.009234113618731499,
0.027300789952278137,
-0.0268650371581316,
0.015176566317677498,
-0.01791037805378437,
-0.03281904384493828,
-0.03743221238255501,
0.006756640505045652,
-0.016724344342947006,
0.01289777085185051,
0.009475822560489178,
-0.05159739777445793,
-0.013211138546466827,
-0.015389472246170044,
0.023540688678622246,
0.027963832020759583,
0.0212248545140028,
0.009931230917572975
] | [
-0.06972473859786987,
-0.023005498573184013,
-0.03117428719997406,
-0.01691628247499466,
0.041996344923973083,
-0.0541517436504364,
-0.02912469580769539,
-0.017346937209367752,
0.03172420710325241,
-0.017489656805992126,
0.03937801346182823,
-0.021502399817109108,
0.025210415944457054,
0.02382834628224373,
0.0764923021197319,
-0.006046082358807325,
-0.04707971215248108,
-0.057646095752716064,
-0.010740110650658607,
0.06758581101894379,
-0.02258341759443283,
-0.023285161703824997,
-0.031643304973840714,
-0.017497604712843895,
0.03818633779883385,
0.0533282645046711,
0.038057420402765274,
-0.033099349588155746,
-0.03229423984885216,
-0.19072933495044708,
0.008198064751923084,
0.01775108277797699,
0.010220326483249664,
-0.007112532388418913,
-0.0017161046853289008,
0.035554032772779465,
0.07379626482725143,
-0.015239017084240913,
0.008822973817586899,
0.046331267803907394,
0.017873238772153854,
0.018477564677596092,
-0.04920382797718048,
-0.010947054252028465,
0.03777750954031944,
0.005205187946557999,
-0.040196798741817474,
-0.0017490689642727375,
-0.057060688734054565,
0.02920857071876526,
-0.018562937155365944,
-0.004182606004178524,
-0.0016611326718702912,
-0.006299682892858982,
0.012111997231841087,
0.07297539710998535,
0.04302641749382019,
0.046843159943819046,
0.03893695026636124,
0.024815751239657402,
0.00013657798990607262,
0.0029496788047254086,
-0.14456266164779663,
0.07030973583459854,
0.003439816180616617,
-0.008198379538953304,
-0.0445534810423851,
0.015212132595479488,
-0.02115926332771778,
0.08035523444414139,
0.00973484292626381,
0.02266516350209713,
-0.040081460028886795,
0.050230517983436584,
-0.01618921384215355,
0.019712233915925026,
-0.013335021212697029,
0.001739421859383583,
0.04841972142457962,
-0.02812899835407734,
-0.03901546075940132,
0.027326133102178574,
-0.024027591571211815,
-0.005276812240481377,
-0.010434423573315144,
0.04453769326210022,
-0.018698416650295258,
0.027379371225833893,
-0.013331400230526924,
0.07824970036745071,
0.01939002051949501,
0.017972307279706,
0.016436459496617317,
0.015267100185155869,
-0.07546766102313995,
-0.023724010214209557,
0.030202949419617653,
0.03306933864951134,
-0.019513269886374474,
0.3694911599159241,
-0.007620329037308693,
0.022002000361680984,
0.0239477027207613,
0.05831744521856308,
-0.04138471186161041,
-0.022686440497636795,
0.0007209706236608326,
-0.08793921768665314,
0.03309820592403412,
-0.016044141724705696,
-0.023769540712237358,
-0.053984008729457855,
0.06365836411714554,
-0.10692207515239716,
-0.002345785265788436,
0.009013098664581776,
0.07557403296232224,
0.028314128518104553,
-0.00591181730851531,
0.035834215581417084,
0.007713713683187962,
0.004547219257801771,
0.046001337468624115,
0.002548223827034235,
0.03393644466996193,
0.04107419401407242,
0.029408277943730354,
0.04536492004990578,
0.02253316342830658,
-0.001607587211765349,
0.07979757338762283,
-0.007187225390225649,
-0.058920763432979584,
0.023467091843485832,
0.006427773740142584,
0.00382561725564301,
0.00859071034938097,
-0.0508299320936203,
0.0060538314282894135,
-0.012164970859885216,
-0.013514514081180096,
-0.034506238996982574,
0.05505766719579697,
0.009329880587756634,
-0.0157699566334486,
0.13285455107688904,
0.005204005166888237,
-0.03882404416799545,
-0.023158911615610123,
-0.014672499150037766,
-0.03167008236050606,
0.012602834962308407,
0.02497905120253563,
-0.08262226730585098,
0.004984110593795776,
0.011892382055521011,
0.1151273101568222,
-0.01706523634493351,
-0.06772563606500626,
0.010589673183858395,
-0.03825845196843147,
-0.022302616387605667,
-0.026091067120432854,
0.07552291452884674,
0.05548468977212906,
-0.15095849335193634,
0.004704904742538929,
0.027849826961755753,
0.022169172763824463,
-0.07599663734436035,
0.03660779073834419,
0.0054595195688307285,
0.00022293630172498524,
-0.011173715814948082,
0.10322439670562744,
-0.0053305309265851974,
-0.010688215494155884,
-0.012624452821910381,
0.05278698354959488,
0.00998450443148613,
-0.00499171856790781,
0.0007005445659160614,
-0.0011202010791748762,
0.003258048091083765,
-0.04791565239429474,
-0.05578428506851196,
-0.05846569314599037,
0.01141847763210535,
-0.024936197325587273,
-0.04217858985066414,
-0.007418937981128693,
-0.0567362904548645,
-0.06683263927698135,
0.09091456234455109,
-0.07023300230503082,
-0.049886468797922134,
-0.013272621668875217,
0.027982592582702637,
-0.016268659383058548,
-0.028057986870408058,
-0.011195414699614048,
-0.020830856636166573,
-0.0133800795301795,
0.004422700963914394,
-0.03610849007964134,
0.01637725532054901,
0.07829388976097107,
-0.04653942957520485,
0.05794181302189827,
0.025667458772659302,
-0.03339581936597824,
-0.007200900930911303,
-0.0033166788052767515,
-0.012316622771322727,
-0.003088717581704259,
0.022748326882719994,
-0.011112183332443237,
-0.03782380744814873,
-0.009514966979622841,
0.05912015214562416,
-0.011913609690964222,
-0.025369198992848396,
0.002659784397110343,
-0.3398565351963043,
-0.035857442766427994,
-0.009685895405709743,
0.009121010079979897,
0.024767056107521057,
-0.031877633184194565,
-0.019472910091280937,
-0.05174834281206131,
0.018386509269475937,
0.013182495720684528,
0.09813442826271057,
0.00094640749739483,
-0.02440883032977581,
-0.0791575238108635,
0.0007287790067493916,
0.04880543425679207,
-0.007820157334208488,
0.003895682515576482,
-0.030451009050011635,
-0.0061857127584517,
-0.010086020454764366,
-0.03872125595808029,
-0.003303032135590911,
-0.08782847970724106,
-0.013311411254107952,
-0.00546753965318203,
0.10706903040409088,
-0.006198479328304529,
-0.005797609221190214,
-0.056440480053424835,
0.05463531240820885,
-0.0019387640058994293,
-0.02866343967616558,
-0.04767356067895889,
0.001905464450828731,
-0.03414814919233322,
0.046761274337768555,
0.009236241690814495,
-0.018150674179196358,
-0.01225851196795702,
-0.043679386377334595,
0.017566440626978874,
-0.03623643517494202,
-0.046417441219091415,
-0.05932247266173363,
0.028576649725437164,
-0.0024433634243905544,
-0.012086339294910431,
0.022039204835891724,
0.03480598330497742,
0.014407495968043804,
-0.014263857156038284,
0.016646869480609894,
0.02038087509572506,
0.017900481820106506,
-0.04630904644727707,
-0.06684642285108566,
-0.00652419775724411,
0.011734827421605587,
0.024379819631576538,
-0.014128163456916809,
0.05213507264852524,
0.0182830598205328,
-0.06920997053384781,
0.010775201953947544,
0.015934310853481293,
-0.03425826132297516,
-0.018360890448093414,
-0.008887906558811665,
-0.016269275918602943,
-0.023294750601053238,
0.09312258660793304,
-0.04264485090970993,
0.0029498059302568436,
0.06577425450086594,
0.008671813644468784,
-0.06194039434194565,
0.02113874815404415,
0.04260260611772537,
0.02036106027662754,
0.03194355592131615,
-0.07853731513023376,
0.09730514138936996,
-0.00038049626164138317,
-0.007044909987598658,
0.0527101494371891,
0.0014161564176902175,
-0.02563556469976902,
0.06051158905029297,
0.0060803573578596115,
-0.028362886980175972,
-0.009859180077910423,
-0.015592156909406185,
-0.01883753389120102,
0.06947578489780426,
-0.029226046055555344,
-0.28149688243865967,
0.054212234914302826,
0.01860639452934265,
0.03733382746577263,
0.014547034166753292,
0.01056436076760292,
-0.004913320764899254,
-0.010347716510295868,
-0.01404071319848299,
-0.0268254391849041,
0.03249349445104599,
0.06984108686447144,
0.0025984470266848803,
0.0003301174147054553,
0.021999651566147804,
0.011913802474737167,
0.016249142587184906,
0.015298443846404552,
0.0046918937005102634,
-0.017158061265945435,
0.052564505487680435,
-0.025490421801805496,
0.18601709604263306,
0.02758043259382248,
0.0019843473564833403,
0.043174054473638535,
-0.048672351986169815,
0.0030635478906333447,
0.07165970653295517,
-0.021961567923426628,
-0.022962749004364014,
0.024702223017811775,
0.030851854011416435,
0.03956712782382965,
0.02159806340932846,
-0.02878914214670658,
-0.008337270468473434,
0.062419526278972626,
0.023377442732453346,
-0.04430638253688812,
0.0005693405400961637,
0.010644955560564995,
-0.018640195950865746,
0.01754031889140606,
0.08986315876245499,
-0.038641296327114105,
-0.0058681052178144455,
-0.02780790813267231,
-0.04583320766687393,
0.0059549459256231785,
-0.031388167291879654,
-0.05300810933113098,
-0.025801124051213264,
0.009248516522347927,
-0.016769088804721832,
0.0718369334936142,
0.024344665929675102,
-0.03266727924346924,
0.028784945607185364,
0.00983393844217062,
-0.034656453877687454,
-0.040652450174093246,
0.09356168657541275,
-0.04911992698907852,
0.024845026433467865
] | [
0.03821389377117157,
0.07402938604354858,
0.013700289651751518,
0.04252675548195839,
-0.013310414738953114,
-0.019958985969424248,
-0.00935897696763277,
0.000386667437851429,
-0.009548806585371494,
-0.008682155050337315,
-0.04479490965604782,
0.007742931134998798,
0.03955646604299545,
0.004107806831598282,
0.0050208899192512035,
0.018562959507107735,
-0.01971169002354145,
0.0333922803401947,
0.04042072221636772,
-0.02549077197909355,
-0.03850720077753067,
-0.006725425831973553,
0.032079096883535385,
0.014420798979699612,
-0.02402120642364025,
0.01254260167479515,
-0.021714404225349426,
0.03616946563124657,
0.02283557318150997,
-0.09087909758090973,
-0.045216333121061325,
-0.0005329765845090151,
-0.017687613144516945,
0.010344024747610092,
-0.0441192127764225,
0.0030394019559025764,
0.034627754241228104,
0.025391126051545143,
0.012225361540913582,
0.02241763472557068,
0.03301260247826576,
-0.00996247585862875,
0.01211471762508154,
-0.016007075086236,
0.0080683259293437,
0.0191301591694355,
-0.016526000574231148,
-0.014365017414093018,
-0.021667100489139557,
-0.012563515454530716,
-0.03819773718714714,
-0.004387853667140007,
-0.023923693224787712,
0.012469681911170483,
-0.0025101916398853064,
0.03802388906478882,
-0.05468080937862396,
-0.023846929892897606,
0.004975023679435253,
-0.024901961907744408,
0.025863751769065857,
0.00461900420486927,
-0.08126909285783768,
-0.026622146368026733,
-0.0010504599194973707,
-0.023633215576410294,
-0.01314681675285101,
0.04531938210129738,
0.027065586298704147,
-0.0015452646184712648,
-0.041392650455236435,
0.06116267666220665,
-0.06568190455436707,
-0.009285486303269863,
-0.008275233209133148,
0.05047624930739403,
0.02790880762040615,
-0.022130075842142105,
0.014646220952272415,
-0.01063536386936903,
-0.008271903730928898,
0.02098972536623478,
-0.03465542942285538,
-0.004930910654366016,
-0.028440698981285095,
-0.027595778927206993,
0.017217978835105896,
0.013229050673544407,
0.01813170313835144,
-0.0010958000784739852,
-0.0033841237891465425,
0.025254128500819206,
-0.009121399372816086,
-0.021072465926408768,
-0.10341083258390427,
-0.011904746294021606,
0.027209026739001274,
0.00021674578601960093,
0.02790699154138565,
0.8264148831367493,
-0.006657753139734268,
0.008735854178667068,
-0.0058375271037220955,
0.0028419478330761194,
0.0017150368075817823,
0.01123452465981245,
-0.019908303394913673,
0.0007884164224378765,
-0.006737583316862583,
-0.002325809560716152,
-0.02400597184896469,
0.012693913653492928,
0.006818500347435474,
0.01455348264425993,
0.015110387466847897,
0.044726815074682236,
0.004942585248500109,
0.009477799758315086,
0.0005877966759726405,
0.011230714619159698,
-0.0058142743073403835,
0.0359332300722599,
0.02595342881977558,
0.003187362803146243,
0.005807620473206043,
-0.1574775129556656,
0.013663334771990776,
-6.710851698438345e-33,
0.05243781581521034,
0.014787061139941216,
0.06616562604904175,
0.0009975805878639221,
0.025971025228500366,
0.012933243066072464,
-0.008256100118160248,
-0.04913843795657158,
-0.0070505812764167786,
-0.038610152900218964,
-0.0216367244720459,
-0.0008392236195504665,
0.01889844611287117,
-0.040571797639131546,
0.007368842139840126,
-0.023364394903182983,
0.025103677064180374,
0.008992066606879234,
0.015104295685887337,
0.0008663414628244936,
-0.00749632902443409,
0.0058587174862623215,
-0.026582960039377213,
0.03687836974859238,
0.034856610000133514,
0.03112446889281273,
0.03485479578375816,
-0.0032481015659868717,
0.006722252815961838,
-0.06037459149956703,
-0.03407790884375572,
0.027808932587504387,
-0.024727359414100647,
-0.0013569945003837347,
0.0459006242454052,
-0.058689989149570465,
-0.011426886543631554,
0.0012906407937407494,
-0.030753809958696365,
-0.0743308812379837,
-0.053770773112773895,
-0.005970806814730167,
-0.009569093585014343,
-0.01994546502828598,
-0.02973475120961666,
-0.012263274751603603,
0.002790827536955476,
0.004494732245802879,
-0.0003938244772143662,
0.02221672795712948,
0.02890947088599205,
-0.0009499474545009434,
-0.01899675652384758,
-0.027301449328660965,
-0.061168015003204346,
0.006983207073062658,
0.028212623670697212,
0.01914728619158268,
0.014512530528008938,
0.03244857117533684,
0.032603148370981216,
-0.026047032326459885,
-0.004387840162962675,
0.033658217638731,
0.013710961677134037,
0.016483966261148453,
-0.00882055051624775,
-0.009925762191414833,
-0.006064179353415966,
0.03774628788232803,
-0.043514836579561234,
0.03710440173745155,
-0.02185976132750511,
-0.030550751835107803,
0.03493331000208855,
-0.043898530304431915,
0.009779148735105991,
-0.010517634451389313,
0.019358806312084198,
0.050562236458063126,
-0.011243727058172226,
-0.025432225316762924,
0.0034208078868687153,
-0.027676904574036598,
0.006818225607275963,
-0.04876590520143509,
0.03396139293909073,
0.042651813477277756,
0.012429764494299889,
0.012659412808716297,
0.0181758850812912,
0.0077770771458745,
0.021489504724740982,
-0.008792435750365257,
0.01023087464272976,
6.513022611350677e-33,
-0.012152486480772495,
-0.02316184714436531,
0.0006003687158226967,
-0.0027658254839479923,
0.018699947744607925,
-0.010969682596623898,
0.014600851573050022,
0.005074469372630119,
-0.014455069787800312,
0.03306283801794052,
0.013338463380932808,
-0.0008837363566271961,
0.0076774246990680695,
0.030506689101457596,
0.04488939046859741,
-0.0069062793627381325,
0.05083562433719635,
-0.03604033589363098,
0.007691764738410711,
0.05055251717567444,
0.01297440193593502,
0.0005698406603187323,
-0.017370421439409256,
0.008532297797501087,
0.033219095319509506,
0.018245145678520203,
0.034093357622623444,
0.002567969262599945,
-0.0068174987100064754,
-0.003613086650148034,
0.030493928119540215,
-0.06088458374142647,
-0.002940030535683036,
-0.009859653189778328,
-0.007146056275814772,
0.02379150502383709,
-0.010115943849086761,
-0.023313594982028008,
0.02470575086772442,
0.003104123519733548,
0.0306661669164896,
0.01662789285182953,
-0.035727061331272125,
0.05014481022953987,
0.016013097018003464,
0.044942714273929596,
-0.014772961847484112,
0.027972280979156494,
-0.016548169776797295,
0.021448884159326553,
0.010641493834555149,
0.012351946905255318,
-0.026879990473389626,
0.007937674410641193,
0.025515232235193253,
-0.036020416766405106,
-0.012139054015278816,
0.0015827259048819542,
0.02923649176955223,
-0.005289028864353895,
-0.03876796364784241,
-0.023372549563646317,
-0.041351012885570526,
0.014747251756489277,
-0.020665213465690613,
-0.021849019452929497,
-0.02271285094320774,
-0.020534710958600044,
-0.00274310982786119,
0.00572549644857645,
0.02218565158545971,
-0.00397075992077589,
-0.02124335803091526,
0.006880690343677998,
0.010179211385548115,
-0.024829862639307976,
-0.03541814535856247,
0.010780168697237968,
-0.028978392481803894,
0.01773255690932274,
0.004513569641858339,
0.008784551173448563,
0.009547961875796318,
-0.005160023458302021,
-0.03016725368797779,
-0.007935633882880211,
-0.02702547051012516,
0.04527387395501137,
-0.0014649118529632688,
0.009321498684585094,
0.04728557914495468,
-0.032922323793172836,
-0.015986599028110504,
0.09562437236309052,
-0.01994750276207924,
-1.2425940276727943e-8,
-0.02568681538105011,
0.004922193940728903,
-0.01827389746904373,
-0.019579848274588585,
0.021354632452130318,
-0.005029999651014805,
-0.00775262713432312,
-0.014479966834187508,
-0.015130559913814068,
0.011213048361241817,
0.04019419103860855,
-0.02991289086639881,
-0.004708422347903252,
0.02547847107052803,
0.0027903770096600056,
-0.04874347522854805,
-0.0028344232123345137,
-0.02538418583571911,
0.023230547085404396,
0.030779408290982246,
0.024695858359336853,
0.022686664015054703,
-0.038836218416690826,
0.02036410942673683,
0.029018081724643707,
-0.020102687180042267,
0.027059677988290787,
-0.051313482224941254,
0.009104658849537373,
-0.04349443316459656,
0.0024718756321817636,
-0.007208855822682381,
-0.030346671119332314,
0.03614216670393944,
-0.06747966259717941,
-0.04182122275233269,
0.00021023626322858036,
0.041689805686473846,
0.01785397157073021,
0.019982459023594856,
0.020777838304638863,
-0.02544461376965046,
-0.047072481364011765,
-0.03531448543071747,
-0.04415154084563255,
0.022585274651646614,
-0.015928104519844055,
-0.04276788979768753,
0.03374704718589783,
-0.047752223908901215,
-0.021807296201586723,
0.0037786371540278196,
0.034381620585918427,
0.02490745484828949,
0.02597186341881752,
0.005308554973453283,
0.004042407963424921,
-0.0315026231110096,
-0.0011071906192228198,
-0.05651434138417244,
-0.01680838130414486,
-0.017858358100056648,
-0.03187253326177597,
-0.02558158151805401
] | neo4j-cypher-creating-a-time-tree-down-to-the-day | https://markhneedham.com/blog/2014/04/19/neo4j-cypher-creating-a-time-tree-down-to-the-day |
false | 2014-04-19 19:51:58 | Neo4j 2.0.1: Cypher - Concatenating an empty collection / Type mismatch: expected Integer, Collection<Integer> or Collection<Collection<Integer>> but was Collection<Any> | [
"neo4j"
] | [
"neo4j"
] | Last weekend I was playing around with some collections using Neo4j's Cypher query language and I wanted to concatenate two collections.
This was easy enough when both collections contained values\...
[source,cypher]
----
$ RETURN [1,2,3,4] + [5,6,7];
==> +---------------------+
==> | [1,2,3,4] + [5,6,7] |
==> +---------------------+
==> | [1,2,3,4,5,6,7] |
==> +---------------------+
==> 1 row
----
\...but I ended up with the following exception when I tried to concatenate with an empty collection:
[source,cypher]
----
$ RETURN [1,2,3,4] + [];
==> SyntaxException: Type mismatch: expected Integer, Collection<Integer> or Collection<Collection<Integer>> but was Collection<Any> (line 1, column 20)
==> "RETURN [1,2,3,4] + []"
==> ^
----
I figured there was probably some strange type coercion going on for the empty collection and came up with the following work around using the +++<cite>+++http://docs.neo4j.org/chunked/stable/query-functions-collection.html#functions-range[RANGE]+++</cite>+++ function:
[source,cypher]
----
$ RETURN [1,2,3,4] + RANGE(0,-1);
==> +-------------------------+
==> | [1,2,3,4] + RANGE(0,-1) |
==> +-------------------------+
==> | [1,2,3,4] |
==> +-------------------------+
==> 1 row
----
While writing this up I decided to check if it behaved the same way in the http://blog.neo4j.org/2014/04/neo4j-202-maintenance-release.html[recently released 2.0.2] and was pleasantly surprised to see that the work around is no longer necessary:
[source,cypher]
----
$ RETURN [1,2,3,4] + [];
==> +----------------+
==> | [1,2,3,4] + [] |
==> +----------------+
==> | [1,2,3,4] |
==> +----------------+
==> 1 row
----
So if you're seeing the same issue get yourself upgraded! | null | null | [
0.011585148982703686,
-0.03496948629617691,
-0.035959117114543915,
0.04986950382590294,
0.07953265309333801,
-0.0011305536609143019,
0.014063631184399128,
-0.004910745192319155,
-0.0017340369522571564,
-0.021890293806791306,
0.004512778948992491,
0.026918970048427582,
-0.08044704794883728,
0.022005164995789528,
-0.009263258427381516,
0.06944882869720459,
0.0601152665913105,
-0.008989783935248852,
0.005418749060481787,
-0.02969796396791935,
0.0046805571764707565,
0.026346929371356964,
0.014310427010059357,
-0.00021266839758027345,
0.05184221640229225,
-0.0018053548410534859,
-0.016000406816601753,
-0.014834047295153141,
-0.0504867359995842,
0.00011667201033560559,
0.043408241122961044,
-0.0027166041545569897,
0.0006090170354582369,
-0.03089320845901966,
0.023516956716775894,
-0.009942038916051388,
-0.024704579263925552,
-0.031051557511091232,
-0.006460749078541994,
0.004735967610031366,
-0.03358445689082146,
0.025937607511878014,
-0.022153325378894806,
0.019308315590023994,
-0.04147917777299881,
0.020190639421343803,
-0.03858451545238495,
0.010717284865677357,
-0.039894141256809235,
-0.003663102863356471,
-0.05846227705478668,
-0.00013216861407272518,
0.0005243117338977754,
0.007164289243519306,
-0.003181018400937319,
0.04175877571105957,
-0.014664973132312298,
-0.0782957524061203,
0.05851368233561516,
-0.02925223484635353,
-0.013441180810332298,
0.008527133613824844,
0.005121721886098385,
0.03102506510913372,
-0.0058980537578463554,
-0.028918297961354256,
-0.009580429643392563,
0.06328361481428146,
-0.06409228593111038,
-0.0370774120092392,
-0.00850158091634512,
0.041724249720573425,
0.014250842854380608,
-0.02319771610200405,
-0.009535830467939377,
-0.04733287915587425,
-0.01965346746146679,
0.04051739349961281,
0.03734532743692398,
0.04480011388659477,
-0.02405313029885292,
0.02624218910932541,
0.041314251720905304,
0.010295874439179897,
0.038462184369564056,
-0.04140869528055191,
-0.05792351812124252,
0.0006779168033972383,
-0.011185238137841225,
0.022349130362272263,
0.021565956994891167,
-0.053004905581474304,
-0.007656218484044075,
-0.011178974993526936,
-0.01693386398255825,
0.00677636219188571,
-0.018028857186436653,
-0.02383100800216198,
0.004495379514992237,
0.016788478940725327,
-0.02823885902762413,
-0.018671870231628418,
-0.00018592330161482096,
-0.017666304484009743,
-0.06652306765317917,
-0.030216099694371223,
-0.036580804735422134,
-0.014525717124342918,
0.020059382542967796,
-0.0063443356193602085,
-0.04671971872448921,
-0.021570075303316116,
-0.016950592398643494,
0.0279733594506979,
-0.07527035474777222,
0.05136868357658386,
0.03170929476618767,
0.0074144573882222176,
-0.03651060163974762,
0.034434180706739426,
0.037755563855171204,
0.027432052418589592,
0.02125052735209465,
0.06855249404907227,
0.009350077249109745,
0.050905317068099976,
-0.012000619433820248,
0.05591282993555069,
-0.007627348881214857,
-0.07607624679803848,
-0.03341925889253616,
0.07340142130851746,
-0.01912250928580761,
0.016204290091991425,
-0.02111041732132435,
-0.05377820134162903,
-0.0501609668135643,
0.030087867751717567,
0.050517335534095764,
0.02621501497924328,
0.01267928071320057,
-0.037767183035612106,
0.01880502887070179,
-0.007631627842783928,
0.03961911424994469,
0.03646991401910782,
-0.04490478336811066,
-0.015589817427098751,
0.0010869482066482306,
0.0208261888474226,
0.014337854459881783,
0.03936173394322395,
0.05513957515358925,
-0.00445176474750042,
0.0037527699023485184,
0.10580956935882568,
0.021945318207144737,
0.040084198117256165,
0.0007910147542133927,
0.012809306383132935,
0.038672011345624924,
0.03817448019981384,
0.008378558792173862,
0.07300505042076111,
-0.012089175172150135,
0.0024711124133318663,
-0.0600060373544693,
0.062348730862140656,
-0.015921425074338913,
0.016518065705895424,
-0.03951475769281387,
-0.056358564645051956,
0.045301031321287155,
-0.03631292283535004,
-0.0008396257762797177,
0.011439429596066475,
0.08175364136695862,
0.0161591749638319,
0.03716016933321953,
-0.004247952252626419,
-0.0725734531879425,
0.0336991585791111,
0.0020638671703636646,
-0.02072000689804554,
0.020864082500338554,
0.02133503183722496,
0.0780724287033081,
0.05242864787578583,
0.009745825082063675,
0.026761511340737343,
-0.07884860783815384,
-0.07541656494140625,
-0.03467187285423279,
-0.00861397199332714,
0.06717360019683838,
-0.052734509110450745,
0.005127237644046545,
0.037454813718795776,
0.0001244704908458516,
0.014670362696051598,
0.03154810518026352,
-0.00489268871024251,
0.035344019532203674,
-0.02867223508656025,
-0.04072726145386696,
0.05879076570272446,
0.02713620476424694,
-0.010355856269598007,
-0.044022705405950546,
0.043129973113536835,
-0.008402178063988686,
0.03138638287782669,
0.019946835935115814,
-0.020847588777542114,
0.07006727159023285,
0.029070576652884483,
0.031100042164325714,
-0.04741470888257027,
0.012155814096331596,
-0.06455594301223755,
0.060792259871959686,
0.02206514962017536,
-0.0170406773686409,
0.0018425235757604241,
-0.031719207763671875,
0.13179513812065125,
0.05099886655807495,
0.009100898168981075,
-0.04075869917869568,
0.03725428879261017,
-0.002051002811640501,
-0.024206824600696564,
-0.0021363021805882454,
-0.010919841006398201,
-0.0067545026540756226,
0.0033226169180125,
-0.008375379256904125,
-0.008638889528810978,
-0.00572220329195261,
-0.028772536665201187,
-0.01138315349817276,
0.06428227573633194,
-0.029484957456588745,
0.050031546503305435,
0.010542606934905052,
-0.03279479965567589,
-0.012273045256733894,
-0.053105518221855164,
-0.04045550152659416,
0.015980113297700882,
0.008010629564523697,
-0.003274004440754652,
0.048896852880716324,
-0.045530371367931366,
-0.008626146242022514,
-0.006140096113085747,
-0.03147119656205177,
0.004827955737709999,
0.06286118179559708,
0.04820588231086731,
-0.029122760519385338,
0.04384562373161316,
-0.018127361312508583,
0.009695212356746197,
-0.007100312039256096,
-0.056297969073057175,
-0.037503570318222046,
0.010619611479341984,
0.0457477830350399,
0.005109540652483702,
0.02911057136952877,
0.009491749107837677,
0.022309036925435066,
-0.012859843671321869,
0.0021601936314255,
-0.0037713642232120037,
0.030530786141753197,
-0.010327541269361973,
-0.009313342161476612,
-0.0508481003344059,
-0.017239775508642197,
0.05712656304240227,
-0.05544757843017578,
-0.06287626177072525,
-0.03296394273638725,
-0.05118821933865547,
0.05730099976062775,
-0.06427284330129623,
-0.03590333089232445,
-0.004797753877937794,
0.042649831622838974,
0.04710162803530693,
-0.0025050954427570105,
0.0007246616878546774,
0.06324516981840134,
0.007819866761565208,
0.023018088191747665,
0.030981197953224182,
0.00891838874667883,
0.025564881041646004,
-0.0372617244720459,
0.028884584084153175,
0.05095481500029564,
-0.012514137662947178,
0.0013089543208479881,
-0.04799975827336311,
-0.007054004352539778,
-0.020880725234746933,
-0.24693506956100464,
0.047136399894952774,
-0.048355359584093094,
-0.027399703860282898,
-0.004161450546234846,
-0.03320079296827316,
0.0064707868732512,
-0.049891117960214615,
-0.030044134706258774,
0.02771642617881298,
0.010278371162712574,
-0.029287144541740417,
-0.02664017118513584,
0.05502279847860336,
0.023473087698221207,
0.008543679490685463,
-0.00899073202162981,
-0.02690960094332695,
0.008133532479405403,
0.038929879665374756,
-0.01317914854735136,
-0.04248190298676491,
-0.0036847982555627823,
0.047516852617263794,
0.04586530104279518,
0.04589207470417023,
-0.067718006670475,
0.028718924149870872,
-0.08385534584522247,
-0.0329744778573513,
-0.00830897968262434,
-0.003363105235621333,
0.009250570088624954,
-0.0038968122098594904,
-0.016077393665909767,
0.0017489088932052255,
0.05368923023343086,
0.01731143891811371,
0.0121834771707654,
0.032767221331596375,
-0.035696499049663544,
-0.052590999752283096,
0.000905985536519438,
-0.025197960436344147,
0.07630718499422073,
-0.025656808167696,
-0.07566136866807938,
-0.002883582841604948,
-0.027809632942080498,
0.05677805468440056,
-0.026653040200471878,
-0.021704530343413353,
-0.004404528997838497,
0.05335114896297455,
0.00345048145391047,
-0.018187271431088448,
-0.04882550239562988,
-0.007625249680131674,
-0.04591654986143112,
-0.004034305922687054,
-0.015152622014284134,
-0.06944061815738678,
0.008479035459458828,
-0.03626515716314316,
-0.02523125149309635,
-0.05149590224027634,
-0.06734718382358551,
-0.016854114830493927,
0.07851865887641907,
0.02862963080406189,
-0.00507441908121109,
0.024397652596235275,
-0.01492106169462204,
-0.10550049692392349,
-0.05076735094189644,
-0.034403592348098755,
-0.01702277362346649,
-0.0027067733462899923,
-0.047760531306266785,
0.020952051505446434,
-0.04596550017595291,
-0.06219436973333359,
0.008306666277348995,
0.04456506669521332,
0.01777450367808342,
0.000886752619408071,
-0.026167111471295357,
-0.023800017312169075,
-0.025954946875572205,
0.009285674430429935,
0.05609012395143509,
-0.012444855645298958,
-0.00798299815505743,
0.01571894995868206,
0.00524491211399436,
0.03711811453104019,
0.014368200674653053,
0.01598399505019188,
0.04066414013504982,
0.057590045034885406,
0.06943607330322266,
-0.04461376368999481,
0.021032946184277534,
-0.042358484119176865,
-0.042588021606206894,
-0.00898076593875885,
-0.03692537173628807,
0.0132584348320961,
0.03198935464024544,
-0.012158237397670746,
-0.01626160927116871,
0.005458525847643614,
0.02893885411322117,
-0.023825284093618393,
-0.059205807745456696,
-0.007999815046787262,
0.01600603014230728,
0.016530761495232582,
0.062569260597229,
-0.017889900133013725,
-0.07004871964454651,
0.03226369991898537,
0.027072515338659286,
-0.04196479171514511,
-0.05047483369708061,
-0.059650976210832596,
-0.03576336428523064,
0.005227611865848303,
-0.02784981206059456,
0.027653755620121956,
-0.05727972835302353,
0.01003938540816307,
0.0012473779497668147,
-0.012624017894268036,
0.03916081041097641,
-0.023291757330298424,
-0.01885327883064747,
-0.03162683546543121,
-0.03963140770792961,
-0.008290843106806278,
0.012255583889782429,
-0.025121737271547318,
-0.009930613450706005,
0.08216359466314316,
0.020358925685286522,
-0.004632473923265934,
0.021730709820985794,
0.004292522557079792,
0.004180190619081259,
0.026743127033114433,
-0.018460102379322052,
0.00456266151741147,
0.036569301038980484,
-0.03767456114292145,
-0.029867079108953476,
0.009292718023061752,
0.04362613335251808,
-0.01581929251551628,
0.002526584081351757,
-0.039719048887491226,
0.021651390939950943,
-0.05629252642393112,
0.02836032211780548,
0.004100955091416836,
-0.005538573022931814,
0.03459779918193817,
-0.04688510298728943,
0.025920912623405457,
-0.04421064257621765,
0.026417825371026993,
0.025128131732344627,
0.007512649055570364,
-0.0006551708211190999,
0.03928692638874054,
-0.0013369545340538025,
0.00976601429283619,
0.018563687801361084,
0.04180421307682991,
0.030898001044988632,
0.023665044456720352,
-0.011282806284725666,
-0.006373255979269743,
0.033357106149196625,
0.03295183554291725,
0.03638302534818649,
0.029166726395487785,
-0.006099823396652937,
0.002195694949477911,
-0.030347196385264397,
-0.021113310009241104,
-0.021633081138134003,
-0.02733304351568222,
-0.014756389893591404,
-0.004619005136191845,
-0.01858048513531685,
-0.060179077088832855,
0.050035201013088226,
0.021063487976789474,
0.008044429123401642,
0.01616170071065426,
0.024524055421352386,
-0.015575931407511234,
-0.011309778317809105,
0.01969160884618759,
0.028792917728424072,
-0.055032290518283844,
-0.01335894875228405,
-0.044243693351745605,
-0.025530515238642693,
0.010290838778018951,
0.016682518646121025,
-0.06731554865837097,
-0.034949034452438354,
-0.015542009845376015,
0.017359133809804916,
-0.0028738549444824457,
-0.02986004203557968,
0.008146854117512703,
0.00473689753562212,
-0.016717765480279922,
0.014158441685140133,
-0.004168196115642786,
0.018523726612329483,
-0.041989535093307495,
-0.006953280419111252,
0.042047109454870224,
-0.03892839699983597,
-0.00580276595428586,
-0.007988604716956615,
-0.013167349621653557,
0.041212745010852814,
-0.0388646200299263,
0.019975638017058372,
0.017525937408208847,
0.018896453082561493,
-0.011817321181297302,
-0.048995647579431534,
0.0184636153280735,
-0.03334584832191467,
0.043445318937301636,
0.005137374624609947,
-0.019871380180120468,
-0.010225481353700161,
-0.012895476073026657,
-0.009155673906207085,
0.003996855579316616,
0.005600552074611187,
-0.040709782391786575,
-0.0024704698007553816,
0.030031204223632812,
-0.006740085314959288,
0.04581019654870033,
-0.01196798775345087,
-0.021236618980765343,
0.06876560300588608,
0.011539907194674015,
-0.038034725934267044,
-0.01323630753904581,
-0.05891667306423187,
0.006104046944528818,
0.026750266551971436,
0.04540441930294037,
-0.055642928928136826,
0.05712607875466347,
0.08214152604341507,
0.014758644625544548,
0.027070797979831696,
-0.029638096690177917,
0.038154564797878265,
-0.009529152885079384,
-0.010674444027245045,
-0.07641517370939255,
0.00006987393135204911,
0.06464267522096634,
0.017661159858107567,
-0.012892408296465874,
-0.03535968065261841,
-0.05176691338419914,
0.00023894893820397556,
-0.06769243627786636,
-0.030270734801888466,
0.01820291392505169,
-0.023772934451699257,
0.048231855034828186,
0.019270865246653557,
-0.04978164657950401,
-0.002894410165026784,
0.05339483171701431,
-0.000054938034736551344,
-0.03281547129154205,
-0.04762834683060646,
0.06199829280376434,
-0.010591713711619377,
0.016726478934288025,
0.0025648330338299274,
-0.034768715500831604,
0.027399888262152672,
0.03209536522626877,
0.052770573645830154,
0.08679015934467316,
-0.02558732032775879,
0.013486331328749657,
0.03204983100295067,
-0.005181743297725916,
0.011855261400341988,
0.04163689538836479,
-0.030270250514149666,
-0.03660519793629646,
0.020576436072587967,
0.008706305176019669,
-0.020931027829647064,
-0.03278585150837898,
0.06205330416560173,
-0.005190803203731775,
-0.04862137511372566,
-0.04660588875412941,
0.02691757120192051,
-0.012215166352689266,
-0.03811195492744446,
-0.048657093197107315,
0.02088639885187149,
-0.04142553731799126,
0.05347573384642601,
-0.010302084498107433,
0.029916955158114433,
0.0726611465215683,
-0.0065808952786028385,
-0.017055567353963852,
0.017388809472322464,
0.08379747718572617,
0.08001121133565903,
0.03361606225371361,
-0.007745144423097372,
0.07157694548368454,
-0.03441605716943741,
-0.0311263557523489,
-0.011234243400394917,
-0.04209945350885391,
-0.013122955337166786,
0.012981902807950974,
0.01475713960826397,
0.09329256415367126,
-0.027565190568566322,
0.05863422155380249,
-0.03198978677392006,
-0.008663593791425228,
-0.006979855243116617,
-0.005648734048008919,
0.054414182901382446,
0.07554248720407486,
0.025743789970874786,
0.04441962018609047,
-0.023243851959705353,
-0.039351098239421844,
0.03511427715420723,
-0.012475346215069294,
-0.023100070655345917,
0.01569950208067894,
-0.0186698567122221,
-0.0033783812541514635,
0.027609102427959442,
0.06133544072508812,
0.06597069650888443,
-0.015950500965118408,
-0.024705855175852776,
0.008356941863894463,
0.01783067174255848,
-0.004645662847906351,
-0.021532325074076653,
0.0014026305871084332,
-0.04332554712891579,
-0.013177326880395412,
-0.032600659877061844,
-0.02537490241229534,
-0.030550751835107803,
-0.0352446474134922,
0.01500890962779522,
-0.012378579936921597,
-0.0020448772702366114,
0.00255756382830441,
-0.019968824461102486,
-0.02148720808327198,
-0.060698386281728745,
-0.034074973315000534,
-0.030939655378460884,
-0.07926157861948013,
0.026041662320494652,
-0.010280159302055836,
-0.006708638276904821,
-0.015815645456314087,
0.015843603760004044,
-0.011363270692527294,
-0.0053689246997237206,
0.051683638244867325,
-0.0008718763710930943,
-0.01698102429509163,
0.010471686720848083,
0.008679532445967197,
0.009832270443439484,
0.03113648295402527,
0.04150208830833435,
-0.009647640399634838,
0.021813753992319107,
-0.004759279545396566,
0.0028456654399633408,
0.04284728690981865,
0.02825845219194889,
0.01442564744502306,
-0.07525527477264404,
-0.015193594619631767,
0.02737678587436676,
0.00015317698125727475,
-0.08129343390464783,
-0.008919796906411648,
0.05608682334423065,
-0.02632434293627739,
0.020024169236421585,
-0.006138249766081572,
-0.021565373986959457,
-0.04441385343670845,
0.02065948024392128,
0.034689340740442276,
0.01069838646799326,
0.027394957840442657,
-0.03126060962677002,
0.038103826344013214,
0.010367278940975666,
-0.021357901394367218,
-0.027562377974390984,
-0.0074103414081037045,
0.0062476713210344315,
-0.001847179140895605,
-0.040827251970767975,
-0.04548877105116844,
-0.06187364086508751,
-0.05039449408650398,
-0.03197773918509483,
-0.010101172141730785,
-0.03235064446926117,
-0.015896925702691078,
-0.015526511706411839,
0.03273560851812363,
-0.04698701947927475,
0.0550316758453846,
-0.019563015550374985,
0.05740242451429367,
-0.023519407957792282,
-0.022706255316734314,
-0.019102923572063446,
0.018523020669817924,
-0.00036172091495245695,
0.016472039744257927,
0.016181189566850662,
-0.05376682057976723,
-0.0044632479548454285,
-0.041434358805418015,
0.00834180973470211,
0.012389530427753925,
-0.005853449460119009,
0.025144454091787338
] | [
-0.08170671761035919,
-0.02034980058670044,
-0.04629068821668625,
0.008366590365767479,
0.05160733684897423,
-0.051793575286865234,
-0.030676009133458138,
0.005557707045227289,
0.024507874622941017,
-0.018242204561829567,
0.022970814257860184,
-0.01513480395078659,
0.01083788275718689,
0.019136419519782066,
0.06479251384735107,
0.006154715549200773,
-0.029496900737285614,
-0.034016016870737076,
-0.0602278895676136,
0.06994664669036865,
-0.0017788122640922666,
-0.03207886591553688,
-0.03968151658773422,
-0.03559194877743721,
0.0159266646951437,
0.054411180317401886,
0.02071194350719452,
-0.041680335998535156,
-0.02241579256951809,
-0.2152213305234909,
-0.017348600551486015,
0.04794570803642273,
-0.020137786865234375,
-0.01662554033100605,
0.015150468796491623,
0.021751971915364265,
0.02001657336950302,
-0.00644258176907897,
0.009393678046762943,
0.060031525790691376,
0.029727110639214516,
0.009151019155979156,
-0.0552457720041275,
-0.03271689638495445,
0.04013914614915848,
0.007921604439616203,
-0.03660443052649498,
-0.01503958459943533,
0.00005177715502213687,
0.010304868221282959,
-0.04315299168229103,
-0.019072452560067177,
-0.013661076314747334,
0.025639895349740982,
-0.014528089202940464,
0.07101425528526306,
0.03305703401565552,
0.08504338562488556,
0.008991574868559837,
0.036717064678668976,
0.017376527190208435,
0.000014080425899010152,
-0.11853198707103729,
0.05983271449804306,
-0.002884583780542016,
0.020353490486741066,
-0.03724649176001549,
-0.02564278617501259,
-0.04179728031158447,
0.0671706348657608,
0.04577389732003212,
-0.017095988616347313,
-0.04886951297521591,
0.0738663300871849,
0.00810730829834938,
0.025415653362870216,
-0.02235345169901848,
0.01300177164375782,
0.03253663331270218,
-0.011578496545553207,
-0.07461030036211014,
-0.02340054325759411,
-0.022004421800374985,
-0.011147717013955116,
-0.015881340950727463,
0.02104373462498188,
-0.030551165342330933,
0.05660722032189369,
0.017140720039606094,
0.03434450179338455,
0.03727634251117706,
0.03215056285262108,
0.052337728440761566,
0.044236209243535995,
-0.07686915248632431,
-0.007660642731934786,
0.01179130282253027,
0.01570975035429001,
0.012323841452598572,
0.3898439407348633,
0.02949364297091961,
0.0003049202205147594,
0.04337851703166962,
0.026070119813084602,
-0.013566441833972931,
-0.0225700493901968,
-0.00913139246404171,
-0.07940395921468735,
0.03630239889025688,
-0.06541525572538376,
-0.010271184146404266,
-0.05731729045510292,
0.057539645582437515,
-0.09997308999300003,
-0.008290727622807026,
0.019971532747149467,
0.06461679190397263,
0.023300213739275932,
-0.0059840744361281395,
0.00653742766007781,
-0.01914265751838684,
0.003983709495514631,
0.018290076404809952,
0.022271975874900818,
0.015220588073134422,
0.0018210107227787375,
0.024003073573112488,
0.049287598580121994,
0.02443920075893402,
0.06306306272745132,
0.06250812858343124,
0.023951269686222076,
-0.07743097096681595,
-0.004414712078869343,
-0.026881875470280647,
0.0024923982564359903,
0.033568672835826874,
-0.03503222391009331,
0.019764086231589317,
0.02666374295949936,
-0.014858109876513481,
-0.028498755767941475,
0.0017921340186148882,
0.014498300850391388,
-0.03796377405524254,
0.1314958930015564,
-0.0037688130978494883,
-0.03284180536866188,
-0.02660921774804592,
-0.04276210814714432,
-0.012892917729914188,
0.038789279758930206,
0.0056497277691960335,
-0.07431130856275558,
-0.014875565655529499,
0.004809732083231211,
0.07503176480531693,
-0.030150940641760826,
-0.0714564397931099,
-0.00015813818026799709,
0.004935918841511011,
-0.033303651958703995,
-0.06793886423110962,
0.08652190119028091,
0.015775011852383614,
-0.08078925311565399,
-0.01058206707239151,
0.007891140878200531,
-0.004135772120207548,
-0.06741274148225784,
0.01690082810819149,
0.00539989722892642,
-0.05907383933663368,
-0.011233820579946041,
0.07571981102228165,
-0.023667795583605766,
-0.03718749061226845,
-0.03294410556554794,
0.03060290776193142,
0.010566108860075474,
-0.02645718678832054,
0.016808733344078064,
-0.0626448467373848,
0.011124078184366226,
-0.05131501704454422,
-0.07764952629804611,
-0.08952363580465317,
0.029250454157590866,
-0.020131947472691536,
-0.015533406287431717,
-0.017164034768939018,
-0.013992308638989925,
-0.045510150492191315,
0.08917230367660522,
-0.044580038636922836,
-0.047720201313495636,
-0.001796214492060244,
0.019915342330932617,
0.0007802865002304316,
-0.02286459505558014,
0.05067931488156319,
0.029911991208791733,
0.006056685000658035,
0.03924363851547241,
-0.05186781659722328,
0.0026388897094875574,
0.0469074510037899,
-0.0560825914144516,
0.04633159190416336,
0.04340311512351036,
-0.02773660235106945,
0.019872643053531647,
-0.025533253327012062,
0.04240995645523071,
0.0020981214474886656,
-0.012699717655777931,
0.0023155505768954754,
-0.001568099483847618,
0.038676340132951736,
0.01451779156923294,
-0.04815026745200157,
-0.060064323246479034,
-0.010209553875029087,
-0.3610060214996338,
-0.0334261916577816,
-0.03368230164051056,
-0.012983043678104877,
-0.015447374433279037,
-0.014158492907881737,
0.0054438370279967785,
-0.015525225549936295,
-0.04004666209220886,
0.03152250126004219,
0.03127630054950714,
0.009702637791633606,
-0.01270969770848751,
-0.06963624805212021,
0.005602170713245869,
0.034152623265981674,
-0.019597742706537247,
0.002235725522041321,
-0.025895508006215096,
0.017076367512345314,
0.002907699206843972,
-0.052406683564186096,
-0.0034049914684146643,
-0.0573904812335968,
0.006087290123105049,
0.012206416577100754,
0.10851027071475983,
0.0009030418004840612,
0.015441621653735638,
-0.04243835434317589,
0.0582578219473362,
0.01011967658996582,
-0.008726995438337326,
-0.006428316701203585,
0.02066405862569809,
-0.002518103225156665,
-0.0027775270864367485,
0.019613318145275116,
-0.0027272263541817665,
0.0043447501957416534,
-0.06295039504766464,
-0.014232655055820942,
-0.046921487897634506,
-0.04310907423496246,
-0.006401488557457924,
0.02700747363269329,
-0.05847129970788956,
-0.01911824755370617,
0.012478937394917011,
0.10648543387651443,
-0.015243629924952984,
0.008961688727140427,
0.015724636614322662,
0.0302120428532362,
0.018822170794010162,
0.0010391399264335632,
-0.08846509456634521,
-0.025090429931879044,
0.03684723749756813,
0.008402823470532894,
0.010306148789823055,
0.027997322380542755,
0.06319644302129745,
-0.06935754418373108,
0.010044299066066742,
0.0056469072587788105,
-0.021011948585510254,
0.015541371889412403,
0.011287253350019455,
-0.04970865696668625,
-0.026197034865617752,
0.09677968919277191,
0.016376664862036705,
0.028210340067744255,
0.015188010409474373,
0.07410634309053421,
-0.02950410172343254,
0.01039941981434822,
0.04791991040110588,
0.010130447335541248,
0.02770928107202053,
-0.030871979892253876,
0.060849323868751526,
-0.01995759829878807,
-0.01692076586186886,
0.06094708293676376,
0.021299980580806732,
-0.021127769723534584,
0.0640363097190857,
-0.018712038174271584,
-0.020104385912418365,
-0.005233351141214371,
-0.02582748420536518,
-0.024980919435620308,
0.06987177580595016,
-0.013652675785124302,
-0.26969844102859497,
0.058274541050195694,
0.03173715993762016,
0.04759865626692772,
0.009068330749869347,
0.024188190698623657,
0.011850102804601192,
-0.040341950953006744,
0.0032701489981263876,
-0.030226755887269974,
0.05230496823787689,
0.06564456224441528,
0.000015056392840051558,
-0.027394071221351624,
-0.006247019860893488,
0.014381404966115952,
0.04278094321489334,
0.005118677392601967,
0.049200087785720825,
0.028567073866724968,
0.03738567233085632,
-0.008141201920807362,
0.19053445756435394,
0.058371271938085556,
-0.013181976974010468,
0.011142371222376823,
-0.026708321645855904,
0.026992758736014366,
0.05753214657306671,
0.00937738735228777,
-0.024544088169932365,
0.03660989925265312,
0.04645607993006706,
0.025858337059617043,
0.018038738518953323,
-0.03892135992646217,
-0.006299503147602081,
0.03728567808866501,
0.03143209218978882,
-0.04425913468003273,
-0.04252014309167862,
0.03133049234747887,
-0.043938975781202316,
0.0421215184032917,
0.06924445927143097,
-0.025648240000009537,
-0.006892964709550142,
0.0014905424322932959,
-0.06901230663061142,
-0.00017812933947425336,
-0.03493829444050789,
-0.01337730884552002,
-0.014974857680499554,
-0.026437707245349884,
-0.017917580902576447,
0.057807859033346176,
0.0017677494324743748,
-0.025102784857153893,
0.009000089950859547,
0.029215553775429726,
-0.008648579940199852,
-0.05684547871351242,
0.07590463757514954,
-0.0313032865524292,
0.005603759083896875
] | [
0.0280216746032238,
0.07725559920072556,
-0.029109885916113853,
0.028114603832364082,
-0.040047187358140945,
-0.020510200411081314,
-0.03387005999684334,
-0.013325614854693413,
-0.006554797291755676,
0.008610943332314491,
-0.04354184865951538,
-0.00827173050493002,
0.07974855601787567,
-0.019724972546100616,
-0.03619471564888954,
0.009880137629806995,
-0.03136812895536423,
0.038307055830955505,
0.04128680005669594,
-0.021872563287615776,
-0.023883802816271782,
0.020604094490408897,
0.054203279316425323,
-0.02279007062315941,
0.013876627199351788,
0.02859935536980629,
-0.03460640460252762,
0.0057403394021093845,
0.019811226055026054,
-0.09593943506479263,
-0.05249378830194473,
0.0031172591261565685,
-0.0037380727007985115,
0.016117876395583153,
-0.010537338443100452,
0.012365122325718403,
0.03682611137628555,
0.04590873047709465,
0.00700716394931078,
0.023491784930229187,
-0.0038079097867012024,
0.009244401939213276,
-0.035048648715019226,
0.025367246940732002,
-0.013627353124320507,
-0.012255099602043629,
-0.032578226178884506,
-0.024922877550125122,
0.009246690198779106,
-0.023888811469078064,
-0.032405514270067215,
0.009965769946575165,
-0.01991233415901661,
0.0029571582563221455,
0.028407827019691467,
0.012051992118358612,
-0.07974804937839508,
-0.017493925988674164,
0.006478738039731979,
-0.017189016565680504,
0.010172749869525433,
-0.02560572512447834,
-0.08082462847232819,
-0.03367798775434494,
0.0021390854381024837,
-0.04788346588611603,
-0.016990678384900093,
0.04861023649573326,
0.021049994975328445,
-0.01566753163933754,
-0.03718924522399902,
0.03692162409424782,
-0.06569832563400269,
-0.00844647642225027,
-0.0063077830709517,
0.07039827108383179,
0.05309310182929039,
-0.05395542457699776,
-0.009173860773444176,
-0.0042518191039562225,
-0.012506004422903061,
0.0068386816419661045,
-0.02203998528420925,
-0.007533765863627195,
-0.001945648342370987,
-0.029109660536050797,
-0.02138531394302845,
0.016382280737161636,
0.01670389249920845,
0.011971530504524708,
-0.013584120199084282,
0.005286075174808502,
0.01114161778241396,
-0.011362304911017418,
-0.08066663891077042,
0.0026688608340919018,
0.021776244044303894,
0.0018103901529684663,
0.04320012405514717,
0.8055610060691833,
0.05614962428808212,
0.02022891864180565,
0.00637429254129529,
-0.003941194154322147,
-0.0068828994408249855,
0.010158445686101913,
0.018371907994151115,
0.02093532308936119,
-0.02294507622718811,
-0.027897987514734268,
-0.036281123757362366,
-0.017676686868071556,
0.014810839667916298,
-0.0092911496758461,
-0.01685340516269207,
0.07275614142417908,
0.014623299241065979,
-0.010475882329046726,
-0.01131055224686861,
-0.011855727061629295,
0.011251430958509445,
-0.012782510370016098,
0.008525773882865906,
0.04831349477171898,
0.01183184701949358,
-0.1506071835756302,
-0.03384559601545334,
-7.275705386683255e-33,
0.038071468472480774,
-0.013615754432976246,
0.08694116771221161,
0.010113684460520744,
0.0036841954570263624,
0.029259253293275833,
0.0110501479357481,
-0.02387016825377941,
-0.0417802520096302,
-0.037773024290800095,
0.007723957300186157,
0.016043255105614662,
0.006471570115536451,
-0.01226801984012127,
0.012458320707082748,
-0.01345220860093832,
0.029964111745357513,
0.008350219577550888,
-0.010506476275622845,
-0.019857056438922882,
-0.02104969136416912,
0.034269239753484726,
-0.0019666976295411587,
0.03331521525979042,
0.05157163739204407,
0.01432111021131277,
-0.007591607514768839,
-0.01467040739953518,
-0.029611170291900635,
-0.06229701265692711,
-0.08106834441423416,
0.03830184414982796,
-0.01890666037797928,
-0.008514001034200191,
0.005152061581611633,
-0.047445863485336304,
-0.014978127554059029,
-0.013000567443668842,
-0.011528624221682549,
-0.09789226204156876,
-0.03233581408858299,
0.007064477074891329,
0.01250897254794836,
-0.014689216390252113,
-0.006031920667737722,
-0.028944578021764755,
0.0033601883333176374,
0.020129702985286713,
-0.01336966548115015,
0.05716622993350029,
0.02161191962659359,
0.030595004558563232,
-0.03240072354674339,
0.011354560032486916,
-0.03639857470989227,
0.02381841652095318,
0.022401047870516777,
0.03041234239935875,
-0.005381210707128048,
0.03642977774143219,
-0.029242459684610367,
0.02609476074576378,
-0.00901542603969574,
0.05914211645722389,
0.03275937959551811,
0.02814105711877346,
-0.033262815326452255,
0.007311196997761726,
-0.02194438874721527,
0.05449947714805603,
-0.01816449500620365,
0.044300422072410583,
-0.003020742442458868,
-0.03270338475704193,
0.03906288743019104,
-0.05476833134889603,
-0.02413599006831646,
-0.06260821968317032,
-0.0005633122054859996,
0.015319387428462505,
0.010293910279870033,
-0.007748462725430727,
-0.006823231931775808,
-0.012030258774757385,
-0.022655226290225983,
0.005007720086723566,
0.02015439048409462,
0.027589494362473488,
0.029503323137760162,
0.007451696787029505,
0.04433547332882881,
-0.0015163470525294542,
-0.020529305562376976,
-0.014603725634515285,
-0.0237862728536129,
6.550458433004521e-33,
-0.01611369289457798,
0.02392677031457424,
-0.015698369592428207,
-0.007598507218062878,
0.010869346559047699,
0.008444632403552532,
0.013516929931938648,
-0.006190821528434753,
-0.021921826526522636,
0.02646624855697155,
0.002697669668123126,
-0.03601619973778725,
-0.004329225979745388,
0.025532595813274384,
0.03922741860151291,
-0.011672751046717167,
0.010785745456814766,
-0.036050375550985336,
0.011898002587258816,
0.04300675168633461,
-0.008448841981589794,
-0.013491649180650711,
0.038228634744882584,
0.03628262132406235,
0.009985416196286678,
0.007831386290490627,
0.0027800416573882103,
-0.011241376399993896,
-0.02910899743437767,
-0.005825077649205923,
0.025727037340402603,
-0.029244136065244675,
0.010658975690603256,
-0.011172864586114883,
0.03259214013814926,
-0.01157284528017044,
0.0070988330990076065,
0.006261992733925581,
0.024477439001202583,
-0.005580095574259758,
-0.00739759486168623,
0.01535870786756277,
0.014587976969778538,
0.04642394930124283,
0.047954048961400986,
-0.026420833542943,
0.0148314218968153,
0.0224086195230484,
0.011720012873411179,
0.008275567553937435,
-0.01118825376033783,
0.022888319566845894,
-0.04036106541752815,
0.04293760657310486,
0.036152418702840805,
-0.04870373010635376,
0.0010936952894553542,
0.02101043239235878,
0.042200420051813126,
-0.036809857934713364,
-0.02852827124297619,
-0.023113913834095,
-0.056650612503290176,
0.006757242139428854,
0.006821688264608383,
-0.03210751712322235,
-0.024575497955083847,
0.009018445387482643,
-0.03294495865702629,
-0.002546145813539624,
0.02174348011612892,
-0.01783299632370472,
-0.0025823256000876427,
0.01930396445095539,
-0.009065420366823673,
-0.020647365599870682,
-0.019493982195854187,
-0.026966087520122528,
-0.03522632271051407,
0.03653918579220772,
0.01883157156407833,
-0.020278004929423332,
0.035710569471120834,
0.021009694784879684,
-0.02010570839047432,
-0.023536628112196922,
0.028770701959729195,
0.02103544771671295,
-0.0453031100332737,
0.00029897456988692284,
0.03688384220004082,
-0.03135242313146591,
-0.0070376405492424965,
0.0679716095328331,
0.009945554658770561,
-1.244128799982036e-8,
-0.040612462908029556,
-0.01563810370862484,
-0.03756611794233322,
-0.01576721854507923,
0.020612165331840515,
0.01206781342625618,
-0.018936730921268463,
-0.014398369006812572,
0.015419406816363335,
0.014162415638566017,
0.008870632387697697,
-0.01865142397582531,
0.03275155648589134,
0.0035874568857252598,
0.018314937129616737,
-0.013964394107460976,
0.011816940270364285,
-0.02259637974202633,
0.04040234908461571,
0.012885487638413906,
-0.022894756868481636,
0.027509037405252457,
-0.04847973212599754,
0.010692794807255268,
0.003648386336863041,
-0.003257931210100651,
0.024009041488170624,
-0.05102700740098953,
0.0319158099591732,
-0.0358450710773468,
0.00786853488534689,
-0.01329245138913393,
0.008804913610219955,
0.03244420140981674,
-0.03629817068576813,
-0.02088337019085884,
0.044988587498664856,
0.025726499035954475,
-0.009597300551831722,
0.03175656870007515,
-0.03779779002070427,
-0.017826206982135773,
-0.04117126390337944,
-0.035226307809352875,
-0.0344771072268486,
-0.011652204208076,
-0.022246908396482468,
-0.021526046097278595,
0.05542835593223572,
-0.011115623638033867,
0.014320802874863148,
-0.0034448092337697744,
0.06761441379785538,
-0.026188179850578308,
0.05319838598370552,
0.014594030566513538,
-0.01029614545404911,
0.008354741148650646,
0.0300081018358469,
-0.012128367088735104,
0.0012689223513007164,
-0.020008569583296776,
-0.04298586770892143,
-0.0006271901074796915
] | neo4j-2-0-1-cypher-concatenating-an-empty-collection-type-mismatch-expected-integer-collection-or-collection-but-was-collection | https://markhneedham.com/blog/2014/04/19/neo4j-2-0-1-cypher-concatenating-an-empty-collection-type-mismatch-expected-integer-collection-or-collection-but-was-collection |
false | 2014-04-26 07:50:46 | Clojure: clj-time - Formatting a date / timestamp with day suffixes e.g. 1st, 2nd, 3rd | [
"clojure"
] | [
"Clojure"
] | I've been using the https://github.com/clj-time/clj-time[clj-time] library recently - a Clojure wrapper around http://joda-time.sourceforge.net/[Joda Time] - and one thing I wanted to do is format a date with day suffixes e.g. 1st, 2nd, 3rd.
I started with the following timestamp:
[source,text]
----
1309368600000
----
The first step was to convert that into a DateTime object like so:
[source,lisp]
----
user> (require '[clj-time.coerce :as c])
user> (c/from-long 1309368600000)
#<DateTime 2011-06-29T17:30:00.000Z>
----
I wanted to output that date in the following format:
[source,text]
----
29th June 2011
----
We can get quite close by using a https://github.com/clj-time/clj-time#clj-timeformat[custom time formatter]:
[source,lisp]
----
user> (require '[clj-time.format :as f])
nil
user> (f/unparse (f/formatter "d MMMM yyyy") (c/from-long 1309368600000))
"29 June 2011"
----
Unfortunately I couldn't find anywhere in the documentation explaining how to get the elusive 'th' or 'st' to print. I was hoping for something similar to PHP date formatting:
image::{{<siteurl>}}/uploads/2014/04/2014-04-26_08-38-39.png[2014 04 26 08 38 39,600]
Eventually I came across a Stack Overflow post about Joda Time suggesting that http://stackoverflow.com/questions/12950392/jodatime-format-date-with-1st-2nd-3rd-etc-day[you can't actually format a day in the way I was hoping to].
So I now have the following function to do it for me:
[source,lisp]
----
(defn day-suffix [day]
(let [stripped-day (if (< day 20) day (mod day 10))]
(cond (= stripped-day 1) "st"
(= stripped-day 2) "nd"
(= stripped-day 3) "rd"
:else "th")))
----
and the code to get the date in my favoured format looks like this:
[source,lisp]
----
user> (def my-time (c/from-long 1309368600000))
#'user/my-time
user> (def day (read-string (f/unparse (f/formatter "d") my-time)))
#'user/day
user> (str day (day-suffix day) " " (f/unparse (f/formatter "MMMM yyyy") my-time))
"29th June 2011"
----
I'm assuming there's a better way but what is it?! | null | null | [
0.013220285065472126,
-0.02245328389108181,
-0.0310069490224123,
0.010047082789242268,
0.06691072881221771,
-0.0030873287469148636,
0.03853682056069374,
0.0348752997815609,
0.01824994757771492,
0.004510032013058662,
0.002249331446364522,
-0.016229955479502678,
-0.056914281100034714,
0.025840170681476593,
-0.03062339313328266,
0.04692630469799042,
0.054733533412218094,
-0.03668839484453201,
0.04423520714044571,
-0.000618531892541796,
0.0348576195538044,
0.03012588620185852,
-0.010518861934542656,
-0.01692713238298893,
0.03141099959611893,
-0.0027548708021640778,
-0.011470269411802292,
0.022198699414730072,
-0.050863273441791534,
-0.016434326767921448,
0.032691556960344315,
-0.005735676735639572,
-0.004710698500275612,
0.01573234237730503,
0.009793834760785103,
-0.003214259399101138,
-0.040123291313648224,
-0.019655637443065643,
0.006181173026561737,
0.04285978153347969,
-0.041647493839263916,
-0.008544614538550377,
0.015345693565905094,
-0.005073984153568745,
-0.052506133913993835,
0.021828172728419304,
-0.023192711174488068,
0.027759993448853493,
-0.014847185462713242,
0.022312644869089127,
-0.043212659657001495,
0.0024503394961357117,
-0.0017166932811960578,
0.000015690446161897853,
-0.01029571145772934,
0.057511597871780396,
0.04001426696777344,
-0.07971224933862686,
0.022123126313090324,
0.008312498219311237,
0.01939578354358673,
-0.0333629846572876,
0.02522125095129013,
-0.006232426967471838,
-0.00248273485340178,
-0.013958222232758999,
-0.0030330915469676256,
0.023619970306754112,
-0.017158012837171555,
-0.0173601396381855,
0.0051334998570382595,
0.02075083740055561,
-0.01754974015057087,
-0.014550799503922462,
0.006344241090118885,
-0.015028494410216808,
-0.015022778883576393,
0.05178915336728096,
-0.004522392991930246,
0.0736854076385498,
-0.02808341570198536,
0.02728722058236599,
0.07733768969774246,
0.05339515209197998,
0.01879510097205639,
0.013235221616923809,
-0.08950552344322205,
-0.0019092423608526587,
-0.027859514579176903,
0.037411704659461975,
0.006588876247406006,
-0.017827268689870834,
0.032230194658041,
0.02143602818250656,
0.004786466248333454,
0.041329145431518555,
-0.02131572552025318,
0.024173496291041374,
0.004597802180796862,
-0.022184954956173897,
-0.03079158440232277,
-0.046546559780836105,
0.021980244666337967,
0.04038397595286369,
-0.0426030270755291,
-0.03687993437051773,
-0.04917704686522484,
-0.04187881574034691,
0.025940077379345894,
0.0006870321813039482,
-0.06216438487172127,
0.004357308614999056,
0.008506099693477154,
0.00590817304328084,
-0.048604317009449005,
0.025828879326581955,
0.012512286193668842,
-0.05093831568956375,
-0.04265730455517769,
0.019459204748272896,
0.008615950122475624,
0.031512971967458725,
0.0014030985767021775,
0.061807431280612946,
0.0011851388262584805,
0.06775163859128952,
-0.009825265035033226,
0.04425184056162834,
-0.00983794592320919,
-0.04497632384300232,
-0.024187572300434113,
0.04432519152760506,
0.017778048291802406,
-0.003106615971773863,
-0.004761772695928812,
-0.0295417420566082,
-0.02054835483431816,
0.015992941334843636,
0.07923366129398346,
0.03748714178800583,
0.006520887836813927,
-0.0319933220744133,
-0.017901619896292686,
-0.02923118881881237,
-0.0007443698705174029,
0.05720086395740509,
-0.012190102599561214,
-0.03534063696861267,
-0.048880625516176224,
0.026815446093678474,
0.026491804048419,
-0.009369071573019028,
0.05089524760842323,
-0.015545316971838474,
0.01734028570353985,
0.07445932179689407,
-0.011747208423912525,
0.04338180646300316,
-0.013276712037622929,
0.0033293133601546288,
0.0014726659283041954,
0.03445623815059662,
-0.035320915281772614,
0.043457821011543274,
0.014928034506738186,
-0.026984933763742447,
0.022389814257621765,
0.02040838450193405,
-0.02491619996726513,
-0.023292437195777893,
-0.04275505617260933,
-0.060225650668144226,
0.08650984615087509,
-0.023593338206410408,
-0.01995193585753441,
0.03341098129749298,
0.11767318844795227,
0.004024328663945198,
0.030544228851795197,
0.006170324049890041,
-0.07985726743936539,
0.04763475060462952,
0.025404075160622597,
0.03006952814757824,
0.016429027542471886,
-0.01123032532632351,
0.04941157251596451,
-0.011091967113316059,
0.01446017436683178,
0.03181404992938042,
-0.07720869779586792,
-0.04917234182357788,
-0.034514330327510834,
-0.03248368576169014,
0.05408380925655365,
-0.0723097175359726,
-0.006893713492900133,
0.04466808959841728,
0.01685653254389763,
0.0472637414932251,
0.009898124262690544,
-0.0017837109044194221,
0.009210048243403435,
-0.048202209174633026,
-0.04075494781136513,
0.013767681084573269,
0.042933542281389236,
-0.016490265727043152,
0.00989941880106926,
0.021489305421710014,
0.004519019741564989,
0.015911895781755447,
0.06899503618478775,
0.004638844635337591,
0.001800159108825028,
0.05687364190816879,
0.07335025072097778,
-0.04146604239940643,
0.004135593306273222,
-0.04607541114091873,
0.028300076723098755,
0.01845473423600197,
-0.017330657690763474,
-0.02128993719816208,
-0.003252187976613641,
0.12074323743581772,
0.047142524272203445,
-0.02383488602936268,
-0.04718608036637306,
0.03209568187594414,
-0.013427011668682098,
-0.05629495158791542,
-0.028356190770864487,
-0.002230691257864237,
0.04198228195309639,
0.02207319252192974,
0.005676806438714266,
-0.014059548266232014,
-0.019612906500697136,
-0.01426583994179964,
0.026919716969132423,
0.07378992438316345,
-0.001702377456240356,
0.05311112850904465,
-0.013252886943519115,
-0.026827912777662277,
-0.03685476630926132,
-0.033356234431266785,
-0.05875243619084358,
0.03172645345330238,
0.019373496994376183,
-0.0006000583525747061,
0.07822634279727936,
-0.05144093185663223,
-0.04148529842495918,
0.005075868219137192,
-0.051580678671598434,
0.022558946162462234,
0.05162328854203224,
0.06071560084819794,
-0.0015817135572433472,
0.03772341459989548,
-0.024752482771873474,
0.01348540186882019,
-0.011283141560852528,
-0.04764992743730545,
-0.030199797824025154,
-0.011204705573618412,
-0.011410456150770187,
0.008688178844749928,
0.005931288003921509,
0.014749021269381046,
0.04047268629074097,
0.011738325469195843,
-0.030154816806316376,
-0.011876365169882774,
0.03592631593346596,
-0.0024540023878216743,
-0.02191099151968956,
-0.025928055867552757,
-0.0186958946287632,
0.07458637654781342,
-0.03181225433945656,
-0.04201667383313179,
-0.01653135195374489,
-0.08457192778587341,
0.057237111032009125,
-0.049822308123111725,
-0.03455090522766113,
0.0001892397558549419,
-0.0031815313268452883,
0.05037460848689079,
-0.0048132301308214664,
0.036071356385946274,
0.08951324969530106,
0.028312165290117264,
0.025628862902522087,
-0.004821172449737787,
0.0010298157576471567,
0.031335972249507904,
0.014390378259122372,
0.03160982206463814,
0.0770716592669487,
0.030423957854509354,
-0.0075876242481172085,
-0.06264464557170868,
-0.0015977969160303473,
-0.030104538425803185,
-0.26549649238586426,
0.030673610046505928,
-0.050725311040878296,
-0.033117979764938354,
-0.002535835839807987,
0.014692524448037148,
0.0384233221411705,
-0.051468122750520706,
0.007136366795748472,
0.012310749851167202,
-0.014799132011830807,
-0.014326109550893307,
-0.05630015581846237,
0.027915239334106445,
0.014667161740362644,
-0.023409027606248856,
-0.007663961499929428,
-0.026044538244605064,
0.01604585349559784,
0.022800816223025322,
0.007872521877288818,
-0.033637721091508865,
0.00945525337010622,
0.06064680218696594,
0.00911794789135456,
0.02749163843691349,
-0.0417952761054039,
0.022601600736379623,
-0.026590099558234215,
-0.02889319323003292,
0.04155738279223442,
-0.032022565603256226,
0.022335128858685493,
-0.021885711699724197,
0.00005238392623141408,
-0.02028477191925049,
0.006510146427899599,
0.016919570043683052,
0.032860562205314636,
0.03215900436043739,
-0.02085789479315281,
-0.04367360845208168,
-0.011756574735045433,
-0.012759905308485031,
0.07488846033811569,
0.021162325516343117,
-0.05482024326920509,
0.012120170518755913,
-0.014233962632715702,
0.08836238831281662,
-0.008678292855620384,
-0.038218073546886444,
-0.00619149673730135,
0.010092622600495815,
-0.003809189423918724,
-0.034594375640153885,
-0.03866634890437126,
-0.030960263684391975,
-0.02938588336110115,
-0.011626524850726128,
0.004160608630627394,
-0.04689750820398331,
0.0007097175694070756,
-0.04776909947395325,
-0.07293097674846649,
-0.07165323942899704,
-0.08605614304542542,
-0.00593226496130228,
0.06078425422310829,
0.03212364763021469,
-0.0396377295255661,
-0.013346502557396889,
-0.015802079811692238,
-0.10394852608442307,
-0.023292750120162964,
-0.03903011232614517,
-0.032363712787628174,
-0.01064902264624834,
-0.028871024027466774,
0.049565065652132034,
-0.07054106146097183,
-0.03966546431183815,
0.010227466933429241,
0.019494162872433662,
0.04926757141947746,
-0.020538657903671265,
-0.003610003273934126,
-0.00814789067953825,
-0.00557180168107152,
-0.0181453637778759,
0.04787696897983551,
-0.04283541440963745,
-0.03628484904766083,
0.0007320662843994796,
0.0053411806002259254,
0.047470204532146454,
0.013349748216569424,
0.013551917858421803,
0.04533280059695244,
0.0012576745357364416,
0.01859312318265438,
-0.04816058650612831,
0.007114113308489323,
-0.032464269548654556,
-0.019057398661971092,
-0.022876642644405365,
-0.052048418670892715,
0.025449827313423157,
-0.04177899286150932,
0.03114934079349041,
-0.030910782516002655,
-0.03982771560549736,
-0.018809638917446136,
-0.0634593740105629,
-0.02577066607773304,
-0.03947489708662033,
0.00030531041556969285,
0.03775398060679436,
0.03969449922442436,
0.0040127793326973915,
-0.04056025296449661,
0.020356129854917526,
0.00494788633659482,
-0.0431809239089489,
-0.041350994259119034,
-0.005821508355438709,
-0.015767449513077736,
-0.031208911910653114,
0.06436874717473984,
0.016895825043320656,
-0.04688378795981407,
0.02731330506503582,
0.04278703033924103,
-0.01571604795753956,
0.02253652550280094,
-0.019871145486831665,
0.0016969488933682442,
-0.04823196679353714,
-0.03207309916615486,
0.00468853022903204,
0.013364438898861408,
-0.01956883817911148,
0.00393397081643343,
0.004515273496508598,
0.03535142540931702,
0.021145889535546303,
0.019144346937537193,
-0.008799680508673191,
-0.018757740035653114,
0.02426064945757389,
0.024033106863498688,
-0.051826123148202896,
0.025214144960045815,
-0.04400905966758728,
-0.054738882929086685,
0.029287071898579597,
0.026048194617033005,
0.00407882547006011,
-0.03937540948390961,
-0.03538399189710617,
0.020164309069514275,
-0.04458604007959366,
0.014140487648546696,
0.0011660349555313587,
-0.015062040649354458,
0.039765357971191406,
-0.012343335896730423,
0.07636835426092148,
-0.007331592030823231,
-0.0428367555141449,
-0.035264864563941956,
0.012035655789077282,
-0.04316446930170059,
0.01779858209192753,
0.01697077974677086,
-0.0027823911514133215,
0.026312969624996185,
0.03836441785097122,
0.06099071353673935,
-0.001966978656128049,
-0.002385153668001294,
-0.0062910569831728935,
0.010816369205713272,
0.020917793735861778,
0.003933829255402088,
0.038712028414011,
0.010183239355683327,
-0.012050780467689037,
-0.0275191031396389,
-0.04144123196601868,
0.016951579600572586,
-0.012950761243700981,
-0.02179940976202488,
-0.050819091498851776,
-0.01408648956567049,
-0.07434500008821487,
0.02415154129266739,
0.0540144219994545,
0.01480240561068058,
0.011678696610033512,
0.005512890871614218,
-0.013134715147316456,
-0.053261615335941315,
0.0009516168502159417,
0.01795998401939869,
-0.057404544204473495,
0.004507399629801512,
-0.020721860229969025,
0.015223080292344093,
-0.021480781957507133,
0.031038258224725723,
-0.05163409188389778,
0.020278166979551315,
-0.009794091805815697,
-0.013159063644707203,
-0.011557567864656448,
-0.016246961429715157,
-0.0068853325210511684,
0.0226130373775959,
-0.023278068751096725,
0.0029270497616380453,
-0.00014439079677686095,
-0.02277187444269657,
0.033558350056409836,
-0.001882504322566092,
0.026303298771381378,
-0.04072849825024605,
0.01757391355931759,
0.03989225625991821,
0.024339765310287476,
0.03063279762864113,
-0.06420302391052246,
0.04370647296309471,
0.019819991663098335,
-0.03869157284498215,
-0.034391850233078,
-0.0569046251475811,
0.033843524754047394,
-0.01609492301940918,
0.06039094179868698,
0.014507086016237736,
-0.013650310225784779,
-0.04478221386671066,
0.0012362075503915548,
-0.03985508903861046,
0.007412421982735395,
-0.02525380253791809,
0.0027264326345175505,
-0.0015958971343934536,
0.0246374923735857,
0.021701687946915627,
0.022428004071116447,
-0.023736417293548584,
-0.03483125567436218,
0.0409490168094635,
-0.08129499852657318,
-0.05847233161330223,
0.007827721536159515,
-0.0476640947163105,
0.01439717784523964,
0.012373566627502441,
0.01113344356417656,
-0.0529610812664032,
0.03536643460392952,
0.05837442725896835,
0.04033027961850166,
0.04190884530544281,
0.01836741529405117,
0.011614534072577953,
-0.03050311841070652,
-0.03296613320708275,
-0.09859839081764221,
0.019920814782381058,
0.04512113332748413,
0.0172116719186306,
-0.0163800697773695,
0.01397672202438116,
-0.008140589110553265,
0.030356720089912415,
-0.04655098542571068,
-0.01270199939608574,
0.07642406970262527,
-0.02257939614355564,
0.0002880198589991778,
0.03775952383875847,
-0.03648033365607262,
0.037847694009542465,
0.07929739356040955,
-0.050439056009054184,
-0.01357891783118248,
-0.01137738861143589,
0.055424679070711136,
-0.011442107148468494,
0.039285413920879364,
-0.04858878627419472,
0.03600260987877846,
0.07291999459266663,
0.01604808308184147,
-0.017087528482079506,
0.05566868931055069,
0.0211857408285141,
0.016529962420463562,
0.021854521706700325,
-0.039929624646902084,
-0.04062073677778244,
0.011422475799918175,
-0.040374692529439926,
-0.05537500977516174,
0.03361381217837334,
0.026765495538711548,
-0.039863649755716324,
-0.015428009442985058,
0.0836910828948021,
0.01439626980572939,
-0.020009761676192284,
-0.027049697935581207,
0.01456697378307581,
-0.05966006591916084,
0.031072277575731277,
-0.02320263907313347,
0.0011926094302907586,
-0.028338627889752388,
0.04550589248538017,
0.006601021159440279,
0.02540690265595913,
0.09411323070526123,
0.026466798037290573,
0.001702179666608572,
0.0037720059044659138,
0.051883671432733536,
0.07398733496665955,
0.015446462668478489,
0.010390638373792171,
0.039434000849723816,
-0.014853578060865402,
-0.028672078624367714,
0.0029193151276558638,
-0.02274412475526333,
0.013848003931343555,
-0.03143619745969772,
0.010379616171121597,
0.07901816815137863,
-0.02895490638911724,
0.051528070122003555,
0.011219559237360954,
-0.02363123744726181,
-0.02983378991484642,
-0.0063436455093324184,
0.056254636496305466,
0.008606063202023506,
0.02204739674925804,
0.006258115172386169,
0.006279950030148029,
-0.023310532793402672,
0.061275094747543335,
-0.021457955241203308,
-0.01948489062488079,
0.020164581015706062,
-0.0057694632560014725,
0.008642539381980896,
-0.020676633343100548,
0.06762824952602386,
0.033324070274829865,
-0.013876537792384624,
-0.006915025878697634,
-0.004518515896052122,
0.0202512014657259,
-0.0007579216035082936,
0.0072557865642011166,
-0.006024055182933807,
0.005825459491461515,
0.0011453429469838738,
-0.016442446038126945,
0.03831535577774048,
-0.024234585464000702,
-0.06859105825424194,
0.07222632318735123,
-0.015257268212735653,
0.019530070945620537,
-0.004782712087035179,
-0.02225763164460659,
-0.047881416976451874,
-0.047087233513593674,
-0.023399174213409424,
-0.04737573862075806,
-0.0696486085653305,
-0.021489938721060753,
0.04653792083263397,
-0.02635946124792099,
-0.02995404787361622,
0.011756419204175472,
-0.018531395122408867,
0.031496815383434296,
-0.01585245318710804,
-0.04328792542219162,
-0.004823283292353153,
0.020000135526061058,
0.012542994692921638,
-0.016922995448112488,
-0.009162608534097672,
0.05563974380493164,
0.010667692869901657,
-0.022087546065449715,
-0.04463264346122742,
-0.006659351754933596,
0.038351621478796005,
-0.002177973510697484,
0.005733820144087076,
-0.05854393541812897,
0.021756861358880997,
0.039559341967105865,
0.010931198485195637,
-0.07373229414224625,
0.03523591533303261,
0.020167792215943336,
-0.008407898247241974,
0.0370284765958786,
-0.005062308628112078,
-0.02178158611059189,
-0.023554198443889618,
-0.0002432173932902515,
0.03912842273712158,
0.031718820333480835,
0.02021128125488758,
-0.011007379740476608,
0.08703622967004776,
0.0559372678399086,
-0.020383520051836967,
-0.010324766859412193,
-0.02871275506913662,
0.006613284815102816,
-0.020810943096876144,
-0.04611566290259361,
-0.031223975121974945,
-0.07207239419221878,
-0.0583006925880909,
-0.029708409681916237,
0.01568366214632988,
-0.04921252280473709,
-0.042381320148706436,
0.02330813743174076,
0.021167811006307602,
-0.016647906973958015,
0.005559606943279505,
-0.04569264501333237,
-0.0067977262660861015,
-0.021833322942256927,
-0.020280547440052032,
-0.03053480200469494,
-0.0025098458863794804,
0.006269268691539764,
-0.010628510266542435,
0.011864498257637024,
-0.044555626809597015,
-0.024073300883173943,
-0.024068985134363174,
0.005277811083942652,
0.011199133470654488,
0.022035831585526466,
-0.026545163244009018
] | [
-0.10388211160898209,
-0.03837497904896736,
-0.014765662141144276,
0.014152366667985916,
0.0411783829331398,
-0.06619889289140701,
-0.06297101080417633,
-0.02193639613687992,
-0.011000028811395168,
0.019632453098893166,
0.015805695205926895,
-0.019317151978611946,
-0.004050456918776035,
0.024344705045223236,
0.09992017596960068,
-0.03689539432525635,
-0.05666178837418556,
-0.04474323242902756,
-0.04807308688759804,
0.03760654106736183,
0.07410220056772232,
-0.012542182579636574,
-0.015383852645754814,
-0.03191132843494415,
0.012891661375761032,
0.034807462245225906,
0.059340156614780426,
-0.03908238932490349,
-0.030049828812479973,
-0.1818087249994278,
-0.033040061593055725,
0.019807355478405952,
0.00693162064999342,
-0.036964546889066696,
0.010633918456733227,
0.03819891810417175,
0.05150296911597252,
0.01996907964348793,
-0.042171549052000046,
0.025790026411414146,
0.07127314060926437,
0.01842314936220646,
-0.014176659286022186,
-0.050291646271944046,
-0.02581382356584072,
-0.00918053649365902,
-0.027746334671974182,
0.021755244582891464,
-0.025203287601470947,
0.04167647287249565,
-0.02754168026149273,
0.042037077248096466,
0.028731713071465492,
-0.03425021097064018,
0.04343158006668091,
0.01736368052661419,
0.04149854555726051,
0.06077595800161362,
0.010312801226973534,
-0.03561858460307121,
-0.02861839532852173,
-0.015507192350924015,
-0.16153079271316528,
0.1051277443766594,
-0.03043931908905506,
-0.0011779442429542542,
0.04483932629227638,
0.03756742924451828,
-0.03788144141435623,
0.05718972533941269,
-0.017092688009142876,
-0.003460208186879754,
-0.024872232228517532,
0.051031459122896194,
-0.004228987265378237,
-0.049952488392591476,
-0.005518273450434208,
-0.02559487335383892,
0.056638818234205246,
-0.03498466685414314,
-0.047082267701625824,
0.031231632456183434,
0.045924749225378036,
0.002293204888701439,
0.027269646525382996,
0.02854824624955654,
0.0108979232609272,
0.020900726318359375,
0.030736112967133522,
0.042481619864702225,
-0.02376827970147133,
-0.048375360667705536,
0.045605190098285675,
0.04457130283117294,
-0.05835428461432457,
0.012006450444459915,
0.028975361958146095,
0.05825537070631981,
0.0038705149199813604,
0.3601873219013214,
-0.07533485442399979,
-0.012027685530483723,
-0.003162775421515107,
0.06718903034925461,
-0.0016838142182677984,
-0.01605798676609993,
-0.01307687908411026,
-0.03180511295795441,
0.006785196717828512,
-0.03305649012327194,
-0.02695966139435768,
0.011922566220164299,
0.056748196482658386,
-0.07629851996898651,
-0.02611261047422886,
-0.00962184090167284,
0.09952443838119507,
0.007754090707749128,
-0.011290444061160088,
0.05682184919714928,
0.020681757479906082,
-0.01241595670580864,
0.009401768445968628,
0.031804606318473816,
-0.008689767681062222,
0.050769150257110596,
0.05816563218832016,
0.029024038463830948,
0.04886595532298088,
0.04261970520019531,
0.03416382521390915,
-0.03272088244557381,
-0.06753670424222946,
-0.02758600190281868,
-0.010534542612731457,
0.022010305896401405,
-0.03631376847624779,
-0.05227312073111534,
-0.0066496748477220535,
-0.02986295148730278,
-0.037499506026506424,
-0.07481157034635544,
0.01357722282409668,
0.04938872158527374,
-0.030457131564617157,
0.10755085945129395,
-0.03710329532623291,
0.00409105746075511,
-0.03144665062427521,
-0.027418531477451324,
-0.06702554225921631,
0.011120804585516453,
-0.008985606953501701,
-0.0291338711977005,
0.0034114245790988207,
0.008756328374147415,
0.12413299828767776,
0.003861222881823778,
-0.05730068311095238,
-0.006029502023011446,
-0.0450371578335762,
-0.006499134004116058,
-0.02968737669289112,
0.0450998991727829,
0.007010323461145163,
-0.09527147561311722,
-0.03270930424332619,
0.029538655653595924,
0.03937580808997154,
-0.07305391877889633,
-0.015628214925527573,
0.021570321172475815,
0.025447294116020203,
-0.014997693710029125,
0.07497163861989975,
0.003982155583798885,
0.056769534945487976,
0.013530238531529903,
0.08362850546836853,
0.043818701058626175,
-0.019145671278238297,
-0.015589270740747452,
-0.02856333740055561,
0.015509513206779957,
0.01009565219283104,
-0.059078436344861984,
-0.025377539917826653,
-0.02126574143767357,
0.007595624774694443,
0.007626349572092295,
0.0005408044089563191,
-0.052122339606285095,
-0.08051402866840363,
0.02972371131181717,
-0.08201026171445847,
-0.07138722389936447,
-0.020066531375050545,
0.05493117868900299,
0.016608087345957756,
-0.04324454441666603,
0.008345265872776508,
0.018046900629997253,
0.01574205793440342,
0.028812279924750328,
0.027430782094597816,
-0.016792671754956245,
0.06887082755565643,
-0.11085670441389084,
0.042720455676317215,
0.04532190039753914,
-0.05555272102355957,
0.008654761128127575,
0.03147011995315552,
-0.029973940923810005,
0.002723757643252611,
0.045632943511009216,
-0.007851401343941689,
-0.03380270674824715,
0.0009777933591976762,
0.005986686795949936,
-0.03596984222531319,
-0.09339645504951477,
0.00444489112123847,
-0.2996857166290283,
-0.006364299450069666,
0.010181587189435959,
0.001829387154430151,
0.04833699017763138,
-0.06373518705368042,
-0.04117773845791817,
-0.033063311129808426,
0.027690500020980835,
0.04226222261786461,
0.05933297052979469,
-0.04602743312716484,
-0.07007517665624619,
-0.09982134401798248,
-0.008758215233683586,
0.05959369242191315,
0.0245099775493145,
-0.03953196480870247,
0.020490258932113647,
-0.00522821769118309,
0.007660353556275368,
-0.09131786227226257,
-0.0260610468685627,
-0.06219441443681717,
-0.01179010421037674,
0.015625081956386566,
0.06814708560705185,
0.018424851819872856,
0.05335688963532448,
-0.08612821251153946,
0.054928794503211975,
-0.015777528285980225,
-0.039329029619693756,
-0.09867312014102936,
0.025925008580088615,
-0.045072831213474274,
0.020142687484622,
-0.004729462321847677,
-0.002076943637803197,
-0.01216928567737341,
-0.03236955776810646,
0.01446555182337761,
-0.009990500286221504,
-0.03317613527178764,
0.014533747918903828,
0.013835874386131763,
0.03144459053874016,
-0.020709089934825897,
0.0036890306510031223,
0.028115328401327133,
-0.003250391921028495,
-0.03129773959517479,
0.036677900701761246,
-0.0025406358763575554,
0.02148774266242981,
-0.001628740574233234,
-0.05255607143044472,
-0.02995758317410946,
0.013077069073915482,
-0.046457208693027496,
0.007532760500907898,
0.06093317270278931,
0.04100535809993744,
-0.025685420259833336,
-0.04623514786362648,
0.012451039627194405,
-0.0012312392937019467,
-0.00678759440779686,
-0.01620406098663807,
-0.030658122152090073,
-0.016588430851697922,
0.07992926239967346,
-0.03226962313055992,
0.0010192256886512041,
0.05780410394072533,
0.02382577396929264,
-0.03062390349805355,
-0.004203001502901316,
0.054614875465631485,
0.011009801179170609,
0.012442967854440212,
0.012677997350692749,
0.12197453528642654,
0.013313353061676025,
0.018355434760451317,
0.02930328994989395,
0.003137382445856929,
0.005676365923136473,
0.00962305162101984,
0.017655491828918457,
-0.046804219484329224,
-0.011236618272960186,
0.01763245090842247,
-0.025526471436023712,
0.08158868551254272,
-0.007367047481238842,
-0.25035208463668823,
0.06371455639600754,
0.0458148755133152,
0.0377163402736187,
0.023188408464193344,
0.023988626897335052,
-0.009403377771377563,
-0.050043921917676926,
-0.043919097632169724,
0.00789107009768486,
0.012687917798757553,
0.07108783721923828,
-0.006425805855542421,
-0.004118164535611868,
0.06207743659615517,
0.009886052459478378,
0.025089310482144356,
0.00407571392133832,
-0.009923171252012253,
-0.011069000698626041,
0.02484014444053173,
-0.015744173899292946,
0.16055357456207275,
0.010533696971833706,
-0.009278183802962303,
0.041875552386045456,
-0.005176630802452564,
0.027704110369086266,
0.10810906440019608,
-0.00019001752662006766,
0.0009070316446013749,
0.01884518191218376,
0.11174304038286209,
0.07241315394639969,
-0.006584282033145428,
-0.04146779328584671,
-0.047185663133859634,
0.03394289314746857,
-0.021654890850186348,
-0.03993014618754387,
-0.008051265962421894,
0.02828861027956009,
-0.031963177025318146,
-0.006729781161993742,
0.10163161903619766,
0.013957851566374302,
-0.00955398939549923,
-0.06389759480953217,
-0.014012150466442108,
-0.03372707590460777,
-0.0068082669749855995,
-0.05627148225903511,
-0.009072455577552319,
0.029267512261867523,
-0.018312424421310425,
0.035020072013139725,
0.0014224470360204577,
-0.026533907279372215,
0.02618129923939705,
0.03602864593267441,
0.0008320648339577019,
-0.020596949383616447,
0.08404259383678436,
-0.016605183482170105,
-0.008146615698933601
] | [
-0.018735386431217194,
0.044587042182683945,
0.008855737745761871,
0.006524736527353525,
0.015975937247276306,
-0.008777630515396595,
-0.03459886088967323,
0.01916290633380413,
-0.007711214479058981,
-0.03780142217874527,
-0.027721865102648735,
-0.02386799268424511,
-0.020365912467241287,
-0.03860902041196823,
0.02229403518140316,
-0.01489369384944439,
-0.02958502620458603,
0.019547706469893456,
0.03798488527536392,
0.007224079687148333,
-0.003159311832860112,
0.0028964902739971876,
0.019380664452910423,
0.00005037371374783106,
-0.012416442856192589,
0.02484230138361454,
-0.021450338885188103,
0.001708433497697115,
0.011033694259822369,
-0.13694168627262115,
-0.04321612790226936,
0.008666801266372204,
-0.023471511900424957,
-0.01505212765187025,
0.009542357176542282,
0.011304332874715328,
0.0007732294616289437,
0.006885351147502661,
0.01527173537760973,
0.002760969800874591,
0.011955766938626766,
0.0020298012532293797,
0.0010146619752049446,
-0.01254449225962162,
0.003958506044000387,
-0.0008767963736318052,
0.007944471202790737,
-0.0280645489692688,
-0.060758840292692184,
0.04067256674170494,
-0.042736541479825974,
-0.007870909757912159,
-0.023899385705590248,
0.012384409084916115,
0.013503744266927242,
0.002044802065938711,
-0.040150851011276245,
0.014474961906671524,
0.008788581006228924,
-0.008648572489619255,
-0.024218490347266197,
0.040600210428237915,
-0.06832949072122574,
-0.01875542849302292,
0.017354795709252357,
-0.06561242789030075,
-0.0016312915831804276,
0.0009273976902477443,
0.0032622236758470535,
-0.006761129014194012,
-0.0019175048219040036,
0.025289062410593033,
-0.029501324519515038,
0.009236971847712994,
-0.022588787600398064,
0.014875411055982113,
0.012240099720656872,
-0.013453874737024307,
0.001025768113322556,
0.0003319064562674612,
0.010213461704552174,
0.013355243019759655,
0.03326684981584549,
0.023606132715940475,
0.0034004978369921446,
-0.05015936121344566,
-0.0010081407381221652,
0.05324593558907509,
0.014063217677175999,
-0.03931453824043274,
-0.009677807800471783,
-0.006951760500669479,
-0.00606580963358283,
0.02303866110742092,
-0.09142403304576874,
-0.006658896338194609,
-0.004934796132147312,
0.025555359199643135,
0.020257513970136642,
0.8387889266014099,
-0.017244646325707436,
0.04998287186026573,
0.004967149812728167,
0.01710277982056141,
0.019497057422995567,
0.008835148066282272,
-0.01125660352408886,
0.006868135649710894,
-0.023953521624207497,
-0.017709318548440933,
0.04366147145628929,
-0.00026210889336653054,
0.013855913653969765,
-0.013449053280055523,
0.03651128709316254,
0.021203668788075447,
0.009648087434470654,
0.003043202217668295,
0.025867130607366562,
0.03766307979822159,
0.01925787515938282,
-0.004112058784812689,
0.0029404908418655396,
-0.005718965549021959,
-0.010873439721763134,
-0.12780772149562836,
0.029869835823774338,
-6.04184921071058e-33,
0.031583745032548904,
-0.01016220636665821,
0.035479892045259476,
-0.03966400772333145,
0.012091554701328278,
0.00940999947488308,
-0.01241814810782671,
-0.014250371605157852,
0.02092496119439602,
-0.02756069414317608,
0.0002888747549150139,
-0.04607218876481056,
-0.02163502760231495,
-0.054831791669130325,
0.015848465263843536,
0.001485456246882677,
0.0018577724695205688,
0.019663836807012558,
0.032799363136291504,
0.03560645505785942,
0.027128053829073906,
-0.019327599555253983,
0.020204337313771248,
-0.015661632642149925,
0.027162816375494003,
0.0005420316592790186,
0.030754603445529938,
0.003670072415843606,
0.006105760112404823,
-0.05002041161060333,
0.017169209197163582,
-0.02333054319024086,
0.006346024107187986,
-0.0024017724208533764,
0.07971180230379105,
-0.039198391139507294,
-0.020120391622185707,
0.0016145168337970972,
-0.061313897371292114,
0.007031046785414219,
-0.0371457114815712,
-0.020382987335324287,
-0.02683984860777855,
-0.024164417758584023,
-0.0014299587346613407,
0.013890261761844158,
0.0059082056395709515,
0.025811385363340378,
0.013014079071581364,
0.04145733267068863,
-0.02844277396798134,
0.032335903495550156,
-0.006425990257412195,
-0.04426170140504837,
-0.021270887926220894,
0.012095657177269459,
0.01281470526009798,
-0.012916780076920986,
-0.009458083659410477,
-0.000804104027338326,
0.020858490839600563,
-0.0023471738677471876,
0.00657843891531229,
0.006967389490455389,
-0.02906995266675949,
-0.007391336373984814,
0.0238544512540102,
-0.005052878987044096,
0.03183109685778618,
0.04265620559453964,
-0.05602789297699928,
0.019412148743867874,
-0.0048478590324521065,
-0.012550693936645985,
0.024212924763560295,
-0.02172532118856907,
0.06273925304412842,
-0.00833108089864254,
0.04854431748390198,
0.016186656430363655,
0.05373980849981308,
-0.05465090274810791,
0.021313946694135666,
-0.00767325097694993,
-0.022634074091911316,
-0.02934604324400425,
0.022464750334620476,
0.03071756474673748,
-0.0251715537160635,
0.009232766926288605,
0.05174468830227852,
0.022943515330553055,
0.010026737116277218,
-0.013589883223176003,
-0.013995418325066566,
6.441922100857222e-33,
0.02565658651292324,
-0.024353697896003723,
-0.006576077546924353,
0.01286911778151989,
0.02448216825723648,
-0.03698908910155296,
-0.019171584397554398,
0.045591745525598526,
-0.018822692334651947,
0.047579482197761536,
0.02613719366490841,
-0.0344388373196125,
-0.028853757306933403,
0.00716108875349164,
0.05100122466683388,
-0.005885312333703041,
0.032129108905792236,
-0.0009206983959302306,
-0.012554045766592026,
0.004194722976535559,
-0.02046436443924904,
0.018480440601706505,
0.012345615774393082,
-0.010487033985555172,
0.06473726779222488,
0.037507325410842896,
-0.0044725132174789906,
0.01780891790986061,
-0.008829903788864613,
0.03770487755537033,
0.0036979946307837963,
-0.04493975639343262,
-0.003620944684371352,
-0.021648656576871872,
-0.03781457990407944,
0.04904546961188316,
0.0035247027408331633,
-0.024237124249339104,
0.03937888517975807,
0.008029674179852009,
0.015545504167675972,
0.01242876797914505,
-0.023949559777975082,
0.0019337129779160023,
-0.018770158290863037,
0.04175116866827011,
-0.006867490243166685,
0.029480215162038803,
0.021989760920405388,
-0.02342430129647255,
-0.002588825300335884,
0.007380194496363401,
-0.01552471425384283,
-0.0068885572254657745,
0.034360263496637344,
-0.034432437270879745,
0.005394602194428444,
0.012173673138022423,
-0.049041565507650375,
0.00816459022462368,
-0.050067368894815445,
-0.03397510200738907,
-0.0015051402151584625,
-0.013380075804889202,
-0.027012206614017487,
-0.032012008130550385,
-0.019123980775475502,
-0.03669971972703934,
0.021109463647007942,
-0.0016896023880690336,
0.008536240085959435,
-0.023734595626592636,
-0.03790730610489845,
0.05261915549635887,
-0.009876850992441177,
-0.02375165931880474,
0.0037806767504662275,
0.04523876681923866,
-0.020678481087088585,
0.029314741492271423,
0.022558212280273438,
-0.013307489454746246,
-0.016772588714957237,
0.030006535351276398,
-0.021443873643875122,
0.016022296622395515,
-0.035298604518175125,
0.002452672692015767,
0.007267080247402191,
-0.0363314226269722,
0.02208690717816353,
-0.016743550077080727,
-0.028145775198936462,
0.06799178570508957,
-0.0066362121142446995,
-1.2361492274237662e-8,
0.008882795460522175,
-0.019206099212169647,
-0.02405337058007717,
0.008153379894793034,
0.0003405067836865783,
-0.01646137610077858,
-0.006760108284652233,
-0.039397358894348145,
0.006644735112786293,
0.027378926053643227,
0.09058617055416107,
0.012264959514141083,
0.01462559774518013,
0.02328677847981453,
0.0028527730610221624,
-0.0251640472561121,
-0.010639038868248463,
0.0069150179624557495,
0.008599543012678623,
-0.007697026710957289,
0.025049183517694473,
0.012900562956929207,
0.007982127368450165,
-0.027298133820295334,
-0.00240723742172122,
0.01028609462082386,
-0.007703195326030254,
-0.03379696235060692,
0.028646191582083702,
-0.009176020510494709,
0.02704840712249279,
-0.027393808588385582,
-0.019712314009666443,
-0.026830239221453667,
-0.0566115640103817,
-0.05905057489871979,
-0.011026784777641296,
0.002832115860655904,
-0.040641702711582184,
0.05485599860548973,
0.025166185572743416,
0.017923861742019653,
-0.02684754505753517,
-0.0171342846006155,
-0.02373916655778885,
-0.014644468203186989,
-0.004678172990679741,
-0.001704673864878714,
-0.0310403723269701,
-0.008480239659547806,
0.020747529342770576,
0.017987942323088646,
0.02431091107428074,
0.03514258563518524,
0.013292945921421051,
0.007861798629164696,
0.01997680589556694,
-0.011758699081838131,
-0.04349242150783539,
0.009506477043032646,
-0.010203328914940357,
-0.0043842545710504055,
-0.012458600103855133,
-0.028007032349705696
] | clojure-clj-time-formatting-a-date-timestamp-with-day-suffixes-e-g-1st-2nd-3rd | https://markhneedham.com/blog/2014/04/26/clojure-clj-time-formatting-a-date-timestamp-with-day-suffixes-e-g-1st-2nd-3rd |
false | 2014-04-07 00:04:28 | install4j and AppleScript: Creating a Mac OS X Application Bundle for a Java application | [
"software-development"
] | [
"Software Development"
] | We have a few internal applications at Neo which can be launched using 'java -jar +++<path-to-jar>+++' and I always forget where the jars are so I thought I'd wrap a Mac OS X application bundle around it to make life easier.</p>
My favourite installation pattern is the one where when you double click the dmg it shows you a window where you can drag the application into the 'Applications' folder, like this:
image::{{<siteurl>}}/uploads/2014/04/2014-04-07_00-38-41.png[2014 04 07 00 38 41,551]
I'm not a fan of the installation wizards and the installation process here is so simple that a wizard seems overkill.
I started out learning about https://developer.apple.com/library/mac/documentation/corefoundation/conceptual/cfbundles/BundleTypes/BundleTypes.html[the structure of an application bundle] which is well described in the Apple Bundle Programming guide. I then worked my way through a video which walks you through https://www.youtube.com/watch?v=Unl8dgqFv6o[bundling a JAR file in a Mac application].
I figured that bundling a JAR was probably a solved problem and had a look at http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/packagingAppsForMac.html[App Bundler], http://informagen.com/JarBundler/[JAR Bundler] and http://s.sudre.free.fr/Software/Iceberg.html[Iceberg] before settling on http://www.ej-technologies.com/products/install4j/overview.html[Install4j] which we used for http://blog.neo4j.org/2013/09/installer-check-desktop-launcher-check.html[Neo4j desktop].
I started out by creating an installer using Install4j and then manually copying the launcher it created into an Application bundle template but it was incredibly fiddly and I ended up with a variety of indecipherable messages in the system error log.
Eventually I realised that I didn't need to create an installer and that what I actually wanted was a http://resources.ej-technologies.com/install4j/help/doc/indexRedirect.html?http&&&resources.ej-technologies.com/install4j/help/doc/steps/media/mediaFileTypes.html[Mac OS X single bundle archive media file].
After I'd got install4j creating that for me I just needed to figure out how to create the background image telling the user to drag the application into their 'Applications' folder.
Luckily I http://stackoverflow.com/questions/96882/how-do-i-create-a-nice-looking-dmg-for-mac-os-x-using-command-line-tools[came across this StackOverflow post] which provided some AppleScript to do just that and with a bit of tweaking I ended up with the following shell script which seems to do the job: ~~~bash #!/bin/bash rm target/DBench_macos_1_0_0.tgz /Applications/install4j\ 5/bin/install4jc TestBench.install4j title="DemoBench" backgroundPictureName="graphs.png" applicationName="DemoBench" finalDMGName="DemoBench.dmg" rm -rf target/dmg && mkdir -p target/dmg tar -C target/dmg -xvf target/DBench_macos_1_0_0.tgz cp -r src/packaging/.background target/dmg ln -s /Applications target/dmg cd target rm "$\{finalDMGName}" umount -f /Volumes/"$\{title}" hdiutil create -volname $\{title} -size 100m -srcfolder dmg/ -ov -format UDRW pack.temp.dmg device=$(hdiutil attach -readwrite -noverify -noautoopen "pack.temp.dmg" | egrep '{caret}/dev/' | sed 1q | awk '{print $1}') sleep 5 echo ' tell application "Finder" tell disk "'$\{title}'" open set current view of container window to icon view set toolbar visible of container window to false set statusbar visible of container window to false set the bounds of container window to {400, 100, 885, 430} set theViewOptions to the icon view options of container window set arrangement of theViewOptions to not arranged set icon size of theViewOptions to 72 set background picture of theViewOptions to file ".background:'$\{backgroundPictureName}'" set position of item "'$\{applicationName}'" of container window to {100, 100} set position of item "Applications" of container window to {375, 100} update without registering applications delay 5 eject end tell end tell ' | osascript hdiutil detach $\{device} hdiutil convert "pack.temp.dmg" -format UDZO -imagekey zlib-level=9 -o "$\{finalDMGName}" rm -f pack.temp.dmg cd .. ~~~
To summarise, this script creates a symlink to 'Applications', puts a background image in a directory titled '.background', sets that as the background of the window and positions the symlink and application appropriately.
Et voila:
image::{{<siteurl>}}/uploads/2014/04/2014-04-07_00-59-56.png[2014 04 07 00 59 56,485]
The Firefox guys wrote http://limi.net/articles/improving-the-mac-installer-for-firefox/[a couple] http://limi.net/articles/firefox-mac-installation-experience-revisited[of blog posts] detailing their experiences writing an installer which were quite an interesting read as well.+++</path-to-jar>+++ | null | null | [
0.020845357328653336,
0.012886343523859978,
0.015535344369709492,
0.03252294659614563,
0.08810506016016006,
0.01843447983264923,
0.023335430771112442,
-0.002474409295246005,
-0.00871208868920803,
-0.03998745232820511,
-0.030956227332353592,
-0.0183624979108572,
-0.051952946931123734,
0.01983749493956566,
-0.0008525339653715491,
0.017015136778354645,
0.08046100288629532,
0.005324546247720718,
0.004962397739291191,
0.022352861240506172,
0.017254209145903587,
0.046824537217617035,
-0.031354982405900955,
0.02353375405073166,
-0.0019777233246713877,
-0.01132836565375328,
0.01814773678779602,
-0.0033150797244161367,
-0.06326048076152802,
-0.007901943288743496,
0.03367478400468826,
-0.01076603028923273,
0.009740580804646015,
-0.03688027709722519,
0.02642158232629299,
0.012829594314098358,
-0.035152021795511246,
0.028618458658456802,
-0.004898477345705032,
0.009111526422202587,
-0.06690990179777145,
0.05058452486991882,
-0.00048560788854956627,
-0.005438434891402721,
-0.03479324281215668,
0.012486880645155907,
-0.04818426072597504,
0.0014168350026011467,
-0.001055642031133175,
0.0014920352259650826,
-0.06965797394514084,
0.002115497598424554,
-0.01782418042421341,
-0.030618835240602493,
0.005694662220776081,
0.0424247607588768,
0.012436667457222939,
-0.07642875611782074,
0.0350073017179966,
-0.028917597606778145,
-0.02277512475848198,
-0.012207559309899807,
-0.005359237547963858,
0.027799831703305244,
-0.021661344915628433,
-0.052073944360017776,
-0.007671508938074112,
0.05320766568183899,
-0.0504821240901947,
0.005132862366735935,
0.02559443563222885,
0.003361067268997431,
-0.020011864602565765,
-0.018363067880272865,
0.05394728481769562,
-0.04067624732851982,
-0.002967724110931158,
0.048689283430576324,
0.027868174016475677,
0.044407691806554794,
-0.05033533647656441,
0.023621216416358948,
0.03063249960541725,
0.020821575075387955,
0.006101737264543772,
-0.01649697870016098,
-0.030155155807733536,
0.005445803981274366,
-0.05846651270985603,
0.05501491576433182,
0.0451759435236454,
-0.04404798895120621,
0.020337117835879326,
0.03229864686727524,
-0.006482393480837345,
0.011969407089054585,
0.018305303528904915,
-0.007233525160700083,
0.01702088676393032,
0.023865722119808197,
-0.04571136087179184,
0.01295389048755169,
-0.02426721528172493,
0.013442197814583778,
-0.058029502630233765,
-0.00720252888277173,
-0.017804965376853943,
-0.026797255501151085,
0.00027182509074918926,
-0.03424699977040291,
-0.010696637444198132,
0.030170118436217308,
0.003970451653003693,
0.011024492792785168,
-0.07269477099180222,
0.07398459315299988,
-0.014146445319056511,
-0.04305364191532135,
-0.03304874151945114,
0.020574040710926056,
0.04793429374694824,
0.0466744527220726,
-0.03882785513997078,
0.06241493299603462,
-0.00965590588748455,
0.03371068462729454,
-0.013053889386355877,
0.028018109500408173,
-0.013960545882582664,
-0.09066157788038254,
-0.02037649415433407,
0.06073590740561485,
0.014211355708539486,
0.017365071922540665,
0.0014730228576809168,
0.014711378142237663,
0.0008606029441580176,
0.014339182525873184,
0.05670953914523125,
0.012322924099862576,
-0.03807941824197769,
-0.040933139622211456,
0.0052170646376907825,
0.0012635376770049334,
0.030564192682504654,
0.023714004084467888,
-0.028917018324136734,
-0.010709794238209724,
-0.057979434728622437,
0.03308907151222229,
0.0045552728697657585,
0.03440258279442787,
0.05596908554434776,
-0.03022688440978527,
0.0064592259004712105,
0.13140885531902313,
0.012104091234505177,
0.020085182040929794,
-0.028131060302257538,
-0.011764848604798317,
0.041756514459848404,
0.027964944019913673,
0.006794999819248915,
0.04334975406527519,
-0.014005058445036411,
-0.008054913021624088,
0.004662121646106243,
0.045928534120321274,
-0.013150068931281567,
-0.004320723935961723,
-0.02167074754834175,
-0.09833220392465591,
0.04456863924860954,
-0.04804028570652008,
-0.017607204616069794,
0.048605017364025116,
0.10785473138093948,
0.01997470110654831,
0.02584371715784073,
0.016745848581194878,
-0.07965123653411865,
0.04620278254151344,
0.0172919612377882,
0.02402958646416664,
0.02462046965956688,
-0.011624454520642757,
0.05481289327144623,
0.008251371793448925,
-0.01639922522008419,
0.030478445813059807,
-0.07358483225107193,
-0.0687451958656311,
-0.005043462384492159,
-0.01321375835686922,
0.04539424553513527,
-0.006027798168361187,
-0.035700321197509766,
0.03992806375026703,
0.0009751022444106638,
0.009999215602874756,
0.02264418452978134,
-0.009523201733827591,
0.005438982974737883,
-0.0713072419166565,
-0.05819197744131088,
0.036588869988918304,
0.03698572888970375,
-0.04037616774439812,
-0.012043248862028122,
-0.005188148934394121,
0.010685828514397144,
-0.017929645255208015,
0.05213051289319992,
-0.05125341936945915,
0.07014543563127518,
0.03288028761744499,
0.02090124413371086,
-0.027162820100784302,
0.041742004454135895,
-0.033955566585063934,
0.0018124820198863745,
-0.009078629314899445,
-0.014444420114159584,
-0.014457369223237038,
0.012670178897678852,
0.09081853181123734,
0.03142264485359192,
-0.05653718486428261,
-0.035762157291173935,
0.012706627137959003,
0.06288259476423264,
-0.04938887432217598,
-0.0069661447778344154,
-0.007998215034604073,
0.0005582441808655858,
-0.0031117277685552835,
-0.020574290305376053,
-0.017598161473870277,
0.0023169186897575855,
-0.028093727305531502,
0.005546896252781153,
0.09265557676553726,
-0.04803348705172539,
0.05860648304224014,
0.01813506707549095,
-0.009584960527718067,
0.009005378000438213,
-0.06262952834367752,
-0.06978500634431839,
0.015887005254626274,
0.018740307539701462,
-0.004616477992385626,
0.044338274747133255,
-0.03420432284474373,
-0.008872685953974724,
-0.023048384115099907,
-0.03399154916405678,
0.050184670835733414,
0.018424298614263535,
0.07204579561948776,
0.012652250938117504,
0.04288303852081299,
-0.03219335898756981,
0.04149172827601433,
-0.03817093372344971,
-0.030922213569283485,
-0.011441339738667011,
-0.0047895475290715694,
-0.017212670296430588,
0.008391684852540493,
-0.022949768230319023,
-0.02760505862534046,
0.020108625292778015,
-0.024025147780776024,
0.020577646791934967,
-0.02545974776148796,
0.020541643723845482,
0.0010673139477148652,
-0.0008708556415513158,
-0.045647356659173965,
-0.035096220672130585,
0.0470840148627758,
-0.055853549391031265,
0.004805716220289469,
0.009740316309034824,
-0.03840756416320801,
0.05091618373990059,
-0.06033111363649368,
-0.06897199153900146,
-0.0018377623055130243,
0.04598433896899223,
0.046496063470840454,
0.009063687175512314,
0.02890915423631668,
0.0792052298784256,
0.01034089270979166,
0.0204623993486166,
0.011510749347507954,
-0.00492893485352397,
0.05180758237838745,
-0.013379529118537903,
0.025616856291890144,
0.022886209189891815,
-0.030130794271826744,
0.018684903159737587,
-0.028742939233779907,
0.03632703423500061,
-0.027205944061279297,
-0.2778415381908417,
0.03654106706380844,
-0.01897662691771984,
-0.07156262546777725,
-0.012518779374659061,
-0.030307214707136154,
-0.03043961338698864,
-0.063683420419693,
-0.013550831936299801,
0.01586133986711502,
-0.023606309667229652,
-0.04231952503323555,
0.003942720126360655,
0.014204495586454868,
-0.008604105561971664,
0.006564459763467312,
0.02254904806613922,
-0.03168421611189842,
-0.007737627252936363,
0.00418696366250515,
-0.022808635607361794,
-0.0527816116809845,
0.03742722421884537,
0.04234571009874344,
0.02053919993340969,
0.040382519364356995,
-0.0766693726181984,
0.04972812905907631,
-0.051908593624830246,
-0.006955230608582497,
0.004408715758472681,
-0.02038833498954773,
-0.019789094105362892,
0.0033678896725177765,
-0.0554225891828537,
-0.024320924654603004,
0.035795263946056366,
-0.010005300864577293,
0.03248011693358421,
0.03739576041698456,
0.009221212938427925,
-0.042435627430677414,
-0.00602160906419158,
0.006428802851587534,
0.06428984552621841,
-0.045136842876672745,
-0.10439002513885498,
-0.00718328170478344,
-0.05441349372267723,
0.07874405384063721,
-0.023951604962348938,
-0.008848220109939575,
-0.011278663761913776,
0.04734710603952408,
-0.002556756604462862,
-0.020944660529494286,
-0.024024825543165207,
0.01135634258389473,
-0.037819914519786835,
-0.02694348432123661,
-0.012851119972765446,
-0.030705977231264114,
-0.029492216184735298,
-0.045648761093616486,
0.009680424816906452,
-0.05842109024524689,
-0.07025441527366638,
-0.007477239239960909,
0.06379902362823486,
0.008529690094292164,
-0.032710786908864975,
0.02148536965250969,
0.004565791226923466,
-0.1027679517865181,
-0.004834737628698349,
-0.01704324595630169,
-0.0375831313431263,
0.013358215801417828,
-0.010374040342867374,
0.09678149968385696,
-0.041472166776657104,
-0.017034681513905525,
0.05837848037481308,
-0.007493078242987394,
-0.00188005855306983,
-0.010326349176466465,
-0.011111203581094742,
0.0013961538206785917,
0.0012279050424695015,
0.02489151991903782,
0.07150152325630188,
-0.04430059716105461,
-0.036604393273591995,
-0.0015817105304449797,
0.016459256410598755,
0.014415647834539413,
0.005960703827440739,
-0.023387959226965904,
0.01198733039200306,
0.057042889297008514,
0.03170265257358551,
-0.046581536531448364,
-0.005921364761888981,
0.014102970249950886,
-0.002945604966953397,
-0.027760446071624756,
-0.047677285969257355,
-0.005802043713629246,
0.03348127752542496,
0.042463887482881546,
-0.022435344755649567,
-0.03961850702762604,
0.03425707295536995,
-0.07089503109455109,
-0.04288612678647041,
-0.02401803247630596,
0.006051633041352034,
0.04283275455236435,
0.02910195104777813,
-0.030729113146662712,
-0.07583018392324448,
0.00862132664769888,
0.034466858953237534,
-0.010595749132335186,
-0.061066921800374985,
-0.0018863572040572762,
-0.015004999935626984,
-0.00838545709848404,
0.021066734567284584,
0.012715686112642288,
-0.04685307666659355,
0.028666691854596138,
0.03680338338017464,
-0.043759606778621674,
0.0043561686761677265,
-0.020520294085144997,
-0.03272902965545654,
-0.030760666355490685,
0.002890512812882662,
-0.03233281522989273,
0.0027935239486396313,
0.02541009709239006,
0.015114793553948402,
0.03031836450099945,
0.0243094302713871,
0.019639689475297928,
0.0483023077249527,
0.020695438608527184,
-0.004766138736158609,
-0.028695780783891678,
-0.00017372248112224042,
-0.045605674386024475,
0.006268834229558706,
-0.029702505096793175,
-0.054813552647829056,
-0.047295816242694855,
0.04297463968396187,
-0.008909275755286217,
-0.011797131970524788,
-0.03601181507110596,
0.039608120918273926,
-0.044731274247169495,
-0.008148022927343845,
-0.010184605605900288,
-0.011664479039609432,
0.08081325888633728,
0.012379461899399757,
0.027416879311203957,
-0.041899919509887695,
-0.01377415657043457,
0.02221257984638214,
0.019936518743634224,
-0.04156109318137169,
-0.009119775146245956,
0.004945782944560051,
0.024174263700842857,
0.009697116911411285,
0.005469536408782005,
0.0456962063908577,
0.03431067243218422,
-0.018992552533745766,
-0.037201814353466034,
0.025025084614753723,
-0.012619531713426113,
0.023351363837718964,
-0.02428329549729824,
-0.058423902839422226,
0.01480931043624878,
-0.017750922590494156,
-0.018561720848083496,
-0.0036445632576942444,
0.001625166041776538,
-0.009616115130484104,
0.012521300464868546,
-0.027017073705792427,
-0.08588353544473648,
0.005621444433927536,
0.016557296738028526,
0.019167479127645493,
0.011653566733002663,
-0.014947040006518364,
0.011863159015774727,
-0.05251021310687065,
0.06063716858625412,
0.07184328883886337,
-0.0457330048084259,
-0.014267806895077229,
0.018412094563245773,
0.036516595631837845,
-0.009409214369952679,
0.016024669632315636,
-0.0666813850402832,
-0.013671716675162315,
-0.006897496525198221,
0.024278493598103523,
-0.02959582209587097,
-0.03612016513943672,
-0.011619972065091133,
-0.01510744821280241,
-0.008297749795019627,
-0.02375572733581066,
0.030756667256355286,
-0.010957320220768452,
-0.0048162201419472694,
-0.009044037200510502,
0.03346751257777214,
-0.014334212988615036,
-0.007363676093518734,
0.011935149319469929,
-0.026557672768831253,
0.026180578395724297,
-0.011409556493163109,
0.01905651018023491,
0.011722510680556297,
-0.011362822726368904,
0.023370208218693733,
-0.04528024047613144,
0.028315825387835503,
0.014050415717065334,
0.029966536909341812,
-0.004249239806085825,
0.015428753569722176,
-0.04592873156070709,
0.0002390894223935902,
-0.04571742191910744,
-0.021793890744447708,
-0.023374171927571297,
0.0012371748453006148,
0.0025387094356119633,
0.04598589241504669,
0.008023655973374844,
0.007819482125341892,
-0.021227901801466942,
-0.027625706046819687,
0.07165799289941788,
-0.05758020281791687,
-0.04471445456147194,
0.01241282094269991,
-0.05480492115020752,
0.018337026238441467,
0.028933897614479065,
0.0510023757815361,
-0.04094792902469635,
0.055100828409194946,
0.0444323867559433,
0.0031768332701176405,
0.0036921219434589148,
-0.020020196214318275,
0.04447139799594879,
-0.05418124049901962,
-0.0014146362664178014,
-0.079131580889225,
0.024049505591392517,
0.031200889497995377,
0.007196441292762756,
0.0027079686988145113,
0.006999430246651173,
-0.028802840039134026,
0.013550120405852795,
-0.059782661497592926,
-0.018967557698488235,
0.0036493840161710978,
-0.036394212394952774,
0.027645230293273926,
0.020739231258630753,
-0.04958069697022438,
0.04062535986304283,
0.02483615279197693,
-0.029653102159500122,
-0.03293456882238388,
-0.023042386397719383,
0.06741789728403091,
0.010720942169427872,
0.035905372351408005,
-0.013812527991831303,
-0.01529715396463871,
0.07875630259513855,
0.0021417783573269844,
0.027151618152856827,
0.03646460920572281,
-0.009131601080298424,
0.021223684772849083,
0.05077967420220375,
0.0028291442431509495,
0.0021971308160573244,
0.015506455674767494,
-0.008545923978090286,
-0.055337462574243546,
0.0047001284547150135,
0.007227243855595589,
-0.011618058197200298,
-0.03035026043653488,
0.039131686091423035,
-0.0016317467670887709,
-0.02275976724922657,
-0.034694112837314606,
0.04487903043627739,
-0.0374603308737278,
-0.0039251032285392284,
-0.04561488330364227,
0.028440717607736588,
-0.0077606067061424255,
0.03240916505455971,
-0.044513847678899765,
0.0244388859719038,
0.07957912981510162,
0.008098484016954899,
0.005971531383693218,
-0.027082931250333786,
0.0760166272521019,
0.06742771714925766,
0.006353754550218582,
0.034528061747550964,
0.08123093843460083,
-0.016847562044858932,
-0.044195834547281265,
-0.004162030294537544,
-0.030768129974603653,
-0.017642853781580925,
-0.016788708046078682,
-0.006519709248095751,
0.04376262426376343,
-0.036130450665950775,
0.06959082186222076,
-0.01464053988456726,
-0.007009131833910942,
-0.0029820986092090607,
0.015323246829211712,
0.02463238127529621,
0.022646034136414528,
0.02742971107363701,
0.04863357171416283,
-0.02786966972053051,
-0.024167517200112343,
0.005276564974337816,
-0.03378858044743538,
-0.007273308467119932,
0.038770776242017746,
-0.012860401533544064,
0.008527622558176517,
0.019350776448845863,
0.03871981427073479,
0.07691486924886703,
-0.04367263242602348,
0.010384039022028446,
-0.01006860937923193,
0.022151948884129524,
0.02578073740005493,
0.015136095695197582,
-0.009791847318410873,
-0.033910468220710754,
-0.024510301649570465,
0.00007730722427368164,
-0.03342343866825104,
-0.00364845828153193,
0.008153535425662994,
0.03852115198969841,
-0.017308121547102928,
0.02227609045803547,
0.012055101804435253,
-0.004539623856544495,
-0.003671337617561221,
-0.0403863787651062,
-0.030568275600671768,
-0.038330938667058945,
-0.056213803589344025,
-0.016122590750455856,
0.014341686852276325,
0.024326549842953682,
-0.03106347657740116,
-0.02042720839381218,
-0.0123591935262084,
0.006272459402680397,
0.04306861013174057,
-0.040171291679143906,
-0.014461789280176163,
0.00850703939795494,
0.018274521455168724,
0.017791258171200752,
0.03764879330992699,
0.06099890172481537,
-0.001259002136066556,
-0.025773489847779274,
-0.030652843415737152,
0.014833207242190838,
0.04703110456466675,
0.0319906547665596,
0.030118625611066818,
-0.06767195463180542,
0.012446162290871143,
0.016128910705447197,
0.004662178456783295,
-0.04926634207367897,
-0.017523780465126038,
0.05214015021920204,
-0.0062285796739161015,
0.08317535370588303,
0.00586366094648838,
0.004480554256588221,
-0.027536308392882347,
0.025269923731684685,
0.0037017189897596836,
0.011489981785416603,
0.02133508212864399,
0.009134866297245026,
0.10602345317602158,
0.04880758374929428,
-0.024778315797448158,
-0.034439798444509506,
0.0017870537703856826,
0.02800384908914566,
-0.014515431597828865,
-0.02535986714065075,
-0.03827628120779991,
-0.052174340933561325,
-0.06556900590658188,
-0.03317710757255554,
0.012078430503606796,
-0.024972116574645042,
-0.04650754854083061,
0.0033275079913437366,
0.017745211720466614,
-0.021968215703964233,
0.02983066812157631,
-0.044906605035066605,
0.019883491098880768,
-0.0037559657357633114,
-0.012293446809053421,
0.012084618210792542,
-0.008546489290893078,
-0.020455874502658844,
-0.011896994896233082,
0.01977168582379818,
-0.045870620757341385,
-0.028978995978832245,
-0.0033064372837543488,
0.030691036954522133,
0.05741752311587334,
0.013820788823068142,
0.018456686288118362
] | [
-0.0754275694489479,
-0.013201829977333546,
-0.01771107316017151,
-0.05035793036222458,
0.06600712984800339,
-0.04210218787193298,
-0.010568317957222462,
0.005605518817901611,
-0.01431184634566307,
-0.032650940120220184,
-0.005649195052683353,
-0.02482311986386776,
-0.007132486440241337,
-0.005755152087658644,
0.11100195348262787,
-0.00875837728381157,
-0.0048317331820726395,
-0.06403355300426483,
-0.021067604422569275,
0.015146174468100071,
-0.0012834230437874794,
-0.030007921159267426,
-0.030708739534020424,
-0.04917215555906296,
-0.0006430737557820976,
0.04301179200410843,
0.04805511236190796,
-0.032620251178741455,
0.011971436440944672,
-0.19473658502101898,
0.01727246679365635,
0.000742380681913346,
0.002393903909251094,
-0.010351541452109814,
-0.007149971090257168,
0.06232328340411186,
0.029385415837168694,
0.028382157906889915,
-0.02125467173755169,
0.0255073681473732,
0.042307138442993164,
0.00508375559002161,
-0.054048504680395126,
0.006632959470152855,
0.05654573440551758,
-0.009692229330539703,
-0.022667305544018745,
-0.04900664836168289,
0.0031445976346731186,
0.005493033677339554,
-0.012073375284671783,
0.01274499949067831,
0.0006355508230626583,
-0.03398258984088898,
-0.022187789902091026,
0.031576551496982574,
0.03574303537607193,
0.06550697237253189,
0.007198350969702005,
0.05542812496423721,
-0.0028404691256582737,
-0.020583881065249443,
-0.11330804228782654,
0.09860330820083618,
0.0571298822760582,
0.0010223145363852382,
-0.02765592373907566,
-0.027367541566491127,
-0.022448832169175148,
0.07162044942378998,
0.018699822947382927,
-0.007741209585219622,
-0.028395026922225952,
0.0677747130393982,
-0.00437372038140893,
0.004223448224365711,
0.041419077664613724,
0.02307765558362007,
0.001851924229413271,
-0.07520843297243118,
-0.04442210495471954,
-0.007846511900424957,
-0.025581639260053635,
-0.005346260033547878,
-0.04456213116645813,
0.03954917937517166,
-0.03195594996213913,
0.05080607905983925,
0.015203531831502914,
0.03188154101371765,
0.0370682030916214,
-0.006090779323130846,
0.09436529129743576,
-0.0044111707247793674,
-0.0911073386669159,
0.0028085310477763414,
0.001809495035558939,
0.010963262990117073,
-0.018908599391579628,
0.42634081840515137,
0.013391224667429924,
-0.0254686139523983,
0.05398425832390785,
0.022686436772346497,
0.0037909550592303276,
-0.011962465941905975,
-0.0012782553676515818,
-0.019763125106692314,
0.02665555477142334,
-0.02514711767435074,
0.03126509487628937,
0.015226788818836212,
0.04875539615750313,
-0.08343211561441422,
0.0076073650270700455,
-0.016144707798957825,
-0.004358446691185236,
0.045001499354839325,
0.001629710546694696,
0.02541918307542801,
-0.010227106511592865,
0.010135608725249767,
0.03995683789253235,
-0.006834065075963736,
0.005854928866028786,
-0.015480201691389084,
-0.007229491136968136,
0.009208502247929573,
0.009833316318690777,
-0.008422769606113434,
0.055372755974531174,
-0.0439952090382576,
-0.06762680411338806,
0.005384068936109543,
0.024921689182519913,
0.019918153062462807,
0.0026305324863642454,
-0.03202603757381439,
0.0028382923919707537,
0.01821463741362095,
-0.040305376052856445,
0.025849536061286926,
0.05465221777558327,
-0.011282931081950665,
-0.035327404737472534,
0.06159082055091858,
0.0216950885951519,
-0.011233166791498661,
-0.029603492468595505,
0.0007036786410026252,
-0.008783364668488503,
0.06219080835580826,
-0.006883788853883743,
-0.03555412217974663,
0.03514522314071655,
-0.005258963909000158,
0.0808669701218605,
-0.011200323700904846,
-0.0914904847741127,
-0.0008595905965194106,
-0.014685265719890594,
-0.04471182823181152,
-0.03287232294678688,
0.0423901341855526,
0.06057959422469139,
-0.11033152788877487,
0.0035329069942235947,
0.05002088099718094,
0.020189937204122543,
-0.04815409332513809,
-0.006136669777333736,
0.049987003207206726,
-0.027758916839957237,
-0.0055480538867414,
0.05489721521735191,
-0.0568254329264164,
-0.03528603911399841,
-0.01038175355643034,
0.04060647636651993,
0.00043764751171693206,
0.005932820960879326,
-0.004692246206104755,
-0.023750169202685356,
-0.02455458790063858,
-0.020542485639452934,
-0.0874565914273262,
-0.06032278761267662,
0.029890764504671097,
-0.009283224120736122,
-0.041032202541828156,
-0.027531862258911133,
0.000005035020421928493,
-0.05512389913201332,
0.10707198828458786,
-0.021811436861753464,
-0.028103403747081757,
0.0034502753987908363,
-0.008219316601753235,
-0.008920884691178799,
-0.02300097793340683,
0.009168307296931744,
0.016098447144031525,
-0.040447406470775604,
0.052377671003341675,
-0.04736999422311783,
0.027708662673830986,
0.035802166908979416,
-0.04947849363088608,
0.056879617273807526,
0.026410462334752083,
-0.06144339218735695,
0.02528964728116989,
0.037075225263834,
0.01631203480064869,
-0.02098376303911209,
-0.023259317502379417,
-0.00036381877725943923,
0.003465241054072976,
0.04993939399719238,
0.04332787171006203,
-0.036220673471689224,
-0.0017288243398070335,
-0.023472463712096214,
-0.3508176803588867,
-0.0012573807034641504,
-0.016624266281723976,
0.011452436447143555,
-0.005196993239223957,
-0.034929461777210236,
0.03117114119231701,
-0.06653307378292084,
0.0043028416112065315,
-0.010376735590398312,
0.09464281052350998,
-0.06277362257242203,
0.03670329600572586,
-0.03770245611667633,
0.014593233354389668,
0.04343559592962265,
-0.012579039670526981,
-0.018335798755288124,
-0.031246433034539223,
0.029524140059947968,
-0.0020047849975526333,
-0.04442693293094635,
-0.022019250318408012,
-0.020928701385855675,
-0.030360596254467964,
-0.02765735238790512,
0.0971607118844986,
0.014502106234431267,
0.0910997986793518,
-0.06546121835708618,
0.05914296954870224,
0.03688545897603035,
-0.01814945787191391,
-0.0973384752869606,
-0.03842075169086456,
-0.014481239952147007,
0.00030464958399534225,
0.001960841938853264,
0.003264674451202154,
-0.016771424561738968,
-0.07229912281036377,
0.005519685335457325,
-0.05952952429652214,
-0.05526375025510788,
-0.0024174083955585957,
0.015907954424619675,
-0.030552592128515244,
-0.013604406267404556,
0.011933461762964725,
0.04505841061472893,
-0.005635290406644344,
0.002988300984725356,
0.008661150000989437,
-0.004498932044953108,
0.026267649605870247,
-0.04116801917552948,
-0.06834609061479568,
-0.000045979868446011096,
0.03975215181708336,
0.019850127398967743,
0.02795010805130005,
0.06748946011066437,
0.023798814043402672,
-0.07738601416349411,
-0.033124275505542755,
0.020621608942747116,
-0.0001963753456948325,
-0.002795374719426036,
0.023766374215483665,
-0.06632104516029358,
-0.0264247078448534,
0.12084018439054489,
0.012993174605071545,
0.00944524072110653,
0.038485705852508545,
0.02357831411063671,
-0.013739780522882938,
0.02626063860952854,
0.032079391181468964,
-0.009486627764999866,
0.0013614187482744455,
-0.005395926535129547,
0.07024020701646805,
-0.041541632264852524,
-0.02469225972890854,
0.0647297203540802,
-0.01578560657799244,
-0.05240391567349434,
0.029477868229150772,
-0.01685282588005066,
-0.007089248858392239,
0.015724757686257362,
-0.004566054791212082,
-0.05288365110754967,
0.07907403260469437,
-0.020023329183459282,
-0.24005474150180817,
0.041461896151304245,
0.06132851168513298,
0.0783737525343895,
-0.01788402907550335,
-0.02288651652634144,
0.029414154589176178,
-0.0402882918715477,
0.04022771492600441,
0.024471083655953407,
0.020338604226708412,
0.03998706117272377,
-0.009306888096034527,
-0.030619636178016663,
0.05450950190424919,
-0.026303526014089584,
0.044687140733003616,
0.01899886690080166,
0.03584662079811096,
-0.0061310711316764355,
0.030315320938825607,
-0.03235446289181709,
0.16346536576747894,
0.020224979147315025,
-0.003912761341780424,
0.01643075980246067,
-0.025247788056731224,
0.041424937546253204,
0.047233328223228455,
-0.00864563137292862,
-0.002180728828534484,
0.02496650442481041,
-0.007524963468313217,
0.035144343972206116,
0.032505691051483154,
-0.09281759709119797,
-0.007261360064148903,
0.028278131037950516,
0.021717756986618042,
0.008143496699631214,
0.0022210204042494297,
0.02071157470345497,
-0.07167628407478333,
0.033932872116565704,
0.05332218110561371,
-0.056260183453559875,
0.015718979761004448,
0.004056272562593222,
-0.05526423081755638,
-0.015237191691994667,
-0.032056208699941635,
-0.06662005186080933,
-0.02418065443634987,
-0.014678044244647026,
0.01228111982345581,
0.06800967454910278,
0.000954639574047178,
-0.03246711194515228,
-0.020595163106918335,
0.021175861358642578,
0.006706113927066326,
-0.03149818629026413,
0.127071812748909,
-0.008630309253931046,
0.030730480328202248
] | [
0.007586147636175156,
0.015910452231764793,
0.018611781299114227,
-0.024714725092053413,
0.017260447144508362,
0.0014651805395260453,
0.013678950257599354,
0.05282356217503548,
-0.05126166716217995,
0.014313441701233387,
0.023542920127511024,
0.004412154667079449,
0.04073715955018997,
0.019775785505771637,
0.020889071747660637,
-0.043859951198101044,
-0.000446110381744802,
0.02642510086297989,
0.020109331235289574,
-0.008987417444586754,
0.003458436345681548,
0.007825919426977634,
0.04863814264535904,
-0.031564708799123764,
0.023305417969822884,
0.0539359524846077,
0.00064508942887187,
-0.017361044883728027,
0.018204718828201294,
-0.13459926843643188,
-0.01599700190126896,
-0.02608598582446575,
0.003314463421702385,
-0.029875721782445908,
0.016270428895950317,
-0.002128786174580455,
0.01962442882359028,
0.01288764551281929,
-0.03315814957022667,
-0.024870438501238823,
-0.003188670612871647,
-0.010840309783816338,
0.0038195208180695772,
0.061583153903484344,
-0.03553732484579086,
-0.06618952751159668,
0.003803890896961093,
-0.03300172835588455,
-0.006008479278534651,
0.02650684118270874,
-0.03441622108221054,
0.031074978411197662,
-0.02231314405798912,
0.003065657801926136,
0.0007257749093696475,
-0.007897059433162212,
-0.0075446306727826595,
0.01788756251335144,
0.01669488288462162,
0.014831215143203735,
0.014061524532735348,
-0.011696180328726768,
-0.02601778320968151,
-0.019772760570049286,
-0.010135580785572529,
-0.03230849653482437,
0.002148041734471917,
0.025913052260875702,
0.003706725314259529,
-0.00609259307384491,
-0.013025065883994102,
0.036258578300476074,
-0.029547007754445076,
-0.02741440013051033,
-0.0236615389585495,
-0.0032515276689082384,
0.028461815789341927,
0.012932460755109787,
-0.003681641072034836,
-0.00008012611215235665,
-0.014989366754889488,
0.041858263313770294,
-0.0037505009677261114,
0.01642945408821106,
-0.013400611467659473,
0.008917917497456074,
-0.00267864135093987,
-0.005259138531982899,
0.023538047447800636,
0.047072168439626694,
-0.006356898229569197,
0.016498373821377754,
-0.01921781338751316,
0.008583826012909412,
-0.09073047339916229,
-0.001934290281496942,
-0.004053819924592972,
0.024843817576766014,
-0.008104532957077026,
0.8401568531990051,
0.012496569193899632,
-0.002314230427145958,
0.03826527297496796,
0.034993402659893036,
0.03437911346554756,
-0.01269793976098299,
-0.04478639364242554,
-0.03989318013191223,
-0.0038683153688907623,
0.0004420862242113799,
0.005417780950665474,
-0.020922377705574036,
0.023270489647984505,
-0.010196440853178501,
0.030040239915251732,
0.020637499168515205,
0.0320555716753006,
0.014512506313621998,
0.007249600253999233,
-0.0038190404884517193,
0.02623736672103405,
-0.0037828723434358835,
0.02927909791469574,
0.01422306802123785,
0.024496354162693024,
-0.1487034112215042,
-0.0323452427983284,
-7.284479717328175e-33,
-0.010800393298268318,
-0.03819744288921356,
0.047358304262161255,
0.023424947634339333,
-0.016664056107401848,
-0.045353204011917114,
-0.01015886664390564,
0.022456971928477287,
-0.025803610682487488,
-0.021052522584795952,
-0.02994205616414547,
-0.0006871318910270929,
-0.035788871347904205,
-0.002344750100746751,
0.012971088290214539,
-0.018520690500736237,
-0.001968234311789274,
0.024596326053142548,
-0.03325024992227554,
0.022459587082266808,
0.004027323331683874,
0.014415878802537918,
-0.033821482211351395,
-0.011253866367042065,
0.005164060741662979,
0.04784697666764259,
0.05854274705052376,
0.001875248970463872,
0.025859609246253967,
-0.0412859283387661,
-0.025779912248253822,
-0.031055979430675507,
-0.02097269333899021,
-0.035516463220119476,
0.0003533829585649073,
-0.06392952799797058,
-0.0406653992831707,
-0.0023445936385542154,
-0.01375831663608551,
-0.0231989324092865,
-0.051394905894994736,
-0.03139043599367142,
-0.026790983974933624,
0.01697293296456337,
-0.023752175271511078,
-0.029686106368899345,
0.002872088458389044,
0.0016953644808381796,
-0.012065701186656952,
0.000866966147441417,
0.022235162556171417,
-0.0030562549363821745,
0.015112487599253654,
0.008582555688917637,
-0.04515768587589264,
0.030747560784220695,
-0.013584940694272518,
0.019659336656332016,
-0.0030738285277038813,
0.010151728056371212,
0.011032339185476303,
0.012443732470273972,
-0.019016193225979805,
0.039234623312950134,
-0.01117716170847416,
0.0043944488279521465,
0.008771209046244621,
0.009878253564238548,
0.0023696727585047483,
0.047335390001535416,
-0.06433332711458206,
0.013957214541733265,
0.00480297114700079,
-0.028405964374542236,
0.02821255475282669,
-0.03821829706430435,
0.004695137031376362,
0.04238345846533775,
-0.004213915206491947,
0.02107984758913517,
0.016453469172120094,
-0.04337286204099655,
0.009531943127512932,
-0.027839813381433487,
-0.03730936348438263,
0.0207234937697649,
0.001287335529923439,
0.0019068060209974647,
0.021369237452745438,
0.01988043449819088,
0.06452355533838272,
0.027953697368502617,
0.012374556623399258,
0.00022766376787330955,
-0.035673946142196655,
6.809817302518043e-33,
0.01886446587741375,
-0.008312485180795193,
-0.013040246441960335,
-0.00210144417360425,
-0.021616898477077484,
0.025428326800465584,
0.012026417069137096,
0.0044756121933460236,
-0.059114210307598114,
-0.00730766961351037,
-0.022150283679366112,
0.0284291822463274,
-0.010994263924658298,
0.033626850694417953,
0.029963891953229904,
-0.00596793694421649,
0.03751653432846069,
0.006146079394966364,
0.00316299544647336,
0.001370308455079794,
-0.012217048555612564,
0.015616584569215775,
0.022539684548974037,
-0.003757442580536008,
0.006606558337807655,
0.010149478912353516,
0.00389847788028419,
0.044107552617788315,
-0.011772723868489265,
0.008678056299686432,
0.03812646120786667,
0.005285243503749371,
-0.001377409091219306,
-0.03857153281569481,
-0.03155883029103279,
-0.008406908251345158,
-0.01814776472747326,
0.02708625979721546,
-0.006787498947232962,
-0.007048892788589001,
-0.009889655746519566,
-0.027952956035733223,
-0.000705367187038064,
0.02882661297917366,
0.015328633598983288,
0.020021459087729454,
-0.0027069428469985723,
0.013310126028954983,
-0.003412615042179823,
0.005317548289895058,
-0.017955513671040535,
0.057612936943769455,
0.007714348845183849,
0.0013524540700018406,
0.011900501325726509,
-0.007363908924162388,
-0.05736695975065231,
0.03125203773379326,
0.010167142376303673,
0.043487127870321274,
-0.011882909573614597,
-0.052952107042074203,
0.0017455125926062465,
-0.016928447410464287,
-0.011462044902145863,
-0.011315979063510895,
-0.04481128603219986,
-0.006801953073590994,
-0.03089801035821438,
-0.019946053624153137,
0.02791495807468891,
0.00730461161583662,
-0.010749390348792076,
0.02495926059782505,
0.07231005281209946,
-0.012277759611606598,
-0.001212010276503861,
-0.009086809121072292,
-0.06202983483672142,
0.020428434014320374,
0.003911460284143686,
0.030105870217084885,
-0.033576469868421555,
-0.021987516433000565,
-0.009523727931082249,
0.0066686165519058704,
0.0014463516417890787,
0.02528972551226616,
-0.04055572301149368,
-0.036011677235364914,
-0.004100119695067406,
0.009312561713159084,
-0.02627521939575672,
0.03335559368133545,
-0.02463533543050289,
-1.2639220337007373e-8,
-0.00295448862016201,
-0.012041633948683739,
-0.011017034761607647,
-0.0349222756922245,
0.016241343691945076,
0.03887145221233368,
-0.032249901443719864,
0.028874889016151428,
-0.006346490699797869,
0.004009461496025324,
0.011621028184890747,
-0.010486599057912827,
-0.035619258880615234,
0.060444027185440063,
-0.020361606031656265,
-0.015341432765126228,
0.015123563818633556,
0.037621695548295975,
0.02573527954518795,
-0.003366334829479456,
0.013952265493571758,
0.05306793376803398,
0.009038897231221199,
0.023414641618728638,
-0.030165884643793106,
0.0223102830350399,
0.04786715283989906,
-0.07011603564023972,
0.02383837103843689,
0.016575241461396217,
-0.04119234159588814,
-0.01170323509722948,
-0.043274808675050735,
0.03743872418999672,
-0.046602051705121994,
-0.014181530103087425,
0.0009117419249378145,
0.05454530194401741,
0.015598036348819733,
0.011694672517478466,
-0.008558239787817001,
-0.017659446224570274,
-0.01439477875828743,
-0.03583729639649391,
-0.02704019285738468,
0.04036105424165726,
-0.018450982868671417,
0.01548774354159832,
-0.002884673187509179,
-0.01867709867656231,
0.021349763497710228,
0.010266491211950779,
-0.012728184461593628,
-0.012328216806054115,
0.013272449374198914,
-0.006927597336471081,
0.0007823316263966262,
-0.014030564576387405,
-0.013957060873508453,
0.01771600730717182,
0.01988445222377777,
-0.031905122101306915,
-0.0351850725710392,
-0.012401578947901726
] | install4j-and-applescript-creating-a-mac-os-x-application-bundle-for-a-java-application | https://markhneedham.com/blog/2014/04/07/install4j-and-applescript-creating-a-mac-os-x-application-bundle-for-a-java-application |
false | 2014-04-30 01:24:33 | Jersey/Jax RS: Streaming JSON | [
"java",
"jersey"
] | [
"Java"
] | About a year ago I wrote a blog post showing how to http://www.markhneedham.com/blog/2013/07/08/jax-rs-streaming-a-response-using-streamingoutput/[stream a HTTP response using Jersey/Jax RS] and I recently wanted to do the same thing but this time using JSON.
A common pattern is to take our Java object and get a JSON string representation of that but that isn't the most efficient use of memory because we now have the Java object and a string representation.
This is particularly problematic if we need to return a lot of the data in a response.
By writing a little bit more code we can get our response to stream to the client as soon as some of it is ready rather than building the whole result and sending it all in one go:
[source,java]
----
@Path("/resource")
public class MadeUpResource
{
private final ObjectMapper objectMapper;
public MadeUpResource() {
objectMapper = new ObjectMapper();
}
@GET
@Produces(MediaType.APPLICATION_JSON)
public Response loadHierarchy(@PathParam( "pkPerson" ) String pkPerson) {
final Map<Integer, String> people = new HashMap<>();
people.put(1, "Michael");
people.put(2, "Mark");
StreamingOutput stream = new StreamingOutput() {
@Override
public void write(OutputStream os) throws IOException, WebApplicationException
{
JsonGenerator jg = objectMapper.getJsonFactory().createJsonGenerator( os, JsonEncoding.UTF8 );
jg.writeStartArray();
for ( Map.Entry<Integer, String> person : people.entrySet() )
{
jg.writeStartObject();
jg.writeFieldName( "id" );
jg.writeString( person.getKey().toString() );
jg.writeFieldName( "name" );
jg.writeString( person.getValue() );
jg.writeEndObject();
}
jg.writeEndArray();
jg.flush();
jg.close();
}
};
return Response.ok().entity( stream ).type( MediaType.APPLICATION_JSON ).build() ;
}
}
----
If we run that this is the output we'd see:
[source,text]
----
[{"id":"1","name":"Michael"},{"id":"2","name":"Mark"}]
----
It's a simple example but hopefully it's easy to see how we could translate that if we wanted to stream more complex data. | null | null | [
0.006028294563293457,
-0.03290078416466713,
0.00043709034798666835,
0.02514347806572914,
0.0392301082611084,
0.0027740714140236378,
0.026273781433701515,
0.03484383597970009,
-0.032547034323215485,
-0.012418531812727451,
-0.0067093875259160995,
-0.03614899888634682,
-0.08970196545124054,
0.0020216763950884342,
-0.03977353870868683,
0.06278727948665619,
0.06137728691101074,
-0.005152321886271238,
0.035441190004348755,
-0.012831803411245346,
0.008764522150158882,
0.06411256641149521,
-0.012049387209117413,
0.04141160473227501,
0.052685920149087906,
0.010488463565707207,
-0.011696196161210537,
0.021691221743822098,
-0.040969863533973694,
-0.013399829156696796,
0.02726093865931034,
-0.004086875356733799,
-0.024394219741225243,
0.02135099098086357,
0.008326590061187744,
-0.056388095021247864,
-0.02662474662065506,
0.005664404947310686,
-0.009436467662453651,
0.04974289983510971,
-0.06142526865005493,
0.025035234168171883,
-0.014193829149007797,
0.01588730327785015,
-0.022908682003617287,
-0.009540862403810024,
-0.026822324842214584,
0.002487052697688341,
-0.04162321984767914,
-0.00012838833208661526,
-0.0667877197265625,
0.03782588988542557,
-0.062286000698804855,
0.015412355773150921,
0.019255639985203743,
0.03761774301528931,
0.015591603703796864,
-0.07102154195308685,
0.03129677474498749,
-0.0448540523648262,
0.023943249136209488,
-0.02597479335963726,
0.015727471560239792,
0.013013736344873905,
-0.017027758061885834,
-0.0080788005143404,
0.004230282735079527,
0.05901941657066345,
-0.02215893194079399,
-0.019998649135231972,
-0.010907849296927452,
-0.0026579031255096197,
0.00047580382670275867,
0.0070549845695495605,
0.01630350388586521,
-0.058038778603076935,
0.01126581896096468,
0.058815546333789825,
0.009718075394630432,
0.030282218009233475,
-0.012861661612987518,
0.009833691641688347,
-0.0040902248583734035,
0.0354900099337101,
0.0097446134313941,
-0.048719584941864014,
-0.006198820658028126,
0.012617409229278564,
-0.03139105066657066,
0.06508249789476395,
0.03330134227871895,
-0.017310436815023422,
-0.016068100929260254,
0.015595197677612305,
-0.02245599776506424,
-0.003891058498993516,
-0.016991320997476578,
0.01783006079494953,
-0.02677682600915432,
0.0018208959372714162,
-0.061607636511325836,
0.006132971029728651,
0.03844261169433594,
0.01670977473258972,
-0.06150447949767113,
-0.0202378761023283,
-0.02775462530553341,
-0.002672896720468998,
0.009940874762833118,
-0.0010454471921548247,
-0.010648946277797222,
0.03799664229154587,
-0.0036571382079273462,
-0.007033291272819042,
-0.058400414884090424,
0.0384565144777298,
0.0044173006899654865,
-0.05296219512820244,
-0.019735384732484818,
0.053263742476701736,
0.04476414993405342,
0.019193923100829124,
0.006282930728048086,
0.07011483609676361,
0.0025159085635095835,
0.023031242191791534,
-0.0005086181918159127,
0.041496556252241135,
-0.007865277118980885,
-0.06955727934837341,
0.008824402466416359,
0.04522355645895004,
0.022936014458537102,
0.0453580766916275,
0.003446183167397976,
-0.019495079293847084,
0.017962252721190453,
-0.0046384637244045734,
0.07751534134149551,
0.03850651532411575,
-0.04655592516064644,
-0.05224611237645149,
0.012159734033048153,
0.006527885794639587,
0.020071901381015778,
0.009149099700152874,
-0.014725886285305023,
-0.03299479931592941,
-0.00425835233181715,
0.04108521342277527,
0.006395708303898573,
0.031052008271217346,
0.055066607892513275,
-0.011638923548161983,
-0.023220473900437355,
0.08738299459218979,
-0.012985937297344208,
0.04396525025367737,
-0.016392715275287628,
0.032828304916620255,
0.02086765319108963,
0.03038810007274151,
0.0002997706178575754,
0.01970260590314865,
-0.011231903918087482,
0.00030582206090912223,
0.025558045133948326,
0.04764031991362572,
-0.013810837641358376,
-0.029465561732649803,
-0.029209112748503685,
-0.07796568423509598,
0.03257273510098457,
-0.022394336760044098,
-0.021286526694893837,
0.018412340432405472,
0.06434281915426254,
0.019368765875697136,
0.050881583243608475,
0.03505145013332367,
-0.06776449829339981,
0.04209432750940323,
0.027129439637064934,
0.007595453877002001,
0.033224862068891525,
-0.004473497625440359,
0.05407740920782089,
0.06665359437465668,
-0.03009147383272648,
0.017621852457523346,
-0.06973669677972794,
-0.04980924725532532,
-0.033394645899534225,
0.015098420903086662,
0.05751344561576843,
-0.043599408119916916,
-0.009051534347236156,
0.06680496782064438,
0.04381977394223213,
0.018974531441926956,
0.007059617433696985,
-0.01938875950872898,
0.012054416351020336,
-0.04601402208209038,
-0.04271826893091202,
0.03215853497385979,
0.06671837717294693,
-0.009593727998435497,
-0.044061556458473206,
-0.009115946479141712,
-0.004826318006962538,
0.004609675146639347,
0.008096232078969479,
-0.017578281462192535,
0.003930413629859686,
-0.0066698952578008175,
0.03744925931096077,
-0.025734638795256615,
0.07133323699235916,
-0.07321638613939285,
0.026621444150805473,
-0.003053720574826002,
-0.012525771744549274,
-0.020560331642627716,
0.0026517657097429037,
0.13872653245925903,
0.022051768377423286,
-0.002753517124801874,
-0.052356552332639694,
0.029165711253881454,
-0.012237150222063065,
-0.029968682676553726,
-0.01398973073810339,
-0.022898675873875618,
-0.025731967762112617,
0.03851856291294098,
-0.04660709947347641,
-0.02142111398279667,
-0.012815642170608044,
-0.025616781786084175,
-0.008827113546431065,
0.07611458003520966,
-0.032516419887542725,
0.0369255430996418,
0.027372322976589203,
-0.010466771200299263,
-0.015386411920189857,
-0.05127369984984398,
-0.029830165207386017,
0.013244529254734516,
-0.020067332312464714,
-0.019716564565896988,
0.06913799792528152,
-0.02099437452852726,
-0.020478593185544014,
-0.021109160035848618,
-0.03511882945895195,
0.019046325236558914,
0.02080930769443512,
0.06548811495304108,
-0.031036172062158585,
0.052243124693632126,
-0.017323914915323257,
-0.010896469466388226,
-0.03903781995177269,
-0.04075641557574272,
0.00029801836353726685,
0.00135188945569098,
0.012259582057595253,
0.04160575196146965,
0.010305408388376236,
0.012149483896791935,
0.030704041942954063,
0.02212907373905182,
-0.05179005116224289,
-0.002744399942457676,
0.031798265874385834,
-0.03318604454398155,
0.013296770863234997,
-0.018718866631388664,
-0.020613640546798706,
0.036834631115198135,
-0.017172254621982574,
-0.04868853837251663,
0.01894298382103443,
-0.09085597842931747,
0.027947265654802322,
-0.027389025315642357,
-0.05740630254149437,
0.0022050142288208008,
0.022145142778754234,
0.053393688052892685,
0.01619916595518589,
0.0036860392428934574,
0.0843312218785286,
0.01881525292992592,
0.022035736590623856,
0.0027344045229256153,
-0.0022186485584825277,
0.03301205113530159,
-0.04460455849766731,
0.023162150755524635,
0.049354713410139084,
0.004559935070574284,
-0.0014860719675198197,
-0.040686897933483124,
0.016061650589108467,
-0.00564546650275588,
-0.27152693271636963,
0.0194556824862957,
0.02192881517112255,
-0.0465804748237133,
0.04091674089431763,
0.015490589663386345,
0.028293132781982422,
-0.05733898654580116,
0.002262379275634885,
0.04853179305791855,
-0.020967839285731316,
-0.01944013684988022,
-0.03547368198633194,
0.03547714278101921,
0.013113518245518208,
-0.0035633095540106297,
-0.0071883853524923325,
0.005072827450931072,
0.009696547873318195,
0.02874908410012722,
0.0027731023728847504,
-0.09378579258918762,
-0.01620589755475521,
0.04467640072107315,
0.03763104975223541,
0.032087139785289764,
-0.07345307618379593,
0.039832521229982376,
-0.03943130001425743,
0.00394002441316843,
0.01964401826262474,
-0.037530574947595596,
0.03723663091659546,
-0.029417142271995544,
-0.045345161110162735,
-0.011617032811045647,
0.003879924537613988,
0.015942662954330444,
-0.004729956388473511,
0.022120878100395203,
-0.03612954914569855,
-0.08158992975950241,
-0.051755476742982864,
-0.007932925596833229,
0.054041847586631775,
0.0073678274638950825,
-0.055000338703393936,
0.007383520714938641,
-0.03318414092063904,
0.06133752316236496,
-0.02881840616464615,
-0.05240859463810921,
-0.005757593084126711,
0.009078208357095718,
-0.029289567843079567,
-0.0439753495156765,
-0.011167938821017742,
-0.0028270643670111895,
-0.03281307965517044,
-0.04128478467464447,
0.0341310054063797,
-0.04196629673242569,
-0.02490498311817646,
-0.010108523070812225,
-0.028083104640245438,
-0.04325724020600319,
-0.05487091466784477,
0.007266014814376831,
0.07738075405359268,
0.02353827841579914,
-0.02794959396123886,
0.0017857790226116776,
0.018474198877811432,
-0.10723551362752914,
-0.004280758555978537,
-0.025205230340361595,
-0.04544905573129654,
0.011370892636477947,
-0.03711635246872902,
0.04755336418747902,
-0.026990633457899094,
-0.0304193664342165,
0.003793597687035799,
0.005615579430013895,
0.012685459107160568,
-0.021290993317961693,
0.02770516835153103,
-0.020588476210832596,
0.008200370706617832,
-0.0055062491446733475,
0.08874514698982239,
-0.03887690231204033,
-0.012421437539160252,
-0.022672222927212715,
0.021808095276355743,
0.0640416070818901,
0.013862493447959423,
-0.021469781175255775,
0.010664379224181175,
0.0035213204100728035,
0.03456642106175423,
-0.04096399247646332,
0.034348588436841965,
-0.01167756225913763,
0.018438011407852173,
-0.03277885541319847,
-0.07995159178972244,
0.029992621392011642,
-0.0016109149437397718,
0.026150289922952652,
0.009048854932188988,
-0.020714273676276207,
-0.004613470286130905,
-0.04709147661924362,
-0.023918593302369118,
-0.009851031005382538,
-0.008742285892367363,
0.026572395116090775,
0.019229980185627937,
-0.04532986879348755,
-0.04691949114203453,
0.0241159126162529,
0.04450802877545357,
-0.013782070018351078,
-0.033648278564214706,
-0.04905824363231659,
-0.019809000194072723,
-0.028302660211920738,
-0.0029153216164559126,
0.009327264502644539,
0.014591783285140991,
0.03157775104045868,
0.023002922534942627,
-0.0046169329434633255,
-0.0035142656415700912,
-0.016680702567100525,
-0.026273231953382492,
-0.0453965961933136,
-0.0031408213544636965,
-0.0020984048023819923,
0.031669437885284424,
-0.00881226733326912,
0.008631458505988121,
0.032975610345602036,
0.022579001262784004,
-0.00012759292440023273,
0.04124482348561287,
0.00038742253673262894,
0.0030565077904611826,
-0.00963385496288538,
0.012842763215303421,
-0.06318601965904236,
-0.011738752946257591,
-0.02879047580063343,
-0.05021722987294197,
-0.008421797305345535,
0.03271530196070671,
-0.010371117852628231,
-0.04292013496160507,
-0.03624420985579491,
0.03855351731181145,
-0.06473005563020706,
-0.030814019963145256,
0.001134227612055838,
-0.010478627867996693,
0.041955795139074326,
-0.03448767960071564,
0.04435472935438156,
-0.02639753930270672,
-0.02684035524725914,
-0.006364422384649515,
-0.0272656362503767,
-0.006324884947389364,
0.0372401662170887,
0.0018286167178303003,
0.003081913571804762,
0.03204033151268959,
0.02739073894917965,
0.042666610330343246,
0.024712737649679184,
-0.0018413312500342727,
-0.005059842951595783,
0.006055148784071207,
0.029180971905589104,
0.06010042503476143,
0.0379134863615036,
0.0000995578957372345,
-0.0033056994434446096,
-0.04010118544101715,
-0.02100478671491146,
-0.01828346773982048,
0.006611023563891649,
-0.022476568818092346,
0.021228553727269173,
-0.014798254705965519,
-0.07597192376852036,
0.040647465735673904,
0.0051332334987819195,
0.01850445382297039,
0.039065174758434296,
-0.0027469280175864697,
0.03342831879854202,
-0.005532487295567989,
0.024862753227353096,
0.039232172071933746,
-0.04127043858170509,
-0.028923751786351204,
-0.018909640610218048,
-0.004554427228868008,
-0.0032337200827896595,
-0.0020378518383949995,
-0.02304941974580288,
0.010753282345831394,
-0.008085603825747967,
0.001440563122741878,
-0.03632036969065666,
-0.04525395482778549,
-0.0373421236872673,
0.015351432375609875,
-0.0011228987714275718,
-0.008459305390715599,
0.0078077157959342,
-0.007589132059365511,
-0.015643591061234474,
-0.013818572275340557,
0.04523515701293945,
-0.04304118826985359,
-0.014052596874535084,
0.004823094233870506,
-0.036227747797966,
0.029428938403725624,
-0.014529344625771046,
0.028799885883927345,
0.05179310590028763,
-0.019860809668898582,
-0.03178851678967476,
-0.020872602239251137,
0.019029811024665833,
0.05014651641249657,
0.08666019886732101,
0.031419046223163605,
-0.027322622016072273,
-0.030184591189026833,
0.00402056286111474,
-0.019965406507253647,
0.018069123849272728,
-0.02297818288207054,
0.004577189218252897,
0.034633658826351166,
0.059948645532131195,
0.03665909171104431,
0.033592112362384796,
-0.012584470212459564,
-0.04752430319786072,
0.07726538181304932,
-0.06398264318704605,
-0.039553213864564896,
-0.03702491149306297,
-0.054832227528095245,
0.005742119159549475,
0.01619129441678524,
0.04219639673829079,
-0.04345422610640526,
0.06604761630296707,
0.047080665826797485,
0.019948936998844147,
0.0549154207110405,
0.003567156847566366,
0.03446557745337486,
-0.027907000854611397,
-0.017635980620980263,
-0.08314412832260132,
-0.007983451709151268,
0.06703826040029526,
0.010656053200364113,
0.006012984085828066,
-0.04505685344338417,
-0.06528722494840622,
0.02586064487695694,
-0.05330764502286911,
-0.006270020268857479,
0.041187893599271774,
-0.012475049123167992,
-0.00368002918548882,
0.008773230947554111,
-0.07682637125253677,
0.06393104046583176,
0.028635181486606598,
-0.027105918154120445,
-0.03842545673251152,
-0.022549383342266083,
0.04195854067802429,
0.03293730691075325,
0.030037028715014458,
-0.012288290075957775,
0.01277585793286562,
0.06375924497842789,
0.008852184750139713,
-0.004577617160975933,
0.03160175308585167,
-0.057069163769483566,
0.03680970519781113,
0.021356217563152313,
-0.021888159215450287,
0.02487591840326786,
0.008089728653430939,
-0.004183451645076275,
-0.0676717534661293,
0.023840609937906265,
0.019548755139112473,
-0.05491561442613602,
-0.027079714462161064,
0.06166845187544823,
0.013539163395762444,
-0.04690122976899147,
-0.07381514459848404,
0.01288342010229826,
-0.03943180665373802,
-0.030031900852918625,
-0.008472371846437454,
0.044377341866493225,
-0.04846683144569397,
0.05359037593007088,
-0.012044533155858517,
0.003296000650152564,
0.09905799478292465,
0.004000392276793718,
-0.0006170032429508865,
-0.024407705292105675,
0.08885771036148071,
0.08258993178606033,
-0.0031006415374577045,
-0.016206739470362663,
0.062112148851156235,
-0.015630200505256653,
-0.03077484294772148,
0.01900131069123745,
-0.007794348523020744,
-0.02751164510846138,
0.02231743186712265,
0.005269672255963087,
0.0650257095694542,
-0.009917891584336758,
0.08359412848949432,
-0.03661924973130226,
-0.04541018232703209,
0.0114219281822443,
0.041474342346191406,
0.010146968066692352,
-0.0020308629609644413,
-0.0036143881734460592,
0.012169547379016876,
-0.014740891754627228,
-0.04137720912694931,
0.005474355071783066,
0.021262647584080696,
-0.040545664727687836,
0.03442291542887688,
-0.018076125532388687,
0.027177991345524788,
-0.0009218312916345894,
0.01870015822350979,
0.05215755105018616,
-0.002919604070484638,
0.006789973471313715,
-0.022344281896948814,
0.01502309925854206,
-0.019809074699878693,
-0.00093599793035537,
-0.00779477646574378,
-0.037662941962480545,
-0.0014283065684139729,
-0.022563138976693153,
0.017448611557483673,
-0.02866659313440323,
-0.04036581888794899,
0.03817535936832428,
-0.026062488555908203,
0.014421519823372364,
-0.016551122069358826,
0.0029315717983990908,
-0.05790996551513672,
-0.06399217247962952,
-0.06545951217412949,
-0.024257369339466095,
-0.07176179438829422,
-0.032902538776397705,
0.03234827518463135,
-0.004969634581357241,
-0.04474452883005142,
-0.01151907816529274,
-0.028565680608153343,
0.01464417576789856,
0.026362871751189232,
-0.03808337077498436,
-0.004873119760304689,
0.03234035149216652,
0.016056116670370102,
0.038518026471138,
0.024136094376444817,
0.04425559937953949,
0.008573274128139019,
-0.0008729650289751589,
-0.02071322873234749,
-0.02575460635125637,
0.05222094804048538,
0.00039531965740025043,
0.0003841725119855255,
-0.09639905393123627,
0.00542020658031106,
0.023341601714491844,
-0.01578592136502266,
-0.052392516285181046,
-0.007107882294803858,
0.010526088997721672,
-0.003968114499002695,
0.052107274532318115,
-0.008239454589784145,
0.016903601586818695,
-0.029314490035176277,
-0.02061658538877964,
0.00698436051607132,
0.013828192837536335,
0.06858785450458527,
-0.002840618835762143,
0.08003213256597519,
0.07189197838306427,
-0.03748584911227226,
-0.020065298303961754,
0.008419879712164402,
-0.0024535420816391706,
-0.004371501039713621,
-0.04898981377482414,
-0.03130428493022919,
-0.04249474033713341,
-0.04919910058379173,
-0.03819506615400314,
0.012038622051477432,
-0.02123863436281681,
-0.02035089209675789,
0.011139879934489727,
0.04684487730264664,
-0.03389710560441017,
0.008803190663456917,
-0.046501629054546356,
0.058259569108486176,
-0.013038244098424911,
-0.015425738878548145,
-0.020044492557644844,
-0.0008809274877421558,
0.0005759211489930749,
-0.01571025140583515,
-0.013062920421361923,
-0.041163429617881775,
0.038379862904548645,
0.015475550666451454,
0.03976836055517197,
0.05580196529626846,
-0.012854866683483124,
-0.03553054854273796
] | [
-0.07812248915433884,
0.005316354800015688,
-0.03562271222472191,
-0.05001521855592728,
0.044553402811288834,
-0.04953529313206673,
-0.02350631169974804,
0.05109165608882904,
0.0005581003497354686,
0.00019877904560416937,
0.0018548209918662906,
-0.03893863037228584,
-0.016557663679122925,
-0.005769647192209959,
0.08732438087463379,
-0.01893443986773491,
-0.013040589168667793,
-0.023752642795443535,
-0.043707650154829025,
0.02216893807053566,
0.0221576951444149,
-0.02354767918586731,
-0.040319886058568954,
-0.08236802369356155,
0.018770502880215645,
0.011539976112544537,
0.03119073435664177,
-0.000981355318799615,
-0.014276263304054737,
-0.16186566650867462,
0.018493589013814926,
-0.017586063593626022,
0.0009993243729695678,
-0.0037892775144428015,
-0.021007169038057327,
0.0321393683552742,
0.024066848680377007,
0.02014167793095112,
-0.011875990778207779,
0.05538681149482727,
0.022205056622624397,
0.047391626983881,
-0.07470213621854782,
-0.022624412551522255,
-0.01214595790952444,
-0.022307129576802254,
-0.003440385451540351,
-0.010096064768731594,
0.014148445799946785,
0.03588370233774185,
-0.06817074865102768,
0.0028690339531749487,
0.060775984078645706,
-0.036486681550741196,
0.0025016735307872295,
0.020952042192220688,
0.04062720760703087,
0.1051560491323471,
0.005181736778467894,
-0.0005122222355566919,
-0.005781074520200491,
-0.01771288365125656,
-0.12286006659269333,
0.09258048236370087,
0.004159829579293728,
0.027256762608885765,
-0.030170422047376633,
0.04158153757452965,
0.002754744840785861,
0.07700347900390625,
-0.0016394081758335233,
-0.010340611450374126,
-0.01995476707816124,
0.06338907778263092,
0.002290158299729228,
0.023268766701221466,
0.007212253287434578,
0.03192419558763504,
0.06143244728446007,
-0.015228004194796085,
-0.09861434251070023,
-0.04012477397918701,
0.002603621454909444,
-0.02640053629875183,
-0.04267239198088646,
0.03188035637140274,
0.011280793696641922,
0.058784738183021545,
0.0422569215297699,
0.03050355054438114,
0.011216939426958561,
-0.0003574873844627291,
0.023338116705417633,
0.01438989769667387,
-0.1085747629404068,
0.00887038093060255,
-0.02957437001168728,
0.006226074881851673,
-0.03926370292901993,
0.3895473778247833,
0.0021474556997418404,
-0.004004035145044327,
0.07101218402385712,
0.012524482794106007,
0.017185725271701813,
-0.009671966545283794,
-0.004988342523574829,
-0.03873007372021675,
0.011524681933224201,
-0.015185678377747536,
-0.025231007486581802,
-0.02582699991762638,
0.0005061416304670274,
-0.04526099935173988,
0.0072374469600617886,
0.020145688205957413,
0.011118508875370026,
0.014302561059594154,
-0.03380829840898514,
0.02488480694591999,
0.00424044718965888,
-0.0274550411850214,
0.015857210382819176,
0.017511036247015,
0.022646307945251465,
-0.028822964057326317,
0.043994344770908356,
0.044049981981515884,
0.0342990979552269,
0.028271537274122238,
0.035894159227609634,
-0.05804023519158363,
-0.0872698575258255,
-0.027555327862501144,
0.00725665083155036,
0.014543412253260612,
0.04034460335969925,
-0.062233395874500275,
-0.00454337615519762,
0.032668646425008774,
0.022334331646561623,
-0.02612948790192604,
0.006296355277299881,
-0.04565538838505745,
-0.05825943127274513,
0.1254158616065979,
0.03264181688427925,
-0.021071994677186012,
-0.011885739862918854,
-0.06981626898050308,
-0.02126700058579445,
0.06573396921157837,
0.0034086306113749743,
-0.05975224822759628,
0.010542222298681736,
0.05397028475999832,
0.024162650108337402,
-0.0015154990833252668,
-0.02369842678308487,
-0.011256378144025803,
-0.022208523005247116,
-0.03150913491845131,
-0.019880473613739014,
0.03972392529249191,
0.04370487853884697,
-0.11664224416017532,
-0.022596687078475952,
-0.0029215901158750057,
0.02021445333957672,
-0.05440748855471611,
-0.01328427717089653,
0.04190237447619438,
-0.03756922855973244,
-0.06410004943609238,
0.03929848223924637,
-0.008243031799793243,
-0.028650831431150436,
-0.011912651360034943,
0.031420592218637466,
0.02349146082997322,
0.006046725902706385,
0.033131614327430725,
-0.031707409769296646,
-0.0110923545435071,
-0.022834720090031624,
-0.06427697837352753,
-0.05847695842385292,
0.03766760975122452,
-0.028974659740924835,
-0.019879313185811043,
-0.047247420996427536,
-0.02985803224146366,
-0.04396144673228264,
0.06882792711257935,
0.0003523783234413713,
-0.0073242285288870335,
0.03036198392510414,
-0.0006332131451927125,
0.004511302802711725,
-0.04218629375100136,
0.051740363240242004,
0.060510482639074326,
0.013548101298511028,
0.05436772108078003,
-0.03951556608080864,
0.04827709496021271,
0.06408608704805374,
-0.051142606884241104,
0.03452804684638977,
0.030468368902802467,
-0.06718271970748901,
-0.004615713842213154,
-0.02616444043815136,
0.00583184277638793,
-0.03864012658596039,
-0.0015060657169669867,
0.01343547273427248,
0.04256673902273178,
0.057018402963876724,
0.003048025770112872,
-0.0343528613448143,
-0.03127741813659668,
0.007813135161995888,
-0.33291080594062805,
-0.03685162961483002,
0.014367361553013325,
-0.012489592656493187,
0.0031402120366692543,
-0.016301704570651054,
0.020619172602891922,
-0.02615748532116413,
0.009808169677853584,
0.013659477233886719,
0.09001515805721283,
-0.036853812634944916,
-0.004404874052852392,
-0.11744071543216705,
-0.01501383725553751,
0.022619614377617836,
-0.035158757120370865,
-0.029362890869379044,
-0.009846156463027,
0.03569331765174866,
-0.004755991976708174,
-0.016865426674485207,
0.02047707326710224,
-0.03924969956278801,
0.02875923365354538,
-0.012546190060675144,
0.1043057069182396,
0.006726507563143969,
0.06437499821186066,
-0.09222911298274994,
0.04666385054588318,
0.006047776900231838,
0.009697997942566872,
-0.08150695264339447,
-0.01914823427796364,
-0.02988586202263832,
-0.010709713213145733,
0.016264524310827255,
0.04860832542181015,
-0.028631482273340225,
-0.05677144601941109,
0.015612568706274033,
-0.06517413258552551,
-0.07165815681219101,
-0.006978384219110012,
-0.005346609279513359,
-0.04095941781997681,
-0.042667653411626816,
0.0038750905077904463,
0.04933289438486099,
-0.02099655009806156,
-0.011609084904193878,
0.035985685884952545,
0.031047066673636436,
0.04459233209490776,
-0.013740884140133858,
-0.0242572370916605,
-0.010462500154972076,
0.014164761640131474,
-0.0021067271009087563,
0.04318787157535553,
0.06871477514505386,
0.01767863519489765,
-0.034865111112594604,
0.013291221112012863,
-0.007474567741155624,
0.014657179825007915,
0.0005909815663471818,
0.018557971343398094,
-0.05880090594291687,
-0.05860849842429161,
0.09728126227855682,
-0.00894403550773859,
0.01980825699865818,
0.05032460018992424,
0.06838541477918625,
-0.02756613679230213,
-0.05061018466949463,
0.03706265613436699,
0.02071571908891201,
0.029366666451096535,
0.01633664220571518,
0.0597299300134182,
-0.03844897821545601,
0.002981660421937704,
0.09963738173246384,
-0.049218736588954926,
-0.03362122178077698,
0.026577290147542953,
-0.013143016956746578,
-0.02983526885509491,
-0.021826429292559624,
-0.03234419971704483,
-0.05898425355553627,
0.03528812900185585,
-0.010598046705126762,
-0.26092052459716797,
0.01868998259305954,
0.037480276077985764,
0.0462917760014534,
-0.01269856933504343,
0.04759090766310692,
0.05885985866189003,
-0.05060136690735817,
-0.03840015456080437,
0.08218622952699661,
0.021735437214374542,
0.047023024410009384,
0.017131302505731583,
-0.014631466940045357,
0.050830673426389694,
0.02036348357796669,
0.02916165068745613,
0.00981984380632639,
0.028097838163375854,
-0.029884006828069687,
0.01291594933718443,
-0.0317344069480896,
0.1798616349697113,
0.008107050321996212,
0.030276143923401833,
0.07402948290109634,
-0.006261756643652916,
0.020903339609503746,
0.1119629293680191,
-0.008544016629457474,
0.002042181324213743,
0.023847555741667747,
0.04737185686826706,
0.024001488462090492,
0.02813602425158024,
-0.10535500943660736,
-0.012550396844744682,
0.022717304527759552,
0.0018827898893505335,
-0.023469315841794014,
0.005417193751782179,
0.011704612523317337,
-0.022768501192331314,
0.008935509249567986,
0.08900364488363266,
0.018636122345924377,
-0.012985319830477238,
-0.06055993586778641,
-0.07005970180034637,
-0.0028470095712691545,
-0.03860504552721977,
-0.06157840043306351,
0.004396830685436726,
-0.014800759963691235,
-0.027141280472278595,
0.07249715924263,
-0.014224313199520111,
-0.031226392835378647,
-0.020112711936235428,
0.04042584076523781,
0.017633866518735886,
-0.03080754168331623,
0.07665149122476578,
0.02035994827747345,
0.020588131621479988
] | [
-0.008248009718954563,
0.03989965841174126,
-0.02181384526193142,
-0.011837538331747055,
0.01120895054191351,
0.02609473653137684,
-0.017063261941075325,
0.02366737835109234,
0.005522476509213448,
-0.051287613809108734,
-0.014244884252548218,
-0.006784297991544008,
0.009464450180530548,
-0.018384652212262154,
0.012743267230689526,
-0.03709189593791962,
-0.006821489427238703,
0.00033359351800754666,
0.028714943677186966,
-0.03150637075304985,
-0.00428661797195673,
-0.011519229970872402,
0.013047873042523861,
-0.04156136140227318,
0.011335751041769981,
0.05759747326374054,
0.03859907016158104,
-0.0022966410033404827,
-0.003878658637404442,
-0.0869036465883255,
-0.013439196161925793,
-0.026531904935836792,
-0.020947543904185295,
-0.04510696604847908,
-0.036704495549201965,
0.010690945200622082,
0.013431673869490623,
0.021334130316972733,
-0.013998273760080338,
0.0068817236460745335,
0.02465273253619671,
-0.027574805542826653,
-0.01593060977756977,
0.004574555438011885,
-0.011364213190972805,
-0.005366770550608635,
0.0033369993325322866,
-0.016481539234519005,
-0.056864459067583084,
0.02636805549263954,
-0.044981807470321655,
-0.010687584057450294,
0.018659237772226334,
0.04906584322452545,
-0.010640089400112629,
-0.02189805917441845,
-0.0644187480211258,
0.028051359578967094,
-0.04591906815767288,
-0.032839152961969376,
-0.000298502913210541,
-0.007305166684091091,
-0.028285043314099312,
-0.014452056959271431,
-0.01138282846659422,
-0.03443170711398125,
-0.016043510288000107,
0.027534350752830505,
0.04015611857175827,
0.013837468810379505,
0.014456914737820625,
0.02487844042479992,
-0.017165174707770348,
0.008517803624272346,
-0.0370660275220871,
-0.011158585548400879,
0.008226292207837105,
0.007706294301897287,
0.02891094982624054,
-0.001642443472519517,
-0.01545034535229206,
-0.006206003949046135,
-0.007315278518944979,
-0.009308069944381714,
-0.025287138298153877,
0.03142634406685829,
0.02363261952996254,
0.017662787809967995,
-0.018690012395381927,
0.04212614893913269,
-0.0638963133096695,
0.017642252147197723,
0.021418612450361252,
-0.009063329547643661,
-0.10325613617897034,
0.03729182109236717,
-0.03617219254374504,
-0.011248958297073841,
0.0008949044859036803,
0.8059461712837219,
0.0373770073056221,
0.04568617045879364,
0.059669677168130875,
0.0069309924729168415,
0.044182177633047104,
-0.051881808787584305,
-0.026245512068271637,
0.05410292372107506,
0.009296665899455547,
-0.024240341037511826,
0.000979032483883202,
0.018762290477752686,
0.01271879393607378,
0.02689312770962715,
0.017017053440213203,
0.029369600117206573,
0.03153807669878006,
0.006943702697753906,
-0.026940561830997467,
0.053209338337183,
0.01724003441631794,
-0.0356924794614315,
-0.019932610914111137,
0.02671700343489647,
0.0412585474550724,
-0.12774337828159332,
-0.007847527042031288,
-7.120875882948667e-33,
0.05056292563676834,
-0.012587831355631351,
0.034350208938121796,
-0.002122348640114069,
0.004563081543892622,
-0.0346984788775444,
0.02274368703365326,
0.021939488127827644,
0.019167521968483925,
-0.05019063502550125,
0.0028982888907194138,
-0.041371606290340424,
0.014420478604733944,
-0.010310111567378044,
-0.002970485482364893,
-0.02821037732064724,
-0.01267925277352333,
0.013362235389649868,
0.01270789373666048,
0.006156920921057463,
0.01848221756517887,
0.0016516504110768437,
0.014475720003247261,
-0.029895931482315063,
-0.03404245898127556,
0.01740269735455513,
0.03182930499315262,
-0.006707367021590471,
-0.03370986506342888,
-0.04315171018242836,
0.00924963504076004,
-0.006859912537038326,
-0.009914561174809933,
-0.023261308670043945,
0.056688107550144196,
-0.043033160269260406,
-0.007118784356862307,
-0.022505929693579674,
-0.0177078265696764,
-0.06227445974946022,
-0.05789991468191147,
0.00015087431529536843,
-0.05092989653348923,
0.025145670399069786,
-0.024810578674077988,
-0.04761776328086853,
-0.001573616755194962,
-0.0017784559167921543,
-0.025926316156983376,
0.006250257603824139,
0.028658892959356308,
0.016337625682353973,
0.01953907310962677,
0.015614960342645645,
-0.01827402599155903,
0.018648739904165268,
0.026247676461935043,
0.047935761511325836,
-0.026478542014956474,
0.03215830400586128,
0.009390129707753658,
0.009470400400459766,
-0.014990746043622494,
0.031113512814044952,
0.018506091088056564,
0.014929335564374924,
0.018416674807667732,
-0.015385533683001995,
0.008389604277908802,
0.009541586972773075,
-0.01843293011188507,
-0.010056819766759872,
0.013903751969337463,
-0.00870098453015089,
0.003732278011739254,
0.016685640439391136,
0.01810464635491371,
-0.00357949105091393,
0.005505128297954798,
0.03409654647111893,
0.019437434151768684,
-0.018900642171502113,
0.023839369416236877,
-0.020051443949341774,
-0.002627575770020485,
0.0063351914286613464,
0.015827350318431854,
-0.029120521619915962,
0.027174949645996094,
0.030535561963915825,
0.07403666526079178,
0.09547572582960129,
0.008808002807199955,
-0.025739120319485664,
-0.014965805225074291,
7.467870060367898e-33,
-0.03779641538858414,
-0.0034779554698616266,
-0.04064321890473366,
-0.017117977142333984,
0.034193843603134155,
-0.036926522850990295,
0.011217950843274593,
0.06777242571115494,
-0.017393579706549644,
0.03915432468056679,
-0.044106241315603256,
-0.01626894250512123,
-0.01512074563652277,
0.017684437334537506,
0.046648818999528885,
-0.03233213350176811,
0.05355321615934372,
-0.02183150127530098,
0.05657394602894783,
-0.03285391256213188,
0.00864571612328291,
-0.019836988300085068,
0.04838187247514725,
-0.006934744771569967,
0.020275166258215904,
0.02524249069392681,
-0.01832691580057144,
0.0040311506018042564,
-0.05353020504117012,
-0.021688854321837425,
0.03704945370554924,
-0.040937986224889755,
0.006924203597009182,
-0.06824395060539246,
-0.02691216766834259,
-0.009017880074679852,
-0.007652405649423599,
0.02079414390027523,
0.032608091831207275,
0.00450948067009449,
-0.02556474506855011,
-0.06000954285264015,
0.005484802182763815,
0.04008683189749718,
0.013858477585017681,
-0.014328747987747192,
-0.024614177644252777,
-0.008862522430717945,
-0.014213476330041885,
0.0152378985658288,
-0.009354759007692337,
0.020873814821243286,
-0.0028488431125879288,
0.016073349863290787,
0.022685473784804344,
-0.032176900655031204,
-0.0033295408356934786,
-0.0062599084340035915,
0.006015591323375702,
0.011645538732409477,
-0.004034792073071003,
-0.03986126556992531,
-0.013667463324964046,
0.048738230019807816,
0.016610916703939438,
-0.025049695745110512,
0.0319504477083683,
-0.027797548100352287,
-0.026754455640912056,
0.0007583444239571691,
-0.004876971710473299,
-0.03300214931368828,
-0.025050098076462746,
0.057818032801151276,
0.06833630800247192,
-0.04058149829506874,
-0.006084737367928028,
0.018826644867658615,
-0.044391389936208725,
0.009579365141689777,
0.01545153558254242,
0.030208291485905647,
-0.06271126866340637,
-0.017856625840067863,
0.05897169187664986,
-0.0038805976510047913,
0.0021830268669873476,
-0.013889866881072521,
-0.05605024844408035,
-0.02380536124110222,
0.03765605762600899,
0.01646902970969677,
-0.06025106832385063,
0.00005222714753472246,
0.0012055170955136418,
-1.2501804036446629e-8,
-0.028129002079367638,
-0.017130577936768532,
-0.024002110585570335,
0.012812469154596329,
0.045212212949991226,
0.025776483118534088,
-0.022687803953886032,
0.0006914740079082549,
0.037408966571092606,
-0.0007247364846989512,
0.03780079260468483,
-0.009252634830772877,
0.028720244765281677,
0.009950908832252026,
0.037995465099811554,
-0.06886225938796997,
-0.010044957511126995,
-0.039151277393102646,
0.01022057794034481,
0.030897652730345726,
0.04826650768518448,
0.04243560880422592,
-0.036109112203121185,
-0.01520415861159563,
0.02095317281782627,
-0.0011762891663238406,
0.05937701091170311,
-0.03833119571208954,
-0.020609574392437935,
-0.045258600264787674,
-0.009610871784389019,
-0.0029324479401111603,
-0.0032192165963351727,
0.024907581508159637,
-0.021089492365717888,
-0.020119458436965942,
0.008501553907990456,
0.010279732756316662,
-0.01621803641319275,
0.04450676217675209,
-0.0064449976198375225,
0.04612274467945099,
-0.017237665131688118,
-0.003702603280544281,
0.014757025986909866,
0.017460688948631287,
-0.004420686513185501,
0.036312878131866455,
-0.002455261768773198,
-0.01823308877646923,
-0.042107999324798584,
-0.0012765254359692335,
0.03367917984724045,
-0.04105066880583763,
0.03267219662666321,
0.003713927697390318,
0.025530975311994553,
-0.03744902089238167,
0.0016115623293444514,
0.025004848837852478,
0.06886348873376846,
0.0278959758579731,
-0.056881580501794815,
-0.028534935787320137
] | jerseyjax-rs-streaming-json | https://markhneedham.com/blog/2014/04/30/jerseyjax-rs-streaming-json |
false | 2014-04-30 00:20:46 | Clojure: Paging meetup data using lazy sequences | [
"clojure"
] | [
"Clojure"
] | I've been playing around with the http://www.meetup.com/meetup_api/[meetup API] to do some analysis on the http://www.meetup.com/graphdb-london/[Neo4j London meetup] and one thing I wanted to do was download all the members of the group.
A feature of the meetup API is that each end point will only allow you to return a maximum of 200 records so I needed to make use of offsets and paging to retrieve everybody.
It seemed like a good chance to use some lazy sequences to keep track of the offsets and then stop making calls to the API once I wasn't retrieving any more results.
I wrote the following functions to take care of that bit:
[source,lisp]
----
(defn unchunk [s]
(when (seq s)
(lazy-seq
(cons (first s)
(unchunk (next s))))))
(defn offsets []
(unchunk (range)))
(defn get-all [api-fn]
(flatten
(take-while seq
(map #(api-fn {:perpage 200 :offset % :orderby "name"}) (offsets)))))
----
I previously wrote about the http://www.markhneedham.com/blog/2014/04/06/clojure-not-so-lazy-sequences-a-k-a-chunking-behaviour/[chunking behaviour of lazy collections] which meant that I ended up with a minimum of 32 calls to each URI which wasn't what I had in mind!
To get all the members in the group I wrote the following function which is passed to +++<cite>+++get-all+++</cite>+++:
[source,lisp]
----
(:require [clj-http.client :as client])
(defn members
[{perpage :perpage offset :offset orderby :orderby}]
(->> (client/get
(str "https://api.meetup.com/2/members?page=" perpage
"&offset=" offset
"&orderby=" orderby
"&group_urlname=" MEETUP_NAME
"&key=" MEETUP_KEY)
{:as :json})
:body :results))
----
So to get all the members we'd do this:
[source,lisp]
----
(defn all-members []
(get-all members))
----
I'm told that using lazy collections when side effects are involved is a bad idea - presumably because the calls to the API might never end - but since I only run it manually I can just kill the process if anything goes wrong.
I'd be interested in how others would go about solving this problem - https://github.com/clojure/core.async[core.async] was suggested but that seems to result in much more / more complicated code than this version.
The https://github.com/mneedham/neo4j-meetup/blob/master/src/neo4j_meetup/core.clj#L58[code is on github] if you want to take a look. | null | null | [
-0.008621000684797764,
-0.05840452387928963,
-0.004719434771686792,
0.005874142050743103,
0.025592850521206856,
-0.029117386788129807,
0.02255997620522976,
0.05751517787575722,
0.0019504677038639784,
-0.0048819733783602715,
-0.018605554476380348,
-0.0356304906308651,
-0.08531857281923294,
0.020567722618579865,
0.0333050936460495,
0.05170111730694771,
0.06459543853998184,
-0.038017548620700836,
-0.017181510105729103,
-0.02060552127659321,
0.043883394449949265,
0.05875648930668831,
0.016297178342938423,
0.0064329104498028755,
0.05581481754779816,
0.010810005478560925,
-0.014436262659728527,
0.0010959060164168477,
-0.05338120087981224,
-0.0023947106674313545,
0.02757827751338482,
0.004353150259703398,
0.014364359900355339,
-0.0049666124396026134,
0.037391919642686844,
-0.033721767365932465,
-0.024480123072862625,
-0.000829998985864222,
-0.00796414166688919,
0.026243068277835846,
-0.04552795737981796,
0.00969031360000372,
-0.022508569061756134,
0.0120693976059556,
-0.04664302617311478,
0.03060121089220047,
-0.03253255784511566,
0.04383794590830803,
-0.031150339171290398,
-0.0024389580357819796,
-0.05487522855401039,
0.00799372885376215,
0.008046931587159634,
0.029243342578411102,
0.018677184358239174,
0.038687508553266525,
-0.003123560221865773,
-0.06860845535993576,
0.037814173847436905,
-0.014397796243429184,
0.021251054480671883,
-0.010480004362761974,
0.023906869813799858,
0.030049337074160576,
-0.005285271909087896,
-0.027650142088532448,
-0.0004455439921002835,
0.06277071684598923,
-0.047828834503889084,
-0.03725625202059746,
-0.026315990835428238,
0.014305077493190765,
-0.028661442920565605,
0.007072575856000185,
0.014032825827598572,
-0.05923498421907425,
0.003064932534471154,
0.056595318019390106,
0.041247107088565826,
0.07916194200515747,
-0.033296920359134674,
0.01198497973382473,
0.025635940954089165,
0.028385786339640617,
-0.010947148315608501,
-0.014353027567267418,
-0.038240302354097366,
-0.014203240163624287,
-0.04648350924253464,
0.036414023488759995,
-0.011918796226382256,
-0.0658867284655571,
-0.016595423221588135,
0.021993523463606834,
-0.02591218613088131,
0.0019050060072913766,
0.015030340291559696,
0.03818130865693092,
0.016426892951130867,
-0.004837180487811565,
-0.0282796248793602,
-0.04739086702466011,
0.0028782193548977375,
-0.011687357909977436,
-0.08171587437391281,
-0.01777436025440693,
-0.011278757825493813,
-0.029842548072338104,
0.019252391532063484,
-0.0239367987960577,
-0.01539766788482666,
0.005147675517946482,
-0.0202667023986578,
0.021815475076436996,
-0.04926477372646332,
0.05566271394491196,
0.01261703111231327,
-0.028691880404949188,
-0.025141386315226555,
0.00845947116613388,
0.05225133150815964,
0.04730287939310074,
0.03714286535978317,
0.07791394740343094,
-0.027976812794804573,
0.016222473233938217,
-0.003274345537647605,
0.04122366011142731,
-0.005658045411109924,
-0.07571271806955338,
-0.026630600914359093,
0.05581674352288246,
-0.012067269533872604,
-0.012196335010230541,
-0.01053114514797926,
-0.019971724599599838,
-0.018080726265907288,
0.03261692821979523,
0.07217250019311905,
-0.0022803328465670347,
0.006515817251056433,
-0.041232410818338394,
-0.005636873655021191,
-0.012574020773172379,
0.06267114728689194,
0.00977387372404337,
-0.026134420186281204,
-0.03197440132498741,
-0.034465041011571884,
0.03395084664225578,
0.02392619289457798,
0.03228067234158516,
0.034041181206703186,
-0.029333587735891342,
0.011201150715351105,
0.09733117371797562,
0.005825516767799854,
0.038727838546037674,
-0.008926051668822765,
-0.008604607544839382,
0.008243917487561703,
0.04589712619781494,
-0.03334403410553932,
0.059003543108701706,
0.014426256529986858,
-0.015959663316607475,
-0.0000281053453363711,
0.06607607752084732,
-0.02795230783522129,
0.020822009071707726,
-0.039528634399175644,
-0.03834928572177887,
0.045325011014938354,
-0.04558977112174034,
-0.021006258204579353,
0.02057074010372162,
0.09292099624872208,
0.0060551962815225124,
0.020089929923415184,
-0.012616673484444618,
-0.07766136527061462,
0.0442812442779541,
0.04186137393116951,
0.018464859575033188,
-0.03252659738063812,
0.010665551759302616,
0.10139880329370499,
0.05820021405816078,
-0.01578347012400627,
0.023710111156105995,
-0.07763071358203888,
-0.08681962639093399,
-0.02844720333814621,
-0.020551877096295357,
0.07994256168603897,
-0.06914106756448746,
0.05789269506931305,
0.06176401674747467,
0.007330944295972586,
0.05496181920170784,
-0.0015458615962415934,
-0.005170146934688091,
0.03910890594124794,
-0.04292569309473038,
-0.06152022257447243,
0.028125077486038208,
0.029440077021718025,
-0.04413459450006485,
-0.0358198881149292,
0.026932427659630775,
-0.026429645717144012,
0.019342642277479172,
0.026060376316308975,
-0.009442174807190895,
0.006814149208366871,
-0.01115562953054905,
0.03263877332210541,
-0.011105519719421864,
0.02748262509703636,
-0.028269469738006592,
0.04732208326458931,
0.01875174604356289,
-0.012791762128472328,
0.00098503939807415,
-0.0011936461087316275,
0.1169317364692688,
0.0666414275765419,
-0.002354820491746068,
-0.005808345507830381,
0.01955893449485302,
0.030689528211951256,
-0.004495501518249512,
-0.004566688556224108,
-0.023991186171770096,
-0.0027043665759265423,
-0.020114874467253685,
-0.014941787347197533,
-0.021702386438846588,
0.01987663470208645,
-0.029750406742095947,
-0.03767784684896469,
0.03794580325484276,
0.004698840901255608,
0.04161236435174942,
0.024161050096154213,
-0.03548367694020271,
-0.011276818811893463,
-0.044177353382110596,
-0.056348152458667755,
0.038689617067575455,
0.0016895694425329566,
-0.010907171294093132,
0.03382827714085579,
-0.05466711148619652,
-0.01162127684801817,
0.010884017683565617,
-0.0065882098861038685,
0.020671647042036057,
0.05540922284126282,
0.04283512383699417,
-0.012856661342084408,
0.04366667941212654,
-0.026647815480828285,
-0.032232120633125305,
-0.01885359361767769,
-0.060787320137023926,
-0.032072726637125015,
-0.03077613189816475,
0.0187020655721426,
0.016873661428689957,
0.06087399646639824,
-0.005023001693189144,
0.02362000197172165,
0.023578044027090073,
-0.01410440169274807,
-0.014563811011612415,
0.03986262530088425,
0.01040189154446125,
-0.022170422598719597,
-0.04729681462049484,
-0.04385513439774513,
0.044342271983623505,
-0.031465042382478714,
-0.0516488254070282,
-0.007049241103231907,
-0.054976340383291245,
0.0755668580532074,
-0.044460803270339966,
-0.030311962589621544,
0.0011988910846412182,
0.022138837724924088,
0.03448976203799248,
-0.027656612917780876,
0.011861528269946575,
0.0660243108868599,
0.015148852951824665,
0.008486073464155197,
0.018713265657424927,
-0.012407333590090275,
0.023955706506967545,
-0.02318461984395981,
-0.00816324446350336,
0.04061874374747276,
-0.028669333085417747,
0.0033373578917235136,
-0.05277293175458908,
-0.002762099262326956,
-0.01785494014620781,
-0.28055861592292786,
0.04630443826317787,
-0.008034068159759045,
-0.009893896989524364,
0.023031625896692276,
-0.02617696486413479,
-0.0034372173249721527,
-0.03246783837676048,
-0.012632914818823338,
0.014672503806650639,
-0.011001151986420155,
-0.0032534697093069553,
-0.012930473312735558,
0.03113715909421444,
0.0164023507386446,
0.018904918804764748,
-0.004358991049230099,
-0.04701918736100197,
0.004137685522437096,
0.052926141768693924,
0.027129489928483963,
-0.08789972215890884,
-0.01790029928088188,
0.01925574243068695,
0.011199289932847023,
0.03363516181707382,
-0.07663725316524506,
0.008826418779790401,
-0.03899576887488365,
-0.0470159687101841,
0.02176167629659176,
-0.011762700043618679,
0.014918196946382523,
-0.01929309032857418,
-0.02692653052508831,
-0.025095367804169655,
0.061994850635528564,
0.011217846535146236,
0.002771366387605667,
0.016211314126849174,
-0.02523772045969963,
-0.03999417647719383,
-0.026001183316111565,
-0.004331288859248161,
0.09252718836069107,
0.04115386679768562,
-0.07570771127939224,
-0.020999740809202194,
0.005917116068303585,
0.0577106736600399,
-0.008081711828708649,
-0.05999746173620224,
-0.007706284057348967,
0.04495532810688019,
0.0029829314444214106,
-0.06079532951116562,
-0.032511766999959946,
-0.014766579493880272,
-0.04822954535484314,
-0.023133164271712303,
-0.009166835807263851,
-0.0386667363345623,
-0.00955205038189888,
-0.0455193854868412,
-0.03045991249382496,
-0.06004321575164795,
-0.0673883706331253,
-0.006962637882679701,
0.04078894853591919,
0.003805650630965829,
0.0036079830024391413,
0.013129323720932007,
-0.011799008585512638,
-0.09808091074228287,
-0.054734233766794205,
-0.009022686630487442,
-0.006841254886239767,
0.021320007741451263,
-0.0018094490515068173,
0.05848538875579834,
-0.04180045798420906,
-0.04602842777967453,
0.013566496782004833,
0.026288850232958794,
0.036580465734004974,
-0.01794256456196308,
-0.0019278929103165865,
-0.024319782853126526,
-0.043613482266664505,
-0.0009495843551121652,
0.05467360466718674,
-0.010054690763354301,
-0.0326346717774868,
0.0007225867011584342,
0.013403470627963543,
0.04257909581065178,
-0.010231527499854565,
0.017770810052752495,
0.03355482965707779,
0.03607828542590141,
0.03660811483860016,
-0.014599776826798916,
-0.00032511731842532754,
-0.024892859160900116,
-0.025385316461324692,
0.00034819814027287066,
-0.049499254673719406,
0.013999302871525288,
0.011815565638244152,
0.01965496316552162,
-0.01863212138414383,
-0.005871446803212166,
0.01737111061811447,
-0.039490584284067154,
-0.020208435133099556,
0.003541461192071438,
-0.0024788235314190388,
0.023866236209869385,
0.021816542372107506,
-0.023871127516031265,
-0.07301513105630875,
0.027195407077670097,
0.023877739906311035,
-0.019884902983903885,
-0.05252647399902344,
-0.02366880141198635,
-0.029850967228412628,
-0.028740260750055313,
0.024346819147467613,
0.05330659821629524,
-0.01748882606625557,
0.030497528612613678,
-0.0016804173355922103,
-0.046520911157131195,
0.04697772487998009,
-0.024850089102983475,
-0.02582819201052189,
-0.01400830689817667,
0.00884175393730402,
0.01955503597855568,
-0.00972985103726387,
-0.015887273475527763,
-0.009263062849640846,
0.0730883926153183,
0.03337835520505905,
0.034499406814575195,
0.02292405441403389,
0.015222386457026005,
-0.012140655890107155,
-0.0006432745140045881,
0.007002303842455149,
-0.047300420701503754,
0.022525090724229813,
-0.024353083223104477,
0.010131848976016045,
-0.00529082864522934,
0.043465569615364075,
0.001867373357526958,
-0.037743836641311646,
-0.04161861911416054,
0.025614885613322258,
-0.07083785533905029,
0.019543927162885666,
-0.0015434033703058958,
-0.02077960968017578,
0.06125286966562271,
-0.020064756274223328,
0.028074322268366814,
-0.02869722619652748,
-0.039284296333789825,
-0.0023527455050498247,
0.034571293741464615,
-0.01423015259206295,
0.039913974702358246,
0.00870689656585455,
-0.009069462306797504,
0.019513912498950958,
0.02461647428572178,
0.01941317319869995,
-0.0060197701677680016,
-0.02097705751657486,
0.008442156948149204,
0.032322727143764496,
0.014927138574421406,
0.06750474870204926,
0.03723657876253128,
-0.007252099923789501,
0.02373576909303665,
-0.019853102043271065,
-0.025086408481001854,
-0.01067611388862133,
0.011828413233160973,
-0.02175525575876236,
0.0048659383319318295,
0.0031326855532824993,
-0.07850143313407898,
0.03763061761856079,
0.03273556008934975,
-0.024139808490872383,
0.016551390290260315,
0.007570354733616114,
0.0013554203324019909,
-0.028575055301189423,
0.009159770794212818,
0.051325373351573944,
-0.04959680512547493,
-0.009067022241652012,
-0.0027560910675674677,
-0.006148770451545715,
-0.015508742071688175,
-0.0027144018094986677,
-0.05371026694774628,
-0.02887009270489216,
0.011009382084012032,
0.011667139828205109,
0.021180465817451477,
-0.005618985276669264,
-0.011099562048912048,
0.010371468029916286,
-0.01198490895330906,
0.014457953162491322,
-0.0106976218521595,
0.00574159063398838,
-0.01656414568424225,
-0.0036400186363607645,
0.03475390374660492,
-0.017594657838344574,
-0.010304979979991913,
0.013060626573860645,
-0.013234724290668964,
0.049381088465452194,
-0.04856137931346893,
0.04435572400689125,
0.019800107926130295,
-0.03979818895459175,
0.014903964474797249,
-0.10107540339231491,
0.004667541943490505,
-0.02120382897555828,
0.061378225684165955,
-0.018718669191002846,
-0.012667212635278702,
-0.014755705371499062,
0.011845923028886318,
-0.0399579294025898,
0.002694156486541033,
0.017774906009435654,
-0.024057896807789803,
-0.0034554535523056984,
0.05422560125589371,
-0.01578519493341446,
0.04416543245315552,
0.009847845882177353,
-0.011683744378387928,
0.024303697049617767,
-0.028472045436501503,
-0.06678901612758636,
-0.06555744260549545,
-0.04420934244990349,
0.007330368738621473,
0.009129229001700878,
0.014863994903862476,
-0.052036039531230927,
0.0483708418905735,
0.027862973511219025,
0.04631159454584122,
0.04652664065361023,
-0.011822134256362915,
-0.00012100548337912187,
-0.01100399810820818,
0.01589696668088436,
-0.08149474114179611,
-0.006297978572547436,
0.021126780658960342,
0.01874469965696335,
-0.02773594669997692,
-0.008628083392977715,
-0.02998226322233677,
0.02784673683345318,
-0.0685059130191803,
-0.014028199948370457,
0.05003150552511215,
-0.00865991972386837,
-0.0028321538120508194,
0.015608628280460835,
-0.0607486292719841,
-0.017371587455272675,
0.04453126713633537,
-0.04079197719693184,
-0.005599753465503454,
-0.04604921489953995,
0.06511122733354568,
-0.014666060917079449,
0.033789973706007004,
-0.031807854771614075,
-0.021648744121193886,
0.04987284913659096,
0.006153896450996399,
0.0010147597640752792,
0.06396640837192535,
-0.024767961353063583,
0.0007511004223488271,
0.02657703123986721,
-0.014551863074302673,
0.01585613563656807,
0.022360602393746376,
-0.01137158926576376,
-0.035049717873334885,
0.051852770149707794,
0.0088912108913064,
-0.01253708079457283,
-0.03744130581617355,
0.08220034092664719,
0.006658274680376053,
-0.04787684977054596,
-0.07050684094429016,
0.0522238165140152,
-0.0481855683028698,
-0.023653915151953697,
-0.03797731548547745,
0.009564281441271305,
-0.011708015576004982,
0.05097384750843048,
-0.018508611246943474,
0.02897321619093418,
0.07620826363563538,
0.011692579835653305,
-0.00022229860769584775,
0.018622389063239098,
0.08459340035915375,
0.08572779595851898,
0.0407538041472435,
0.01673075556755066,
0.04611162096261978,
-0.020227745175361633,
-0.04528821259737015,
-0.0355074442923069,
-0.02999793365597725,
-0.027222905308008194,
0.01886727102100849,
0.0031384301837533712,
0.07918397337198257,
-0.032969869673252106,
0.053479861468076706,
-0.021742358803749084,
-0.0014353980077430606,
0.0037351716309785843,
0.014678696170449257,
0.04110214114189148,
0.06750133633613586,
-0.004627217072993517,
0.044605303555727005,
-0.03439360111951828,
-0.04007525369524956,
0.05098726227879524,
0.007334358058869839,
-0.013051566667854786,
0.008030579425394535,
-0.01249803975224495,
0.010491793975234032,
0.012937294319272041,
0.04558717459440231,
0.061491817235946655,
-0.008633037097752094,
-0.021373435854911804,
-0.006532428786158562,
0.000180103350430727,
-0.00939745269715786,
0.019648468121886253,
-0.0043183728121221066,
-0.0020467001013457775,
-0.0015137933660298586,
-0.03406057134270668,
-0.014772815629839897,
-0.028782252222299576,
-0.05483541637659073,
0.046351607888936996,
-0.021104495972394943,
0.01906903088092804,
-0.020243627950549126,
0.002264494076371193,
-0.04292728751897812,
-0.05684434995055199,
-0.03886822238564491,
-0.04317597672343254,
-0.07498285919427872,
-0.01007027830928564,
0.01362986396998167,
0.005982645787298679,
-0.04115242138504982,
-0.00037580259959213436,
-0.014825787395238876,
0.0029449788853526115,
0.028664860874414444,
-0.058598171919584274,
-0.022230833768844604,
0.012989876791834831,
0.007390640210360289,
0.019285447895526886,
0.02586607076227665,
0.0404290072619915,
0.004970058798789978,
0.018812822178006172,
-0.009278513491153717,
0.0066428170539438725,
0.04341006651520729,
0.030554352328181267,
-0.012281745672225952,
-0.09411747753620148,
0.03745507076382637,
0.04423989728093147,
0.008091672323644161,
-0.07344493269920349,
0.01961103454232216,
0.06013665720820427,
0.0018989525269716978,
0.021475467830896378,
-0.00814860500395298,
-0.01846805214881897,
-0.017658542841672897,
0.005406538490206003,
0.024355534464120865,
-0.005034982226788998,
0.02829555608332157,
-0.022290240973234177,
0.07445289194583893,
0.03112092614173889,
-0.03475116193294525,
-0.009283709339797497,
-0.006037468556314707,
-0.012588356621563435,
0.0026047166902571917,
-0.036100082099437714,
-0.06392961740493774,
-0.05791408196091652,
-0.06268567591905594,
-0.03899775445461273,
0.04507623612880707,
-0.0298099834471941,
0.0018691137665882707,
-0.00313631072640419,
0.049743808805942535,
-0.035675473511219025,
0.014094790443778038,
-0.03150126710534096,
0.05418425425887108,
-0.006753197405487299,
-0.019218187779188156,
-0.03912889212369919,
0.02085445262491703,
0.01839190162718296,
0.007495391648262739,
0.01878734864294529,
-0.05638592690229416,
0.003428628435358405,
-0.009578545577824116,
0.018891122192144394,
0.027172477915883064,
-0.019441474229097366,
0.005253341514617205
] | [
-0.07153955101966858,
-0.019345154985785484,
-0.042904093861579895,
-0.017213599756360054,
0.05989767983555794,
-0.052918680012226105,
0.005139307584613562,
-0.012790617533028126,
0.020453786477446556,
-0.03130839020013809,
0.051407355815172195,
-0.04016082361340523,
0.027878081426024437,
-0.0012023535091429949,
0.05882499739527702,
-0.006486900150775909,
-0.0037551126442849636,
-0.06718898564577103,
-0.030956633388996124,
0.03926999866962433,
-0.053864073008298874,
-0.04554679989814758,
-0.02911210060119629,
-0.0038356673903763294,
-0.006555161438882351,
0.0361129567027092,
0.010162320919334888,
-0.04487680643796921,
-0.011920077726244926,
-0.16756774485111237,
0.011418578214943409,
0.018629465252161026,
0.04973548650741577,
0.00356498290784657,
0.002156401053071022,
0.02639431320130825,
0.06254062056541443,
-0.018260465934872627,
0.012197965756058693,
0.04479404538869858,
0.029922259971499443,
0.026042839512228966,
-0.06099311262369156,
-0.03556983172893524,
0.047243449836969376,
0.027782117947936058,
-0.06095100939273834,
-0.013111612759530544,
-0.0274515300989151,
0.017660576850175858,
-0.045782990753650665,
0.0021609694231301546,
-0.003029368817806244,
-0.005414290353655815,
0.0022397825960069895,
0.06112176552414894,
0.024323532357811928,
0.04286625608801842,
0.006687737535685301,
0.0325600765645504,
0.01760668307542801,
-0.024471420794725418,
-0.12971048057079315,
0.08381908386945724,
0.005256788805127144,
0.01888677291572094,
-0.02881353534758091,
-0.002170270076021552,
-0.001033539418131113,
0.07142193615436554,
0.01591745764017105,
-0.001604041550308466,
-0.017611343413591385,
0.05533168837428093,
0.033595696091651917,
0.006484105717390776,
-0.005566737148910761,
0.03236064687371254,
0.03460279107093811,
-0.03614106401801109,
-0.06356195360422134,
-0.005100042559206486,
-0.01606280356645584,
-0.015157973393797874,
-0.027322964742779732,
-0.004591681528836489,
0.003863643854856491,
0.06430698186159134,
0.03178081661462784,
0.037802014499902725,
0.05378718301653862,
0.02217883989214897,
0.009530520997941494,
0.018784578889608383,
-0.07793353497982025,
-0.012724006548523903,
0.0019290123600512743,
0.029553398489952087,
-0.02631203457713127,
0.41393527388572693,
-0.007178207393735647,
0.04038005322217941,
0.03280545771121979,
0.060196008533239365,
-0.02680293284356594,
-0.0326225645840168,
-0.005856206174939871,
-0.0777723491191864,
0.031577643007040024,
-0.02162439562380314,
0.0039877924136817455,
-0.001976315164938569,
0.05744973197579384,
-0.08907277137041092,
0.004607223905622959,
0.012857221998274326,
0.057681526988744736,
0.015610920265316963,
-0.029620153829455376,
0.011949765495955944,
-0.01942674070596695,
-0.002144298981875181,
0.0515727661550045,
0.02496124990284443,
0.015538418665528297,
0.02261761575937271,
0.028512200340628624,
0.04448679834604263,
0.04546983540058136,
0.029964273795485497,
0.08062603324651718,
0.010585375130176544,
-0.06441839784383774,
0.0012063736794516444,
-0.007467212155461311,
0.018449511379003525,
0.02796463668346405,
-0.021058687940239906,
-0.03168560191988945,
0.041048720479011536,
-0.014104767702519894,
-0.022669175639748573,
0.02815026044845581,
-0.015258979983627796,
-0.0021247214172035456,
0.14785708487033844,
-0.022845473140478134,
-0.019888058304786682,
-0.025972893461585045,
-0.05169147253036499,
-0.009466723538935184,
0.022870762273669243,
-0.007643647957593203,
-0.07620182633399963,
-0.028878526762127876,
-0.010229830630123615,
0.09940194338560104,
-0.03646964952349663,
-0.06581523269414902,
0.005479865707457066,
-0.023720422759652138,
-0.02084605023264885,
-0.03746926784515381,
0.04792143031954765,
0.057013679295778275,
-0.1342683583498001,
0.007828829810023308,
-0.001894144108518958,
-0.010194665752351284,
-0.09006773680448532,
0.01445151586085558,
-0.006806430406868458,
-0.022429333999753,
0.00416008522734046,
0.05272243544459343,
0.004503042437136173,
-0.03682221844792366,
-0.00026433379389345646,
0.03676239028573036,
-0.0016710765194147825,
-0.028154948726296425,
0.0013387221843004227,
-0.07313080877065659,
-0.013104751706123352,
-0.043937478214502335,
-0.06616677343845367,
-0.09160397946834564,
0.005341814365237951,
-0.01066344603896141,
-0.03363415226340294,
-0.043497201055288315,
-0.047256167978048325,
-0.09976571053266525,
0.06350448727607727,
-0.06565987318754196,
-0.043037526309490204,
0.007054364308714867,
0.014056991785764694,
-0.024239473044872284,
-0.006449863314628601,
0.010519610717892647,
0.018774744123220444,
-0.035573069006204605,
0.025436824187636375,
-0.046227823942899704,
0.040971286594867706,
0.06933438032865524,
-0.04316432774066925,
0.0871807411313057,
0.02484727092087269,
-0.017580339685082436,
-0.0189114548265934,
-0.002903715241700411,
0.037555839866399765,
0.006506745237857103,
-0.03521003946661949,
0.03282254561781883,
-0.013926924206316471,
0.0003289534943178296,
0.05331268906593323,
0.0003341846459079534,
-0.027261093258857727,
-0.012555700726807117,
-0.35948020219802856,
-0.024428002536296844,
-0.014473616145551205,
0.01661437377333641,
-0.02346608228981495,
-0.05561552196741104,
0.03456620126962662,
-0.0029303226619958878,
0.009718015789985657,
0.06360545754432678,
0.10336881875991821,
0.017015481367707253,
-0.00012174095172667876,
-0.05699220672249794,
-0.009643875993788242,
0.06153280660510063,
-0.04676087573170662,
0.011031247675418854,
-0.024365339428186417,
0.028694091364741325,
-0.014950532466173172,
-0.032846055924892426,
-0.051655955612659454,
-0.03946513310074806,
-0.0028375021647661924,
-0.0038741130847483873,
0.11276260018348694,
0.049229945987463,
0.00800345093011856,
-0.03300446644425392,
0.06003671884536743,
0.016285967081785202,
-0.028833216056227684,
-0.06388583779335022,
-0.015608726069331169,
0.008577908389270306,
0.0037744168657809496,
-0.01696607656776905,
0.03692367672920227,
-0.01577889919281006,
-0.08196889609098434,
0.03565823286771774,
-0.03907960653305054,
-0.05934367701411247,
-0.0439678356051445,
0.021963011473417282,
-0.04188522696495056,
-0.02171473205089569,
0.0011271829716861248,
0.06750272214412689,
0.012325742281973362,
-0.021101709455251694,
0.03059205412864685,
0.03478516265749931,
0.011226783506572247,
-0.006833438295871019,
-0.059563376009464264,
-0.031352147459983826,
0.006722821854054928,
0.019460365176200867,
0.005585351027548313,
0.05167254060506821,
0.016081394627690315,
-0.04601611569523811,
0.010405464097857475,
-0.007527809124439955,
-0.020686063915491104,
0.007757526822388172,
0.03806212171912193,
-0.022573348134756088,
-0.003110334975644946,
0.09180803596973419,
-0.009595002979040146,
0.02553347498178482,
0.0193362757563591,
0.0061391498893499374,
-0.04071308672428131,
-0.03513910993933678,
0.03174516186118126,
0.007695422507822514,
0.03260613605380058,
-0.013529949821531773,
0.04056954011321068,
-0.039498474448919296,
-0.018371915444731712,
0.060440633445978165,
0.014407601207494736,
0.007316650357097387,
0.06303214281797409,
0.009668488055467606,
-0.017894845455884933,
0.012040263041853905,
-0.03268703445792198,
-0.030799036845564842,
0.06528696417808533,
-0.01857760176062584,
-0.2600765526294708,
0.04215848445892334,
0.0012151681585237384,
0.03483010083436966,
0.023796236142516136,
0.051059540361166,
0.01689573936164379,
-0.024655751883983612,
-0.017506416887044907,
0.01171251479536295,
0.02367805875837803,
0.06721746921539307,
-0.024905499070882797,
-0.02964174747467041,
0.043984826654195786,
0.038305025547742844,
0.01597021147608757,
0.01180487871170044,
-0.015436834655702114,
-0.0003090146346949041,
0.02413094788789749,
-0.029512835666537285,
0.17375914752483368,
0.025422755628824234,
0.005594858434051275,
0.05409340560436249,
-0.02732275240123272,
0.024130474776029587,
0.04818028584122658,
-0.017915204167366028,
-0.039058852940797806,
-0.007769686169922352,
0.01580784283578396,
0.008781276643276215,
0.03813682869076729,
-0.05459187552332878,
-0.0017006539274007082,
0.0037854311522096395,
0.035064224153757095,
-0.011393372900784016,
0.0048241340555250645,
0.009893896989524364,
-0.042536165565252304,
0.04909355565905571,
0.07286439836025238,
-0.009078053757548332,
-0.011492401361465454,
-0.04089660570025444,
-0.02465129643678665,
0.022296346724033356,
-0.044117916375398636,
-0.0829261764883995,
-0.018378732725977898,
-0.01571253128349781,
0.019740859046578407,
0.07530217617750168,
0.004888792987912893,
-0.03554632142186165,
0.020590465515851974,
0.020874807611107826,
-0.014556278474628925,
-0.037638068199157715,
0.08612669259309769,
-0.007227779366075993,
0.020549818873405457
] | [
-0.037310805171728134,
0.05042199045419693,
-0.020650556311011314,
0.009900782257318497,
-0.01797546073794365,
0.007006768602877855,
-0.030700473114848137,
-0.01875840686261654,
-0.01426310371607542,
-0.02999495342373848,
-0.027316546067595482,
0.012035948224365711,
0.03763039782643318,
-0.03111896850168705,
0.04521368443965912,
0.02214546874165535,
-0.014093895442783833,
0.010927661322057247,
0.05379745736718178,
0.012343565933406353,
-0.025904878973960876,
0.03371906653046608,
0.023292215541005135,
0.007186968345195055,
-0.0478360541164875,
-0.0008381304796785116,
-0.022847430780529976,
-0.0058399345725774765,
0.03077791817486286,
-0.0970715656876564,
-0.027574457228183746,
0.021913865581154823,
-0.007830367423593998,
0.0018367148004472256,
-0.024077631533145905,
0.022181859239935875,
-0.015655040740966797,
0.004546386189758778,
0.04178289324045181,
0.02017841674387455,
0.017932377755641937,
-0.01408437266945839,
-0.0018370187608525157,
-0.010228972882032394,
0.02416323497891426,
0.020175203680992126,
-0.058231234550476074,
0.016085399314761162,
-0.018327906727790833,
-0.007206873502582312,
-0.008548465557396412,
-0.008709238842129707,
-0.005623796489089727,
0.009331519715487957,
0.016478540375828743,
-0.013729230500757694,
-0.0698380246758461,
-0.00957358255982399,
-0.007727903313934803,
-0.004713351372629404,
0.013833771459758282,
-0.015970516949892044,
-0.04167831316590309,
-0.016115929931402206,
-0.008824138902127743,
-0.010702827014029026,
-0.007111940532922745,
0.01785108633339405,
0.016486836597323418,
0.011464599519968033,
-0.02914847806096077,
0.03924991190433502,
-0.0509004183113575,
-0.031057337298989296,
0.012937207706272602,
0.018992217257618904,
-0.008029394783079624,
-0.029170192778110504,
-0.011112669482827187,
-0.032653775066137314,
-0.04359816759824753,
-0.021183757111430168,
0.013036035001277924,
0.02736319974064827,
-0.0018998949090018868,
-0.05059090629220009,
0.020867597311735153,
-0.0042133997194468975,
0.000843894318677485,
-0.023051002994179726,
-0.033300288021564484,
0.015650825574994087,
0.005296750925481319,
0.003718198509886861,
-0.09823551774024963,
0.034590110182762146,
0.010083968751132488,
0.00621360307559371,
-0.0021528946235775948,
0.8359040021896362,
-0.0070837633684277534,
0.05759165436029434,
0.013853882439434528,
-0.016457105055451393,
-0.04130824655294418,
-0.01598224975168705,
-0.016829436644911766,
0.008687419816851616,
0.013060561381280422,
-0.008866053074598312,
-0.002063688589259982,
0.021321643143892288,
0.00838614534586668,
0.009789425879716873,
0.008792469277977943,
0.00832027941942215,
0.034806013107299805,
-0.019016187638044357,
0.030470266938209534,
0.008553577587008476,
0.02098774164915085,
0.024513859301805496,
0.01512590330094099,
0.027499407529830933,
-0.007689547725021839,
-0.17821162939071655,
0.020619938150048256,
-6.905580419175719e-33,
0.07466605305671692,
-0.015808526426553726,
0.031321197748184204,
-0.020194614306092262,
0.01739850640296936,
-0.00039057896356098354,
-0.0328274667263031,
-0.012611358426511288,
-0.022385813295841217,
-0.022839060053229332,
-0.002336808480322361,
0.01605650968849659,
0.05024532228708267,
-0.02523922361433506,
0.04357782006263733,
-0.010060382075607777,
0.03229164704680443,
0.03336295485496521,
0.011507621966302395,
-0.01828627474606037,
0.008425324223935604,
-0.004065426532179117,
-0.0031428777147084475,
0.0016387125942856073,
-0.003998460713773966,
0.05428646504878998,
-0.02902936190366745,
0.04300674796104431,
-0.029310956597328186,
-0.05302324891090393,
-0.0277701448649168,
0.029377242550253868,
0.004620193038135767,
-0.006526497192680836,
0.03478291258215904,
-0.043179646134376526,
-0.01609494723379612,
0.010379885323345661,
-0.05414724349975586,
-0.04245543107390404,
-0.03418454900383949,
0.023658081889152527,
-0.03428945690393448,
-0.03639387711882591,
-0.005670421756803989,
-0.015906507149338722,
-0.03581656515598297,
0.021796630695462227,
0.017246834933757782,
0.033740244805812836,
-0.01058049313724041,
0.012889919802546501,
-0.024317756295204163,
0.014670522883534431,
-0.049801699817180634,
-0.032635170966386795,
0.008155016228556633,
0.008676405064761639,
0.008186804130673409,
0.04616626724600792,
0.03468044102191925,
-0.022385498508810997,
0.020538290962576866,
0.05632954463362694,
-0.006743322592228651,
-0.017407933250069618,
-0.022568533197045326,
0.017374876886606216,
0.014574316330254078,
0.030074365437030792,
-0.0034289821051061153,
0.06599278002977371,
-0.001525973784737289,
0.011633429676294327,
0.018444716930389404,
-0.046362459659576416,
0.00396724371239543,
-0.01507740281522274,
0.0010443092323839664,
0.044146329164505005,
0.046025995165109634,
-0.01592417061328888,
-0.004645972047001123,
-0.030837595462799072,
-0.042128000408411026,
-0.015856998041272163,
0.027487751096487045,
-0.021899733692407608,
-0.014523599296808243,
-0.004086511209607124,
0.010068139992654324,
0.017285171896219254,
0.008688276633620262,
-0.0328737311065197,
-0.012948732823133469,
6.798522271174579e-33,
0.030822431668639183,
-0.01542900875210762,
0.019674552604556084,
-0.021649278700351715,
0.04870427027344704,
-0.025302158668637276,
0.06188857555389404,
0.017428409308195114,
-0.027218958362936974,
0.07720857113599777,
-0.020549245178699493,
-0.003841552184894681,
0.015802405774593353,
0.010088663548231125,
0.03857935220003128,
0.012614628300070763,
0.03940733149647713,
-0.057617783546447754,
0.014308441430330276,
0.03182424232363701,
0.010377122089266777,
-0.007003466133028269,
0.00429768580943346,
-0.01895512267947197,
0.0303969569504261,
0.029467927291989326,
-0.021356837823987007,
0.004654298070818186,
-0.021223578602075577,
0.005831986200064421,
-0.008014032617211342,
-0.03792982175946236,
-0.002884083893150091,
-0.006410593632608652,
0.03238074854016304,
0.025810834020376205,
-0.030468029901385307,
0.0130330640822649,
0.04916546493768692,
-0.04094966500997543,
0.05285235866904259,
0.00735716475173831,
-0.02086944691836834,
0.030291980132460594,
0.05475537106394768,
-0.011125165969133377,
-0.003669415134936571,
0.0036867265589535236,
-0.04326470568776131,
0.013495205901563168,
-0.0038846186362206936,
0.028934216126799583,
-0.013567988760769367,
-0.01734461821615696,
0.012091838754713535,
-0.01495418418198824,
-0.0270670298486948,
0.017507946118712425,
-0.009132685139775276,
-0.004742671735584736,
-0.010278044268488884,
0.007494197692722082,
-0.023365100845694542,
0.05186127498745918,
-0.022551000118255615,
-0.025202585384249687,
-0.02524663507938385,
-0.018621044233441353,
-0.013798692263662815,
0.034343596547842026,
-0.02559073455631733,
-0.03402382507920265,
-0.030893830582499504,
0.04153130203485489,
0.009499391540884972,
-0.019531989470124245,
-0.030457571148872375,
0.013869253918528557,
0.004104232415556908,
0.015652699396014214,
-0.0067527638748288155,
-0.003011816181242466,
0.008829336613416672,
0.015326292254030704,
-0.015031510964035988,
0.01397298276424408,
-0.006303349509835243,
0.027696330100297928,
-0.006773380562663078,
-0.007129083387553692,
0.02806675061583519,
-0.05764586105942726,
-0.010214915499091148,
0.035100411623716354,
-0.005107014440000057,
-1.2655792858140558e-8,
-0.06911515444517136,
0.000945917097851634,
-0.02026340924203396,
0.01698433980345726,
0.05912089720368385,
-0.010198037140071392,
0.014231712557375431,
0.010589974001049995,
-0.028373342007398605,
0.009718975983560085,
0.023594185709953308,
-0.02088547870516777,
0.00857853889465332,
0.012053224258124828,
0.04121903330087662,
-0.04176490008831024,
0.0032404237426817417,
-0.029459845274686813,
0.0029831980355083942,
0.02163308672606945,
-0.005893411580473185,
0.012066369876265526,
-0.008729478344321251,
-0.02830318547785282,
0.0017067687585949898,
-0.016693443059921265,
0.01612192951142788,
-0.03781671077013016,
0.002658495679497719,
-0.06134471669793129,
-0.0034264109563082457,
-0.01207907497882843,
-0.031458500772714615,
0.002536837011575699,
0.002408483764156699,
-0.012305956333875656,
0.0041535417549312115,
0.0320112407207489,
0.006854079198092222,
0.005618028808385134,
-0.0015284870751202106,
0.008485669270157814,
0.014686155132949352,
-0.01353298220783472,
-0.0007656553061679006,
0.0006939778104424477,
-0.018680410459637642,
-0.0043313028290867805,
0.02919253706932068,
-0.027511071413755417,
0.005681618116796017,
-0.01867792382836342,
0.04195070639252663,
0.006138603202998638,
0.013041113503277302,
0.01110872719436884,
-0.008254364132881165,
-0.02206861414015293,
-0.0010600431123748422,
0.007738279178738594,
0.0011337799951434135,
-0.0033465882297605276,
-0.014117870479822159,
-0.023958487436175346
] | clojure-paging-meetup-data-using-lazy-sequences | https://markhneedham.com/blog/2014/04/30/clojure-paging-meetup-data-using-lazy-sequences |
false | 2014-04-06 22:07:47 | Clojure: Not so lazy sequences a.k.a chunking behaviour | [
"clojure"
] | [
"Clojure"
] | I've been playing with Clojure over the weekend and got caught out by the behaviour of lazy sequences due to chunking - something which was https://twitter.com/stilkov/status/452411800349605888[obvious] https://twitter.com/philandstuff/status/452412009074941952[to] https://twitter.com/Developerdave/status/452430573836193792[experienced] https://twitter.com/puredanger/status/452430894700048384[Clojurians] although not me.
I had something similar to the following bit of code which I expected to only evaluate the first item of the infinite sequence that the range function generates:
[source,lisp]
----
> (take 1 (map (fn [x] (println (str "printing..." x))) (range)))
(printing...0
printing...1
printing...2
printing...3
printing...4
printing...5
printing...6
printing...7
printing...8
printing...9
printing...10
printing...11
printing...12
printing...13
printing...14
printing...15
printing...16
printing...17
printing...18
printing...19
printing...20
printing...21
printing...22
printing...23
printing...24
printing...25
printing...26
printing...27
printing...28
printing...29
printing...30
printing...31
nil)
----
The reason this was annoying is because I wanted to shortcut the lazy sequence using +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/take-while[take-while]+++</cite>+++, much like the poster of http://stackoverflow.com/questions/3407876/how-do-i-avoid-clojures-chunking-behavior-for-lazy-seqs-that-i-want-to-short-ci[this StackOverflow question].
As I understand it when we have a lazy sequence the granularity of that laziness is 32 items at a time a.k.a one chunk, something that Michael Fogus http://blog.fogus.me/2010/01/22/de-chunkifying-sequences-in-clojure/[wrote about 4 years ago]. This was a bit surprising to me but it sounds like it makes sense for the majority of cases.
However, if we want to work around that behaviour we can wrap the lazy sequence in the following +++<cite>+++unchunk+++</cite>+++ function provided by Stuart Sierra:
[source,lisp]
----
(defn unchunk [s]
(when (seq s)
(lazy-seq
(cons (first s)
(unchunk (next s))))))
----
Now if we repeat our initial code we'll see it only prints once:
[source,lisp]
----
> (take 1 (map (fn [x] (println (str "printing..." x))) (unchunk (range))))
(printing...0
nil)
---- | null | null | [
0.003807416884228587,
-0.015671294182538986,
-0.04494956135749817,
0.006507691461592913,
0.06706080585718155,
0.002225667703896761,
0.0148185258731246,
0.01987539418041706,
0.005233625881373882,
-0.002788726706057787,
-0.02481928840279579,
-0.030847687274217606,
-0.0641172006726265,
0.043064627796411514,
0.020997270941734314,
0.05518012493848801,
0.05045071616768837,
-0.025762252509593964,
0.0065062036737799644,
0.0016520408680662513,
0.04593377187848091,
0.0706181526184082,
0.010944095440208912,
-0.011063944548368454,
0.036585576832294464,
-0.004030537325888872,
-0.001010193838737905,
0.032609447836875916,
-0.07639825344085693,
-0.02538960985839367,
0.025061754509806633,
0.002883316483348608,
-0.012986910529434681,
-0.023160886019468307,
0.048024553805589676,
-0.008085387758910656,
-0.007660493720322847,
0.003061735536903143,
-0.0359935499727726,
0.018516961485147476,
-0.06945852935314178,
0.0043775602243840694,
-0.02033589407801628,
0.0023536463268101215,
-0.053127728402614594,
0.029173631221055984,
-0.0406709648668766,
-0.0030362855177372694,
-0.03621413931250572,
0.0077360281720757484,
-0.048114240169525146,
0.027457954362034798,
0.0010328525677323341,
-0.001710269832983613,
-0.0009168677497655153,
0.04173982888460159,
0.013116821646690369,
-0.07719115167856216,
0.043374400585889816,
-0.03880962356925011,
0.0005433218902908266,
-0.032466769218444824,
0.013543923385441303,
0.028773142024874687,
0.006834549829363823,
-0.02687443420290947,
-0.029022060334682465,
0.041629690676927567,
-0.05203139781951904,
-0.025587838143110275,
-0.003065277123823762,
0.02513166330754757,
-0.022821862250566483,
-0.005048726219683886,
0.008335649035871029,
-0.04014473408460617,
-0.02042640559375286,
0.08142402023077011,
-0.00696604372933507,
0.05964643135666847,
-0.015748081728816032,
0.03346525505185127,
0.045442868024110794,
0.03416186943650246,
0.002488214522600174,
-0.008044417016208172,
-0.026772547513246536,
-0.007015777751803398,
-0.02950289659202099,
0.0352577343583107,
-0.0012892585946246982,
-0.06564979255199432,
0.011156054213643074,
0.006839623209089041,
-0.02557927556335926,
0.004813422914594412,
-0.01566670462489128,
0.03596203401684761,
-0.005756170488893986,
-0.014173776842653751,
-0.028992362320423126,
-0.03718825429677963,
0.012159320525825024,
0.012698763981461525,
-0.08708515763282776,
-0.024306965991854668,
0.005146272014826536,
-0.014224899001419544,
0.0514010488986969,
0.0033143553882837296,
-0.04673521965742111,
0.0038484700489789248,
-0.030809586867690086,
-0.0037956268060952425,
-0.08294905722141266,
0.04954327270388603,
-0.0020275521092116833,
-0.028484400361776352,
-0.0180435199290514,
-0.0029611855279654264,
0.01685483008623123,
0.015553062781691551,
0.002709059976041317,
0.08366386592388153,
-0.0074393609538674355,
0.024541400372982025,
-0.003257304197177291,
0.06750179082155228,
0.009327758103609085,
-0.05794103443622589,
-0.018977927044034004,
0.08124726265668869,
-0.016051651909947395,
-0.002784478710964322,
-0.019673923030495644,
-0.00247389473952353,
-0.016483956947922707,
0.01312957238405943,
0.05894073098897934,
0.016679096966981888,
0.004871943034231663,
-0.003158118110150099,
0.013453537598252296,
-0.02330503799021244,
0.021376600489020348,
0.004342149943113327,
-0.010134153068065643,
-0.004695003852248192,
-0.02257656306028366,
0.0213681161403656,
0.008738513104617596,
0.012691675685346127,
0.04777887463569641,
-0.01981928199529648,
0.02240307442843914,
0.05941546708345413,
-0.001107485149987042,
0.057385873049497604,
-0.016184505075216293,
0.0012719827936962247,
0.03100065514445305,
0.034902311861515045,
-0.023739004507660866,
0.03984298184514046,
0.018295645713806152,
-0.007183746434748173,
0.011175102554261684,
0.05729106813669205,
-0.01845918595790863,
-0.029184615239501,
-0.06259840726852417,
-0.05043339729309082,
0.0620088055729866,
0.0019102295627817512,
-0.021316146478056908,
0.002337012207135558,
0.10378212481737137,
0.00957737397402525,
0.06232975795865059,
-0.009449833072721958,
-0.07110937684774399,
0.039548058062791824,
0.01288150716573,
0.042659636586904526,
-0.012880261056125164,
-0.03130774199962616,
0.06966526806354523,
0.0449688658118248,
0.011932916939258575,
0.026995161548256874,
-0.059372786432504654,
-0.07273001968860626,
-0.011384014040231705,
-0.030800314620137215,
0.067244753241539,
-0.042144857347011566,
-0.007780585903674364,
0.060154933482408524,
0.017977867275476456,
0.034793343394994736,
0.01703210175037384,
0.004310677759349346,
0.024270372465252876,
-0.04198407009243965,
-0.05217157304286957,
0.05869166925549507,
0.029287854209542274,
-0.03351747244596481,
-0.029539793729782104,
0.02590237930417061,
0.01233223918825388,
0.03603624179959297,
0.03384683281183243,
-0.0162332933396101,
0.017784293740987778,
-0.0052409046329557896,
0.035538166761398315,
-0.020363889634609222,
0.06665807217359543,
-0.060616571456193924,
0.022928431630134583,
0.031127678230404854,
0.016955045983195305,
0.010579487308859825,
-0.005910755600780249,
0.13027434051036835,
0.046157676726579666,
-0.02314838394522667,
-0.04729408025741577,
0.03103618323802948,
-0.01886918768286705,
-0.02410746179521084,
-0.02192501351237297,
-0.012613228522241116,
0.001692350720986724,
0.01564721390604973,
-0.0032380390912294388,
-0.007314212620258331,
0.016643822193145752,
-0.0367024727165699,
-0.018355492502450943,
0.08982884883880615,
-0.022403543815016747,
0.05901284143328667,
0.01982964761555195,
-0.02795308642089367,
-0.014954237267374992,
-0.023202141746878624,
-0.08328728377819061,
0.022356534376740456,
0.005470083560794592,
-0.016047278419137,
0.0650525614619255,
-0.040289271622896194,
-0.040823761373758316,
0.010019184090197086,
-0.04040589556097984,
0.014642788097262383,
0.0654938593506813,
0.062446873635053635,
-0.03417006880044937,
0.04455912485718727,
-0.019309528172016144,
-0.014947724528610706,
-0.03695330396294594,
-0.04569058120250702,
-0.03367741033434868,
-0.008257173001766205,
0.008322184905409813,
0.012704437598586082,
0.026501983404159546,
0.017007796093821526,
0.030010713264346123,
0.0058558001182973385,
-0.02225184068083763,
-0.0389535017311573,
0.02360624633729458,
0.014782027341425419,
-0.0222517941147089,
-0.02777758240699768,
-0.03383448347449303,
0.07429512590169907,
-0.02478569559752941,
-0.03064757026731968,
0.0016913594445213675,
-0.05551326647400856,
0.07230379432439804,
-0.05310375615954399,
-0.021113744005560875,
0.023601975291967392,
0.01381777785718441,
0.03369741886854172,
-0.04106327146291733,
0.016878535971045494,
0.0779215544462204,
-0.004956068936735392,
0.01912839151918888,
0.005921830423176289,
0.0030722888186573982,
0.011313189752399921,
-0.03015742264688015,
-0.000187944300705567,
0.03549092262983322,
0.012952903285622597,
-0.014592261053621769,
-0.043036699295043945,
0.02319907397031784,
-0.02277497574687004,
-0.2628203332424164,
0.041907671838998795,
-0.004711683839559555,
-0.02920190617442131,
0.002126002684235573,
-0.0021060449071228504,
-0.02559038996696472,
-0.042608149349689484,
-0.00791220087558031,
0.01925826258957386,
-0.029867585748434067,
-0.026914365589618683,
-0.039719726890325546,
0.016992615535855293,
0.027325963601469994,
-0.011884517036378384,
0.004311776719987392,
-0.026942668482661247,
-0.013281910680234432,
0.06331714987754822,
0.013084367848932743,
-0.06407420337200165,
0.0025401567108929157,
0.03737775236368179,
0.029595907777547836,
0.04231579229235649,
-0.07973223179578781,
0.029939258471131325,
-0.03561778366565704,
-0.04270116612315178,
0.0069419206120073795,
-0.02613983117043972,
0.0020762637723237276,
-0.011337868869304657,
-0.030163485556840897,
-0.031136294826865196,
0.028945982456207275,
0.015668828040361404,
0.042637791484594345,
0.06261193007230759,
-0.015445130877196789,
-0.0472772978246212,
-0.006780404597520828,
-0.014092184603214264,
0.06485661119222641,
-0.005837294273078442,
-0.05900841951370239,
-0.011368904262781143,
-0.011012385599315166,
0.0758354514837265,
-0.003006071550771594,
-0.05970309302210808,
0.003955942578613758,
0.05502547696232796,
-0.003832785412669182,
-0.01679554395377636,
-0.04194389656186104,
-0.008143441751599312,
-0.059300944209098816,
-0.019116606563329697,
-0.018151408061385155,
-0.04216093197464943,
-0.020438631996512413,
-0.05348087102174759,
-0.027130737900733948,
-0.039604973047971725,
-0.06310947984457016,
0.012215250171720982,
0.057144973427057266,
0.03047012910246849,
-0.012725742533802986,
-0.013297890312969685,
-0.019027795642614365,
-0.11370528489351273,
-0.04260196536779404,
-0.036319684237241745,
-0.036740150302648544,
0.009876566007733345,
0.024283235892653465,
0.05811894312500954,
-0.05702517554163933,
-0.0712631493806839,
0.024937618523836136,
0.06306087970733643,
0.0517636276781559,
-0.03139882907271385,
0.00545693002641201,
-0.02602636069059372,
0.0030092063825577497,
-0.01585553213953972,
0.05453614145517349,
-0.009134081192314625,
-0.04520158842206001,
-0.03902116045355797,
0.010509365238249302,
0.03588304668664932,
0.03363289684057236,
-0.0022764268796890974,
0.0134883476421237,
0.03694809228181839,
0.031583596020936966,
-0.055779747664928436,
0.004632978700101376,
-0.02130258083343506,
-0.024104535579681396,
0.02882733754813671,
-0.06716646254062653,
0.012309130281209946,
0.00045636488357558846,
0.007929275743663311,
-0.050336867570877075,
-0.027995537966489792,
0.01746443472802639,
-0.05526019632816315,
-0.02731063961982727,
-0.008211294189095497,
-0.017044203355908394,
0.010256264358758926,
0.02068309858441353,
-0.03329554945230484,
-0.07614532858133316,
0.02088712342083454,
-0.01129184104502201,
-0.04501443728804588,
-0.04057293385267258,
-0.02008754387497902,
-0.012029687874019146,
-0.025413773953914642,
0.021467076614499092,
0.006378677673637867,
-0.003409783588722348,
0.02891048975288868,
0.013639410957694054,
-0.026241619139909744,
0.040131907910108566,
-0.007071999832987785,
-0.013188967481255531,
-0.042146120220422745,
-0.018802611157298088,
0.003722803434357047,
0.003982690628618002,
-0.03035151958465576,
0.034464333206415176,
0.0345362052321434,
0.022832484915852547,
0.004953852389007807,
0.02107960917055607,
-0.0013432054547592998,
-0.02985292300581932,
0.020792461931705475,
0.0325997956097126,
-0.04863531142473221,
0.02370269037783146,
-0.013749211095273495,
-0.0008721632184460759,
0.00822353083640337,
0.0344737209379673,
-0.007076470647007227,
-0.05160543695092201,
-0.03053549863398075,
0.022590897977352142,
-0.024116862565279007,
0.0144960293546319,
-0.009705931879580021,
-0.0018260470824316144,
0.04200175777077675,
-0.03625519201159477,
0.04197622090578079,
-0.03163361921906471,
-0.016954777762293816,
0.007538051810115576,
-0.010291092097759247,
-0.03648359328508377,
0.03204567730426788,
0.02259482815861702,
0.008311660960316658,
0.009125021286308765,
0.03575095161795616,
0.017611399292945862,
0.005880639888346195,
-0.02999483421444893,
0.0210073534399271,
0.04886602610349655,
0.015454055741429329,
0.07001345604658127,
0.01016245223581791,
0.007677287794649601,
0.021152179688215256,
-0.023624751716852188,
-0.022254373878240585,
-0.008600128814578056,
-0.017676346004009247,
-0.020728539675474167,
0.007576341740787029,
-0.0419439822435379,
-0.059563688933849335,
0.013646210543811321,
0.07290201634168625,
-0.005015277769416571,
-0.012941865250468254,
0.009080100804567337,
0.00013629606110043824,
-0.029836056753993034,
-0.015489215031266212,
0.0701131746172905,
-0.04648752883076668,
-0.0025578723289072514,
-0.014754610136151314,
0.013915842399001122,
0.01411060057580471,
0.0035386031959205866,
-0.0714261457324028,
0.01001991517841816,
-0.011891758069396019,
-0.015832748264074326,
-0.0037128282710909843,
-0.032468218356370926,
-0.0024033847730606794,
0.029091693460941315,
-0.0333075113594532,
0.005321781616657972,
-0.028929706662893295,
-0.0050956616178154945,
-0.01582229696214199,
-0.01418040320277214,
0.014648809097707272,
-0.03745843097567558,
0.01285573560744524,
0.036175861954689026,
-0.01649455353617668,
0.04152291268110275,
-0.03866469860076904,
0.053408849984407425,
0.014897379092872143,
-0.019397377967834473,
-0.013788597658276558,
-0.05606121942400932,
0.03730158135294914,
-0.029953602701425552,
0.02359911799430847,
-0.0014567950274795294,
-0.009694350883364677,
-0.030574467033147812,
0.028942303732037544,
-0.03718343377113342,
0.004771263804286718,
-0.0015184745425358415,
-0.03916417434811592,
-0.00046218588249757886,
0.04112900421023369,
-0.011153072118759155,
0.07217244058847427,
-0.012387089431285858,
-0.026447227224707603,
0.06932955235242844,
-0.056682657450437546,
-0.0511418916285038,
-0.02193448878824711,
-0.07006461173295975,
0.01627574861049652,
0.016675153747200966,
0.02714581787586212,
-0.03035791963338852,
0.026938799768686295,
0.06040771305561066,
0.019336234778165817,
0.024279776960611343,
-0.0015136090805754066,
0.014806374907493591,
-0.012457875534892082,
-0.011709539219737053,
-0.1001509353518486,
-0.009662485681474209,
0.0483814999461174,
0.016922451555728912,
0.0001388099481118843,
-0.02170398272573948,
-0.013610376045107841,
-0.00019461868214420974,
-0.04977884516119957,
-0.007664470933377743,
0.03883502259850502,
0.0029452829621732235,
-0.005624192301183939,
0.03572392091155052,
-0.05606948584318161,
0.04458069056272507,
0.040511805564165115,
-0.036971159279346466,
-0.0040756468661129475,
-0.016936903819441795,
0.05179794132709503,
0.006382931023836136,
0.01976541429758072,
-0.01568027399480343,
0.002321461448445916,
0.06901998072862625,
0.016146361827850342,
0.007588933687657118,
0.05323582887649536,
-0.009516242891550064,
0.008760092779994011,
0.04476729407906532,
-0.006504928693175316,
-0.013270081952214241,
0.027159152552485466,
-0.04130285233259201,
-0.06690537184476852,
0.026357365772128105,
0.014864208176732063,
-0.017669107764959335,
-0.02216976135969162,
0.06615060567855835,
0.02756444364786148,
-0.028929298743605614,
-0.04293401539325714,
0.03203742206096649,
-0.08623361587524414,
0.0038142881821841,
-0.026770958676934242,
-0.0017583717126399279,
-0.05516663193702698,
0.03712413087487221,
-0.008199847303330898,
-0.009152042679488659,
0.07029969990253448,
0.01114958617836237,
-0.006678130477666855,
0.007636905647814274,
0.07685710489749908,
0.0791342481970787,
0.05522308498620987,
-0.006740082520991564,
0.05596745386719704,
-0.05182567611336708,
-0.028884492814540863,
-0.0025541752111166716,
-0.006818071007728577,
-0.0037557559553533792,
-0.02610584907233715,
0.03370792046189308,
0.08665189146995544,
-0.05212901532649994,
0.0721752867102623,
-0.01184292882680893,
0.004478047136217356,
0.01837349310517311,
0.002675779163837433,
0.0393352173268795,
0.07813481241464615,
0.02718815580010414,
0.03560617193579674,
-0.012851941399276257,
-0.005306720267981291,
0.0391535721719265,
-0.01612144708633423,
-0.021599072962999344,
0.0009509879164397717,
0.006348780822008848,
0.021180320531129837,
0.026511169970035553,
0.06263626366853714,
0.06971791386604309,
-0.03468818590044975,
-0.010561486706137657,
-0.01300040539354086,
0.027590276673436165,
0.018612904474139214,
-0.003682730020955205,
0.0034451314713805914,
-0.01702778972685337,
-0.004211247432976961,
-0.014877572655677795,
-0.03882049396634102,
-0.03693506866693497,
-0.05125049501657486,
0.03656242787837982,
-0.014718950726091862,
-0.030604219064116478,
0.019651535898447037,
0.007493074983358383,
-0.040917351841926575,
-0.03755900636315346,
-0.02423873171210289,
-0.04048391804099083,
-0.06609069555997849,
-0.0030329874716699123,
-0.0067061809822916985,
-0.030269311740994453,
-0.03570863604545593,
-0.027934817597270012,
-0.012429967522621155,
0.0042107184417545795,
0.03174025937914848,
-0.04601210728287697,
-0.009118154644966125,
0.009134284220635891,
0.020867783576250076,
0.011114697903394699,
0.008730805478990078,
0.04939218983054161,
-0.024462509900331497,
-0.010490046814084053,
-0.0021309389267116785,
0.005420803092420101,
0.03595052286982536,
0.02547416090965271,
-0.005301613360643387,
-0.09247980266809464,
0.020537473261356354,
0.04435274004936218,
0.032344356179237366,
-0.07931840419769287,
0.03297366574406624,
0.031140489503741264,
-0.03280928358435631,
0.04602883383631706,
-0.023279977962374687,
-0.007961560972034931,
-0.05775512382388115,
-0.011709287762641907,
0.015400763601064682,
0.029101550579071045,
0.01944972388446331,
-0.0209693294018507,
0.07944663614034653,
0.05226496234536171,
-0.02431158348917961,
-0.023584911599755287,
-0.015176511369645596,
-0.056527093052864075,
-0.0013577420031651855,
-0.024754341691732407,
-0.026817968115210533,
-0.04969559609889984,
-0.05671406909823418,
-0.024734901264309883,
0.02879788726568222,
-0.04502056911587715,
-0.03984062373638153,
0.016951998695731163,
0.05071447044610977,
-0.01669173873960972,
0.07014886289834976,
-0.04065853729844093,
0.03239500895142555,
-0.0011503410059958696,
-0.01711333729326725,
-0.0020515129435807467,
-0.007909461855888367,
-0.005487281363457441,
0.039174485951662064,
0.008598322980105877,
-0.018431952223181725,
0.010355716571211815,
0.008171427994966507,
0.027042189612984657,
0.00895160622894764,
-0.018672063946723938,
-0.0053053200244903564
] | [
-0.10709868371486664,
-0.03575070947408676,
-0.03663978353142738,
-0.01158920582383871,
0.006445344537496567,
-0.023030726239085197,
-0.011773833073675632,
0.029393745586276054,
0.017316825687885284,
-0.0024392425548285246,
0.011735540814697742,
-0.040867920964956284,
0.02039080671966076,
0.018901823088526726,
0.0914546325802803,
-0.000945684383623302,
-0.015644771978259087,
-0.05068932846188545,
-0.042643118649721146,
-0.007860200479626656,
0.05898483842611313,
-0.05241759493947029,
-0.04790918901562691,
-0.05323003605008125,
0.04455576092004776,
0.03768773749470711,
0.05304797366261482,
-0.04644172638654709,
0.006800939794629812,
-0.22975486516952515,
0.014223214238882065,
0.02287956513464451,
0.0446358397603035,
-0.037528473883867264,
0.004456575959920883,
0.04590796306729317,
-0.004960544873028994,
0.029753535985946655,
-0.029211759567260742,
0.04140012338757515,
0.0364147387444973,
0.033896807581186295,
-0.04664037004113197,
-0.057978998869657516,
0.04640422761440277,
-0.0021950046066194773,
-0.006810471881181002,
-0.02686506323516369,
-0.012823446653783321,
0.014278220012784004,
-0.11028428375720978,
-0.008200661279261112,
0.012089149095118046,
-0.021444376558065414,
0.016780173406004906,
0.03223545849323273,
0.053848378360271454,
0.08694767951965332,
0.03597234562039375,
0.008147301152348518,
-0.0022544534876942635,
-0.01436165813356638,
-0.10784579068422318,
0.07283826917409897,
0.059083662927150726,
0.04332001507282257,
-0.0024121259339153767,
-0.03815696761012077,
-0.007724102586507797,
0.09792312234640121,
0.04203733801841736,
0.005435428582131863,
-0.01742076314985752,
0.09456838667392731,
0.016704317182302475,
-0.044733449816703796,
-0.009635821916162968,
0.011595168150961399,
0.016609765589237213,
-0.038759201765060425,
-0.04321988672018051,
-0.018807927146553993,
-0.0061118570156395435,
-0.008008284494280815,
-0.03270154073834419,
0.015163852833211422,
-0.039775997400283813,
0.04135344922542572,
0.026217691600322723,
0.0019491908606141806,
0.03803766891360283,
-0.001019996008835733,
0.05509399622678757,
0.024129705503582954,
-0.09885495156049728,
0.010412871837615967,
0.010104053653776646,
0.026491912081837654,
-0.012258517555892467,
0.4192696213722229,
-0.02703934907913208,
-0.0019325226312503219,
0.06983549892902374,
0.0462435819208622,
0.016697587445378304,
0.013008487410843372,
0.005197375547140837,
-0.051261354237794876,
-0.006720659323036671,
-0.0579252690076828,
-0.00802715215831995,
-0.027077410370111465,
0.08030616492033005,
-0.0419657863676548,
0.001746458699926734,
-0.011889233253896236,
0.06440242379903793,
0.0290842242538929,
-0.008930763229727745,
0.022654592990875244,
-0.011556795798242092,
0.02436244674026966,
0.000001150477373812464,
-0.0013828412629663944,
0.01588067226111889,
-0.011907230131328106,
0.011115116067230701,
0.05345216765999794,
0.03420861065387726,
0.017521096393465996,
0.016994748264551163,
-0.006130256690084934,
-0.05132891237735748,
0.020810402929782867,
-0.009937196969985962,
-0.00368441641330719,
0.006913146935403347,
-0.05787482485175133,
0.01906190812587738,
0.014737025834619999,
-0.016384953632950783,
-0.016765689477324486,
0.007844875566661358,
-0.008880835957825184,
-0.019529225304722786,
0.09547247737646103,
0.00007304766768356785,
-0.012337886728346348,
-0.00008600563160143793,
-0.05117533355951309,
-0.004777940455824137,
0.02127089537680149,
0.01240523811429739,
-0.0784609317779541,
0.019803274422883987,
0.020937561988830566,
0.0693822130560875,
-0.004081980790942907,
-0.08323900401592255,
0.005090523511171341,
-0.03734390810132027,
-0.016272438690066338,
-0.05404045805335045,
0.03556719049811363,
0.0048172795213758945,
-0.033420875668525696,
-0.004196106921881437,
0.012893659994006157,
0.018920019268989563,
-0.06273776292800903,
-0.0052168401889503,
0.027225783094763756,
-0.02716812491416931,
0.0026480434462428093,
0.032794877886772156,
-0.011878623627126217,
-0.04197601228952408,
-0.023048976436257362,
0.05191459879279137,
0.02717536874115467,
-0.03324774652719498,
0.012647264637053013,
-0.051575660705566406,
0.026418309658765793,
-0.008928363211452961,
-0.07346637547016144,
-0.05058344826102257,
-0.009039325639605522,
-0.008624485693871975,
0.0004411972186062485,
-0.0055321259424090385,
-0.028893841430544853,
-0.06629472970962524,
0.07195477932691574,
-0.04665800556540489,
-0.05502882972359657,
0.015575644560158253,
0.02478085458278656,
-0.03088977560400963,
-0.02672363817691803,
0.013733555562794209,
0.0546674020588398,
-0.024983223527669907,
0.014563323929905891,
-0.06972455233335495,
-0.0005032916087657213,
0.029457541182637215,
-0.058575037866830826,
0.08162855356931686,
0.04326997697353363,
-0.03045516461133957,
0.0091815534979105,
-0.00603110995143652,
0.016675909981131554,
-0.013821177184581757,
-0.008761652745306492,
-0.013673972338438034,
0.0009824223816394806,
0.03582937270402908,
-0.0007268972112797201,
-0.053066857159137726,
-0.05440559983253479,
-0.05967893451452255,
-0.3523431122303009,
-0.05269380286335945,
0.009725617244839668,
-0.025591082870960236,
0.028668364509940147,
-0.07467034459114075,
-0.004976355005055666,
-0.0356675460934639,
-0.01462285965681076,
-0.01184209156781435,
0.06992466747760773,
-0.03311264514923096,
-0.03806193172931671,
-0.09069555252790451,
-0.016907360404729843,
0.022240588441491127,
-0.03047541342675686,
-0.02711503766477108,
-0.023923104628920555,
0.037104129791259766,
0.001555499853566289,
-0.029102055355906487,
-0.02282191812992096,
-0.048037346452474594,
-0.01271604374051094,
-0.034783363342285156,
0.10829172283411026,
0.03004617430269718,
0.089964359998703,
-0.025401480495929718,
0.0371536947786808,
-0.006391830276697874,
0.00047776452265679836,
-0.0637366995215416,
-0.018122397363185883,
-0.0023034843616187572,
-0.00042516220128163695,
-0.022696029394865036,
0.02010524645447731,
-0.01482423022389412,
-0.06004880368709564,
0.02346544712781906,
-0.06779417395591736,
-0.038297343999147415,
-0.04857686534523964,
0.03943590447306633,
-0.02522830106317997,
-0.0410175658762455,
-0.007263220846652985,
0.09381654858589172,
0.020030226558446884,
-0.007131229154765606,
0.011898835189640522,
0.021767711266875267,
0.03140455484390259,
-0.0059977746568620205,
-0.05897582694888115,
-0.021361807361245155,
0.01325114257633686,
-0.02514844387769699,
0.043038636445999146,
0.048438265919685364,
0.03314824402332306,
-0.06238897517323494,
0.00717784883454442,
0.00991752464324236,
0.0045469822362065315,
-0.014184813015162945,
0.024233758449554443,
-0.008660427294671535,
-0.029068753123283386,
0.1140115037560463,
0.021632520481944084,
0.010655676946043968,
0.026852738112211227,
0.04290466755628586,
-0.023943554610013962,
0.010747403837740421,
-0.002292466815561056,
-0.00021028617629781365,
0.045278917998075485,
-0.005572584457695484,
0.03268041834235191,
-0.03181164339184761,
-0.03380219638347626,
0.017403414472937584,
-0.0001488535781390965,
0.0026079490780830383,
0.04530438035726547,
0.024325978010892868,
-0.016374360769987106,
0.028554897755384445,
0.000040109716792358086,
-0.047562867403030396,
0.09117940068244934,
0.008594573475420475,
-0.26230016350746155,
0.02704278565943241,
0.028333580121397972,
0.06952608376741409,
0.013700425624847412,
0.04328221455216408,
0.033261701464653015,
-0.06322454661130905,
-0.023648962378501892,
0.014729740098118782,
0.0029352481942623854,
0.06862307339906693,
0.004671802744269371,
0.0009667907143011689,
0.025563618168234825,
-0.02217545546591282,
0.028217144310474396,
-0.020636335015296936,
0.02165212295949459,
-0.012330664321780205,
0.010285302065312862,
0.003953692503273487,
0.1854921281337738,
-0.021144766360521317,
-0.005954498890787363,
0.02687639370560646,
-0.0028442800976336002,
0.02148786000907421,
0.05570937320590019,
0.01341551635414362,
-0.022552909329533577,
0.028620624914765358,
0.04077661782503128,
0.03198978304862976,
0.02359679713845253,
-0.03571390360593796,
-0.0319896936416626,
0.024449480697512627,
0.02173749916255474,
-0.012954066507518291,
0.007690629921853542,
0.03330095484852791,
-0.035169120877981186,
0.03295264020562172,
0.0735502690076828,
0.011023657396435738,
-0.018554193899035454,
-0.023828605189919472,
-0.023305844515562057,
0.018343834206461906,
-0.008857745677232742,
-0.028406938537955284,
0.015319379046559334,
0.004884695168584585,
0.00577542046085,
0.07188720256090164,
0.01286335475742817,
-0.025236090645194054,
0.0048857927322387695,
0.020178314298391342,
0.0005835527554154396,
-0.053591109812259674,
0.10921269655227661,
0.011099732480943203,
-0.00781307928264141
] | [
-0.028763405978679657,
0.02136065438389778,
-0.007978440262377262,
-0.005936662200838327,
0.005655919201672077,
-0.017687132582068443,
-0.010334364138543606,
0.015360664576292038,
-0.026108482852578163,
-0.05063439905643463,
-0.005931038875132799,
-0.004510643891990185,
0.0341329425573349,
-0.028228558599948883,
0.031878091394901276,
-0.04491983726620674,
-0.02042894810438156,
0.011427563615143299,
0.045111626386642456,
-0.002536958549171686,
0.010929352603852749,
0.06076320260763168,
0.00906695332378149,
-0.0010608574375510216,
-0.025564836338162422,
0.03173767402768135,
-0.03480827063322067,
-0.026392171159386635,
0.038131874054670334,
-0.10870043933391571,
-0.005656114313751459,
0.003892565378919244,
0.023383112624287605,
-0.0055919429287314415,
-0.016505835577845573,
0.026872709393501282,
-0.020869068801403046,
0.0015016805846244097,
-0.021667828783392906,
0.0009006211766973138,
0.02123507484793663,
0.0007048608385957778,
-0.024664396420121193,
0.010873304679989815,
-0.00014173197268974036,
0.028305303305387497,
-0.019229937344789505,
-0.03420868143439293,
-0.03334442153573036,
0.01555604487657547,
-0.04163031652569771,
0.017912641167640686,
-0.007616257295012474,
0.025234969332814217,
0.029528724029660225,
-0.03042740933597088,
-0.05256298929452896,
0.0053663672879338264,
0.04451003298163414,
-0.01435812283307314,
0.007518394384533167,
0.014667199924588203,
-0.06347654014825821,
-0.04809992015361786,
0.008806307800114155,
-0.039495810866355896,
0.03838794305920601,
0.010265624150633812,
-0.0032691815868020058,
0.023345431312918663,
0.02134944126009941,
0.04627929627895355,
-0.032277677208185196,
-0.008562227711081505,
-0.009270542301237583,
0.023492109030485153,
0.022468702867627144,
-0.06647235155105591,
-0.019682979211211205,
-0.025506606325507164,
-0.04206641763448715,
-0.012997884303331375,
0.052235547453165054,
0.006741433870047331,
-0.016589924693107605,
-0.011768591590225697,
0.028119517490267754,
0.0036722132936120033,
0.021289365366101265,
0.02158609963953495,
0.00695645110681653,
0.03096705861389637,
0.011988447047770023,
-0.008645403198897839,
-0.07804983109235764,
0.02896837331354618,
-0.016410674899816513,
0.001890794257633388,
0.0055961390025913715,
0.845372200012207,
0.005957126151770353,
0.0690983384847641,
0.02977142110466957,
0.0012323270784690976,
-0.02036799117922783,
-0.011721482500433922,
-0.017691191285848618,
-0.017204804345965385,
-0.00040938242455013096,
-0.020426541566848755,
0.020204974338412285,
-0.018362868577241898,
0.05484604462981224,
0.004051093943417072,
0.02441549114882946,
-0.012727441266179085,
0.017662348225712776,
0.01214656699448824,
0.03131766617298126,
0.04352853447198868,
0.015540684573352337,
-0.01146501861512661,
-0.0058632176369428635,
0.03942788764834404,
0.002891759853810072,
-0.15665121376514435,
-0.02870281971991062,
-7.461229986653691e-33,
0.03319374844431877,
0.0026234884280711412,
0.0190912913531065,
-0.009667168371379375,
-0.012977216392755508,
-0.021912753582000732,
0.010735783725976944,
-0.016632890328764915,
-0.05767913907766342,
0.005577828269451857,
0.02640244923532009,
0.002020413987338543,
-0.006117935758084059,
0.0029095327481627464,
0.05045101046562195,
-0.03889455273747444,
0.03415070101618767,
0.04534236341714859,
-0.008412014693021774,
0.023287365213036537,
0.01778280735015869,
-0.000009956693247659132,
0.021622980013489723,
-0.012492784298956394,
0.01990734413266182,
0.00690228957682848,
0.019051214680075645,
0.016743507236242294,
-0.021791480481624603,
-0.045506544411182404,
-0.052245207130908966,
0.024960769340395927,
-0.004478903487324715,
-0.01637164130806923,
0.06001989543437958,
-0.05801377445459366,
0.006763356737792492,
0.023912353441119194,
-0.03523274511098862,
-0.022546013817191124,
-0.021181076765060425,
0.006008825730532408,
-0.03392793983221054,
-0.0067270970903337,
-0.010470625944435596,
-0.026638468727469444,
0.000798888795543462,
0.04014503210783005,
0.0236491858959198,
0.030600853264331818,
0.02389494702219963,
0.003769733477383852,
-0.013872343115508556,
-0.027908822521567345,
-0.022254763171076775,
-0.03388609737157822,
0.0051954067312181,
0.001304348581470549,
0.004527473822236061,
0.04367716237902641,
0.0077092754654586315,
0.003817496122792363,
-0.011553272604942322,
0.05084306746721268,
0.010892298072576523,
-0.030194366350769997,
-0.017483150586485863,
0.016241174191236496,
0.00761923473328352,
0.016765914857387543,
-0.02207682840526104,
-0.0008947410969994962,
0.003793379059061408,
-0.023542724549770355,
0.010670457035303116,
-0.016521861776709557,
-0.01964593678712845,
-0.03454246371984482,
-0.022509049624204636,
0.024583905935287476,
0.007824667729437351,
-0.02738814987242222,
-0.0021470109932124615,
-0.026134677231311798,
-0.014727737754583359,
-0.007622427772730589,
0.009282111190259457,
-0.014838744886219501,
0.0010061636567115784,
-0.03451784327626228,
0.021500594913959503,
-0.014091837219893932,
0.014485282823443413,
-0.017288435250520706,
-0.039420805871486664,
7.647455475130804e-33,
-0.013568744994699955,
-0.022323397919535637,
0.01564386487007141,
-0.007881446741521358,
0.02779974602162838,
0.0058650122955441475,
0.03166372701525688,
0.014752005226910114,
-0.030745424330234528,
0.04862494394183159,
-0.02579353377223015,
-0.016500525176525116,
0.0002188237413065508,
0.028821373358368874,
0.027807123959064484,
-0.01913563348352909,
0.036279965192079544,
-0.01738063618540764,
-0.019436316564679146,
0.000057913028285838664,
0.030850300565361977,
-0.0057778325863182545,
0.007471917662769556,
0.03497687354683876,
0.03128679096698761,
0.051254503428936005,
-0.012622058391571045,
0.0268859900534153,
-0.002924294676631689,
-0.0009090497624129057,
-0.007404759060591459,
-0.046407487243413925,
0.020587051287293434,
-0.002699011703953147,
0.03144693747162819,
0.02285846695303917,
-0.006187496706843376,
0.010672762989997864,
0.05107331648468971,
-0.014221598394215107,
0.021670544520020485,
-0.014858969487249851,
-0.001483338070102036,
0.04461738467216492,
0.013113697990775108,
-0.017081033438444138,
0.03169584646821022,
0.01405402272939682,
0.02753724716603756,
0.00043747969903051853,
0.010573895648121834,
0.04085414111614227,
-0.013360608369112015,
0.013237742707133293,
-0.0012458544224500656,
-0.04150630906224251,
-0.04281110689043999,
0.016230983659625053,
-0.052843134850263596,
-0.006162337493151426,
-0.02334037981927395,
-0.011390864849090576,
-0.0015951014356687665,
0.01516757532954216,
-0.0008227881044149399,
-0.034739576280117035,
-0.0026367069222033024,
-0.030504906550049782,
0.001378122717142105,
-0.014580260030925274,
-0.02373882755637169,
-0.0012111320393159986,
-0.0011011959286406636,
0.04225834086537361,
-0.0001581283431733027,
-0.03631710633635521,
-0.007182172033935785,
0.010361452586948872,
0.023235920816659927,
0.02333332970738411,
0.024729829281568527,
-0.0043470654636621475,
-0.012064078822731972,
0.0024860219564288855,
-0.005876239389181137,
-0.0007401134935207665,
0.006539149209856987,
-0.0019389830995351076,
0.01440697256475687,
-0.037698227912187576,
0.027664540335536003,
-0.024624092504382133,
0.03495098650455475,
0.04126415401697159,
-0.003195584751665592,
-1.2964879836374621e-8,
0.004686429165303707,
-0.027824515476822853,
-0.019064774736762047,
0.02986891381442547,
0.04197762906551361,
0.004222681745886803,
-0.008507315069437027,
-0.015477362088859081,
-0.03545752540230751,
0.017031606286764145,
0.007245898246765137,
-0.016766084358096123,
0.022100647911429405,
0.010031252168118954,
0.062218789011240005,
-0.04423035681247711,
0.05331661179661751,
-0.017186177894473076,
0.010989130474627018,
-0.01187935471534729,
-0.011246679350733757,
0.029426850378513336,
-0.014959829859435558,
-0.0023215783294290304,
-0.04719623178243637,
-0.0278085395693779,
-0.00270797754637897,
-0.06057768315076828,
0.018959172070026398,
-0.04330064728856087,
0.01297032367438078,
-0.034079886972904205,
-0.049151305109262466,
-0.0043180291540920734,
0.0017178760608658195,
-0.019643284380435944,
-0.000026575893571134657,
0.014574302360415459,
0.010649126023054123,
-0.0025935685262084007,
-0.009781882166862488,
0.023279540240764618,
0.015186745673418045,
-0.025551412254571915,
-0.049589429050683975,
-0.02065455913543701,
-0.020101327449083328,
0.0016490565612912178,
0.002529167803004384,
-0.017614712938666344,
0.012134602293372154,
0.01723293401300907,
0.035455722361803055,
0.024548694491386414,
0.003780850674957037,
0.008914847858250141,
0.01835312694311142,
-0.05512620881199837,
-0.03382652625441551,
0.03180884197354317,
0.018962960690259933,
-0.011334748938679695,
-0.02138492651283741,
-0.0046037668362259865
] | clojure-not-so-lazy-sequences-a-k-a-chunking-behaviour | https://markhneedham.com/blog/2014/04/06/clojure-not-so-lazy-sequences-a-k-a-chunking-behaviour |
false | 2014-04-23 22:02:19 | Neo4j: Cypher - Flatten a collection | [
"neo4j"
] | [
"neo4j"
] | Every now and then in Cypher land we'll end up with a collection of arrays, often created via the http://docs.neo4j.org/chunked/stable/query-aggregation.html#aggregation-collect[COLLECT] function, that we want to squash down into one array.
For example let's say we have the following array of arrays\...
[source,cypher]
----
$ RETURN [[1,2,3], [4,5,6], [7,8,9]] AS result;
==> +---------------------------+
==> | result |
==> +---------------------------+
==> | [[1,2,3],[4,5,6],[7,8,9]] |
==> +---------------------------+
==> 1 row
----
\...and we want to return the array +++<cite>+++[1,2,3,4,5,6,7,8,9]+++</cite>+++.
Many programming languages have a 'flatten' function and although cypher doesn't we can make our own by using the +++<cite>+++http://docs.neo4j.org/chunked/stable/query-functions-collection.html#functions-reduce[REDUCE]+++</cite>+++ function:
[source,cypher]
----
$ WITH [[1,2,3], [4,5,6], [7,8,9]] AS result
RETURN REDUCE(output = [], r IN result | output + r) AS flat;
==> +---------------------+
==> | flat |
==> +---------------------+
==> | [1,2,3,4,5,6,7,8,9] |
==> +---------------------+
==> 1 row
----
Here we're passing the array 'output' over the collection and adding the individual arrays (+++<cite>+++[1,2,3]+++</cite>+++, +++<cite>+++[4,5,6]+++</cite>+++ and +++<cite>+++[7,8,9]+++</cite>+++) to that array as we iterate over the collection.
If we're working with numbers in Neo4j 2.0.1 we'll get this type exception with this version of the code:
[source,text]
----
==> SyntaxException: Type mismatch: expected Any, Collection<Any> or Collection<Collection<Any>> but was Integer (line 1, column 148)
----
We can easily work around that by coercing the type of 'output' like so:
[source,cypher]
----
WITH [[1,2,3], [4,5,6], [7,8,9]] AS result
RETURN REDUCE(output = range(0,-1), r IN result | output + r);
----
Of course this is quite a simple example but we can handle more complicated scenarios as well by using nested calls to REDUCE. For example let's say we wanted to completely flatten this array:
[source,cypher]
----
$ RETURN [[1,2,3], [4], [5, [6, 7]], [8,9]] AS result;
==> +-------------------------------+
==> | result |
==> +-------------------------------+
==> | [[1,2,3],[4],[5,[6,7]],[8,9]] |
==> +-------------------------------+
==> 1 row
----
We could write the following cypher code:
[source,cypher]
----
$ WITH [[1,2,3], [4], [5, [6, 7]], [8,9]] AS result
RETURN REDUCE(output = [], r IN result | output + REDUCE(innerOutput = [], innerR in r | innerOutput + innerR)) AS flat;
==> +---------------------+
==> | flat |
==> +---------------------+
==> | [1,2,3,4,5,6,7,8,9] |
==> +---------------------+
==> 1 row
----
Here we have an outer REDUCE function which iterates over +++<cite>+++[1,2,3]+++</cite>+++, +++<cite>+++[4]+++</cite>+++, +++<cite>+++[5, [6,7]]+++</cite>+++ and +++<cite>+++[8,9]+++</cite>+++ and then an inner REDUCE function which iterates over those individual arrays.
If we had more nesting then we could just introduce another level of nesting! | null | null | [
0.014776251278817654,
-0.03194046393036842,
-0.023486509919166565,
0.02392425946891308,
0.08172000199556351,
-0.001721358741633594,
-0.0030146308708935976,
0.010683214291930199,
0.013130543753504753,
-0.012034576386213303,
-0.0023746469523757696,
-0.013220650143921375,
-0.058161910623311996,
0.01129190344363451,
-0.022770144045352936,
0.06526128947734833,
0.051412347704172134,
-0.00034787817276082933,
0.0013227836461737752,
-0.01440417766571045,
0.035545751452445984,
0.02177710086107254,
0.022394128143787384,
0.022054219618439674,
0.07380863279104233,
-0.005358816124498844,
-0.009891671128571033,
-0.006494242697954178,
-0.04041127488017082,
-0.001881226897239685,
0.03197657689452171,
-0.006948916707187891,
0.016785379499197006,
-0.01214101817458868,
0.03479640185832977,
-0.012846389785408974,
-0.0495227612555027,
0.0021207130048424006,
-0.007465239614248276,
-0.004757057409733534,
-0.04206167906522751,
0.030759895220398903,
-0.011356309987604618,
0.031143033877015114,
-0.05050414055585861,
0.002057039877399802,
-0.047620728611946106,
0.022079182788729668,
-0.026339812204241753,
-0.0007191301556304097,
-0.08574642241001129,
0.018177539110183716,
0.00246769143268466,
0.0033714943565428257,
-0.004941225983202457,
0.05570052191615105,
-0.009882239624857903,
-0.05880942568182945,
0.04898772016167641,
-0.006844602059572935,
-0.020094523206353188,
0.01200975850224495,
0.014242377132177353,
0.04126238450407982,
-0.005628539714962244,
-0.03254353627562523,
-0.017034512013196945,
0.051368385553359985,
-0.05303893983364105,
-0.027650926262140274,
-0.010730313137173653,
0.008640834130346775,
-0.0035086472053080797,
-0.0036380153615027666,
-0.014245106838643551,
-0.035098351538181305,
-0.0007970540318638086,
0.04285489767789841,
0.012538570910692215,
0.04667868837714195,
-0.020870408043265343,
0.034921810030937195,
0.012247425504028797,
0.01591343991458416,
0.007502130698412657,
-0.043291352689266205,
-0.05243518948554993,
-0.0017613323871046305,
-0.05673567205667496,
0.03268333524465561,
0.01280105672776699,
-0.0654972568154335,
-0.017978627234697342,
-0.000059542286180658266,
-0.023124927654862404,
0.023584401234984398,
0.0021343035623431206,
-0.015977958217263222,
0.02339416928589344,
0.00941032636910677,
-0.026528485119342804,
-0.03828942030668259,
0.002387183951213956,
-0.032154250890016556,
-0.08513329923152924,
-0.022411972284317017,
-0.0204253401607275,
-0.02316293865442276,
0.01958145573735237,
-0.03549795225262642,
-0.020611759275197983,
-0.0025855498388409615,
-0.014944957569241524,
0.012220990844070911,
-0.06886661052703857,
0.05240531638264656,
0.032671038061380386,
-0.0015903760213404894,
-0.02318793348968029,
0.02081582136452198,
0.05002503842115402,
0.0322050042450428,
0.024275951087474823,
0.0754787027835846,
0.004339342471212149,
0.025042688474059105,
0.014064253307878971,
0.05213833227753639,
-0.024474553763866425,
-0.070243239402771,
-0.029289403930306435,
0.054533254355192184,
-0.0090019004419446,
0.018496260046958923,
-0.029707344248890877,
-0.04251626506447792,
-0.03110087290406227,
0.03520186245441437,
0.05895610526204109,
0.01901252567768097,
0.008527836762368679,
-0.0509345643222332,
0.011108584702014923,
-0.03453836962580681,
0.03894609957933426,
0.02041126787662506,
-0.057658601552248,
-0.013877390883862972,
-0.018728600814938545,
0.028676558285951614,
0.009738754481077194,
0.014379583299160004,
0.04235731437802315,
-0.03581887111067772,
0.02862389385700226,
0.11254886537790298,
0.035319361835718155,
0.02381374128162861,
-0.0021417930256575346,
-0.004350092727690935,
0.041698429733514786,
0.022406520321965218,
0.002909085014835,
0.056765228509902954,
-0.020697444677352905,
-0.011346799321472645,
-0.009290626272559166,
0.08299285918474197,
-0.00912330113351345,
-0.004207121208310127,
-0.030898910015821457,
-0.0486503466963768,
0.06537270545959473,
-0.018966974690556526,
-0.011545461602509022,
0.008281080052256584,
0.07902629673480988,
0.02487875148653984,
0.04031332954764366,
-0.003121786518022418,
-0.06707578897476196,
0.04714701324701309,
0.0026559103280305862,
-0.0069478475488722324,
0.00045127433259040117,
0.0069786678068339825,
0.08324246853590012,
0.047131773084402084,
0.032610468566417694,
0.03672175481915474,
-0.08474887162446976,
-0.0798373892903328,
-0.011770485900342464,
-0.016175875440239906,
0.06266142427921295,
-0.024646878242492676,
0.004496083594858646,
0.06375181674957275,
-0.020468177273869514,
0.021937170997262,
0.018190961331129074,
-0.0016452284762635827,
0.02125982940196991,
-0.05727052316069603,
-0.05811677500605583,
0.05312218517065048,
0.0060752034187316895,
-0.03439822047948837,
-0.039792608469724655,
0.017522966489195824,
-0.00988377071917057,
0.01644151471555233,
0.011263293214142323,
-0.027494268491864204,
0.03419741243124008,
0.03672375902533531,
0.037807922810316086,
-0.0023716194555163383,
0.016461249440908432,
-0.04201926663517952,
0.058142174035310745,
0.018425969406962395,
-0.04575009644031525,
0.009788304567337036,
-0.011558955535292625,
0.12441688030958176,
0.06193975731730461,
-0.004102750681340694,
-0.04187922179698944,
0.04416904225945473,
0.008911214768886566,
-0.03660976514220238,
0.011591369286179543,
-0.04098251461982727,
-0.023217953741550446,
0.0041922009550035,
-0.012325948104262352,
-0.004763179924339056,
-0.004216428380459547,
-0.025820333510637283,
-0.021403826773166656,
0.06303319334983826,
-0.019862748682498932,
0.0520644336938858,
0.03546713665127754,
-0.012821994721889496,
0.0014604898169636726,
-0.05257841572165489,
-0.03659491986036301,
0.019730841740965843,
0.01159445010125637,
-0.016143275424838066,
0.04748416692018509,
-0.05392693728208542,
-0.01572590321302414,
-0.013461087830364704,
-0.007310569752007723,
0.022509222850203514,
0.054856762290000916,
0.05906839668750763,
-0.04690093547105789,
0.04743528738617897,
-0.03950371593236923,
-0.008333077654242516,
-0.019209736958146095,
-0.07076578587293625,
-0.03588128834962845,
-0.026290375739336014,
0.029273929074406624,
0.0009361554402858019,
0.04615500569343567,
0.009324357844889164,
0.01895034685730934,
-0.004289453849196434,
0.0051057846285402775,
-0.032821930944919586,
0.016012458130717278,
-0.0025065536610782146,
-0.02141202799975872,
-0.0523197203874588,
-0.04194627329707146,
0.07695785164833069,
-0.023343035951256752,
-0.048339370638132095,
-0.02759936824440956,
-0.05715904384851456,
0.07014613598585129,
-0.06956321001052856,
-0.005219606216996908,
-0.00811586994677782,
0.039037249982357025,
0.05443945899605751,
-0.011655176989734173,
0.01106823980808258,
0.07549093663692474,
0.023025531321763992,
0.012325276620686054,
0.012582448311150074,
0.023577315732836723,
0.028150251135230064,
-0.03273295611143112,
0.03811050206422806,
0.04389621317386627,
0.00044469506246969104,
-0.01603975147008896,
-0.022912798449397087,
-0.018000593408942223,
-0.02915550023317337,
-0.2498714029788971,
0.03422009199857712,
-0.043761514127254486,
-0.027142301201820374,
0.019153932109475136,
-0.025511765852570534,
-0.005973045248538256,
-0.04054743051528931,
-0.009043345227837563,
-0.017216157168149948,
0.009512016549706459,
-0.02531322091817856,
-0.022827064618468285,
0.048233743757009506,
0.03556513413786888,
0.01866229996085167,
-0.03655867278575897,
-0.03251319378614426,
-0.006518667563796043,
0.03346623480319977,
0.0051605734042823315,
-0.04092463478446007,
-0.014187912456691265,
0.00988604873418808,
0.010293439030647278,
0.03474081680178642,
-0.08089577406644821,
0.014343656599521637,
-0.07379183918237686,
-0.037735141813755035,
-0.02376043051481247,
-0.02018440142273903,
0.018523432314395905,
-0.007198143284767866,
-0.023514172062277794,
-0.0236003827303648,
0.06997305899858475,
0.010446399450302124,
0.0123972836881876,
0.037335172295570374,
-0.036781806498765945,
-0.0418056920170784,
0.009998130612075329,
-0.01589900813996792,
0.07993102073669434,
0.0028085254598408937,
-0.053678568452596664,
-0.027526134625077248,
-0.03275289386510849,
0.054028045386075974,
-0.012450112029910088,
-0.039060357958078384,
-0.030572745949029922,
0.037099018692970276,
-0.023851094767451286,
-0.029867226257920265,
-0.021258551627397537,
-0.006649309769272804,
-0.04364585503935814,
0.005012246780097485,
0.013782679103314877,
-0.06242566928267479,
0.03446364402770996,
-0.06982333958148956,
-0.019984660670161247,
-0.042580246925354004,
-0.07360231131315231,
-0.01592879742383957,
0.057285159826278687,
0.04142288118600845,
0.0001451192219974473,
0.044776514172554016,
-0.022243276238441467,
-0.107732854783535,
-0.055540233850479126,
-0.03922640159726143,
0.0007041186327114701,
0.01533682830631733,
-0.01584426499903202,
0.052414342761039734,
-0.05834412947297096,
-0.05909706652164459,
-0.003216981887817383,
0.008671021088957787,
0.024599403142929077,
-0.012760103680193424,
-0.022911598905920982,
-0.021283186972141266,
-0.014636553823947906,
0.002008310053497553,
0.060294803231954575,
-0.02041715197265148,
0.0026792692951858044,
-0.002521687652915716,
0.01297359261661768,
0.04060906171798706,
0.006318192463368177,
-0.010971223004162312,
0.0198066346347332,
0.04296090453863144,
0.030903656035661697,
-0.030407333746552467,
0.012032945640385151,
-0.02975812740623951,
-0.04688334837555885,
0.015275223180651665,
-0.045768413692712784,
0.025638490915298462,
0.04705769941210747,
0.017789114266633987,
-0.02836722880601883,
0.013703396543860435,
0.05534730106592178,
-0.04219985380768776,
-0.015631377696990967,
0.0004070316790603101,
0.01347244344651699,
0.031029170379042625,
0.07788249105215073,
-0.022027941420674324,
-0.06949789822101593,
0.019599484279751778,
0.043560940772295,
-0.02779691480100155,
-0.05918816104531288,
-0.03883523866534233,
-0.018236348405480385,
-0.019739216193556786,
-0.005196643527597189,
0.022084111347794533,
-0.027551745995879173,
-0.00019798381254076958,
0.016474034637212753,
-0.03039717487990856,
0.030801665037870407,
-0.03181303292512894,
-0.03283355012536049,
-0.028651615604758263,
-0.0044915154576301575,
0.008493582718074322,
-0.0012621943606063724,
-0.00997706688940525,
0.006475209258496761,
0.0671493262052536,
0.014881563372910023,
0.016277112066745758,
0.00469345273450017,
0.012658488936722279,
0.01302089262753725,
0.031121090054512024,
-0.025914859026670456,
0.006680071819573641,
0.005907868966460228,
-0.020163368433713913,
0.0061434488743543625,
-0.0003531289112288505,
0.05701744556427002,
-0.03310176357626915,
-0.04251834750175476,
-0.056635335087776184,
0.027043912559747696,
-0.04105750098824501,
0.01421356201171875,
-0.026258952915668488,
-0.00701517378911376,
0.04734264686703682,
-0.020899320021271706,
0.022730497643351555,
-0.029697054997086525,
0.01751246489584446,
0.035027846693992615,
-0.009656097739934921,
-0.023865249007940292,
0.005266989581286907,
0.011769921518862247,
0.006095607299357653,
0.02517765574157238,
0.037364497780799866,
0.03842148557305336,
0.03271366283297539,
-0.0005687455413863063,
-0.0012163205537945032,
0.020544497296214104,
0.015975698828697205,
0.049598708748817444,
0.06140588968992233,
-0.022194862365722656,
0.020469842478632927,
-0.04702072590589523,
-0.0220287274569273,
-0.026521608233451843,
0.0002665762440301478,
-0.04497338458895683,
-0.0027501219883561134,
-0.023202557116746902,
-0.07242736965417862,
0.040232352912425995,
0.0232508834451437,
-0.027222435921430588,
0.02295633591711521,
0.025738148018717766,
-0.013357985764741898,
-0.027032271027565002,
0.02402242086827755,
0.05592181161046028,
-0.05677015334367752,
-0.02129325643181801,
-0.016392365097999573,
-0.0007295673713088036,
-0.005529189947992563,
0.03639419749379158,
-0.06835472583770752,
-0.042511630803346634,
-0.0057477764785289764,
0.0471099391579628,
-0.018980929628014565,
-0.03998027369379997,
0.00045061635319143534,
0.0012036507250741124,
-0.022017961367964745,
0.02358480915427208,
0.01544075459241867,
0.016589799895882607,
-0.010334796272218227,
-0.009577491320669651,
0.04742901399731636,
-0.03835407271981239,
0.004736239556223154,
0.013517765328288078,
-0.01827232912182808,
0.05043228715658188,
-0.026541925966739655,
0.02795838564634323,
0.0192714910954237,
0.01795884594321251,
0.0034649325534701347,
-0.037527356296777725,
0.021925607696175575,
-0.03820829465985298,
0.049228016287088394,
-0.018209567293524742,
-0.014127866365015507,
-0.046523503959178925,
0.022199086844921112,
-0.042675137519836426,
-0.017143884673714638,
0.008389302529394627,
-0.02393488772213459,
0.00039261701749637723,
0.02925405651330948,
-0.01007601898163557,
0.0577174574136734,
0.0053525399416685104,
-0.03926306962966919,
0.05314260348677635,
-0.008929654955863953,
-0.03818691894412041,
-0.024312753230333328,
-0.04269809275865555,
0.0027730492874979973,
-0.002458691829815507,
0.026363123208284378,
-0.039335962384939194,
0.04772133752703667,
0.04695221781730652,
0.030910035595297813,
0.00445671658962965,
-0.0314781591296196,
0.03213101252913475,
-0.008855857886373997,
-0.004482388962060213,
-0.07534992694854736,
-0.002190881874412298,
0.05346651375293732,
0.00677469139918685,
-0.009978662244975567,
0.009096247144043446,
-0.044397734105587006,
-0.005425349343568087,
-0.0634954497218132,
-0.018700283020734787,
0.02865067683160305,
-0.02755352482199669,
0.031659889966249466,
0.002655519638210535,
-0.05638144537806511,
-0.006413508206605911,
0.05549363046884537,
-0.00925456453114748,
-0.008912809193134308,
-0.04616989567875862,
0.06069151312112808,
-0.029475662857294083,
0.029140323400497437,
-0.0013755223480984569,
-0.013425313867628574,
0.06402181833982468,
0.02656598947942257,
0.03702114149928093,
0.07046829909086227,
-0.03218859061598778,
0.03013833612203598,
0.026671141386032104,
-0.013940907083451748,
-0.0004291909281164408,
0.03537943959236145,
-0.01896348036825657,
-0.033380571752786636,
0.028470762073993683,
0.00832393392920494,
-0.027988845482468605,
-0.025925658643245697,
0.08845537155866623,
0.011064049787819386,
-0.05428950488567352,
-0.06633403897285461,
0.01722286269068718,
-0.04807299003005028,
-0.02271495945751667,
-0.039036743342876434,
0.0034353327937424183,
-0.039631444960832596,
0.04346220940351486,
-0.03419901430606842,
-0.006976198870688677,
0.07811388373374939,
0.009625888429582119,
-0.025729453191161156,
0.019365906715393066,
0.07877403497695923,
0.07803575694561005,
0.0617327056825161,
-0.0024542200844734907,
0.06696479022502899,
-0.018302185460925102,
-0.027670009061694145,
-0.020642412826418877,
-0.02663331665098667,
-0.0017950172768905759,
0.0121383648365736,
0.032950300723314285,
0.06826484203338623,
-0.036531396210193634,
0.06385767459869385,
-0.032331980764865875,
-0.01973753422498703,
-0.0005314789013937116,
-0.0014219792792573571,
0.04522046819329262,
0.07410174608230591,
0.023653069511055946,
0.044376909732818604,
-0.029202327132225037,
-0.03006918355822563,
0.049049265682697296,
0.009382541291415691,
-0.013827773742377758,
0.011463520117104053,
-0.008624063804745674,
0.019179951399564743,
0.014739807695150375,
0.03430982306599617,
0.06734737008810043,
-0.008698207326233387,
-0.0019497168250381947,
0.010980452410876751,
0.00412918021902442,
-0.008453775197267532,
0.0002546470204833895,
-0.035232819616794586,
-0.04449395462870598,
-0.024616947397589684,
-0.05706610530614853,
-0.031314458698034286,
-0.022663014009594917,
-0.024246541783213615,
0.017858630046248436,
-0.004166580270975828,
-0.00992392748594284,
-0.00507381372153759,
-0.005088868550956249,
-0.024317177012562752,
-0.0616736076772213,
-0.05256138741970062,
-0.047450099140405655,
-0.0687987431883812,
0.0208257008343935,
0.006514608394354582,
0.023376358672976494,
-0.00832014624029398,
-0.004541186615824699,
-0.01488323975354433,
-0.0017410460859537125,
0.056500762701034546,
-0.02445870079100132,
0.023624645546078682,
-0.007277435157448053,
0.04115024209022522,
0.027273522689938545,
0.02640318125486374,
0.04634649306535721,
0.003335789078846574,
0.0032935894560068846,
-0.0002850997552741319,
0.012251918204128742,
0.053740739822387695,
0.031816937029361725,
-0.009268684312701225,
-0.06444091349840164,
-0.005466986447572708,
0.00994825642555952,
-0.018724830821156502,
-0.09595883637666702,
-0.004012014251202345,
0.060837071388959885,
-0.007137130480259657,
0.021618656814098358,
-0.01811504364013672,
-0.03715711086988449,
-0.033305469900369644,
0.012877886183559895,
0.01739002764225006,
0.01322863344103098,
0.03387176990509033,
-0.022564081475138664,
0.07330399751663208,
0.025238772854208946,
-0.021987956017255783,
-0.025433622300624847,
-0.013155863620340824,
-0.023867972195148468,
-0.006227269768714905,
-0.057649191468954086,
-0.0011647924548014998,
-0.03697723522782326,
-0.09232262521982193,
-0.04882456734776497,
-0.007432527374476194,
-0.05204819515347481,
-0.01185445487499237,
0.009130364283919334,
0.015734974294900894,
-0.04456266388297081,
0.03313294053077698,
-0.02825089357793331,
0.0590083934366703,
-0.024762246757745743,
0.002264352748170495,
-0.018563287332654,
0.02271631546318531,
0.005145733244717121,
0.03416956216096878,
0.011291342787444592,
-0.050199445337057114,
-0.007383736781775951,
-0.035074979066848755,
0.021451560780405998,
0.03344055637717247,
0.018304958939552307,
0.017072055488824844
] | [
-0.06943404674530029,
-0.010994254611432552,
-0.03867800161242485,
0.007373232860118151,
0.06775359809398651,
-0.01616133563220501,
-0.009908579289913177,
0.013329151086509228,
0.02335471473634243,
-0.006798984482884407,
0.0058430214412510395,
-0.011817133985459805,
0.00011677733709802851,
0.009767001494765282,
0.05930919945240021,
-0.00854993611574173,
-0.02561267837882042,
-0.02263174019753933,
-0.06315798312425613,
0.050097640603780746,
0.005178050138056278,
-0.03280777111649513,
-0.05324878543615341,
-0.03591880947351456,
0.022419307380914688,
0.03163205459713936,
0.027490928769111633,
-0.039058346301317215,
-0.009486663155257702,
-0.19800586998462677,
0.00582866370677948,
0.032062090933322906,
-0.0023670471273362637,
-0.015006241388618946,
0.008327518589794636,
0.02643834426999092,
0.0446680523455143,
-0.008433056063950062,
-0.013462749309837818,
0.054767411202192307,
0.05502743646502495,
0.01508688647300005,
-0.06314790993928909,
-0.02913692034780979,
0.04129195585846901,
0.023400606587529182,
-0.03497738763689995,
-0.024762840941548347,
-0.021653905510902405,
0.016215873882174492,
-0.034520722925662994,
-0.037449464201927185,
-0.02024281583726406,
0.00023217627312988043,
0.011967315338551998,
0.03416706994175911,
0.027064234018325806,
0.07331942021846771,
0.027291705831885338,
0.03742695599794388,
0.017486892640590668,
-0.020965373143553734,
-0.10537507385015488,
0.059969212859869,
0.02060418203473091,
0.011094710789620876,
-0.046943094581365585,
-0.014452284201979637,
-0.03643246367573738,
0.09227541089057922,
0.03797571733593941,
0.0014672456309199333,
-0.031275928020477295,
0.06282401829957962,
-0.00667332299053669,
0.009351407177746296,
-0.02267247624695301,
0.006437605246901512,
0.02098597213625908,
-0.01467022392898798,
-0.055962421000003815,
-0.009937345050275326,
-0.029767867177724838,
0.009886597283184528,
-0.014589013531804085,
0.045263756066560745,
-0.02617616392672062,
0.050914227962493896,
0.0031266335863620043,
0.02018374390900135,
0.03300957381725311,
0.04726504907011986,
0.040693264454603195,
0.04641234129667282,
-0.09288595616817474,
-0.024007709696888924,
0.004394693300127983,
0.027113132178783417,
0.004856577143073082,
0.38544467091560364,
0.00338264973834157,
0.011857699602842331,
0.06311994791030884,
0.011210104450583458,
-0.02924036979675293,
-0.02621566690504551,
0.004378955811262131,
-0.07487287372350693,
0.015203426592051983,
-0.01703421026468277,
-0.012547248974442482,
-0.04316789284348488,
0.058680664747953415,
-0.10807082802057266,
0.003539376426488161,
0.0018110827077180147,
0.04989894479513168,
0.029692595824599266,
-0.020284269005060196,
-0.0034272673074156046,
-0.014616507105529308,
0.021220576018095016,
0.035284582525491714,
0.00847544614225626,
0.034544263035058975,
0.032852113246917725,
0.020388761535286903,
0.05080537125468254,
0.05540521815419197,
0.05516541376709938,
0.06115230545401573,
0.006437241565436125,
-0.08111169189214706,
-0.002004816895350814,
-0.015225943177938461,
0.007779598701745272,
0.04357761889696121,
-0.0323067232966423,
-0.009787063114345074,
0.0686793252825737,
-0.027068279683589935,
0.0057142977602779865,
0.04956146329641342,
-0.003985727205872536,
-0.026498943567276,
0.13765868544578552,
-0.0013723446754738688,
-0.05123305693268776,
-0.028271958231925964,
-0.058633968234062195,
-0.00004421485573402606,
0.0404261015355587,
0.02680550143122673,
-0.05742982402443886,
-0.025144055485725403,
0.0271744541823864,
0.08044653385877609,
-0.006812343839555979,
-0.09542922675609589,
0.0029691029340028763,
-0.02893407829105854,
-0.011078570038080215,
-0.041481465101242065,
0.06599324196577072,
0.026529941707849503,
-0.0983007550239563,
-0.023814355954527855,
0.0187815073877573,
0.01502725575119257,
-0.07717930525541306,
0.016832634806632996,
0.008555034175515175,
-0.07934761792421341,
-0.02216893807053566,
0.0816928967833519,
-0.04240017756819725,
-0.05460634455084801,
-0.01679478958249092,
0.06260467320680618,
-0.006841886788606644,
-0.02475736103951931,
0.003353752661496401,
-0.038656026124954224,
0.006894266698509455,
-0.06638114899396896,
-0.06387542188167572,
-0.08110889792442322,
0.031067201867699623,
-0.022367840632796288,
-0.04960135743021965,
-0.025926176458597183,
-0.0092806750908494,
-0.05962061882019043,
0.08894558250904083,
-0.04686632752418518,
-0.06472093611955643,
0.005064943339675665,
0.013154999352991581,
-0.007054194342344999,
-0.01058227475732565,
0.007634067442268133,
0.028212986886501312,
-0.0025784496683627367,
0.031164152547717094,
-0.01953289285302162,
0.012418477796018124,
0.06588222831487656,
-0.06165657937526703,
0.0616033673286438,
0.040546927601099014,
-0.024239281192421913,
0.0197612214833498,
-0.003196326782926917,
0.04446109011769295,
0.007447411306202412,
-0.02278464287519455,
0.016815004870295525,
-0.011705863289535046,
0.018282562494277954,
0.023895202204585075,
-0.02606946788728237,
-0.0902666226029396,
-0.027162451297044754,
-0.35820022225379944,
-0.04048526659607887,
-0.009414593689143658,
-0.03328309953212738,
0.010475030168890953,
-0.023743700236082077,
0.00023039877123665065,
-0.033513784408569336,
-0.01596415787935257,
0.03580494597554207,
0.056768372654914856,
0.009399836882948875,
-0.018395347520709038,
-0.08692502975463867,
0.004715749062597752,
0.038835976272821426,
-0.008719593286514282,
-0.0035359421744942665,
-0.04098690673708916,
0.012921039946377277,
0.0006629822310060263,
-0.04523986950516701,
-0.012812962755560875,
-0.05439991131424904,
-0.006867682095617056,
0.004349554888904095,
0.1239905059337616,
0.004681641235947609,
0.025825439020991325,
-0.031009720638394356,
0.05290722846984863,
-0.004902845714241266,
-0.02797681652009487,
0.010625039227306843,
-0.012516289949417114,
-0.011816227808594704,
0.008079705759882927,
0.0008734614821150899,
-0.024968769401311874,
0.0015808790922164917,
-0.04919791594147682,
-0.006668535061180592,
-0.04893381521105766,
-0.06375395506620407,
-0.0294161569327116,
0.0313846692442894,
-0.06586171686649323,
-0.0309346504509449,
0.03887273743748665,
0.07585617154836655,
0.008829674683511257,
-0.002402582438662648,
0.0007108688005246222,
0.00037344105658121407,
0.02354547753930092,
-0.003028871724382043,
-0.07669419050216675,
-0.014262249693274498,
0.016954168677330017,
0.008084911853075027,
0.003770484123378992,
0.021425366401672363,
0.03478464111685753,
-0.09059331566095352,
0.028644384816288948,
0.019950268790125847,
-0.0024791350588202477,
0.013948805630207062,
0.0162649005651474,
-0.045483026653528214,
-0.020312407985329628,
0.0949750542640686,
0.01663813367486,
0.021378295496106148,
0.04505443200469017,
0.043152522295713425,
-0.015925614163279533,
0.02286146953701973,
0.033771101385354996,
0.009388859383761883,
0.05267158895730972,
-0.03315794840455055,
0.03493703529238701,
-0.022603662684559822,
-0.02736043743789196,
0.05282626673579216,
0.001253284513950348,
-0.04372921586036682,
0.037516772747039795,
-0.009953449480235577,
-0.023516898974776268,
0.014963682740926743,
-0.02007495053112507,
-0.04643573611974716,
0.08528786152601242,
-0.00021098584693390876,
-0.27138644456863403,
0.06524451076984406,
0.03425481915473938,
0.03696976602077484,
0.014906161464750767,
0.031063420698046684,
0.03199185058474541,
-0.01985655166208744,
0.000653351191431284,
0.002561480738222599,
0.023706017062067986,
0.07328735291957855,
0.016658537089824677,
-0.028734277933835983,
0.012135731056332588,
0.004814294632524252,
0.057042837142944336,
0.001869602594524622,
0.04338685795664787,
-0.008465767838060856,
0.052860572934150696,
-0.021287262439727783,
0.19273258745670319,
0.040665317326784134,
-0.013566456735134125,
0.018859412521123886,
-0.02705060876905918,
-0.0037989902775734663,
0.04079325497150421,
-0.0002240225876448676,
-0.011910506524145603,
0.028513899073004723,
0.02394724264740944,
0.02134709432721138,
0.023777218535542488,
-0.02688148431479931,
-0.008607232011854649,
0.046363115310668945,
0.025445735082030296,
-0.03441822528839111,
-0.017852606251835823,
-0.0009610913693904877,
-0.055357836186885834,
0.04311196878552437,
0.06163157895207405,
-0.04557647183537483,
-0.0019973258022218943,
-0.030725717544555664,
-0.07099924236536026,
-0.002323256339877844,
-0.03561624884605408,
-0.02565615624189377,
-0.003954104147851467,
-0.03818485513329506,
-0.024089723825454712,
0.07114195823669434,
-0.0007981365779414773,
-0.031394343823194504,
0.01482971478253603,
0.03597312048077583,
0.0018478514393791556,
-0.041578833013772964,
0.09949465095996857,
-0.01465078629553318,
0.026108527556061745
] | [
0.017963256686925888,
0.0637970045208931,
-0.0027379083912819624,
0.028057720512151718,
-0.021620528772473335,
-0.01976490579545498,
-0.029339376837015152,
-0.008395741693675518,
-0.02029542252421379,
0.0017646127380430698,
-0.08380395919084549,
0.025959644466638565,
0.054276760667562485,
-0.010457424446940422,
-0.028762321919202805,
0.015319020487368107,
-0.05460549145936966,
0.0358753427863121,
0.04010143131017685,
-0.01891374960541725,
-0.022551050409674644,
0.05027519166469574,
0.028757937252521515,
-0.008418263867497444,
-0.008216545917093754,
0.055685415863990784,
-0.026981675997376442,
0.017519624903798103,
0.02376626804471016,
-0.08886967599391937,
-0.043171681463718414,
-0.00033087554038502276,
0.02578621171414852,
0.011352886445820332,
-0.04057474806904793,
0.01626824587583542,
0.00089677405776456,
0.021350357681512833,
0.0006369365728460252,
0.02614479325711727,
0.013640689663589,
0.0015162306372076273,
-0.03571934252977371,
0.011214512400329113,
-0.0006899292930029333,
-0.01176940556615591,
-0.026281753554940224,
-0.011424492113292217,
-0.006721006706357002,
-0.016361676156520844,
-0.026482515037059784,
0.002589711220934987,
0.005856384057551622,
0.010841854847967625,
0.03974999859929085,
-0.0030368249863386154,
-0.07264930754899979,
-0.03987685218453407,
0.003758638398721814,
-0.04400363191962242,
-0.0042075407691299915,
-0.01405026949942112,
-0.08144895732402802,
-0.036262396723032,
0.007507104426622391,
-0.0375186912715435,
0.0031775105744600296,
0.05213163420557976,
0.022343965247273445,
-0.016320331022143364,
-0.0014448108850046992,
0.01743183098733425,
-0.07652261108160019,
-0.03271380811929703,
0.008511809632182121,
0.0404016450047493,
0.06251833587884903,
-0.054450444877147675,
0.013213281519711018,
-0.01677161082625389,
-0.02223386988043785,
0.018062764778733253,
-0.014233379624783993,
-0.004877226427197456,
-0.01766115054488182,
-0.0276702381670475,
-0.051562126725912094,
0.04333743453025818,
0.013876288197934628,
-0.02394794672727585,
-0.022223282605409622,
0.00592563534155488,
0.003302807454019785,
0.00931499246507883,
-0.07821562886238098,
-0.01709205098450184,
0.04199739173054695,
-0.022456634789705276,
0.012356924824416637,
0.806884229183197,
0.030228624120354652,
0.03470249101519585,
0.00008559090929338709,
0.006120865698903799,
-0.01511274091899395,
0.006360027939081192,
0.00028164280229248106,
0.013150258921086788,
-0.0261134821921587,
-0.016044603660702705,
-0.030820336192846298,
-0.007862917147576809,
0.02284003421664238,
0.009814714081585407,
-0.037727221846580505,
0.06280109286308289,
0.024803943932056427,
-0.0006512348190881312,
-0.009180072695016861,
-0.030108094215393066,
0.013614303432404995,
-0.020963219925761223,
0.020729290321469307,
0.05591317266225815,
0.018321234732866287,
-0.1379508078098297,
-0.045695312321186066,
-7.101159169265531e-33,
0.03667584806680679,
-0.007645118981599808,
0.042356833815574646,
0.008540297858417034,
0.0004590710741467774,
0.02816534973680973,
0.022250665351748466,
-0.007004339247941971,
-0.005602971650660038,
-0.03309790790081024,
-0.0055827731266617775,
0.03187929093837738,
0.03035370260477066,
-0.014738764613866806,
0.01578308269381523,
-0.025844285264611244,
0.03538060560822487,
0.03885597363114357,
-0.009427444078028202,
-0.025418506935238838,
-0.017722632735967636,
0.046746253967285156,
-0.004533897154033184,
0.012900304980576038,
0.020305125042796135,
-0.0035217064432799816,
-0.0005758777260780334,
-0.014147325418889523,
-0.02474118024110794,
-0.0613919161260128,
-0.04093870893120766,
0.05752896890044212,
-0.009886479936540127,
-0.025442201644182205,
0.031688589602708817,
-0.06615875661373138,
-0.016226720064878464,
-0.007654353976249695,
-0.02459215745329857,
-0.058205436915159225,
-0.030875124037265778,
-0.007840334437787533,
0.011184348724782467,
-0.02203737385571003,
-0.01864185556769371,
-0.03440946340560913,
-0.016979483887553215,
0.00019167452410329133,
0.01303879451006651,
0.06451719999313354,
0.012223867699503899,
0.017922746017575264,
-0.0016428556991741061,
0.030957801267504692,
-0.0345454178750515,
0.01961255632340908,
0.0315617173910141,
0.037375401705503464,
-0.0245532114058733,
0.027173206210136414,
-0.009808843024075031,
0.022800035774707794,
-0.013575264252722263,
0.05320535600185394,
0.0008513665525242686,
0.024994464591145515,
-0.01937086135149002,
0.05224096029996872,
-0.0070466636680066586,
0.05707471817731857,
-0.02062249928712845,
0.0729462131857872,
-0.030420832335948944,
-0.033680714666843414,
0.03198399767279625,
-0.05551067367196083,
0.01930168643593788,
-0.030852623283863068,
-0.0024216091260313988,
0.005465343594551086,
0.021181348711252213,
-0.020824527367949486,
0.0029235444962978363,
-0.029937881976366043,
-0.00877473596483469,
0.02201533131301403,
-0.0021240822970867157,
0.01325523667037487,
0.028296779841184616,
-0.01793454959988594,
0.018171928822994232,
-0.007564236875623465,
-0.006887601222842932,
-0.031020181253552437,
-0.02667926996946335,
6.71463017809227e-33,
-0.013636445626616478,
0.016621652990579605,
-0.03315068036317825,
0.0017995188245549798,
0.016327086836099625,
-0.017436934635043144,
0.04131369665265083,
-0.005578518845140934,
-0.028447408229112625,
0.0052840798161923885,
-0.021756280213594437,
0.019756490364670753,
-0.001869729021564126,
0.03207651525735855,
0.03284316137433052,
-0.021680297330021858,
0.02018570527434349,
-0.024711938574910164,
0.014447763562202454,
0.03143734857439995,
-0.03410278633236885,
-0.026590177789330482,
0.031137818470597267,
0.025947608053684235,
-0.022427940741181374,
0.006861516740173101,
-0.017233002930879593,
0.014997879974544048,
-0.004488887265324593,
-0.01004028134047985,
0.017389874905347824,
-0.04202348738908768,
-0.006275551859289408,
-0.016513735055923462,
0.0389571413397789,
0.007307272404432297,
0.004531477577984333,
-0.01407881360501051,
0.013363082893192768,
-0.019048843532800674,
-0.0067134457640349865,
0.004966404289007187,
-0.027559131383895874,
0.04843270033597946,
0.044227711856365204,
-0.028358224779367447,
0.024056483060121536,
0.018375782296061516,
0.004322229418903589,
0.01567729562520981,
0.0006432592053897679,
0.02106522209942341,
-0.0027321199886500835,
0.05952763557434082,
0.04199780896306038,
-0.05838135629892349,
0.016519194468855858,
0.02567978762090206,
0.038640912622213364,
-0.011160019785165787,
-0.029828282073140144,
-0.006300174165517092,
-0.08890199661254883,
0.027462288737297058,
0.011195010505616665,
-0.020364539697766304,
-0.030746685341000557,
0.0017989326734095812,
-0.024817662313580513,
0.03093705140054226,
-0.0021412037312984467,
0.003675134154036641,
0.012501374818384647,
0.04005055874586105,
-0.025512706488370895,
-0.008259215392172337,
-0.014206553809344769,
-0.008395489305257797,
-0.03169923648238182,
0.029242735356092453,
0.02489054575562477,
-0.03883104771375656,
0.03808895871043205,
0.020793847739696503,
-0.01566375233232975,
-0.0039022224955260754,
0.012719210237264633,
-0.002931300550699234,
-0.031843602657318115,
-0.015168935060501099,
0.027278117835521698,
-0.027090076357126236,
0.016271883621811867,
0.06472937017679214,
-0.004660776350647211,
-1.2477577193692468e-8,
-0.02112591080367565,
0.0013605725253000855,
-0.035223573446273804,
-0.002248114673420787,
0.030516786500811577,
-0.006277888081967831,
0.005140840541571379,
-0.033015284687280655,
-0.02104574628174305,
-0.0028809637296944857,
0.02977878600358963,
-0.02818332053720951,
0.025529133155941963,
0.007048351224511862,
0.023895397782325745,
-0.028127390891313553,
0.013825783506035805,
-0.005456406623125076,
0.022585544735193253,
0.022622525691986084,
-0.023402074351906776,
0.022607017308473587,
-0.03181953728199005,
-0.016914522275328636,
-0.0014323085779324174,
-0.011299270205199718,
0.0043792398646473885,
-0.03786376491189003,
0.03678310662508011,
-0.0439276397228241,
0.02183350920677185,
-0.00803169421851635,
-0.0006034980760887265,
0.0542328879237175,
-0.00330775766633451,
-0.008632314391434193,
0.045338019728660583,
0.025574857369065285,
0.010885640047490597,
0.041154228150844574,
-0.05217878147959709,
0.027782268822193146,
-0.03689797222614288,
-0.03643292188644409,
-0.022107813507318497,
-0.031482815742492676,
-0.042629923671483994,
-0.023347821086645126,
0.0701594352722168,
-0.06476651132106781,
0.036106616258621216,
-0.020122725516557693,
0.030089223757386208,
-0.00035657430998981,
0.06224808469414711,
-0.015048159286379814,
-0.017523670569062233,
-0.006912646349519491,
0.052114956080913544,
0.02968313917517662,
-0.011152481660246849,
-0.005875578615814447,
-0.03479399159550667,
-0.009154682978987694
] | neo4j-cypher-flatten-a-collection | https://markhneedham.com/blog/2014/04/23/neo4j-cypher-flatten-a-collection |
false | 2014-04-13 17:40:05 | Neo4j 2.0.0: Query not prepared correctly / Type mismatch: expected Map | [
"neo4j"
] | [
"neo4j"
] | I was playing around with Neo4j's Cypher last weekend and found myself accidentally running some queries against an earlier version of the Neo4j 2.0 series (2.0.0).
My first query started with a map and I wanted to create a person from an identifier inside the map:
[source,cypher]
----
WITH {person: {id: 1}} AS params
MERGE (p:Person {id: params.person.id})
RETURN p
----
When I ran the query I got this error:
[source,text]
----
==> SyntaxException: Type mismatch: expected Map but was Boolean, Number, String or Collection<Any> (line 1, column 62)
==> "WITH {person: {id: 1}} AS params MERGE (p:Person {id: params.person.id}) RETURN p"
----
If we try the same query in 2.0.1 it works as we'd expect:
[source,text]
----
==> +---------------+
==> | p |
==> +---------------+
==> | Node[1]{id:} |
==> +---------------+
==> 1 row
==> Nodes created: 1
==> Properties set: 1
==> Labels added: 1
==> 47 ms
----
My next query was the following which links topics of interest to a person:
[source,cypher]
----
WITH {topics: [{name: "Java"}, {name: "Neo4j"}]} AS params
MERGE (p:Person {id: 2})
FOREACH(t IN params.topics |
MERGE (topic:Topic {name: t.name})
MERGE (p)-[:INTERESTED_IN]->(topic)
)
RETURN p
----
In 2.0.0 that query fails like so:
[source,text]
----
==> InternalException: Query not prepared correctly!
----
but if we try it in 2.0.1 we'll see that it works as well:
[source,text]
----
==> +---------------+
==> | p |
==> +---------------+
==> | Node[4]{id:2} |
==> +---------------+
==> 1 row
==> Nodes created: 1
==> Relationships created: 2
==> Properties set: 1
==> Labels added: 1
==> 53 ms
----
So if you're seeing either of those errors then http://www.neo4j.org/download[get yourself upgraded] to 2.0.1 as well! | null | null | [
-0.014330544508993626,
-0.033253900706768036,
-0.019388673827052116,
0.057011350989341736,
0.08427441865205765,
-0.018316345289349556,
0.037030015140771866,
-0.003885472659021616,
0.010436613112688065,
-0.03534659370779991,
-0.005040500778704882,
-0.021777620539069176,
-0.07995118200778961,
0.028047645464539528,
-0.0012284001568332314,
0.07007665932178497,
0.08191709965467453,
0.010354283265769482,
0.008723217993974686,
-0.019441064447164536,
-0.01494541671127081,
0.04373892769217491,
-0.007959376089274883,
0.02083045430481434,
0.05434563755989075,
0.015613216906785965,
-0.020885128527879715,
-0.000909774040337652,
-0.042661651968955994,
-0.0012725915294140577,
0.04290815815329552,
0.009171690791845322,
0.029973642900586128,
-0.014801987446844578,
0.010508096776902676,
0.0002935177180916071,
-0.04308270290493965,
-0.004638636019080877,
-0.015040866099298,
-0.003262253711000085,
-0.05414247140288353,
0.034229107201099396,
-0.011036132462322712,
0.01513086911290884,
-0.01843593828380108,
-0.01944185607135296,
-0.060991428792476654,
0.037515535950660706,
0.00019173107284586877,
0.011400344781577587,
-0.07768309861421585,
0.006056572310626507,
-0.0063386764377355576,
0.010823219083249569,
-0.0015099314041435719,
0.03071676567196846,
0.000174731423612684,
-0.10485593229532242,
0.06970248371362686,
-0.02536698244512081,
-0.00023760899784974754,
0.0001797229633666575,
-0.008531627245247364,
0.0011909465538337827,
-0.0067606656812131405,
-0.03282800316810608,
-0.014738555066287518,
0.05280795320868492,
-0.0620817132294178,
-0.0036943117156624794,
-0.0014855779008939862,
0.006017034873366356,
0.0058681173250079155,
-0.009661468677222729,
0.006934960372745991,
-0.05248534306883812,
-0.002886052941903472,
0.048961348831653595,
0.04250561073422432,
0.03659979999065399,
-0.029796177521348,
0.0031168260611593723,
0.009874412789940834,
0.010347092524170876,
0.04873431846499443,
-0.04057367518544197,
-0.04714618995785713,
-0.044247016310691833,
-0.035475462675094604,
0.026119697839021683,
0.023899847641587257,
-0.05929889902472496,
-0.011416174471378326,
0.005652825813740492,
-0.016336169093847275,
0.013777474872767925,
-0.024647856131196022,
-0.014157557860016823,
0.0016814189730212092,
-0.021433589980006218,
-0.026572832837700844,
0.0029075993224978447,
0.0019818127620965242,
0.02428191341459751,
-0.06674199551343918,
-0.021711736917495728,
-0.03155166283249855,
-0.007608219049870968,
0.014388460665941238,
-0.01848125085234642,
-0.08153099566698074,
0.004501077346503735,
0.023528337478637695,
0.031042929738759995,
-0.0728306919336319,
0.05704796686768532,
0.036419663578271866,
0.02313258685171604,
-0.020407309755682945,
0.030139263719320297,
0.02101626805961132,
0.032606225460767746,
-0.0017129300395026803,
0.07487480342388153,
-0.02273581549525261,
0.07036390900611877,
-0.01856647990643978,
0.04824558645486832,
-0.014736541546881199,
-0.05981917679309845,
-0.02893552929162979,
0.05595581606030464,
0.030762970447540283,
0.019566219300031662,
-0.0057821315713226795,
-0.03996023163199425,
-0.02939898520708084,
0.025759536772966385,
0.044608864933252335,
0.015339871868491173,
0.00082702114013955,
-0.05248690024018288,
0.04770428687334061,
0.011123445816338062,
0.040291402488946915,
0.045329704880714417,
-0.026087643578648567,
-0.03029533289372921,
0.0005248921806924045,
0.017879851162433624,
0.03505541756749153,
0.044139374047517776,
0.07010351866483688,
0.004186739679425955,
-0.004632738418877125,
0.1256578117609024,
-0.00941393245011568,
-0.0012170890113338828,
0.01164297666400671,
0.028479335829615593,
0.028963766992092133,
0.0335419699549675,
0.02415585331618786,
0.052382513880729675,
0.013684174045920372,
0.00966455414891243,
-0.007149410899728537,
0.062308184802532196,
-0.01756867580115795,
-0.010850983671844006,
-0.03288457915186882,
-0.08080960810184479,
0.03666751831769943,
-0.050890468060970306,
0.01198215875774622,
0.04431012272834778,
0.06527362763881683,
0.009152782149612904,
0.02888410910964012,
0.015834495425224304,
-0.06920433044433594,
0.04655404016375542,
-0.01970086805522442,
-0.003762052860110998,
0.00803380273282528,
0.014852763153612614,
0.06688066571950912,
0.045131467282772064,
0.011276147328317165,
0.0422297865152359,
-0.08238837122917175,
-0.04475846141576767,
-0.017998183146119118,
0.006769559346139431,
0.0637180432677269,
-0.03217780590057373,
-0.002536187879741192,
0.03335105627775192,
0.0010976593475788832,
0.02214282564818859,
0.012637101113796234,
-0.014755228534340858,
0.03453215956687927,
-0.027712302282452583,
-0.036236558109521866,
0.05986205115914345,
0.04853438585996628,
-0.045253001153469086,
-0.02998119592666626,
0.007158912252634764,
-0.00930245965719223,
-0.0031568652484565973,
0.016607040539383888,
-0.007302462123334408,
0.059780266135931015,
0.026106012985110283,
0.014628727920353413,
-0.03652011975646019,
0.027258334681391716,
-0.03256799280643463,
0.04923652857542038,
0.03593474254012108,
-0.007860052399337292,
-0.005563806276768446,
-0.0019974156748503447,
0.1268187314271927,
0.03155927732586861,
0.0005271616973914206,
-0.06117499992251396,
0.0310811884701252,
0.011965651996433735,
-0.013234279118478298,
0.046126384288072586,
-0.014679225161671638,
-0.001577444258145988,
-0.006684418767690659,
-0.008169305510818958,
-0.012195260263979435,
-0.010679193772375584,
-0.03563007339835167,
0.009040198288857937,
0.05634264275431633,
-0.029993757605552673,
0.05342070385813713,
0.012923948466777802,
-0.0021986549254506826,
-0.021015748381614685,
-0.055284906178712845,
-0.018793124705553055,
0.04185529053211212,
0.013447104953229427,
-0.01050848700106144,
0.05231909826397896,
-0.042310841381549835,
-0.02057589590549469,
-0.04037773609161377,
-0.02397792786359787,
0.027838099747896194,
0.04566940665245056,
0.051688555628061295,
-0.028858814388513565,
0.053741518408060074,
-0.0468781441450119,
0.01631348393857479,
-0.020329555496573448,
-0.04335499927401543,
-0.04705127328634262,
-0.00440819701179862,
0.023934008553624153,
0.011506552807986736,
0.02712799794971943,
-0.012059686705470085,
0.030004220083355904,
-0.03160379081964493,
0.011758523993194103,
0.02419356256723404,
0.017017580568790436,
0.005060900002717972,
0.000014057544831302948,
-0.042443566024303436,
-0.016320958733558655,
0.04651504009962082,
-0.05526832118630409,
-0.06121671199798584,
-0.0363289974629879,
-0.05123212933540344,
0.03702375665307045,
-0.05617404356598854,
-0.04969196766614914,
0.01024383120238781,
0.06323440372943878,
0.05646863952279091,
0.007111257873475552,
0.0028234601486474276,
0.08749912679195404,
-0.00015256401093211025,
0.011436774395406246,
0.030842764303088188,
-0.010956908576190472,
0.0676179975271225,
-0.014179510064423084,
0.060238320380449295,
0.033052872866392136,
-0.018468603491783142,
0.005852425936609507,
-0.05794958025217056,
-0.0007956989575177431,
-0.007301646284759045,
-0.2609086036682129,
0.04009466618299484,
-0.040273457765579224,
-0.0327598936855793,
0.02099650911986828,
-0.04829559475183487,
0.015024746768176556,
-0.015747729688882828,
-0.03620564192533493,
0.037882063537836075,
0.015570216812193394,
-0.015148481354117393,
-0.020552141591906548,
0.03599471598863602,
0.0010011610575020313,
-0.014282136224210262,
-0.015318268910050392,
-0.05132664740085602,
0.00832138117402792,
0.03086354024708271,
-0.018225673586130142,
-0.05382103845477104,
0.011517769657075405,
0.009593022987246513,
0.04654932767152786,
0.04678674414753914,
-0.07226300984621048,
0.034145671874284744,
-0.03474153205752373,
-0.01884939894080162,
0.0002785579999908805,
-0.010912732221186161,
0.019516102969646454,
0.0029135190416127443,
-0.034064874053001404,
-0.017980530858039856,
0.019481457769870758,
0.006572057958692312,
0.007258823607116938,
0.038250718265771866,
-0.06276876479387283,
-0.06719865649938583,
-0.011583704501390457,
-0.02219851315021515,
0.07530995458364487,
-0.011607371270656586,
-0.07605939358472824,
-0.01525280810892582,
-0.030404869467020035,
0.04580433666706085,
-0.015630390495061874,
-0.024390796199440956,
0.002577227307483554,
0.015749987214803696,
-0.012274335138499737,
-0.00629028957337141,
-0.020901231095194817,
-0.009433404542505741,
-0.08161293715238571,
-0.005594547372311354,
0.003979754634201527,
-0.062237031757831573,
0.013825167901813984,
-0.04274079576134682,
-0.01604445092380047,
-0.05459939315915108,
-0.07710669189691544,
-0.05245169624686241,
0.06670801341533661,
0.03684398531913757,
-0.005565986502915621,
0.012159861624240875,
-0.009328505024313927,
-0.09765969961881638,
-0.03245484456419945,
-0.040059614926576614,
0.0016063305083662271,
-0.015161184594035149,
-0.03864471614360809,
0.03817975893616676,
-0.047240249812603,
-0.019079342484474182,
0.011361312121152878,
0.02738480642437935,
0.02450077049434185,
0.024095594882965088,
-0.011425665579736233,
-0.023745987564325333,
-0.030316883698105812,
0.010101986117661,
0.06058124452829361,
-0.033422332257032394,
-0.010475893504917622,
-0.0037994764279574156,
-0.001580277574248612,
0.035054706037044525,
0.016854584217071533,
0.010082981549203396,
0.01721605844795704,
0.03419608622789383,
0.07628780603408813,
-0.027834923937916756,
0.022397659718990326,
-0.022165749222040176,
-0.026649540290236473,
-0.013694517314434052,
-0.03607693314552307,
0.011270204558968544,
0.00038251851219683886,
0.009305153973400593,
-0.015271788462996483,
-0.017748985439538956,
-0.01391713134944439,
-0.058659352362155914,
-0.03970428183674812,
-0.02433132939040661,
0.023234426975250244,
0.01921124942600727,
0.05156562477350235,
-0.04847891256213188,
-0.06774862110614777,
0.04625667631626129,
0.05483011528849602,
-0.00023462063109036535,
-0.06001958250999451,
-0.055508390069007874,
-0.036013491451740265,
-0.02235022559762001,
0.006158346310257912,
0.025006450712680817,
-0.04688635468482971,
0.022473562508821487,
0.023377675563097,
-0.00965521764010191,
0.038242537528276443,
-0.018160298466682434,
-0.001584917539730668,
-0.013866194523870945,
-0.0361168310046196,
0.005128801800310612,
0.01263459399342537,
-0.01321501936763525,
-0.009279245510697365,
0.035596057772636414,
0.02135971374809742,
-0.013284046202898026,
0.016919191926717758,
0.0028281693812459707,
-0.0018139113672077656,
0.012546236626803875,
-0.030767694115638733,
-0.032008036971092224,
0.012548722326755524,
-0.042353205382823944,
-0.038024671375751495,
-0.01121261715888977,
0.05046989396214485,
-0.04133128374814987,
-0.005075021181255579,
-0.036584895104169846,
0.019650813192129135,
-0.0723344087600708,
0.024479279294610023,
-0.0036080116406083107,
-0.01661648228764534,
0.034892160445451736,
-0.043619949370622635,
0.017033547163009644,
-0.044314585626125336,
-0.02897130884230137,
0.00986476056277752,
-0.02597280777990818,
-0.025150183588266373,
0.012378023006021976,
-0.0070870500057935715,
0.021168213337659836,
0.009215893223881721,
0.0679224357008934,
0.01596793904900551,
0.016695460304617882,
0.0024671133141964674,
0.019126804545521736,
0.007887803018093109,
0.020868860185146332,
0.045667242258787155,
-0.013946602120995522,
-0.02331002615392208,
-0.012634878978133202,
-0.022001054137945175,
-0.04328092560172081,
-0.003592888591811061,
-0.02335810475051403,
-0.027057833969593048,
0.03885563462972641,
-0.033282481133937836,
-0.04396714270114899,
0.02115127258002758,
0.0069337268359959126,
0.022117871791124344,
0.03444890305399895,
0.002470647916197777,
0.008477377705276012,
-0.014867939054965973,
0.013887842185795307,
0.07284615188837051,
-0.054462458938360214,
-0.018694080412387848,
-0.019071931019425392,
-0.040363650768995285,
0.00627285148948431,
0.03454187512397766,
-0.030739855021238327,
-0.030698008835315704,
-0.002757811453193426,
-0.00041211553616449237,
-0.008449772372841835,
-0.03695080429315567,
-0.0024584352504462004,
0.019741253927350044,
0.007905752398073673,
0.021476153284311295,
0.009376714937388897,
0.02199152484536171,
-0.01314050704240799,
0.015017958357930183,
0.045916441828012466,
-0.03869993984699249,
-0.028941640630364418,
0.018557291477918625,
-0.005195842124521732,
0.035853564739227295,
-0.03261435031890869,
0.03791603818535805,
0.014551371335983276,
0.008012687787413597,
-0.01922346092760563,
-0.05444987118244171,
0.014585780911147594,
-0.006134493742138147,
0.039096590131521225,
0.01942448318004608,
-0.01555937435477972,
-0.003240385791286826,
0.004093097522854805,
0.0017312876880168915,
0.01757057011127472,
0.0015881843864917755,
0.0016925695817917585,
0.010744771920144558,
0.01316069345921278,
0.008029181510210037,
0.04143062233924866,
-0.03740953281521797,
-0.024869760498404503,
0.070123091340065,
0.0015229170676320791,
-0.046162113547325134,
-0.009227369911968708,
-0.051713891327381134,
0.0056350077502429485,
0.00869619008153677,
0.0322904959321022,
-0.05228910967707634,
0.06474903970956802,
0.062975212931633,
0.004402921535074711,
0.02567259594798088,
-0.020182250067591667,
0.035955458879470825,
-0.0324055477976799,
-0.05425487831234932,
-0.07753515988588333,
-0.010088176466524601,
0.04804219305515289,
0.022095032036304474,
-0.0030277736950665712,
-0.03609910234808922,
-0.008464379236102104,
-0.0016634220955893397,
-0.02619088999927044,
-0.027338089421391487,
0.0373254232108593,
-0.006487754639238119,
0.03733514994382858,
0.034376341849565506,
-0.043246809393167496,
-0.004265874158591032,
0.03360898420214653,
-0.03523600846529007,
-0.04031798988580704,
-0.04028121754527092,
0.03219268471002579,
-0.006140522193163633,
0.047369334846735,
-0.025240113958716393,
-0.03030473180115223,
0.062036626040935516,
0.044596411287784576,
0.05077265202999115,
0.07336229830980301,
-0.04008917510509491,
0.03751193359494209,
0.030667170882225037,
-0.003990367520600557,
0.0023852435406297445,
0.06202666461467743,
-0.04177450016140938,
-0.05623341724276543,
0.03261087089776993,
-0.007557216100394726,
-0.028046395629644394,
-0.0453769713640213,
0.0727694109082222,
-0.008693760260939598,
-0.06165548786520958,
-0.02274763025343418,
0.03077360801398754,
-0.03228957578539848,
-0.030718974769115448,
-0.06147918850183487,
0.018245214596390724,
-0.03879501670598984,
0.056220799684524536,
-0.0021001233253628016,
0.028136810287833214,
0.048467233777046204,
-0.0037300519179552794,
0.016580823808908463,
-0.007192693185061216,
0.06954475492238998,
0.10236561298370361,
0.027631422504782677,
0.005524283275008202,
0.06662353128194809,
-0.0008948977338150144,
-0.03752870857715607,
-0.010532310232520103,
-0.0500565767288208,
-0.013447845354676247,
0.018205394968390465,
-0.0013371806126087904,
0.08493296802043915,
-0.012593467719852924,
0.06300927698612213,
-0.041403546929359436,
-0.004894264508038759,
-0.007872775197029114,
-0.009880105033516884,
0.05648425593972206,
0.029351523146033287,
0.019743166863918304,
0.04525243863463402,
-0.027806898579001427,
-0.03960385173559189,
0.012416468933224678,
0.005811097100377083,
-0.01723356917500496,
0.0021167490631341934,
-0.018540268763899803,
-0.00471309432759881,
0.004702997859567404,
0.01975019834935665,
0.08818789571523666,
-0.023267285898327827,
-0.023093685507774353,
-0.0007074837340041995,
-0.0008116476237773895,
-0.0006927865906618536,
-0.008057298138737679,
0.018809756264090538,
-0.042221687734127045,
-0.010674556717276573,
-0.030256638303399086,
-0.030207857489585876,
-0.02798922173678875,
-0.0531768761575222,
-0.004128313157707453,
-0.028994113206863403,
-0.006050742696970701,
-0.008363274857401848,
-0.02351527474820614,
-0.033236078917980194,
-0.03952891379594803,
-0.060251448303461075,
-0.022621873766183853,
-0.07622521370649338,
0.014496473595499992,
-0.009308976121246815,
-0.0008290557889267802,
-0.005271067842841148,
0.02836693450808525,
-0.00942846667021513,
-0.0023024980910122395,
0.026772266253829002,
-0.008942833170294762,
0.0023460385855287313,
0.011886248365044594,
0.023753292858600616,
0.010283944196999073,
0.04140756279230118,
0.05836476385593414,
0.0018547436920925975,
0.043126918375492096,
-0.006818751338869333,
-0.013097821734845638,
0.04563689976930618,
0.010834887623786926,
0.010927989147603512,
-0.07972820848226547,
-0.029251759871840477,
0.023024413734674454,
-0.029952874407172203,
-0.07178432494401932,
-0.012892639264464378,
0.049734652042388916,
-0.00794605165719986,
0.03179037570953369,
0.016286730766296387,
-0.015509601682424545,
-0.021594759076833725,
0.008177246898412704,
0.005655154585838318,
-0.025506358593702316,
0.037214651703834534,
-0.03958562761545181,
0.05363938957452774,
0.010126789100468159,
-0.02656596712768078,
-0.018467014655470848,
-0.0071537247858941555,
0.006636574398726225,
0.0014346770476549864,
-0.03632074221968651,
-0.05550381913781166,
-0.03723679855465889,
-0.07308419048786163,
-0.018761267885565758,
0.0020996553357690573,
-0.014979382045567036,
-0.005717647261917591,
-0.013237672857940197,
0.03730986639857292,
-0.04865007475018501,
0.03646170347929001,
-0.026349710300564766,
0.06942186504602432,
-0.018873929977416992,
-0.026442600414156914,
-0.05531266704201698,
0.01158820278942585,
-0.017604786902666092,
0.00823068618774414,
0.015199818648397923,
-0.02903885208070278,
0.008691009134054184,
-0.04828421026468277,
0.024475684389472008,
0.02180103212594986,
0.011434921994805336,
0.04733750596642494
] | [
-0.05353953689336777,
-0.02673438750207424,
-0.04641060158610344,
-0.003323207376524806,
0.04122597724199295,
-0.050790514796972275,
0.0001632768107810989,
0.01836303249001503,
0.02404090017080307,
-0.014743344858288765,
0.023648031055927277,
-0.048559315502643585,
0.023265337571501732,
0.010295387357473373,
0.06154957413673401,
0.015035830438137054,
-0.04073835909366608,
-0.04924362525343895,
-0.0476442351937294,
0.07074576616287231,
-0.019870616495609283,
-0.028879471123218536,
-0.030858391895890236,
-0.025844022631645203,
-0.010708670131862164,
0.06268361210823059,
0.05165191739797592,
-0.028062863275408745,
-0.0174997691065073,
-0.22712154686450958,
-0.005876318085938692,
0.02266962267458439,
-0.011333202943205833,
-0.013667840510606766,
0.025735341012477875,
0.01736132986843586,
0.03177627548575401,
-0.003818317549303174,
0.02949918806552887,
0.03775353357195854,
0.005377098452299833,
-0.01415589451789856,
-0.05912039428949356,
-0.030599476769566536,
0.050120726227760315,
0.00391183840110898,
-0.023940591141581535,
0.004695751704275608,
-0.023002110421657562,
-0.0044241598807275295,
-0.04193612560629845,
-0.016976654529571533,
-0.0137412641197443,
0.011232584714889526,
0.00977264903485775,
0.07297920435667038,
0.03374791145324707,
0.09236953407526016,
0.02421281300485134,
0.05454900860786438,
0.024529628455638885,
0.008886770345270634,
-0.10766317695379257,
0.061143502593040466,
-0.0021064027678221464,
0.02121835947036743,
-0.04583664610981941,
-0.03740271180868149,
-0.025994477793574333,
0.060110002756118774,
0.033288855105638504,
0.010534245520830154,
-0.022779345512390137,
0.08458016067743301,
-0.010239770635962486,
0.017621317878365517,
-0.009918127208948135,
0.03156227618455887,
0.07841376215219498,
-0.014536521397531033,
-0.061252761632204056,
-0.011086548678576946,
-0.014869007281959057,
-0.005431032739579678,
-0.027042711153626442,
0.024409284815192223,
-0.024316297844052315,
0.04974409192800522,
0.009184794500470161,
0.02366418018937111,
0.014768813736736774,
0.025798359885811806,
0.042629584670066833,
0.038061827421188354,
-0.07561951875686646,
-0.005647543352097273,
-0.005412560421973467,
0.02164294570684433,
0.006723522674292326,
0.3835209310054779,
0.00329281622543931,
-0.007162068504840136,
0.036724064499139786,
0.06474845111370087,
-0.0121074877679348,
-0.04044698178768158,
-0.010557131841778755,
-0.07928810268640518,
0.03183574602007866,
-0.01990630105137825,
-0.018131189048290253,
-0.0779067650437355,
0.017596378922462463,
-0.07504208385944366,
-0.017381897196173668,
0.028326239436864853,
0.07632597535848618,
0.03239260986447334,
-0.03160490468144417,
0.00867092702537775,
-0.01946929469704628,
0.0022834523115307093,
0.018618158996105194,
0.026747338473796844,
0.016506319865584373,
0.024706877768039703,
0.01696469821035862,
0.06964083760976791,
0.00141262321267277,
0.007837180979549885,
0.053690023720264435,
0.024537866935133934,
-0.06892190128564835,
0.025024082511663437,
-0.010764583945274353,
-0.0030953686218708754,
0.02925500087440014,
-0.041970979422330856,
-0.00826345942914486,
0.012741447426378727,
-0.013631392270326614,
-0.047060951590538025,
0.009172002784907818,
0.0163198821246624,
-0.037672847509384155,
0.128387913107872,
-0.008906587027013302,
-0.019423581659793854,
-0.0309252068400383,
-0.012964023277163506,
-0.02406908944249153,
0.033802330493927,
-0.00918485689908266,
-0.03876303881406784,
-0.0184800922870636,
0.027619514614343643,
0.0845513865351677,
-0.019220516085624695,
-0.08129720389842987,
0.003496364690363407,
0.034361809492111206,
-0.03056606464087963,
-0.03770797327160835,
0.09746008366346359,
0.030844490975141525,
-0.09421729296445847,
-0.037007275968790054,
0.01960531622171402,
0.012408390641212463,
-0.06152406707406044,
-0.0022592851892113686,
0.009209776297211647,
-0.026094937697052956,
-0.026041565462946892,
0.06215185299515724,
0.0019774369429796934,
-0.03589833527803421,
-0.038127269595861435,
0.025840746238827705,
-0.001306472928263247,
-0.019128864631056786,
0.016851477324962616,
-0.04175090789794922,
-0.012205544859170914,
-0.06359715759754181,
-0.08183048665523529,
-0.07390817999839783,
0.04103219136595726,
-0.010714612901210785,
-0.04180464148521423,
-0.0033293149899691343,
-0.0006433467497117817,
-0.03349471464753151,
0.06641574203968048,
-0.043542247265577316,
-0.034514009952545166,
-0.01535832043737173,
-0.002785747405141592,
0.015064507722854614,
-0.0539608895778656,
0.05204729363322258,
0.049146994948387146,
-0.005611242260783911,
0.019505754113197327,
-0.07747764140367508,
-0.00748127605766058,
0.05378197878599167,
-0.030304690822958946,
0.04367484897375107,
0.019765088334679604,
-0.0423111617565155,
0.015483086928725243,
-0.05030661076307297,
0.023603592067956924,
0.001014022040180862,
-0.028584903106093407,
-0.01539515983313322,
0.0066649336367845535,
0.02955114282667637,
0.03076046332716942,
-0.05858734995126724,
-0.0066102659329771996,
-0.015214637853205204,
-0.35666796565055847,
-0.05290701612830162,
-0.0277356319129467,
-0.012009697034955025,
-0.028564605861902237,
0.0065365261398255825,
-0.00004869752956437878,
-0.0046635959297418594,
-0.030583368614315987,
0.020594971254467964,
0.062306959182024,
-0.011408071033656597,
-0.01073093619197607,
-0.03758345544338226,
-0.00573735311627388,
0.02958274446427822,
-0.00634352071210742,
-0.0019120462238788605,
-0.024636877700686455,
0.0062045748345553875,
-0.007736954838037491,
-0.04521835222840309,
-0.006891660392284393,
-0.06579490751028061,
-0.0047669801861047745,
-0.00747626181691885,
0.10854247957468033,
0.025283118709921837,
0.0019962103106081486,
-0.05495264008641243,
0.059546347707509995,
-0.01059707347303629,
-0.007777701131999493,
-0.05892542377114296,
0.018836282193660736,
-0.026602374389767647,
0.009090859442949295,
0.013423613272607327,
-0.008973564952611923,
-0.008262073621153831,
-0.04258512333035469,
-0.022046010941267014,
-0.0432170070707798,
-0.0530494824051857,
-0.00417479919269681,
0.005512295290827751,
-0.06446792930364609,
-0.003949951846152544,
0.02279994636774063,
0.10378307104110718,
-0.005888898391276598,
0.022529419511556625,
0.03245171159505844,
0.02166951633989811,
0.024855222553014755,
-0.007604478858411312,
-0.07700235396623611,
-0.03665871173143387,
0.027205370366573334,
0.006725430488586426,
0.01863822154700756,
0.052593473345041275,
0.027287237346172333,
-0.07320968061685562,
0.016465051099658012,
-0.007933592423796654,
-0.024969834834337234,
-0.003645356511697173,
0.03949032723903656,
-0.06010563671588898,
-0.05123484507203102,
0.11073701083660126,
0.02165377512574196,
0.03660294786095619,
0.04782702028751373,
0.05582299083471298,
-0.006366838235408068,
-0.0010115420445799828,
0.033574428409338,
0.031799763441085815,
0.012767048552632332,
-0.02000207081437111,
0.08801873028278351,
-0.02856251411139965,
-0.027138207107782364,
0.06362766027450562,
0.01669185981154442,
-0.02457701787352562,
0.050714366137981415,
-0.013468199409544468,
-0.013760898262262344,
0.0009340099059045315,
-0.03575194999575615,
-0.058609314262866974,
0.06813667714595795,
-0.04921731725335121,
-0.2645372748374939,
0.059480730444192886,
0.027648499235510826,
0.054688215255737305,
0.0008376459591090679,
0.004073551390320063,
0.01859542727470398,
-0.024250058457255363,
-0.00610722741112113,
-0.01939094252884388,
0.06883219629526138,
0.048984378576278687,
0.0054743001237511635,
0.006636977661401033,
0.002740859752520919,
0.0210760198533535,
0.009059228003025055,
-0.002951591042801738,
0.06262845546007156,
0.007173524703830481,
0.05499044805765152,
0.0006601297063753009,
0.20144881308078766,
0.05130394548177719,
0.004639639984816313,
0.04125801473855972,
-0.03353486955165863,
-0.008515888825058937,
0.0578341968357563,
0.016510434448719025,
-0.025631124153733253,
0.03609220311045647,
0.050594452768564224,
0.05639561265707016,
0.019469643011689186,
-0.03568565845489502,
0.008048954419791698,
0.03522719442844391,
0.013889651745557785,
-0.03765171393752098,
-0.022546352818608284,
0.008981079794466496,
-0.027597935870289803,
0.04763210937380791,
0.07383512705564499,
-0.014666414819657803,
-0.011721261776983738,
-0.015950320288538933,
-0.07948757708072662,
-0.001501220278441906,
-0.02361905202269554,
-0.051195889711380005,
-0.044484496116638184,
-0.011416545137763023,
-0.01175669115036726,
0.05543193966150284,
0.02038908377289772,
-0.02114507555961609,
-0.0010596116771921515,
0.013487767428159714,
0.019236067309975624,
-0.044117528945207596,
0.09723298251628876,
-0.03847093880176544,
-0.007739491760730743
] | [
0.04012835770845413,
0.04896014183759689,
-0.015406928956508636,
0.04359990358352661,
-0.019335847347974777,
-0.0016209505265578628,
-0.036403920501470566,
0.010145202279090881,
-0.021897830069065094,
0.0028836491983383894,
-0.006952494382858276,
-0.0020833322778344154,
0.052182652056217194,
-0.029800282791256905,
-0.025441445410251617,
0.039364587515592575,
-0.016513120383024216,
0.049806613475084305,
0.029462605714797974,
-0.02001417987048626,
-0.058079980313777924,
0.01470914762467146,
0.06290940940380096,
-0.018690621480345726,
0.009902190417051315,
0.015016324818134308,
-0.02784232795238495,
0.009280982427299023,
0.010674637742340565,
-0.1005285307765007,
-0.033141303807497025,
-0.0012323413975536823,
-0.011311116628348827,
0.0403168611228466,
-0.020492831245064735,
0.008175746537744999,
0.025622660294175148,
0.03933573141694069,
0.0008978195837698877,
0.01867000199854374,
0.040464721620082855,
0.0004945773398503661,
-0.04591185227036476,
-0.005430279765278101,
0.0046802400611341,
-0.028084931895136833,
-0.038638703525066376,
-0.030311917886137962,
0.00215499522164464,
0.0005032834014855325,
-0.0506320483982563,
-0.014374550431966782,
-0.011724007315933704,
-0.019673515111207962,
0.0197707861661911,
0.017154894769191742,
-0.07539617270231247,
-0.015056047588586807,
0.007372844498604536,
-0.017630716785788536,
0.03888014703989029,
-0.029928574338555336,
-0.024712637066841125,
-0.035750068724155426,
0.0028967198450118303,
-0.027239466086030006,
0.023425467312335968,
0.0346858948469162,
0.02898763120174408,
-0.008469410240650177,
-0.01847011223435402,
0.03198925778269768,
-0.060296639800071716,
-0.013178888708353043,
-0.034478917717933655,
0.04513413459062576,
0.05126383528113365,
-0.05077410861849785,
0.00004663319850806147,
0.006745332386344671,
-0.008223626762628555,
-0.00015512315439991653,
-0.03264610841870308,
-0.0027382122352719307,
-0.02804291434586048,
0.002551018726080656,
-0.0029822210781276226,
0.007432795129716396,
0.013798722065985203,
0.026290185749530792,
-0.02623746171593666,
-0.0005796756013296545,
0.00862561259418726,
-0.003960021305829287,
-0.07157610356807709,
0.006931888405233622,
0.0017112583154812455,
-0.0039402637630701065,
0.03368385508656502,
0.8168389201164246,
0.026282943785190582,
-0.00027073160163126886,
0.008295984007418156,
-0.016425233334302902,
0.00634660804644227,
0.01376850251108408,
-0.0015640550991520286,
-0.02224959433078766,
-0.025444423779845238,
-0.0012620945926755667,
-0.016268549486994743,
-0.009173347614705563,
0.0036617114674299955,
-0.003183261724188924,
0.004528545308858156,
0.03807682543992996,
0.03839746117591858,
0.01930556632578373,
-0.005139573477208614,
-0.00009495332051301375,
0.011859020218253136,
0.004352819640189409,
-0.008645796217024326,
0.0030136515852063894,
-0.0008087320602498949,
-0.15350614488124847,
-0.03106847032904625,
-7.268872825769101e-33,
0.04750673100352287,
0.004522267729043961,
0.078648142516613,
0.03387776389718056,
0.018191277980804443,
0.010167120955884457,
-0.0027762865647673607,
-0.02041485533118248,
-0.014492588117718697,
-0.039465904235839844,
-0.020897310227155685,
-0.005800139624625444,
-0.01846071518957615,
-0.033740632236003876,
-0.008400822058320045,
-0.028136661276221275,
0.02225099690258503,
0.007434464059770107,
-0.04389970377087593,
0.0034547720570117235,
-0.015479222871363163,
0.04702432453632355,
-0.031509432941675186,
0.011682993732392788,
0.018022574484348297,
0.02254674583673477,
0.014327608048915863,
-0.003264272352680564,
-0.003123372793197632,
-0.062070999294519424,
-0.06064166501164436,
0.01061168685555458,
-0.015835242345929146,
0.013973123393952847,
0.016547391191124916,
-0.05751495808362961,
-0.0234932079911232,
-0.005915183108299971,
-0.012753029353916645,
-0.06296942383050919,
-0.05760486051440239,
0.0009234302560798824,
0.007886645384132862,
-0.04540286958217621,
-0.01492257509380579,
-0.04199600592255592,
0.011317120864987373,
0.019725317135453224,
0.001073386985808611,
0.02277384325861931,
0.02945152297616005,
0.009730108082294464,
-0.026432208716869354,
0.04100349545478821,
-0.022367695346474648,
0.007883493788540363,
0.007503830827772617,
0.019077962264418602,
-0.0054640332236886024,
0.04882320761680603,
0.0009901162702590227,
0.0014892511535435915,
-0.02486228570342064,
0.04745663329958916,
0.04244367778301239,
0.038657769560813904,
-0.004756213165819645,
0.01864493638277054,
-0.02276209555566311,
0.05304518714547157,
-0.03757995739579201,
0.04770016297698021,
-0.01871863566339016,
-0.017283255234360695,
0.04173962399363518,
-0.05731142312288284,
-0.028141988441348076,
-0.039782337844371796,
0.02099844254553318,
0.04959489405155182,
-0.015221226960420609,
-0.022672399878501892,
0.005069756880402565,
-0.014324911870062351,
-0.013176032342016697,
-0.020913541316986084,
0.015546254813671112,
0.041921187192201614,
0.034780118614435196,
0.03341663256287575,
0.047793544828891754,
0.03863479942083359,
-0.004154291935265064,
-0.012695039622485638,
-0.010656445287168026,
6.680299865576505e-33,
-0.02853194996714592,
0.0023832207079976797,
-0.01062981877475977,
0.019339900463819504,
0.015940368175506592,
-0.00611990736797452,
0.006640444975346327,
0.001048088539391756,
-0.03503616899251938,
0.022183140739798546,
-0.01278606802225113,
-0.02977399155497551,
0.030226297676563263,
0.006048896815627813,
0.0640629380941391,
-0.012959388084709644,
0.01729227975010872,
-0.03469504788517952,
0.010398655198514462,
0.028871117159724236,
0.00635397108271718,
0.01853826642036438,
0.02754071168601513,
0.026905449107289314,
0.008208722807466984,
-0.003588268766179681,
0.009555132128298283,
-0.001542662619613111,
-0.01221978385001421,
-0.01874355413019657,
0.03002580814063549,
-0.058048930019140244,
-0.01201001275330782,
-0.039162684231996536,
0.01614779233932495,
-0.007583875674754381,
-0.002420386066660285,
-0.015479853376746178,
0.01416132040321827,
-0.008072060532867908,
0.00352719915099442,
0.006215803325176239,
-0.02421438694000244,
0.0723986029624939,
0.022984454408288002,
0.014515060931444168,
0.00012518430594354868,
0.01849888451397419,
0.015419447794556618,
-0.0005361263174563646,
0.002613343996927142,
0.031853970140218735,
-0.008465658873319626,
0.02042832411825657,
0.03140389546751976,
-0.05502625182271004,
-0.0008439013618044555,
0.022513706237077713,
-0.00280056637711823,
-0.007214728277176619,
-0.0217434111982584,
-0.04588006064295769,
-0.040053609758615494,
0.029420040547847748,
-0.0005120754358358681,
-0.02892594411969185,
-0.03492925688624382,
-0.009505366906523705,
-0.04364006966352463,
-0.009195969440042973,
0.027406178414821625,
0.00005546563625102863,
-0.021070674061775208,
0.019888779148459435,
0.027464479207992554,
-0.03280799835920334,
-0.028469890356063843,
-0.010729740373790264,
0.0020051493775099516,
0.004734677262604237,
0.018012508749961853,
-0.0005090278573334217,
0.02999592199921608,
0.03588102385401726,
-0.0013739044079557061,
-0.01456990372389555,
-0.004733290057629347,
0.03533957153558731,
-0.028486236929893494,
-0.010170623660087585,
0.02185475267469883,
-0.03726326674222946,
-0.04617322236299515,
0.08004719763994217,
-0.04253838211297989,
-1.2623631917563216e-8,
-0.042896535247564316,
0.035567138344049454,
-0.02956296131014824,
-0.003186649177223444,
0.016871429979801178,
0.0031498686876147985,
-0.014248169958591461,
0.004064167384058237,
0.013983389362692833,
0.009387272410094738,
-0.00252927397377789,
0.001431964454241097,
0.02695493772625923,
-0.01635633409023285,
0.03838920593261719,
-0.06702714413404465,
-0.003538857912644744,
-0.0047155143693089485,
0.03518952801823616,
0.003997120540589094,
-0.00566751416772604,
0.032159946858882904,
-0.05347263067960739,
0.01834850199520588,
0.00783015601336956,
-0.004649260547012091,
0.051332321017980576,
-0.045608386397361755,
0.021465927362442017,
-0.04549397900700569,
-0.000611360592301935,
-0.024290667846798897,
-0.013726775534451008,
0.061340607702732086,
-0.05431181564927101,
-0.027268903329968452,
0.03541616350412369,
0.038507089018821716,
0.022715212777256966,
0.046301234513521194,
-0.0037371672224253416,
0.012206419371068478,
-0.03217140585184097,
-0.025940557941794395,
-0.03841878101229668,
0.0007665546727366745,
-0.021069539710879326,
-0.01676497422158718,
0.041612230241298676,
-0.040566883981227875,
-0.007375658489763737,
-0.023716265335679054,
0.04002522677183151,
-0.01705324277281761,
0.05396054685115814,
0.012832224369049072,
0.00731364730745554,
0.018474552780389786,
0.0041223862208426,
-0.025582626461982727,
0.020798737183213234,
-0.012813313864171505,
-0.05502929165959358,
-0.011481702327728271
] | neo4j-2-0-0-query-not-prepared-correctly-type-mismatch-expected-map | https://markhneedham.com/blog/2014/04/13/neo4j-2-0-0-query-not-prepared-correctly-type-mismatch-expected-map |
false | 2014-05-20 23:14:07 | Neo4j 2.1: Creating adjacency matrices | [
"neo4j",
"cypher"
] | [
"neo4j"
] | About 9 months ago I wrote a blog post showing how to http://www.markhneedham.com/blog/2013/08/11/neo4j-extracting-a-subgraph-as-an-adjacency-matrix-and-calculating-eigenvector-centrality-with-jblas/[export an adjacency matrix^] from a Neo4j 1.9 database using the cypher query language and I thought it deserves an update to use 2.0 syntax.
I've been spending some of my free time working on https://github.com/mneedham/neo4j-meetup[an application that runs on top of meetup.com's API^] and one of the queries I wanted to write was to find the common members between 2 meetup groups.
The first part of this query is a cartesian product of the groups we want to consider which will give us the combinations of pairs of groups:
[source,cypher]
----
MATCH (g1:Group), (g2:Group)
RETURN g1.name, g2.name
LIMIT 10
----
.Results
[source,bash]
----
+-------------------------------------------------------------------------------------+
| g1.name | g2.name |
+-------------------------------------------------------------------------------------+
| "London ElasticSearch User Group" | "London ElasticSearch User Group" |
| "London ElasticSearch User Group" | "Big Data / Data Science / Data Analytics Jobs" |
| "London ElasticSearch User Group" | "eXist User Group London" |
| "London ElasticSearch User Group" | "Couchbase London" |
| "London ElasticSearch User Group" | "Big Data Developers in London" |
| "London ElasticSearch User Group" | "HBase London Meetup" |
| "London ElasticSearch User Group" | "Marklogic Financial Services Community" |
| "London ElasticSearch User Group" | "GridGain London" |
| "London ElasticSearch User Group" | "MEAN Stack" |
| "London ElasticSearch User Group" | "Hazelcast User Group London (HUGL)" |
...
+-------------------------------------------------------------------------------------+
----
Our next step is to write a pattern which checks for common members between each pair of groups. We end up with the following:
[source,cypher]
----
MATCH (g1:Group), (g2:Group)
OPTIONAL MATCH (g1)<-[:MEMBER_OF]-()-[:MEMBER_OF]->(g2)
RETURN g1.name, g2.name, COUNT(*) AS overlap
----
.Results
[source,bash]
----
+----------------------------------------------------------------------------------------------+
| g1.name | g2.name | overlap |
+----------------------------------------------------------------------------------------------+
| "eXist User Group London" | "Women in Data" | 1 |
| "Hive London" | "Big Data Developers in London" | 47 |
| "Neo4j - London User Group" | "London ElasticSearch User Group" | 80 |
| "MEAN Stack" | "The London Distributed Graph Database Meetup Group" | 1 |
| "HBase London Meetup" | "Big Data London" | 92 |
| "London MongoDB User Group" | "Big Data Developers in London" | 63 |
| "Big Data London" | "Hive London" | 195 |
| "HBase London Meetup" | "Cassandra London" | 58 |
| "Big Data London" | "Neo4j - London User Group" | 330 |
| "Cassandra London" | "Oracle Big Data 4 the Enterprise" | 50 |
...
+----------------------------------------------------------------------------------------------+
----
The next step is to sort the rows so that we can create an array of values for each group in our next step. We therefore sort by group1 and then by group2:
[source,cypher]
----
MATCH (g1:Group), (g2:Group)
OPTIONAL MATCH (g1)<-[:MEMBER_OF]-()-[:MEMBER_OF]->(g2)
RETURN g1.name, g2.name, COUNT(*) AS overlap
ORDER BY g1.name, g2.name
----
.Results
[source,bash]
----
+-------------------------------------------------------------------------------------------------------------+
| g1.name | g2.name | overlap |
+-------------------------------------------------------------------------------------------------------------+
| "Big Data / Data Science / Data Analytics Jobs" | "Big Data / Data Science / Data Analytics Jobs" | 1 |
| "Big Data / Data Science / Data Analytics Jobs" | "Big Data Developers in London" | 17 |
| "Big Data / Data Science / Data Analytics Jobs" | "Big Data Jobs in London" | 20 |
| "Big Data / Data Science / Data Analytics Jobs" | "Big Data London" | 37 |
| "Big Data / Data Science / Data Analytics Jobs" | "Cassandra London" | 16 |
| "Big Data / Data Science / Data Analytics Jobs" | "Couchbase London" | 3 |
| "Big Data / Data Science / Data Analytics Jobs" | "Data Science London" | 49 |
| "Big Data / Data Science / Data Analytics Jobs" | "DeNormalised London" | 3 |
| "Big Data / Data Science / Data Analytics Jobs" | "Enterprise Search London Meetup" | 2 |
| "Big Data / Data Science / Data Analytics Jobs" | "GridGain London" | 1 |
...
+-------------------------------------------------------------------------------------------------------------+
----
One strange thing we see here is that there is an overlap of 1 between 'Big Data / Data Science / Data Analytics Jobs' and itself which is 'wrong' as the query doesn't actually return any overlapping members. However, since we used 'OPTIONAL MATCH' we would still have got 1 row back for that pair of groups with a 'null' value. Let's fix that:
[source,cypher]
----
MATCH (g1:Group), (g2:Group)
OPTIONAL MATCH path = (g1)<-[:MEMBER_OF]-()-[:MEMBER_OF]->(g2)
WITH g1, g2, CASE WHEN path is null THEN 0 ELSE COUNT(path) END AS overlap
RETURN g1.name, g2.name, overlap
ORDER BY g1.name, g2.name
LIMIT 10
----
.Results
[source,bash]
----
+-------------------------------------------------------------------------------------------------------------+
| g1.name | g2.name | overlap |
+-------------------------------------------------------------------------------------------------------------+
| "Big Data / Data Science / Data Analytics Jobs" | "Big Data / Data Science / Data Analytics Jobs" | 0 |
| "Big Data / Data Science / Data Analytics Jobs" | "Big Data Developers in London" | 17 |
| "Big Data / Data Science / Data Analytics Jobs" | "Big Data Jobs in London" | 20 |
| "Big Data / Data Science / Data Analytics Jobs" | "Big Data London" | 37 |
| "Big Data / Data Science / Data Analytics Jobs" | "Cassandra London" | 16 |
| "Big Data / Data Science / Data Analytics Jobs" | "Couchbase London" | 3 |
| "Big Data / Data Science / Data Analytics Jobs" | "Data Science London" | 49 |
| "Big Data / Data Science / Data Analytics Jobs" | "DeNormalised London" | 3 |
| "Big Data / Data Science / Data Analytics Jobs" | "Enterprise Search London Meetup" | 2 |
| "Big Data / Data Science / Data Analytics Jobs" | "GridGain London" | 0 |
...
+-------------------------------------------------------------------------------------------------------------+
----
We'll see that there is no overlap with 'GridGain London' either which we didn't know before. We've been able to do this by using http://docs.neo4j.org/chunked/milestone/syntax-simple-case.html[CASE^] and checking whether or not the OPTIONAL MATCH came up with a path or not.
Our next step is to group the data returned so that we have one row for each meetup group which contains an array showing the overlap with all the other groups:
[source,cypher]
----
MATCH (g1:Group), (g2:Group)
OPTIONAL MATCH path = (g1)<-[:MEMBER_OF]-()-[:MEMBER_OF]->(g2)
WITH g1, g2, CASE WHEN path is null THEN 0 ELSE COUNT(path) END AS overlap
ORDER BY g1.name, g2.name
RETURN g1.name, COLLECT(overlap)
ORDER BY g1.name
----
.Results
[source,bash]
----
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| g1.name | COLLECT(overlap) |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| "Big Data / Data Science / Data Analytics Jobs" | [0,17,20,37,16,3,49,3,2,0,6,4,28,2,11,0,3,4,5,13,4,1,4,0,2,0,20,1,5,5,0,5,4,4,1] |
| "Big Data Developers in London" | [17,0,48,231,67,18,228,18,17,0,38,10,150,12,47,4,24,18,31,63,36,11,20,7,7,1,88,2,38,10,0,33,11,26,3] |
| "Big Data Jobs in London" | [20,48,0,189,70,16,168,19,7,0,21,10,128,9,51,4,24,14,23,69,13,5,20,5,7,2,69,1,34,12,0,10,10,19,4] |
| "Big Data London" | [37,231,189,0,417,49,1128,94,89,0,92,31,738,39,195,20,116,93,124,328,98,44,81,20,36,10,330,2,122,79,2,74,45,107,11] |
| "Cassandra London" | [16,67,70,417,0,36,276,63,40,1,58,13,292,34,104,9,72,55,71,195,58,23,64,9,10,2,174,4,50,65,2,21,23,19,4] |
| "Couchbase London" | [3,18,16,49,36,0,42,8,6,1,19,6,56,7,20,2,16,11,24,51,21,10,22,12,7,1,43,2,12,9,1,6,5,9,2] |
| "Data Science London" | [49,228,168,1128,276,42,0,93,83,2,71,32,611,24,174,17,63,83,120,268,82,36,60,21,22,3,363,3,88,65,0,98,45,141,9] |
| "DeNormalised London" | [3,18,19,94,63,8,93,0,5,1,17,5,75,6,39,3,20,34,16,53,16,7,27,1,6,2,55,1,20,17,0,3,17,7,3] |
| "Enterprise Search London Meetup" | [2,17,7,89,40,6,83,5,0,0,9,0,64,4,22,2,6,8,75,44,12,5,11,3,17,2,48,0,9,19,0,7,9,6,0] |
| "GridGain London" | [0,0,0,0,1,1,2,1,0,0,0,1,1,3,1,0,0,0,0,1,1,0,0,0,0,0,2,0,0,0,0,0,0,0,0] |
| "HBase London Meetup" | [6,38,21,92,58,19,71,17,9,0,0,3,94,15,37,3,17,9,30,38,22,6,12,5,5,1,51,2,24,9,0,9,10,4,4] |
| "HPC & GPU Supercomputing Group of London" | [4,10,10,31,13,6,32,5,0,1,3,0,25,4,6,1,6,4,4,8,2,1,4,0,0,0,16,0,3,4,0,2,3,1,1] |
| "Hadoop Users Group UK" | [28,150,128,738,292,56,611,75,64,1,94,25,0,29,214,9,81,67,113,272,75,28,72,13,28,4,259,3,101,60,4,38,39,48,11] |
| "Hazelcast User Group London (HUGL)" | [2,12,9,39,34,7,24,6,4,3,15,4,29,0,6,1,6,5,5,20,14,2,10,2,1,1,27,0,3,2,1,5,2,0,1] |
| "Hive London" | [11,47,51,195,104,20,174,39,22,1,37,6,214,6,0,2,22,31,40,75,23,13,26,4,9,1,80,2,39,27,1,12,18,13,1] |
| "London Actionable Behavioral Analytics for Web and Mobile" | [0,4,4,20,9,2,17,3,2,0,3,1,9,1,2,0,1,0,2,8,4,1,1,1,0,1,7,0,2,0,0,8,1,2,1] |
| "London Cloud Computing / NoSQL" | [3,24,24,116,72,16,63,20,6,0,17,6,81,6,22,1,0,11,15,52,21,7,27,3,7,1,39,0,15,21,4,2,2,9,5] |
| "London Data Bar" | [4,18,14,93,55,11,83,34,8,0,9,4,67,5,31,0,11,0,13,58,12,4,22,3,1,0,44,4,19,7,0,5,8,8,0] |
| "London ElasticSearch User Group" | [5,31,23,124,71,24,120,16,75,0,30,4,113,5,40,2,15,13,0,80,22,9,32,9,6,0,80,1,20,33,1,6,9,11,2] |
| "London MongoDB User Group" | [13,63,69,328,195,51,268,53,44,1,38,8,272,20,75,8,52,58,80,0,56,32,64,62,21,4,211,5,52,71,3,17,22,22,5] |
| "London NoSQL" | [4,36,13,98,58,21,82,16,12,1,22,2,75,14,23,4,21,12,22,56,0,16,24,20,8,2,69,1,12,13,0,18,8,6,3] |
| "London PostgreSQL Meetup Group" | [1,11,5,44,23,10,36,7,5,0,6,1,28,2,13,1,7,4,9,32,16,0,12,2,5,1,29,1,10,10,0,3,2,7,0] |
| "London Riak Meetup" | [4,20,20,81,64,22,60,27,11,0,12,4,72,10,26,1,27,22,32,64,24,12,0,5,7,1,63,2,9,24,1,9,12,4,3] |
| "MEAN Stack" | [0,7,5,20,9,12,21,1,3,0,5,0,13,2,4,1,3,3,9,62,20,2,5,0,1,0,27,1,1,4,1,6,1,3,1] |
| "MarkLogic User Group London" | [2,7,7,36,10,7,22,6,17,0,5,0,28,1,9,0,7,1,6,21,8,5,7,1,0,16,22,1,8,6,0,0,5,5,13] |
| "Marklogic Financial Services Community" | [0,1,2,10,2,1,3,2,2,0,1,0,4,1,1,1,1,0,0,4,2,1,1,0,16,0,6,0,1,1,0,1,1,1,4] |
| "Neo4j - London User Group" | [20,88,69,330,174,43,363,55,48,2,51,16,259,27,80,7,39,44,80,211,69,29,63,27,22,6,0,5,40,43,3,36,44,58,11] |
| "OpenCredo Tech Workshops" | [1,2,1,2,4,2,3,1,0,0,2,0,3,0,2,0,0,4,1,5,1,1,2,1,1,0,5,0,2,1,0,0,1,1,0] |
| "Oracle Big Data 4 the Enterprise" | [5,38,34,122,50,12,88,20,9,0,24,3,101,3,39,2,15,19,20,52,12,10,9,1,8,1,40,2,0,10,0,2,7,9,4] |
| "Redis London" | [5,10,12,79,65,9,65,17,19,0,9,4,60,2,27,0,21,7,33,71,13,10,24,4,6,1,43,1,10,0,0,2,7,2,1] |
| "The Apache Jmeter London Group" | [0,0,0,2,2,1,0,0,0,0,0,0,4,1,1,0,4,0,1,3,0,0,1,1,0,0,3,0,0,0,0,1,0,0,0] |
| "The Data Scientist - UK" | [5,33,10,74,21,6,98,3,7,0,9,2,38,5,12,8,2,5,6,17,18,3,9,6,0,1,36,0,2,2,1,0,2,12,1] |
| "The London Distributed Graph Database Meetup Group" | [4,11,10,45,23,5,45,17,9,0,10,3,39,2,18,1,2,8,9,22,8,2,12,1,5,1,44,1,7,7,0,2,0,9,1] |
| "Women in Data" | [4,26,19,107,19,9,141,7,6,0,4,1,48,0,13,2,9,8,11,22,6,7,4,3,5,1,58,1,9,2,0,12,9,0,1] |
| "eXist User Group London" | [1,3,4,11,4,2,9,3,0,0,4,1,11,1,1,1,5,0,2,5,3,0,3,1,13,4,11,0,4,1,0,1,1,1,0] |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
----
This query is reasonably easy to follow and our next step would be to plug the output of this query into a visualisation tool of some sort.
Sometimes we can't create the cartesian product as easily as we were able to here - all we needed to do was call MATCH with the same label twice.
We can create cartesian products in other scenarios as well. For example let's say we only want to compare the first 5 meetup groups ordered by name.
First we'll get the top 5 groups:
[source,cypher]
----
MATCH (g:Group)
RETURN g.name
ORDER BY g.name
LIMIT 5
----
.Results
[source,bash]
----
+-------------------------------------------------+
| g.name |
+-------------------------------------------------+
| "Big Data / Data Science / Data Analytics Jobs" |
| "Big Data Developers in London" |
| "Big Data Jobs in London" |
| "Big Data London" |
| "Cassandra London" |
+-------------------------------------------------+
----
Now let's get all the pairs of those groups:
[source,cypher]
----
MATCH (g:Group)
WITH g
ORDER BY g.name
LIMIT 5
WITH COLLECT(g) AS groups
UNWIND groups AS g1
UNWIND groups AS g2
RETURN g1.name, g2.name
ORDER BY g1.name, g2.name
----
.Results
[source,bash]
----
+---------------------------------------------------------------------------------------------------+
| g1.name | g2.name |
+---------------------------------------------------------------------------------------------------+
| "Big Data / Data Science / Data Analytics Jobs" | "Big Data / Data Science / Data Analytics Jobs" |
| "Big Data / Data Science / Data Analytics Jobs" | "Big Data Developers in London" |
| "Big Data / Data Science / Data Analytics Jobs" | "Big Data Jobs in London" |
| "Big Data / Data Science / Data Analytics Jobs" | "Big Data London" |
| "Big Data / Data Science / Data Analytics Jobs" | "Cassandra London" |
| "Big Data Developers in London" | "Big Data / Data Science / Data Analytics Jobs" |
| "Big Data Developers in London" | "Big Data Developers in London" |
| "Big Data Developers in London" | "Big Data Jobs in London" |
| "Big Data Developers in London" | "Big Data London" |
| "Big Data Developers in London" | "Cassandra London" |
| "Big Data Jobs in London" | "Big Data / Data Science / Data Analytics Jobs" |
| "Big Data Jobs in London" | "Big Data Developers in London" |
| "Big Data Jobs in London" | "Big Data Jobs in London" |
| "Big Data Jobs in London" | "Big Data London" |
| "Big Data Jobs in London" | "Cassandra London" |
| "Big Data London" | "Big Data / Data Science / Data Analytics Jobs" |
| "Big Data London" | "Big Data Developers in London" |
| "Big Data London" | "Big Data Jobs in London" |
| "Big Data London" | "Big Data London" |
| "Big Data London" | "Cassandra London" |
| "Cassandra London" | "Big Data / Data Science / Data Analytics Jobs" |
| "Cassandra London" | "Big Data Developers in London" |
| "Cassandra London" | "Big Data Jobs in London" |
| "Cassandra London" | "Big Data London" |
| "Cassandra London" | "Cassandra London" |
+---------------------------------------------------------------------------------------------------+
----
Here we're making use of my current favourite function in cypher - http://docs.neo4j.org/chunked/milestone/query-unwind.html[UNWIND^] - which allows you to take a collection of things and expand them out to have an individual row each.
It's currently only available in the latest RC of Neo4j 2.1 so we'll have to wait a little bit longer before using it in production!
We complete the query like so:
[source,cypher]
----
MATCH (g:Group)
WITH g
ORDER BY g.name
LIMIT 5
WITH COLLECT(g) AS groups
UNWIND groups AS g1
UNWIND groups AS g2
OPTIONAL MATCH path = (g1)<-[:MEMBER_OF]-()-[:MEMBER_OF]->(g2)
WITH g1, g2, CASE WHEN path is null THEN 0 ELSE COUNT(path) END AS overlap
ORDER BY g1.name, g2.name
RETURN g1.name, COLLECT(overlap)
ORDER BY g1.name
----
.Results
[source,cypher]
----
+----------------------------------------------------------------------+
| g1.name | COLLECT(overlap) |
+----------------------------------------------------------------------+
| "Big Data / Data Science / Data Analytics Jobs" | [0,17,20,37,16] |
| "Big Data Developers in London" | [17,0,48,231,67] |
| "Big Data Jobs in London" | [20,48,0,189,70] |
| "Big Data London" | [37,231,189,0,417] |
| "Cassandra London" | [16,67,70,417,0] |
+----------------------------------------------------------------------+
----
And we're done! | null | null | [
0.009701116941869259,
-0.029089808464050293,
0.028160493820905685,
0.021241163834929466,
0.08712216466665268,
0.007351115811616182,
0.026645679026842117,
0.03675165772438049,
0.021084288135170937,
-0.009933490306138992,
-0.015620830468833447,
-0.028149569407105446,
-0.07406258583068848,
0.01950211450457573,
0.0077160741202533245,
0.060028690844774246,
0.05951841175556183,
0.008655565790832043,
0.0046476260758936405,
-0.012567708268761635,
0.04345228150486946,
0.06478135287761688,
0.006298257503658533,
0.023468006402254105,
0.05514702945947647,
0.006979848723858595,
0.006023013032972813,
-0.004963656421750784,
-0.04115155711770058,
-0.0022312176879495382,
0.039427775889635086,
0.015772933140397072,
0.02047852799296379,
-0.006998182740062475,
0.03541762754321098,
-0.00796396005898714,
-0.03665357083082199,
0.016739115118980408,
-0.0028027931693941355,
-0.006980832666158676,
-0.057115186005830765,
0.05760012939572334,
-0.02066951058804989,
0.039295997470617294,
-0.03536560386419296,
0.011190677992999554,
-0.06357137858867645,
0.026845740154385567,
0.0016608232399448752,
-0.0053981817327439785,
-0.08027520030736923,
0.00048538073315285146,
0.005627420265227556,
0.0030829983297735453,
-0.009421485476195812,
0.04243693873286247,
0.024731919169425964,
-0.06949149072170258,
0.05402284488081932,
0.003300322452560067,
-0.0008478531381115317,
-0.0035057654604315758,
-0.0011246597860008478,
0.03359851986169815,
0.00477492343634367,
-0.03317980095744133,
0.002102377824485302,
0.04312020167708397,
-0.04914999008178711,
-0.0020250570960342884,
0.01126632746309042,
0.023207101970911026,
-0.00797965470701456,
-0.004095629323273897,
0.004236331209540367,
-0.04284248128533363,
0.020627588033676147,
0.0528341643512249,
0.03243313357234001,
0.05439547449350357,
-0.010029236786067486,
0.008482835255563259,
-0.0003576166636776179,
0.031830206513404846,
-0.010607120580971241,
-0.03290979936718941,
-0.02891663648188114,
-0.02649853751063347,
-0.05578775331377983,
0.040666159242391586,
0.011404004879295826,
-0.06350239366292953,
0.01756356842815876,
0.025728071108460426,
0.0029800839256495237,
0.001433749683201313,
0.025031443685293198,
0.010722186416387558,
0.009719599969685078,
-0.035562388598918915,
-0.018729299306869507,
-0.008875950239598751,
-0.010445330291986465,
0.003916952759027481,
-0.08170799911022186,
-0.01792776957154274,
-0.04811255261301994,
-0.0014610941288992763,
0.005324055906385183,
-0.030437201261520386,
-0.005542672239243984,
0.029015902429819107,
0.00144962256308645,
0.009101307950913906,
-0.0688972994685173,
0.052405670285224915,
0.024789495393633842,
-0.03407503664493561,
-0.02470703423023224,
-0.0023700206074863672,
0.031091894954442978,
0.043015651404857635,
0.001105268020182848,
0.07910975068807602,
-0.025333037599921227,
0.04311797395348549,
0.012319791130721569,
0.04171525314450264,
-0.028666634112596512,
-0.05424122139811516,
-0.008552557788789272,
0.0556388758122921,
-0.002041306346654892,
0.012894010171294212,
-0.017060350626707077,
-0.04638604447245598,
-0.00924994982779026,
0.0277333315461874,
0.07196340709924698,
0.04796098172664642,
0.018769189715385437,
-0.06876063346862793,
0.018682049587368965,
-0.004970178008079529,
0.03353016823530197,
0.028720682486891747,
-0.017995838075876236,
-0.037669338285923004,
-0.03087644837796688,
-0.011995317414402962,
0.018965883180499077,
0.021631954237818718,
0.018760712817311287,
-0.02933567389845848,
0.02742311917245388,
0.10027733445167542,
0.034863702952861786,
-0.0044762189500033855,
-0.01662149466574192,
0.025201337411999702,
0.04505668580532074,
0.04462171345949173,
0.010172809474170208,
0.04545515775680542,
-0.007642444223165512,
-0.019787954166531563,
-0.004170674830675125,
0.04549424722790718,
0.0006329335155896842,
0.02848833054304123,
-0.030302321538329124,
-0.07508640736341476,
0.051033809781074524,
-0.04781072214245796,
-0.019678732380270958,
0.04768625274300575,
0.09369237720966339,
0.053150150924921036,
0.03161775320768356,
0.004962341859936714,
-0.07391191273927689,
0.04669854789972305,
0.023447861894965172,
0.02256402000784874,
0.032015588134527206,
0.010137587785720825,
0.08097164332866669,
0.049641143530607224,
0.001000115880742669,
0.04367724433541298,
-0.07536452263593674,
-0.07135084271430969,
-0.01962553896009922,
-0.011908657848834991,
0.050384897738695145,
-0.01784122921526432,
0.028070494532585144,
0.04685157164931297,
-0.0027638720348477364,
0.038871537894010544,
0.010330340825021267,
0.005060858558863401,
0.02455013245344162,
-0.031542304903268814,
-0.05383674427866936,
0.05014810338616371,
0.021604273468255997,
-0.05086265876889229,
-0.059491224586963654,
0.024591363966464996,
-0.027543537318706512,
-0.002900518476963043,
0.020663311704993248,
-0.02880042791366577,
0.03776353970170021,
0.010414269752800465,
0.03855229914188385,
0.0020268517546355724,
0.02366822399199009,
-0.01751391775906086,
0.05585724115371704,
0.004091174807399511,
-0.02048313431441784,
-0.0134540731087327,
0.017428427934646606,
0.11699020117521286,
0.0530533567070961,
-0.02496291883289814,
-0.05639272555708885,
0.02314392477273941,
0.0236712247133255,
-0.018744956701993942,
0.017549093812704086,
-0.023931367322802544,
0.0015880119754001498,
-0.025543250143527985,
-0.03155185282230377,
-0.04878612980246544,
0.00756313931196928,
-0.03340630978345871,
0.003801955608651042,
0.060854099690914154,
-0.02972867526113987,
0.054968707263469696,
-0.007023157551884651,
-0.004132911097258329,
-0.007398549001663923,
-0.03755561634898186,
-0.036322370171546936,
0.024180684238672256,
-0.0032188929617404938,
-0.004071846604347229,
0.03879275545477867,
-0.032288841903209686,
-0.005701124668121338,
-0.024307338520884514,
-0.005732339341193438,
0.051025643944740295,
0.045398738235235214,
0.0611078180372715,
-0.025335319340229034,
0.05959704518318176,
-0.035718176513910294,
0.013015062548220158,
-0.010848003439605236,
-0.027868641540408134,
-0.05267410725355148,
-0.04469715803861618,
0.019680572673678398,
-0.0005819428479298949,
0.04283482953906059,
-0.0002556547406129539,
0.027529552578926086,
0.009515663608908653,
0.014197208918631077,
-0.0076115429401397705,
0.01927357167005539,
0.00507959583774209,
-0.003722528228536248,
-0.0448620580136776,
-0.03174338489770889,
0.03668708726763725,
-0.05214741453528404,
-0.02483503334224224,
-0.004063927568495274,
-0.07383931428194046,
0.047555044293403625,
-0.05251910164952278,
-0.03165706619620323,
-0.00873600970953703,
0.01733398251235485,
0.057913318276405334,
0.017176194116473198,
-0.00031966614187695086,
0.056672245264053345,
0.019449898973107338,
0.013822665438055992,
0.011746249161660671,
-0.018785718828439713,
0.047348763793706894,
-0.017040755599737167,
0.04504135996103287,
0.035840995609760284,
-0.026812925934791565,
0.00453172717243433,
-0.04121939837932587,
0.006599981803447008,
-0.019217586144804955,
-0.2847540080547333,
0.037484318017959595,
-0.020488223060965538,
-0.04406680539250374,
0.007206505164504051,
-0.021126221865415573,
-0.00871950015425682,
-0.023527901619672775,
-0.024092569947242737,
-0.001863103243522346,
-0.01647041365504265,
-0.02962210215628147,
-0.026642238721251488,
0.029545294120907784,
0.024701522663235664,
0.019253762438893318,
-0.011409707367420197,
-0.05362262204289436,
0.01787387579679489,
0.028128361329436302,
0.006069832947105169,
-0.0596332773566246,
-0.005602448247373104,
0.01584952510893345,
0.03130264952778816,
0.05449483171105385,
-0.07742845267057419,
0.017756646499037743,
-0.061265405267477036,
-0.023087332025170326,
0.00439061876386404,
-0.020449291914701462,
0.008330205455422401,
-0.011148357763886452,
-0.02908170595765114,
-0.0021332253236323595,
0.04493118077516556,
0.0031979905907064676,
0.017820270732045174,
0.01951424963772297,
-0.04224522411823273,
-0.03822745382785797,
-0.02372046932578087,
-0.010306935757398605,
0.08914413303136826,
0.02855323627591133,
-0.07761887460947037,
-0.01871318370103836,
-0.03300973400473595,
0.05391090363264084,
-0.0395675003528595,
-0.050025586038827896,
-0.02071095071732998,
0.023191513493657112,
-0.01944204978644848,
-0.046743083745241165,
-0.0287212822586298,
-0.024527035653591156,
-0.047894012182950974,
-0.025077180936932564,
-0.018295736983418465,
-0.03889879584312439,
0.01613231748342514,
-0.04261413961648941,
-0.023736724629998207,
-0.044302016496658325,
-0.07466981559991837,
-0.0395517498254776,
0.05550516024231911,
0.009074362926185131,
-0.013979120180010796,
0.01489501167088747,
-0.010089267045259476,
-0.10229761898517609,
-0.05356019362807274,
-0.010410793125629425,
0.008894266560673714,
0.009206230752170086,
-0.0015880117425695062,
0.03493420034646988,
-0.05227725952863693,
-0.05926857143640518,
-0.009279613383114338,
0.009745624847710133,
0.015126730315387249,
-0.01346482615917921,
0.01530383713543415,
0.0054512228816747665,
-0.04649712145328522,
0.013164744712412357,
0.06468820571899414,
-0.017387542873620987,
-0.028151044622063637,
0.005635194946080446,
0.010241309180855751,
0.024228448048233986,
-0.004443758632987738,
-0.016988258808851242,
0.001883142744190991,
0.05103306099772453,
0.031575143337249756,
-0.03484814986586571,
0.007743177469819784,
-0.02069946937263012,
-0.03179233521223068,
0.00029911616002209485,
-0.05961543321609497,
0.015000403858721256,
0.03820479288697243,
0.014585340395569801,
-0.008271659724414349,
-0.029490726068615913,
0.01839825138449669,
-0.04263444244861603,
-0.02546859346330166,
-0.018157191574573517,
0.021158138290047646,
0.016875475645065308,
0.038739267736673355,
-0.03363330662250519,
-0.07279834896326065,
0.018111836165189743,
0.03069523349404335,
0.0086774667724967,
-0.06945033371448517,
-0.03168286755681038,
-0.04102569445967674,
-0.0142227066680789,
0.010783861391246319,
0.03795155882835388,
-0.03217498958110809,
0.03891581669449806,
0.018148476257920265,
-0.04670631140470505,
0.032512910664081573,
-0.0190401803702116,
-0.057871390134096146,
-0.03429466113448143,
0.02256752736866474,
0.026962654665112495,
-0.01070768665522337,
0.007883771322667599,
0.003532710485160351,
0.03959038108587265,
0.0374070480465889,
0.01629912666976452,
0.04095019772648811,
-0.018456749618053436,
0.01916406862437725,
0.012893063016235828,
-0.006470437627285719,
-0.021072980016469955,
0.010834554210305214,
-0.03493613377213478,
-0.002219993621110916,
-0.00029226180049590766,
0.06238359585404396,
-0.0001430684351362288,
-0.035391658544540405,
-0.027732079848647118,
0.030305394902825356,
-0.07059182971715927,
0.00048785191029310226,
-0.006504284217953682,
0.023396367207169533,
0.05634939298033714,
-0.026263058185577393,
0.04587738960981369,
-0.03003903292119503,
-0.00665488513186574,
0.004624337423592806,
0.01844613626599312,
-0.0343974232673645,
0.020762654021382332,
-0.013400373049080372,
0.01596524938941002,
0.0072153001092374325,
0.02713237702846527,
0.036124348640441895,
0.005046109668910503,
-0.027868742123246193,
-0.012774537317454815,
-0.0002776321489363909,
0.047860365360975266,
0.05533234030008316,
0.0564708448946476,
-0.013827421702444553,
-0.0011835788609459996,
-0.01172103825956583,
-0.018702175468206406,
-0.011957032606005669,
-0.0060195946134626865,
-0.02731916308403015,
-0.0009063846082426608,
-0.01929544098675251,
-0.07376082986593246,
0.062312036752700806,
-0.011267867870628834,
-0.0017866347916424274,
0.03780233487486839,
0.004894806072115898,
-0.008861313574016094,
-0.015775298699736595,
0.04178936406970024,
0.06804928183555603,
-0.06085006892681122,
-0.01978321187198162,
-0.014056015759706497,
-0.03468784689903259,
-0.004753345623612404,
0.03677792102098465,
-0.05414484441280365,
-0.027858871966600418,
-0.006287154741585255,
0.02492307685315609,
-0.025854919105768204,
-0.03006492368876934,
-0.007541412487626076,
0.0009062904282473028,
-0.0007756648119539022,
0.02284266985952854,
0.01537434384226799,
0.005259918048977852,
-0.005220421589910984,
-0.011006711050868034,
0.054878249764442444,
-0.010632089339196682,
-0.012282967567443848,
-0.002347205998376012,
-0.02526737190783024,
0.014697927981615067,
-0.036677274852991104,
0.006901164073497057,
0.015458349138498306,
-0.012300853617489338,
0.017346877604722977,
-0.07659223675727844,
-0.020796235650777817,
-0.0024116579443216324,
0.05531759932637215,
-0.005164285656064749,
-0.011739094741642475,
-0.03784855455160141,
0.002086047315970063,
-0.03369565308094025,
0.022496413439512253,
-0.0036254634615033865,
-0.001743163913488388,
0.012367324903607368,
0.009327234700322151,
0.00325203500688076,
0.03231117129325867,
-0.010214237496256828,
-0.03257226571440697,
0.04954947531223297,
-0.0470932275056839,
-0.03151292726397514,
-0.04185625538229942,
-0.06500174105167389,
-0.0030231343116611242,
0.0012139577884227037,
0.020228518173098564,
-0.03970745578408241,
0.06390368938446045,
0.030470190569758415,
0.03166252747178078,
0.03731437772512436,
-0.012181773781776428,
0.011295955628156662,
-0.037926916033029556,
-0.02578919753432274,
-0.08939209580421448,
-0.000058938629081239924,
0.0288441963493824,
-0.0009947402868419886,
-0.01308542862534523,
0.0077088940888643265,
-0.05088149756193161,
0.017733711749315262,
-0.042917173355817795,
-0.023387359455227852,
0.04839222878217697,
-0.014388320967555046,
0.013466994278132915,
0.022043056786060333,
-0.05153398960828781,
0.014891005121171474,
0.04344436153769493,
-0.03103668987751007,
-0.031987015157938004,
-0.034332823008298874,
0.04669817537069321,
-0.0307823084294796,
0.05472265183925629,
-0.020354848355054855,
-0.029912883415818214,
0.0806155577301979,
0.016110917553305626,
0.010985015891492367,
0.042566560208797455,
-0.029817184433341026,
0.030855335295200348,
0.03373716026544571,
-0.002252077916637063,
0.0082791056483984,
0.03746909648180008,
-0.023551633581519127,
-0.04277152195572853,
0.038225624710321426,
-0.00829970370978117,
-0.016749391332268715,
-0.04763523489236832,
0.07448028773069382,
0.01078688632696867,
-0.04683477804064751,
-0.05985870584845543,
0.03486043959856033,
-0.027580320835113525,
-0.015592964366078377,
-0.046103984117507935,
0.01976059190928936,
-0.02379203774034977,
0.04319529980421066,
-0.008574836887419224,
0.016189396381378174,
0.06315691024065018,
0.015142317861318588,
-0.00683276541531086,
-0.0014890509191900492,
0.0967060998082161,
0.10165079683065414,
0.04360022768378258,
0.0033216639421880245,
0.07527772337198257,
-0.03132106363773346,
-0.03917993605136871,
-0.004935284145176411,
-0.0241723470389843,
-0.01599455066025257,
0.008716990239918232,
0.008452378213405609,
0.07684338092803955,
-0.03458740934729576,
0.08495564013719559,
-0.01953861676156521,
-0.0332380011677742,
-0.001438906416296959,
-0.001475583529099822,
0.05226372182369232,
0.07049334049224854,
-0.0016670916229486465,
0.04507988691329956,
-0.04189187288284302,
-0.03381307050585747,
0.011952273547649384,
-0.028515465557575226,
-0.025018272921442986,
0.03715166822075844,
-0.024272331967949867,
0.004954321775585413,
-0.005908353719860315,
0.05984919145703316,
0.0859849750995636,
-0.03390871360898018,
0.002762948162853718,
-0.01914224959909916,
0.013681967742741108,
-0.009481111541390419,
0.01717030629515648,
-0.02247951738536358,
-0.007317136507481337,
-0.01909646764397621,
-0.049486663192510605,
-0.023905232548713684,
-0.034407686442136765,
-0.06835611164569855,
0.014731713570654392,
-0.036111727356910706,
0.006966385990381241,
-0.01620040461421013,
0.003039691364392638,
-0.02544821798801422,
-0.03703298792243004,
-0.05186321586370468,
-0.037006352096796036,
-0.0665220245718956,
-0.01337337214499712,
0.0005442805122584105,
0.008619471453130245,
-0.028983645141124725,
0.0043257069773972034,
-0.031557947397232056,
-0.02307015098631382,
0.03943319991230965,
-0.04555999115109444,
0.001960568130016327,
-0.004161924589425325,
0.013759504072368145,
-0.004977833479642868,
0.014988460578024387,
0.05673081427812576,
-0.0032748663797974586,
0.018055181950330734,
-0.021447522565722466,
0.01328990887850523,
0.0502966046333313,
0.015745218843221664,
0.0025870937388390303,
-0.0856977328658104,
0.01418290100991726,
0.01567492075264454,
-0.013869701884686947,
-0.07702870666980743,
0.01672491244971752,
0.04033827409148216,
0.019861701875925064,
0.01846136897802353,
-0.007287606131285429,
-0.009843271225690842,
-0.0016829308588057756,
0.020183885470032692,
0.0051395040936768055,
-0.011354886926710606,
0.023142697289586067,
-0.0037671325262635946,
0.07963674515485764,
0.0330028310418129,
-0.03498837351799011,
-0.02052910439670086,
-0.018686773255467415,
0.027455566450953484,
-0.0023360964842140675,
-0.05266705900430679,
-0.057832151651382446,
-0.04553897678852081,
-0.08508966118097305,
-0.04605451598763466,
0.0009183145011775196,
-0.017463628202676773,
-0.018183019012212753,
0.014176555909216404,
0.024838697165250778,
-0.0195088479667902,
0.027334095910191536,
-0.033335622400045395,
0.03747254237532616,
-0.008789070881903172,
-0.023116234689950943,
-0.03459633141756058,
0.010908235795795918,
0.004152966197580099,
0.009446429088711739,
0.002362343715503812,
-0.06749974191188812,
0.00034047054941765964,
-0.020736565813422203,
0.019297845661640167,
0.01851794496178627,
0.012385237030684948,
0.008988944813609123
] | [
-0.06397566944360733,
-0.020559992641210556,
-0.04527445137500763,
-0.007633375935256481,
0.04050007835030556,
-0.04317948967218399,
-0.027941804379224777,
0.001653974992223084,
0.0017958458047360182,
-0.03283694386482239,
0.03776908665895462,
-0.06985814869403839,
0.02738683484494686,
0.007641140837222338,
0.06904616206884384,
-0.0002844558039214462,
-0.024915272369980812,
-0.038006287068128586,
-0.029216986149549484,
0.0427837111055851,
-0.05961617827415466,
-0.0301833376288414,
-0.029473580420017242,
-0.0253372211009264,
0.004271838814020157,
0.06558375060558319,
0.03370017185807228,
-0.028808915987610817,
-0.024386873468756676,
-0.21472014486789703,
0.001140937558375299,
0.051380328834056854,
0.05398690700531006,
-0.01133924163877964,
0.0072273570112884045,
0.012468282133340836,
0.047689925879240036,
-0.012250849045813084,
0.003596423426643014,
0.02804597094655037,
0.030193576589226723,
0.0010172106558457017,
-0.053085435181856155,
0.016615964472293854,
0.05851273238658905,
0.029801545664668083,
-0.04320383444428444,
-0.018574638292193413,
-0.050017282366752625,
0.010885623283684254,
-0.019711941480636597,
-0.019551487639546394,
-0.009718088433146477,
0.009364253841340542,
0.015037093311548233,
0.06888845562934875,
0.026790086179971695,
0.037826091051101685,
0.015725508332252502,
0.03608476370573044,
0.00516172032803297,
0.0033468278124928474,
-0.12704534828662872,
0.0885607972741127,
0.012305664829909801,
-0.004955541342496872,
-0.033330291509628296,
-0.02141134813427925,
-0.009495447389781475,
0.07580238580703735,
0.038410671055316925,
0.012298372574150562,
-0.04045838490128517,
0.052689146250486374,
-0.005461550317704678,
0.052455607801675797,
-0.032551318407058716,
0.009894255548715591,
0.01823396235704422,
-0.040458522737026215,
-0.054091282188892365,
0.039396561682224274,
-0.037421662360429764,
-0.03468901664018631,
-0.023958928883075714,
0.023297663778066635,
-0.0198365468531847,
0.03411056473851204,
-0.018407922238111496,
0.04169093817472458,
0.03582413122057915,
0.039483241736888885,
0.039006512612104416,
0.038602203130722046,
-0.09187117964029312,
-0.02276270091533661,
0.020914850756525993,
0.02124735899269581,
0.00020911010506097227,
0.3794681131839752,
0.00890478678047657,
0.0031052553094923496,
0.048011619597673416,
0.05902649462223053,
-0.02785426191985607,
-0.02954002469778061,
-0.018417442217469215,
-0.06230563297867775,
0.053833428770303726,
-0.019591527059674263,
0.01229775883257389,
-0.04240027815103531,
0.051256801933050156,
-0.09392626583576202,
-0.007721255999058485,
-0.008667976595461369,
0.07198639959096909,
0.038641054183244705,
-0.015203400515019894,
0.002443659119307995,
-0.026471443474292755,
-0.010132595896720886,
0.036830637603998184,
0.005914267618209124,
0.04783463105559349,
0.03769923374056816,
-0.0019267091993242502,
0.03761199116706848,
0.06601262092590332,
0.02856733277440071,
0.06075206398963928,
0.04972727224230766,
-0.06085950881242752,
0.009070873260498047,
-0.02253577671945095,
0.01264367625117302,
0.029875775799155235,
-0.019857851788401604,
-0.02464655227959156,
0.03734082356095314,
-0.006084498018026352,
-0.04638269171118736,
0.06149844452738762,
0.020152335986495018,
-0.015385637059807777,
0.13359840214252472,
-0.037719789892435074,
-0.06256989389657974,
-0.04188083857297897,
-0.011723937466740608,
-0.012490161694586277,
0.025068415328860283,
-0.016174038872122765,
-0.05627097189426422,
-0.013369506224989891,
0.009003937244415283,
0.10764354467391968,
-0.022937968373298645,
-0.1003006100654602,
0.011680424213409424,
-0.017516491934657097,
-0.04210231453180313,
-0.05115124583244324,
0.11286220699548721,
0.04973841831088066,
-0.13160014152526855,
0.0035437617916613817,
0.0052191209979355335,
0.015551491640508175,
-0.0828719288110733,
0.03020205721259117,
0.007324683479964733,
-0.017336683347821236,
0.00004977567368769087,
0.05519912764430046,
-0.00954892486333847,
-0.03292642533779144,
-0.0074101281352341175,
0.032059311866760254,
0.013070120476186275,
-0.007418295834213495,
0.0036189714446663857,
-0.0552099384367466,
0.009745500050485134,
-0.06660442799329758,
-0.051953621208667755,
-0.08429774641990662,
0.025303108617663383,
-0.02511661872267723,
-0.03188905119895935,
-0.03409174457192421,
-0.01289280690252781,
-0.08767285197973251,
0.09290680289268494,
-0.0662907287478447,
-0.03867784142494202,
-0.005118230823427439,
-0.000633375660981983,
-0.025344042107462883,
-0.03559786453843117,
0.02508988045156002,
0.03141685202717781,
-0.02270335517823696,
0.017765389755368233,
-0.0560869537293911,
0.035720255225896835,
0.08214014768600464,
-0.04662015289068222,
0.04128594696521759,
0.024693191051483154,
-0.02551906555891037,
-0.015513439662754536,
-0.031021134927868843,
0.024139104411005974,
-0.0032881549559533596,
-0.005391461309045553,
0.011113855056464672,
-0.021497275680303574,
0.008479295298457146,
0.06044047325849533,
-0.017980867996811867,
-0.015097945928573608,
-0.046910155564546585,
-0.3374806344509125,
-0.0355229489505291,
0.00042747065890580416,
0.010283291339874268,
0.006514960899949074,
-0.02586856670677662,
0.030716370791196823,
-0.02282201685011387,
0.006962370127439499,
0.017995202913880348,
0.09999556094408035,
0.03119709901511669,
0.006963127758353949,
-0.052892591804265976,
-0.0006071216193959117,
0.057212747633457184,
-0.0025428845547139645,
0.009828669019043446,
-0.020019372925162315,
0.012349884025752544,
-0.007453588768839836,
-0.0386522002518177,
-0.022532330825924873,
-0.03148648887872696,
0.0016797649441286922,
-0.0089377760887146,
0.12285599857568741,
0.021583979949355125,
-0.009605194441974163,
-0.05172162503004074,
0.043456610292196274,
0.026325171813368797,
-0.03470588102936745,
-0.05799376219511032,
0.018969371914863586,
0.004602322820574045,
0.02906898595392704,
-0.0026562106795608997,
-0.005608480889350176,
-0.024953626096248627,
-0.029992716386914253,
-0.009536901488900185,
-0.033456284552812576,
-0.06556089967489243,
-0.039259131997823715,
0.020344261080026627,
-0.026625994592905045,
-0.0014041688991710544,
0.0001861026685219258,
0.06770119071006775,
0.03127961978316307,
0.009205736219882965,
0.024784330278635025,
0.03522934392094612,
-0.0037219543009996414,
-0.009369798004627228,
-0.07994618266820908,
-0.01741030625998974,
0.021440498530864716,
0.01348718162626028,
0.01911941170692444,
0.03704747557640076,
0.026682712137699127,
-0.07902789860963821,
0.022318417206406593,
-0.0014600688591599464,
-0.042855847626924515,
-0.006315248087048531,
0.034715015441179276,
-0.0371069498360157,
-0.03732926398515701,
0.07788144052028656,
-0.013560459949076176,
0.022974073886871338,
0.033944059163331985,
0.017689552158117294,
-0.0322624072432518,
-0.004907908849418163,
0.04091239720582962,
0.013407797552645206,
0.026638126000761986,
-0.04837455973029137,
0.07053553313016891,
-0.01561263669282198,
-0.0066185700707137585,
0.0528830923140049,
0.023096872493624687,
-0.04314135015010834,
0.06482656300067902,
0.010365943424403667,
-0.03169514238834381,
0.0037716382648795843,
-0.024435294792056084,
-0.01971420645713806,
0.05398408696055412,
-0.019889207556843758,
-0.2641541659832001,
0.05940365418791771,
0.016285499557852745,
0.04749942570924759,
0.010219588875770569,
0.013505728915333748,
0.043424490839242935,
-0.03772042691707611,
-0.022050563246011734,
-0.014466543681919575,
0.04257645085453987,
0.06753930449485779,
-0.02427012473344803,
-0.010895606130361557,
0.0071891373954713345,
0.013880056329071522,
0.013581707142293453,
-0.006375267636030912,
-0.008840346708893776,
-0.002227002289146185,
0.031143253669142723,
-0.023147838190197945,
0.19245977699756622,
0.02384904958307743,
0.009209196083247662,
0.039760056883096695,
-0.02797745354473591,
0.007283738814294338,
0.03480721265077591,
-0.013759100809693336,
-0.04159511253237724,
0.03008751943707466,
0.019785365089774132,
0.013266566209495068,
0.021250849589705467,
-0.032501548528671265,
-0.012264109216630459,
0.029098376631736755,
0.037592705339193344,
-0.023172637447714806,
0.0022503689397126436,
0.0229005366563797,
-0.030169282108545303,
0.015073738992214203,
0.0896608829498291,
-0.021841516718268394,
0.0050922115333378315,
-0.0066042314283549786,
-0.06512733548879623,
-0.005520273931324482,
-0.0339994877576828,
-0.06845565140247345,
-0.03705386444926262,
-0.020484108477830887,
-0.012403407134115696,
0.07083716243505478,
-0.006582368165254593,
-0.039344076067209244,
0.04864009842276573,
0.023670583963394165,
-0.017767470329999924,
-0.03731793910264969,
0.09393630176782608,
-0.023550398647785187,
0.018741600215435028
] | [
-0.005784846376627684,
0.02905787155032158,
-0.03226681426167488,
0.026190562173724174,
-0.002900216728448868,
-0.011452717706561089,
-0.02394040860235691,
-0.0053098625503480434,
-0.07046159356832504,
-0.037226997315883636,
-0.026085006073117256,
0.017283961176872253,
0.03487052395939827,
0.003434246638789773,
0.010141178965568542,
0.02195855602622032,
-0.011338891461491585,
0.02940133772790432,
0.03672196716070175,
-0.023394742980599403,
-0.035221174359321594,
-0.006044094450771809,
0.03554842993617058,
-0.03240746632218361,
-0.02519058994948864,
-0.001905751763843,
-0.0067861503921449184,
0.00715551758185029,
0.022274604067206383,
-0.06445395201444626,
-0.0287643950432539,
-0.0145135298371315,
-0.006686327047646046,
0.03326784446835518,
-0.0299226026982069,
0.0011475956998765469,
0.040552135556936264,
0.03822701424360275,
-0.00039872428169474006,
0.029660815373063087,
0.0326344333589077,
0.004614535719156265,
-0.032853852957487106,
-0.016197578981518745,
0.028154781088232994,
-0.010677936486899853,
-0.02830420807003975,
-0.00922366976737976,
0.0022757959086447954,
-0.01600796729326248,
-0.028704600408673286,
-0.022490493953227997,
-0.010738701559603214,
-0.02206939086318016,
0.004755864851176739,
0.03885727375745773,
-0.06555818766355515,
-0.02183998003602028,
-0.013666002079844475,
-0.0322667695581913,
0.06485118716955185,
-0.02755475975573063,
-0.08138801157474518,
-0.012817563489079475,
-0.00509687839075923,
-0.014299511909484863,
0.004987469874322414,
0.01632050797343254,
-0.016025982797145844,
0.009906521067023277,
-0.019179100170731544,
0.013207456097006798,
-0.08646038174629211,
-0.043168071657419205,
0.0016989127034321427,
0.0594230592250824,
-0.0023891462478786707,
-0.03083714284002781,
0.01205878984183073,
-0.0036742999218404293,
-0.02670658938586712,
0.014067946933209896,
-0.04161882773041725,
0.007872451096773148,
-0.033185239881277084,
-0.025135504081845284,
0.020464055240154266,
-0.008468832820653915,
0.009821981191635132,
0.0003343839489389211,
-0.03532442823052406,
0.023755818605422974,
-0.021998481824994087,
-0.015571237541735172,
-0.10493011772632599,
0.011960931122303009,
0.027709033340215683,
0.03733969107270241,
0.023482434451580048,
0.8164982795715332,
-0.0024632513523101807,
0.0010326342890039086,
0.007058283314108849,
0.03749571740627289,
-0.039616238325834274,
0.02597155049443245,
0.0034565324895083904,
0.05081916227936745,
0.028233172371983528,
-0.00097863026894629,
-0.008234341628849506,
0.03737751021981239,
-0.0013876380398869514,
-0.01027786172926426,
0.006159011274576187,
0.044817082583904266,
0.04276605322957039,
0.012342722155153751,
0.010503573343157768,
0.04336423799395561,
0.0029724454507231712,
0.012221439741551876,
0.016829943284392357,
-0.011233333498239517,
0.005059859249740839,
-0.16226226091384888,
-0.023403074592351913,
-6.698538395113482e-33,
0.03767642006278038,
-0.019322825595736504,
0.05735589936375618,
-0.0001832852140069008,
0.013001044280827045,
0.012188819237053394,
-0.05551358312368393,
-0.010199486277997494,
-0.025427179411053658,
-0.029855428263545036,
-0.011005043052136898,
0.018644602969288826,
0.046114545315504074,
-0.011762705631554127,
-0.003932876978069544,
-0.006385321728885174,
0.04393727332353592,
0.017586078494787216,
-0.0067025418393313885,
-0.03383719176054001,
0.014864945784211159,
0.03505895286798477,
-0.02639858052134514,
0.05056086555123329,
-0.013678235001862049,
0.03487313538789749,
-0.0008672862313687801,
-0.0038607639726251364,
-0.011948740109801292,
-0.04241451248526573,
-0.03590276464819908,
0.03830825909972191,
-0.013727989047765732,
0.031498972326517105,
-0.009314271621406078,
-0.03922329097986221,
-0.013183040544390678,
0.000618170655798167,
0.012778584845364094,
-0.09876324236392975,
-0.057363931089639664,
0.010421260260045528,
-0.0002897969970945269,
-0.036725834012031555,
-0.008923428133130074,
-0.025063395500183105,
-0.011515217833220959,
0.010598201304674149,
0.003534116316586733,
-0.000039536767872050405,
0.018004704266786575,
0.01695467345416546,
-0.007936470210552216,
0.04388656094670296,
-0.0200487170368433,
-0.007010015193372965,
0.04249165952205658,
0.037181537598371506,
-0.010897522792220116,
0.026378776878118515,
0.029650356620550156,
0.008671876043081284,
0.0001468074624426663,
0.06473095715045929,
0.00775308208540082,
0.01539416890591383,
-0.02022836171090603,
-0.0004173003835603595,
-0.00033258486655540764,
0.048307012766599655,
-0.023173080757260323,
0.08314460515975952,
-0.007005023770034313,
-0.021951641887426376,
0.04108591377735138,
-0.06448765844106674,
0.014606710523366928,
-0.00499097490683198,
-0.009572871960699558,
0.061031274497509,
-0.011579498648643494,
-0.017865777015686035,
-0.014836719259619713,
-0.0011527820024639368,
-0.017559153959155083,
-0.005562533158808947,
0.00773429311811924,
0.0021159767638891935,
-0.000031584604585077614,
0.0450979620218277,
0.006495810113847256,
0.020627334713935852,
0.012334860861301422,
-0.022216742858290672,
-0.011093538254499435,
6.778767353925041e-33,
-0.005848029162734747,
0.009401017799973488,
0.0014462533872574568,
-0.0101146986708045,
0.038751453161239624,
-0.004820359405130148,
0.04223876819014549,
-0.004394699819386005,
-0.02784287929534912,
0.04848455265164375,
-0.014884653501212597,
-0.014823180623352528,
0.03869835287332535,
0.030056975781917572,
0.03828927129507065,
0.006585348397493362,
0.02860294282436371,
-0.05015299469232559,
0.0016204501735046506,
0.038781002163887024,
0.0013519086642190814,
0.00975666381418705,
-0.009867703542113304,
0.003958933521062136,
0.044715989381074905,
0.008821992203593254,
0.016869978979229927,
0.0123499920591712,
-0.02720559388399124,
0.001455393503420055,
-0.005408152937889099,
-0.022484412416815758,
-0.017938025295734406,
0.015768690034747124,
0.022295458242297173,
0.009887408465147018,
-0.018231088295578957,
-0.0021772931795567274,
0.003310569329187274,
-0.011896982789039612,
0.021692056208848953,
0.019586319103837013,
-0.051799457520246506,
0.053260184824466705,
0.029759561643004417,
0.01375596784055233,
-0.00012771337060257792,
-0.00034253307967446744,
-0.03804366663098335,
-0.008915885351598263,
0.0070952908135950565,
0.041620880365371704,
-0.025366421788930893,
0.02896297164261341,
-0.0032755357678979635,
-0.03432823717594147,
0.003194143297150731,
0.025862572714686394,
-0.004774173721671104,
-0.009345734491944313,
-0.007009199820458889,
-0.004703587386757135,
-0.028527146205306053,
0.029326021671295166,
-0.01118601392954588,
-0.02495550736784935,
-0.004789289552718401,
0.028434576466679573,
-0.031549565494060516,
0.017434045672416687,
0.0028630876913666725,
-0.022038185968995094,
-0.0007879584445618093,
0.01973036117851734,
0.018081042915582657,
-0.021737273782491684,
-0.02490575984120369,
-0.002373235998675227,
-0.019402403384447098,
0.019950689747929573,
0.03806733712553978,
-0.0013893772847950459,
0.026315459981560707,
0.028042679652571678,
0.025728268548846245,
0.003495503682643175,
-0.036522671580314636,
0.05304073169827461,
-0.025006134063005447,
0.02115582302212715,
0.04181080311536789,
-0.06266506761312485,
-0.03257985785603523,
0.05578827112913132,
-0.039725638926029205,
-1.2416581540719562e-8,
-0.04522770270705223,
-0.00959473941475153,
-0.019834265112876892,
-0.014948870055377483,
0.041123904287815094,
-0.017991231754422188,
-0.004117397591471672,
0.022517316043376923,
-0.012864932417869568,
0.03313014656305313,
0.029414530843496323,
-0.022983992472290993,
0.0011316932504996657,
0.007316825911402702,
0.022994641214609146,
-0.0349079892039299,
-0.011297410354018211,
-0.03922298178076744,
0.012235312722623348,
-0.002070825546979904,
-0.049953822046518326,
0.04396510496735573,
-0.04133741930127144,
0.014406588859856129,
-0.010478676296770573,
-0.031512077897787094,
0.024007262662053108,
-0.05895410105586052,
0.027891915291547775,
-0.043237075209617615,
-0.045901108533144,
-0.029212232679128647,
-0.028859633952379227,
0.03663745895028114,
-0.04622524976730347,
-0.03593951836228371,
0.012936900369822979,
0.05847974866628647,
0.012604458257555962,
0.024805117398500443,
0.007014033384621143,
0.014559520408511162,
-0.020951969549059868,
-0.013431482948362827,
-0.026860861107707024,
0.014094162732362747,
-0.02196536399424076,
0.0038648846093565226,
0.030628997832536697,
-0.05662823095917702,
0.013596653938293457,
-0.008932179771363735,
0.03324737027287483,
0.02035841904580593,
0.005236441735178232,
-0.025077030062675476,
-0.02563660591840744,
-0.010587031953036785,
0.00492649944499135,
-0.024235276505351067,
-0.008660254068672657,
0.01226157695055008,
-0.02284299209713936,
-0.024390442296862602
] | neo4j-2-0-creating-adjacency-matrices | https://markhneedham.com/blog/2014/05/20/neo4j-2-0-creating-adjacency-matrices |
false | 2014-05-31 21:32:24 | Neo4j/R: Analysing London NoSQL meetup membership | [
"neo4j",
"r-2"
] | [
"R"
] | In my spare time I've been working on https://github.com/mneedham/neo4j-meetup[a Neo4j application that runs on tops of meetup.com's API] and Nicole recently showed me how I could wire up some of the queries to http://nicolewhite.github.io/2014/05/30/demo-of-rneo4j-part1.html[use her Rneo4j library]:
+++
<blockquote class="twitter-tweet"><p lang="und" dir="ltr"><a href="https://twitter.com/markhneedham?ref_src=twsrc%5Etfw">@markhneedham</a> <a href="http://t.co/8014jckEUl">pic.twitter.com/8014jckEUl</a></p>— Nicole White (@_nicolemargaret) <a href="https://twitter.com/_nicolemargaret/status/472761625246957569?ref_src=twsrc%5Etfw">May 31, 2014</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
+++
The query used in that visualisation shows the number of members that overlap between each pair of groups but a more interesting query is the one which shows the % overlap between groups based on the unique members across the groups.
The query is a bit more complicated than the original:
[source,cypher]
----
MATCH (group1:Group), (group2:Group)
OPTIONAL MATCH (group1)<-[:MEMBER_OF]-()-[:MEMBER_OF]->(group2)
WITH group1, group2, COUNT(*) as commonMembers
MATCH (group1)<-[:MEMBER_OF]-(group1Member)
WITH group1, group2, commonMembers, COLLECT(id(group1Member)) AS group1Members
MATCH (group2)<-[:MEMBER_OF]-(group2Member)
WITH group1, group2, commonMembers, group1Members, COLLECT(id(group2Member)) AS group2Members
WITH group1, group2, commonMembers, group1Members, group2Members
UNWIND(group1Members + group2Members) AS combinedMember
WITH DISTINCT group1, group2, commonMembers, combinedMember
WITH group1, group2, commonMembers, COUNT(combinedMember) AS combinedMembers
RETURN group1.name, group2.name, toInt(round(100.0 * commonMembers / combinedMembers)) AS percentage
ORDER BY group1.name, group1.name
----
The next step is to wire that up to use Rneo4j and ggplot2. First we'll get the libraries installed and loaded:
[source,r]
----
install.packages("devtools")
devtools::install_github("nicolewhite/Rneo4j")
install.packages("ggplot2")
library(Rneo4j)
library(ggplot2)
----
And now we'll execute the query and create a chart from the results:
[source,r]
----
graph = startGraph("http://localhost:7474/db/data/")
query = "MATCH (group1:Group), (group2:Group)
WHERE group1 <> group2
OPTIONAL MATCH p = (group1)<-[:MEMBER_OF]-()-[:MEMBER_OF]->(group2)
WITH group1, group2, COLLECT(p) AS paths
RETURN group1.name, group2.name, LENGTH(paths) as commonMembers
ORDER BY group1.name, group2.name"
group_overlap = cypher(graph, query)
ggplot(group_overlap, aes(x=group1.name, y=group2.name, fill=commonMembers)) +
geom_bin2d() +
geom_text(aes(label = commonMembers)) +
labs(x= "Group", y="Group", title="Member Group Member Overlap") +
scale_fill_gradient(low="white", high="red") +
theme(axis.text = element_text(size = 12, color = "black"),
axis.title = element_text(size = 14, color = "black"),
plot.title = element_text(size = 16, color = "black"),
axis.text.x = element_text(angle = 45, vjust = 1, hjust = 1))
// as percentage
query = "MATCH (group1:Group), (group2:Group)
WHERE group1 <> group2
OPTIONAL MATCH path = (group1)<-[:MEMBER_OF]-()-[:MEMBER_OF]->(group2)
WITH group1, group2, COLLECT(path) AS paths
WITH group1, group2, LENGTH(paths) as commonMembers
MATCH (group1)<-[:MEMBER_OF]-(group1Member)
WITH group1, group2, commonMembers, COLLECT(id(group1Member)) AS group1Members
MATCH (group2)<-[:MEMBER_OF]-(group2Member)
WITH group1, group2, commonMembers, group1Members, COLLECT(id(group2Member)) AS group2Members
WITH group1, group2, commonMembers, group1Members, group2Members
UNWIND(group1Members + group2Members) AS combinedMember
WITH DISTINCT group1, group2, commonMembers, combinedMember
WITH group1, group2, commonMembers, COUNT(combinedMember) AS combinedMembers
RETURN group1.name, group2.name, toInt(round(100.0 * commonMembers / combinedMembers)) AS percentage
ORDER BY group1.name, group1.name"
group_overlap = cypher(graph, query)
ggplot(group_overlap, aes(x=group1.name, y=group2.name, fill=percentage)) +
geom_bin2d() +
geom_text(aes(label = percentage)) +
labs(x= "Group", y="Group", title="Member Group Member Overlap") +
scale_fill_gradient(low="white", high="red") +
theme(axis.text = element_text(size = 12, color = "black"),
axis.title = element_text(size = 14, color = "black"),
plot.title = element_text(size = 16, color = "black"),
axis.text.x = element_text(angle = 45, vjust = 1, hjust = 1))
----
image::{{<siteurl>}}/uploads/2014/05/2014-05-31_21-54-42.png[2014 05 31 21 54 42,600]
A first glance at the visualisation suggests that the Hadoop, Data Science and Big Data groups have the most overlap which seems to make sense as they do cover quite similar topics.
Thanks to Nicole for the library and the idea of the visualisation. Now we need to do some more analysis on the data to see if there are any more interesting insights. | null | null | [
0.028445333242416382,
-0.03822486847639084,
-0.014025479555130005,
0.024764182046055794,
0.0677485466003418,
0.01823153719305992,
0.05108308792114258,
0.025762446224689484,
0.006315712817013264,
0.011134003289043903,
-0.00978747196495533,
-0.0008516779635101557,
-0.08051366358995438,
0.009771768003702164,
-0.03438499942421913,
0.07289522886276245,
0.06428898870944977,
0.007333654910326004,
0.02186419814825058,
-0.007918933406472206,
0.03801631182432175,
0.055313825607299805,
0.012651776894927025,
0.013885930180549622,
0.03755103424191475,
0.02066013589501381,
0.01705477014183998,
-0.008060920983552933,
-0.029021605849266052,
0.014742224477231503,
0.0474783331155777,
-0.003531097434461117,
0.0343371257185936,
-0.01866232603788376,
0.02465173788368702,
-0.004928776063024998,
-0.013297650963068008,
0.010904619470238686,
-0.005394366569817066,
0.007718253415077925,
-0.05244080722332001,
0.019291378557682037,
-0.005940350703895092,
0.030770450830459595,
-0.04129538685083389,
0.013020544312894344,
-0.04446706920862198,
0.038314469158649445,
-0.004371867515146732,
0.002965295920148492,
-0.07585551589727402,
0.043533045798540115,
-0.015814807265996933,
0.020401399582624435,
0.021488754078745842,
0.05555829033255577,
0.019930105656385422,
-0.07439406216144562,
0.04935631901025772,
-0.022476090118288994,
0.007713343016803265,
-0.0015953260008245707,
0.0028861057944595814,
0.013038339093327522,
-0.017339397221803665,
-0.02807353250682354,
-0.007094771601259708,
0.06367440521717072,
-0.04923596978187561,
0.005530289374291897,
0.00011675170389935374,
0.0199505053460598,
-0.027129119262099266,
-0.009830082766711712,
0.011926152743399143,
-0.03624407947063446,
-0.005540427286177874,
0.056586187332868576,
0.03269898518919945,
0.04833391681313515,
-0.019595017656683922,
-0.0003519848105497658,
0.0049702743999660015,
0.04691363498568535,
-0.0016346455086022615,
-0.0340753011405468,
-0.02182527631521225,
-0.020632315427064896,
-0.061744268983602524,
0.03953932970762253,
0.0052569848485291,
-0.044723644852638245,
0.014585083350539207,
0.020991282537579536,
-0.006170358508825302,
0.037466008216142654,
0.013083280064165592,
0.018999667838215828,
0.01577015407383442,
-0.032296404242515564,
-0.037358008325099945,
-0.03501847758889198,
0.007959682494401932,
-0.009809991344809532,
-0.08710191398859024,
-0.004608288407325745,
-0.017738565802574158,
-0.012086916714906693,
0.0327925831079483,
-0.009066803380846977,
-0.021388590335845947,
0.013656781055033207,
-0.02119724452495575,
0.027078377082943916,
-0.06696116924285889,
0.06906083226203918,
0.013978238217532635,
-0.018305707722902298,
-0.03815319389104843,
0.012580174952745438,
0.04004538804292679,
0.025861432775855064,
-0.0030580528546124697,
0.07111584395170212,
-0.040706705302000046,
0.05458736792206764,
-0.009556981734931469,
0.043137628585100174,
-0.033164020627737045,
-0.06491169333457947,
-0.016497677192091942,
0.06374635547399521,
-0.017359383404254913,
0.005357906222343445,
-0.021067216992378235,
-0.0384051688015461,
-0.015379661694169044,
0.005398433655500412,
0.06661961227655411,
0.02873886190354824,
-0.01714719831943512,
-0.04381073638796806,
0.006527918856590986,
-0.007451740093529224,
0.023268070071935654,
0.035435836762189865,
-0.03582708165049553,
-0.05158254876732826,
-0.01821635477244854,
0.023143216967582703,
0.015370666049420834,
-0.02382267266511917,
0.05284588038921356,
-0.01987200789153576,
0.004817177075892687,
0.07611120492219925,
0.04455113410949707,
-0.002432275330647826,
-0.00811819825321436,
0.004293309990316629,
0.02993655949831009,
0.04315386712551117,
-0.002425810322165489,
0.06564654409885406,
0.0008127316832542419,
-0.017085136845707893,
-0.008236834779381752,
0.08403874188661575,
-0.02358507551252842,
0.024346791207790375,
-0.03966395929455757,
-0.09161879122257233,
0.05987880751490593,
-0.041951097548007965,
0.000429385167080909,
0.019967302680015564,
0.07212041318416595,
0.013743353076279163,
0.009456337429583073,
0.007973621599376202,
-0.06912364065647125,
0.054850585758686066,
0.027296170592308044,
0.02360367402434349,
0.01814747229218483,
-0.013062606565654278,
0.057620853185653687,
0.023194875568151474,
-0.0193033404648304,
0.05363687872886658,
-0.08930493146181107,
-0.06990427523851395,
-0.017031360417604446,
-0.006837441120296717,
0.06884746998548508,
-0.03834087774157524,
0.03935512900352478,
0.05712970346212387,
0.02026432380080223,
0.014111107215285301,
0.009247763082385063,
-0.010408074595034122,
0.03425264731049538,
-0.03669352829456329,
-0.08135640621185303,
0.05454280227422714,
0.031146109104156494,
-0.0616447739303112,
-0.062406107783317566,
0.017539337277412415,
-0.019524596631526947,
0.005037910770624876,
0.02088741958141327,
-0.03248279541730881,
0.012016426771879196,
0.013737731613218784,
0.03760559484362602,
-0.014044039882719517,
0.012486615218222141,
-0.023711834102869034,
0.04907035455107689,
-0.01178424246609211,
-0.014588526450097561,
-0.032161835581064224,
0.005761685781180859,
0.10338150709867477,
0.034237880259752274,
-0.025564981624484062,
-0.0524037666618824,
0.038006167858839035,
0.003825944848358631,
-0.021042566746473312,
0.03824475407600403,
-0.0357830673456192,
0.007023986428976059,
-0.030736412853002548,
-0.035587575286626816,
-0.045941062271595,
0.007026611361652613,
-0.03860633820295334,
-0.012618456967175007,
0.06301669776439667,
-0.041051603853702545,
0.04498840868473053,
-0.0009590498520992696,
-0.02327769063413143,
-0.010385802946984768,
-0.0538671538233757,
-0.028021004050970078,
0.02715778909623623,
0.026190144941210747,
-0.007912307977676392,
0.05105467513203621,
-0.04771507903933525,
-0.011269714683294296,
-0.02229819819331169,
-0.014424634166061878,
0.03848426416516304,
0.06062312424182892,
0.05565198138356209,
-0.008342272602021694,
0.051439814269542694,
-0.023980330675840378,
-0.004490385763347149,
-0.023555664345622063,
-0.03469860181212425,
-0.03471403941512108,
-0.028789188712835312,
0.015513055957853794,
0.008982778526842594,
0.05351165309548378,
-0.0021940036676824093,
0.010210434906184673,
0.017081230878829956,
0.002250965917482972,
-0.00123543047811836,
0.0027246647514402866,
-0.009360871277749538,
-0.008961155079305172,
-0.0336146280169487,
-0.03212668001651764,
0.035737596452236176,
-0.03985327482223511,
-0.03821144625544548,
-0.01472873892635107,
-0.058610156178474426,
0.05907289311289787,
-0.050515420734882355,
-0.0317225307226181,
0.01557223405689001,
0.0461009219288826,
0.05266663059592247,
0.02095475047826767,
-0.006189869251102209,
0.0680079534649849,
-0.005052914842963219,
0.023610832169651985,
0.028533130884170532,
-0.02676396071910858,
0.05823787301778793,
-0.028274403885006905,
0.04191302880644798,
0.03753697872161865,
-0.0484035424888134,
0.020542854443192482,
-0.037021733820438385,
0.02589925192296505,
0.005061708390712738,
-0.25469648838043213,
0.05193565785884857,
-0.042064085602760315,
-0.0380711704492569,
0.009197337552905083,
-0.048106707632541656,
0.010294890031218529,
-0.018355071544647217,
-0.009781492874026299,
0.00969324354082346,
0.022013669833540916,
-0.01668488420546055,
-0.02442809008061886,
0.028797447681427002,
-0.01574634574353695,
-0.014174136333167553,
-0.013929282315075397,
-0.06661742180585861,
0.02852463349699974,
0.038197144865989685,
0.0151247289031744,
-0.04903031140565872,
-0.004518657922744751,
0.015070369467139244,
0.02971644327044487,
0.06445425003767014,
-0.10127157717943192,
0.002888059476390481,
-0.03597599267959595,
-0.02400447614490986,
-0.0047895945608615875,
-0.00652271369472146,
-0.0003923744661733508,
0.008313318714499474,
-0.02360004186630249,
-0.013864290900528431,
0.07246411591768265,
-0.010826431214809418,
0.015377214178442955,
0.024008233100175858,
-0.02884754352271557,
-0.03034571371972561,
-0.021065492182970047,
-0.029644465073943138,
0.07938707619905472,
0.018995197489857674,
-0.08399657905101776,
-0.004719830118119717,
-0.021343475207686424,
0.06302224099636078,
-0.024128757417201996,
-0.05182545632123947,
-0.004455926828086376,
0.013500206172466278,
-0.0031118481419980526,
-0.05607602000236511,
-0.02800053171813488,
-0.015027263201773167,
-0.07263383269309998,
-0.04685114324092865,
-0.026813223958015442,
-0.056540247052907944,
-0.0023704839404672384,
-0.037322983145713806,
-0.04096199944615364,
-0.08147446811199188,
-0.0680442824959755,
-0.010659612715244293,
0.05199379846453667,
-0.0037412969395518303,
-0.01718255877494812,
0.03253268823027611,
-0.03595632687211037,
-0.09862254559993744,
-0.038471776992082596,
-0.02070554718375206,
0.006453300826251507,
-0.0018512536771595478,
-0.0006849775672890246,
0.04399198293685913,
-0.04087231680750847,
-0.038304705172777176,
0.013047132641077042,
0.012774662114679813,
0.032936058938503265,
0.002220518421381712,
0.01800324022769928,
-0.021323183551430702,
-0.04404818266630173,
0.019521119073033333,
0.06704964488744736,
-0.029587572440505028,
-0.028905360028147697,
0.0313606895506382,
0.01758008636534214,
0.0161286648362875,
0.014451353810727596,
0.011657708324491978,
0.0017713018460199237,
0.06316171586513519,
0.03450402244925499,
-0.030474327504634857,
-0.005660919938236475,
-0.02012772485613823,
-0.025249984115362167,
-0.015925969928503036,
-0.04818054288625717,
0.030938023701310158,
0.021831762045621872,
0.03580094128847122,
-0.004610777832567692,
-0.03334226831793785,
-0.001127391355112195,
-0.040325798094272614,
-0.018838630989193916,
-0.026565495878458023,
0.006712128408253193,
0.03026748262345791,
0.03853593021631241,
-0.02424676902592182,
-0.04185168072581291,
0.04383305832743645,
0.03624056652188301,
0.002375256037339568,
-0.056302618235349655,
-0.03952638432383537,
-0.03809523209929466,
-0.025400696322321892,
-0.003876119153574109,
0.022907985374331474,
-0.020220402628183365,
0.020925289019942284,
0.0018192456336691976,
-0.03364570811390877,
0.05379755422472954,
-0.03101646713912487,
-0.024468036368489265,
-0.04171748086810112,
0.029535258188843727,
-0.0017837650375440717,
-0.018400192260742188,
0.025339148938655853,
-0.02047332376241684,
0.0350974015891552,
0.06028454378247261,
0.008895634673535824,
0.01422609481960535,
0.0023063309490680695,
0.012064740061759949,
0.008713111281394958,
0.0034488127566874027,
-0.02859744429588318,
0.01903534308075905,
-0.016270294785499573,
-0.007819171994924545,
-0.01504965964704752,
0.049112848937511444,
-0.010408041998744011,
-0.02637309581041336,
-0.03355155140161514,
0.024717822670936584,
-0.05430242046713829,
0.021929800510406494,
0.000915205164346844,
-0.00010982027743011713,
0.039731573313474655,
-0.029939837753772736,
0.0420733205974102,
-0.03860537335276604,
-0.0291319340467453,
-0.018066339194774628,
0.018467174842953682,
-0.013268325477838516,
0.016558008268475533,
-0.007539046928286552,
0.028117846697568893,
0.020804326981306076,
0.038405001163482666,
0.040329620242118835,
0.03631509467959404,
-0.003108425298705697,
-0.01157198753207922,
0.020993689075112343,
0.02721630036830902,
0.05562945082783699,
0.07472715526819229,
-0.010309454053640366,
-0.00553281232714653,
-0.009406480006873608,
0.008756246417760849,
0.00032766262302175164,
0.000057718312746146694,
-0.04798924922943115,
-0.011996741406619549,
-0.030300691723823547,
-0.07500127702951431,
0.03074069321155548,
0.014608284458518028,
0.034631431102752686,
0.0387401208281517,
-0.00032827831455506384,
0.006095666438341141,
-0.047558192163705826,
0.047440607100725174,
0.04043993726372719,
-0.05253138020634651,
-0.0016598739894106984,
-0.014962908811867237,
-0.029670432209968567,
-0.006678510922938585,
0.01447376236319542,
-0.07208970934152603,
-0.008113234303891659,
-0.023687994107604027,
0.027590129524469376,
-0.03958357870578766,
-0.03082086145877838,
-0.0038213052321225405,
0.0371938981115818,
-0.004860968794673681,
0.03398386761546135,
-0.016909657046198845,
0.015602151863276958,
0.005038290750235319,
-0.005922217853367329,
0.054277628660202026,
-0.02888343296945095,
0.0051371329464018345,
-0.0047463118098676205,
-0.017515037208795547,
0.005544080398976803,
-0.029200853779911995,
0.014802972786128521,
0.0070902812294662,
-0.025350157171487808,
-0.0033641676418483257,
-0.0702739953994751,
0.013189420104026794,
-0.022600039839744568,
0.042695943266153336,
-0.022525763139128685,
-0.013424932025372982,
-0.029052672907710075,
0.0021781674586236477,
-0.058038949966430664,
0.008668128401041031,
-0.0037816388066858053,
-0.00915142334997654,
0.027437148615717888,
0.036806922405958176,
0.023602619767189026,
0.01900090090930462,
-0.02946426346898079,
-0.007545687723904848,
0.050429586321115494,
-0.028038976714015007,
-0.03180282935500145,
-0.03143039718270302,
-0.05188845098018646,
-0.004235357977449894,
0.01141307782381773,
0.005030658096075058,
-0.04345851391553879,
0.045566804707050323,
0.03647582605481148,
0.03043706715106964,
0.04618780314922333,
-0.030997445806860924,
0.019259940832853317,
-0.023669084534049034,
-0.018365584313869476,
-0.0769861564040184,
-0.01024007797241211,
0.02765428088605404,
-0.027247019112110138,
0.005929466802626848,
-0.018981317058205605,
-0.017121203243732452,
0.01900940015912056,
-0.045195385813713074,
-0.01661938801407814,
0.03755378723144531,
-0.03368125483393669,
0.020473990589380264,
0.031917281448841095,
-0.05955130234360695,
0.007773988414555788,
0.050196222960948944,
-0.038396552205085754,
-0.019243095070123672,
-0.03699660673737526,
0.06351500004529953,
-0.03291290998458862,
0.011774628423154354,
-0.022418852895498276,
-0.04194583743810654,
0.06429960578680038,
-0.00019580339721869677,
0.030894305557012558,
0.0673842802643776,
-0.03719012811779976,
0.02564089372754097,
0.04645710811018944,
0.00404918659478426,
0.0029930712189525366,
0.026766840368509293,
-0.02049163542687893,
-0.0412476472556591,
0.03126818314194679,
0.02957710437476635,
-0.027293337509036064,
-0.05743672698736191,
0.08800294250249863,
-0.0007054701563902199,
-0.057190902531147,
-0.03857777640223503,
0.029537402093410492,
-0.01710567995905876,
-0.030578522011637688,
-0.05228237807750702,
0.010933652520179749,
-0.040247779339551926,
0.0472741574048996,
0.0019274423830211163,
0.025985920801758766,
0.07015489786863327,
0.0017481368267908692,
0.010815063491463661,
-0.010542197152972221,
0.08523809909820557,
0.08953425288200378,
0.04570575803518295,
0.011875513941049576,
0.05529393255710602,
-0.013516571372747421,
-0.04830315336585045,
-0.026403622701764107,
-0.02368801459670067,
-0.03049042820930481,
0.013907699845731258,
0.0008550756610929966,
0.059419840574264526,
-0.04853201285004616,
0.07184313982725143,
-0.019590554758906364,
-0.027309099212288857,
-0.0317244790494442,
-0.012602359987795353,
0.03652878478169441,
0.06448501348495483,
0.021897360682487488,
0.08186251670122147,
-0.047770313918590546,
-0.01732512377202511,
0.03959351405501366,
-0.01781250722706318,
-0.015020361170172691,
0.025169268250465393,
-0.011770322918891907,
0.020032521337270737,
0.015856411308050156,
0.052342578768730164,
0.0724143385887146,
-0.03362927958369255,
-0.021913573145866394,
0.008142027072608471,
0.018901076167821884,
-0.015485805459320545,
0.029060935601592064,
0.006785764824599028,
0.004309261683374643,
-0.019794007763266563,
-0.048470862209796906,
-0.0027087214402854443,
-0.029566342011094093,
-0.04289291426539421,
0.02195531688630581,
-0.01658465713262558,
0.010442414321005344,
-0.02931029722094536,
-0.003767482005059719,
-0.01081383042037487,
-0.05081495642662048,
-0.03252991661429405,
-0.07746339589357376,
-0.05513527989387512,
-0.020410077646374702,
0.02042693831026554,
0.004392423667013645,
-0.030300727114081383,
0.014565704390406609,
-0.03808354586362839,
-0.005776401609182358,
0.037522539496421814,
-0.05002738907933235,
-0.0013570146402344108,
0.015676744282245636,
0.023020436987280846,
0.01904265768826008,
0.01963692717254162,
0.06085636466741562,
0.010774513706564903,
0.011468118987977505,
-0.02518083155155182,
0.023072997108101845,
0.03356959670782089,
0.03054412081837654,
-0.013803893700242043,
-0.07030538469552994,
-0.005047924816608429,
0.02324913628399372,
-0.00900392048060894,
-0.07136741280555725,
0.010789050720632076,
0.0486191064119339,
0.0069770896807312965,
0.010742221027612686,
-0.0026750264223665,
0.0022747977636754513,
-0.00015377865929622203,
-0.0007927138358354568,
0.0029055222403258085,
0.004422088619321585,
0.021624239161610603,
-0.04121756553649902,
0.07076369225978851,
0.006505241617560387,
-0.049269095063209534,
-0.01618085242807865,
-0.01508958451449871,
0.005660221911966801,
0.00653087068349123,
-0.03594432398676872,
-0.04772738739848137,
-0.07258053123950958,
-0.08029931783676147,
-0.029925767332315445,
0.005493354517966509,
-0.014492225833237171,
-0.018159294500947,
0.025662297382950783,
0.04415815696120262,
-0.021199753507971764,
0.03707204759120941,
-0.0516199991106987,
0.02956998534500599,
-0.024634290486574173,
-0.03025411255657673,
-0.017207477241754532,
-0.015701256692409515,
-0.015877695754170418,
0.024612853303551674,
0.02677183784544468,
-0.05323297902941704,
-0.002500314498320222,
-0.029382342472672462,
0.03980774059891701,
0.017145367339253426,
0.02622615545988083,
0.012427140027284622
] | [
-0.06342720985412598,
-0.02092031203210354,
-0.05856306478381157,
-0.0027993961703032255,
0.05940200015902519,
-0.03966350108385086,
0.012692536227405071,
0.0038492546882480383,
0.028842151165008545,
-0.041008856147527695,
0.02912411279976368,
-0.049020618200302124,
0.023395350202918053,
-0.0013214631471782923,
0.07140744477510452,
-0.009386619552969933,
-0.020917262881994247,
-0.05547414720058441,
-0.030460480600595474,
0.0399954579770565,
-0.05783781036734581,
-0.0536719486117363,
-0.014019540511071682,
-0.007161340676248074,
0.01661042869091034,
0.04220862314105034,
0.034938301891088486,
-0.0344531424343586,
-0.021625852212309837,
-0.19924074411392212,
0.009937227703630924,
0.031086696311831474,
0.04436560347676277,
0.0011334264418110251,
0.004101883620023727,
0.044762466102838516,
0.044374480843544006,
-0.007706696167588234,
0.005498980171978474,
0.03987039998173714,
0.01740167662501335,
0.004017203114926815,
-0.06425580382347107,
-0.01490720734000206,
0.04506821185350418,
0.025448374450206757,
-0.05484876036643982,
-0.0032314378768205643,
-0.05052173510193825,
0.007970543578267097,
-0.033452633768320084,
-0.030160192400217056,
0.0006797160021960735,
0.012431936338543892,
0.012994434684515,
0.06158362701535225,
0.04904500022530556,
0.05293743684887886,
0.020920781418681145,
0.038656216114759445,
0.01301736943423748,
0.0035359926987439394,
-0.1243995726108551,
0.07941576838493347,
0.005103753414005041,
-0.0010913035366684198,
-0.03316870331764221,
-0.005715475883334875,
-0.018629617989063263,
0.0912495031952858,
0.04081696271896362,
0.010839124210178852,
-0.01490028202533722,
0.052078064531087875,
-0.00387859926559031,
0.04714721068739891,
-0.017069505527615547,
0.016252528876066208,
0.031178781762719154,
-0.02751736529171467,
-0.06610168516635895,
0.020703889429569244,
-0.0320734977722168,
-0.023730676621198654,
-0.030279306694865227,
0.020881008356809616,
-0.011979465372860432,
0.053144872188568115,
-0.0016901276540011168,
0.03885871171951294,
0.020530033856630325,
0.03562561422586441,
0.024209028109908104,
0.010827277787029743,
-0.08982571959495544,
-0.029642362147569656,
0.00900630559772253,
0.013513559475541115,
-0.001867464161477983,
0.40926262736320496,
0.007111659273505211,
0.01937207020819187,
0.050351742655038834,
0.0632779449224472,
-0.026367703452706337,
-0.02016664482653141,
0.0014908000594004989,
-0.0749322772026062,
0.048100512474775314,
-0.023253750056028366,
-0.0002708268293645233,
-0.04034966975450516,
0.03618597239255905,
-0.0957050547003746,
-0.00789354182779789,
0.007503768429160118,
0.07314052432775497,
0.01833304762840271,
-0.016317708417773247,
0.020221903920173645,
-0.012295589782297611,
-0.013488726690411568,
0.035104453563690186,
0.014988571405410767,
0.03773372620344162,
0.03229328989982605,
0.015156643465161324,
0.05513220652937889,
0.048558905720710754,
0.006414315663278103,
0.07727129012346268,
0.03841850161552429,
-0.06897025555372238,
0.017510853707790375,
-0.018757285550236702,
0.014824450016021729,
0.00715359952300787,
-0.033213358372449875,
-0.03196192532777786,
0.03404524549841881,
-0.012374745681881905,
-0.04892358556389809,
0.03738967701792717,
-0.005778787657618523,
-0.030600372701883316,
0.15069161355495453,
-0.027383040636777878,
-0.03137804567813873,
-0.023525457829236984,
-0.018368946388363838,
-0.004883010406047106,
0.04562273994088173,
-0.01953960210084915,
-0.05597435683012009,
-0.030521275475621223,
0.01439649984240532,
0.08880846947431564,
-0.015731029212474823,
-0.0639626532793045,
0.0036508310586214066,
-0.009237073361873627,
-0.012557495385408401,
-0.036221832036972046,
0.08941367268562317,
0.05470326170325279,
-0.12465707957744598,
0.007918432354927063,
0.005658983252942562,
0.008003123104572296,
-0.094376340508461,
0.009577330201864243,
0.001233904273249209,
-0.032110780477523804,
-0.0065753282979130745,
0.058596402406692505,
-0.017002355307340622,
-0.03070744499564171,
-0.00907821860164404,
0.03724736347794533,
0.0016269879415631294,
-0.011566950008273125,
0.00485259760171175,
-0.058080121874809265,
-0.005674201529473066,
-0.0672789216041565,
-0.04601063206791878,
-0.07311645150184631,
0.014664792455732822,
-0.021457739174365997,
-0.03028791770339012,
-0.03317128121852875,
-0.006284840404987335,
-0.09708178788423538,
0.0849989801645279,
-0.06264645606279373,
-0.05012505128979683,
-0.004838339053094387,
-0.0010637642117217183,
-0.02329467423260212,
-0.02578561194241047,
-0.00190936925355345,
0.03482195362448692,
-0.039802685379981995,
0.03468114510178566,
-0.05517148599028587,
0.03796925023198128,
0.06476261466741562,
-0.03473807871341705,
0.07534422725439072,
0.01661374233663082,
-0.02280047908425331,
-0.02179330214858055,
-0.03938370570540428,
0.02279173955321312,
0.01725463941693306,
-0.015199736692011356,
0.01733677089214325,
-0.024912578985095024,
0.011821196414530277,
0.06567986309528351,
-0.006213361397385597,
-0.005462081637233496,
-0.02704431302845478,
-0.34190282225608826,
-0.03179045766592026,
-0.0031045235227793455,
0.009638546034693718,
-0.02110346406698227,
-0.02675272896885872,
0.03754521533846855,
-0.028727184981107712,
0.012648345902562141,
0.037743229418992996,
0.07676907628774643,
0.029490657150745392,
-0.018015436828136444,
-0.062173765152692795,
-0.0015431114006787539,
0.04938532039523125,
-0.019601326435804367,
0.007912669330835342,
-0.019949031993746758,
0.014078098349273205,
0.0021803195122629404,
-0.03562348335981369,
-0.015746597200632095,
-0.03041105903685093,
0.0015880315331742167,
-0.0073134442791342735,
0.10719387978315353,
0.03568107634782791,
-0.009103144519031048,
-0.037369776517152786,
0.05485238507390022,
0.022966161370277405,
-0.045033909380435944,
-0.049995940178632736,
0.00934320967644453,
-0.0034336098469793797,
0.01174900308251381,
-0.013591737486422062,
0.009076028130948544,
-0.012457991018891335,
-0.06657417118549347,
0.015868058428168297,
-0.05335090681910515,
-0.06935727596282959,
-0.03783686086535454,
0.01158109400421381,
-0.03125367686152458,
-0.01092138048261404,
-0.0037804734893143177,
0.06916630268096924,
0.0186971016228199,
-0.012777862139046192,
0.03717048838734627,
0.04768664762377739,
0.01774219423532486,
-0.021471591666340828,
-0.07733722776174545,
-0.031117035076022148,
-0.00179862673394382,
0.019100258126854897,
0.015541253611445427,
0.04650092497467995,
0.02355194091796875,
-0.06190889701247215,
0.021707452833652496,
0.010601893067359924,
-0.042164914309978485,
0.0015422282740473747,
0.030836042016744614,
-0.02638315223157406,
-0.024879243224859238,
0.09025421738624573,
-0.006984876003116369,
0.021488551050424576,
0.03328865021467209,
0.017935266718268394,
-0.041774649173021317,
-0.021778959780931473,
0.04642929509282112,
0.0289982371032238,
0.04548358544707298,
-0.04368606209754944,
0.0605422705411911,
-0.03601076453924179,
-0.038510195910930634,
0.06211332976818085,
0.016040924936532974,
-0.02148555964231491,
0.08371636271476746,
-0.0012046906631439924,
-0.03151187300682068,
-0.006070117466151714,
-0.02560068853199482,
-0.040249526500701904,
0.029001178219914436,
-0.0373787060379982,
-0.26431944966316223,
0.04370438680052757,
0.00734771927818656,
0.047894515097141266,
0.02093207649886608,
0.012866945937275887,
0.028156094253063202,
-0.03441812843084335,
-0.01357253547757864,
-0.01898624561727047,
0.04533771798014641,
0.07500571012496948,
-0.016300532966852188,
-0.003369135782122612,
-0.004431316629052162,
0.03925430402159691,
0.021592391654849052,
-0.013387014158070087,
-0.0001499195786891505,
0.008466589264571667,
0.03612331673502922,
-0.04198327288031578,
0.18744392693042755,
0.011667599901556969,
0.021117599681019783,
0.032508183270692825,
-0.03394296392798424,
0.016263127326965332,
0.04472244158387184,
-0.006969257723540068,
-0.029091253876686096,
0.011726134456694126,
0.023309431970119476,
0.01869305782020092,
0.033200494945049286,
-0.04733644425868988,
0.0003777600941248238,
0.017977358773350716,
0.030357688665390015,
-0.018546102568507195,
0.0106017105281353,
0.00143224629573524,
-0.02943839132785797,
0.04761688783764839,
0.06657030433416367,
-0.028908398002386093,
-0.006296392995864153,
-0.012964445166289806,
-0.055525850504636765,
-0.006725379731506109,
-0.04331742227077484,
-0.05458983778953552,
-0.041775986552238464,
-0.0022169589065015316,
0.019070999696850777,
0.05898551270365715,
0.0008107837638817728,
-0.023704377934336662,
0.046012863516807556,
0.012674838304519653,
-0.042947057634592056,
-0.033169712871313095,
0.08448158949613571,
-0.010410288348793983,
0.03605669364333153
] | [
-0.010538732632994652,
0.025221074000000954,
-0.021782338619232178,
0.04069869592785835,
0.0010932874865829945,
0.012183213606476784,
-0.015234400518238544,
0.0034182951785624027,
-0.0003924751072190702,
-0.04755547270178795,
-0.006793349515646696,
0.017577191814780235,
0.09362121671438217,
-0.0202461089938879,
0.010738835670053959,
0.01277096662670374,
-0.03471153602004051,
-0.012149806134402752,
0.0340447761118412,
-0.058403950184583664,
-0.05798501893877983,
0.013410188257694244,
0.04222312569618225,
0.007203079294413328,
-0.00123523676302284,
0.01014559157192707,
-0.031443867832422256,
-0.0016221029218286276,
0.018511462956666946,
-0.062077391892671585,
-0.02401849254965782,
-0.02077621780335903,
-0.009707257151603699,
0.02285349927842617,
-0.03925514966249466,
0.02073170617222786,
0.005511916242539883,
0.03718746080994606,
0.02364976331591606,
0.038816239684820175,
-0.021004153415560722,
-0.007520425133407116,
-0.020146846771240234,
-0.0014372149016708136,
-0.014516511932015419,
0.020338276401162148,
-0.04543884098529816,
0.0012055336264893413,
-0.038853637874126434,
-0.01501640398055315,
-0.0207133200019598,
-0.006230478640645742,
0.004374674987047911,
0.01621595025062561,
0.022249476984143257,
0.010317978449165821,
-0.05960887297987938,
-0.014347070828080177,
-0.02087951824069023,
-0.010473084636032581,
0.016579078510403633,
-0.02208096906542778,
-0.045470479875802994,
-0.013474985025823116,
0.005017194431275129,
-0.02453620359301567,
-0.03314865380525589,
0.05463641136884689,
0.007799407932907343,
-0.0046532233245670795,
-0.03979457542300224,
0.05067968741059303,
-0.05047477409243584,
-0.01524443831294775,
-0.0052465167827904224,
0.03589199483394623,
0.024289419874548912,
-0.0003453835961408913,
0.01529339887201786,
-0.006533476524055004,
-0.04587928205728531,
-0.001366334268823266,
-0.011804993264377117,
0.022674690932035446,
0.019326822832226753,
-0.010924535803496838,
0.01814599521458149,
-0.002700469922274351,
-0.028142118826508522,
0.006414199247956276,
-0.02248675748705864,
0.030324585735797882,
-0.005766724701970816,
-0.002475298009812832,
-0.07942480593919754,
-0.014395521022379398,
0.0070806206203997135,
0.00660037761554122,
0.02475828304886818,
0.8431371450424194,
0.00356590049341321,
0.0035373580176383257,
0.000316182296955958,
-0.003351994091644883,
-0.006769607774913311,
0.018370486795902252,
0.015600983053445816,
0.007672712206840515,
0.049186524003744125,
-0.013628186658024788,
-0.014507641084492207,
0.0013007773086428642,
0.0006096471333876252,
0.0026927394792437553,
0.00121203507296741,
0.05099590867757797,
0.0524737648665905,
0.02147321216762066,
0.04243700951337814,
0.025465035811066628,
0.02335854433476925,
0.0054425741545856,
0.011752908118069172,
-0.006983346771448851,
0.019405817613005638,
-0.15862485766410828,
0.001778179663233459,
-7.327355139090448e-33,
0.05362099036574364,
-0.00009703084651846439,
0.036260008811950684,
-0.011642771773040295,
0.028446318581700325,
0.013318794779479504,
-0.03623387962579727,
-0.03435790166258812,
-0.03283471614122391,
-0.017331792041659355,
-0.02124340459704399,
0.020079150795936584,
0.030350925400853157,
-0.028528550639748573,
-0.009279130026698112,
-0.024570917710661888,
0.026906659826636314,
0.015190847218036652,
-0.007410598453134298,
-0.016560154035687447,
0.00023243302712216973,
0.032245904207229614,
0.001322154188528657,
0.04768897965550423,
-0.01806299388408661,
0.057728659361600876,
-0.0005208567599765956,
0.009553320705890656,
0.00033003269345499575,
-0.05146385729312897,
-0.04289634898304939,
0.03931613638997078,
-0.024928012862801552,
0.00776261929422617,
-0.0010490065906196833,
-0.036699891090393066,
-0.029043152928352356,
0.01374888513237238,
-0.016265420243144035,
-0.053390730172395706,
-0.037206776440143585,
0.007564910687506199,
0.004774040076881647,
-0.06221354752779007,
-0.026708247140049934,
-0.022849315777420998,
-0.02166854776442051,
-0.002485821256414056,
-0.004664443898946047,
0.009405450895428658,
0.017177870497107506,
0.02375485748052597,
0.0015316714998334646,
-0.004815434571355581,
-0.053610049188137054,
-0.031073715537786484,
0.002777175744995475,
0.03426518663764,
0.012603331357240677,
0.04084593057632446,
0.02199825644493103,
-0.019153017550706863,
0.0046133543364703655,
0.048747718334198,
0.032317377626895905,
-0.00024429397308267653,
-0.005205974914133549,
-0.012867406941950321,
-0.002203412353992462,
0.030267911031842232,
-0.024384263902902603,
0.05764004960656166,
-0.0001602806441951543,
0.009266145527362823,
-0.000047208555770339444,
-0.05560195446014404,
0.011608913540840149,
-0.007818342186510563,
-0.0014286523219197989,
0.05497307702898979,
-0.0024236198514699936,
-0.02692556381225586,
0.008342748507857323,
-0.02542068436741829,
-0.03602471575140953,
-0.012461589649319649,
0.02344893477857113,
-0.009081965312361717,
-0.02108871564269066,
0.05047062411904335,
0.010918639600276947,
0.02364734746515751,
0.021039700135588646,
-0.008483953773975372,
-0.012870382517576218,
6.767905786123443e-33,
0.026186218485236168,
0.017122168093919754,
0.0011290592374280095,
-0.02109099179506302,
0.04522566497325897,
-0.011856195516884327,
0.015215477906167507,
-0.0037008668296039104,
-0.03365926817059517,
0.03549395501613617,
-0.00016019982285797596,
0.012260320596396923,
-0.019825216382741928,
0.020426642149686813,
0.05943633243441582,
0.003519244957715273,
0.05112812668085098,
-0.030024340376257896,
0.023523302748799324,
0.009692722000181675,
0.010516390204429626,
-0.007802688051015139,
0.007610264699906111,
0.015775412321090698,
0.014513300731778145,
0.024881068617105484,
-0.0018282351084053516,
0.001531807123683393,
-0.009040852077305317,
0.004260150715708733,
0.0061816987581551075,
-0.05683251842856407,
0.006923874374479055,
-0.023617537692189217,
0.025705600157380104,
0.030732447281479836,
-0.017182616516947746,
-0.007518291473388672,
0.026216408237814903,
-0.02264408767223358,
0.052649904042482376,
0.0013518109917640686,
-0.03659309446811676,
0.05550659820437431,
0.014805829152464867,
0.012902545742690563,
0.00949016585946083,
-0.007380301598459482,
-0.041576169431209564,
0.012014534324407578,
0.0023730043321847916,
0.03223700821399689,
-0.00338746584020555,
0.0008506444864906371,
0.01927761361002922,
-0.04149548336863518,
-0.0081483731046319,
0.012813587673008442,
-0.021134594455361366,
-0.010744065977633,
0.0011078047100454569,
-0.0031609267462044954,
-0.04622127488255501,
0.022536607459187508,
-0.023486996069550514,
-0.03510566055774689,
-0.05300142988562584,
0.0242165494710207,
-0.007655207067728043,
0.02128690294921398,
-0.01947752572596073,
-0.013675405643880367,
0.0038265937473624945,
0.015327558852732182,
0.013079133816063404,
-0.018808728083968163,
-0.027881024405360222,
0.003590919077396393,
-0.031202953308820724,
0.03181168809533119,
0.001103231217712164,
-0.0026436024345457554,
-0.0015406871680170298,
0.0016799425939098,
0.00015010185597930104,
0.009562661871314049,
-0.013760456815361977,
0.05162300541996956,
0.00024803660926409066,
-0.04014997184276581,
0.027963530272245407,
-0.032635219395160675,
-0.012234125286340714,
0.0434044748544693,
-0.022677596658468246,
-1.275085903529316e-8,
-0.03547140210866928,
-0.014912768267095089,
-0.02576325088739395,
-0.024305684491991997,
0.007567181717604399,
0.020780840888619423,
-0.013208962045609951,
0.007408192381262779,
-0.020803695544600487,
0.01912793517112732,
0.01951851323246956,
-0.012280763126909733,
0.02200637198984623,
-0.008264541625976562,
0.002013535238802433,
-0.05225009843707085,
-0.05486974120140076,
-0.019454237073659897,
0.027368340641260147,
0.036573369055986404,
-0.018837835639715195,
0.025574252009391785,
-0.024270208552479744,
0.002700983779504895,
0.014896447770297527,
-0.0013569206930696964,
0.01203165017068386,
-0.05711755529046059,
-0.02772458828985691,
-0.04680558294057846,
0.006236902438104153,
-0.029520533978939056,
-0.02276155725121498,
0.018126871436834335,
-0.010200693272054195,
-0.03355516120791435,
-0.007959726266562939,
0.017611220479011536,
-0.010812350548803806,
0.03399299830198288,
0.009538154117763042,
0.01872069016098976,
-0.012075408361852169,
-0.021666474640369415,
-0.02581348828971386,
-0.0046830554492771626,
-0.029469335451722145,
-0.014906431548297405,
0.028763819485902786,
-0.05552249774336815,
0.006280401721596718,
-0.009386589750647545,
0.029806822538375854,
0.0343298465013504,
0.030540313571691513,
-0.004268825985491276,
0.009593375958502293,
0.008694833144545555,
0.006001786794513464,
-0.05070687457919121,
-0.001142160501331091,
-0.0055143521167337894,
-0.03012705408036709,
-0.03386354818940163
] | neo4jr-analysing-london-nosql-meetup-membership | https://markhneedham.com/blog/2014/05/31/neo4jr-analysing-london-nosql-meetup-membership |
false | 2014-05-31 12:44:10 | Neo4j: Cypher - Neo.ClientError.Statement.ParameterMissing and neo4j-shell | [
"neo4j"
] | [
"neo4j"
] | Every now and then I get sent Neo4j cypher queries to look at and more often than not they're http://docs.neo4j.org/chunked/stable/cypher-parameters.html[parameterised] which means you can't easily run them in the http://neo4j.com/blog/neo4j-2-0-0-m06-introducing-neo4js-browser/[Neo4j browser].
For example let's say we have a database which has a user called 'Mark':
[source,cypher]
----
CREATE (u:User {name: "Mark"})
----
Now we write a query to find 'Mark' with the name parameterised so we can easily search for a different user in future:
[source,cypher]
----
MATCH (u:User {name: {name}}) RETURN u
----
If we run that query in the Neo4j browser we'll get this error:
[source,bash]
----
Expected a parameter named name
Neo.ClientError.Statement.ParameterMissing
----
If we try that in neo4j-shell we'll get the same exception to start with:
[source,cypher]
----
$ MATCH (u:User {name: {name}}) RETURN u;
ParameterNotFoundException: Expected a parameter named name
----
However, as https://twitter.com/mesirii[Michael] pointed out to me, the neat thing about neo4j-shell is that we can define parameters by using the +++<cite>+++export+++</cite>+++ command:
[source,cypher]
----
$ export name="Mark"
$ MATCH (u:User {name: {name}}) RETURN u;
+-------------------------+
| u |
+-------------------------+
| Node[1923]{name:"Mark"} |
+-------------------------+
1 row
----
+++<cite>+++export+++</cite>+++ is a bit sensitive to spaces so it's best to keep them to a minimum. e.g. the following tries to create the variable 'name ' which is invalid:
[source,bash]
----
$ export name = "Mark"
name is no valid variable name. May only contain alphanumeric characters and underscores.
----
The variables we create in the shell don't have to only be primitives. We can create maps too:
[source,bash]
----
$ export params={ name: "Mark" }
$ MATCH (u:User {name: {params}.name}) RETURN u;
+-------------------------+
| u |
+-------------------------+
| Node[1923]{name:"Mark"} |
+-------------------------+
1 row
----
A simple tip but one that saves me from having to rewrite queries all the time! | null | null | [
-0.016119632869958878,
-0.0058091855607926846,
-0.019391005858778954,
-0.006274666637182236,
0.07303768396377563,
0.0050598629750311375,
0.032400332391262054,
0.022722138091921806,
0.030667586252093315,
-0.044682200998067856,
-0.02395470254123211,
-0.020818745717406273,
-0.05965283885598183,
0.03213430568575859,
0.019056079909205437,
0.07798730581998825,
0.05534452572464943,
0.02301850914955139,
0.016392553225159645,
-0.045448508113622665,
0.02655288577079773,
0.06044325605034828,
0.009774294681847095,
0.007935641333460808,
0.05207373946905136,
0.007547827437520027,
-0.000451013125712052,
-0.03047732450067997,
-0.04999570548534393,
0.0022596060298383236,
0.04360659420490265,
0.031418703496456146,
0.010722448118031025,
-0.01408370304852724,
0.034566983580589294,
-0.004659470170736313,
-0.043890323489904404,
-0.003429763950407505,
-0.018311811611056328,
0.000555841950699687,
-0.030418213456869125,
0.024718502536416054,
-0.012225647456943989,
0.0625637099146843,
-0.030699510127305984,
0.011268828064203262,
-0.03741970285773277,
0.03856183588504791,
0.00906578078866005,
-0.007968074642121792,
-0.0892719030380249,
0.023787055164575577,
-0.018740126863121986,
-0.0022464978974312544,
0.01784459874033928,
0.03302508592605591,
0.001171595766209066,
-0.08530881255865097,
0.06391112506389618,
-0.014262703247368336,
-0.004630104172974825,
0.012866601347923279,
-0.01443004235625267,
0.05236132815480232,
-0.01837807334959507,
-0.01588018424808979,
-0.0035101016983389854,
0.05470593646168709,
-0.07250752300024033,
-0.02305145375430584,
0.009320414625108242,
0.003834647126495838,
-0.018982984125614166,
-0.015096491202712059,
0.0010553988395258784,
-0.014530233107507229,
-0.025164535269141197,
0.059080906212329865,
0.040559567511081696,
0.07121210545301437,
-0.032084085047245026,
-0.004061654210090637,
0.010143522173166275,
0.016137219965457916,
-0.017232341691851616,
-0.0353521853685379,
-0.0462738536298275,
-0.003303030738607049,
-0.04296683892607689,
0.02696179784834385,
0.05886565148830414,
-0.07234547287225723,
0.015478047542273998,
-0.0009295750642195344,
-0.04458791762590408,
0.02733616530895233,
-0.030366014689207077,
-0.012964434921741486,
0.01416116114705801,
-0.01681162789463997,
-0.03320322930812836,
-0.026762671768665314,
-0.02731383964419365,
0.002745815319940448,
-0.0699654147028923,
-0.015652485191822052,
-0.05411805212497711,
-0.01750306971371174,
0.004025839269161224,
-0.005348550155758858,
-0.06336302310228348,
0.017035173252224922,
-0.006917445920407772,
0.030705243349075317,
-0.08008917421102524,
0.05844338983297348,
0.02578388713300228,
0.0009394827648065984,
-0.0004947564448229969,
0.020115185528993607,
0.022699985653162003,
0.016293242573738098,
-0.004112266004085541,
0.05639038607478142,
-0.008673908188939095,
0.07219595462083817,
0.036517538130283356,
0.02205263264477253,
-0.01700572855770588,
-0.057445868849754333,
-0.02237330563366413,
0.08175400644540787,
0.03846346214413643,
0.025299567729234695,
-0.0247279554605484,
-0.06239704787731171,
-0.011049410328269005,
-0.002226872369647026,
0.03606196865439415,
0.02784413844347,
0.009863711893558502,
-0.054813630878925323,
0.008325368165969849,
0.02323242463171482,
0.04179865121841431,
0.04166840389370918,
-0.029365794733166695,
-0.04476320371031761,
-0.034254688769578934,
0.0041973767802119255,
0.04498535022139549,
0.02862848900258541,
0.06513778120279312,
-0.0009667130070738494,
-0.01027439534664154,
0.10255397856235504,
0.03544732555747032,
0.00739665050059557,
-0.04379327595233917,
-0.006574967876076698,
0.04702259227633476,
0.034842148423194885,
-0.0016584828263148665,
0.09586858004331589,
0.0225391648709774,
0.00611852016299963,
-0.00820393580943346,
0.04719773679971695,
0.009477801620960236,
-0.007163532078266144,
-0.03757476434111595,
-0.06582823395729065,
0.0742611512541771,
-0.02615518495440483,
0.0030032999347895384,
0.04356855899095535,
0.06780485808849335,
-0.0033502657897770405,
0.03565080836415291,
0.004664333071559668,
-0.05889382213354111,
0.05822350084781647,
-0.0051690260879695415,
0.008716104552149773,
-0.010096383281052113,
0.008035107515752316,
0.08099663257598877,
0.03248768672347069,
-0.0222097709774971,
0.05976061895489693,
-0.06966058909893036,
-0.07172558456659317,
-0.011468837969005108,
-0.006382833234965801,
0.05863015726208687,
-0.02468733675777912,
0.001342401490546763,
0.0610499270260334,
0.018914636224508286,
0.01388614997267723,
0.002210597973316908,
0.0021039722487330437,
0.03765852749347687,
-0.044129014015197754,
-0.06247503310441971,
0.050056274980306625,
0.04197658225893974,
-0.08237510174512863,
-0.024432500824332237,
0.03513942286372185,
-0.034486379474401474,
0.03686128184199333,
0.010713222436606884,
-0.014559047296643257,
0.023565808311104774,
0.03245291858911514,
0.014698502607643604,
-0.011595985852181911,
0.006140175275504589,
-0.014086191542446613,
0.02876843884587288,
0.0028162584640085697,
-0.008757616393268108,
-0.0009449075441807508,
-0.010551854968070984,
0.11193741858005524,
0.037359848618507385,
-0.004316642880439758,
-0.031341321766376495,
0.003935757093131542,
0.020960737019777298,
-0.04318946227431297,
0.03177217021584511,
-0.024388646706938744,
-0.028481068089604378,
-0.016826298087835312,
-0.03484775871038437,
-0.01635614223778248,
-0.011089855805039406,
-0.019202731549739838,
-0.012105951085686684,
0.06774089485406876,
-0.01499143335968256,
0.0547880157828331,
0.009038379415869713,
0.008203476667404175,
0.001724045374430716,
-0.04742337018251419,
-0.04767114669084549,
0.058984577655792236,
0.020975450053811073,
0.007343433331698179,
0.048083700239658356,
-0.028154654428362846,
-0.017310934141278267,
-0.028321977704763412,
-0.019550209864974022,
0.03933994099497795,
0.02738543413579464,
0.05589018017053604,
-0.03647570684552193,
0.05811033025383949,
-0.06197627633810043,
0.03729008883237839,
-0.01711449958384037,
-0.061830177903175354,
-0.01655394770205021,
-0.005097070708870888,
0.04956868290901184,
0.02891268953680992,
0.01694059744477272,
-0.015734773129224777,
0.012385224923491478,
-0.003381929360330105,
0.024527590721845627,
0.013830396346747875,
0.007975396700203419,
-0.010519236326217651,
-0.008944627828896046,
-0.029993390664458275,
-0.03824629634618759,
0.043101195245981216,
-0.08379106968641281,
-0.058603134006261826,
-0.03476724773645401,
-0.0449783019721508,
0.0376715362071991,
-0.07054175436496735,
-0.05371294543147087,
-0.008485151454806328,
0.026487382128834724,
0.05713072791695595,
0.017829209566116333,
0.0230004470795393,
0.06228531524538994,
0.008290087804198265,
-0.0020207571797072887,
0.029251227155327797,
0.014739489182829857,
0.0655788853764534,
-0.0007267532055266201,
0.04961454123258591,
0.040348876267671585,
-0.00900146085768938,
0.01933857426047325,
-0.041235119104385376,
-0.03157750889658928,
-0.026326898485422134,
-0.2783319652080536,
0.05837886407971382,
0.001113016391173005,
-0.03188975527882576,
0.023487556725740433,
-0.03138154372572899,
-0.0022564500104635954,
-0.017540886998176575,
-0.028416398912668228,
0.012389939278364182,
0.024109799414873123,
0.01433037780225277,
-0.011900770477950573,
0.02752048335969448,
-0.015455703251063824,
-0.008273780345916748,
-0.0149522190913558,
-0.04777396470308304,
0.005102347582578659,
0.016184629872441292,
0.020640721544623375,
-0.02185218222439289,
-0.003490148577839136,
-0.005505830980837345,
0.02352023497223854,
0.03554945066571236,
-0.08017872273921967,
0.03773604333400726,
-0.022676091641187668,
-0.04358457773923874,
0.01129648182541132,
-0.046791888773441315,
0.012505498714745045,
0.014849642291665077,
-0.008623665198683739,
-0.024605076760053635,
0.035601500421762466,
-0.005836852826178074,
0.03605569899082184,
0.0275514367967844,
-0.056357644498348236,
-0.0769369900226593,
-0.007421125657856464,
-0.01845989190042019,
0.0548253208398819,
-0.0024169243406504393,
-0.08215166628360748,
-0.01444989163428545,
-0.02228396199643612,
0.041003625839948654,
-0.02603073976933956,
-0.05334129557013512,
-0.03612557426095009,
-0.008117105811834335,
-0.002066301880404353,
-0.036719612777233124,
-0.0028338294941931963,
-0.01450010109692812,
-0.04961046949028969,
-0.01547306403517723,
0.021797804161906242,
-0.04507973790168762,
0.006835677661001682,
-0.05731344595551491,
-0.00575279351323843,
-0.05190284177660942,
-0.05496290698647499,
-0.05041686072945595,
0.05564678832888603,
0.023710334673523903,
0.010721270926296711,
0.03693285211920738,
-0.0038436814211308956,
-0.11315886676311493,
-0.021105855703353882,
-0.03713672235608101,
0.0037737106904387474,
0.002335113240405917,
-0.03794792667031288,
0.023159997537732124,
-0.0440685972571373,
-0.021290132775902748,
-0.025774043053388596,
0.007908225990831852,
0.02944144420325756,
-0.019120953977108,
0.018610067665576935,
-0.02872954122722149,
-0.011253985576331615,
-0.004435904324054718,
0.06440319865942001,
-0.036004576832056046,
-0.01802302896976471,
0.021898260340094566,
-0.013239235617220402,
0.010830730199813843,
0.020331185311079025,
-0.007066478952765465,
0.019252154976129532,
0.05135141685605049,
0.04040585085749626,
-0.024444637820124626,
0.015573915094137192,
-0.059340737760066986,
-0.02954290434718132,
0.012390916235744953,
-0.0395650677382946,
0.0235630813986063,
0.011041880585253239,
0.0032397035975009203,
-0.008410054259002209,
-0.02389572560787201,
-0.03201587498188019,
-0.049416061490774155,
-0.052125778049230576,
0.015020014718174934,
0.025372549891471863,
0.021269245073199272,
0.05435117706656456,
-0.04426409676671028,
-0.06067552790045738,
0.038367271423339844,
0.036443471908569336,
-0.010784189216792583,
-0.049483150243759155,
-0.04090195894241333,
-0.012385908514261246,
-0.048803918063640594,
0.006431720219552517,
0.02452530898153782,
-0.03660837188363075,
0.02391558699309826,
0.008720563724637032,
-0.005440177861601114,
0.040649235248565674,
-0.02205451764166355,
-0.006500881630927324,
-0.004659147467464209,
0.025948602706193924,
-0.011149848811328411,
-0.017765456810593605,
0.02707076258957386,
-0.004446716979146004,
0.050231706351041794,
0.027630889788269997,
0.003949295729398727,
0.01965172216296196,
0.02147713676095009,
0.049829572439193726,
0.00645463215187192,
0.00720331072807312,
-0.041860420256853104,
0.016266895458102226,
-0.043405454605817795,
-0.023789506405591965,
0.0067428345791995525,
0.047622159123420715,
-0.038831524550914764,
-0.04302709177136421,
-0.0400041826069355,
0.02055351994931698,
-0.07827268540859222,
0.010946041904389858,
0.018422553315758705,
-0.016140656545758247,
0.030940329656004906,
-0.03747328743338585,
0.03518890589475632,
-0.03777434676885605,
-0.000097522912255954,
-0.0023392096627503633,
0.0371583066880703,
-0.025863830000162125,
-0.0033004572615027428,
-0.0030692419968545437,
0.009446300566196442,
0.0004877889296039939,
0.06947294622659683,
0.006329520605504513,
0.010832522995769978,
0.01092576328665018,
0.02583748660981655,
0.019452456384897232,
0.03350185975432396,
0.027566730976104736,
-0.0018664944218471646,
-0.017750082537531853,
0.01911180652678013,
-0.0242258682847023,
-0.004144386388361454,
-0.02422909252345562,
0.01338628027588129,
-0.03074825368821621,
0.016064070165157318,
0.000014725194887432735,
-0.04743233695626259,
0.05497470125555992,
0.009346327744424343,
0.0057923197746276855,
0.030900925397872925,
0.006333886180073023,
0.01948426477611065,
-0.032462820410728455,
0.029700743034482002,
0.030859293416142464,
-0.03383295238018036,
-0.032048627734184265,
-0.005899480078369379,
-0.044740136712789536,
-0.004186918959021568,
0.00461253896355629,
-0.03857246786355972,
-0.03607553988695145,
0.012930259108543396,
0.005783373024314642,
-0.02542583830654621,
-0.05641921982169151,
0.010903413407504559,
0.012887918390333652,
-0.00424374220892787,
0.06602488458156586,
0.028520431369543076,
0.02974870800971985,
-0.009683082811534405,
0.009746530093252659,
0.04230156168341637,
-0.0041442448273301125,
-0.03164811432361603,
0.009170451201498508,
0.025434603914618492,
0.026195386424660683,
-0.02697054296731949,
0.02027493715286255,
0.006671225186437368,
-0.0018443816807121038,
-0.026407307013869286,
-0.04009447619318962,
0.0204151701182127,
-0.020042572170495987,
0.01843591406941414,
0.008329350501298904,
-0.013052664697170258,
-0.009740683250129223,
-0.013111538253724575,
-0.031437166035175323,
0.01691591367125511,
-0.007875526323914528,
-0.0005927897291257977,
-0.009537872858345509,
0.03421642258763313,
0.003965628799051046,
0.03471481055021286,
-0.007423549424856901,
-0.026267556473612785,
0.033898718655109406,
-0.009523117914795876,
-0.0355846993625164,
-0.010030655190348625,
-0.06733278930187225,
-0.006410936824977398,
0.04239189624786377,
-0.007457075174897909,
-0.056443799287080765,
0.058915626257658005,
0.05235585197806358,
0.004922113846987486,
0.019013898447155952,
-0.007991633377969265,
0.008524643257260323,
-0.03739010542631149,
-0.03611406683921814,
-0.08417976647615433,
0.023928731679916382,
0.05065421015024185,
-0.00012009533384116367,
0.006792404688894749,
-0.026658549904823303,
-0.038922443985939026,
0.003877398557960987,
-0.03115384839475155,
-0.04501107707619667,
0.019326617941260338,
-0.011101925745606422,
0.005273695103824139,
0.014851665124297142,
-0.05620180070400238,
-0.0022396419662982225,
0.057284921407699585,
-0.02843271940946579,
-0.05467255786061287,
-0.023051384836435318,
0.05279330536723137,
-0.008574585430324078,
0.08117695152759552,
-0.02189081907272339,
-0.017837470397353172,
0.0623796284198761,
-0.004806068725883961,
0.03575686365365982,
0.074751116335392,
-0.02365669421851635,
0.011627720668911934,
0.029487932100892067,
0.0008784055826254189,
0.028160491958260536,
0.0479116328060627,
-0.02959137223660946,
-0.04632328078150749,
0.02598034404218197,
0.0037063502240926027,
-0.04056810587644577,
-0.03634432330727577,
0.07099742442369461,
-0.0037196818739175797,
-0.05066756531596184,
-0.03788352757692337,
0.022298021242022514,
-0.018764659762382507,
-0.023820068687200546,
-0.06849268078804016,
0.021558137610554695,
-0.01988893747329712,
0.07013776153326035,
-0.0013572664465755224,
0.010820489376783371,
0.06672222912311554,
0.022153476253151894,
-0.003705528099089861,
0.004504050128161907,
0.05015013366937637,
0.10427279025316238,
0.028475092723965645,
0.015397880226373672,
0.05288605019450188,
-0.014242351986467838,
-0.015947729349136353,
-0.012708290480077267,
-0.03165743872523308,
-0.031163396313786507,
0.013785582035779953,
-0.008651010692119598,
0.06948859989643097,
-0.02157226763665676,
0.044725943356752396,
-0.02632049284875393,
0.0043195015750825405,
-0.02466214820742607,
-0.005608305800706148,
0.05401219055056572,
0.03309750556945801,
0.0016705798916518688,
0.04672771319746971,
-0.04518919438123703,
-0.030194448307156563,
0.010394090786576271,
-0.009618383832275867,
-0.03198590129613876,
0.026627741754055023,
-0.03634984791278839,
-0.018199192360043526,
0.008484129793941975,
0.046062443405389786,
0.08383253216743469,
-0.03679383546113968,
-0.03313016518950462,
0.015406323596835136,
0.019717885181307793,
-0.011922245845198631,
0.018082493916153908,
0.005045728292316198,
-0.02019454725086689,
-0.018262537196278572,
-0.03437666594982147,
-0.040278367698192596,
-0.03888046741485596,
-0.06874445080757141,
0.0071247294545173645,
-0.027406997978687286,
-0.014042133465409279,
-0.02345610223710537,
-0.01327187567949295,
0.009462169371545315,
-0.05675506591796875,
-0.0640667974948883,
-0.03607559949159622,
-0.057305529713630676,
-0.002097879536449909,
0.0027786672580987215,
-0.002140937140211463,
-0.009438290260732174,
0.01624118909239769,
-0.013507080264389515,
-0.02170366793870926,
0.06410881876945496,
-0.045743972063064575,
-0.014109957963228226,
-0.005034723784774542,
0.009707949124276638,
0.01996186189353466,
0.027696896344423294,
0.027796277776360512,
0.0021454161033034325,
0.006246581207960844,
-0.022388847544789314,
-0.013524466194212437,
0.05258050560951233,
-0.007135717663913965,
-0.005582223646342754,
-0.06305181980133057,
-0.0284744706004858,
0.040928520262241364,
0.013019442558288574,
-0.04775440692901611,
0.03262335807085037,
0.03704041242599487,
-0.007481091655790806,
0.041820451617240906,
0.018926110118627548,
-0.011646276339888573,
-0.014609011821448803,
0.0010258302791044116,
0.01023903489112854,
-0.01622871495783329,
0.012638499028980732,
-0.013352555222809315,
0.05841011554002762,
0.035275351256132126,
-0.01094604842364788,
-0.015830794349312782,
-0.042149171233177185,
0.012166319414973259,
0.013764464296400547,
-0.032547298818826675,
-0.03276435658335686,
-0.040801916271448135,
-0.08453952521085739,
-0.010972310788929462,
0.01544076856225729,
0.0003939393791370094,
-0.034705568104982376,
0.02079596370458603,
0.016243940219283104,
-0.05383460596203804,
0.0058421362191438675,
-0.04943295568227768,
0.04021470621228218,
0.0007315812981687486,
-0.027865776792168617,
-0.027942337095737457,
0.017475029453635216,
-0.017621858045458794,
0.020271876826882362,
0.034295372664928436,
-0.02133013680577278,
-0.021478906273841858,
-0.05657403916120529,
0.029475511983036995,
0.03220459446310997,
0.002990711946040392,
0.04448792710900307
] | [
-0.05495528504252434,
-0.024890204891562462,
-0.04473356902599335,
-0.0033338279463350773,
0.03749023750424385,
-0.04918859153985977,
0.01590699516236782,
0.030021803453564644,
0.025327393785119057,
-0.015452880412340164,
0.02461538091301918,
-0.02768516167998314,
0.004841645713895559,
0.003362918272614479,
0.08110964298248291,
-0.004653214477002621,
-0.03528996556997299,
-0.05868705362081528,
-0.042013660073280334,
0.0464751236140728,
0.0021364502608776093,
-0.03311922401189804,
-0.0027399512473493814,
-0.03673747181892395,
-0.006266019307076931,
0.032888516783714294,
0.03849250450730324,
-0.025020036846399307,
-0.01936362311244011,
-0.1946573704481125,
-0.0024327191058546305,
0.03156277537345886,
-0.009928249754011631,
-0.0062983110547065735,
0.009938639588654041,
0.008554276078939438,
0.0434434674680233,
-0.030166281387209892,
0.020110180601477623,
0.03369857743382454,
0.03847726434469223,
-0.002092869020998478,
-0.04808376729488373,
0.00031915525323711336,
0.0492929108440876,
0.02202194184064865,
-0.025422044098377228,
-0.020012034103274345,
-0.027799803763628006,
0.023645514622330666,
-0.02451048418879509,
-0.012792576104402542,
-0.007621359545737505,
0.0009553668787702918,
0.016664035618305206,
0.03258313611149788,
0.05845221132040024,
0.0788765698671341,
0.02613583393394947,
0.04789431765675545,
0.004559144843369722,
-0.008822808042168617,
-0.1341036707162857,
0.06041053310036659,
-0.00007175678911153227,
0.01134585216641426,
-0.04095220938324928,
-0.02905895933508873,
-0.047493208199739456,
0.06072385981678963,
0.04379957541823387,
-0.007925589568912983,
-0.06489219516515732,
0.08824030309915543,
-0.02208227477967739,
0.023537298664450645,
-0.028686583042144775,
0.009725749492645264,
0.05197085067629814,
-0.02489088475704193,
-0.05486522614955902,
0.005801904480904341,
-0.029056958854198456,
-0.004396815784275532,
-0.04403947293758392,
0.0611940398812294,
-0.018378613516688347,
0.06603465229272842,
0.005718626081943512,
0.03348616883158684,
0.01270387601107359,
-0.0012302352115511894,
0.05396649241447449,
0.053629741072654724,
-0.10405120253562927,
-0.017182257026433945,
0.008364502340555191,
0.03855687007308006,
-0.015741458162665367,
0.3858620226383209,
0.024734437465667725,
-0.010109647177159786,
0.02051982842385769,
0.04395158588886261,
0.01713709533214569,
-0.007988044992089272,
0.008023555390536785,
-0.05520671233534813,
0.04071418195962906,
-0.018598848953843117,
0.004169263411313295,
-0.036691587418317795,
0.02208033949136734,
-0.09412840753793716,
-0.011144212447106838,
0.021414360031485558,
0.0604420080780983,
-0.001936725340783596,
-0.03437399864196777,
-0.011682798154652119,
-0.006192109547555447,
0.0002602352760732174,
0.039722990244627,
0.03198005631566048,
0.04200625419616699,
0.03175940364599228,
0.03145190328359604,
0.04082180932164192,
0.0173425804823637,
0.02802252024412155,
0.047277022153139114,
0.003115367377176881,
-0.061088431626558304,
0.02538635954260826,
-0.02349349483847618,
0.010118636302649975,
0.022006522864103317,
-0.03969516605138779,
-0.018884094431996346,
0.0361553430557251,
-0.005615491885691881,
-0.03753434121608734,
-0.0071989805437624454,
0.009612691588699818,
-0.027348248288035393,
0.12067152559757233,
-0.01810675859451294,
-0.027210690081119537,
-0.02152492105960846,
-0.03835994005203247,
0.006731356494128704,
0.025922738015651703,
-0.0035060264635831118,
-0.0538516603410244,
-0.03418019413948059,
0.00900332536548376,
0.08646038174629211,
0.0025871112011373043,
-0.08649897575378418,
-0.003393867053091526,
0.009807690046727657,
-0.03297389671206474,
-0.04018884152173996,
0.09594475477933884,
0.04345881566405296,
-0.08853220194578171,
-0.041409507393836975,
0.015596099197864532,
0.017779918387532234,
-0.05572136864066124,
0.02574256621301174,
-0.008024717681109905,
-0.0581127405166626,
-0.03110768087208271,
0.04901592805981636,
-0.014324428513646126,
-0.04009614884853363,
-0.007614700123667717,
0.02818041667342186,
0.012812302447855473,
0.007966840639710426,
-0.021952282637357712,
-0.037663090974092484,
-0.017437012866139412,
-0.07967567443847656,
-0.0681120827794075,
-0.07417981326580048,
0.0232689268887043,
0.012920050881803036,
-0.05435434356331825,
-0.039391014724969864,
0.009471120312809944,
-0.037193961441516876,
0.07308559119701385,
-0.04909030348062515,
-0.03186658024787903,
-0.027272604405879974,
0.012372685596346855,
-0.008557990193367004,
-0.05762731656432152,
0.06813602149486542,
0.035261206328868866,
0.021682264283299446,
0.032165974378585815,
-0.0695161297917366,
0.02145235426723957,
0.06559255719184875,
-0.023881802335381508,
0.0474819578230381,
0.024366164579987526,
-0.0474143922328949,
0.016769668087363243,
-0.0317809097468853,
0.030661899596452713,
-0.01910335384309292,
-0.02230185829102993,
-0.011654884554445744,
-0.00208560423925519,
0.028038809075951576,
0.036435484886169434,
-0.0504438690841198,
0.006389909889549017,
-0.02947438322007656,
-0.3524116575717926,
-0.04904136806726456,
-0.03736827149987221,
-0.012354413978755474,
0.03837588429450989,
-0.01576053723692894,
0.018598387017846107,
-0.00414699362590909,
-0.00627762358635664,
0.008315619081258774,
0.08327201753854752,
-0.0199582576751709,
-0.007377794478088617,
-0.0730990320444107,
0.0053560370579361916,
0.036841943860054016,
-0.007665228098630905,
-0.008369474671781063,
-0.009903710335493088,
0.006324967369437218,
-0.0271543487906456,
-0.04813554510474205,
-0.02063879743218422,
-0.0400172658264637,
-0.029677610844373703,
-0.0009861064609140158,
0.10206562280654907,
0.023755213245749474,
0.023299163207411766,
-0.07354971766471863,
0.06558241695165634,
-0.018344417214393616,
0.009514070115983486,
-0.09043712913990021,
0.002912509022280574,
-0.012976353988051414,
0.013087330386042595,
0.00497345020994544,
0.0031401347368955612,
0.0005250356625765562,
-0.038033079355955124,
-0.029134994372725487,
-0.027770020067691803,
-0.04023471847176552,
-0.01663004420697689,
0.018916454166173935,
-0.036300115287303925,
-0.00991955678910017,
0.00740695558488369,
0.08911460638046265,
0.015056999400258064,
0.03541222959756851,
0.007760863751173019,
0.02448117733001709,
0.015571772120893002,
-0.03441070020198822,
-0.07489163428544998,
-0.03002740629017353,
0.022379325702786446,
0.023410167545080185,
0.0028692197520285845,
0.03812343627214432,
0.0342898927628994,
-0.10337303578853607,
0.03377944231033325,
-0.019595975056290627,
-0.015653543174266815,
0.028172465041279793,
0.06133497878909111,
-0.04533833637833595,
-0.03647143766283989,
0.13238774240016937,
-0.0022358959540724754,
0.044062450528144836,
0.03264874219894409,
0.024929629638791084,
-0.011513463221490383,
-0.005433452781289816,
0.016581716015934944,
0.010865457355976105,
0.040424786508083344,
-0.028602812439203262,
0.08831433951854706,
-0.03858037292957306,
-0.03444647416472435,
0.047816772013902664,
-0.00015461159637197852,
-0.03579229116439819,
0.07290414720773697,
-0.018446624279022217,
-0.053308889269828796,
-0.007882083766162395,
-0.037034373730421066,
-0.05821534991264343,
0.06576864421367645,
-0.016151150688529015,
-0.2663033902645111,
0.06106581538915634,
0.014143007807433605,
0.07375963777303696,
0.0158978458493948,
0.014711673371493816,
0.04976612702012062,
-0.04277773201465607,
-0.014023936353623867,
0.014954373240470886,
0.05545826628804207,
0.0277539249509573,
-0.01841084472835064,
-0.004340112209320068,
0.013058978132903576,
0.022472407668828964,
0.014515591785311699,
0.011958724819123745,
0.02006448246538639,
0.024410676211118698,
0.04413032904267311,
-0.019863028079271317,
0.18854041397571564,
0.023782558739185333,
0.007529566064476967,
0.03395253047347069,
-0.03199554234743118,
0.026137610897421837,
0.06375493854284286,
-0.009622948244214058,
-0.02913391776382923,
0.04595860093832016,
-0.0026521377731114626,
0.024986226111650467,
0.035050176084041595,
-0.05165165290236473,
-0.001900554052554071,
0.00794090423732996,
0.028970273211598396,
-0.04363067075610161,
-0.01096950750797987,
0.013526102527976036,
-0.025117451325058937,
0.03024367056787014,
0.07556571066379547,
-0.023669825866818428,
0.0028483474161475897,
0.0009695112239569426,
-0.06248276308178902,
-0.003043286968022585,
-0.021149136126041412,
-0.052456293255090714,
-0.02714783512055874,
-0.004117239732295275,
0.007418289314955473,
0.06808067113161087,
0.026254236698150635,
-0.03298909589648247,
0.0228830948472023,
0.01098244171589613,
-0.022160401567816734,
-0.01864534430205822,
0.12188011407852173,
-0.032856535166502,
0.013156779110431671
] | [
0.04205077514052391,
0.06575632095336914,
-0.002612754702568054,
0.029867954552173615,
-0.02376507595181465,
-0.025097696110606194,
-0.032746292650699615,
-0.0056535121984779835,
-0.029583685100078583,
-0.008041538298130035,
-0.04806627705693245,
0.003931383136659861,
0.07543297111988068,
0.004653377458453178,
-0.005050037056207657,
0.005481112748384476,
-0.018865013495087624,
0.05087491497397423,
0.019753223285079002,
-0.02604781463742256,
-0.03055502660572529,
-0.004758295603096485,
0.04933731630444527,
-0.020910141989588737,
-0.005824747029691935,
-0.019284889101982117,
-0.029116230085492134,
-0.015154731459915638,
0.03014785796403885,
-0.08799339830875397,
-0.022887617349624634,
-0.023210136219859123,
-0.025867074728012085,
0.0038043439853936434,
-0.03773733973503113,
0.021642478182911873,
0.04106269031763077,
0.015691611915826797,
-0.012247343547642231,
0.013624160550534725,
0.029176222160458565,
-0.005683162249624729,
-0.05371949449181557,
0.023851362988352776,
0.029236651957035065,
-0.015482833608984947,
-0.028926284983754158,
-0.02094472572207451,
0.004168420098721981,
0.00472187390550971,
-0.051067739725112915,
-0.02355547621846199,
-0.003887695260345936,
-0.00025226970319636166,
-0.005610805004835129,
0.00006262221722863615,
-0.052935920655727386,
-0.002879450796172023,
0.015470010228455067,
-0.008955156430602074,
0.01671251282095909,
-0.039104729890823364,
-0.06360785663127899,
-0.026684818789362907,
0.010848533362150192,
-0.020311711356043816,
-0.010007531382143497,
0.01973869279026985,
0.010406065732240677,
0.009821755811572075,
-0.03607158362865448,
0.040221937000751495,
-0.09470942616462708,
-0.010243989527225494,
-0.028398308902978897,
0.039849814027547836,
0.05366606265306473,
-0.023206137120723724,
-0.0200481116771698,
0.013162627816200256,
-0.007961387746036053,
0.013522659428417683,
-0.029431600123643875,
-0.02098439633846283,
-0.030737953260540962,
0.021477749571204185,
0.011606979183852673,
-0.007962867617607117,
0.00040852033998817205,
0.041120074689388275,
-0.01219532173126936,
0.00261638849042356,
-0.0006948013324290514,
-0.02961094304919243,
-0.10250955820083618,
-0.022678762674331665,
0.0324772484600544,
0.006778746843338013,
0.020475752651691437,
0.8131837248802185,
0.032946985214948654,
-0.014497744850814342,
-0.00453802477568388,
0.01348821260035038,
0.0038432241417467594,
0.010001159273087978,
0.003725701477378607,
0.021659649908542633,
-0.023722413927316666,
0.027274388819932938,
-0.03515588119626045,
0.014278093352913857,
-0.00891857873648405,
-0.010531912557780743,
0.0014321799390017986,
0.014939559623599052,
0.025915222242474556,
-0.023358123376965523,
-0.02170732244849205,
0.02781270444393158,
0.008192948065698147,
0.014643454924225807,
-0.010030471719801426,
0.01715102419257164,
0.0014437157660722733,
-0.1361175775527954,
-0.0022671325132250786,
-7.673573490238137e-33,
0.06030974164605141,
0.0201759971678257,
0.07592610269784927,
0.021228844299912453,
-0.001728947157971561,
0.04240390658378601,
0.026133110746741295,
-0.017521696165204048,
-0.05018595606088638,
-0.0509040392935276,
-0.004587139468640089,
0.00724316481500864,
0.01939520426094532,
-0.006910625379532576,
0.00839610118418932,
-0.007658510003238916,
0.02737571857869625,
0.017738714814186096,
0.0038938550278544426,
-0.007213027682155371,
-0.013400310650467873,
0.036454930901527405,
-0.03481747955083847,
0.038638822734355927,
0.025445912033319473,
0.019344933331012726,
-0.0028698844835162163,
-0.009937233291566372,
-0.032225579023361206,
-0.05534172058105469,
-0.0615939199924469,
0.019030781462788582,
-0.016752712428569794,
-0.01900334283709526,
0.017483869567513466,
-0.07222398370504379,
-0.027053693309426308,
0.004123069811612368,
-0.03602772206068039,
-0.0974881574511528,
-0.04618116840720177,
0.005029937252402306,
-0.0023853317834436893,
-0.014124561101198196,
-0.046789541840553284,
-0.03630422055721283,
-0.022519201040267944,
0.008084489032626152,
0.003049369202926755,
0.00635144766420126,
0.026896581053733826,
0.041768964380025864,
0.00177693588193506,
-0.0008170378278009593,
-0.050024036318063736,
-0.0037814173847436905,
0.006134268827736378,
0.0009518775623291731,
-0.019354963675141335,
0.00429014815017581,
0.04160521551966667,
0.005614858120679855,
-0.021496539935469627,
0.0482146292924881,
0.03572683036327362,
0.01812036894261837,
-0.023820223286747932,
0.024194015190005302,
-0.018631933256983757,
0.07059668004512787,
-0.032190028578042984,
0.04422852024435997,
-0.006588201969861984,
-0.025515051558613777,
0.03796624764800072,
-0.06480121612548828,
-0.031498659402132034,
-0.024347452446818352,
0.009748623706400394,
0.041914284229278564,
-0.026060467585921288,
-0.025591855868697166,
-0.005994695238769054,
-0.022179972380399704,
-0.004676878917962313,
-0.0025502466596663,
0.03025006130337715,
0.01818600855767727,
0.03637049347162247,
0.02396402508020401,
0.051769234240055084,
0.011784244328737259,
-0.010863097384572029,
-0.008340981788933277,
-0.024113638326525688,
6.812647305167647e-33,
-0.0010061657521873713,
0.00791575200855732,
-0.04000824689865112,
0.0227170679718256,
0.018684756010770798,
0.008756276220083237,
-0.024285802617669106,
0.014645428396761417,
-0.05693114921450615,
0.029234696179628372,
0.013650943525135517,
-0.00038783909985795617,
-0.007750248070806265,
0.04427514225244522,
0.03521682322025299,
-0.00843931082636118,
0.004867222160100937,
-0.05584241822361946,
0.0060587297193706036,
0.01664917916059494,
-0.0003281185345258564,
-0.004164526704698801,
0.0018766828579828143,
0.040419187396764755,
0.015860436484217644,
-0.0008687113877385855,
0.0224203672260046,
0.0019452552078291774,
-0.01458380650728941,
-0.0012516967253759503,
-0.012127422727644444,
-0.03188867121934891,
-0.01305981632322073,
-0.01803193986415863,
0.004928384441882372,
-0.00024597099400125444,
-0.016153836622834206,
0.031020669266581535,
0.03569366782903671,
0.02013181522488594,
0.006658714264631271,
0.02764332853257656,
-0.008794926106929779,
0.07846447080373764,
0.01773904822766781,
0.009500918909907341,
-0.0023492733016610146,
0.02995527721941471,
0.0003050070081371814,
0.034609004855155945,
0.011825436726212502,
0.024869363754987717,
-0.0007025310769677162,
0.024584747850894928,
0.025748668238520622,
-0.043729133903980255,
-0.02714940719306469,
0.018540212884545326,
0.0033093623351305723,
0.020465949550271034,
-0.03710997849702835,
-0.0009165865485556424,
-0.023950548842549324,
0.03963209688663483,
-0.0016732922522351146,
-0.03973415121436119,
-0.033612679690122604,
0.020533069968223572,
-0.029196996241807938,
-0.020666370168328285,
0.018909256905317307,
0.008675994351506233,
-0.01142758596688509,
0.0117117241024971,
0.054745472967624664,
-0.033549897372722626,
-0.022404221817851067,
-0.007939299568533897,
-0.04958662390708923,
0.03313601762056351,
0.026615748181939125,
0.015321748331189156,
0.026630157604813576,
0.004996525589376688,
-0.0017697009025141597,
-0.02900528535246849,
-0.027195818722248077,
0.04582097381353378,
-0.05112576484680176,
-0.012020163238048553,
0.04905990883708,
-0.003069586819037795,
-0.0308822151273489,
0.050206758081912994,
-0.04651132598519325,
-1.2641876878660696e-8,
-0.028372082859277725,
0.019593680277466774,
-0.02761148475110531,
0.009971397928893566,
-0.00612196559086442,
0.020423071458935738,
-0.004162156488746405,
-0.008049899712204933,
0.0029872371815145016,
0.017046842724084854,
0.025090303272008896,
-0.017885444685816765,
0.006677728146314621,
-0.003305020509287715,
0.018157830461859703,
-0.04599596932530403,
-0.014955188147723675,
-0.015475401654839516,
0.02311132289469242,
0.030920308083295822,
-0.01991521380841732,
0.04503297433257103,
-0.04679330810904503,
0.012612934224307537,
0.032691869884729385,
-0.010892104357481003,
0.04514696076512337,
-0.030091485008597374,
-0.00405524019151926,
-0.029426688328385353,
-0.004458652343600988,
-0.020288031548261642,
-0.033601608127355576,
0.015858132392168045,
-0.030649978667497635,
-0.02371959015727043,
0.002467649057507515,
0.03839714452624321,
0.011209718883037567,
0.02529151923954487,
0.007551250979304314,
0.002002630615606904,
-0.013419324532151222,
-0.024869700893759727,
-0.03510423004627228,
-0.010297151282429695,
-0.03528161719441414,
0.002591310068964958,
0.07134822010993958,
-0.024484604597091675,
0.005006209947168827,
-0.006392333656549454,
0.042573004961013794,
0.03579705208539963,
0.06410512328147888,
-0.019476164132356644,
0.009340586140751839,
0.001205324660986662,
0.016293253749608994,
-0.037153229117393494,
0.041894618421792984,
0.00406546238809824,
-0.03178822621703148,
0.007430397439748049
] | neo4j-cypher-neo-clienterror-statement-parametermissing-and-neo4j-shell | https://markhneedham.com/blog/2014/05/31/neo4j-cypher-neo-clienterror-statement-parametermissing-and-neo4j-shell |
false | 2014-05-31 14:19:25 | Neo4j: Cypher - UNWIND vs FOREACH | [
"neo4j",
"cypher"
] | [
"neo4j"
] | I've written a http://www.markhneedham.com/blog/2014/05/20/neo4j-2-0-creating-adjacency-matrices/[couple of^] http://www.markhneedham.com/blog/2014/05/25/neo4j-2-1-passing-around-node-ids-vs-unwind/[posts^] about the new http://docs.neo4j.org/chunked/milestone/query-unwind.html[UNWIND^] clause in Neo4j's cypher query language but I forgot about my favourite use of UNWIND, which is to get rid of some uses of http://docs.neo4j.org/chunked/stable/query-foreach.html[FOREACH^] from our queries.
Let's say we've http://www.markhneedham.com/blog/2014/04/19/neo4j-cypher-creating-a-time-tree-down-to-the-day/[created a timetree up front^] and now have a series of events coming in that we want to create in the database and attach to the appropriate part of the timetree.
Before UNWIND existed we might try to write the following query using FOREACH:
[source,cypher]
----
WITH [{name: "Event 1", timetree: {day: 1, month: 1, year: 2014}},
{name: "Event 2", timetree: {day: 2, month: 1, year: 2014}}] AS events
FOREACH (event IN events |
CREATE (e:Event {name: event.name})
MATCH (year:Year {year: event.timetree.year }),
(year)-[:HAS_MONTH]->(month {month: event.timetree.month }),
(month)-[:HAS_DAY]->(day {day: event.timetree.day })
CREATE (e)-[:HAPPENED_ON]->(day))
----
Unfortunately we can't use MATCH inside a FOREACH statement so we'll get the following error:
[source,cypher]
----
Invalid use of MATCH inside FOREACH (line 5, column 3)
" MATCH (year:Year {year: event.timetree.year }), "
^
Neo.ClientError.Statement.InvalidSyntax
----
We can work around this by using MERGE instead in the knowledge that it's never going to create anything because the timetree already exists:
[source,cypher]
----
WITH [{name: "Event 1", timetree: {day: 1, month: 1, year: 2014}},
{name: "Event 2", timetree: {day: 2, month: 1, year: 2014}}] AS events
FOREACH (event IN events |
CREATE (e:Event {name: event.name})
MERGE (year:Year {year: event.timetree.year })
MERGE (year)-[:HAS_MONTH]->(month {month: event.timetree.month })
MERGE (month)-[:HAS_DAY]->(day {day: event.timetree.day })
CREATE (e)-[:HAPPENED_ON]->(day))
----
If we replace the FOREACH with UNWIND we'd get the following:
[source,cypher]
----
WITH [{name: "Event 1", timetree: {day: 1, month: 1, year: 2014}},
{name: "Event 2", timetree: {day: 2, month: 1, year: 2014}}] AS events
UNWIND events AS event
CREATE (e:Event {name: event.name})
WITH e, event.timetree AS timetree
MATCH (year:Year {year: timetree.year }),
(year)-[:HAS_MONTH]->(month {month: timetree.month }),
(month)-[:HAS_DAY]->(day {day: timetree.day })
CREATE (e)-[:HAPPENED_ON]->(day)
----
Although the lines of code has slightly increased the query is now correct and we won't accidentally correct new parts of our time tree.
We could also pass on the event that we created to the next part of the query which wouldn't be the case when using FOREACH. | null | null | [
0.011975967325270176,
-0.01847435161471367,
-0.0014799665659666061,
-0.000011347468898748048,
0.08665075898170471,
-0.03373204171657562,
0.0361623577773571,
0.04076334834098816,
0.028283149003982544,
-0.007425959687680006,
0.002183713484555483,
-0.009211471304297447,
-0.05213392898440361,
0.017795447260141373,
-0.0001580859097884968,
0.04366961121559143,
0.05988236889243126,
-0.0009850540664047003,
0.0195067897439003,
-0.04117495194077492,
0.004866336937993765,
0.01305373851209879,
-0.0018605057848617435,
0.02887091599404812,
0.0550994947552681,
0.02738414704799652,
-0.030756046995520592,
-0.025586256757378578,
-0.04292510822415352,
0.014180358499288559,
0.04281431436538696,
0.01565132476389408,
0.0026587850879877806,
0.00213223765604198,
0.02251027338206768,
-0.015489048324525356,
-0.04441818594932556,
-0.004231007769703865,
-0.002312925411388278,
-0.024646243080496788,
-0.039078522473573685,
0.013238620012998581,
0.0006895145634189248,
-0.014330762438476086,
-0.04889604076743126,
0.02421066164970398,
-0.026957347989082336,
0.039442893117666245,
-0.0013886293163523078,
0.013203832320868969,
-0.1017770990729332,
0.0003331090265419334,
0.030956394970417023,
0.008124182000756264,
-0.004007996991276741,
0.056841641664505005,
0.015524016693234444,
-0.06656947731971741,
0.06773674488067627,
-0.021435365080833435,
0.015202387236058712,
-0.021271593868732452,
-0.012151600793004036,
0.034799590706825256,
0.003069543279707432,
-0.04003201052546501,
0.012285841628909111,
0.059619780629873276,
-0.058361247181892395,
-0.02417556755244732,
0.003151794895529747,
0.03288599103689194,
0.006472851149737835,
0.0161720160394907,
-0.008236389607191086,
-0.018992062658071518,
-0.0095236636698246,
0.03349753096699715,
0.06211245805025101,
0.06575895100831985,
-0.0018435282399877906,
0.0036729422863572836,
0.03742293640971184,
0.028277959674596786,
-0.003584130434319377,
-0.026721617206931114,
-0.03505532443523407,
-0.025379514321684837,
-0.038744986057281494,
0.039398591965436935,
0.021455267444252968,
-0.04210648313164711,
0.02203281968832016,
0.008742669597268105,
-0.019766993820667267,
0.003392671700567007,
-0.022083641961216927,
0.00814188364893198,
0.016031594946980476,
0.0031352611258625984,
-0.03361574932932854,
-0.05584543198347092,
0.003697555046528578,
0.003025517798960209,
-0.07524638622999191,
-0.011490093544125557,
-0.0383402518928051,
-0.03500734642148018,
0.015055670402944088,
-0.022760409861803055,
-0.05796322599053383,
0.01415908895432949,
0.013504540547728539,
0.016323603689670563,
-0.0782364010810852,
0.05536927655339241,
0.04044201970100403,
-0.005686265416443348,
-0.03021969459950924,
-0.01234850101172924,
0.0288708433508873,
0.003666684729978442,
-0.0022228884045034647,
0.05475655198097229,
-0.008439566008746624,
0.056498877704143524,
0.006378662772476673,
0.04330859333276749,
-0.05633433535695076,
-0.062311869114637375,
-0.015058488585054874,
0.06833262741565704,
-0.01115487515926361,
0.005043812561780214,
-0.024270029738545418,
-0.03881620243191719,
-0.040155474096536636,
-0.002333639655262232,
0.05836654081940651,
0.04529910907149315,
0.008227362297475338,
-0.03969188034534454,
0.03133450075984001,
0.009228312410414219,
0.0073065138421952724,
0.037085603922605515,
-0.05174264311790466,
-0.040107838809490204,
-0.019573871046304703,
0.00761417206376791,
0.03438444808125496,
0.026649918407201767,
0.034863997250795364,
-0.037087246775627136,
-0.0026409055572003126,
0.11459780484437943,
0.0196722149848938,
0.02302645333111286,
-0.02948281541466713,
0.02685377188026905,
0.06697801500558853,
0.03975854814052582,
-0.004796457942575216,
0.059611450880765915,
-0.022728005424141884,
-0.0039569782093167305,
0.024764878675341606,
0.04591909423470497,
0.013813650235533714,
-0.0023078005760908127,
-0.03539570793509483,
-0.060631122440099716,
0.059248603880405426,
-0.04714689031243324,
-0.01122870109975338,
0.05265193060040474,
0.04584933817386627,
0.015339326113462448,
0.01774568483233452,
0.019606871530413628,
-0.0653068870306015,
0.06099694222211838,
0.0013833544217050076,
0.0071503520011901855,
0.019290762022137642,
0.005420300643891096,
0.07189372926950455,
0.0339319184422493,
0.020687278360128403,
0.04865800589323044,
-0.1015629842877388,
-0.07589109241962433,
-0.006702612154185772,
-0.03345346078276634,
0.04057007655501366,
-0.037396494299173355,
0.011066565290093422,
0.06684014946222305,
-0.011154218576848507,
0.0534493587911129,
0.01476128026843071,
-0.02701030671596527,
0.0112198106944561,
-0.039706483483314514,
-0.03354588896036148,
0.06134003773331642,
0.025268273428082466,
-0.07755103707313538,
-0.03035091608762741,
0.025529058650135994,
0.003941593691706657,
0.05428985878825188,
0.0175882950425148,
-0.013485321775078773,
0.033955592662096024,
0.050959985703229904,
0.05256109684705734,
-0.013033348135650158,
0.004772137850522995,
-0.043534040451049805,
0.06549770385026932,
0.02131255716085434,
-0.027250641956925392,
-0.002068767324090004,
-0.0004577027284540236,
0.09812707453966141,
0.05567635968327522,
-0.02832368202507496,
-0.043214280158281326,
0.019968053326010704,
-0.011975143104791641,
-0.02070348709821701,
0.014039645902812481,
-0.008021902292966843,
-0.004068522714078426,
0.0076502482406795025,
-0.006019634194672108,
-0.013805342838168144,
-0.003857867093756795,
-0.016370603814721107,
0.020614778622984886,
0.05555558577179909,
-0.04309995472431183,
0.05735337361693382,
0.008492786437273026,
-0.013235458172857761,
0.003224346786737442,
-0.04582231864333153,
-0.04420759156346321,
0.032287899404764175,
0.013380530290305614,
-0.006956199649721384,
0.0637722760438919,
-0.04339167848229408,
-0.010004607029259205,
-0.03016609698534012,
-0.012050115503370762,
0.050545137375593185,
0.04102878272533417,
0.039510682225227356,
-0.02110903710126877,
0.0432371124625206,
-0.04557083547115326,
-0.014217370189726353,
-0.00879678688943386,
-0.05121345818042755,
-0.03530310094356537,
-0.0006038196734152734,
0.025378143414855003,
0.003088362282142043,
0.01665891520678997,
-0.027995463460683823,
0.038945477455854416,
0.013377540744841099,
-0.004038748797029257,
-0.014723195694386959,
0.035295940935611725,
-0.0023773792199790478,
-0.023508725687861443,
-0.03834880143404007,
-0.026441141963005066,
0.032904256135225296,
-0.05527060106396675,
-0.06930461525917053,
-0.030557412654161453,
-0.04385886713862419,
0.06415455788373947,
-0.04445328190922737,
-0.04660394787788391,
0.010553081519901752,
0.05239584296941757,
0.06081173196434975,
-0.0003467569185886532,
0.012937474064528942,
0.07311992347240448,
0.04408377408981323,
-0.004153894726186991,
0.029455803334712982,
-0.005701856222003698,
0.031773779541254044,
-0.006803569383919239,
0.033514246344566345,
0.04114934429526329,
-0.03658473864197731,
-0.0152611518278718,
-0.03913973644375801,
-0.03738420829176903,
-0.03549935668706894,
-0.2691231667995453,
0.05863531306385994,
-0.0595397874712944,
-0.05507625266909599,
0.01160483993589878,
0.0022002896293997765,
0.01473357155919075,
-0.031201399862766266,
-0.04610053822398186,
0.0005719184991903603,
-0.0055115800350904465,
-0.02436402626335621,
-0.03562333434820175,
0.038917426019907,
0.004483024124056101,
-0.008047519251704216,
-0.010332069359719753,
-0.051704391837120056,
0.009436698630452156,
0.011282268911600113,
-0.005310975946485996,
-0.0339880995452404,
-0.02952718362212181,
0.01195086631923914,
0.027532905340194702,
0.02222883515059948,
-0.07157187163829803,
0.011217138729989529,
-0.05308111757040024,
-0.026580533012747765,
0.005864238366484642,
-0.025432322174310684,
0.032787781208753586,
-0.023347312584519386,
-0.016824010759592056,
-0.015615960583090782,
0.042817119508981705,
0.014735742472112179,
0.03824138641357422,
0.026370009407401085,
-0.05556498095393181,
-0.07915915548801422,
0.006647859700024128,
0.0019216364016756415,
0.07010436803102493,
0.03165994957089424,
-0.06875865906476974,
-0.03126092255115509,
-0.012755521573126316,
0.04777100682258606,
-0.035258762538433075,
-0.02637222409248352,
-0.02370767667889595,
-0.018778108060359955,
-0.021819915622472763,
-0.05749417096376419,
-0.0012081420281901956,
-0.017199046909809113,
-0.059755001217126846,
0.009095066227018833,
0.003834619652479887,
-0.04654909670352936,
0.04849933087825775,
-0.04808635637164116,
-0.02278427593410015,
-0.04211557283997536,
-0.07332509011030197,
-0.021604666486382484,
0.04588247090578079,
0.013889354653656483,
-0.0022799589205533266,
0.03654126077890396,
-0.02807353436946869,
-0.10607753694057465,
-0.036268770694732666,
-0.0012345031136646867,
-0.0038932894822210073,
-0.02606661058962345,
-0.02924000285565853,
0.056152306497097015,
-0.05206175893545151,
-0.04720813408493996,
-0.003208691952750087,
0.03860091418027878,
0.007204581517726183,
0.010068751871585846,
0.008910094387829304,
-0.04192705079913139,
-0.03829725831747055,
0.007894305512309074,
0.04206168279051781,
-0.013820839114487171,
-0.01967327482998371,
0.027454659342765808,
0.0066268788650631905,
0.061687640845775604,
-0.019845465198159218,
-0.020103752613067627,
0.03559793904423714,
0.022179042920470238,
0.036496106535196304,
-0.02529689110815525,
0.020022675395011902,
-0.007085454650223255,
0.023571154102683067,
-0.009495487436652184,
-0.037779197096824646,
0.013786942698061466,
0.01179120410233736,
0.02836812101304531,
0.014310690574347973,
0.01603410579264164,
-0.0077799102291464806,
-0.04703160375356674,
-0.015033920295536518,
-0.027812955901026726,
0.05317727103829384,
0.015767786651849747,
0.055614009499549866,
-0.03868582844734192,
-0.06929779052734375,
0.0012348953168839216,
0.024276966229081154,
-0.013698448427021503,
-0.05564035475254059,
-0.03294697031378746,
-0.02142985910177231,
-0.022323740646243095,
0.008346033282577991,
0.013073788024485111,
-0.038493379950523376,
0.037410248070955276,
0.04460795596241951,
-0.008298195898532867,
0.04233170673251152,
-0.04143935441970825,
-0.026132306084036827,
-0.023752596229314804,
0.0026107237208634615,
-0.013515657745301723,
-0.01719406619668007,
-0.016952581703662872,
-0.020223839208483696,
0.05758868157863617,
0.037038180977106094,
0.01801825687289238,
-0.0018891316140070558,
0.004682956263422966,
0.009202416054904461,
0.039915263652801514,
-0.03206881508231163,
-0.016698168590664864,
-0.006133400369435549,
-0.0354180783033371,
-0.02890154719352722,
0.010583178140223026,
0.05450586974620819,
-0.012324049137532711,
-0.010929631069302559,
-0.06502292305231094,
0.022327302023768425,
-0.0664031133055687,
0.027340346947312355,
-0.00757814384996891,
0.00187592301517725,
0.04492662847042084,
-0.00016994847101159394,
0.039506349712610245,
-0.032453056424856186,
-0.011076457798480988,
0.024568768218159676,
0.01977631077170372,
-0.04011400789022446,
0.031060585752129555,
-0.0045472439378499985,
0.01233484223484993,
0.0169841218739748,
0.04254835844039917,
0.00716025335714221,
0.029668457806110382,
0.010870690457522869,
0.000333810574375093,
-0.01262390986084938,
0.01907568983733654,
0.030523641034960747,
0.03381919860839844,
-0.01258015725761652,
0.01365693286061287,
-0.04385799169540405,
-0.020068734884262085,
-0.030496174469590187,
-0.009990318678319454,
-0.028797606006264687,
-0.019135944545269012,
-0.025254929438233376,
-0.07135777920484543,
0.06031220406293869,
-0.0033101853914558887,
0.0060504586435854435,
0.02788890339434147,
-0.005116909742355347,
-0.02111881598830223,
-0.022621145471930504,
0.039258040487766266,
0.027619656175374985,
-0.05559108778834343,
-0.03322700038552284,
-0.012098998762667179,
-0.028416680172085762,
0.009734506718814373,
0.04522881284356117,
-0.03194829449057579,
-0.017757609486579895,
0.0014730877010151744,
0.0037116357125341892,
-0.02170422114431858,
-0.046454593539237976,
-0.014357807114720345,
0.002043876564130187,
0.008115733973681927,
0.0900052934885025,
0.03813507780432701,
0.0019637004006654024,
0.0060638985596597195,
0.008061330765485764,
0.03278903663158417,
-0.03154760226607323,
-0.02857733704149723,
0.01595858484506607,
-0.003380105597898364,
0.024143410846590996,
-0.041576091200113297,
0.020462023094296455,
0.02615279145538807,
0.007468298077583313,
-0.03847918659448624,
-0.06489794701337814,
0.013354913331568241,
0.0053069135174155235,
0.06994256377220154,
0.015133904293179512,
-0.011735297739505768,
-0.036534059792757034,
-0.01218310184776783,
-0.036195166409015656,
-0.0024379196111112833,
-0.0059460862539708614,
-0.008812028914690018,
-0.001578815164975822,
0.057986095547676086,
0.00902414508163929,
0.048105351626873016,
-0.008934332989156246,
-0.02952416241168976,
0.03254753723740578,
-0.02600794844329357,
-0.03812800347805023,
-0.0339299701154232,
-0.05554322153329849,
0.013786682859063148,
0.011973041109740734,
0.0040137507021427155,
-0.046063657850027084,
0.06153840199112892,
0.03421749174594879,
0.052830714732408524,
0.03251150995492935,
-0.011247857473790646,
0.032382842153310776,
-0.025753695517778397,
-0.013630742207169533,
-0.07471221685409546,
-0.01345972903072834,
0.044991519302129745,
0.028497623279690742,
0.03719426691532135,
-0.029000550508499146,
-0.01768474653363228,
0.008360151201486588,
-0.05488617345690727,
-0.026038534939289093,
0.03576502203941345,
-0.004921039566397667,
0.041676510125398636,
0.016420824453234673,
-0.04672302305698395,
0.006860929541289806,
0.0487709604203701,
-0.017956892028450966,
-0.025599610060453415,
-0.03732757270336151,
0.04573146998882294,
-0.008813021704554558,
0.03573181480169296,
-0.03801790252327919,
-0.02307782880961895,
0.06918183714151382,
0.011592838913202286,
0.0194059107452631,
0.0642678365111351,
-0.02440459281206131,
0.028707990422844887,
0.05083053186535835,
-0.02225973829627037,
-0.009896370582282543,
0.02209724299609661,
-0.024583157151937485,
-0.06122617423534393,
0.02505951002240181,
0.002869103802368045,
-0.0222491305321455,
-0.029586082324385643,
0.0646323710680008,
-0.0029986677691340446,
-0.042251743376255035,
-0.03008568286895752,
0.018550865352153778,
0.005519405007362366,
-0.014804043807089329,
-0.052527401596307755,
0.043123021721839905,
-0.044432513415813446,
0.051890578120946884,
-0.00786418467760086,
0.036152757704257965,
0.07536344975233078,
-0.02374274842441082,
0.005605399142950773,
0.020546136423945427,
0.051573775708675385,
0.069756418466568,
0.03507855534553528,
0.018364401534199715,
0.08068282902240753,
-0.030368240550160408,
-0.013024551793932915,
-0.018241699784994125,
-0.0483446940779686,
-0.017093271017074585,
-0.014043333008885384,
0.04359002411365509,
0.0611751414835453,
-0.01641569659113884,
0.047666653990745544,
-0.0008761569042690098,
-0.016453735530376434,
-0.01326319482177496,
-0.00001682330184848979,
0.040009547024965286,
0.051784172654151917,
0.01467954833060503,
0.029946085065603256,
0.0006606853567063808,
-0.03733460232615471,
0.0511777326464653,
0.007222361396998167,
0.010082178749144077,
0.043223876506090164,
-0.006774892099201679,
-0.016149768605828285,
-0.004704477731138468,
0.02573205716907978,
0.07376682013273239,
-0.011026245541870594,
-0.0038638904225081205,
0.008741378784179688,
0.0038359900936484337,
0.0045408387668430805,
-0.0016612013569101691,
-0.019701918587088585,
-0.04103168472647667,
-0.033592794090509415,
-0.0677080750465393,
-0.03150447830557823,
-0.035984937101602554,
-0.07793079316616058,
0.022738637402653694,
-0.0416228324174881,
-0.011106337420642376,
-0.022826161235570908,
-0.04392649978399277,
-0.01971757784485817,
-0.02935604378581047,
-0.043909601867198944,
-0.0392361655831337,
-0.07500361651182175,
0.007910302840173244,
0.0048172431997954845,
0.0025902765337377787,
-0.002837489591911435,
0.002508718054741621,
-0.01576170325279236,
-0.002773967571556568,
0.04806678369641304,
-0.01641383022069931,
0.004929856397211552,
0.00429382873699069,
-0.006692876107990742,
0.024344250559806824,
0.06722743064165115,
0.05117214843630791,
-0.0036770773585885763,
0.005913458298891783,
-0.029131218791007996,
0.0010501309297978878,
0.04387578368186951,
-0.006877110339701176,
0.01035968866199255,
-0.053196750581264496,
0.010639389045536518,
0.03593972325325012,
-0.005436697043478489,
-0.08209728449583054,
0.02481743134558201,
0.05708615481853485,
-0.02157694473862648,
0.009026956744492054,
-0.010657277889549732,
-0.03817581757903099,
-0.02347574196755886,
0.007867316715419292,
0.01552850753068924,
0.00009003622108139098,
0.03328122943639755,
-0.030052078887820244,
0.06529513001441956,
0.05533542111515999,
-0.022483723238110542,
-0.01623445563018322,
-0.027906712144613266,
0.023327624425292015,
-0.026687225326895714,
-0.044502511620521545,
-0.020720545202493668,
-0.05435893312096596,
-0.07896491140127182,
-0.026459263637661934,
0.009197340346872807,
-0.000014041953363630455,
-0.030226105824112892,
0.021067196503281593,
0.024749279022216797,
-0.028670208528637886,
0.02958247810602188,
-0.02942698821425438,
0.02518179453909397,
-0.0396222360432148,
-0.023255443200469017,
-0.03419797867536545,
-0.01917186751961708,
-0.005627811420708895,
0.024317849427461624,
0.009768283925950527,
-0.03876831755042076,
-0.023342831060290337,
-0.05925308167934418,
-0.013133460655808449,
0.031445153057575226,
0.015970200300216675,
0.032248519361019135
] | [
-0.07238384336233139,
-0.03892407938838005,
-0.049008890986442566,
-0.001973876263946295,
0.05088735371828079,
-0.049253690987825394,
-0.02133902721107006,
-0.016986913979053497,
0.02694449946284294,
0.017336459830403328,
0.00835156999528408,
-0.0058021582663059235,
0.005506533198058605,
0.009155103005468845,
0.06559333950281143,
0.009489987976849079,
-0.07990774512290955,
-0.014057326130568981,
-0.04908261075615883,
0.06522795557975769,
-0.008127514272928238,
-0.022682061418890953,
-0.02160988748073578,
-0.0345488041639328,
0.03766307234764099,
0.07081456482410431,
0.013653920963406563,
-0.04048950597643852,
-0.00923147052526474,
-0.21247172355651855,
-0.00888590794056654,
0.01481656450778246,
-0.014799400232732296,
-0.012710286304354668,
0.004222131334245205,
0.007715166546404362,
0.06277664750814438,
-0.016903383657336235,
0.0030591182876378298,
0.031503163278102875,
0.03487182408571243,
-0.0005348405102267861,
-0.039630431681871414,
0.01392668578773737,
0.046362049877643585,
0.006103539373725653,
-0.029460329562425613,
-0.02145608328282833,
-0.03591650724411011,
0.014257249422371387,
-0.010047301650047302,
-0.008510993793606758,
-0.010111220180988312,
-0.00868571549654007,
0.010252058506011963,
0.0749821662902832,
0.02608337439596653,
0.06201017275452614,
0.027061233296990395,
0.044143494218587875,
0.008442340418696404,
-0.009198206476867199,
-0.1402403712272644,
0.07460993528366089,
0.006979876663535833,
0.002600310603156686,
-0.037057679146528244,
0.007757261861115694,
-0.029827017337083817,
0.08373866230249405,
0.021788358688354492,
-0.012378966435790062,
-0.037394650280475616,
0.07854346930980682,
-0.0033794285263866186,
0.037533920258283615,
-0.02273581176996231,
-0.006838581990450621,
0.04320628568530083,
-0.010231406427919865,
-0.03683906048536301,
-0.01308443397283554,
-0.015510889701545238,
-0.0289003849029541,
-0.025563079863786697,
0.06483520567417145,
-0.05010845139622688,
0.008021821267902851,
-0.0012783932033926249,
0.050604164600372314,
0.022002603858709335,
-0.00578500097617507,
0.0480712428689003,
0.039278507232666016,
-0.0646548867225647,
-0.005809754133224487,
0.022193342447280884,
0.023997128009796143,
0.008451418951153755,
0.37128305435180664,
-0.024853108450770378,
0.009696798399090767,
0.012056241743266582,
0.062167782336473465,
-0.030744003131985664,
-0.016265079379081726,
-0.018573520705103874,
-0.08485349267721176,
0.021554799750447273,
-0.013960203155875206,
-0.023752359673380852,
-0.03874072805047035,
0.05892575904726982,
-0.10191506892442703,
-0.003902099095284939,
0.014254104346036911,
0.05931226536631584,
-0.0024681328795850277,
-0.040982261300086975,
0.03672736510634422,
-0.00839556846767664,
-0.01980086974799633,
0.04312646761536598,
0.018614528700709343,
0.01758906990289688,
0.05146079510450363,
0.0019228257006034255,
0.04660499840974808,
0.014138910919427872,
0.006489778868854046,
0.06788745522499084,
-0.017381170764565468,
-0.04960981756448746,
0.03869650512933731,
-0.0004209060571156442,
-0.0036462184507399797,
0.04132452234625816,
-0.02957221493124962,
0.010903911665081978,
0.002168910577893257,
-0.007310739252716303,
-0.04086724668741226,
0.035724982619285583,
0.028307529166340828,
-0.03666512295603752,
0.12440632283687592,
-0.00755678303539753,
-0.02879595384001732,
-0.03590548038482666,
-0.036702632904052734,
-0.03857610374689102,
0.03828469291329384,
0.010191372595727444,
-0.08239160478115082,
-0.008378462865948677,
0.01627703197300434,
0.05490278825163841,
0.02009987086057663,
-0.06802721321582794,
0.006665398832410574,
-0.025897517800331116,
-0.03414427489042282,
-0.010165993124246597,
0.07297216355800629,
0.026003263890743256,
-0.12136542052030563,
-0.004090280272066593,
0.052461519837379456,
0.03627241030335426,
-0.08204369992017746,
0.017978545278310776,
0.0023336121812462807,
-0.04286784306168556,
-0.011862704530358315,
0.08796481788158417,
0.008079735562205315,
-0.03693045303225517,
-0.021354930475354195,
0.0460541658103466,
0.02826686203479767,
-0.010408146306872368,
0.003317849012091756,
-0.0075608063489198685,
0.019635071977972984,
-0.04444114863872528,
-0.06333661824464798,
-0.04521218314766884,
0.0062700845301151276,
-0.007289745844900608,
-0.04449714347720146,
-0.03635085001587868,
-0.043022409081459045,
-0.03828493133187294,
0.09044112265110016,
-0.06366946548223495,
-0.027645621448755264,
-0.01638389192521572,
0.012326647527515888,
-0.00830581970512867,
-0.06181161105632782,
0.047193896025419235,
-0.005951634608209133,
0.005930967163294554,
0.016695931553840637,
-0.035026196390390396,
0.011387295089662075,
0.045667730271816254,
-0.05910860374569893,
0.03759640082716942,
0.050658274441957474,
-0.07416417449712753,
-0.004311379045248032,
-0.02747611328959465,
0.02211761102080345,
-0.011835665442049503,
-0.007149514742195606,
-0.024157967418432236,
-0.024732209742069244,
-0.003260212019085884,
0.02480602078139782,
-0.044439662247896194,
-0.020011600106954575,
-0.010953549295663834,
-0.36328476667404175,
-0.05714638903737068,
-0.011582975275814533,
0.0004243903385940939,
0.004273923113942146,
-0.002800988033413887,
-0.018374811857938766,
-0.02163803204894066,
-0.014725972898304462,
-0.005904149264097214,
0.07307036966085434,
-0.0054269940592348576,
-0.009378907270729542,
-0.09336134046316147,
0.005595837719738483,
0.049479082226753235,
-0.020851757377386093,
-0.013731195591390133,
-0.01769375242292881,
0.004695413634181023,
0.028230806812644005,
-0.03164573013782501,
0.001300862175412476,
-0.06376032531261444,
-0.021486405283212662,
-0.005317863076925278,
0.11454050987958908,
0.019110824912786484,
0.026362666860222816,
-0.04479968547821045,
0.04300839081406593,
-0.002973270369693637,
-0.013784260489046574,
-0.05846237391233444,
-0.009592736139893532,
-0.010523868724703789,
0.031521305441856384,
0.032362956553697586,
-0.013151698745787144,
-0.03341536223888397,
-0.02827894315123558,
-0.00038590660551562905,
-0.03217017650604248,
-0.049456726759672165,
-0.02439996600151062,
0.0075406297110021114,
-0.02114783599972725,
-0.014531715773046017,
0.039225079119205475,
0.07572367787361145,
-0.007312528323382139,
0.029262498021125793,
0.027510587126016617,
0.048081398010253906,
-0.007144325412809849,
-0.013775216415524483,
-0.06982072442770004,
0.0022194397170096636,
0.029716599732637405,
0.010791361331939697,
-0.004615006968379021,
0.04275457188487053,
0.03252033516764641,
-0.08059373497962952,
0.016827896237373352,
0.02395661734044552,
-0.019189244136214256,
-0.010038502514362335,
0.008602517656981945,
-0.035628389567136765,
-0.05603582784533501,
0.09945586323738098,
-0.0038644580636173487,
0.00028840600862167776,
0.05548339709639549,
0.023659853264689445,
-0.03132181242108345,
0.005212077870965004,
0.02130691520869732,
0.0070550753735005856,
0.034829139709472656,
-0.05272310599684715,
0.11735978722572327,
-0.016364485025405884,
0.009998766705393791,
0.06834670901298523,
-0.003627966856583953,
-0.028511492535471916,
0.07332058995962143,
-0.027910500764846802,
-0.035877179354429245,
0.003714796155691147,
-0.028903651982545853,
-0.0440751276910305,
0.047195617109537125,
-0.03540315851569176,
-0.27167484164237976,
0.05713968724012375,
0.02783706970512867,
0.034176576882600784,
0.018595250323414803,
-0.011171652004122734,
0.010804818943142891,
-0.02696717344224453,
-0.011881078593432903,
-0.008943310007452965,
0.02334042638540268,
0.06228369101881981,
-0.01195092499256134,
-0.02210647240281105,
0.018279293552041054,
0.02686651609838009,
0.04206521436572075,
0.010628686286509037,
0.022858092561364174,
0.005005647428333759,
0.06955581158399582,
0.008210904896259308,
0.19910408556461334,
0.04353063553571701,
0.001341726165264845,
0.02585281990468502,
-0.06793548911809921,
0.012457896955311298,
0.07856854796409607,
0.007110164035111666,
-0.01090183574706316,
0.042756713926792145,
0.04653194546699524,
0.047451093792915344,
0.00752440607175231,
-0.041591912508010864,
-0.014096926897764206,
0.03840683400630951,
0.04231472313404083,
-0.07229938358068466,
-0.02668524719774723,
0.0339033305644989,
0.0009410835918970406,
0.009881694801151752,
0.08796301484107971,
-0.0124097540974617,
0.01995089277625084,
-0.02405029721558094,
-0.058390434831380844,
-0.011672408320009708,
-0.017898892983794212,
-0.03868890926241875,
-0.026659568771719933,
0.028561383485794067,
-0.009489485993981361,
0.048955079168081284,
0.028727000579237938,
-0.03242270648479462,
0.002433344256132841,
0.03005353920161724,
-0.0012351371115073562,
-0.015375598333775997,
0.08609718829393387,
-0.016972120851278305,
0.018764236941933632
] | [
0.024945203214883804,
0.06174401566386223,
0.005745084024965763,
0.05273500829935074,
-0.012686850503087044,
-0.01891024224460125,
-0.031304579228162766,
-0.02263922058045864,
-0.006655323784798384,
-0.011087587103247643,
-0.04537837579846382,
0.006903171073645353,
0.032816335558891296,
-0.01574374921619892,
0.014219047501683235,
0.03710637986660004,
-0.03831533342599869,
0.033009905368089676,
0.01931234821677208,
-0.03228939697146416,
-0.04044223576784134,
-0.01530424878001213,
0.012030083686113358,
0.002603573491796851,
-0.010932735167443752,
0.01767912693321705,
-0.03660934418439865,
0.004152046982198954,
0.023622145876288414,
-0.0792093351483345,
-0.02664768695831299,
-0.018826359882950783,
-0.02139011211693287,
0.0027920014690607786,
-0.050225187093019485,
-0.0014586924808099866,
0.021430399268865585,
0.014807489700615406,
-0.008663810789585114,
0.024259645491838455,
0.04523187503218651,
0.009102258831262589,
-0.04005616903305054,
-0.005207875743508339,
0.009178485721349716,
-0.0011922440025955439,
-0.05057820305228233,
-0.008163092657923698,
-0.016666952520608902,
0.005883073899894953,
-0.04407474771142006,
-0.02640538290143013,
-0.0120526272803545,
-0.0014224343467503786,
0.006496271584182978,
0.024897200986742973,
-0.0458650141954422,
-0.027025777846574783,
-0.005850542336702347,
-0.0226590558886528,
0.04577835649251938,
-0.018144577741622925,
-0.08007000386714935,
-0.03446553647518158,
-0.0032273309770971537,
-0.02118639647960663,
-0.0004291845252737403,
0.03944028541445732,
0.03351060673594475,
-0.0006187664112076163,
-0.021932411938905716,
0.022946711629629135,
-0.06454290449619293,
-0.010247493162751198,
-0.007269622758030891,
0.027170635759830475,
0.048161640763282776,
-0.028509311378002167,
-0.011497195810079575,
-0.010105653665959835,
-0.01711459644138813,
0.014954079873859882,
-0.037439994513988495,
-0.012832987122237682,
-0.0017894383054226637,
0.009569325484335423,
-0.021113913506269455,
0.022511165589094162,
0.00711326627060771,
0.01888388581573963,
-0.04576244205236435,
0.01243977528065443,
-0.001552552217617631,
-0.008839323185384274,
-0.05535779893398285,
0.007449785713106394,
0.04048406332731247,
-0.00015664793318137527,
0.03712554648518562,
0.810188353061676,
0.017974426969885826,
0.015024352818727493,
0.012715828604996204,
0.024226592853665352,
-0.014599304646253586,
0.024484317749738693,
-0.031881317496299744,
0.0049827671609818935,
-0.0004776051500812173,
0.0020363563671708107,
-0.01928970217704773,
0.013530559837818146,
0.020876485854387283,
-0.007428603712469339,
0.00011494675709400326,
0.03312922641634941,
-0.0007378290174528956,
-0.02152751199901104,
0.00008803523815004155,
0.04401286691427231,
0.0008583262679167092,
0.023906894028186798,
-0.021569356322288513,
0.021325675770640373,
0.0037914409767836332,
-0.18148313462734222,
-0.007012740708887577,
-7.107764712833183e-33,
0.04766397923231125,
0.006732866633683443,
0.06939898431301117,
0.00839680340141058,
0.05160239711403847,
0.04654489457607269,
-0.008941203355789185,
-0.04647187516093254,
0.005377978552132845,
-0.022102080285549164,
-0.031497180461883545,
-0.004619879648089409,
-0.00493900291621685,
-0.05129358172416687,
0.016787901520729065,
-0.035807885229587555,
-0.007993891835212708,
0.012541594915091991,
0.0059542348608374596,
-0.0025718985125422478,
-0.0011697132140398026,
0.026120243594050407,
-0.06433571875095367,
0.044484153389930725,
0.007284293416887522,
0.023577740415930748,
0.019618049263954163,
0.0020084991119802,
-0.031669747084379196,
-0.04783708229660988,
-0.0382801815867424,
-0.0017836528131738305,
-0.01942693442106247,
-0.029129758477211,
0.02854001149535179,
-0.06678304076194763,
-0.02474020980298519,
0.007815808989107609,
-0.016185592859983444,
-0.07852523773908615,
-0.05654555931687355,
-0.02441023476421833,
-0.011708969250321388,
-0.029161779209971428,
-0.055662088096141815,
-0.027103759348392487,
0.004026571288704872,
0.018314722925424576,
0.0026367988903075457,
-0.008937480859458447,
0.04718764126300812,
0.02177644893527031,
-0.01416090875864029,
-0.026571396738290787,
-0.04793498292565346,
0.014836321584880352,
0.026853498071432114,
0.024148007854819298,
-0.010064272210001945,
0.023750534281134605,
0.043192364275455475,
-0.02414408139884472,
-0.013858877122402191,
0.03419436514377594,
0.013187467120587826,
0.0224518571048975,
-0.014244457706809044,
0.015869388356804848,
-0.010160493664443493,
0.033706121146678925,
-0.03086022101342678,
0.06273886561393738,
-0.013041051104664803,
-0.05170238018035889,
0.05062026530504227,
-0.03816278278827667,
0.011553031392395496,
-0.017425203695893288,
0.002758722985163331,
0.08836688101291656,
-0.010695655830204487,
-0.017409104853868484,
0.026603393256664276,
-0.020581277087330818,
0.011115338653326035,
-0.038509760051965714,
0.018076347187161446,
0.03095201589167118,
0.012289252132177353,
0.007288826629519463,
0.055845413357019424,
0.022589627653360367,
0.024392051622271538,
-0.012781783938407898,
-0.000014547449609381147,
6.131921098000353e-33,
-0.013554240576922894,
-0.015593256801366806,
0.01822574995458126,
-0.0014100070111453533,
0.02190176211297512,
0.023387666791677475,
-0.02081403322517872,
0.020193060860037804,
-0.04765147715806961,
0.03495534136891365,
0.012142104096710682,
0.019948162138462067,
-0.021131880581378937,
0.026646578684449196,
0.0523206889629364,
-0.012116736732423306,
0.025989586487412453,
-0.02924594096839428,
-0.010095945559442043,
0.03335225209593773,
0.03844117373228073,
0.009130029939115047,
-0.017879055812954903,
0.02435189299285412,
0.02326713129878044,
-0.002442306373268366,
0.03319273144006729,
-0.012445527128875256,
0.0005620115553028882,
0.017165040597319603,
-0.0005198970902711153,
-0.057504959404468536,
-0.0072746723890304565,
-0.020426912233233452,
0.01789119839668274,
0.0063978829421103,
-0.0004857232852373272,
-0.026341361925005913,
0.004574870690703392,
-0.00591849721968174,
-0.001385613577440381,
0.028406567871570587,
-0.028102165088057518,
0.0630602166056633,
0.019426602870225906,
0.04822051152586937,
0.0012453887611627579,
0.035250768065452576,
0.004570730961859226,
0.03049306385219097,
0.012373496778309345,
0.031103815883398056,
-0.022121846675872803,
0.04310319945216179,
0.022035520523786545,
-0.026057736948132515,
-0.006519577000290155,
0.009262367151677608,
-0.002359991893172264,
-0.007731505203992128,
-0.038725074380636215,
-0.021434584632515907,
-0.05969389155507088,
0.03523782268166542,
-0.014797274954617023,
-0.04156487062573433,
-0.042760033160448074,
0.009855098091065884,
-0.017054883763194084,
-0.0009315758943557739,
-0.014087003655731678,
0.027740105986595154,
-0.022888310253620148,
0.012289413250982761,
0.01692664809525013,
-0.009423078037798405,
-0.015361612662672997,
-0.0024075086694210768,
-0.03883414715528488,
0.03135281056165695,
0.01552298292517662,
0.019216256216168404,
0.023886997252702713,
0.007984674535691738,
-0.003411533311009407,
-0.032793354243040085,
-0.024840377271175385,
0.01409800536930561,
-0.025674918666481972,
-0.009952368214726448,
0.026221368461847305,
-0.039218395948410034,
-0.03281018137931824,
0.07497847825288773,
-0.018411951139569283,
-1.245281389117281e-8,
-0.03881177678704262,
0.02972370758652687,
-0.012171228416264057,
-0.016836851835250854,
0.005377256777137518,
-0.003046247176826,
-0.015454049222171307,
-0.0023436543997377157,
-0.016733238473534584,
0.012984910979866982,
0.050724972039461136,
-0.027132196351885796,
-0.004098882898688316,
0.003091350896283984,
0.014429258182644844,
-0.06284544616937637,
-0.011572172865271568,
-0.013879995793104172,
0.03795871511101723,
0.020548038184642792,
0.019727693870663643,
0.04520927742123604,
-0.028989285230636597,
0.017374183982610703,
0.00013609141751658171,
-0.040044959634542465,
0.02410309575498104,
-0.027352850884199142,
0.029001787304878235,
-0.05109701305627823,
-0.008824425749480724,
-0.012704777531325817,
-0.0184442400932312,
0.03078010492026806,
-0.05998556315898895,
-0.04752546548843384,
0.003926543984562159,
0.0458887442946434,
-0.0026611045468598604,
0.014068344607949257,
0.031594324856996536,
0.00442065903916955,
-0.021617813035845757,
-0.013626026920974255,
-0.03555053845047951,
0.011129265651106834,
-0.030612055212259293,
-0.018363934010267258,
0.048657797276973724,
-0.05211653187870979,
-0.004056804347783327,
-0.006161028984934092,
0.06377263367176056,
0.0010677658719941974,
0.05196450650691986,
0.024794038385152817,
0.004503551404923201,
-0.01825786754488945,
-0.0041261822916567326,
-0.030664291232824326,
0.020889028906822205,
0.011631252244114876,
-0.03150142356753349,
-0.015115899965167046
] | neo4j-cypher-unwind-vs-foreach | https://markhneedham.com/blog/2014/05/31/neo4j-cypher-unwind-vs-foreach |
false | 2014-05-31 19:50:26 | Thoughts on meetups | [
"meetups"
] | [
"Software Development"
] | I recently came across an http://blog.factual.com/clojure-office-hours[interesting blog post by Zach Tellman] in which he explains a new approach that he's been trialling at http://www.meetup.com/The-Bay-Area-Clojure-User-Group/events/181057342/[The Bay Area Clojure User Group].
Zach explains that a lecture based approach isn't necessarily the most effective way for people to learn and that half of the people attending the meetup are likely to be novices and would struggle to follow more advanced content.
He then goes on to explain an alternative approach:
____
We've been experimenting with a Clojure meetup modelled on a different academic tradition: *office hours*. At a university, students who have questions about the lecture content or coursework can visit the professor and have a one-on-one conversation. \... At the beginning of every meetup, we give everyone a name tag, and provide a whiteboard with two columns, "`teachers`" and "`students`". Attendees are encouraged to put their name and interests in both columns. From there, everyone can [\...] go in search of someone from the opposite column who shares their interests.
____
While running Neo4j meetups we've had similar observations and my colleagues https://twitter.com/darthvader42[Stefan] and https://twitter.com/neo4jfr[Cedric] http://www.meetup.com/graphdb-france/events/163480742/[actually ran a meetup in Paris a few months ago] which sounds very similar to Zach's 'office hours' style one.
However, we've also been experimenting with the idea that *one size doesn't need to fit all* by running different styles of meetups aimed at different people.
For example, we have:
* http://www.meetup.com/graphdb-london/events/184326312/[An introductory meetup] which aims to get people to the point where they can follow talks about more advanced topics.
* A http://www.meetup.com/graphdb-london/events/181678522/[more hands on session] for people who want to learn how to write queries in cypher, Neo4j's query language.
* An http://www.meetup.com/graphdb-london/events/181676642/[advanced session] for people who want to learn how to model a problem as a graph and import data into a graph.
I'm also thinking of running something similar to the http://londonclojurians.org/[Clojure Dojo] but focused on data and graphs where groups of people could work together and build an app.
I noticed that Nick Manning has been doing http://www.meetup.com/nycneo4j/events/152795422/[a] http://www.meetup.com/nycneo4j/events/149762532/[similar] http://www.meetup.com/nycneo4j/events/158975752/[thing] with the http://www.meetup.com/nycneo4j/[New York City Neo4j meetup] as well, which is cool.
I'd be interested in hearing about different / better approaches that other people have come across so if you know of any let me know in the comments. | null | null | [
0.018003642559051514,
-0.008808881975710392,
-0.0027311609592288733,
0.025302981957793236,
0.06974220275878906,
-0.027973061427474022,
0.028345059603452682,
0.036293018609285355,
0.021749330684542656,
-0.0075453296303749084,
-0.011143848299980164,
-0.01813213899731636,
-0.054384440183639526,
0.040259551256895065,
-0.013274366036057472,
0.0615893229842186,
0.06185010448098183,
-0.013635770417749882,
0.016285397112369537,
0.011083908379077911,
0.03133482113480568,
0.06779821217060089,
0.025605734437704086,
0.025681814178824425,
0.04703482612967491,
-0.014683054760098457,
0.012942880392074585,
-0.0035856873728334904,
-0.03630346059799194,
0.0039896005764603615,
0.034683044999837875,
0.014356081373989582,
0.015096144750714302,
0.0033306186087429523,
0.04061219468712807,
-0.013284603133797646,
-0.0014046983560547233,
0.003347258549183607,
0.0035094080958515406,
0.025122009217739105,
-0.07572715729475021,
0.04651555046439171,
-0.01712947152554989,
0.016709577292203903,
-0.04606920853257179,
0.014210074208676815,
-0.046694692224264145,
0.03646088391542435,
0.011613016948103905,
0.008885415270924568,
-0.0681915134191513,
0.013374146074056625,
0.034682296216487885,
0.019848957657814026,
-0.012759827077388763,
0.017585180699825287,
0.021447010338306427,
-0.07271900773048401,
0.041668862104415894,
-0.01435854472219944,
-0.0021865740418434143,
0.011490941978991032,
-0.004038967192173004,
0.020923495292663574,
0.017748411744832993,
-0.019412126392126083,
-0.01032796036452055,
0.03247864171862602,
-0.04549276456236839,
-0.005104709416627884,
-0.016182774677872658,
0.03074391931295395,
-0.011836955323815346,
-0.018168216571211815,
0.02053418569266796,
-0.04314104840159416,
0.0073634604923427105,
0.05329413712024689,
0.038235265761613846,
0.03953900933265686,
-0.037067703902721405,
0.010547070764005184,
0.013766785152256489,
0.03903588652610779,
-0.0031894585117697716,
-0.013802078552544117,
-0.03288010135293007,
-0.02968847006559372,
-0.05302239954471588,
0.04109560325741768,
-0.0057738409377634525,
-0.058925725519657135,
0.0031879774760454893,
0.008508056402206421,
0.007403462193906307,
0.027729079127311707,
0.03348177671432495,
-0.0012997083831578493,
0.010023051872849464,
-0.028683826327323914,
-0.0309942327439785,
-0.042696353048086166,
-0.022328009828925133,
0.034430958330631256,
-0.0910506397485733,
-0.02275589108467102,
-0.02367107942700386,
-0.010313036851584911,
0.014065468683838844,
-0.012183471582829952,
-0.0413382351398468,
0.005886920262128115,
-0.008401182480156422,
0.006602573674172163,
-0.050720956176519394,
0.06763316690921783,
0.0005450147436931729,
-0.04727739468216896,
-0.04092755541205406,
-0.024744093418121338,
0.015995338559150696,
0.040380023419857025,
0.01008311565965414,
0.08610037714242935,
-0.016266725957393646,
0.020685875788331032,
-0.03695934638381004,
0.054434020072221756,
-0.021938711404800415,
-0.049408022314310074,
-0.020242230966687202,
0.05355268716812134,
-0.0036044123116880655,
-0.0061903707683086395,
-0.003907781559973955,
-0.0442458875477314,
-0.0021242157090455294,
0.02843925729393959,
0.04195750504732132,
0.04145389795303345,
0.023922646418213844,
-0.036671221256256104,
0.016077881678938866,
0.011681837029755116,
0.036050911992788315,
-0.013757855631411076,
-0.014300673268735409,
-0.031535740941762924,
-0.03475048020482063,
-0.029454931616783142,
0.026731425896286964,
0.008585315197706223,
0.014150848612189293,
-0.0391685776412487,
0.03815021738409996,
0.09359581768512726,
0.01114693284034729,
0.02033851481974125,
-0.01732456125319004,
0.01734898053109646,
0.0055865091271698475,
0.035869210958480835,
0.003373031737282872,
0.037546306848526,
0.03295567259192467,
-0.021058451384305954,
-0.0030484197195619345,
0.06426060199737549,
0.004546999000012875,
0.008338501676917076,
-0.047604698687791824,
-0.04167155176401138,
0.054829757660627365,
-0.04601704701781273,
-0.014024038799107075,
0.046159714460372925,
0.09513458609580994,
0.029229039326310158,
0.03062269650399685,
-0.0053352066315710545,
-0.08076778799295425,
0.03202909603714943,
0.031493205577135086,
0.03142723813652992,
0.010598341934382915,
-0.03529582545161247,
0.05506960675120354,
0.03967181593179703,
-0.013599579222500324,
0.05772014707326889,
-0.06802967190742493,
-0.07351024448871613,
-0.015297471545636654,
-0.025902092456817627,
0.06784424930810928,
-0.03132384642958641,
0.048928286880254745,
0.057584088295698166,
0.004875070881098509,
0.04498754441738129,
0.02843773365020752,
0.007481672335416079,
0.02771066315472126,
-0.029213234782218933,
-0.06760041415691376,
0.059069473296403885,
0.017052344977855682,
-0.05151619762182236,
-0.051482584327459335,
0.000017292501070187427,
-0.01897108554840088,
-0.007883650250732899,
0.04188288003206253,
-0.013084218837320805,
0.03334878012537956,
0.01996474899351597,
0.06330066174268723,
-0.03146783262491226,
0.01277561392635107,
-0.015142441727221012,
0.02371106669306755,
-0.0032772577833384275,
-0.0049976687878370285,
0.02316378802061081,
0.0017971346387639642,
0.11238076537847519,
0.04767260700464249,
-0.018749332055449486,
-0.046645697206258774,
0.025490600615739822,
0.027612226083874702,
-0.029336214065551758,
-0.010209024883806705,
0.006014516577124596,
0.033136624842882156,
-0.01327873207628727,
-0.03369449824094772,
-0.04411127418279648,
0.01050193514674902,
-0.05276593938469887,
0.0017702619079500437,
0.07088135927915573,
-0.01409881841391325,
0.05967209115624428,
-0.009485473856329918,
0.0018566596554592252,
-0.024755237624049187,
-0.023289702832698822,
-0.039273977279663086,
0.031049655750393867,
0.003914077300578356,
-0.027404863387346268,
0.03159748390316963,
-0.03400810807943344,
-0.01142492238432169,
-0.018088679760694504,
-0.008438847959041595,
0.038430362939834595,
0.06751006096601486,
0.054459348320961,
-0.02325126715004444,
0.04682183638215065,
-0.03589075803756714,
0.03489046171307564,
-0.011180195026099682,
-0.06057595834136009,
-0.03103088028728962,
-0.05128742381930351,
-0.020490270107984543,
0.01655009388923645,
0.04557762295007706,
-0.010196029208600521,
0.011505144648253918,
0.0009551846887916327,
-0.02744738757610321,
-0.010774887166917324,
0.012856908142566681,
0.020510056987404823,
-0.015396677888929844,
-0.03200814500451088,
-0.038670845329761505,
0.051859986037015915,
-0.026898175477981567,
-0.010621001943945885,
-0.004367356188595295,
-0.051337145268917084,
0.0400717593729496,
-0.05807941406965256,
-0.05059633404016495,
0.006434683687984943,
0.03377755731344223,
0.04971799626946449,
0.030485812574625015,
0.010057885199785233,
0.07884948700666428,
0.009510342963039875,
0.02471305802464485,
-0.00983586348593235,
-0.02516966685652733,
0.04524081200361252,
-0.015766849741339684,
0.016116203740239143,
0.04165196791291237,
-0.011671420186758041,
-0.0008513511857017875,
-0.057913802564144135,
0.04823167994618416,
-0.02455556020140648,
-0.27860188484191895,
0.03382449969649315,
-0.01570734940469265,
-0.013337564654648304,
-0.020810432732105255,
-0.037031687796115875,
0.019582737237215042,
-0.05267297476530075,
-0.03203844279050827,
-0.010541698895394802,
-0.036599043756723404,
-0.02670636959373951,
-0.03424449265003204,
0.03819285333156586,
0.008231114596128464,
0.009196235798299313,
0.0009684966062195599,
-0.03600485995411873,
0.012379210442304611,
0.044491078704595566,
-0.0013873204588890076,
-0.05272003635764122,
-0.009688318707048893,
0.03973068669438362,
0.01932331919670105,
0.062380556017160416,
-0.08470164239406586,
0.014937134459614754,
-0.04719884693622589,
-0.012965415604412556,
0.03590066358447075,
-0.013194222003221512,
0.004500857554376125,
-0.027155224233865738,
-0.007158750202506781,
-0.006453104317188263,
0.06185030937194824,
-0.004373438190668821,
0.017799047753214836,
0.016887547448277473,
0.003268965519964695,
-0.019491584971547127,
-0.01670917496085167,
0.0037687551230192184,
0.07447098940610886,
0.021855918690562248,
-0.08290599286556244,
0.01446052547544241,
-0.015532510355114937,
0.05600423738360405,
-0.027023643255233765,
-0.03837030008435249,
0.0007097985362634063,
0.049746304750442505,
-0.00569297606125474,
-0.02725883014500141,
-0.035876110196113586,
-0.022484632208943367,
-0.03940449655056,
-0.04860127717256546,
-0.02804803103208542,
-0.03563707321882248,
-0.02301223762333393,
-0.054985009133815765,
-0.0268325824290514,
-0.06939993798732758,
-0.07505401968955994,
0.0005539580597542226,
0.06027638912200928,
0.006970413029193878,
-0.023047899827361107,
0.016526613384485245,
-0.013349974527955055,
-0.09059550613164902,
-0.03527073189616203,
0.004457265604287386,
-0.037996117025613785,
0.007409364450722933,
0.03056168742477894,
0.05047693848609924,
-0.05066395550966263,
-0.05416325479745865,
0.004051939584314823,
0.016017239540815353,
0.06166953966021538,
-0.0044952863827347755,
0.01920367404818535,
0.026587197557091713,
-0.029406853020191193,
0.00677715428173542,
0.034351617097854614,
0.0021394919604063034,
-0.03953026980161667,
-0.023229515179991722,
0.013983121141791344,
0.040581442415714264,
0.021416842937469482,
-0.0076856836676597595,
0.02887960523366928,
0.05247727409005165,
0.009880753234028816,
-0.052962467074394226,
0.015911435708403587,
-0.0029406819958239794,
-0.01167699508368969,
-0.008605897426605225,
-0.048274945467710495,
0.024455253034830093,
0.022954273968935013,
0.019370101392269135,
-0.01523660495877266,
-0.0487806499004364,
0.016275687143206596,
-0.04834510013461113,
-0.025745032355189323,
-0.015571696683764458,
-0.0014822182711213827,
0.04495720565319061,
0.00938008539378643,
-0.004344596061855555,
-0.06868238747119904,
0.03309863060712814,
-0.004696969408541918,
-0.026532452553510666,
-0.05585344508290291,
-0.0012106980429962277,
-0.022923633456230164,
-0.036921314895153046,
0.019013945013284683,
0.008542596362531185,
-0.027830373495817184,
0.00724661024287343,
0.023601461201906204,
-0.0415259525179863,
0.041253894567489624,
-0.02754231169819832,
-0.04742687940597534,
-0.020506184548139572,
-0.012427148409187794,
0.011559325270354748,
0.014879747293889523,
0.011879744939506054,
0.0015284018591046333,
0.03783159703016281,
0.0272736307233572,
0.02860061079263687,
-0.0014665423659607768,
-0.0016088434495031834,
0.013171150349080563,
0.011358421295881271,
0.016581453382968903,
-0.060400839895009995,
0.030013496056199074,
-0.026310091838240623,
0.011593860574066639,
0.008006065152585506,
0.04836912825703621,
0.00200700294226408,
-0.026232723146677017,
-0.018892277032136917,
0.025993339717388153,
-0.05759625509381294,
-0.02011178620159626,
-0.013253814540803432,
0.009490974247455597,
0.07646839320659637,
-0.03150302171707153,
0.02653447352349758,
-0.035657260566949844,
-0.03383385390043259,
-0.0044111632741987705,
0.02057465724647045,
-0.06088365241885185,
0.020933186635375023,
0.019349610432982445,
-0.024600066244602203,
0.0014821571530774236,
0.03288164734840393,
0.06271885335445404,
0.0009696375345811248,
-0.013158543035387993,
-0.018627677112817764,
0.02082849107682705,
0.025154588744044304,
0.06785907596349716,
0.022708697244524956,
0.00627479050308466,
0.009953824803233147,
0.0007171967881731689,
-0.024693436920642853,
-0.02536780573427677,
-0.003289235755801201,
0.0016635922947898507,
-0.010442042723298073,
-0.024425311014056206,
-0.07529819011688232,
0.06241040676832199,
0.018732739612460136,
-0.010514221154153347,
0.017790580168366432,
0.01047683134675026,
-0.024856794625520706,
-0.03714802861213684,
0.024272505193948746,
0.05028086155653,
-0.060965705662965775,
-0.014890222810208797,
-0.023015791550278664,
-0.004343176260590553,
0.011343160644173622,
0.010102421045303345,
-0.039755962789058685,
-0.022941915318369865,
-0.003957153297960758,
0.00993840117007494,
-0.051055774092674255,
-0.03562936931848526,
-0.02514727972447872,
0.03451457992196083,
0.009793645702302456,
0.00582825718447566,
-0.029157908633351326,
-0.027833616361021996,
-0.022456947714090347,
-0.024179698899388313,
0.028471482917666435,
-0.035362400114536285,
0.011845691129565239,
0.012154363095760345,
-0.032915279269218445,
0.025221699848771095,
-0.0472433902323246,
0.020668072625994682,
0.012164119631052017,
-0.04194401577115059,
0.013982173055410385,
-0.06228300556540489,
0.01742808148264885,
-0.003558260388672352,
0.04702797159552574,
-0.0015419486444443464,
-0.006489672232419252,
-0.05899115651845932,
-0.007715596351772547,
-0.055001769214868546,
0.009390819817781448,
-0.017863385379314423,
0.016650011762976646,
0.01400094572454691,
0.023391885682940483,
0.02549760229885578,
0.022946534678339958,
-0.018924571573734283,
-0.019148346036672592,
0.013689307495951653,
-0.06509165465831757,
-0.04047384485602379,
-0.027973560616374016,
-0.05757302790880203,
-0.0019115307368338108,
-0.010983114130795002,
0.005412024445831776,
-0.030126001685857773,
0.030563445761799812,
0.009468445554375648,
0.02314090169966221,
0.038779810070991516,
-0.013252859935164452,
0.01160601619631052,
-0.024278422817587852,
0.0029689171351492405,
-0.09960059821605682,
-0.007945219054818153,
0.020216017961502075,
0.014870717190206051,
-0.012245863676071167,
0.016417227685451508,
-0.01960308477282524,
0.037551771849393845,
-0.08366673439741135,
-0.0030216744635254145,
0.03509338200092316,
-0.028165722265839577,
0.005377083085477352,
0.03102729097008705,
-0.06005719676613808,
0.0071092452853918076,
0.04793781787157059,
-0.04843178391456604,
0.0023291627876460552,
-0.032656364142894745,
0.03986184298992157,
-0.020810076966881752,
0.0481879822909832,
-0.01454994734376669,
0.017862480133771896,
0.0825352743268013,
0.008836747147142887,
-0.007929383777081966,
0.06700287014245987,
-0.007517172023653984,
0.01722470484673977,
0.04576399177312851,
-0.005192996468394995,
-0.011647839099168777,
0.019088272005319595,
-0.034459102898836136,
-0.05502517893910408,
0.051340047270059586,
0.010296265594661236,
-0.028315730392932892,
-0.023257318884134293,
0.08736024796962738,
0.02630668133497238,
-0.0478513166308403,
-0.03269793838262558,
0.02386770211160183,
-0.06370357424020767,
0.013670053333044052,
-0.04951470345258713,
-0.011307342909276485,
-0.03415614366531372,
0.038800567388534546,
-0.007672073785215616,
0.031810469925403595,
0.05723068118095398,
0.026158105581998825,
-0.012681713327765465,
-0.024712353944778442,
0.0926804468035698,
0.09481079876422882,
0.08079653233289719,
0.010716023854911327,
0.0599198117852211,
-0.031302426010370255,
-0.04989868775010109,
-0.012704574503004551,
-0.019815076142549515,
-0.0527925118803978,
-0.030100278556346893,
0.02650945633649826,
0.06565237790346146,
-0.029486048966646194,
0.07566403597593307,
0.002076207660138607,
-0.01523207500576973,
-0.008251724764704704,
0.021336328238248825,
0.028429396450519562,
0.05117084085941315,
0.01621350087225437,
0.017787661403417587,
-0.025842908769845963,
-0.05001871660351753,
0.04332319647073746,
-0.033270463347435,
-0.035275597125291824,
0.0350286066532135,
-0.007011640351265669,
0.024692347273230553,
0.02535933069884777,
0.04919762909412384,
0.0723724514245987,
-0.04381448030471802,
0.018844082951545715,
0.01356454100459814,
0.019575269892811775,
0.0075603448785841465,
0.023296544328331947,
-0.004807582125067711,
-0.0019397912546992302,
-0.0013175647472962737,
-0.02684582769870758,
-0.021639982238411903,
-0.018105600029230118,
-0.04937119781970978,
0.03351402282714844,
-0.03858603909611702,
-0.015078761614859104,
-0.0037496343720704317,
0.003512968774884939,
-0.01743362285196781,
-0.06814281642436981,
-0.007663067430257797,
-0.04835446923971176,
-0.06969311833381653,
-0.004555438179522753,
0.02200835943222046,
-0.031620122492313385,
-0.03440417721867561,
0.00006840151036158204,
-0.01581997238099575,
-0.0057469578459858894,
0.024880211800336838,
-0.053315527737140656,
-0.020576084032654762,
-0.003777098376303911,
0.0076383245177567005,
0.02193249762058258,
0.0010144072584807873,
0.03951277583837509,
-0.015173991210758686,
-0.00577035965397954,
-0.020119810476899147,
0.027993053197860718,
0.036007270216941833,
0.0029167768079787493,
-0.005301557946950197,
-0.10489166527986526,
0.04145379364490509,
0.047354862093925476,
-0.012477140873670578,
-0.07089401036500931,
0.04571579769253731,
0.02615175023674965,
0.028714176267385483,
0.03343871980905533,
0.016557615250349045,
-0.02655191533267498,
-0.03419456258416176,
0.02108098194003105,
0.0014085143338888884,
0.021505232900381088,
0.03135164454579353,
-0.0065955654717981815,
0.07183279097080231,
0.032221823930740356,
-0.03909348323941231,
-0.04372599348425865,
-0.04424836114048958,
0.004240207374095917,
-0.007993238978087902,
-0.022371146827936172,
-0.040831536054611206,
-0.03336256369948387,
-0.09028463065624237,
-0.03629157319664955,
0.03402499482035637,
-0.027736956253647804,
-0.015628255903720856,
0.0274907648563385,
0.025011751800775528,
-0.005167463328689337,
0.037125494331121445,
-0.034905798733234406,
0.04221395030617714,
-0.002694046124815941,
-0.008837129920721054,
-0.03112884983420372,
-0.019759973511099815,
-0.006211895029991865,
-0.015315561555325985,
0.004773285239934921,
-0.051451634615659714,
-0.013074939139187336,
-0.028726845979690552,
0.02240012027323246,
0.016619380563497543,
0.022111039608716965,
0.016300221905112267
] | [
-0.06040465459227562,
-0.03446311503648758,
-0.042965251952409744,
-0.013124020770192146,
0.017154105007648468,
-0.026799581944942474,
-0.005049912724643946,
0.019690481945872307,
0.007420881651341915,
-0.03856581822037697,
0.03824052959680557,
-0.019968921318650246,
0.019119743257761,
0.0002676918520592153,
0.11488541215658188,
-0.01680208556354046,
-0.010643749497830868,
-0.08433438837528229,
-0.012441124767065048,
0.020229317247867584,
-0.022969242185354233,
-0.03633860498666763,
-0.018962843343615532,
-0.023051856085658073,
0.01649465411901474,
0.025155460461974144,
0.05080093443393707,
-0.06430601328611374,
0.004246862605214119,
-0.18595458567142487,
-0.0016729997005313635,
0.03951685503125191,
0.06781668961048126,
0.001429101568646729,
0.011713024228811264,
0.06956416368484497,
0.06681150197982788,
-0.004939869046211243,
-0.03137527406215668,
0.039554182440042496,
0.018876994028687477,
0.00020652078092098236,
-0.00974141713231802,
-0.02152007818222046,
0.04727030172944069,
0.006731756962835789,
-0.023493358865380287,
-0.020734699442982674,
-0.08805029094219208,
0.01345931924879551,
-0.03791546821594238,
-0.04202740266919136,
-0.005830841138958931,
-0.01622152328491211,
-0.00009388620674144477,
0.06469829380512238,
0.03033025562763214,
0.04797396436333656,
-0.0029776724986732006,
0.017607057467103004,
0.0017704679630696774,
0.0033170715905725956,
-0.12951694428920746,
0.09791018813848495,
0.009232152253389359,
0.009774857200682163,
-0.022274848073720932,
0.01415602769702673,
0.009560494683682919,
0.06650056689977646,
0.03815598413348198,
-0.01278063002973795,
-0.010794584639370441,
0.0543026439845562,
0.006582139991223812,
0.00091450015315786,
-0.022705061361193657,
0.022474488243460655,
0.04195128008723259,
-0.034861985594034195,
-0.045420002192258835,
0.005672095809131861,
-0.0058142500929534435,
-0.009413426741957664,
-0.028616195544600487,
0.007577802985906601,
-0.021460585296154022,
0.035538770258426666,
-0.004221559967845678,
0.01708253100514412,
0.024089355021715164,
0.017793083563447,
0.024255195632576942,
0.0008636140846647322,
-0.07298271358013153,
-0.04698513075709343,
0.00996552873402834,
0.04884245991706848,
-0.030817072838544846,
0.42232275009155273,
-0.025223417207598686,
0.00098901626188308,
0.08198513835668564,
0.05191228538751602,
-0.01741699129343033,
-0.027338430285453796,
0.016278989613056183,
-0.0786985382437706,
0.05082736536860466,
-0.01385461539030075,
-0.005703364498913288,
-0.01278772484511137,
0.060586102306842804,
-0.04828604310750961,
0.0063135456293821335,
0.01766340248286724,
0.10809046030044556,
0.024177584797143936,
0.00024791245232336223,
0.00007549428846687078,
-0.007836338132619858,
-0.0055568343959748745,
0.02554178796708584,
-0.012076391838490963,
0.002857770072296262,
-0.004197706934064627,
0.005010687746107578,
0.04315154254436493,
0.05592801421880722,
0.008402532897889614,
0.06557850539684296,
0.001527212793007493,
-0.06546516716480255,
0.02512352354824543,
0.006016063503921032,
0.013055813498795033,
0.00713142566382885,
-0.040915507823228836,
0.017443843185901642,
0.03188615292310715,
0.036229368299245834,
0.010206177830696106,
0.04440334439277649,
-0.01819349080324173,
-0.02303950861096382,
0.1512991487979889,
-0.02729121781885624,
-0.025392984971404076,
-0.024060280993580818,
-0.04148572310805321,
0.01643054001033306,
0.01904829777777195,
-0.0376337431371212,
-0.0633561983704567,
0.007630729582160711,
0.0036472242791205645,
0.1449315994977951,
-0.00807907059788704,
-0.07080800831317902,
-0.0021790338214486837,
-0.03547137975692749,
-0.0064843096770346165,
-0.03548634052276611,
0.04884406551718712,
0.0487067848443985,
-0.1063234955072403,
0.005921775475144386,
0.009649236686527729,
0.007510806433856487,
-0.08486662805080414,
0.018187111243605614,
0.007837341167032719,
-0.005034010857343674,
0.04488474503159523,
0.07577255368232727,
-0.004176609683781862,
-0.059828195720911026,
-0.015594984404742718,
0.05065920576453209,
0.018956243991851807,
-0.005329339765012264,
0.004214419983327389,
-0.028460899367928505,
0.0069626872427761555,
-0.048923663794994354,
-0.04177187755703926,
-0.037344932556152344,
-0.028356535360217094,
0.0038945279084146023,
0.021470187231898308,
-0.026641879230737686,
-0.02078106254339218,
-0.08596725761890411,
0.05487681180238724,
-0.0842573270201683,
-0.019353069365024567,
0.004743322264403105,
-0.024106809869408607,
-0.03343973308801651,
-0.012145384214818478,
-0.06201476976275444,
0.04565153643488884,
-0.05894060805439949,
0.01922970451414585,
-0.047999270260334015,
0.02844616025686264,
0.07807765901088715,
-0.05139874666929245,
0.10055743902921677,
0.02161765843629837,
-0.04465404152870178,
-0.0242741871625185,
-0.02799227088689804,
0.015585193410515785,
0.008349312469363213,
-0.0031045915093272924,
0.021304979920387268,
-0.02016899362206459,
0.006984753534197807,
0.017290567979216576,
-0.013737929053604603,
0.012562375515699387,
-0.04140255227684975,
-0.340475857257843,
-0.03422802686691284,
0.0028294376097619534,
0.0031841634772717953,
0.01626184955239296,
-0.06300314515829086,
0.029586581513285637,
-0.002220948226749897,
-0.005862474907189608,
0.026917072013020515,
0.06599639356136322,
-0.005572143476456404,
-0.015897536650300026,
-0.06488659977912903,
0.02124992199242115,
0.06492002308368683,
-0.021166644990444183,
0.007451055105775595,
-0.026280710473656654,
-0.01492013968527317,
0.0055446685291826725,
-0.005902192089706659,
-0.0194756668061018,
-0.056936804205179214,
-0.023032542318105698,
-0.01974664069712162,
0.07559837400913239,
0.04048316925764084,
0.050188131630420685,
-0.027582965791225433,
0.038395125418901443,
0.00595529330894351,
-0.034363873302936554,
-0.09710681438446045,
-0.0029500052332878113,
0.004444929305464029,
0.02681090496480465,
-0.03924946114420891,
0.01953882910311222,
-0.028691967949271202,
-0.0624731183052063,
0.023527126759290695,
-0.06202276423573494,
-0.06389796733856201,
-0.06929109245538712,
0.03400242701172829,
-0.02362629771232605,
-0.032629482448101044,
-0.04022889956831932,
0.0687018558382988,
0.00652055349200964,
-0.01099697221070528,
0.012192700058221817,
0.017880337312817574,
-0.009801819920539856,
-0.015138433314859867,
-0.07908166944980621,
-0.010016128420829773,
0.0028461217880249023,
0.012920794077217579,
0.005608538165688515,
0.06489887833595276,
0.022617409005761147,
-0.07859141379594803,
0.014647141098976135,
0.009541172534227371,
-0.024201804772019386,
-0.0025873915292322636,
0.021299391984939575,
-0.013109901919960976,
-0.03161873295903206,
0.08750134706497192,
-0.008704572916030884,
0.020687784999608994,
0.042480871081352234,
0.010981482453644276,
-0.03613097593188286,
-0.004837090615183115,
-0.0013385445345193148,
0.013959286734461784,
0.04116639494895935,
-0.039433594793081284,
0.04950334504246712,
-0.024722930043935776,
-0.004908881615847349,
0.018127599731087685,
0.017190122976899147,
-0.028932781890034676,
0.04414822533726692,
0.018029825761914253,
-0.02898079715669155,
0.02012278512120247,
-0.019269190728664398,
-0.023154914379119873,
0.05424850434064865,
-0.0073926933109760284,
-0.26945561170578003,
0.04558012634515762,
0.03777027130126953,
0.047500669956207275,
0.01409832015633583,
0.033729471266269684,
0.006228166166692972,
-0.05846156179904938,
-0.02126000076532364,
-0.001572666224092245,
0.055844746530056,
0.03628259897232056,
-0.009451666846871376,
0.008693307638168335,
0.04306278005242348,
0.018689049407839775,
0.030156726017594337,
-0.003595012007281184,
-0.009749854914844036,
-0.005306291859596968,
0.03352978825569153,
-0.02110200747847557,
0.18548624217510223,
-0.008744756691157818,
0.03493892028927803,
0.02916431799530983,
0.003600893309339881,
0.012488267384469509,
0.055707816034555435,
-0.0225384421646595,
-0.024369923397898674,
-0.016866715624928474,
0.015483090654015541,
-0.0012445910833775997,
0.03279458358883858,
-0.04929892718791962,
-0.021810799837112427,
0.00016105727991089225,
0.02466038055717945,
-0.016316482797265053,
0.011914762668311596,
-0.0021724561229348183,
-0.05515449866652489,
0.0159768033772707,
0.05681014060974121,
0.012499059550464153,
0.03715705871582031,
-0.041276026517152786,
-0.027598075568675995,
-0.00865133199840784,
-0.005305454600602388,
-0.07273810356855392,
-0.016158821061253548,
0.011247660033404827,
0.009899758733808994,
0.07725226134061813,
0.008919863030314445,
-0.031895216554403305,
0.0176073145121336,
0.0040083774365484715,
-0.02978968620300293,
-0.019442373886704445,
0.08308736234903336,
0.003319886978715658,
0.007755035534501076
] | [
-0.004925436805933714,
0.011596031486988068,
0.00037691625766456127,
-0.02451488748192787,
0.003826319007202983,
-0.020451076328754425,
0.009918258525431156,
-0.014734412543475628,
-0.00823894888162613,
-0.023957308381795883,
-0.02882017008960247,
0.02695995569229126,
0.024931682273745537,
-0.00582250626757741,
0.04892842099070549,
0.001334687229245901,
0.030999615788459778,
-0.015680380165576935,
0.03593844920396805,
0.024897921830415726,
-0.01796630211174488,
-0.018426991999149323,
0.03622275963425636,
-0.01167607307434082,
-0.013295834884047508,
0.020831547677516937,
0.0034293225035071373,
-0.001257195952348411,
0.03290915861725807,
-0.08578628301620483,
-0.02677238918840885,
0.016385601833462715,
-0.014485165476799011,
0.01653434894979,
0.009488960728049278,
-0.007553395349532366,
0.004897478502243757,
0.051363538950681686,
-0.00350238592363894,
0.03720755875110626,
-0.029125135391950607,
-0.0033816916402429342,
0.0037176422774791718,
0.048723433166742325,
0.009708292782306671,
0.016921482980251312,
-0.03883056342601776,
-0.03829032927751541,
-0.012902868911623955,
-0.027203954756259918,
-0.0233469121158123,
-0.020216502249240875,
0.001244109938852489,
-0.0062284343875944614,
0.0029056707862764597,
0.022386616095900536,
-0.040536146610975266,
-0.011302202939987183,
0.018019862473011017,
-0.0014818254858255386,
-0.016748428344726562,
-0.01754738576710224,
-0.050268325954675674,
-0.009971064515411854,
0.004068703390657902,
-0.017620734870433807,
-0.0356643907725811,
0.041537314653396606,
-0.01986038312315941,
0.015695055946707726,
-0.024625252932310104,
0.06524708122015,
-0.05217822268605232,
-0.04480412229895592,
0.001762470812536776,
0.0011648401850834489,
0.005078774876892567,
-0.024023935198783875,
0.02805243991315365,
-0.01631290838122368,
-0.04089139774441719,
-0.012640614993870258,
0.002721532480791211,
0.014701751060783863,
0.009467370808124542,
-0.01980573870241642,
0.021193942055106163,
-0.030493317171931267,
0.0017208640929311514,
0.026159165427088737,
-0.035425398498773575,
0.043132007122039795,
0.001545399078167975,
-0.006067332345992327,
-0.1179719790816307,
0.00075499527156353,
0.0009105803328566253,
0.024165939539670944,
0.023635992780327797,
0.8550621271133423,
-0.02899155393242836,
0.029821500182151794,
0.030661633238196373,
0.008849403820931911,
-0.031719695776700974,
-0.015228886157274246,
-0.005984618328511715,
0.01871851086616516,
0.03575841337442398,
0.016672106459736824,
-0.008338372223079205,
0.0010071340948343277,
0.020032623782753944,
-0.0024063640739768744,
0.02317296899855137,
0.05057114362716675,
0.07151492685079575,
0.013631942681968212,
0.007195008918642998,
0.03457095846533775,
0.0031831408850848675,
0.04473540931940079,
-0.00722127640619874,
-0.009250420145690441,
-0.04141269996762276,
-0.1749945878982544,
0.012743772938847542,
-6.934543130612041e-33,
0.07103655487298965,
-0.0006863672169856727,
-0.0013075614115223289,
-0.023567495867609978,
0.002024065237492323,
0.003700765548273921,
-0.041172273457050323,
-0.028109479695558548,
-0.021671663969755173,
-0.007324418053030968,
0.016877498477697372,
0.030570844188332558,
0.027332140132784843,
-0.019021861255168915,
0.031850505620241165,
-0.0009316238574683666,
0.034104928374290466,
0.03845231980085373,
-0.008153088390827179,
-0.00656332029029727,
0.024252478033304214,
-0.003938439767807722,
0.005480655934661627,
-0.001787712681107223,
-0.018372267484664917,
0.03732462599873543,
0.019436528906226158,
0.03399145230650902,
0.00168468221090734,
-0.047987908124923706,
-0.040658604353666306,
0.014644430950284004,
-0.009658592753112316,
-0.0011861647944897413,
0.01725909672677517,
-0.047202982008457184,
-0.023319484665989876,
0.017781825736165047,
-0.002475099405273795,
-0.060256123542785645,
-0.03336619585752487,
-0.0057477811351418495,
-0.01624983735382557,
-0.034242067486047745,
-0.01817157119512558,
0.0012404361041262746,
-0.004947915207594633,
-0.0006443388992920518,
-0.0025869880337268114,
-0.01627722941339016,
-0.013155176304280758,
-0.020772939547896385,
-0.022474540397524834,
0.00775717431679368,
-0.03911684453487396,
-0.011731204576790333,
0.028981557115912437,
0.011139050126075745,
0.003450308693572879,
0.026907265186309814,
0.024318207055330276,
0.008249390870332718,
-0.012883457355201244,
0.05939487740397453,
-0.0013568869326263666,
-0.01950657367706299,
-0.02652154304087162,
-0.03367513790726662,
0.02128540351986885,
-0.024697044864296913,
-0.038102880120277405,
0.06870944797992706,
-0.009143118746578693,
0.0011667198268696666,
0.016086267307400703,
-0.03590169548988342,
0.003715950297191739,
0.007667077239602804,
-0.0028132149018347263,
0.058172665536403656,
0.014916607178747654,
-0.03616582974791527,
-0.013194427825510502,
-0.013737527653574944,
-0.043292686343193054,
0.0058185686357319355,
0.03055783547461033,
-0.019250107929110527,
-0.003172392025589943,
0.02833227440714836,
0.013125392608344555,
-0.016056092455983162,
0.021526727825403214,
-0.007010817527770996,
-0.02888726070523262,
6.497151233562669e-33,
0.030746260657906532,
0.006815462373197079,
-0.0006624218658544123,
-0.015215725637972355,
0.061786290258169174,
0.004615140613168478,
0.03422027453780174,
0.0056601897813379765,
-0.030127890408039093,
0.021784381940960884,
-0.04588768258690834,
-0.007591607514768839,
-0.008562968112528324,
0.03109232895076275,
0.036230843514204025,
0.006040283944457769,
0.05109894648194313,
-0.022059611976146698,
-0.016861028969287872,
0.00027703377418220043,
0.012855243869125843,
-0.006403730716556311,
-0.010256546549499035,
-0.012605622410774231,
0.042221181094646454,
0.021600209176540375,
0.0064896997064352036,
0.01390782929956913,
-0.019304536283016205,
0.021510746330022812,
-0.01767418347299099,
-0.01313240546733141,
-0.001747403759509325,
0.029505090788006783,
0.016674397513270378,
0.02483735792338848,
-0.013149005360901356,
0.006462599616497755,
0.011339538730680943,
-0.019016919657588005,
0.0183232631534338,
-0.004656799137592316,
-0.04471927508711815,
0.021052047610282898,
0.02837487682700157,
0.019932864233851433,
-0.01764657534658909,
0.0004754187539219856,
-0.0276054497808218,
-0.03232603892683983,
-0.02441740222275257,
0.024684742093086243,
-0.01799289882183075,
-0.008412592113018036,
0.009325887076556683,
-0.023450439795851707,
-0.009077637456357479,
0.014379916712641716,
-0.016958270221948624,
-0.005977496039122343,
0.0017887420253828168,
-0.0015223113587126136,
-0.036939263343811035,
0.03956742584705353,
-0.015227646566927433,
-0.019991222769021988,
-0.023699184879660606,
-0.010981788858771324,
-0.020453765988349915,
0.016848811879754066,
-0.002968511776998639,
-0.0004956206539645791,
-0.005382106639444828,
0.02219010330736637,
0.024607621133327484,
-0.006416813470423222,
-0.02590327523648739,
0.015168498270213604,
-0.03066076897084713,
0.020040208473801613,
0.001406340510584414,
0.018659472465515137,
-0.0036223395727574825,
0.019961325451731682,
-0.005739368032664061,
0.017413605004549026,
-0.005220395512878895,
0.04190206527709961,
-0.017207816243171692,
-0.01623775064945221,
0.018940189853310585,
-0.04095673933625221,
-0.0016943352529779077,
0.035376667976379395,
-0.022553155198693275,
-1.2869525889414035e-8,
-0.022308215498924255,
-0.018151672556996346,
-0.02232486940920353,
-0.023893602192401886,
0.022902317345142365,
-0.015508046373724937,
0.013899956829845905,
-0.009304353967308998,
-0.014401073567569256,
0.03694991022348404,
0.023268865421414375,
0.005139047279953957,
0.021106291562318802,
0.0135112963616848,
0.03143530339002609,
-0.017185183241963387,
0.013185705058276653,
-0.02165909856557846,
0.01982630230486393,
0.01353524997830391,
0.03336905688047409,
0.012370564974844456,
-0.020748814567923546,
0.010595517233014107,
-0.0033984293695539236,
-0.009824464097619057,
-0.015619605779647827,
-0.054836854338645935,
-0.008990565314888954,
-0.02035253308713436,
-0.016136838123202324,
-0.01647007465362549,
-0.02485097199678421,
-0.0000796208914835006,
-0.014868568629026413,
-0.023326950147747993,
0.0014660320011898875,
0.020955126732587814,
0.02521507628262043,
0.018963124603033066,
-0.01640586368739605,
-0.024879446253180504,
-0.007789503782987595,
-0.034340739250183105,
-0.022756610065698624,
0.04385567829012871,
-0.01501457765698433,
-0.029056211933493614,
-0.002744324505329132,
-0.029483256861567497,
-0.007443596143275499,
0.001860411954112351,
0.013220026157796383,
0.005107308272272348,
0.011162308044731617,
0.004920555744320154,
-0.014141242951154709,
-0.019884930923581123,
-0.013532404787838459,
-0.029756363481283188,
-0.00975894182920456,
0.013615668751299381,
-0.03412393480539322,
-0.025246432051062584
] | thoughts-on-meetups | https://markhneedham.com/blog/2014/05/31/thoughts-on-meetups |
false | 2014-05-31 00:03:48 | Clojure: Destructuring group-by's output | [
"clojure"
] | [
"Clojure"
] | One of my favourite features of Clojure is that it allows you to destructure a data structure into values that are a bit easier to work with.
I often find myself referring to http://blog.jayfields.com/2010/07/clojure-destructuring.html[Jay Fields' article] which contains several examples showing the syntax and is a good starting point.
One recent use of destructuring I had was where I was working with a vector containing events like this:
[source,lisp]
----
user> (def events [{:name "e1" :timestamp 123} {:name "e2" :timestamp 456} {:name "e3" :timestamp 789}])
----
I wanted to split the events in two - those containing events with a timestamp greater than 123 and those less than or equal to 123.
After remembering that the function I wanted was +++<cite>+++http://clojuredocs.org/clojure_core/1.2.0/clojure.core/group-by[group-by]+++</cite>+++ and not +++<cite>+++http://clojuredocs.org/clojure_core/1.2.0/clojure.core/partition-by[partition-by]+++</cite>+++ (I always make that mistake!) I had the following:
[source,lisp]
----
user> (group-by #(> (->> % :timestamp) 123) events)
{false [{:name "e1", :timestamp 123}], true [{:name "e2", :timestamp 456} {:name "e3", :timestamp 789}]}
----
I wanted to get 2 vectors that I could pass to the web page and this is fairly easy with destructuring:
[source,lisp]
----
user> (let [{upcoming true past false} (group-by #(> (->> % :timestamp) 123) events)]
(println upcoming) (println past))
[{:name e2, :timestamp 456} {:name e3, :timestamp 789}]
[{:name e1, :timestamp 123}]
nil
----
Simple! | null | null | [
0.0061188493855297565,
0.005834328010678291,
-0.03958941251039505,
0.020544663071632385,
0.06008179113268852,
-0.012008332647383213,
-0.005635136738419533,
0.03166379779577255,
0.010193427093327045,
-0.02096753939986229,
0.0015347303124144673,
-0.02440635859966278,
-0.058942362666130066,
0.05549835413694382,
-0.000366872496670112,
0.052576418966054916,
0.06746643781661987,
-0.054623186588287354,
0.03735228627920151,
0.020961251109838486,
0.04124985635280609,
0.04435952752828598,
-0.011013652198016644,
0.0005455610807985067,
0.04736874997615814,
-0.01768765226006508,
0.010625111870467663,
0.02461814694106579,
-0.040165893733501434,
-0.0005539392586797476,
0.02576989307999611,
0.017375346273183823,
-0.028845535591244698,
-0.006447410210967064,
0.004148146603256464,
-0.03677966445684433,
-0.02147725038230419,
-0.01250848826020956,
-0.011785291135311127,
0.02753474935889244,
-0.07157174497842789,
0.012503932230174541,
-0.013683419674634933,
-0.0013272918295115232,
-0.05053875222802162,
0.019163701683282852,
-0.042696114629507065,
0.033969469368457794,
-0.01611826941370964,
0.01592935249209404,
-0.06395392119884491,
-0.0013567868154495955,
-0.0010788768995553255,
0.016606708988547325,
-0.011304743587970734,
0.016928687691688538,
0.01633552834391594,
-0.08554317057132721,
0.03545570373535156,
-0.03318009153008461,
0.004917076323181391,
-0.007739362772554159,
0.011692546308040619,
0.021022165194153786,
0.0027877315878868103,
-0.01596476510167122,
-0.0076126474887132645,
0.03618399426341057,
-0.042842473834753036,
-0.021209459751844406,
0.002717131981626153,
0.026328062638640404,
-0.02364075370132923,
-0.004029635805636644,
0.01827298291027546,
-0.01284473855048418,
-0.005371628329157829,
0.04790529981255531,
-0.008439918980002403,
0.07291118055582047,
-0.00424122903496027,
0.01541437953710556,
0.028234194964170456,
0.019378390163183212,
0.03706303983926773,
-0.018191060051321983,
-0.08125687390565872,
0.014519961550831795,
-0.05693650618195534,
0.03902111575007439,
0.008158653043210506,
-0.023396944627165794,
0.011547055095434189,
-0.00862929318100214,
0.018540171906352043,
0.025023968890309334,
-0.004771769512444735,
0.015355302020907402,
0.008365402929484844,
-0.025060778483748436,
-0.03569848835468292,
-0.04881918802857399,
-0.007950158789753914,
0.023476114496588707,
-0.08608449250459671,
-0.019677413627505302,
-0.046683888882398605,
-0.021130364388227463,
0.016747264191508293,
-0.026825984939932823,
-0.03587344288825989,
0.003204153850674629,
0.007254510652273893,
0.020452676340937614,
-0.05237751081585884,
0.04071972519159317,
0.019608862698078156,
-0.029369955882430077,
-0.02257910743355751,
0.017260586842894554,
0.02104063890874386,
0.009362947195768356,
0.017689043655991554,
0.06750762462615967,
-0.0024603623896837234,
0.017929598689079285,
0.0015998012386262417,
0.05319874733686447,
-0.008997803553938866,
-0.037645768374204636,
-0.03170384094119072,
0.07380254566669464,
-0.01118296105414629,
-0.01906285062432289,
-0.012006063014268875,
-0.05019095540046692,
-0.034070830792188644,
0.002940154168754816,
0.03235486149787903,
0.04194096848368645,
0.014698111452162266,
-0.03173651546239853,
0.018698833882808685,
-0.004755509551614523,
0.03623083978891373,
0.021441323682665825,
-0.03280094638466835,
-0.014371097087860107,
0.008466403000056744,
0.03299582749605179,
0.04515839368104935,
0.013366041705012321,
0.05824524909257889,
-0.022731924429535866,
0.00791704747825861,
0.08004768192768097,
0.006341602187603712,
0.04200218617916107,
-0.03737254440784454,
0.008870222605764866,
-0.0019475753651931882,
0.016890475526452065,
0.01658771000802517,
0.051406215876340866,
0.03544684872031212,
-0.026954272761940956,
0.012979432009160519,
0.05401124805212021,
-0.003343544900417328,
-0.037256769835948944,
-0.04137543588876724,
-0.045487646013498306,
0.06076432392001152,
-0.01687869057059288,
-0.0019675097428262234,
0.05555743724107742,
0.08312731981277466,
0.022107131779193878,
0.05667747184634209,
-0.00491553358733654,
-0.07699008285999298,
0.027142731472849846,
0.024545522406697273,
0.036101631820201874,
0.009849544614553452,
-0.012716786935925484,
0.07092595100402832,
-0.005713398568332195,
0.024334469810128212,
0.038323838263750076,
-0.07361292093992233,
-0.06483752280473709,
-0.011126740835607052,
-0.010708251968026161,
0.06645150482654572,
-0.05610925704240799,
0.03116990067064762,
0.06319326162338257,
0.006129381712526083,
0.07192155718803406,
0.013500201515853405,
0.02638092078268528,
-0.009599758312106133,
-0.038251034915447235,
-0.038800157606601715,
0.03815227001905441,
0.03502186760306358,
-0.031061522662639618,
-0.029304539784789085,
0.015473226085305214,
0.005799352191388607,
0.0189700648188591,
0.037973806262016296,
-0.017500214278697968,
0.04584604501724243,
0.018836023285984993,
0.026079211384058,
-0.023184074088931084,
0.02367550879716873,
-0.048987723886966705,
0.03875770792365074,
0.017843643203377724,
-0.0037060703616589308,
-0.0016984893009066582,
-0.023996366187930107,
0.1486152559518814,
0.059169866144657135,
-0.01733035035431385,
-0.023602746427059174,
0.022290855646133423,
0.002084639621898532,
-0.018592502921819687,
-0.03722671791911125,
-0.020069651305675507,
0.027686981484293938,
0.015591176226735115,
-0.0007086520199663937,
0.0003076997527386993,
0.01017653290182352,
-0.030012521892786026,
-0.007855989038944244,
0.07509588450193405,
-0.014258123002946377,
0.061849258840084076,
0.005587332416325808,
0.00013593047333415598,
-0.003016124712303281,
-0.05811502784490585,
-0.08942416310310364,
0.019452480599284172,
-0.0027294426690787077,
-0.019042961299419403,
0.07687632739543915,
-0.03189342841506004,
-0.019778015092015266,
-0.020315226167440414,
-0.029147040098905563,
0.041273560374975204,
0.0530102476477623,
0.06176348775625229,
-0.03273036703467369,
0.03117341361939907,
-0.02918902598321438,
-0.006159014068543911,
-0.03712502866983414,
-0.06560354679822922,
-0.015252779237926006,
-0.015348739922046661,
0.0019843613263219595,
0.015337730757892132,
0.00344588584266603,
-0.018234174698591232,
0.04222564771771431,
0.023911666125059128,
-0.02521326392889023,
-0.02407478168606758,
0.015527823939919472,
0.001205764594487846,
-0.01577121950685978,
-0.026179004460573196,
-0.02960803732275963,
0.07215742766857147,
-0.026603110134601593,
-0.0325547456741333,
-0.01292814128100872,
-0.04455827549099922,
0.06534672528505325,
-0.05563140660524368,
-0.021252810955047607,
-0.014041101559996605,
0.02875629998743534,
0.02813522145152092,
-0.018134871497750282,
0.03160476312041283,
0.07469595223665237,
0.03710266575217247,
0.017577914521098137,
0.002760713454335928,
0.0017241414170712233,
0.029493289068341255,
-0.017600933089852333,
0.009106158278882504,
0.0212806798517704,
0.02321428433060646,
-0.014153570868074894,
-0.03803331404924393,
0.0091254822909832,
-0.0008273892453871667,
-0.25885045528411865,
0.025715207681059837,
-0.01651144027709961,
-0.024215463548898697,
0.005508342757821083,
-0.008443641476333141,
0.01624704897403717,
-0.0456053726375103,
-0.03693196177482605,
-0.01931827701628208,
-0.031159138306975365,
-0.04553985223174095,
-0.024950958788394928,
0.041009221225976944,
0.010749963112175465,
-0.014574123546481133,
0.02910551056265831,
-0.02051929570734501,
-0.01114047784358263,
0.05096717178821564,
-0.0025196229107677937,
-0.055284738540649414,
-0.0006852808292023838,
0.028595751151442528,
0.007251210976392031,
0.015361852012574673,
-0.07470286637544632,
0.025006664916872978,
-0.03206344321370125,
-0.025247100740671158,
0.014177612960338593,
-0.019405553117394447,
0.025396646931767464,
-0.04596301540732384,
-0.020368831232190132,
-0.026449045166373253,
0.0351589173078537,
0.014783882535994053,
0.041272521018981934,
0.027712011709809303,
-0.007542107254266739,
-0.05104519799351692,
0.012679721228778362,
-0.028704414144158363,
0.08633383363485336,
0.0008548955665901303,
-0.06978954374790192,
-0.015028486028313637,
-0.014878551475703716,
0.07410285621881485,
-0.019636016339063644,
-0.03986111283302307,
-0.012170573696494102,
0.028796495869755745,
-0.033242158591747284,
-0.0388324148952961,
-0.019242115318775177,
-0.025507096201181412,
-0.04410160332918167,
-0.017166387289762497,
-0.028507983312010765,
-0.031993404030799866,
0.02169874869287014,
-0.0606292225420475,
-0.025560453534126282,
-0.04992951825261116,
-0.09659816324710846,
0.011807509697973728,
0.06042526662349701,
0.008922223001718521,
-0.020441383123397827,
-0.01169592421501875,
-0.03330954164266586,
-0.10488234460353851,
-0.007235444616526365,
-0.0008769379928708076,
-0.034830257296562195,
-0.04492238536477089,
0.02716451697051525,
0.054901208728551865,
-0.057879965752363205,
-0.05663558095693588,
0.02346964180469513,
0.021263688802719116,
0.05157042294740677,
-0.02752605825662613,
-0.0027029344346374273,
-0.0035092232283204794,
-0.01354155596345663,
-0.043790701776742935,
0.05719804763793945,
-0.023682042956352234,
-0.027680449187755585,
-0.0279052946716547,
0.0038098564837127924,
0.0442529171705246,
0.02231651358306408,
-0.015881609171628952,
0.028951328247785568,
0.03367983549833298,
0.020990923047065735,
-0.02532396838068962,
-0.0007564934785477817,
-0.009287924505770206,
-0.018871163949370384,
0.0001479992497479543,
-0.04513586685061455,
0.03533491864800453,
0.015849431976675987,
-0.004376986995339394,
-0.04406709223985672,
-0.017338832840323448,
0.020029742270708084,
-0.060336634516716,
-0.025004111230373383,
-0.022266041487455368,
0.009661810472607613,
0.03532055392861366,
0.050207093358039856,
-0.035601552575826645,
-0.06583252549171448,
0.01848539151251316,
0.0003350508923176676,
-0.025050224736332893,
-0.05990639701485634,
-0.03948293253779411,
-0.005889865104109049,
-0.037686146795749664,
0.02603602223098278,
0.01946568489074707,
-0.009048087522387505,
0.03623268008232117,
0.03513985127210617,
-0.024432389065623283,
0.04073966667056084,
-0.013464458286762238,
-0.024075113236904144,
-0.026806896552443504,
-0.03233560547232628,
-0.010646435432136059,
0.008143587037920952,
-0.020689815282821655,
0.0039736805483698845,
0.013932568952441216,
0.004101371858268976,
0.012796051800251007,
0.0013211946934461594,
0.00034280988620594144,
-0.02316797897219658,
0.031262125819921494,
0.004009926225990057,
-0.03169988468289375,
0.03731454908847809,
-0.020403021946549416,
-0.014643140137195587,
-0.0031804190948605537,
0.0430866964161396,
-0.0180988572537899,
-0.005830136127769947,
-0.044141899794340134,
0.02100430615246296,
-0.035298947244882584,
-0.01586673967540264,
-0.030230170115828514,
-0.0019909627735614777,
0.046089690178632736,
-0.02308162860572338,
0.027853967621922493,
-0.020313283428549767,
-0.02620275691151619,
-0.017173856496810913,
0.0026619762647897005,
-0.07210654020309448,
0.014508107677102089,
-0.014585294760763645,
-0.008630113676190376,
0.015823369845747948,
0.030119407922029495,
0.022061694413423538,
0.004816111177206039,
-0.011231517419219017,
0.012938277795910835,
0.007221481297165155,
0.024571644142270088,
0.034387461841106415,
0.011949541047215462,
0.006940244697034359,
0.014465478248894215,
-0.04157284274697304,
-0.02837175503373146,
0.010029097087681293,
-0.03438650071620941,
-0.04026448726654053,
0.008480744436383247,
-0.027564531192183495,
-0.07799813151359558,
0.0027350285090506077,
0.04379131644964218,
0.002121312078088522,
-0.010514572262763977,
0.029537701979279518,
-0.011380157433450222,
-0.01660599745810032,
0.017381319776177406,
0.04945410043001175,
-0.037180185317993164,
-0.007573024369776249,
0.019448386505246162,
0.0225210003554821,
0.02710052579641342,
0.022523654624819756,
-0.04776560515165329,
-0.001542487065307796,
-0.010902203619480133,
-0.018146958202123642,
-0.021538853645324707,
-0.0031065598595887423,
-0.018759265542030334,
0.013233429752290249,
-0.01163150928914547,
0.008857662789523602,
-0.013344439677894115,
-0.008147604763507843,
-0.003734230762347579,
-0.024808185175061226,
-0.004703819286078215,
-0.021327314898371696,
0.014804213307797909,
0.0690310150384903,
-0.016847003251314163,
0.023314783349633217,
-0.0419422872364521,
0.05220797285437584,
0.016413474455475807,
-0.02155269868671894,
-0.019836336374282837,
-0.04901896044611931,
0.024347322061657906,
-0.010179857723414898,
0.06372901797294617,
0.026808369904756546,
-0.018774529919028282,
-0.041816968470811844,
0.02753480151295662,
-0.02867840975522995,
-0.013412293046712875,
0.009542049840092659,
-0.016976570710539818,
0.0016943586524575949,
0.04684366658329964,
-0.0018124138005077839,
0.056742746382951736,
-0.027816902846097946,
-0.01959828846156597,
0.049558140337467194,
-0.059622105211019516,
-0.046396445482969284,
-0.03462575003504753,
-0.03986725956201553,
-0.0024540331214666367,
0.012470939196646214,
0.022557610645890236,
-0.06131112203001976,
0.04213472083210945,
0.038042087107896805,
0.020760919898748398,
0.02262280322611332,
0.00007625291618751362,
0.014514260925352573,
-0.044584475457668304,
-0.02461887337267399,
-0.09475358575582504,
0.007345673628151417,
0.0630396381020546,
0.009697562083601952,
-0.02813658118247986,
0.006936006713658571,
-0.014615204185247421,
0.019213873893022537,
-0.06062871962785721,
-0.003317768918350339,
0.06647380441427231,
-0.00014422682579606771,
0.019740743562579155,
0.031158296391367912,
-0.05992300063371658,
0.026303742080926895,
0.0541863851249218,
-0.053741876035928726,
0.019394097849726677,
-0.024602025747299194,
0.02162059023976326,
-0.013980761170387268,
0.036969151347875595,
-0.012445591390132904,
0.00519755482673645,
0.06290865689516068,
0.02809605561196804,
0.013299939222633839,
0.062104277312755585,
-0.007628869730979204,
0.02486911416053772,
0.044295866042375565,
-0.04163908585906029,
0.009589116089046001,
0.0187608040869236,
-0.017762070521712303,
-0.05408279597759247,
0.05307989940047264,
0.027545049786567688,
-0.03844178840517998,
-0.037465184926986694,
0.06626943498849869,
0.015127786435186863,
-0.036360546946525574,
-0.049858298152685165,
0.03080296330153942,
-0.06992167979478836,
0.009599022567272186,
-0.037370651960372925,
-0.004203469026833773,
-0.06350137293338776,
0.0577525831758976,
-0.023877721279859543,
0.02212490327656269,
0.09564921259880066,
0.00793398916721344,
-0.03146427497267723,
-0.025609567761421204,
0.08102346211671829,
0.1025562658905983,
0.0601586289703846,
0.00997860822826624,
0.05331266298890114,
-0.0406942255795002,
-0.025906920433044434,
-0.012948283925652504,
-0.009582807309925556,
0.03226817399263382,
0.003176027676090598,
0.043772827833890915,
0.07865110784769058,
-0.03100481629371643,
0.06958166509866714,
-0.017042795196175575,
-0.01050303690135479,
-0.005334683693945408,
0.023496197536587715,
0.06833039224147797,
0.0517893061041832,
0.025439037010073662,
0.022803129628300667,
0.04209229350090027,
-0.060110434889793396,
0.034567542374134064,
-0.026716643944382668,
-0.016888784244656563,
0.010665209963917732,
0.006096506491303444,
0.03186768293380737,
0.041464854031801224,
0.060984425246715546,
0.0766509547829628,
-0.01156382542103529,
-0.0003711598692461848,
0.007429691031575203,
0.017676975578069687,
0.007009277585893869,
0.0039825583808124065,
-0.008115497417747974,
-0.026615489274263382,
-0.0026193445082753897,
-0.06050822138786316,
-0.023507041856646538,
-0.040387459099292755,
-0.057647619396448135,
0.040211740881204605,
-0.024303093552589417,
-0.015551573596894741,
0.021367115899920464,
-0.00340640009380877,
-0.03077857755124569,
-0.07191292941570282,
-0.050619468092918396,
-0.03434980288147926,
-0.06443195044994354,
-0.008233478292822838,
0.006878805346786976,
-0.016797389835119247,
-0.027028659358620644,
-0.02420693077147007,
-0.009912250563502312,
0.014767695218324661,
0.04250679165124893,
-0.041022010147571564,
-0.016779925674200058,
0.01853146031498909,
0.007050110958516598,
0.03727726265788078,
0.008844753727316856,
0.02767384983599186,
0.010833854787051678,
-0.03126408904790878,
-0.012738790363073349,
-0.017187777906656265,
0.05020018294453621,
-0.007385431323200464,
-0.0081101069226861,
-0.09247605502605438,
0.01114040706306696,
0.054925817996263504,
0.011350162327289581,
-0.09428442269563675,
0.02055996097624302,
0.009816384874284267,
-0.008820395916700363,
0.04519897326827049,
-0.018877077847719193,
0.002775822998955846,
-0.03021787665784359,
0.01053111907094717,
0.02138134464621544,
0.043375346809625626,
0.05233932286500931,
-0.015525422990322113,
0.07284204661846161,
0.04632125049829483,
-0.0458962507545948,
-0.01824266090989113,
-0.04303353279829025,
-0.020556028932332993,
-0.005459927022457123,
-0.029305176809430122,
-0.008408783003687859,
-0.047898195683956146,
-0.06708892434835434,
-0.03783930465579033,
-0.011439944617450237,
-0.03993280977010727,
-0.022115558385849,
0.010245831683278084,
0.048688553273677826,
-0.031002528965473175,
0.029755039140582085,
-0.0543392188847065,
0.054617706686258316,
-0.028380602598190308,
-0.017974670976400375,
-0.027597613632678986,
0.016463035717606544,
0.014682774432003498,
0.018945101648569107,
0.027204744517803192,
-0.02569926716387272,
-0.016177190467715263,
-0.03626597672700882,
0.01455550268292427,
0.027832364663481712,
-0.02416212111711502,
-0.00218550069257617
] | [
-0.0950196161866188,
-0.03196754679083824,
-0.040344517678022385,
-0.030384546145796776,
0.029232218861579895,
-0.061700090765953064,
-0.0028847267385572195,
0.010828123427927494,
-0.0009725072886794806,
-0.0027945491019636393,
0.000251380872214213,
-0.05870261788368225,
0.04349764809012413,
0.007663419004529715,
0.10889965295791626,
-0.039377324283123016,
-0.04238295927643776,
-0.006794504821300507,
-0.05916775390505791,
-0.00828808918595314,
0.011802149936556816,
-0.06043001636862755,
-0.0405004657804966,
-0.02839939296245575,
0.029777664691209793,
0.047499801963567734,
0.043903980404138565,
-0.056602247059345245,
0.007839913479983807,
-0.21649795770645142,
0.01673998311161995,
0.006793552543967962,
0.017882375046610832,
-0.037186138331890106,
-0.006772354710847139,
0.06511001288890839,
0.013129486702382565,
0.02620691806077957,
-0.03853430226445198,
0.04888550937175751,
0.057350318878889084,
0.02745228074491024,
-0.04662648215889931,
-0.07448428869247437,
0.034014567732810974,
-0.01139066368341446,
-0.002113786991685629,
-0.031173622235655785,
-0.03387502580881119,
0.02238229662179947,
-0.0676991418004036,
0.004772551823407412,
0.03059939108788967,
0.007137930020689964,
0.03068220615386963,
0.031836025416851044,
0.0357777401804924,
0.08398982137441635,
0.009667934849858284,
0.023451225832104683,
-0.013725505210459232,
-0.026105962693691254,
-0.09263107925653458,
0.06616897135972977,
0.0241684652864933,
0.07137548923492432,
-0.006876321509480476,
-0.009448845870792866,
-0.031023653224110603,
0.10596547275781631,
0.013830623589456081,
-0.019728342071175575,
-0.010571685619652271,
0.058216046541929245,
-0.004176583141088486,
-0.03830026090145111,
-0.027126144617795944,
0.00899512693285942,
0.027180081233382225,
-0.04715263843536377,
-0.05115239694714546,
-0.006737506948411465,
0.0054096318781375885,
-0.007918884977698326,
-0.005851616617292166,
0.023595089092850685,
-0.013992013409733772,
0.03766011446714401,
0.025150412693619728,
-0.0072539253160357475,
0.011585533618927002,
0.011758030392229557,
0.08074915409088135,
0.03873854875564575,
-0.08805312216281891,
0.014428786933422089,
0.006187649443745613,
0.025101542472839355,
-0.0027286335825920105,
0.39880406856536865,
-0.058584537357091904,
0.003643419360741973,
0.04186420887708664,
0.033471014350652695,
0.0055658258497715,
-0.003010709770023823,
-0.010556907393038273,
-0.059827566146850586,
0.007406353019177914,
-0.046402961015701294,
-0.012101295404136181,
-0.015054372139275074,
0.058681193739175797,
-0.04254765436053276,
0.006321305874735117,
0.007506212219595909,
0.07082509994506836,
0.021597007289528847,
-0.018943266943097115,
0.022988075390458107,
0.035196736454963684,
0.009978043846786022,
0.019687965512275696,
0.010616100393235683,
0.006777654867619276,
0.014857924543321133,
0.009616133756935596,
0.04648337513208389,
0.04949967935681343,
0.02655232697725296,
0.008847779594361782,
-0.03102971240878105,
-0.08707226067781448,
0.021633632481098175,
0.01220635324716568,
0.00022746488684788346,
0.0032024483662098646,
-0.06503146141767502,
-0.001886493992060423,
0.00003532495611580089,
-0.023060377687215805,
-0.00555161340162158,
0.032226406037807465,
0.0002585821785032749,
-0.03398104012012482,
0.10224869102239609,
-0.03133716806769371,
-0.04568340256810188,
-0.002655069110915065,
-0.032564107328653336,
-0.04247663915157318,
0.010704316198825836,
-0.003038669005036354,
-0.08303776383399963,
0.04602859541773796,
0.027664655819535255,
0.05930134281516075,
-0.004454581066966057,
-0.07274777442216873,
-0.02435292862355709,
-0.035365570336580276,
-0.007023834623396397,
-0.05143553018569946,
0.077892005443573,
0.002522730268537998,
-0.04196491092443466,
-0.015121519565582275,
0.04264040291309357,
0.013798998668789864,
-0.06952112168073654,
-0.02568921074271202,
0.016526546329259872,
-0.006488874088972807,
-0.0035022436641156673,
0.050218015909194946,
-0.008926856331527233,
-0.0504176951944828,
-0.05222993716597557,
0.06527981907129288,
0.039549820125103,
-0.030517593026161194,
0.027962246909737587,
-0.046509355306625366,
0.043608035892248154,
0.01294710673391819,
-0.06781316548585892,
-0.04841051250696182,
-0.0029512185137718916,
-0.007509807590395212,
0.01641210727393627,
-0.04054886847734451,
-0.027074918150901794,
-0.04950490593910217,
0.06863345205783844,
-0.03643273562192917,
-0.00150548096280545,
0.0005430218297988176,
0.016501814126968384,
-0.043303824961185455,
-0.011273127980530262,
-0.0011880412930622697,
0.05806266516447067,
-0.03417249768972397,
0.021070312708616257,
-0.07409798353910446,
-0.005150133743882179,
0.03448064997792244,
-0.07518143206834793,
0.03701353818178177,
0.048944517970085144,
-0.026522330939769745,
0.006733821704983711,
0.0014236975694075227,
-0.017849916592240334,
0.014572358690202236,
0.0015587491216138005,
0.0009288943838328123,
-0.007302854210138321,
0.020722508430480957,
0.015180137008428574,
-0.03869643062353134,
-0.05171990767121315,
-0.0391155481338501,
-0.3634200990200043,
-0.02586527168750763,
-0.014988945797085762,
-0.024022402241826057,
0.045657675713300705,
-0.09569071978330612,
0.002248268574476242,
-0.04216610640287399,
-0.0043651508167386055,
-0.010728824883699417,
0.07852344959974289,
-0.039317552000284195,
-0.05610363930463791,
-0.10314211249351501,
0.010139304213225842,
0.025425195693969727,
0.006162254139780998,
-0.02324197068810463,
-0.0612480528652668,
0.03500782325863838,
0.01135060004889965,
-0.024388324469327927,
0.012559820897877216,
-0.047910451889038086,
-0.0040968297980725765,
-0.007720055989921093,
0.10051064193248749,
0.014489015564322472,
0.0893128514289856,
-0.0319494791328907,
0.049408912658691406,
-0.012285091914236546,
-0.036283209919929504,
-0.045409511774778366,
-0.02128846012055874,
-0.016139978542923927,
-0.020093681290745735,
-0.011266614310443401,
0.013773328624665737,
0.0013675420777872205,
-0.038829684257507324,
0.031160539016127586,
-0.04220950976014137,
-0.07724567502737045,
-0.01812075264751911,
0.0075575606897473335,
-0.01402459666132927,
-0.010878035798668861,
0.01029160711914301,
0.0899166688323021,
0.01584223285317421,
0.003694406244903803,
0.020532092079520226,
0.04074521362781525,
0.03499298542737961,
0.006502323318272829,
-0.05927147716283798,
-0.03925199434161186,
-0.0032651876099407673,
-0.00900940503925085,
0.031220022588968277,
0.060753218829631805,
0.04336443915963173,
-0.09172385931015015,
0.017194388434290886,
-0.006376383360475302,
0.0022225198335945606,
-0.021864261478185654,
-0.009379313327372074,
-0.0252375490963459,
-0.03779441490769386,
0.10511387139558792,
0.005729333497583866,
0.00049067527288571,
0.04282350838184357,
0.0615188367664814,
-0.03951810300350189,
0.015927301719784737,
0.005833996459841728,
0.010631294921040535,
0.02876907028257847,
0.028701849281787872,
0.046469252556562424,
-0.02050609327852726,
-0.007840960286557674,
0.013611218892037868,
-0.018837179988622665,
0.002078278688713908,
0.008512244559824467,
0.015278874896466732,
-0.05475146323442459,
-0.015256796963512897,
-0.01421289425343275,
-0.028476370498538017,
0.05677032843232155,
-0.0008299457840621471,
-0.2591805160045624,
0.04335758835077286,
0.0767093300819397,
0.059283219277858734,
0.0017763767391443253,
0.04446382075548172,
0.02112141251564026,
-0.050681427121162415,
-0.013619279488921165,
0.00555055495351553,
-0.010266432538628578,
0.06181712448596954,
0.021057255566120148,
-0.020235078409314156,
0.0521220900118351,
-0.0035004359669983387,
0.04156799241900444,
-0.020486490800976753,
0.00372676900587976,
0.0028506102971732616,
0.03681018948554993,
-0.003276408649981022,
0.19356811046600342,
0.009095007553696632,
0.03587889298796654,
0.03160998597741127,
-0.013219896703958511,
0.017546294257044792,
0.05022042989730835,
0.025526391342282295,
-0.00673462450504303,
0.010066855698823929,
0.07460054010152817,
0.032612476497888565,
0.0102344686165452,
-0.033499088138341904,
-0.02819341979920864,
0.013224644586443901,
0.03214823454618454,
-0.021258488297462463,
-0.0016728690825402737,
0.028930364176630974,
-0.017644843086600304,
0.031221838667988777,
0.09607482701539993,
0.0049893236719071865,
-0.0031726921442896128,
-0.04686873033642769,
0.00479279737919569,
0.014882134273648262,
-0.00452349754050374,
-0.021683556959033012,
0.00951649434864521,
-0.004915188066661358,
0.003951941151171923,
0.06348568946123123,
0.008856883272528648,
-0.026042191311717033,
0.020187614485621452,
0.021541664376854897,
0.021426234394311905,
-0.014409195631742477,
0.08441569656133652,
-0.013265819288790226,
-0.007671457249671221
] | [
-0.00011927355080842972,
0.019292594864964485,
0.047354646027088165,
-0.006805931217968464,
0.0354451909661293,
-0.022278299555182457,
0.005333674140274525,
0.00139674823731184,
-0.008478851988911629,
-0.047860387712717056,
-0.027570735663175583,
0.003811294212937355,
-0.0012698592618107796,
-0.021033940836787224,
0.023573214188218117,
-0.017600860446691513,
0.000460897950688377,
0.029477573931217194,
0.030225465074181557,
-0.005428026430308819,
-0.0163566917181015,
0.018755894154310226,
0.014492188580334187,
-0.00145988748408854,
0.0033058784902095795,
0.055393755435943604,
-0.007994396612048149,
-0.002530192257836461,
0.019371995702385902,
-0.1271364539861679,
-0.023357359692454338,
-0.04177972301840782,
-0.017936130985617638,
0.011107908561825752,
-0.036533623933792114,
0.011962846852838993,
-0.024423012509942055,
0.02491259016096592,
-0.011573897674679756,
-0.027048710733652115,
-0.0008156478870660067,
0.018284441903233528,
-0.032541804015636444,
0.016304172575473785,
0.03241753205657005,
0.030773503705859184,
-0.044251859188079834,
-0.0348791629076004,
-0.023077771067619324,
0.027483152225613594,
-0.02422274276614189,
0.014030611142516136,
0.049461062997579575,
0.022936897352337837,
0.04288911819458008,
-0.013976622372865677,
-0.04851702228188515,
-0.02177455835044384,
-0.018341001123189926,
-0.05197686329483986,
0.006173923145979643,
0.02802508883178234,
-0.047421909868717194,
-0.03100227564573288,
0.01006231177598238,
-0.05286389961838722,
0.040565092116594315,
0.02317078225314617,
0.017071368172764778,
0.011143273673951626,
0.0193585567176342,
0.06191863492131233,
-0.04649331048130989,
-0.04198513925075531,
0.004113403148949146,
0.024641042575240135,
0.005379961337894201,
-0.030093321576714516,
-0.043649639934301376,
-0.010690536350011826,
-0.0022051213309168816,
-0.02017943002283573,
0.01760435849428177,
0.010741496458649635,
-0.006277254316955805,
-0.04949003830552101,
-0.004218136891722679,
0.021846946328878403,
0.011386374942958355,
0.008457519114017487,
-0.019271939992904663,
0.02643958106637001,
0.03638114780187607,
0.007195094134658575,
-0.08768878877162933,
0.04752533510327339,
-0.016524584963917732,
0.008398860692977905,
0.002736135618761182,
0.8337917327880859,
-0.008185505867004395,
0.042011160403490067,
-0.010706620290875435,
0.027120359241962433,
0.01698651723563671,
-0.011930866166949272,
-0.030598962679505348,
-0.026953063905239105,
-0.012391237542033195,
0.015678176656365395,
0.028043007478117943,
-0.01071319729089737,
0.029003743082284927,
-0.012272065505385399,
0.026009762659668922,
0.03132106363773346,
0.019842756912112236,
0.04238833114504814,
0.02023201994597912,
0.04605092853307724,
0.052907347679138184,
0.027989771217107773,
-0.01547161303460598,
0.022571085020899773,
-0.002904594177380204,
-0.15917499363422394,
0.014691248536109924,
-6.307169305950709e-33,
0.024453025311231613,
-0.022869708016514778,
-0.012127635069191456,
-0.019609754905104637,
0.008462144061923027,
0.01448493730276823,
-0.03334498405456543,
0.004922464489936829,
0.00713014230132103,
-0.03068506345152855,
-0.01711362972855568,
-0.012957471422851086,
0.00015687159611843526,
-0.034930698573589325,
0.04456358775496483,
-0.01021268405020237,
-0.009237146936357021,
0.037070248275995255,
0.03194349631667137,
-0.015473282895982265,
-0.03059304505586624,
0.013012613169848919,
-0.0033334933687001467,
0.006613032426685095,
0.013596468605101109,
0.03882422298192978,
0.053528714925050735,
-0.003917793743312359,
-0.009735958650708199,
-0.041783031076192856,
0.0012545316712930799,
-0.019223704934120178,
-0.007043528836220503,
0.020422708243131638,
0.05376850441098213,
-0.03546028956770897,
-0.017146402969956398,
-0.004525742959231138,
-0.021322403103113174,
-0.03179077431559563,
-0.021676337346434593,
-0.04723399132490158,
-0.05482608079910278,
-0.025865668430924416,
-0.028907522559165955,
-0.04543880373239517,
0.031518787145614624,
0.01675969921052456,
-0.015202060341835022,
-0.012952749617397785,
0.008016165345907211,
0.00551996286958456,
0.00717998156324029,
-0.05147260054945946,
-0.025313718244433403,
0.011503351852297783,
0.01096396055072546,
-0.015241483226418495,
-0.013251878321170807,
0.023240739479660988,
0.00967283733189106,
0.01727249100804329,
0.014280104078352451,
0.043587926775217056,
-0.020004309713840485,
-0.007436511572450399,
-0.016620326787233353,
-0.023350026458501816,
0.05370740965008736,
0.028226759284734726,
-0.034723151475191116,
0.02579769305884838,
-0.011875415220856667,
-0.00309958029538393,
0.008665085770189762,
-0.019963007420301437,
0.02584371715784073,
-0.011105355806648731,
0.026184383779764175,
0.0464177280664444,
0.010042299516499043,
-0.058684706687927246,
0.006539751775562763,
0.008939341641962528,
-0.0011275993892922997,
0.013141827657818794,
0.004551544785499573,
0.020337462425231934,
-0.011229753494262695,
-0.0004210473853163421,
0.054896675050258636,
0.008158850483596325,
0.046528782695531845,
-0.025942131876945496,
-0.02697967179119587,
6.0473523609823514e-33,
0.006292514503002167,
-0.001972795696929097,
0.0020801520440727472,
0.011156430467963219,
0.012045827694237232,
-0.029695233330130577,
-0.01160752959549427,
0.027533870190382004,
-0.03569527715444565,
0.03668227046728134,
-0.031357038766145706,
-0.013000319711863995,
0.002383186249062419,
0.007069142069667578,
0.050725460052490234,
-0.0028448840603232384,
0.027542568743228912,
-0.020838432013988495,
-0.01042911410331726,
-0.008210946805775166,
0.011808779090642929,
0.01945083774626255,
0.020089933648705482,
0.020294299349188805,
0.03107701987028122,
0.016076529398560524,
0.02013542875647545,
0.0011805461253970861,
-0.006973608396947384,
-0.007503385189920664,
-0.011575458571314812,
-0.04630759730935097,
0.01064242422580719,
0.020382732152938843,
-0.017338061705231667,
0.012452516704797745,
0.014517704956233501,
-0.01693239063024521,
0.028953559696674347,
0.006313708610832691,
0.006175952963531017,
0.026705194264650345,
-0.021039512008428574,
0.01603417657315731,
-0.006828187499195337,
0.04594762995839119,
0.02381325140595436,
0.04736272618174553,
0.05151725932955742,
-0.021299419924616814,
-0.009820296429097652,
0.016198353841900826,
-0.03011626936495304,
0.03496786952018738,
0.01576675847172737,
-0.032652340829372406,
-0.034163061529397964,
-0.014753405004739761,
-0.03833244740962982,
0.01639355719089508,
-0.02435283735394478,
-0.006615016143769026,
0.017609380185604095,
0.028673142194747925,
-0.005091627594083548,
-0.03868051990866661,
-0.04155392572283745,
-0.019513316452503204,
-0.026615746319293976,
-0.031065966933965683,
-0.013769465498626232,
-0.018531104549765587,
-0.008889449760317802,
0.029028430581092834,
0.012745657004415989,
0.0005690587568096817,
-0.026144327595829964,
0.028726397082209587,
0.01283508911728859,
0.0003676846972666681,
0.03533511981368065,
-0.009388476610183716,
0.007608375977724791,
0.042586132884025574,
-0.0004143632249906659,
-0.0024336802307516336,
-0.031545672565698624,
0.012633959762752056,
0.024792855605483055,
-0.028621211647987366,
-0.011370260268449783,
-0.025134945288300514,
-0.01203746348619461,
0.06746858358383179,
-0.013291364535689354,
-1.2248380087953592e-8,
0.019887562841176987,
0.0019503975054249167,
-0.013012846000492573,
-0.016342254355549812,
0.02820858731865883,
-0.028477467596530914,
-0.00840598065406084,
-0.019796811044216156,
-0.0119635546579957,
0.0017117519164457917,
0.016439583152532578,
-0.01449790969491005,
-0.0037482483312487602,
0.02494267374277115,
0.03545347601175308,
-0.0648333877325058,
0.03182971104979515,
-0.02327023819088936,
0.011686728335916996,
-0.023133402690291405,
0.014132710173726082,
-0.003399190027266741,
-0.01324100885540247,
-0.018444543704390526,
0.006497327238321304,
-0.003856678493320942,
-0.0018686597468331456,
-0.07865424454212189,
0.027639806270599365,
-0.05878731235861778,
-0.0036853542551398277,
-0.03713032975792885,
0.00710650160908699,
0.002217833185568452,
-0.023389503359794617,
-0.04828518629074097,
0.016448242589831352,
0.010067135095596313,
0.013503843918442726,
0.020366299897432327,
-0.010209742933511734,
0.03141547739505768,
-0.016768787056207657,
-0.015832306817173958,
-0.021710732951760292,
0.0039521572180092335,
-0.0025881417095661163,
-0.014861421659588814,
-0.010291868820786476,
-0.025734294205904007,
0.0354294590651989,
-0.03166675567626953,
0.05321121588349342,
0.04450592026114464,
0.031007321551442146,
0.013257808983325958,
-0.003134786384180188,
-0.045593030750751495,
-0.02200169675052166,
-0.010945314541459084,
0.020315445959568024,
-0.0015350568573921919,
-0.0407155342400074,
-0.02807970531284809
] | clojure-destructuring-group-bys-output | https://markhneedham.com/blog/2014/05/31/clojure-destructuring-group-bys-output |
false | 2014-05-31 22:55:33 | Neo4j Meetup Coding Dojo Style | [
"neo4j"
] | [
"neo4j"
] | A few weeks ago we ran a +++<cite>+++http://www.meetup.com/graphdb-london/events/179211972/[build your first Neo4j app]+++</cite>+++ meetup in the Neo4j London office during which we worked with the meta data around http://britishlibrary.typepad.co.uk/digital-scholarship/2013/12/a-million-first-steps.html[1 million images recently released into the public domain by the British Library].
Feedback from previous meetups had indicated that attendees wanted to practice modelling a domain from scratch and understand the options for importing said model into the database. This data set seemed perfect for this purpose.
We started off by scanning the data set and coming up with some potential questions we could ask of it and then the group split in two and came up with a graph model:
image::{{<siteurl>}}/uploads/2014/05/neo4j_dojo.png[Neo4j dojo,600]
Having spent 15 minutes working on that, one person from each group explained the process they'd gone through to all attendees.
Each group took a similar approach whereby they scanned a subset of the data, sketched out all the properties and then discussed whether or not something should be a node, relationship or property in a graph model.
We then spent a bit of time tweaking the model so we had one everyone was happy with.
We split into three groups to work on input. One group imported some of the data by generating cypher statements from Java, one imported data using http://book.py2neo.org/en/latest/[py2neo] and the last group imported data using the http://docs.neo4j.org/chunked/milestone/batchinsert.html[batch inserter].
You can have a look at the https://github.com/mneedham/neo4j-bl[github repository] to see what we got up and specifically the +++<cite>+++https://github.com/mneedham/neo4j-bl/tree/solution[solution]+++</cite>+++ branch to see the batch inserter code and the +++<cite>+++https://github.com/mneedham/neo4j-bl/tree/cypher-import[cypher-import]+++</cite>+++ branch for the cypher based approach.
The approach we used throughout the session is quite similar to a http://www.markhneedham.com/blog/2011/03/29/thoughtworks-university-coding-dojo-style/[Kake coding dojo] - something I first tried out when I was a trainer at ThoughtWorks University.
Although there were a few setup based things that could have been a bit slicker I think this format worked reasonably well and we'll use something similar at the http://www.meetup.com/graphdb-london/events/181676642/[next version in a couple of weeks time].
Feel free to come along if it sounds interesting! | null | null | [
0.017548196017742157,
-0.029665347188711166,
0.003356644418090582,
0.0500706247985363,
0.0898837298154831,
0.004150391090661287,
0.026828328147530556,
0.028611797839403152,
0.02721373364329338,
-0.009642377495765686,
-0.011771348305046558,
-0.00982542335987091,
-0.06694147735834122,
0.01920376904308796,
-0.027341453358530998,
0.05636889114975929,
0.05744682997465134,
0.013675054535269737,
0.009231111034750938,
-0.009077657014131546,
0.025130340829491615,
0.039768729358911514,
0.007843848317861557,
0.04501990228891373,
0.03780927136540413,
-0.0007944047683849931,
0.010884552262723446,
-0.0235394649207592,
-0.048700448125600815,
-0.0033619063906371593,
0.040578894317150116,
-0.014184117317199707,
0.019763940945267677,
0.00003622511576395482,
0.04076988250017166,
-0.012186404317617416,
-0.0463227853178978,
0.012551393359899521,
-0.009915312752127647,
-0.0063619669526815414,
-0.06446163356304169,
0.054351698607206345,
-0.015707479789853096,
0.03918995335698128,
-0.05204300954937935,
0.0020750011317431927,
-0.05269286036491394,
0.04782562702894211,
0.01493036188185215,
0.0007836205768398941,
-0.08961261063814163,
0.012143432162702084,
0.005149607080966234,
0.0043891556560993195,
-0.01585373841226101,
0.04032059386372566,
0.02054440602660179,
-0.060446612536907196,
0.03770961984992027,
-0.021556518971920013,
-0.0019295256352052093,
-0.0008808540878817439,
0.010054578073322773,
0.02095378004014492,
0.0024625477381050587,
-0.0409095361828804,
0.0031472276896238327,
0.06058116257190704,
-0.04634639248251915,
0.004183384124189615,
0.002576812170445919,
0.01904939115047455,
-0.021690115332603455,
-0.010442905128002167,
-0.014451077207922935,
-0.06821821630001068,
0.008965842425823212,
0.05592111125588417,
0.047801073640584946,
0.05397834628820419,
-0.026611046865582466,
0.019062165170907974,
0.0075737605802714825,
0.021005235612392426,
-0.008902360685169697,
-0.03290994465351105,
-0.025932956486940384,
-0.03817519173026085,
-0.0733862891793251,
0.03436076641082764,
0.022274943068623543,
-0.06223166733980179,
-0.012215903028845787,
0.018614301458001137,
-0.012358914129436016,
0.034000687301158905,
0.019850030541419983,
0.006577908061444759,
0.013096370734274387,
-0.012580941431224346,
-0.023548811674118042,
-0.01701393350958824,
-0.0007728140917606652,
0.012302873656153679,
-0.07981908321380615,
-0.02796192280948162,
-0.035035472363233566,
-0.025153381749987602,
0.0034542642533779144,
-0.01931850053369999,
-0.01729612797498703,
0.005592570640146732,
-0.046555280685424805,
0.013497686944901943,
-0.07017122954130173,
0.0628005862236023,
0.015978742390871048,
-0.03913161903619766,
-0.03528854623436928,
0.00017990857304539531,
0.03624977171421051,
0.04363089054822922,
0.007166823372244835,
0.07198534905910492,
-0.021667180582880974,
0.035757869482040405,
0.0002581772278062999,
0.04911419749259949,
-0.023658478632569313,
-0.06247531622648239,
-0.015921717509627342,
0.055367711931467056,
-0.01529410108923912,
-0.005458458326756954,
0.00209007877856493,
-0.04446268454194069,
-0.0035598501563072205,
0.03377813100814819,
0.045309826731681824,
0.0165062565356493,
0.022471927106380463,
-0.045012738555669785,
0.024509111419320107,
0.0026736247818917036,
0.03378085047006607,
0.016901440918445587,
-0.025021778419613838,
-0.043119922280311584,
-0.03269464522600174,
-0.00712954718619585,
0.008352547883987427,
0.027191782370209694,
0.01956157386302948,
-0.0418613962829113,
0.02964450605213642,
0.1154143288731575,
0.015929564833641052,
0.013056563213467598,
-0.026279672980308533,
0.020995168015360832,
0.03406519070267677,
0.021063275635242462,
0.000976727344095707,
0.038151729851961136,
-0.004125696606934071,
-0.03758755698800087,
-0.019347570836544037,
0.056564416736364365,
-0.012008084915578365,
0.028602655977010727,
-0.036348145455121994,
-0.06456789374351501,
0.04653874412178993,
-0.039838895201683044,
-0.02116575837135315,
0.05118647217750549,
0.07824692130088806,
0.029538774862885475,
0.016864921897649765,
0.006980013567954302,
-0.0898028016090393,
0.04043954238295555,
0.0284853745251894,
0.009593527764081955,
0.0033883503638207912,
-0.004149107728153467,
0.08439814299345016,
0.03475279361009598,
0.005883377511054277,
0.046698834747076035,
-0.08119368553161621,
-0.07961131632328033,
-0.010022900067269802,
-0.02905663102865219,
0.06867910921573639,
-0.016432756558060646,
0.03020499274134636,
0.0594477616250515,
0.0005033104098401964,
0.03851116821169853,
0.028217386454343796,
-0.0004389661771710962,
0.027746805921196938,
-0.04716569185256958,
-0.045167505741119385,
0.03479720279574394,
0.027663996443152428,
-0.05422285944223404,
-0.042653538286685944,
0.009868156164884567,
-0.029611460864543915,
-0.005213798489421606,
0.036819372326135635,
-0.028725655749440193,
0.03063422627747059,
0.012294061481952667,
0.03520306572318077,
-0.010415378957986832,
0.018987854942679405,
-0.037334248423576355,
0.03743787854909897,
0.0039412821643054485,
-0.020550966262817383,
0.0036027978640049696,
0.002147712279111147,
0.11157457530498505,
0.060151029378175735,
-0.01644471101462841,
-0.04039015248417854,
0.02557995729148388,
0.02626938931643963,
-0.019419284537434578,
0.009483485482633114,
-0.02152284048497677,
0.014619440771639347,
-0.017828302457928658,
-0.05673105642199516,
-0.0353696271777153,
0.007811100222170353,
-0.03828251361846924,
0.012783095240592957,
0.04688262194395065,
-0.02816283516585827,
0.057281989604234695,
0.01945692114531994,
-0.00843343511223793,
-0.014124508015811443,
-0.039136696606874466,
-0.04699697345495224,
0.02553110010921955,
0.02131236530840397,
-0.012214012444019318,
0.04243924096226692,
-0.021642491221427917,
-0.00034806938492693007,
-0.03401074558496475,
-0.005157195497304201,
0.03161831945180893,
0.04616016522049904,
0.07823982834815979,
-0.0026147086173295975,
0.04954240471124649,
-0.03609362244606018,
0.010794330388307571,
0.004519185051321983,
-0.047462332993745804,
-0.04803797975182533,
-0.056910306215286255,
0.01912204548716545,
0.016194811090826988,
0.04329680651426315,
0.0017063848208636045,
0.029500696808099747,
0.015024733729660511,
0.007654741406440735,
-0.01487246435135603,
0.03687126561999321,
0.0005648077931255102,
-0.017399508506059647,
-0.04635496437549591,
-0.045194849371910095,
0.05760756880044937,
-0.055075787007808685,
-0.03334832563996315,
0.003942704759538174,
-0.0645822063088417,
0.05035516247153282,
-0.06114554405212402,
-0.0287608839571476,
0.003695507999509573,
0.02492712065577507,
0.04537731409072876,
0.018305348232388496,
-0.005446508526802063,
0.07243090122938156,
0.022388042882084846,
0.0065064141526818275,
-0.007570473477244377,
-0.014483957551419735,
0.050576142966747284,
-0.02514651045203209,
0.02669255994260311,
0.025044726207852364,
-0.01776432991027832,
-0.005364175885915756,
-0.030684970319271088,
0.019421638920903206,
-0.024563711136579514,
-0.27578601241111755,
0.040532760322093964,
-0.01987789385020733,
-0.047078803181648254,
0.005885597318410873,
-0.035042546689510345,
0.019906237721443176,
-0.038190603256225586,
-0.027912231162190437,
-0.004129205364733934,
-0.01960902288556099,
-0.032252758741378784,
-0.02772398479282856,
0.04558946564793587,
0.01355070061981678,
0.0460783876478672,
0.014451174065470695,
-0.042081646621227264,
0.005907630547881126,
0.04612068086862564,
-0.007455039769411087,
-0.046521931886672974,
-0.004777227994054556,
0.024198859930038452,
0.007127400022000074,
0.045971620827913284,
-0.0942167267203331,
0.009017089381814003,
-0.05904781445860863,
-0.020640114322304726,
0.02912246249616146,
-0.022085750475525856,
0.01397570688277483,
-0.009921775199472904,
-0.01626693457365036,
-0.020773783326148987,
0.053506821393966675,
0.016117924824357033,
-0.005950662307441235,
-0.012482235208153725,
-0.01876129023730755,
-0.028733711689710617,
-0.030253931879997253,
-0.0122617082670331,
0.09366285055875778,
0.012367602437734604,
-0.07375932484865189,
-0.006882547400891781,
-0.01425688061863184,
0.06143787130713463,
-0.04373915120959282,
-0.021285898983478546,
-0.02113422378897667,
0.03911448270082474,
-0.013545596040785313,
-0.03965703770518303,
-0.017895089462399483,
-0.0011625736951828003,
-0.054428860545158386,
-0.03186432272195816,
-0.013548605144023895,
-0.05492507666349411,
0.018518468365073204,
-0.043772414326667786,
-0.01987054944038391,
-0.05202104151248932,
-0.06627502292394638,
-0.0313398502767086,
0.05809764936566353,
0.0311447624117136,
-0.01955180987715721,
0.03815474361181259,
-0.0054951012134552,
-0.09297465533018112,
-0.02807321958243847,
-0.01853615790605545,
0.0080565195530653,
0.009688153862953186,
-0.007917530834674835,
0.05241231620311737,
-0.050253596156835556,
-0.06359812617301941,
-0.00137312279548496,
-0.004642311483621597,
0.026784149929881096,
-0.006085687316954136,
0.016995517536997795,
-0.008455049246549606,
-0.045464854687452316,
0.012983633205294609,
0.058928944170475006,
-0.012897022999823093,
-0.023399189114570618,
-0.008661390282213688,
0.014661256223917007,
0.014751262031495571,
0.025159373879432678,
0.005616951733827591,
0.014285057783126831,
0.05617174133658409,
0.03710944950580597,
-0.029208922758698463,
0.018206965178251266,
-0.021375982090830803,
-0.026626156643033028,
-0.01705371029675007,
-0.06186811253428459,
0.016579845920205116,
0.0320519283413887,
0.017533089965581894,
-0.00871609803289175,
-0.014087735675275326,
0.02900412306189537,
-0.05488330125808716,
-0.036702148616313934,
-0.004585850052535534,
0.01786492019891739,
0.03264203295111656,
0.024647897109389305,
-0.016963062807917595,
-0.05943894758820534,
0.026504462584853172,
0.032016072422266006,
-0.00749968783929944,
-0.0480218343436718,
-0.02799566090106964,
-0.03291020542383194,
-0.025327319279313087,
0.0028341978322714567,
0.010980620048940182,
-0.02882845513522625,
0.023447006940841675,
0.015407090075314045,
-0.02857419289648533,
0.02779543399810791,
-0.004422957543283701,
-0.04665327072143555,
-0.04225357994437218,
0.025515222921967506,
0.005132599268108606,
-0.01610046625137329,
0.027820032089948654,
-0.014415988698601723,
0.04607778042554855,
0.03303122520446777,
0.014453192241489887,
0.014080621302127838,
0.01079508475959301,
0.028141703456640244,
-0.004082890227437019,
-0.0017916526412591338,
-0.043896839022636414,
0.01843794621527195,
-0.033567868173122406,
-0.01202676072716713,
-0.008715486153960228,
0.05632062628865242,
-0.02614119090139866,
-0.0159902423620224,
-0.02697409689426422,
0.014109516516327858,
-0.06037389487028122,
0.009963026270270348,
-0.011586653999984264,
-0.0011424198746681213,
0.06295070052146912,
-0.014690096490085125,
0.01675027795135975,
-0.016832968220114708,
-0.021658046171069145,
0.023974832147359848,
0.034584686160087585,
-0.036043912172317505,
-0.003140949411317706,
0.015581386163830757,
-0.002548365155234933,
0.000012189993867650628,
0.0380866639316082,
0.04615006223320961,
0.02226550690829754,
-0.014745833352208138,
-0.01807679794728756,
0.009338544681668282,
0.012793171219527721,
0.06423245370388031,
0.04810779169201851,
-0.004182085860520601,
0.01155856717377901,
-0.009547668509185314,
-0.019168147817254066,
-0.008402780629694462,
-0.000194608248420991,
-0.009376551024615765,
0.004444194957613945,
-0.023569399490952492,
-0.07072140276432037,
0.06604038178920746,
0.020700231194496155,
-0.0038794029969722033,
0.03736921399831772,
0.01636408269405365,
-0.008032507263123989,
-0.03796868026256561,
0.05273694545030594,
0.047999314963817596,
-0.06527287513017654,
-0.03821868076920509,
-0.017038926482200623,
-0.00970523152500391,
-0.003244490595534444,
0.012174379080533981,
-0.050628386437892914,
-0.045544255524873734,
-0.012623313814401627,
0.021224869415163994,
-0.02687302976846695,
-0.04514024779200554,
-0.015347613021731377,
0.02723296545445919,
0.002720021642744541,
0.015548855066299438,
0.02489859238266945,
0.005579870659857988,
-0.022547192871570587,
0.0006547391531057656,
0.028448402881622314,
-0.03586243838071823,
0.014890745282173157,
-0.02142907679080963,
-0.04753486067056656,
0.018518608063459396,
-0.03744743391871452,
0.014356895349919796,
0.011698964983224869,
-0.015849091112613678,
0.01442371029406786,
-0.05959952250123024,
0.01880493015050888,
0.0026884907856583595,
0.044754959642887115,
-0.012492760084569454,
-0.0035874387249350548,
-0.04358597844839096,
0.010076814331114292,
-0.03798111528158188,
0.010971427895128727,
-0.02051096223294735,
0.008062673732638359,
0.011196627281606197,
0.027213959023356438,
0.014725301414728165,
0.03911973536014557,
-0.003726978087797761,
-0.02964588813483715,
0.04950178787112236,
-0.05507013201713562,
-0.03277212381362915,
-0.03788863867521286,
-0.06341417878866196,
-0.0039709568955004215,
0.014600382186472416,
0.026202460750937462,
-0.026677126064896584,
0.05019321292638779,
0.047406863421201706,
0.022942934185266495,
0.01778169721364975,
-0.015498166903853416,
0.02577831782400608,
-0.02400657720863819,
0.0032737310975790024,
-0.07199928164482117,
-0.005819454323500395,
0.04981110244989395,
0.011803040280938148,
-0.006309229880571365,
-0.009586643427610397,
-0.03291856870055199,
0.019879231229424477,
-0.06393150985240936,
-0.024870431050658226,
0.04051235690712929,
-0.026291120797395706,
0.006785952020436525,
-0.004262734670192003,
-0.06390967220067978,
0.008433098904788494,
0.04916153848171234,
-0.045246824622154236,
-0.01266748271882534,
-0.03625926375389099,
0.06859971582889557,
-0.025715962052345276,
0.05052052438259125,
-0.008965251967310905,
-0.018977507948875427,
0.07988624274730682,
0.013578932732343674,
0.02651369571685791,
0.05630180612206459,
-0.015797710046172142,
0.036366432905197144,
0.03741561621427536,
-0.021697646006941795,
0.001312139560468495,
0.04124549403786659,
-0.015379135496914387,
-0.05198340490460396,
0.03156145662069321,
0.0037814569659531116,
-0.020714476704597473,
-0.04168776422739029,
0.06923533976078033,
0.016322553157806396,
-0.052483439445495605,
-0.05654295161366463,
0.03640540689229965,
-0.049091633409261703,
-0.004660042468458414,
-0.04246519133448601,
0.011636490002274513,
-0.03185497596859932,
0.038783349096775055,
-0.017425501719117165,
0.0070361848920583725,
0.06582624465227127,
-0.006327984854578972,
-0.018371401354670525,
-0.007037379778921604,
0.08587110042572021,
0.09194781631231308,
0.05056871846318245,
0.016234779730439186,
0.06884153187274933,
0.0057910592295229435,
-0.04677582159638405,
-0.010330265387892723,
-0.007981452159583569,
-0.036220379173755646,
0.006635766010731459,
0.012543266639113426,
0.07634936273097992,
-0.03188025578856468,
0.06848710030317307,
-0.011205172166228294,
-0.010796576738357544,
-0.014083671383559704,
0.007125271018594503,
0.03607172891497612,
0.06186507269740105,
0.021517014130949974,
0.03770388290286064,
-0.03232516720890999,
-0.03702988848090172,
0.022539108991622925,
-0.015470321290194988,
-0.01851380616426468,
0.04044434800744057,
-0.02383776754140854,
0.009088070131838322,
0.017975110560655594,
0.06318962574005127,
0.08163733780384064,
-0.036643289029598236,
-0.01528209913522005,
-0.006760601419955492,
0.01950567215681076,
0.008492296561598778,
0.02747645229101181,
-0.012465286999940872,
-0.014004813507199287,
-0.017188360914587975,
-0.05164071172475815,
-0.02945675514638424,
-0.018171191215515137,
-0.042978208512067795,
0.018069984391331673,
-0.02976606972515583,
-0.01192406564950943,
-0.012921832501888275,
-0.003568241372704506,
-0.024093959480524063,
-0.05618181452155113,
-0.01833285577595234,
-0.04997826740145683,
-0.06883300095796585,
0.001038887770846486,
0.00614059017971158,
-0.0031786393374204636,
-0.02530759759247303,
0.0022084612865000963,
-0.03643810376524925,
-0.027377380058169365,
0.060236699879169464,
-0.06555642187595367,
0.007938602939248085,
0.012152772396802902,
0.007212368305772543,
0.009133917279541492,
0.017098765820264816,
0.03816187009215355,
0.0053876424208283424,
0.009480905719101429,
-0.0002587820345070213,
0.031160157173871994,
0.04518367350101471,
0.017564158886671066,
-0.0054106987081468105,
-0.09285769611597061,
0.01920323632657528,
0.03197468817234039,
-0.02280716598033905,
-0.08382947742938995,
0.0189665537327528,
0.05256812274456024,
0.01668602228164673,
0.022079188376665115,
-0.0020533972419798374,
-0.017299385741353035,
-0.019729169085621834,
0.013093918561935425,
-0.006741090212017298,
0.0010307187912985682,
0.03952335566282272,
-0.020899586379528046,
0.08823928236961365,
0.046850983053445816,
-0.036677662283182144,
-0.0349278450012207,
-0.027110381051898003,
0.014890085905790329,
0.014359033666551113,
-0.03738131374120712,
-0.04237668961286545,
-0.04911345988512039,
-0.0868784561753273,
-0.038089532405138016,
0.006719432771205902,
-0.030165478587150574,
-0.011819661594927311,
0.00451844884082675,
0.023320168256759644,
-0.010900207795202732,
0.02978595532476902,
-0.03753235191106796,
0.04070471599698067,
-0.012812229804694653,
-0.009487397968769073,
-0.04102075472474098,
-0.0009827580070123076,
-0.0032780023757368326,
0.00837683118879795,
0.0031125505920499563,
-0.05845952033996582,
-0.01765395514667034,
-0.005440145265311003,
0.038649022579193115,
0.01369778998196125,
0.03595740348100662,
0.0026698766741901636
] | [
-0.04616592451930046,
-0.016967713832855225,
-0.03800269961357117,
-0.03930869698524475,
0.06908807903528214,
-0.021138792857527733,
-0.03657497465610504,
0.026798320934176445,
0.004227964673191309,
-0.021303901448845863,
0.026691576465964317,
-0.037264738231897354,
0.00295304786413908,
0.00648963637650013,
0.06645354628562927,
0.00733794504776597,
-0.04219365864992142,
-0.07832667231559753,
-0.0006168220425024629,
0.05247616022825241,
-0.02731185592710972,
-0.04154575243592262,
-0.014752719551324844,
-0.028829576447606087,
0.01003981288522482,
0.03796331584453583,
0.0412103645503521,
-0.020776476711034775,
-0.012407198548316956,
-0.20123369991779327,
0.0009032609523274004,
0.01696416363120079,
0.04298698902130127,
0.0107158487662673,
0.010496415197849274,
0.03351052850484848,
0.048094067722558975,
-0.01178719848394394,
0.014051936566829681,
0.03137976676225662,
0.01629394292831421,
-0.0023490393068641424,
-0.04344278201460838,
-0.0027101347222924232,
0.06549567729234695,
0.02540845423936844,
-0.0011375589529052377,
-0.015537496656179428,
-0.035611703991889954,
0.005569228902459145,
-0.03981977701187134,
-0.023916305974125862,
-0.011345906183123589,
-0.015518462285399437,
0.01513595785945654,
0.05363336578011513,
0.05228051170706749,
0.04302399605512619,
0.011270307935774326,
0.03969347104430199,
0.01863359659910202,
0.0224617887288332,
-0.1297970712184906,
0.07365206629037857,
0.015259835869073868,
0.025471864268183708,
-0.06855504214763641,
-0.006165591534227133,
-0.011065610684454441,
0.08407909423112869,
0.024027841165661812,
-0.014348535798490047,
-0.026719626039266586,
0.03975178673863411,
-0.004956135991960764,
0.037833575159311295,
-0.0014595751417800784,
0.01091643888503313,
0.021989373490214348,
-0.05910100042819977,
-0.02296583168208599,
0.040453165769577026,
-0.033954374492168427,
-0.01619701087474823,
-0.04324575886130333,
0.03410535678267479,
-0.03098352998495102,
0.054893236607313156,
-0.00990393478423357,
0.04753384739160538,
0.03995019569993019,
0.03326733037829399,
0.031581345945596695,
0.024250304326415062,
-0.08822279423475266,
-0.032102059572935104,
0.022194210439920425,
0.016820449382066727,
0.006656200625002384,
0.42076992988586426,
0.006737826392054558,
-0.010185817256569862,
0.05517108738422394,
0.06350310891866684,
-0.03185997158288956,
-0.03690367192029953,
-0.0035359584726393223,
-0.07053986936807632,
0.052166059613227844,
-0.018364008516073227,
0.005458435975015163,
-0.01646612212061882,
0.05356622114777565,
-0.08499941229820251,
0.013665982522070408,
0.0014008146245032549,
0.036416493356227875,
0.019257936626672745,
-0.016566410660743713,
-0.01237502321600914,
-0.007391416467726231,
0.032457634806632996,
0.04025578871369362,
-0.0031424181070178747,
0.009782764129340649,
0.020887309685349464,
0.0249983761459589,
0.037769682705402374,
0.03579630330204964,
0.022550877183675766,
0.05879460647702217,
0.011770609766244888,
-0.08154110610485077,
0.02956073172390461,
-0.012134077958762646,
-0.0122295543551445,
0.025581400841474533,
-0.030716389417648315,
-0.027253882959485054,
0.03187387436628342,
-0.003864201484248042,
-0.01416906900703907,
0.013475801795721054,
-0.0013134983601048589,
-0.049460820853710175,
0.13703620433807373,
0.005060200113803148,
-0.0535450279712677,
-0.03070196509361267,
-0.04106753692030907,
0.027698254212737083,
0.0545673742890358,
0.010434625670313835,
-0.07193167507648468,
0.0019691961351782084,
-0.004757358692586422,
0.10938993096351624,
-0.015261268243193626,
-0.08927226066589355,
0.007436024025082588,
-0.014351626858115196,
-0.018242260441184044,
-0.05344967544078827,
0.06570851057767868,
0.0681038647890091,
-0.1450306624174118,
-0.010240440256893635,
0.007663538213819265,
0.029480163007974625,
-0.06606423109769821,
0.012176400050520897,
0.003941893111914396,
-0.04069027304649353,
0.008149918168783188,
0.05537305772304535,
-0.009060950949788094,
-0.01939575932919979,
-0.006206266116350889,
0.025777213275432587,
-0.00019543989037629217,
0.009890769608318806,
-0.017864011228084564,
-0.04949774220585823,
0.008287209086120129,
-0.07704094052314758,
-0.06423545628786087,
-0.08225972950458527,
0.016068927943706512,
-0.03597131371498108,
-0.016066724434494972,
-0.01578345336019993,
0.018607743084430695,
-0.0737341120839119,
0.10164553672075272,
-0.051023636013269424,
-0.03636854514479637,
-0.02719002403318882,
0.011817077174782753,
-0.037144988775253296,
-0.03269292041659355,
-0.01838996261358261,
0.016448229551315308,
-0.03169461712241173,
0.012806038372218609,
-0.06067171320319176,
0.028485028073191643,
0.08163880556821823,
-0.029070083051919937,
0.07440213114023209,
0.0455273874104023,
-0.03628929704427719,
-0.001220804755575955,
0.006977018900215626,
0.022111836820840836,
0.0007489203126169741,
-0.00622589560225606,
0.020216699689626694,
-0.028889235109090805,
0.0018955495906993747,
0.050868868827819824,
-0.027486661449074745,
0.0003537684096954763,
-0.009232067503035069,
-0.3471195101737976,
-0.02716398611664772,
-0.02092163823544979,
0.012211994268000126,
0.017535420134663582,
-0.03547244518995285,
0.03802600875496864,
-0.021984560415148735,
0.009176955558359623,
0.030409179627895355,
0.06378492712974548,
0.0006291053723543882,
0.0010368836810812354,
-0.0623694472014904,
-0.0051589044742286205,
0.039399389177560806,
-0.0001898520567920059,
0.0089426189661026,
-0.04989492520689964,
0.007153175305575132,
-0.017690323293209076,
-0.04766424000263214,
-0.03275005891919136,
-0.05389687046408653,
-0.0074182841926813126,
-0.029720760881900787,
0.11541374027729034,
-0.006884818896651268,
0.002793343272060156,
-0.031176593154668808,
0.03461756557226181,
0.007252461742609739,
-0.02144329808652401,
-0.09748276323080063,
0.008359375409781933,
-0.015295271761715412,
0.03728160634636879,
0.014312734827399254,
-0.011210243217647076,
-0.021366499364376068,
-0.037724073976278305,
-0.01637420803308487,
-0.042788200080394745,
-0.059536151587963104,
-0.047762610018253326,
0.034527916461229324,
-0.04881693422794342,
-0.028766728937625885,
0.00363029632717371,
0.08279473334550858,
0.015650207176804543,
0.006360916420817375,
0.02152368053793907,
0.03241004794836044,
-0.026109134778380394,
-0.037074923515319824,
-0.07744606584310532,
-0.00836106576025486,
0.023895950987935066,
0.041679635643959045,
0.007069510407745838,
0.05152025446295738,
0.026660488918423653,
-0.08239731192588806,
0.014572015963494778,
-0.019891681149601936,
-0.0173077080398798,
0.006313764955848455,
0.026933519169688225,
-0.02823147363960743,
-0.008490955457091331,
0.09476415067911148,
0.005497886333614588,
0.01457720436155796,
0.031416796147823334,
0.04363170266151428,
-0.024262389168143272,
0.0011659919982776046,
0.02099447511136532,
0.021923933178186417,
0.03930813446640968,
-0.04040110856294632,
0.057500582188367844,
-0.009326244704425335,
-0.02055121585726738,
0.05668606609106064,
0.022679628804326057,
-0.06389518082141876,
0.05221382901072502,
0.028223972767591476,
-0.029844796285033226,
-0.013764102011919022,
-0.023729698732495308,
-0.05359751731157303,
0.0640195682644844,
-0.01782723143696785,
-0.25036898255348206,
0.03886468708515167,
0.030671771615743637,
0.07408387959003448,
0.006064876914024353,
0.012877484783530235,
0.03380829468369484,
-0.0012519181473180652,
0.027197202667593956,
0.0036648272071033716,
0.02781064622104168,
0.03085906431078911,
-0.0019048397662118077,
-0.001641482231207192,
0.010553727857768536,
-0.00027554345433600247,
0.025994112715125084,
0.015608003363013268,
0.011217907071113586,
-0.010798811912536621,
0.028668953105807304,
-0.0186336450278759,
0.17314831912517548,
0.03381979838013649,
0.029527725651860237,
0.03852919489145279,
-0.027884896844625473,
-0.00045416527427732944,
0.04406474158167839,
-0.017296873033046722,
-0.03181375935673714,
0.022418884560465813,
-0.013735168613493443,
0.026191657409071922,
0.016788184642791748,
-0.04437890648841858,
-0.03197673708200455,
0.037632767111063004,
0.01857713796198368,
-0.005456697661429644,
0.008207099512219429,
-0.0011739085894078016,
-0.03132588416337967,
0.03737887367606163,
0.05364753305912018,
-0.0021365168504416943,
0.010986903682351112,
-0.03510674089193344,
-0.06939554959535599,
-0.01700778864324093,
-0.04060292989015579,
-0.06163635104894638,
-0.03563135489821434,
-0.02561677061021328,
0.006727001629769802,
0.07668058574199677,
0.02219715341925621,
-0.01678125560283661,
0.02227846346795559,
0.00628632353618741,
-0.02887832000851631,
-0.034392647445201874,
0.09473100304603577,
-0.0067223659716546535,
0.007144342176616192
] | [
0.017568480223417282,
0.022529831156134605,
0.0009532474214211106,
0.014600660651922226,
-0.010016764514148235,
-0.016902253031730652,
-0.01229199767112732,
-0.005069657228887081,
-0.021549955010414124,
-0.011161215603351593,
-0.039130158722400665,
0.030025944113731384,
0.04835047945380211,
0.0035190731287002563,
0.03162645548582077,
0.019773146137595177,
-0.0029741590842604637,
-0.004334534518420696,
0.0316469706594944,
-0.01743815653026104,
-0.02831444889307022,
-0.013418112881481647,
0.0165731068700552,
-0.011547725647687912,
-0.014249321073293686,
0.017000848427414894,
-0.013673707842826843,
-0.009344891645014286,
0.031907450407743454,
-0.09570763260126114,
-0.014820417389273643,
-0.009107699617743492,
-0.016261432319879532,
0.014834767207503319,
-0.007808373775333166,
0.005638639908283949,
0.026213085278868675,
0.03636876493692398,
0.010666645132005215,
0.014489284716546535,
0.01962979882955551,
-0.01086805947124958,
0.012433495372533798,
0.018047180026769638,
0.027902984991669655,
-0.00564527278766036,
-0.03512636572122574,
-0.02849317342042923,
0.011623496189713478,
-0.02671233005821705,
-0.026701893657445908,
-0.024053480476140976,
-0.014028907753527164,
-0.0015771813923493028,
-0.0071394178085029125,
0.014811251312494278,
-0.022693265229463577,
-0.01680002361536026,
-0.002918231301009655,
0.011929729953408241,
0.004325684625655413,
-0.00764366565272212,
-0.0695895403623581,
-0.008307711221277714,
0.0018434919184073806,
0.004611679818481207,
-0.020978396758437157,
0.031478580087423325,
0.022330008447170258,
0.015228976495563984,
-0.021966181695461273,
0.048491597175598145,
-0.07908851653337479,
-0.03815305978059769,
-0.007474029902368784,
0.015220873057842255,
0.02316082827746868,
-0.011132784187793732,
-0.012200728990137577,
-0.023545144125819206,
-0.034979961812496185,
0.004736923146992922,
-0.012040243484079838,
-0.008595951832830906,
-0.032842908054590225,
-0.015314094722270966,
-0.015091934241354465,
-0.0037067485973238945,
-0.010522180236876011,
0.02284594252705574,
-0.05065795034170151,
0.03308127447962761,
-0.00916244275867939,
0.001494634198024869,
-0.09812308102846146,
0.0013248445466160774,
0.034003376960754395,
-0.0018856667447835207,
0.019763721153140068,
0.8415547609329224,
0.014278938062489033,
0.011873353272676468,
0.00339189893566072,
-0.000715928035788238,
-0.007721946109086275,
-0.009677011519670486,
0.0020858491770923138,
0.012755262665450573,
0.002930448856204748,
-0.005007761064916849,
-0.006570150144398212,
0.025515925139188766,
0.024230238050222397,
0.003973196726292372,
0.006138138938695192,
0.031375523656606674,
0.010232945904135704,
-0.006142792757600546,
-0.0029386496171355247,
0.005590600892901421,
-0.011886943131685257,
0.03088461048901081,
0.005259325262159109,
-0.01252982672303915,
-0.017633961513638496,
-0.19160456955432892,
-0.01704540103673935,
-7.106991825297517e-33,
0.052768051624298096,
0.00019781682931352407,
0.055084533989429474,
-0.0009340184042230248,
0.018654564395546913,
0.02803533896803856,
-0.04458744078874588,
-0.036847762763500214,
-0.0206636693328619,
-0.027048293501138687,
-0.014152265153825283,
-0.00015036098193377256,
0.03811657056212425,
-0.040443822741508484,
0.015532959252595901,
-0.01759972982108593,
0.02982759103178978,
0.018939703702926636,
-0.011848747730255127,
-0.0032271970994770527,
-0.016551150009036064,
0.024932563304901123,
-0.023415489122271538,
0.04214044660329819,
0.0023848414421081543,
0.048376381397247314,
-0.006982623133808374,
0.03454258665442467,
0.011398538947105408,
-0.054401446133852005,
-0.03879421949386597,
0.03901584818959236,
-0.023643184453248978,
0.010812927968800068,
-0.006982006598263979,
-0.04227767884731293,
-0.02922385185956955,
-0.005816238932311535,
-0.017660241574048996,
-0.06739611178636551,
-0.043519195169210434,
0.010161043144762516,
-0.026256157085299492,
-0.025837605819106102,
-0.03265400975942612,
-0.003625972429290414,
-0.01693332940340042,
0.006350713782012463,
0.0014046230353415012,
0.008194285444915295,
0.007217966951429844,
-0.00039748981362208724,
-0.02676556445658207,
0.017739785835146904,
-0.07221615314483643,
0.010831231251358986,
0.015260899439454079,
0.012983093038201332,
0.021791962906718254,
0.03248651325702667,
0.04426335543394089,
-0.006555442698299885,
-0.0019165354315191507,
0.05287650227546692,
0.012168879620730877,
0.018508467823266983,
-0.011649207212030888,
-0.011391531676054,
0.013137533329427242,
0.025990668684244156,
-0.04415252432227135,
0.08491034060716629,
-0.013782793655991554,
-0.014494688250124454,
0.02858923003077507,
-0.03644614666700363,
0.0007646324811503291,
-0.0010076855542138219,
0.006036507431417704,
0.06369633227586746,
-0.020603306591510773,
-0.02154502458870411,
0.0016628385055810213,
-0.042876943945884705,
-0.028471389785408974,
-0.003209017915651202,
0.020842663943767548,
0.016746988520026207,
0.00421633617952466,
0.016188740730285645,
0.030882397666573524,
0.008198179304599762,
-0.00627036951482296,
-0.01544665265828371,
0.011818071827292442,
6.630760125529038e-33,
0.01658507250249386,
0.007904289290308952,
0.00871303305029869,
0.000500793510582298,
0.04748016968369484,
-0.005384460091590881,
0.019187480211257935,
0.008968393318355083,
-0.04285002872347832,
0.05022716149687767,
0.0048766061663627625,
-0.0058913822285830975,
0.009811392053961754,
0.02029278501868248,
0.0508437342941761,
-0.028535176068544388,
0.03053203597664833,
-0.05551638454198837,
0.007103531621396542,
0.0391663983464241,
0.02818823605775833,
0.004809332080185413,
-0.01789955608546734,
0.011506925337016582,
0.026134300976991653,
0.026895567774772644,
-0.006761041469871998,
-0.0062903002835810184,
-0.017316075041890144,
-0.0010808552615344524,
-0.007950849831104279,
-0.03125466778874397,
-0.0018669463461264968,
-0.007343875244259834,
0.010054907761514187,
0.008040291257202625,
-0.018796700984239578,
-0.005079403053969145,
0.025610288605093956,
0.007653709501028061,
0.00792750995606184,
0.044053301215171814,
-0.050366245210170746,
0.06873667240142822,
0.034385450184345245,
0.01827765814960003,
-0.013178164139389992,
0.01020517386496067,
-0.007768131326884031,
-0.004178392700850964,
-0.02058928832411766,
0.010003273375332355,
-0.007285356055945158,
-0.02024124376475811,
0.01317664049565792,
-0.05011090636253357,
-0.0059676882810890675,
0.032773151993751526,
0.009442408569157124,
-0.003118824912235141,
-0.024785200133919716,
-0.015728717669844627,
-0.038538020104169846,
0.028416486456990242,
-0.03038914129137993,
-0.021074894815683365,
-0.02547638863325119,
0.01446204911917448,
-0.009249300695955753,
0.002559683285653591,
-0.006862123962491751,
-0.004243071656674147,
-0.003563527949154377,
0.024082891643047333,
0.03114859014749527,
-0.039977796375751495,
-0.04279790446162224,
0.01860511489212513,
-0.03034438006579876,
0.024319147691130638,
0.02257271111011505,
0.0318787544965744,
0.03264158219099045,
0.005947096273303032,
0.004201650619506836,
0.008891753852367401,
-0.009639079682528973,
0.05989917367696762,
-0.04187341034412384,
-0.005587237887084484,
0.013417843729257584,
-0.025435570627450943,
-0.0029226269107311964,
0.04839100316166878,
-0.008764750324189663,
-1.2834211915446758e-8,
-0.0696495994925499,
0.011916941963136196,
-0.011135248467326164,
-0.0260905884206295,
0.013522742316126823,
0.014431308954954147,
0.01589295081794262,
0.014158532954752445,
-0.007354660890996456,
0.019524799659848213,
0.022681156173348427,
-0.03684945032000542,
-0.01778511330485344,
0.010605585761368275,
-0.0011585989268496633,
-0.041008464992046356,
-0.001191099756397307,
-0.026368021965026855,
0.02798030897974968,
0.02168973535299301,
0.022981809452176094,
0.020799772813916206,
-0.02362763322889805,
-0.0000614609889453277,
0.0077737439423799515,
-0.0037185272667557,
0.015551506541669369,
-0.061776045709848404,
-0.0142940953373909,
-0.03279601037502289,
-0.02424556575715542,
-0.019095774739980698,
-0.019984647631645203,
0.027936387807130814,
-0.037914030253887177,
-0.03829488158226013,
0.021031664684414864,
0.027761204168200493,
0.017637979239225388,
0.013891953974962234,
-0.005462312139570713,
0.0054071382619440556,
-0.020996341481804848,
-0.03284454718232155,
-0.03421591594815254,
0.0348312072455883,
0.01037836354225874,
-0.008193750865757465,
0.01876574382185936,
-0.03289202228188515,
0.0001129164156736806,
-0.006954032927751541,
0.030800217762589455,
0.031259480863809586,
0.030006909742951393,
0.0010494781890884042,
-0.013701504096388817,
-0.020109886303544044,
0.010428568348288536,
-0.026051850989460945,
0.007445821072906256,
-0.007517735008150339,
-0.02507036365568638,
-0.023460548371076584
] | neo4j-meetup-coding-dojo-style | https://markhneedham.com/blog/2014/05/31/neo4j-meetup-coding-dojo-style |
false | 2014-05-24 00:12:56 | Clojure: Create a directory | [
"clojure"
] | [
"Clojure"
] | I spent much longer than I should have done trying to work out how to create a directory in Clojure as part of an import script I'm working out so for my future self this is how you do it:
[source,lisp]
----
(.mkdir (java.io.File. "/path/to/dir/to/create"))
----
I'm creating a directory which contains today's date so I'd want something like 'members-2014-05-24' if I was running it today. The https://github.com/clj-time/clj-time[clj-time] library is very good for working with dates.
To create a folder containing today's date this is what we'd have:
[source,lisp]
----
(ns neo4j-meetup.core
(:require [clj-time.format :as f]))
(def format-as-year-month-day (f/formatter "yyyy-MM-dd"))
(defn create-directory-for-today []
(let [date (f/unparse format-as-year-month-day (t/now))]
(.mkdir (java.io.File. (str "data/members-" date)))))
----
Initial code shamelessly stolen from https://gist.github.com/halfelf[Shu Wang's gist] so thanks to him as well! | null | null | [
-0.0058901989832520485,
-0.008966396562755108,
-0.037953637540340424,
0.028320172801613808,
0.0789562314748764,
-0.008316329680383205,
0.03536000847816467,
0.017332741990685463,
0.013547984883189201,
-0.017075199633836746,
-0.008772581815719604,
-0.03594611585140228,
-0.04717930406332016,
0.03048931434750557,
-0.016767436638474464,
0.04943397641181946,
0.07680487632751465,
-0.023356672376394272,
0.028059935197234154,
0.0036424261052161455,
0.013899496756494045,
0.0509629063308239,
-0.011968199163675308,
0.012180360034108162,
0.04342680796980858,
-0.000627175671979785,
0.009622093290090561,
0.0059822723269462585,
-0.0606449693441391,
-0.01785498671233654,
0.020338064059615135,
0.0004565119743347168,
0.023250030353665352,
0.010489392094314098,
0.014353032223880291,
-0.020317191258072853,
-0.016092082485556602,
-0.017909441143274307,
0.024121180176734924,
0.03150365501642227,
-0.05776149779558182,
0.016957148909568787,
0.0042693414725363255,
-0.00012292893370613456,
-0.054803065955638885,
0.017302976921200752,
-0.037045665085315704,
0.03998131304979324,
0.007978244684636593,
0.013381914235651493,
-0.03200066089630127,
-0.005340434145182371,
0.0037978373002260923,
-0.010894324630498886,
-0.00980372540652752,
0.040178969502449036,
0.039474911987781525,
-0.09910157322883606,
0.04559898376464844,
-0.010702233761548996,
0.00854488369077444,
-0.027342936024069786,
0.006865369621664286,
0.010848038829863071,
0.005501525476574898,
-0.02780231274664402,
-0.011689795181155205,
0.034078288823366165,
-0.0478878915309906,
-0.013275748118758202,
0.017738156020641327,
0.011603225022554398,
-0.03395847603678703,
-0.020431149750947952,
0.009647376835346222,
-0.04194655269384384,
-0.00761405099183321,
0.07015259563922882,
0.001636767410673201,
0.06705530732870102,
-0.048410724848508835,
0.01716640591621399,
0.04918089881539345,
0.03520067036151886,
0.009924114681780338,
-0.0017756089800968766,
-0.04516872763633728,
-0.008214973844587803,
-0.04071534425020218,
0.03232390433549881,
0.008407242596149445,
-0.04902006313204765,
0.026031874120235443,
0.01017670426517725,
0.02276909537613392,
0.017092764377593994,
0.0059319292195141315,
0.027751386165618896,
0.03360887989401817,
0.00205894373357296,
-0.03570122644305229,
-0.029752902686595917,
-0.0051159025169909,
0.015581530518829823,
-0.061864223331213,
-0.008660045452415943,
-0.02169395610690117,
-0.05046876519918442,
0.02051614597439766,
-0.018816469237208366,
-0.0424383282661438,
0.01666499674320221,
-0.007805726956576109,
0.010765928775072098,
-0.06141538545489311,
0.055616267025470734,
0.012406540103256702,
-0.060175713151693344,
-0.04350123181939125,
0.030909232795238495,
0.0004901725333184004,
0.005646165460348129,
0.011652185581624508,
0.0824868381023407,
-0.02008957974612713,
0.03989986702799797,
-0.0020199958235025406,
0.051225606352090836,
-0.003448151983320713,
-0.05921940878033638,
-0.041858967393636703,
0.05635690689086914,
0.002734419424086809,
-0.014358296990394592,
-0.019253434613347054,
-0.03938810154795647,
-0.046140167862176895,
0.030161257833242416,
0.07783044874668121,
0.012318676337599754,
0.01191344391554594,
-0.01970064453780651,
0.0046534757129848,
-0.024990258738398552,
0.025115782395005226,
0.03647725656628609,
0.006404383573681116,
-0.04103749245405197,
-0.04970388859510422,
0.006033922079950571,
0.013021765276789665,
0.02226240187883377,
0.04058915376663208,
-0.017177531495690346,
0.01957756094634533,
0.09895682334899902,
0.010568592697381973,
0.049470141530036926,
-0.03281930088996887,
0.002849608426913619,
0.020054595544934273,
0.02732248604297638,
-0.029184924438595772,
0.059138718992471695,
0.006908849347382784,
-0.02411292865872383,
0.014962533488869667,
0.02141243778169155,
-0.0186146330088377,
-0.008786659687757492,
-0.05082481727004051,
-0.06120387837290764,
0.06919156014919281,
-0.019840391352772713,
-0.003792697563767433,
0.04299395903944969,
0.10321321338415146,
-0.0024983431212604046,
0.027635082602500916,
-0.007073008920997381,
-0.0692097395658493,
0.054085977375507355,
0.0019389018416404724,
0.04139315336942673,
0.03639204055070877,
-0.018270134925842285,
0.07148337364196777,
-0.0007515623001381755,
0.018819192424416542,
0.053860779851675034,
-0.08438894897699356,
-0.08854030817747116,
-0.019445404410362244,
-0.023098964244127274,
0.06084151566028595,
-0.03200659528374672,
0.0004029657575301826,
0.04398544877767563,
-0.01472276821732521,
0.05935105308890343,
0.018167175352573395,
0.00448476430028677,
0.02109207585453987,
-0.04560716077685356,
-0.03986420854926109,
0.05302882939577103,
0.033082909882068634,
-0.0428999699652195,
0.0037546339444816113,
0.018762798979878426,
0.013621770776808262,
0.010242249816656113,
0.0630837008357048,
-0.012762647122144699,
0.033099450170993805,
0.04994010180234909,
0.06510540097951889,
-0.03231252357363701,
0.0020193345844745636,
-0.037868931889534,
0.03460347652435303,
0.013168531470000744,
-0.023511193692684174,
-0.007855388335883617,
0.017197536304593086,
0.1077871024608612,
0.05199364945292473,
-0.03688041493296623,
-0.03977847471833229,
0.02575819380581379,
0.00896536186337471,
-0.06079887971282005,
-0.019796770066022873,
0.025607513263821602,
0.030722416937351227,
0.008874335326254368,
-0.0068157440982759,
-0.012773574329912663,
-0.01570051722228527,
-0.02072296105325222,
0.031074753031134605,
0.0770406723022461,
-0.00449385168030858,
0.04617581143975258,
-0.018298020586371422,
0.0022052847780287266,
-0.028967512771487236,
-0.029670655727386475,
-0.08229302614927292,
0.0112853879109025,
0.021115288138389587,
-0.009560873731970787,
0.07043234258890152,
-0.02223500981926918,
-0.03785201907157898,
-0.025509238243103027,
-0.039447419345378876,
0.041166141629219055,
0.05428089201450348,
0.05809304490685463,
-0.016703015193343163,
0.023739896714687347,
-0.03261394426226616,
0.035272788256406784,
-0.032015785574913025,
-0.04873475804924965,
-0.02890862710773945,
-0.01013630349189043,
0.020100733265280724,
0.020651625469326973,
0.008763720281422138,
0.01130632683634758,
0.03699188306927681,
0.009817466139793396,
0.0011669083032757044,
-0.014705793932080269,
0.019569020718336105,
0.006732502486556768,
-0.012179938144981861,
-0.0360727533698082,
-0.024214675650000572,
0.06427686661481857,
-0.037962157279253006,
-0.004839091561734676,
-0.011688806116580963,
-0.04154951497912407,
0.07113970816135406,
-0.048272132873535156,
-0.025004176422953606,
0.0021215276792645454,
0.010361510328948498,
0.0536959208548069,
-0.01902475766837597,
0.03428030386567116,
0.08004122972488403,
0.02172246016561985,
0.013466553762555122,
-0.002463636687025428,
-0.001012002001516521,
0.04018755629658699,
0.019364172592759132,
0.022331299260258675,
0.05860912799835205,
0.02046765200793743,
0.0010913319420069456,
-0.021615277975797653,
0.0002254908176837489,
-0.021393954753875732,
-0.2680639624595642,
0.04099041596055031,
-0.04797292873263359,
-0.026557350531220436,
0.020324846729636192,
-0.013025064952671528,
0.01047558058053255,
-0.060279447585344315,
-0.017230292782187462,
-0.004959739279001951,
-0.042053237557411194,
-0.033975597470998764,
-0.02087458409368992,
0.056499894708395004,
0.002848562551662326,
-0.012843619100749493,
0.006456583738327026,
-0.03698241338133812,
-0.004994435701519251,
0.02404661849141121,
-0.014545575715601444,
-0.028573738411068916,
0.019401613622903824,
0.05021172761917114,
0.006992434151470661,
0.054427213966846466,
-0.057756952941417694,
0.03168196976184845,
-0.033097218722105026,
-0.035497114062309265,
0.012571540661156178,
-0.025723325088620186,
0.02520252950489521,
-0.012739607132971287,
-0.017684226855635643,
-0.018047405406832695,
0.01861618272960186,
0.018294600769877434,
0.034432508051395416,
0.018994556739926338,
-0.019290398806333542,
-0.04336436092853546,
-0.01636187545955181,
-0.015149417333304882,
0.07136106491088867,
-0.0018818201497197151,
-0.0732431560754776,
-0.007190493866801262,
-0.039864979684352875,
0.08371700346469879,
-0.02550199069082737,
-0.039590880274772644,
-0.005539854522794485,
0.031059838831424713,
0.01046926248818636,
-0.024881724268198013,
-0.024767819792032242,
-0.009894909337162971,
-0.03651658445596695,
-0.021759558469057083,
-0.016403840854763985,
-0.035165123641490936,
-0.008769276551902294,
-0.05695097893476486,
-0.04262042045593262,
-0.08095470815896988,
-0.07766114175319672,
-0.009334973059594631,
0.0491783581674099,
0.008180043660104275,
-0.045171529054641724,
-0.006642013322561979,
-0.024395925924181938,
-0.09861567616462708,
-0.024315088987350464,
-0.025523317977786064,
-0.04503485932946205,
-0.016581151634454727,
-0.027820855379104614,
0.05810003727674484,
-0.06495926529169083,
-0.05169646441936493,
0.02369704283773899,
0.03610597923398018,
0.018735934048891068,
-0.016065625473856926,
0.03262212499976158,
-0.010412970557808876,
-0.03689947351813316,
-0.022519007325172424,
0.04107484593987465,
-0.021805858239531517,
-0.02968466281890869,
0.0027675991877913475,
0.002837168285623193,
0.0417213961482048,
0.007970098406076431,
-0.0065881311893463135,
0.03118421696126461,
0.03369155153632164,
0.022210201248526573,
-0.03843291848897934,
-0.00305389822460711,
-0.028850382193922997,
-0.01569923385977745,
-0.021804478019475937,
-0.04721576347947121,
0.05251350626349449,
0.025245072320103645,
0.030799049884080887,
-0.008932690136134624,
-0.030467379838228226,
-0.004110836889594793,
-0.06827192008495331,
-0.027396393939852715,
-0.024537665769457817,
-0.004509694408625364,
0.021921584382653236,
0.041623637080192566,
0.010584810748696327,
-0.0748574361205101,
0.011839542537927628,
0.0019761347211897373,
-0.0338384285569191,
-0.037885893136262894,
-0.02213886007666588,
-0.007669501472264528,
-0.026059648022055626,
0.037748560309410095,
0.008112642914056778,
-0.03736373782157898,
0.0439264252781868,
0.02853713184595108,
-0.052436184138059616,
0.02954617515206337,
-0.03481820598244667,
-0.014730026945471764,
-0.0474628284573555,
-0.030585678294301033,
0.005064172204583883,
-0.008785686455667019,
-0.016717972233891487,
0.00019848457304760814,
0.022497044876217842,
0.04325086995959282,
0.010342681780457497,
0.00929643027484417,
-0.006601222325116396,
-0.0071766865439713,
-0.005354775115847588,
0.0022940689232200384,
-0.06966220587491989,
0.05119706317782402,
-0.04950069636106491,
-0.03455542400479317,
0.00025684316642582417,
0.027978336438536644,
-0.01728212647140026,
-0.036856405436992645,
-0.0360606350004673,
0.02981855347752571,
-0.03112097643315792,
0.024682307615876198,
-0.005124581512063742,
-0.01302911713719368,
0.07286018878221512,
0.004965968895703554,
0.04201924800872803,
-0.000016999607396428473,
-0.013704079203307629,
-0.014514184556901455,
0.008361048996448517,
-0.048266492784023285,
0.002197952475398779,
0.0035283861216157675,
-0.0016357795102521777,
0.024783480912446976,
0.04002999886870384,
0.03912609815597534,
0.011771554127335548,
-0.020763376727700233,
-0.004041972104460001,
-0.0035869148559868336,
0.0178189966827631,
0.03386974707245827,
-0.002925498178228736,
0.0018742887768894434,
0.004104361869394779,
-0.03807949274778366,
-0.05157448723912239,
-0.010042994283139706,
-0.011253273114562035,
-0.00422216160222888,
-0.027318984270095825,
-0.01433809008449316,
-0.08008326590061188,
0.04218682274222374,
0.04670673608779907,
0.017612844705581665,
0.008619049564003944,
0.01514342799782753,
-0.028709352016448975,
-0.040103230625391006,
0.0354597270488739,
0.05279036611318588,
-0.05556938424706459,
-0.013545557856559753,
-0.0049585304223001,
0.020096303895115852,
0.00011789714335463941,
0.020817143842577934,
-0.049241822212934494,
-0.008977649733424187,
-0.013688541017472744,
-0.009514759294688702,
-0.011463992297649384,
-0.019075272604823112,
-0.01853623241186142,
0.011193444952368736,
-0.01893926039338112,
-0.010472818277776241,
0.006342524196952581,
0.004524908494204283,
0.006355583667755127,
-0.01672869734466076,
0.00703358743339777,
-0.024032915011048317,
0.02013426646590233,
0.017238382250070572,
0.01097206398844719,
0.0209328755736351,
-0.03813862428069115,
0.050613485276699066,
0.0001892020518425852,
-0.025433318689465523,
-0.02618333138525486,
-0.03759283199906349,
0.03776391223073006,
-0.017685236409306526,
0.053597334772348404,
0.004023937042802572,
0.023895759135484695,
-0.04277198389172554,
0.006336065474897623,
-0.03626794368028641,
-0.003946423530578613,
-0.03256433829665184,
-0.0077978940680623055,
-0.011221312917768955,
0.042375437915325165,
0.016035905107855797,
0.03375821188092232,
-0.02396935410797596,
-0.04311647638678551,
0.04451613128185272,
-0.06627561151981354,
-0.08406347781419754,
0.0018798032542690635,
-0.03456760570406914,
0.029962975531816483,
0.02395426481962204,
0.012194812297821045,
-0.061677996069192886,
0.05895458906888962,
0.038196247071027756,
0.036147456616163254,
0.033638570457696915,
-0.0007047808612696826,
0.02247493900358677,
-0.04034750908613205,
-0.03827529400587082,
-0.10166866332292557,
0.006977153941988945,
0.03615143150091171,
0.018236897885799408,
-0.021409280598163605,
-0.00022971165890339762,
-0.015410049818456173,
0.01156166847795248,
-0.07784882187843323,
-0.02286633476614952,
0.0680374801158905,
-0.016867047175765038,
0.006583751644939184,
0.020526781678199768,
-0.05566053465008736,
0.024080583825707436,
0.07681740075349808,
-0.046940822154283524,
-0.013518000021576881,
-0.024042563512921333,
0.061528291553258896,
-0.02785916067659855,
0.061092130839824677,
-0.027196921408176422,
0.016052909195423126,
0.09235051274299622,
0.01796579174697399,
-0.0033453626092523336,
0.04340953007340431,
0.009512195363640785,
0.009618046693503857,
0.04283668100833893,
-0.028861775994300842,
-0.03820327669382095,
0.03312578797340393,
-0.022095395252108574,
-0.04807310923933983,
0.0062232110649347305,
0.023996414616703987,
-0.01932593062520027,
-0.033639129251241684,
0.07501493394374847,
0.008664666675031185,
-0.049610599875450134,
-0.040867336094379425,
0.044160619378089905,
-0.060879193246364594,
0.015615112148225307,
-0.03807331994175911,
-0.016506344079971313,
-0.0370197556912899,
0.040113892406225204,
-0.0037566632963716984,
0.01131315529346466,
0.08246482163667679,
0.001960533205419779,
-0.0072952574118971825,
0.014664342626929283,
0.06252960860729218,
0.08868052810430527,
0.020637040957808495,
0.014019375666975975,
0.05571078881621361,
-0.01988275721669197,
-0.02872297912836075,
-0.013414975255727768,
-0.024852368980646133,
0.00884456466883421,
-0.022212473675608635,
0.009629450738430023,
0.07450592517852783,
-0.025550078600645065,
0.06341831386089325,
0.007208008319139481,
-0.009298902004957199,
-0.019839398562908173,
-0.0008403239771723747,
0.04543101415038109,
0.02711755968630314,
0.038419805467128754,
0.02296287938952446,
0.0001823409547796473,
-0.021610762923955917,
0.052482809871435165,
-0.01978655904531479,
-0.03361256420612335,
0.04680153355002403,
-0.011646290309727192,
0.0008416555356234312,
0.008160663768649101,
0.05923619493842125,
0.0603041872382164,
-0.01608191430568695,
0.003506687004119158,
-0.009605874307453632,
0.024626556783914566,
0.012877928093075752,
-0.001757133170031011,
-0.02451918087899685,
-0.004381266888231039,
-0.0008885058923624456,
-0.028322286903858185,
-0.017506765201687813,
-0.008281302638351917,
-0.06052915379405022,
0.05094854161143303,
-0.01967601850628853,
0.0055495635606348515,
-0.004783501382917166,
-0.017702091485261917,
-0.014221040531992912,
-0.03742392361164093,
-0.018354441970586777,
-0.024890370666980743,
-0.07722486555576324,
-0.00201616482809186,
0.034787364304065704,
-0.03616425395011902,
-0.018691686913371086,
0.019510067999362946,
-0.004570379387587309,
0.006574003491550684,
0.023685768246650696,
-0.048439182341098785,
-0.012465232983231544,
0.021990476176142693,
0.017039405182003975,
0.012129442766308784,
-0.010211879387497902,
0.03705861419439316,
-0.007821913808584213,
-0.03972563520073891,
-0.03179822489619255,
-0.005710911005735397,
0.048249416053295135,
-0.01621275395154953,
0.006875732913613319,
-0.07236627489328384,
0.028324022889137268,
0.046561483293771744,
0.011217933148145676,
-0.07302828133106232,
0.04395458474755287,
0.02850322425365448,
0.0012799325631931424,
0.056453824043273926,
-0.006089377216994762,
-0.023653946816921234,
-0.020255180075764656,
0.007167811039835215,
0.030430007725954056,
0.013200663961470127,
0.04477596655488014,
-0.0075195361860096455,
0.08276840299367905,
0.05858840048313141,
-0.017455631867051125,
-0.0291766244918108,
-0.05007239431142807,
-0.011879273690283298,
-0.014109686948359013,
-0.05213116854429245,
-0.03449559211730957,
-0.07403987646102905,
-0.07425126433372498,
-0.028911728411912918,
0.0037396603729575872,
-0.05805118381977081,
-0.0244816355407238,
-0.0015135136200115085,
0.01450517401099205,
-0.021361093968153,
0.02200707234442234,
-0.03666532039642334,
0.013746854849159718,
-0.000870026764459908,
-0.006825774442404509,
-0.021661147475242615,
0.009748883545398712,
0.008368238806724548,
0.001042296295054257,
0.03702596575021744,
-0.04362647980451584,
-0.012995441444218159,
-0.011698367074131966,
0.011341857723891735,
0.030708899721503258,
-0.0018642618088051677,
0.007538146805018187
] | [
-0.08461316674947739,
-0.034614842385053635,
-0.012733308598399162,
-0.005189273040741682,
0.02386309579014778,
-0.04723573476076126,
-0.03004005365073681,
-0.0013085495447739959,
-0.018756074830889702,
-0.02871130220592022,
0.02015417441725731,
-0.042084503918886185,
0.020330337807536125,
0.00243774033151567,
0.1265447437763214,
-0.012433054856956005,
-0.046868011355400085,
-0.04495569318532944,
-0.028253547847270966,
0.03727542608976364,
0.00552742276340723,
-0.023317905142903328,
-0.0370800755918026,
-0.057454913854599,
0.0003642332449089736,
0.047506920993328094,
0.07832381129264832,
-0.035206813365221024,
-0.012637453153729439,
-0.18615315854549408,
-0.001512069720774889,
0.006258705165237188,
0.028295019641518593,
-0.018895519897341728,
0.014835989102721214,
0.050278086215257645,
0.05157202482223511,
0.024828530848026276,
-0.028364790603518486,
0.012124151922762394,
0.048312775790691376,
0.020758170634508133,
-0.05015985667705536,
-0.04470424726605415,
0.025405526161193848,
-0.015238594263792038,
-0.016985667869448662,
0.00020598480477929115,
-0.026641160249710083,
0.021160976961255074,
-0.044868484139442444,
0.0003403185401111841,
0.02320743352174759,
-0.04667128622531891,
-0.016997860744595528,
0.05020693689584732,
0.041497208178043365,
0.07406143099069595,
0.01810632273554802,
0.012448202818632126,
-0.00864882580935955,
-0.013796932995319366,
-0.1242070272564888,
0.09091760218143463,
0.005277776625007391,
0.013130204752087593,
-0.0013979659415781498,
-0.020257482305169106,
-0.027728313580155373,
0.06582328677177429,
-0.00876981858164072,
-0.019234487786889076,
-0.033764149993658066,
0.07879389077425003,
0.01044157613068819,
-0.05291012302041054,
-0.01583530567586422,
0.003924572374671698,
0.049201600253582,
-0.036218274384737015,
-0.04250791668891907,
-0.0014139001723378897,
-0.026293478906154633,
0.00783574115484953,
-0.03459162637591362,
0.03133266791701317,
-0.001773529453203082,
0.049813371151685715,
0.013010728172957897,
0.031012486666440964,
0.02069256640970707,
-0.026293901726603508,
0.05414611101150513,
0.02624712884426117,
-0.09722114354372025,
0.009431328624486923,
0.005509255453944206,
0.026595739647746086,
-0.027208831161260605,
0.42064711451530457,
-0.03543829545378685,
-0.0026883131358772516,
0.04724800959229469,
0.03197688236832619,
-0.03882678225636482,
0.005404149182140827,
0.007735283579677343,
-0.0297534316778183,
0.02790263667702675,
-0.027584906667470932,
-0.014201129786670208,
-0.01993456855416298,
0.05773371458053589,
-0.09243990480899811,
0.002526059513911605,
-0.008838653564453125,
0.0650150328874588,
0.019753815606236458,
-0.048067498952150345,
0.04659906029701233,
0.03361107409000397,
-0.010081203654408455,
0.04019705578684807,
0.013810388743877411,
-0.02205033227801323,
0.03406664729118347,
-0.0019351309165358543,
0.006927150767296553,
0.049826730042696,
0.006900382228195667,
0.013832016848027706,
-0.01977781392633915,
-0.07882753014564514,
0.03505280241370201,
0.023980088531970978,
0.02706918492913246,
-0.00906420685350895,
-0.07059670984745026,
-0.000036984216421842575,
-0.03002852387726307,
-0.0004048961855005473,
-0.03968833386898041,
0.013401010073721409,
0.014389947056770325,
-0.023800360038876534,
0.08362516760826111,
-0.021290762349963188,
-0.0003969488898292184,
-0.014290092512965202,
-0.025920381769537926,
-0.049440205097198486,
0.038481082767248154,
0.006539506372064352,
-0.0745420753955841,
0.011911734938621521,
0.006124422885477543,
0.10399950295686722,
-0.02028537541627884,
-0.05428237468004227,
0.003560250625014305,
-0.038177844136953354,
-0.015279709361493587,
-0.03723909333348274,
0.05682026222348213,
0.008657772094011307,
-0.0858113244175911,
0.002394194481894374,
0.034949179738759995,
0.03590808063745499,
-0.04445825144648552,
0.01082217413932085,
0.023350706323981285,
0.007067481055855751,
0.008584633469581604,
0.08023951202630997,
-0.02169836312532425,
-0.030101437121629715,
0.021533595398068428,
0.041694410145282745,
0.022102881222963333,
-0.028100598603487015,
0.024234643206000328,
-0.04387170821428299,
-0.0009305148851126432,
-0.023393582552671432,
-0.06895657628774643,
-0.06432648003101349,
-0.01957278698682785,
-0.03551312908530235,
0.024668561294674873,
-0.02034771628677845,
-0.004372184164822102,
-0.054005999118089676,
0.04409298300743103,
-0.04984587803483009,
-0.022369742393493652,
-0.0075566694140434265,
0.040002912282943726,
-0.010267354547977448,
-0.020960627123713493,
0.016150757670402527,
0.03566370904445648,
-0.02314574643969536,
0.033117830753326416,
-0.06844475865364075,
-0.002095238771289587,
0.08055933564901352,
-0.06141715496778488,
0.06906115263700485,
0.049418848007917404,
-0.057294607162475586,
0.0018045509932562709,
0.03379557281732559,
0.006873011123389006,
-0.006733717396855354,
-0.013683322817087173,
-0.031342051923274994,
-0.03092309832572937,
0.06507767736911774,
0.0023013707250356674,
-0.053982220590114594,
-0.04764146730303764,
-0.028416480869054794,
-0.3479554355144501,
-0.010062025859951973,
-0.003901001065969467,
0.009580517187714577,
0.05617188289761543,
-0.08457852900028229,
0.0020753697026520967,
-0.038816194981336594,
-0.021728353574872017,
-0.004933853168040514,
0.10700567066669464,
-0.05593489110469818,
-0.004831674043089151,
-0.05949021503329277,
-0.006623507011681795,
0.03904923424124718,
-0.0018470333889126778,
-0.038360096514225006,
-0.004263522103428841,
0.03279263526201248,
0.0038048927672207355,
-0.0597342774271965,
-0.02593461237847805,
-0.03513495251536369,
-0.007824322208762169,
-0.00952680129557848,
0.08842030167579651,
0.03099161759018898,
0.09136731177568436,
-0.04134252667427063,
0.06637146323919296,
-0.010860069654881954,
-0.01588253863155842,
-0.12513364851474762,
-0.0409424863755703,
-0.049654748290777206,
-0.005600328557193279,
-0.006597011350095272,
0.006895239464938641,
-0.00883758720010519,
-0.03240036591887474,
0.0051084174774587154,
-0.04966747388243675,
-0.031231509521603584,
-0.021691156551241875,
0.02938275970518589,
-0.02431122027337551,
-0.003254437819123268,
0.008187690749764442,
0.04649508371949196,
-0.010499406605958939,
-0.012086213566362858,
0.026649992913007736,
0.025367271155118942,
0.03050518035888672,
-0.019958890974521637,
-0.0371004119515419,
-0.011232776567339897,
0.043857354670763016,
0.0008268909296020865,
0.019605791196227074,
0.06142697483301163,
0.04011311009526253,
-0.042954206466674805,
-0.028099188581109047,
0.007345178630203009,
-0.003058364847674966,
-0.008398786187171936,
-0.004963138606399298,
-0.012288347817957401,
-0.018263090401887894,
0.0804862529039383,
-0.034958720207214355,
0.007310584187507629,
0.03735946863889694,
0.015761760994791985,
-0.04345940798521042,
0.024593982845544815,
0.03052949346601963,
0.0010461302008479834,
0.021842923015356064,
0.0010330408113077283,
0.08214903622865677,
-0.016179397702217102,
0.015582114458084106,
0.051724623888731,
0.009767872281372547,
-0.011620019562542439,
0.04524492844939232,
0.015728341415524483,
-0.02877562865614891,
-0.013591678813099861,
0.0024943018797785044,
-0.012087369337677956,
0.08548293262720108,
0.0011947181774303317,
-0.2767046093940735,
0.042675163596868515,
0.04088985547423363,
0.03748341649770737,
-0.012799414806067944,
0.018678342923521996,
0.006383991800248623,
-0.029211854562163353,
-0.0016923904186114669,
0.03007921576499939,
0.04278789460659027,
0.05027373135089874,
-0.009087793529033661,
0.0029701441526412964,
0.044044725596904755,
-0.02226615510880947,
0.04107559099793434,
0.04067660868167877,
0.025383464992046356,
-0.009674697183072567,
0.011572831310331821,
-0.018413109704852104,
0.17487257719039917,
0.0022145307157188654,
0.002703443169593811,
0.0503510907292366,
0.0051825400441884995,
0.021607408300042152,
0.050732556730508804,
0.025372693315148354,
0.0058829085901379585,
0.02360963635146618,
0.04122547432780266,
0.01898718811571598,
0.034304141998291016,
-0.0469176359474659,
-0.045154571533203125,
0.050988003611564636,
0.011224276386201382,
-0.023526251316070557,
-0.022366253659129143,
0.026347696781158447,
-0.03333299234509468,
0.05325765162706375,
0.06841360032558441,
-0.005492891184985638,
0.012477194890379906,
-0.029275914654135704,
-0.038353174924850464,
0.0017713881097733974,
-0.02743525616824627,
-0.028809774667024612,
-0.02721315808594227,
0.014752763323485851,
-0.009659003466367722,
0.02837992087006569,
0.03960733115673065,
-0.034718193113803864,
-0.013203919865190983,
-0.0008672302355989814,
-0.002119588665664196,
-0.06147453188896179,
0.13756410777568817,
0.0019036034354940057,
-0.01580231823027134
] | [
-0.0035010618157684803,
0.02250349149107933,
0.015746572986245155,
0.011335247196257114,
0.013088441453874111,
-0.013321427628397942,
-0.018161999061703682,
0.0074450247921049595,
-0.006908070296049118,
-0.03848361223936081,
-0.011704700998961926,
0.024539921432733536,
0.0368955135345459,
-0.007991189137101173,
-0.0008920679683797061,
-0.009833317250013351,
-0.02046922966837883,
0.032292190939188004,
0.04343937337398529,
0.01207547914236784,
-0.01544506661593914,
0.004028842784464359,
0.03230379521846771,
-0.001257591531611979,
0.008100269362330437,
0.01592344231903553,
0.006650309544056654,
-0.036972660571336746,
0.021256566047668457,
-0.10466776043176651,
-0.011642196215689182,
0.027143994346261024,
0.013116593472659588,
-0.006575367879122496,
0.0009847863111644983,
0.0323648527264595,
0.02178861014544964,
0.0062421029433608055,
-0.004840291105210781,
0.010448068380355835,
-0.008767327293753624,
-0.0010614763014018536,
0.017929665744304657,
-0.013905071653425694,
-0.004144842736423016,
-0.0020810181740671396,
0.004346397705376148,
-0.03346897289156914,
-0.02947796881198883,
0.007562761195003986,
-0.05065791308879852,
0.0009054284309968352,
-0.02281830459833145,
-0.02512461692094803,
0.021516436710953712,
0.014952941797673702,
-0.047807250171899796,
-0.015975046902894974,
0.004088838584721088,
-0.03767714649438858,
-0.013752981089055538,
-0.005841364618390799,
-0.04208280146121979,
-0.03318646177649498,
0.02464592270553112,
-0.06639277189970016,
0.01019186433404684,
0.0510738380253315,
0.01188765000551939,
0.004634742625057697,
0.016696104779839516,
0.06974462419748306,
-0.057948436588048935,
0.00028558200574479997,
-0.02600369229912758,
0.04130292683839798,
0.03139180690050125,
-0.002711658366024494,
0.012353750877082348,
-0.027270417660474777,
-0.020873546600341797,
0.014228451997041702,
0.017949560657143593,
-0.004380233120173216,
-0.00940502155572176,
-0.008470908738672733,
0.022373946383595467,
0.04918984696269035,
-0.010877738706767559,
-0.01237863302230835,
-0.00321674020960927,
0.01820090226829052,
-0.01077237818390131,
0.0054235211573541164,
-0.09616719186306,
-0.0048110769130289555,
0.0016795385163277388,
0.039626747369766235,
0.03652044013142586,
0.8318567276000977,
0.00032725351047702134,
0.040067560970783234,
-0.01658007688820362,
0.015321962535381317,
0.005736703518778086,
0.005216296296566725,
-0.010915831662714481,
-0.011614103801548481,
-0.015316992998123169,
0.03530710190534592,
0.009514880366623402,
-0.026865070685744286,
0.009348283521831036,
-0.007191235199570656,
0.06448017805814743,
0.040645819157361984,
0.02625928446650505,
0.04513931646943092,
0.012966673821210861,
0.05629277229309082,
0.024954570457339287,
0.008430426940321922,
-0.009729046374559402,
-0.016227759420871735,
-0.02940291538834572,
-0.12730753421783447,
0.0032044227700680494,
-6.480745740529005e-33,
0.0503365620970726,
0.0011729251127690077,
0.061288513243198395,
-0.02887101098895073,
-0.003981462214142084,
-0.010188378393650055,
-0.010338373482227325,
-0.057441290467977524,
-0.009743836708366871,
-0.02811761200428009,
-0.02430608868598938,
-0.015113631263375282,
-0.019342318177223206,
-0.06466515362262726,
0.0022971704602241516,
-0.01661807857453823,
0.010923240333795547,
0.00874075572937727,
0.017878159880638123,
0.01720290631055832,
0.014341702684760094,
0.019153647124767303,
-0.014921988360583782,
-0.01107356883585453,
0.007390831597149372,
-0.021748416125774384,
0.054829005151987076,
0.008138800971210003,
0.01865217462182045,
-0.05137675255537033,
-0.021344054490327835,
0.002329386305063963,
-0.01387276966124773,
0.0008376301848329604,
0.044973716139793396,
-0.03114873357117176,
-0.036718565970659256,
0.024815915152430534,
-0.05755901336669922,
-0.01507519744336605,
-0.027431774884462357,
-0.045424122363328934,
-0.05033985525369644,
-0.01314585842192173,
-0.02527822181582451,
-0.025360876694321632,
0.01681656762957573,
0.015214540995657444,
0.008296322077512741,
0.05392748862504959,
-0.033817801624536514,
0.029171660542488098,
-0.014374633319675922,
-0.026537351310253143,
-0.04636246711015701,
-0.003771418472751975,
-0.012293902225792408,
-0.04642331972718239,
0.009671786800026894,
-0.014868319034576416,
0.029920123517513275,
0.023462863638997078,
-0.003239702433347702,
0.006153554655611515,
-0.02928805537521839,
-0.02820425294339657,
0.018195025622844696,
-0.01831003651022911,
0.01683364063501358,
0.062052737921476364,
-0.023731177672743797,
0.020208751782774925,
-0.007526790723204613,
-0.013250511139631271,
0.030183089897036552,
-0.027270805090665817,
0.045034900307655334,
-0.027105676010251045,
0.007516991812735796,
0.02636612579226494,
0.005324977450072765,
-0.037337999790906906,
0.024817099794745445,
-0.0031816200353205204,
0.010477358475327492,
-0.0047304038889706135,
0.016936538740992546,
0.04398707300424576,
-0.007730172947049141,
-0.003559085074812174,
0.06537182629108429,
-0.005946651566773653,
0.024342861026525497,
-0.02093544229865074,
-0.03816888853907585,
6.754742453446141e-33,
0.038005657494068146,
-0.014582466334104538,
0.007223359774798155,
0.01885642111301422,
-0.008974915370345116,
-0.015824755653738976,
-0.008981307037174702,
0.011979232542216778,
-0.038506750017404556,
0.039335258305072784,
-0.021289899945259094,
-0.0012170937843620777,
-0.0033614684361964464,
0.009998803958296776,
0.07426874339580536,
-0.020385799929499626,
0.02965530753135681,
-0.028678884729743004,
-0.01331327948719263,
-0.004029843956232071,
-0.022160138934850693,
0.013160905800759792,
0.004328092560172081,
0.013072908855974674,
0.03462840989232063,
0.03891663998365402,
0.011047685518860817,
0.017375243827700615,
0.0014608389465138316,
0.008487419225275517,
0.002361615188419819,
-0.048795588314533234,
-0.010998530313372612,
-0.01205783523619175,
-0.02279137261211872,
0.011019932106137276,
-0.012981993146240711,
-0.021030288189649582,
0.030052267014980316,
0.0073324767872691154,
-0.013724838383495808,
0.01772514544427395,
-0.01659887284040451,
0.045886944979429245,
-0.0009000200079753995,
0.018590068444609642,
0.029991090297698975,
0.024509426206350327,
0.020128309726715088,
-0.019355429336428642,
-0.0010813737753778696,
0.02995319850742817,
-0.003868148196488619,
-0.01966095343232155,
0.046379685401916504,
-0.031581807881593704,
-0.02901860512793064,
0.028080493211746216,
-0.016088495030999184,
0.01704668439924717,
-0.049074966460466385,
-0.04506227746605873,
-0.029040498659014702,
-0.0049694599583745,
-0.054947711527347565,
-0.06297455728054047,
-0.01380889117717743,
-0.014620068483054638,
0.022105980664491653,
-0.01872207224369049,
0.0014169900678098202,
0.004399181343615055,
-0.024994337931275368,
0.027313312515616417,
0.016147460788488388,
-0.023375792428851128,
-0.04222824424505234,
0.03949088230729103,
-0.015188275836408138,
0.035079266875982285,
-0.004180720541626215,
0.04243183135986328,
-0.026435062289237976,
0.01830550841987133,
0.013118859380483627,
0.007241300772875547,
-0.035829853266477585,
0.028212344273924828,
0.014316837303340435,
-0.028503378853201866,
0.02485678344964981,
-0.03121677041053772,
-0.0226107370108366,
0.07837095856666565,
-0.04119609668850899,
-1.248885528326582e-8,
-0.006184030789881945,
0.007606137078255415,
-0.02421252429485321,
0.015667028725147247,
0.0020795126911252737,
-0.03214544802904129,
-0.0015806818846613169,
-0.0027069002389907837,
0.010397645644843578,
0.03760075941681862,
0.06643609702587128,
0.0021634832955896854,
-0.011303335428237915,
0.014847790822386742,
0.02157890424132347,
-0.010267466306686401,
0.02376331202685833,
0.0019443380879238248,
0.013480444438755512,
-0.016428466886281967,
0.03505266085267067,
0.024119460955262184,
-0.0026822632644325495,
0.0054209413938224316,
-0.02137383073568344,
0.003933748230338097,
0.0018861941061913967,
-0.051381342113018036,
-0.0024408830795437098,
-0.026227569207549095,
0.005278422497212887,
-0.03260892629623413,
-0.05044877901673317,
-0.02300036884844303,
-0.04731515049934387,
-0.04490352049469948,
-0.008833304047584534,
0.029086753726005554,
0.02224729023873806,
0.04511024430394173,
0.027667732909321785,
0.017512070015072823,
-0.014872261323034763,
-0.021509569138288498,
-0.04793310537934303,
-0.0005691366968676448,
-0.006081763189285994,
-0.03305312246084213,
-0.037840813398361206,
-0.03174341842532158,
0.0062400177121162415,
0.016705557703971863,
0.020010704174637794,
0.04664642736315727,
0.046934857964515686,
0.03795633465051651,
0.008841579779982567,
-0.024235045537352562,
-0.02648266591131687,
-0.008830239996314049,
-0.020419511944055557,
0.007033761125057936,
-0.024648938328027725,
-0.03353368118405342
] | clojure-create-a-directory | https://markhneedham.com/blog/2014/05/24/clojure-create-a-directory |
false | 2014-05-25 22:17:35 | Neo4j: Cypher - Rounding a float value to decimal places | [
"neo4j",
"cypher"
] | [
"neo4j"
] | About 6 months ago http://www.jacqui.tk/[Jacqui Read] created a github issue explaining how she wanted to https://github.com/neo4j/neo4j/issues/1580[round a float value to a number of decimal places] but was unable to do so due to the +++<cite>+++http://docs.neo4j.org/chunked/stable/query-functions-mathematical.html#functions-round[round]+++</cite>+++ function not taking the appropriate parameter.
I found myself wanting to do the same thing last week where I initially had the following value:
[source,cypher]
----
RETURN toFloat("12.336666") AS value
----
I wanted to round that to 2 decimal places and https://twitter.com/wefreema[Wes] suggested multiplying the value before using ROUND and then dividing afterwards to achieve that.
For two decimal places we need to multiply and divide by 100:
[source,cypher]
----
WITH toFloat("12.336666") AS value
RETURN round(100 * value) / 100 AS value
----
[source,bash]
----
12.34
----
https://twitter.com/mesirii[Michael] suggested abstracting the number of decimal places like so:
[source,cypher]
----
WITH 2 as precision
WITH toFloat("12.336666") AS value, 10^precision AS factor
RETURN round(factor * value)/factor AS value
----
If we want to round to 4 decimal places we can easily change that:
[source,cypher]
----
WITH 4 as precision
WITH toFloat("12.336666") AS value, 10^precision AS factor
RETURN round(factor * value)/factor AS value
----
[source,bash]
----
12.3367
----
The code is http://gist.neo4j.org/?0e68a1c6922c04b53af0[available as a graph gist] too if you want to play around with it. And you may as well check out the https://github.com/neo4j-contrib/graphgist/wiki[other gists] while you're at it - enjoy! | null | null | [
0.029156794771552086,
-0.017003275454044342,
0.008976251818239689,
0.043078336864709854,
0.08304417133331299,
0.02351733297109604,
0.030630212277173996,
0.009415996260941029,
0.006384457927197218,
-0.01881292462348938,
0.01402426790446043,
-0.04176466912031174,
-0.06112650781869888,
0.013063885271549225,
-0.006103046704083681,
0.06563028693199158,
0.07228026539087296,
-0.01219140738248825,
-0.0160618107765913,
0.002936245407909155,
0.0005777718615718186,
0.02288171648979187,
-0.003339120652526617,
0.008175237104296684,
0.03160123899579048,
0.015052084811031818,
0.019276902079582214,
-0.028809210285544395,
-0.043468326330184937,
-0.016131605952978134,
0.059226926416158676,
0.047331325709819794,
0.013614585623145103,
-0.020951179787516594,
0.012260607443749905,
0.0012008362682536244,
-0.04510677605867386,
0.015300916507840157,
0.004605188965797424,
-0.012441140599548817,
-0.04870980232954025,
0.015439475886523724,
0.005386896897107363,
0.019291481003165245,
-0.05998025834560394,
-0.01583949849009514,
-0.030883360654115677,
0.01027770433574915,
-0.01985062286257744,
0.024985061958432198,
-0.09267125278711319,
0.04788614436984062,
0.006607756018638611,
-0.014024597592651844,
-0.005024406127631664,
0.06668634712696075,
-0.0012477705022320151,
-0.05540454387664795,
0.03764960169792175,
-0.023929156363010406,
-0.0031224044505506754,
0.0030032109934836626,
-0.006701981648802757,
0.016432983800768852,
-0.0032974989153444767,
-0.03819967061281204,
-0.024454206228256226,
0.05236149579286575,
-0.06338431686162949,
-0.004591141827404499,
0.01148310024291277,
0.012107002548873425,
0.014631432481110096,
-0.03673451393842697,
-0.016457339748740196,
-0.04906974732875824,
-0.018787793815135956,
0.0685165598988533,
0.022333350032567978,
0.056699614971876144,
-0.02633495070040226,
-0.009553762152791023,
0.020972559228539467,
0.016349827870726585,
0.018607836216688156,
-0.0350010059773922,
0.0028454428538680077,
-0.028832970187067986,
-0.0490993857383728,
0.0595737099647522,
0.02755972556769848,
-0.06507418304681778,
0.02799162082374096,
-0.0027252945583313704,
0.00198711222037673,
0.022676946595311165,
-0.006169982720166445,
-0.002986656501889229,
0.04952175170183182,
-0.007262144237756729,
-0.04883910343050957,
-0.030416980385780334,
0.013999897986650467,
0.00138388411141932,
-0.0838351920247078,
-0.007904982194304466,
-0.03391973301768303,
-0.05526045709848404,
0.040279582142829895,
-0.004597102291882038,
-0.03162165731191635,
0.018119584769010544,
-0.010101806372404099,
0.0034269739408046007,
-0.076581671833992,
0.04834737256169319,
0.010621506720781326,
-0.01118977926671505,
-0.03326339274644852,
0.015212001278996468,
0.05250038579106331,
0.018596358597278595,
-0.0034396369010210037,
0.07242967188358307,
-0.011962064541876316,
0.049198344349861145,
0.020144673064351082,
0.051542606204748154,
-0.011142561212182045,
-0.06508556008338928,
-0.009413748048245907,
0.05712031573057175,
-0.021999867632985115,
-0.010379080660641193,
-0.03371480479836464,
-0.04008641093969345,
-0.008877092972397804,
0.0018135426798835397,
0.04880824685096741,
0.014894302003085613,
0.04867241159081459,
-0.056590769439935684,
0.011351113207638264,
-0.010332753881812096,
0.014247816987335682,
0.024751009419560432,
-0.01156564336270094,
-0.03342027962207794,
-0.041010379791259766,
0.012729685753583908,
0.02090928889811039,
0.036026399582624435,
0.043256282806396484,
-0.033586908131837845,
0.021779242902994156,
0.08798200637102127,
0.03196606785058975,
0.0036398593802005053,
-0.03096381574869156,
0.044324349611997604,
0.05796433612704277,
0.011512280441820621,
-0.009752622805535793,
0.050266265869140625,
0.008280678652226925,
-0.016439959406852722,
0.012043982744216919,
0.06971919536590576,
-0.02739492803812027,
0.010275999084115028,
-0.012132192961871624,
-0.039319295436143875,
0.07399415224790573,
-0.034177012741565704,
-0.010296703316271305,
0.02439085952937603,
0.023675112053751945,
-0.002733326517045498,
0.03500163555145264,
-0.005582109093666077,
-0.08134496212005615,
0.061982277780771255,
0.03260352835059166,
0.014490635134279728,
0.009585748426616192,
-0.00009649153798818588,
0.05998290330171585,
0.02170100435614586,
0.014184071682393551,
0.03465903922915459,
-0.08386188000440598,
-0.07063224166631699,
-0.022000394761562347,
-0.002973909256979823,
0.07454818487167358,
-0.022891752421855927,
-0.004033659119158983,
0.0394793301820755,
0.02750016190111637,
0.005069692153483629,
0.008757034316658974,
0.004075178876519203,
0.04362994804978371,
-0.028505802154541016,
-0.027218502014875412,
0.044236425310373306,
0.02432447485625744,
-0.008145316503942013,
-0.02588198520243168,
0.04442800581455231,
-0.015001353807747364,
-0.00015169111429713666,
0.029385145753622055,
-0.027610057964920998,
-0.00803061667829752,
0.01843719743192196,
0.031543124467134476,
-0.020165305584669113,
0.0010354677215218544,
-0.02539144456386566,
0.002649988979101181,
0.024950487539172173,
-0.014608544297516346,
-0.011318727396428585,
-0.010358876548707485,
0.10657777637243271,
0.06464392691850662,
-0.0042464775033295155,
-0.04857579991221428,
0.04567059502005577,
-0.027946408838033676,
-0.03407682478427887,
0.022807175293564796,
-0.006648075766861439,
0.014558477327227592,
-0.020146505907177925,
-0.02770683914422989,
-0.010616891086101532,
0.01339724101126194,
-0.02336946129798889,
0.013752867467701435,
0.06646382063627243,
-0.01879802718758583,
0.05507923662662506,
-0.030099915340542793,
-0.006903831847012043,
-0.018422596156597137,
-0.04336709529161453,
-0.05988968908786774,
-0.009160253219306469,
0.03388442099094391,
0.003214598633348942,
0.024359341710805893,
-0.03329385071992874,
-0.014250117354094982,
-0.027648240327835083,
-0.024347156286239624,
0.046473074704408646,
0.032406169921159744,
0.035191766917705536,
0.0022980468347668648,
0.038749583065509796,
-0.0002594956022221595,
0.00421183044090867,
-0.025276625528931618,
-0.05069882050156593,
-0.054965805262327194,
-0.021813860163092613,
0.0385800302028656,
0.014079052954912186,
0.05523616820573807,
0.0038797189481556416,
0.01590057834982872,
-0.0022184974513947964,
0.0119955874979496,
-0.04708919674158096,
0.03845955803990364,
0.003756627906113863,
-0.0383874736726284,
-0.04318744316697121,
-0.030055729672312737,
0.07292314618825912,
-0.06060551851987839,
-0.03973660245537758,
0.008274232037365437,
-0.03282604366540909,
0.06625394523143768,
-0.05316774547100067,
-0.011382478289306164,
-0.016696756705641747,
0.01775932125747204,
0.05934538319706917,
0.004249902442097664,
0.04521099478006363,
0.08210538327693939,
0.004976693540811539,
0.017120355740189552,
0.02569688856601715,
0.016075024381279945,
0.06370269507169724,
-0.008109272457659245,
0.032449543476104736,
0.05528772249817848,
-0.0016856150468811393,
-0.03112100437283516,
-0.02650424838066101,
-0.016312019899487495,
-0.013115634210407734,
-0.2680376470088959,
0.05184072628617287,
-0.07466565072536469,
-0.0361231192946434,
-0.017411809414625168,
-0.06317894905805588,
0.004277598112821579,
-0.005988115910440683,
-0.028693603351712227,
0.0021190026309341192,
-0.003620478557422757,
-0.04691707342863083,
-0.04087473079562187,
0.0446288138628006,
0.010099975392222404,
0.000550502329133451,
0.02666977420449257,
-0.043506115674972534,
-0.014028694480657578,
0.0308639258146286,
-0.008014285005629063,
-0.028521904721856117,
0.021432433277368546,
0.04017522931098938,
0.01146964356303215,
0.0281817689538002,
-0.06677397340536118,
0.028858192265033722,
-0.07689738273620605,
-0.03881477564573288,
-0.023290559649467468,
-0.0015991638647392392,
0.013146920129656792,
-0.0008320401539094746,
0.007541266735643148,
-0.005942444317042828,
0.018565671518445015,
0.01110589224845171,
0.011162935756146908,
0.025855502113699913,
-0.04049691557884216,
-0.0344180203974247,
0.005328050348907709,
-0.006157536059617996,
0.09747740626335144,
-0.0006321927648968995,
-0.053701773285865784,
0.023561835289001465,
-0.030071793124079704,
0.07689979672431946,
-0.018303949385881424,
-0.034033600240945816,
-0.020629074424505234,
0.0017719498137012124,
-0.014492078684270382,
-0.037296418100595474,
-0.042225491255521774,
-0.022799545899033546,
-0.030905768275260925,
-0.028702257201075554,
0.00885352399200201,
-0.025703437626361847,
0.0008995985263027251,
-0.026383815333247185,
0.002754461020231247,
-0.06743357330560684,
-0.10283387452363968,
-0.03547445312142372,
0.04268830269575119,
0.023922117426991463,
-0.000006988846507738344,
0.05281732976436615,
0.004739474039524794,
-0.09879963099956512,
-0.04900036007165909,
-0.04334127902984619,
0.0017387482803314924,
0.013243871740996838,
-0.02841823734343052,
0.048568110913038254,
-0.07199370861053467,
-0.06518350541591644,
0.010035404935479164,
0.024219630286097527,
0.02281774766743183,
0.006895789876580238,
0.0009677131311036646,
-0.013076253235340118,
-0.029573045670986176,
-0.012408602051436901,
0.0813441202044487,
-0.03420218825340271,
-0.010213956236839294,
-0.01876303367316723,
0.009995967149734497,
-0.015255498699843884,
-0.002930818125605583,
-0.02959933690726757,
0.020985115319490433,
0.03973505273461342,
0.044417671859264374,
-0.03304079547524452,
0.034942615777254105,
-0.04694884270429611,
-0.046560704708099365,
-0.03639785572886467,
-0.06790897995233536,
0.004784295801073313,
0.011517141945660114,
0.011190329678356647,
-0.01437386404722929,
-0.011907593347132206,
0.00627285148948431,
-0.03301933780312538,
-0.04808405786752701,
-0.0025901033077389,
0.009088770486414433,
0.0016476738965138793,
0.024999821558594704,
-0.01700795441865921,
-0.035546667873859406,
0.006845485884696245,
0.006260222289711237,
-0.030456695705652237,
-0.04666227474808693,
-0.02896425873041153,
-0.04121340811252594,
-0.02478528395295143,
0.007667871192097664,
0.023693900555372238,
-0.03258888050913811,
0.06687647104263306,
0.012606089934706688,
-0.013577441684901714,
0.03549303486943245,
-0.0029635238461196423,
-0.012097210623323917,
-0.00819394364953041,
0.042990364134311676,
-0.003173333127051592,
0.008720744401216507,
0.027242986485362053,
0.0032913275063037872,
0.019674697890877724,
0.0250864215195179,
0.0005559658166021109,
0.019486786797642708,
0.0070280879735946655,
0.021296845749020576,
0.014357618056237698,
-0.020126180723309517,
-0.03344431519508362,
0.026118392124772072,
-0.03059753216803074,
-0.024354197084903717,
0.010186377912759781,
0.046766117215156555,
-0.016156990081071854,
-0.021163059398531914,
-0.043769463896751404,
0.014272368513047695,
-0.031998854130506516,
-0.02212895266711712,
-0.024476222693920135,
0.0005938895628787577,
0.05746079608798027,
-0.038930345326662064,
0.041916824877262115,
-0.033680304884910583,
-0.0018707418348640203,
0.020578885450959206,
0.0332004576921463,
-0.006850728299468756,
0.010094846598803997,
-0.014674857258796692,
0.008587416261434555,
-0.010657005943357944,
0.0086152832955122,
0.04075513035058975,
0.011244644410908222,
0.010216820053756237,
-0.02186512015759945,
-0.010072484612464905,
0.00883319042623043,
0.03996172919869423,
0.04977859929203987,
-0.015236791223287582,
0.016934271901845932,
-0.02231147512793541,
-0.016637587919831276,
-0.04525654390454292,
-0.016415147110819817,
-0.04474540799856186,
0.0386304035782814,
-0.045034073293209076,
-0.052080195397138596,
0.02579643577337265,
0.041093938052654266,
-0.005394101608544588,
0.04986165463924408,
0.01303897611796856,
-0.009793649427592754,
-0.031148698180913925,
0.03395016863942146,
0.05305170267820358,
-0.0597342774271965,
-0.0017097616801038384,
0.014839033596217632,
0.01737772859632969,
0.002739867428317666,
0.017969319596886635,
-0.05928507819771767,
-0.026610417291522026,
-0.028342198580503464,
0.02149062231183052,
-0.03317103907465935,
-0.04155254364013672,
0.02089332416653633,
-0.008309916593134403,
-0.034447263926267624,
0.02212056703865528,
0.005922373849898577,
0.00014821089280303568,
-0.04505232721567154,
0.010869745165109634,
0.035334568470716476,
-0.014598817564547062,
0.021484170109033585,
0.033972740173339844,
-0.017370862886309624,
0.016066228970885277,
-0.019905131310224533,
0.02778785489499569,
0.014348022639751434,
0.015157175250351429,
-0.01234398502856493,
-0.08106954395771027,
0.04574225842952728,
-0.059394631534814835,
0.024442274123430252,
-0.017110001295804977,
-0.009413784369826317,
-0.024654913693666458,
0.012835714966058731,
-0.04081299901008606,
-0.0030414096545428038,
-0.00473951268941164,
-0.026478134095668793,
0.005120403598994017,
0.04647784307599068,
0.025700464844703674,
0.035649143159389496,
-0.013812082819640636,
-0.009863313287496567,
0.042559754103422165,
-0.04138123244047165,
-0.022269535809755325,
0.009089305065572262,
-0.028388533741235733,
-0.0065465630032122135,
0.0022404943592846394,
0.03628408908843994,
-0.04647275060415268,
0.052651017904281616,
0.06036865711212158,
0.025360122323036194,
0.03435875475406647,
-0.02793239988386631,
0.012910202145576477,
-0.027121640741825104,
-0.012427900917828083,
-0.0794062688946724,
0.02420026808977127,
0.009985625743865967,
0.02319406345486641,
0.0036163590848445892,
0.014535886235535145,
-0.04984358325600624,
0.00009264270192943513,
-0.09097596257925034,
-0.01310443039983511,
0.031711503863334656,
0.0008309520781040192,
0.014293069951236248,
0.005959318019449711,
-0.07128436863422394,
-0.013843030668795109,
0.04490077868103981,
-0.0349065363407135,
-0.02788562700152397,
-0.03594598546624184,
0.04661878943443298,
-0.01008620299398899,
0.03555365651845932,
-0.030553540214896202,
0.001754310796968639,
0.0780419260263443,
0.041745252907276154,
0.044986989349126816,
0.040496062487363815,
-0.013724833726882935,
0.032816894352436066,
0.042998868972063065,
-0.002866192487999797,
0.013882038183510303,
0.005947834346443415,
-0.027242517098784447,
-0.06531599164009094,
0.04112999513745308,
0.008162591606378555,
-0.041015006601810455,
-0.03364336118102074,
0.06674747914075851,
-0.012569647282361984,
-0.026531334966421127,
-0.055850304663181305,
0.023114651441574097,
0.000166311816428788,
-0.014559910632669926,
-0.02180018462240696,
0.00445097079500556,
-0.023983482271432877,
0.04974554106593132,
-0.02053019031882286,
0.0017593341181054711,
0.0635148137807846,
0.007359540555626154,
-0.0035038581117987633,
0.020167361944913864,
0.10409576445817947,
0.09037833660840988,
0.025301050394773483,
0.002554310718551278,
0.03981684893369675,
0.010940510779619217,
-0.04959134757518768,
0.0025903417263180017,
-0.039543189108371735,
-0.033276721835136414,
-0.02460993267595768,
-0.0015841226559132338,
0.04916341230273247,
-0.010436072945594788,
0.0804130882024765,
-0.024873429909348488,
-0.010051910765469074,
-0.03343939408659935,
-0.015488764271140099,
0.03024294786155224,
0.06840140372514725,
0.038198500871658325,
0.022254517301917076,
-0.05150524899363518,
-0.0411575622856617,
0.029000356793403625,
-0.010013626888394356,
-0.01862243190407753,
0.02152825891971588,
-0.0078286649659276,
0.012021221220493317,
-0.00034380555734969676,
0.027574192732572556,
0.08424162864685059,
-0.04254678636789322,
-0.011449144221842289,
0.037815410643815994,
0.06045733019709587,
0.010630590841174126,
0.022857453674077988,
-0.004518789239227772,
-0.03200731799006462,
-0.013011964038014412,
-0.02593437395989895,
-0.004935051780194044,
-0.007263181731104851,
-0.019205143675208092,
0.011607273481786251,
-0.035976558923721313,
-0.005420438479632139,
0.021496012806892395,
-0.059448741376399994,
-0.034076374024152756,
-0.07077906280755997,
-0.0282162893563509,
-0.06475566327571869,
-0.096516452729702,
0.027973636984825134,
-0.025405047461390495,
-0.014289330691099167,
-0.007154881022870541,
-0.017775872722268105,
-0.044074684381484985,
-0.02869441546499729,
0.02630363218486309,
-0.050266921520233154,
-0.008277041837573051,
0.03495480865240097,
0.022184908390045166,
-0.013303166255354881,
0.029417570680379868,
0.04218350723385811,
0.019416186958551407,
0.020895905792713165,
-0.022956494241952896,
0.01553183700889349,
0.06255390495061874,
0.06878603994846344,
-0.029406219720840454,
-0.06118747964501381,
0.005520645994693041,
0.03616676479578018,
0.011524032801389694,
-0.07349178940057755,
0.015508698299527168,
0.027858363464474678,
0.00338552612811327,
0.020615343004465103,
-0.015361230820417404,
-0.014783908613026142,
-0.023763520643115044,
0.010232944041490555,
0.031043000519275665,
-0.02851412445306778,
0.04431678727269173,
-0.022573960945010185,
0.05792466551065445,
0.027128098532557487,
-0.031523529440164566,
-0.003797652665525675,
-0.03256937861442566,
-0.005575858522206545,
0.01709633693099022,
-0.05988876521587372,
-0.0276586152613163,
-0.056883469223976135,
-0.08822521567344666,
-0.01536605879664421,
-0.024671630933880806,
-0.042073048651218414,
-0.021460043266415596,
0.01644854247570038,
0.03259798139333725,
-0.010881542228162289,
0.0229501910507679,
-0.011101001873612404,
0.04232461750507355,
-0.01164515782147646,
-0.003981010988354683,
-0.024779941886663437,
0.032110199332237244,
0.017076805233955383,
0.013188420794904232,
0.021701058372855186,
-0.07083303481340408,
0.008208542130887508,
-0.032126639038324356,
0.020589081570506096,
0.02074328437447548,
0.04588015004992485,
0.038744233548641205
] | [
-0.05849198251962662,
-0.03301140293478966,
-0.05096138268709183,
-0.03221961855888367,
0.022874869406223297,
-0.03334430232644081,
-0.02093946933746338,
0.03660694882273674,
0.015428945422172546,
0.015402844175696373,
0.02399643324315548,
-0.047092534601688385,
0.007152610924094915,
0.01990192010998726,
0.059631068259477615,
-0.02003638446331024,
-0.05749557539820671,
-0.04953427612781525,
-0.022444164380431175,
0.035136837512254715,
0.001417122082784772,
-0.042270489037036896,
-0.0036728628911077976,
-0.03012738563120365,
0.029328886419534683,
0.03497297689318657,
0.0020165503956377506,
-0.04869692400097847,
-0.020605778321623802,
-0.22571006417274475,
0.006852302700281143,
0.05630951374769211,
-0.0020376876927912235,
-0.04607553780078888,
-0.014928455464541912,
0.022217053920030594,
0.03885937109589577,
-0.011942055076360703,
0.037817779928445816,
0.06114405393600464,
0.030589789152145386,
0.033457912504673004,
-0.03956779092550278,
-0.014915402978658676,
0.028012102469801903,
0.03715072199702263,
-0.02827814407646656,
0.008748085238039494,
-0.006750154308974743,
0.03993416950106621,
-0.004747822880744934,
-0.00716825108975172,
-0.01754208281636238,
0.02509763464331627,
0.0004373776027932763,
0.029860878363251686,
0.03276101127266884,
0.09057380259037018,
0.029276853427290916,
0.030308669432997704,
0.03829878941178322,
0.0009854173986241221,
-0.13571813702583313,
0.06552493572235107,
0.025832712650299072,
-0.01063764188438654,
-0.02234179899096489,
-0.050071556121110916,
-0.04892100393772125,
0.08689065277576447,
0.03766214847564697,
0.012636289931833744,
-0.05116128548979759,
0.04931587353348732,
-0.00019844614143949002,
-0.0051938495598733425,
-0.03639274835586548,
0.002979888115078211,
0.04455922916531563,
-0.020353656262159348,
-0.01963767223060131,
0.036925915628671646,
-0.033445846289396286,
0.0017020022496581078,
-0.006414741277694702,
0.02564864605665207,
0.02499101497232914,
0.06530427932739258,
-0.004213881678879261,
0.01552786584943533,
0.03366273641586304,
0.010166295804083347,
0.022151803597807884,
0.06501827389001846,
-0.047550980001688004,
-0.009641428478062153,
0.023308882489800453,
0.026731058955192566,
0.0010650015901774168,
0.36244410276412964,
0.04331902042031288,
0.01349021214991808,
-0.024609431624412537,
0.04171397536993027,
-0.023149555549025536,
-0.03869940713047981,
-0.0014120670966804028,
-0.06162034720182419,
0.02877226285636425,
-0.03226831927895546,
0.015453980304300785,
-0.011355065740644932,
0.037812739610672,
-0.10436482727527618,
-0.015875717625021935,
0.0195731520652771,
0.03305651247501373,
-0.002537846565246582,
0.005348595790565014,
-0.011990148574113846,
-0.01081736758351326,
0.025057895109057426,
0.03063715435564518,
0.01981561817228794,
0.021225329488515854,
0.01827622763812542,
-0.03048265539109707,
0.05210016667842865,
0.038712259382009506,
0.0490201897919178,
0.031214367598295212,
-0.04039087891578674,
-0.08538775146007538,
0.023038072511553764,
-0.00932861678302288,
0.03418392315506935,
0.014757946133613586,
-0.026428962126374245,
-0.002002239227294922,
0.016784420236945152,
-0.0362418070435524,
-0.040620531886816025,
-0.005543648265302181,
0.022840753197669983,
-0.0011734978761523962,
0.14159901440143585,
-0.022375479340553284,
-0.06367156654596329,
-0.003812688635662198,
-0.0787486732006073,
-0.0013351418310776353,
0.025503747165203094,
-0.027526259422302246,
-0.033847905695438385,
-0.027075674384832382,
0.021015476435422897,
0.09258481860160828,
-0.020158981904387474,
-0.06427782773971558,
-0.01109002809971571,
-0.03618394955992699,
-0.029666848480701447,
-0.05542651563882828,
0.09707904607057571,
0.027061348780989647,
-0.07318999618291855,
-0.009050345979630947,
0.022357096895575523,
-0.010130012407898903,
-0.05593888461589813,
0.033344391733407974,
-0.009209882467985153,
-0.061880625784397125,
-0.02758035436272621,
0.13930052518844604,
0.004178003408014774,
-0.000003156890443278826,
-0.015610899776220322,
0.05210922285914421,
0.024244869127869606,
0.03505173698067665,
-0.006023050751537085,
-0.025782166048884392,
-0.005905195139348507,
-0.06806909292936325,
-0.07384651154279709,
-0.0912378653883934,
0.015683365985751152,
-0.04122941195964813,
-0.022396866232156754,
-0.009868972934782505,
-0.013668335974216461,
-0.08718060702085495,
0.08891031891107559,
-0.036224450916051865,
-0.041705694049596786,
0.004296612925827503,
0.02819056063890457,
0.007215897087007761,
-0.020416952669620514,
0.024544483050704002,
0.03529064729809761,
-0.011165125295519829,
0.014565493911504745,
-0.016608981415629387,
0.022974727675318718,
0.10029342770576477,
-0.05609728768467903,
0.039376262575387955,
0.0649997815489769,
-0.0313282236456871,
0.010282021947205067,
-0.017366377636790276,
0.02278059534728527,
0.00005033765410189517,
0.012050315737724304,
0.03005935251712799,
-0.026317212730646133,
-0.014871135354042053,
0.0418982096016407,
-0.029123583808541298,
-0.08071447908878326,
-0.06916380673646927,
-0.3547225594520569,
-0.06690362840890884,
-0.016823578625917435,
-0.050295475870370865,
0.0635230615735054,
-0.02365078404545784,
0.012999988161027431,
0.006910927593708038,
-0.02493816427886486,
0.06705830246210098,
0.05090273916721344,
-0.03485901281237602,
-0.02656945399940014,
-0.10432177037000656,
0.007663409225642681,
0.02372986450791359,
-0.013234228827059269,
-0.005671511869877577,
-0.007727511692792177,
-0.011965695768594742,
-0.0024112947285175323,
-0.04127531126141548,
-0.06044197827577591,
-0.041421156376600266,
0.0035077363718301058,
-0.007199731655418873,
0.09423017501831055,
-0.024442069232463837,
-0.016955291852355003,
-0.036050476133823395,
0.05310075357556343,
-0.0031915903091430664,
0.004582359455525875,
0.0003450871736276895,
-0.002228246070444584,
-0.029357703402638435,
0.02769128978252411,
0.030935999006032944,
-0.0297962948679924,
0.010480319149792194,
-0.004635802004486322,
-0.001884149038232863,
-0.05117141455411911,
-0.04607750102877617,
-0.03296858072280884,
0.025698112323880196,
-0.02925334870815277,
0.003419256303459406,
0.04384690895676613,
0.0815136581659317,
-0.00473882956430316,
0.028959866613149643,
-0.02474803663790226,
-0.00008991810318548232,
0.04102889448404312,
-0.01516564842313528,
-0.01934397593140602,
0.006861361209303141,
0.018794424831867218,
-0.007988830097019672,
0.005469118244946003,
0.009825115092098713,
0.0652906745672226,
-0.06112421676516533,
0.0011090481420978904,
0.018716411665081978,
-0.02018158510327339,
-0.012119158171117306,
0.018515609204769135,
-0.0319705568253994,
0.007216759491711855,
0.09525013715028763,
0.0053079985082149506,
0.044038303196430206,
0.033917736262083054,
0.03443102911114693,
-0.001538578886538744,
0.03813650459051132,
0.04472826421260834,
0.019825663417577744,
0.04533950984477997,
-0.02921055071055889,
0.029293103143572807,
-0.023189114406704903,
-0.009684260934591293,
0.016071930527687073,
-0.015133258886635303,
-0.03772462159395218,
0.024648316204547882,
-0.0016570984153077006,
-0.048530213534832,
-0.015111290849745274,
0.0010301072616130114,
-0.015026362612843513,
0.05296575278043747,
-0.017737025395035744,
-0.2705528140068054,
0.039591532200574875,
0.03331587463617325,
0.047034990042448044,
0.014423866756260395,
0.02310735173523426,
0.036939531564712524,
-0.025858409702777863,
-0.06870080530643463,
0.007571210153400898,
0.015838226303458214,
0.048420678824186325,
0.0037679176311939955,
-0.01246149092912674,
0.025581758469343185,
-0.03243941813707352,
-0.019283052533864975,
0.018616370856761932,
0.02915206179022789,
0.0037286432925611734,
0.07524696737527847,
-0.013888902962207794,
0.20316258072853088,
0.013091877102851868,
-0.004118621349334717,
0.00798441469669342,
-0.014073965139687061,
-0.008855985477566719,
0.1086241751909256,
0.0059305112808942795,
-0.06494448333978653,
0.053086258471012115,
0.006559799890965223,
-0.0028001933824270964,
-0.002594589488580823,
-0.027565056458115578,
-0.03834904730319977,
0.02850663661956787,
0.004116593860089779,
-0.035013142973184586,
0.02121713012456894,
0.01923196017742157,
-0.04301417991518974,
0.042039792984724045,
0.07175160199403763,
-0.023589415475726128,
0.017366483807563782,
-0.027845919132232666,
-0.015606713481247425,
-0.023884795606136322,
-0.03754795715212822,
-0.009606334380805492,
0.004273907747119665,
-0.053210821002721786,
0.00965367816388607,
0.06544999778270721,
-0.00524676451459527,
-0.02048197016119957,
0.01691839098930359,
0.003716621082276106,
-0.04369205981492996,
-0.054019249975681305,
0.10055595636367798,
-0.0261251050978899,
0.023979544639587402
] | [
0.020385796204209328,
0.07101580500602722,
-0.053869374096393585,
0.008504288271069527,
-0.0005044956342317164,
-0.02302628569304943,
0.01670026406645775,
0.024353567510843277,
0.01596536487340927,
-0.012605452910065651,
-0.04989179968833923,
0.01647013984620571,
0.05557975918054581,
0.01186983659863472,
0.021414458751678467,
-0.04468869790434837,
-0.04390563815832138,
0.05754430964589119,
0.013926411978900433,
-0.024872172623872757,
-0.041603028774261475,
-0.017753850668668747,
0.03858593478798866,
0.01673101633787155,
0.03113909624516964,
-0.013894513249397278,
-0.000972918642219156,
0.015750054270029068,
0.028668686747550964,
-0.1252433806657791,
-0.026955068111419678,
0.00620808731764555,
-0.012264318764209747,
-0.012215488590300083,
-0.03144119679927826,
-0.011509775184094906,
0.03488857299089432,
0.04302308335900307,
-0.01596880331635475,
0.02438022382557392,
-0.0008204143377952278,
0.004581029526889324,
0.027475813403725624,
0.017231596633791924,
0.02283485233783722,
-0.038698505610227585,
-0.03171684220433235,
-0.003298314521089196,
-0.01491398736834526,
0.014601490460336208,
-0.009057492949068546,
-0.013803623616695404,
-0.03883485496044159,
0.013087112456560135,
-0.014578765258193016,
-0.013784129172563553,
-0.019097501412034035,
-0.027026407420635223,
0.025104139000177383,
-0.014297720044851303,
-0.02042478322982788,
-0.01208343543112278,
-0.06681998819112778,
-0.028185978531837463,
-0.0014941206900402904,
-0.012676834128797054,
-0.01480589248239994,
-0.020137062296271324,
0.0024238042533397675,
0.012097482569515705,
0.016790607944130898,
0.04154161363840103,
-0.054323527961969376,
-0.039984993636608124,
-0.014570421539247036,
0.013912053778767586,
0.0020405647810548544,
-0.022407228127121925,
-0.0009937523864209652,
0.02416667528450489,
-0.003903909120708704,
0.0017009683651849627,
0.0063931820914149284,
-0.008828948251903057,
-0.011023465543985367,
-0.02854428067803383,
0.005272177513688803,
0.02086535468697548,
0.0005481659318320453,
0.02887004055082798,
-0.01707238145172596,
0.0377211794257164,
-0.033282406628131866,
-0.011311488226056099,
-0.05833401530981064,
-0.011517469771206379,
0.013304660096764565,
0.000595922872889787,
0.014791198074817657,
0.8286401033401489,
0.05399781093001366,
-0.015468520112335682,
0.01673256605863571,
0.006949036382138729,
0.029909655451774597,
0.017121179029345512,
0.04116536304354668,
0.04130958765745163,
0.02577660232782364,
-0.012653833255171776,
-0.03147728368639946,
0.009146658703684807,
0.02102619782090187,
0.004811947233974934,
0.03042747639119625,
0.06179186329245567,
0.03228031098842621,
-0.05560235306620598,
-0.02717157080769539,
-0.01306117232888937,
0.021126657724380493,
0.042737871408462524,
-0.002932943869382143,
0.028113314881920815,
0.021091589704155922,
-0.13273261487483978,
-0.03869956359267235,
-6.100350625815128e-33,
0.02279776893556118,
-0.002230734098702669,
0.03918791934847832,
-0.008178128860890865,
-0.009510114789009094,
0.025417223572731018,
-0.003929734695702791,
-0.042337723076343536,
-0.014098098501563072,
-0.056255828589200974,
-0.0030865923035889864,
0.02007761225104332,
-0.02023591287434101,
-0.037962257862091064,
0.015389665961265564,
-0.05457910895347595,
0.027486542239785194,
0.008174877613782883,
0.0027414553333073854,
-0.001318276859819889,
0.00997481495141983,
0.009724685922265053,
-0.025588490068912506,
0.05782215669751167,
0.044830553233623505,
0.05743137001991272,
-0.02336782217025757,
0.02446354180574417,
-0.009789898991584778,
-0.04025784507393837,
-0.02568984404206276,
0.02196861058473587,
-0.021899381652474403,
-0.012672762386500835,
0.03635029494762421,
-0.04668784886598587,
0.020387060940265656,
0.016716929152607918,
-0.012492264620959759,
-0.05323716998100281,
-0.05739174783229828,
0.0026062766555696726,
-0.011810347437858582,
-0.008722630329430103,
-0.01142612099647522,
-0.023013025522232056,
0.0002630903909448534,
0.05970018357038498,
0.04188292473554611,
-0.006772944703698158,
-0.015533765777945518,
0.05484915152192116,
-0.016060002148151398,
0.011742440983653069,
-0.02273465506732464,
0.00159582553897053,
0.020060919225215912,
-0.01966642215847969,
-0.037936970591545105,
0.026239056140184402,
0.03640905022621155,
0.033261530101299286,
-0.021633019670844078,
0.01680472306907177,
-0.018789295107126236,
0.0006862811860628426,
-0.00516734691336751,
0.0039681135676801205,
0.008284070529043674,
0.07556533068418503,
-0.0314190611243248,
0.0661570355296135,
-0.007186386734247208,
-0.002960340352728963,
0.024085748940706253,
-0.03370991349220276,
-0.011073831468820572,
-0.02918224036693573,
0.0005054736393503845,
0.026757869869470596,
0.009826249442994595,
-0.014220139011740685,
0.00833979994058609,
-0.012122200801968575,
-0.019597608596086502,
-0.01412543747574091,
0.027703644707798958,
0.020386051386594772,
-0.012527748011052608,
-0.003153510857373476,
0.03940695524215698,
-0.012871860526502132,
-0.002557109110057354,
-0.01857048086822033,
-0.04210137575864792,
6.369937030864773e-33,
-0.047960519790649414,
0.0012953614350408316,
-0.045550160109996796,
0.06015130877494812,
0.016589341685175896,
0.0251126941293478,
0.012306003831326962,
-0.03330996632575989,
0.019321640953421593,
0.02063601091504097,
-0.01532723568379879,
-0.016147011891007423,
-0.0199294276535511,
0.010584103874862194,
0.07655667513608932,
-0.026368221268057823,
0.004037645645439625,
-0.0043757460080087185,
0.01831245608627796,
0.02749653346836567,
-0.0005498241516761482,
-0.016619602218270302,
-0.013225804083049297,
0.01752326823771,
-0.0015692695742473006,
0.03451187536120415,
-0.015325617976486683,
-0.016505112871527672,
-0.010015061125159264,
0.021340159699320793,
-0.031388379633426666,
-0.05609245225787163,
-0.0009782464476302266,
-0.05050070583820343,
0.009586125612258911,
-0.01403260137885809,
0.006947324611246586,
-0.00350990891456604,
-0.002946331165730953,
0.010694757103919983,
0.03717513754963875,
-0.027268556877970695,
-0.026019688695669174,
0.049650613218545914,
-0.006115160882472992,
-0.008530785329639912,
0.043340060859918594,
0.01947651617228985,
0.00847874116152525,
-0.006651160307228565,
0.010543260723352432,
-0.008849328383803368,
-0.011113264597952366,
0.05836047977209091,
0.008564849384129047,
-0.034364666789770126,
-0.004219800233840942,
0.04094250872731209,
-0.006574793253093958,
0.013935154303908348,
-0.04845515266060829,
0.009790151380002499,
-0.015385476872324944,
0.0056893364526331425,
-0.008616055361926556,
0.00867148581892252,
-0.018600668758153915,
-0.0013751183869317174,
-0.03454964607954025,
0.01864311657845974,
0.002543635433539748,
0.01578332483768463,
0.012517517432570457,
0.03311169147491455,
-0.0007958937203511596,
-0.023606043308973312,
-0.032793473452329636,
0.020860394462943077,
0.0008893260383047163,
0.011255139485001564,
0.0419316440820694,
0.02613995596766472,
0.02252727933228016,
-0.008636876940727234,
-0.00701037235558033,
-0.01915421523153782,
-0.02751854620873928,
0.026357190683484077,
-0.01782451756298542,
-0.027205239981412888,
0.007379409857094288,
0.007252041716128588,
-0.02948431856930256,
0.04621855914592743,
0.011194176971912384,
-1.2217799216784897e-8,
-0.028336673974990845,
0.0023295306600630283,
-0.028792908415198326,
0.009168379008769989,
0.002449030987918377,
0.03253208100795746,
0.010807412676513195,
-0.004015312530100346,
-0.010479924269020557,
0.011543666943907738,
0.027615895494818687,
0.0168390404433012,
0.025492656975984573,
-0.043347179889678955,
-0.011746078729629517,
-0.036707211285829544,
0.007701656315475702,
-0.022099869325757027,
0.029433608055114746,
0.011745193041861057,
-0.017207976430654526,
0.04580649733543396,
-0.03867911547422409,
-0.03961668908596039,
-0.02360660210251808,
-0.018492965027689934,
0.0025913522113114595,
-0.018891574814915657,
0.0160208847373724,
-0.014952234923839569,
-0.013822740875184536,
-0.02151861973106861,
-0.06202877312898636,
0.033562421798706055,
-0.037534523755311966,
-0.048473358154296875,
0.018342357128858566,
0.024907557293772697,
0.036350369453430176,
0.04729504883289337,
-0.05008755624294281,
0.003201285609975457,
-0.03194952383637428,
-0.02416219562292099,
-0.039399899542331696,
0.0007173259509727359,
-0.02650534361600876,
-0.0067468141205608845,
0.02799340896308422,
-0.01636035367846489,
-0.005761656444519758,
0.02864774316549301,
0.0010522750671952963,
0.04192846640944481,
0.01929721049964428,
0.009472006931900978,
0.007929105311632156,
-0.05239758640527725,
-0.03682934492826462,
-0.013281548395752907,
-0.013735851272940636,
-0.009208082221448421,
-0.008616042323410511,
0.0011136267567053437
] | neo4j-cypher-rounding-a-float-value-to-decimal-places | https://markhneedham.com/blog/2014/05/25/neo4j-cypher-rounding-a-float-value-to-decimal-places |
false | 2014-05-25 10:48:39 | Neo4j 2.1: Passing around node ids vs UNWIND | [
"neo4j",
"cypher"
] | [
"neo4j"
] | When Neo4j 2.1 is released we'll have the http://docs.neo4j.org/chunked/milestone/query-unwind.html[UNWIND] clause which makes working with collections of things easier.
In my blog post about http://www.markhneedham.com/blog/2014/05/20/neo4j-2-0-creating-adjacency-matrices/[creating adjacency matrices] we wanted to show how many people were members of the first 5 meetup groups ordered alphabetically and then check how many were members of each of the other groups.
Without the UNWIND clause we'd have to do this:
[source,cypher]
----
MATCH (g:Group)
WITH g
ORDER BY g.name
LIMIT 5
WITH COLLECT(id(g)) AS groups
MATCH (g1) WHERE id(g1) IN groups
MATCH (g2) WHERE id(g2) IN groups
OPTIONAL MATCH path = (g1)<-[:MEMBER_OF]-()-[:MEMBER_OF]->(g2)
RETURN g1.name, g2.name, CASE WHEN path is null THEN 0 ELSE COUNT(path) END AS overlap
----
Here we get the first 5 groups, put their IDs into a collection and then create a cartesian product of groups by doing back to back MATCH's with a node id lookup.
If instead of passing around node ids in 'groups' we pass around nodes and then used those in the MATCH step we'd end up doing a full node scan which becomes very slow as the store grows.
e.g. this version would be very slow
[source,cypher]
----
MATCH (g:Group)
WITH g
ORDER BY g.name
LIMIT 5
WITH COLLECT(g) AS groups
MATCH (g1) WHERE g1 IN groups
MATCH (g2) WHERE g2 IN groups
OPTIONAL MATCH path = (g1)<-[:MEMBER_OF]-()-[:MEMBER_OF]->(g2)
RETURN g1.name, g2.name, CASE WHEN path is null THEN 0 ELSE COUNT(path) END AS overlap
----
This is the output from the original query:
[source,bash]
----
+-------------------------------------------------------------------------------------------------------------+
| g1.name | g2.name | overlap |
+-------------------------------------------------------------------------------------------------------------+
| "Big Data Developers in London" | "Big Data / Data Science / Data Analytics Jobs" | 17 |
| "Big Data Jobs in London" | "Big Data London" | 190 |
| "Big Data London" | "Big Data Developers in London" | 244 |
| "Cassandra London" | "Big Data / Data Science / Data Analytics Jobs" | 16 |
| "Big Data Jobs in London" | "Big Data Developers in London" | 52 |
| "Cassandra London" | "Cassandra London" | 0 |
| "Big Data London" | "Big Data / Data Science / Data Analytics Jobs" | 36 |
| "Big Data London" | "Cassandra London" | 422 |
| "Big Data Jobs in London" | "Big Data Jobs in London" | 0 |
| "Big Data / Data Science / Data Analytics Jobs" | "Big Data / Data Science / Data Analytics Jobs" | 0 |
| "Big Data Jobs in London" | "Cassandra London" | 74 |
| "Big Data Developers in London" | "Big Data London" | 244 |
| "Cassandra London" | "Big Data Jobs in London" | 74 |
| "Cassandra London" | "Big Data London" | 422 |
| "Big Data / Data Science / Data Analytics Jobs" | "Big Data London" | 36 |
| "Big Data Jobs in London" | "Big Data / Data Science / Data Analytics Jobs" | 20 |
| "Big Data Developers in London" | "Big Data Jobs in London" | 52 |
| "Cassandra London" | "Big Data Developers in London" | 69 |
| "Big Data / Data Science / Data Analytics Jobs" | "Big Data Jobs in London" | 20 |
| "Big Data Developers in London" | "Big Data Developers in London" | 0 |
| "Big Data Developers in London" | "Cassandra London" | 69 |
| "Big Data / Data Science / Data Analytics Jobs" | "Big Data Developers in London" | 17 |
| "Big Data London" | "Big Data Jobs in London" | 190 |
| "Big Data / Data Science / Data Analytics Jobs" | "Cassandra London" | 16 |
| "Big Data London" | "Big Data London" | 0 |
+-------------------------------------------------------------------------------------------------------------+
25 rows
----
If we use UNWIND we don't need to pass around node ids anymore, instead we can collect up the nodes into a collection and then explode them out into a cartesian product:
[source,cypher]
----
MATCH (g:Group)
WITH g
ORDER BY g.name
LIMIT 5
WITH COLLECT(g) AS groups
UNWIND groups AS g1
UNWIND groups AS g2
OPTIONAL MATCH path = (g1)<-[:MEMBER_OF]-()-[:MEMBER_OF]->(g2)
RETURN g1.name, g2.name, CASE WHEN path is null THEN 0 ELSE COUNT(path) END AS overlap
----
There's not significantly less code but I think the intent of the query is a bit clearer using UNWIND.
I'm looking forward to seeing the innovative uses of UNWIND people come up with once 2.1 is GA. | null | null | [
-0.003273407695814967,
-0.048631586134433746,
0.026843024417757988,
-0.005470755510032177,
0.07254581898450851,
-0.05986164137721062,
0.04327048733830452,
0.022370295599102974,
0.017045114189386368,
-0.012388834729790688,
-0.01751287281513214,
-0.004562653135508299,
-0.07767824828624725,
0.03258660063147545,
0.0070812576450407505,
0.05857905372977257,
0.07843679189682007,
0.00904682744294405,
-0.007518111728131771,
-0.026845036074519157,
0.03101233020424843,
0.03697429597377777,
0.00038426622631959617,
0.03377368673682213,
0.0563807338476181,
0.01390361413359642,
0.009623857215046883,
-0.012054488062858582,
-0.029933545738458633,
0.03209897503256798,
0.05539263039827347,
-0.0004323931934777647,
0.027132602408528328,
-0.003965380135923624,
0.018181031569838524,
-0.01216393057256937,
-0.04706186801195145,
0.027279332280158997,
-0.0045717013999819756,
-0.01146656833589077,
-0.04824348911643028,
0.020318590104579926,
-0.020361267030239105,
-0.0003705076815094799,
-0.03454083949327469,
0.02542576938867569,
-0.058153897523880005,
0.035211145877838135,
-0.0009977458976209164,
-0.00006363342981785536,
-0.09069470316171646,
-0.0018632222199812531,
-0.002352752024307847,
0.01729491353034973,
0.015220862813293934,
0.046416815370321274,
0.021779684349894524,
-0.031671490520238876,
0.0684751495718956,
-0.011833332479000092,
0.01223552506417036,
-0.006630087736994028,
-0.004773734603077173,
0.03602094575762749,
-0.015476723201572895,
-0.05564413592219353,
0.013129130937159061,
0.058075301349163055,
-0.021718164905905724,
-0.018570689484477043,
-0.003905955469235778,
0.008653090335428715,
-0.0066759223118424416,
-0.006964441854506731,
-0.00023003830574452877,
-0.009609292261302471,
0.01842171885073185,
0.023200377821922302,
0.048013657331466675,
0.051035765558481216,
-0.011196771636605263,
0.005065940786153078,
0.028330713510513306,
0.030103689059615135,
-0.016827480867505074,
-0.04863608628511429,
-0.019405461847782135,
-0.023508744314312935,
-0.04623247683048248,
0.06948423385620117,
-0.0037068116944283247,
-0.04867151752114296,
-0.006544155068695545,
0.0019280968699604273,
-0.029093004763126373,
0.0016066196840256453,
-0.00007124119292711839,
0.013711647130548954,
0.03359103947877884,
0.014928821474313736,
-0.02046983875334263,
-0.035039398819208145,
-0.012802112847566605,
-0.018318578600883484,
-0.07494056969881058,
-0.014815949834883213,
-0.028194477781653404,
-0.009878693148493767,
-0.000923898711334914,
-0.01968301460146904,
-0.04311797767877579,
0.00394173851236701,
-0.028660675510764122,
0.04467126354575157,
-0.08394694328308105,
0.06122822314500809,
0.03727000951766968,
-0.0150313014164567,
-0.017829464748501778,
0.005197001155465841,
0.035631388425827026,
0.026186317205429077,
0.010346150025725365,
0.05557051673531532,
-0.03814263641834259,
0.046925224363803864,
0.002050975803285837,
0.04511800780892372,
-0.05459152162075043,
-0.07304764539003372,
-0.01404435746371746,
0.07034026831388474,
0.000009781287189980503,
0.022732466459274292,
-0.010545110329985619,
-0.07101090252399445,
-0.012296241708099842,
0.005370741244405508,
0.04816161096096039,
0.032065700739622116,
0.007332334760576487,
-0.03506118804216385,
0.03918997570872307,
-0.011931032873690128,
0.031243110075592995,
0.011478560045361519,
-0.05690251290798187,
-0.056198228150606155,
-0.028622757643461227,
0.006227497011423111,
0.024482756853103638,
0.02714686095714569,
0.03832082450389862,
-0.037142571061849594,
0.020866580307483673,
0.11602350324392319,
0.03868153691291809,
-0.005927335470914841,
-0.012080834247171879,
0.0010947209084406495,
0.034089647233486176,
0.039535705000162125,
0.009781095199286938,
0.05741090327501297,
0.011724667623639107,
-0.0025851784739643335,
0.010559853166341782,
0.06629065424203873,
-0.001812740694731474,
-0.005879014264792204,
-0.04132026806473732,
-0.06839644908905029,
0.04405132681131363,
-0.05774691328406334,
-0.0134566156193614,
0.016518788412213326,
0.06658049672842026,
0.03263860568404198,
0.00696644838899374,
-0.0038857278414070606,
-0.06803713738918304,
0.061106327921152115,
-0.0008543682051822543,
0.002168082632124424,
0.0032979559618979692,
0.005962911527603865,
0.06833942234516144,
0.04305661469697952,
0.007207273039966822,
0.03502422943711281,
-0.0923723354935646,
-0.06380350142717361,
0.015411840751767159,
-0.020776351913809776,
0.029446320608258247,
-0.0326656848192215,
0.023693006485700607,
0.05667275935411453,
-0.01502244733273983,
0.0353524424135685,
0.02246987260878086,
0.0026997204404324293,
0.042879629880189896,
-0.055253803730010986,
-0.0518920011818409,
0.07798804342746735,
0.02388702519237995,
-0.08860078454017639,
-0.05098966509103775,
0.047627393156290054,
-0.004074844531714916,
0.022268518805503845,
0.001097320462577045,
-0.01997297815978527,
0.031195154413580894,
0.031265899538993835,
0.03479618951678276,
-0.008655008859932423,
0.02460922673344612,
-0.029168184846639633,
0.04717705771327019,
0.02392352558672428,
-0.05127185210585594,
-0.013444587588310242,
0.007394924759864807,
0.09778246283531189,
0.036361876875162125,
-0.020605986937880516,
-0.04315878450870514,
0.04855649173259735,
0.0029208313208073378,
-0.01967744529247284,
0.037840019911527634,
-0.018958143889904022,
0.0041930777952075005,
-0.009249089285731316,
-0.01797136478126049,
-0.01961449161171913,
0.021128429099917412,
-0.028667857870459557,
-0.0009466882329434156,
0.034973643720149994,
-0.013029257766902447,
0.05261557921767235,
0.0254987720400095,
-0.031483422964811325,
0.011151333339512348,
-0.06704529374837875,
-0.040420543402433395,
0.04008413851261139,
0.03810729831457138,
-0.005665838252753019,
0.06569797545671463,
-0.0341411754488945,
-0.012918730266392231,
-0.018309639766812325,
-0.009721114300191402,
0.033114779740571976,
0.040620122104883194,
0.03120606020092964,
-0.005449660122394562,
0.05080070346593857,
-0.04830310493707657,
-0.036385491490364075,
-0.021726280450820923,
-0.04288716986775398,
-0.04282847419381142,
-0.01662266254425049,
0.03695450723171234,
-0.0037586253602057695,
0.009400018490850925,
-0.03268437087535858,
0.02463793195784092,
0.008848413825035095,
0.0044574192725121975,
-0.023029740899801254,
0.02613125741481781,
0.00023049567244015634,
-0.030171656981110573,
-0.04057973250746727,
-0.022730940952897072,
0.05277145653963089,
-0.050632406026124954,
-0.04899580404162407,
-0.01840353198349476,
-0.050232142210006714,
0.07729389518499374,
-0.047155868262052536,
-0.039511408656835556,
0.009405761957168579,
0.0635569617152214,
0.03843880072236061,
0.0062480210326612,
0.008732248097658157,
0.07217641174793243,
0.028581062331795692,
0.011111661791801453,
0.033856961876153946,
0.00017577683320268989,
0.048597823828458786,
-0.008892527781426907,
0.008654458448290825,
0.03687220439314842,
-0.04039280116558075,
-0.005683113820850849,
-0.03514624759554863,
-0.018859388306736946,
-0.018377697095274925,
-0.26434317231178284,
0.054265860468149185,
-0.05205243453383446,
-0.04340235888957977,
0.00007288181222975254,
-0.042975302785634995,
0.009416802786290646,
-0.017238566651940346,
-0.017808573320508003,
0.02398519031703472,
0.004344809800386429,
-0.015927987173199654,
-0.026558488607406616,
0.05234713479876518,
0.0006666542612947524,
0.014677349478006363,
0.0022110852878540754,
-0.055226363241672516,
0.018310844898223877,
0.03961436450481415,
0.034456390887498856,
-0.06762225925922394,
-0.04193602874875069,
0.0006885204347781837,
0.004957074765115976,
0.03418239951133728,
-0.09234505146741867,
-0.006341733504086733,
-0.05035565793514252,
-0.021539561450481415,
-0.00041097577195614576,
-0.02487836219370365,
0.00990829337388277,
0.019153442233800888,
-0.022489745169878006,
-0.019311876967549324,
0.056839440017938614,
0.018679657950997353,
0.0010235401568934321,
0.03678654134273529,
-0.04160655289888382,
-0.05867334082722664,
-0.00513900350779295,
0.024939078837633133,
0.07387544959783554,
0.02962077036499977,
-0.07081994414329529,
-0.0174004677683115,
-0.017256109043955803,
0.05802452564239502,
-0.009024231694638729,
-0.02571447752416134,
-0.02142079547047615,
0.004552180413156748,
-0.02384583093225956,
-0.06532618403434753,
-0.014241000637412071,
-0.007644531782716513,
-0.06023619323968887,
-0.008164401166141033,
-0.023600609973073006,
-0.051442209631204605,
0.029782786965370178,
-0.06114549934864044,
-0.01499626599252224,
-0.039502210915088654,
-0.07678685337305069,
-0.02496362291276455,
0.029898596927523613,
0.014615233056247234,
0.006413308437913656,
0.030673416331410408,
-0.041122764348983765,
-0.1012825295329094,
-0.044445544481277466,
-0.002685841638594866,
0.001973185921087861,
0.012942800298333168,
-0.004863410722464323,
0.06228780746459961,
-0.05183260515332222,
-0.032652322202920914,
-0.006774961017072201,
0.03334536403417587,
0.017029693350195885,
-0.0005518628749996424,
0.00005069943654234521,
-0.03029969334602356,
-0.04291027784347534,
0.01719053089618683,
0.0556311160326004,
-0.018688920885324478,
-0.024838676676154137,
0.016438592225313187,
0.021343350410461426,
0.045485030859708786,
-0.013786251656711102,
-0.017313359305262566,
0.03258494660258293,
0.0413849763572216,
0.0500599704682827,
-0.028629420325160027,
0.008839461021125317,
-0.0014219707809388638,
-0.02580549754202366,
-0.0047017610631883144,
-0.052389927208423615,
0.023629076778888702,
0.044703662395477295,
0.03472010791301727,
0.00577270844951272,
0.00832557026296854,
-0.0006534690037369728,
-0.03174351528286934,
-0.012012247927486897,
-0.010150851681828499,
0.018592722713947296,
0.012832721695303917,
0.048279277980327606,
-0.01622491516172886,
-0.06506296992301941,
0.037540365010499954,
0.0221736878156662,
0.00291972397826612,
-0.07435586303472519,
-0.03138978034257889,
-0.053925707936286926,
-0.0007847033557482064,
0.0106519665569067,
0.03157834708690643,
-0.02711191400885582,
0.04370378330349922,
0.012943617068231106,
-0.023565072566270828,
0.04891982674598694,
-0.022812500596046448,
-0.04690134525299072,
-0.032409701496362686,
0.015385680831968784,
0.014674820005893707,
-0.022081756964325905,
0.0027424455620348454,
-0.007085020653903484,
0.07294557243585587,
0.03671163693070412,
0.032261207699775696,
0.029503250494599342,
0.01079877745360136,
-0.002488131634891033,
0.005249268375337124,
-0.009674404747784138,
-0.01607372984290123,
-0.006271387450397015,
-0.031102824956178665,
0.004155313596129417,
0.004275475163012743,
0.05798385664820671,
-0.01418422069400549,
-0.038357485085725784,
-0.0515446811914444,
0.032861970365047455,
-0.05387554690241814,
0.016378547996282578,
-0.030428651720285416,
-0.0030374040361493826,
0.04726419225335121,
-0.007945595309138298,
0.028812484815716743,
-0.04164045304059982,
-0.007068478502333164,
0.013273542746901512,
0.02119193598628044,
-0.027307633310556412,
0.0001455957826692611,
0.007818165235221386,
0.003078761976212263,
0.011254668235778809,
0.025560777634382248,
0.014427444897592068,
0.010068685747683048,
-0.01112519484013319,
-0.015404454432427883,
0.003455781377851963,
0.01063084788620472,
0.041034530848264694,
0.04792528599500656,
-0.008509666658937931,
0.01655198074877262,
-0.03194309026002884,
-0.027823254466056824,
-0.0037815335672348738,
0.009505020454525948,
-0.04650912433862686,
-0.014757693745195866,
-0.013278190046548843,
-0.07981400936841965,
0.03645974025130272,
0.017990952357649803,
-0.007460868917405605,
0.03608767315745354,
0.008052456192672253,
-0.01307646743953228,
-0.02617487497627735,
0.018892182037234306,
0.050194669514894485,
-0.04150299355387688,
-0.0159420408308506,
-0.0007897373288869858,
-0.0179232656955719,
-0.000346070941304788,
0.02751932479441166,
-0.06197532266378403,
-0.010626882314682007,
-0.011016067117452621,
0.010709147900342941,
-0.01161805260926485,
-0.04284442216157913,
-0.0121504757553339,
0.004615108948200941,
0.002218083245679736,
0.07147469371557236,
0.007223031483590603,
0.003285589162260294,
-0.010179726406931877,
-0.008087527938187122,
0.02105005644261837,
-0.03905303776264191,
-0.025129521265625954,
-0.00908682495355606,
-0.013803594745695591,
0.008427822031080723,
-0.03370179608464241,
0.040941789746284485,
0.004002455156296492,
-0.008516247384250164,
-0.004572588950395584,
-0.08690328896045685,
0.009155424311757088,
-0.009037730284035206,
0.06146327033638954,
0.00040506068035028875,
0.0002140545257134363,
-0.023754026740789413,
-0.002928695874288678,
-0.04362820088863373,
-0.007908910512924194,
0.0019150772131979465,
-0.020876584574580193,
0.012211490422487259,
0.06735007464885712,
0.0029879980720579624,
0.05535700172185898,
0.0007867575041018426,
-0.026877690106630325,
0.06165051460266113,
-0.015293010510504246,
-0.034911081194877625,
-0.016465293243527412,
-0.05886552855372429,
0.0062903412617743015,
0.017629750072956085,
-0.0027715498581528664,
-0.035196054726839066,
0.05219594016671181,
0.042108889669179916,
0.03783395141363144,
0.02274923212826252,
-0.02813343144953251,
0.035390254110097885,
-0.026739411056041718,
-0.007189299911260605,
-0.0918923020362854,
-0.021945947781205177,
0.043496113270521164,
0.03469206020236015,
0.027387568727135658,
-0.03230472281575203,
-0.014088240452110767,
0.009610794484615326,
-0.060320839285850525,
-0.03755034878849983,
0.022336073219776154,
-0.01481444388628006,
0.03744862973690033,
0.010682403109967709,
-0.04931767284870148,
-0.00456665363162756,
0.061167795211076736,
-0.021370114758610725,
-0.014493552036583424,
-0.04400425776839256,
0.05033986270427704,
-0.024933749809861183,
0.03183453157544136,
-0.011926096864044666,
-0.0317261666059494,
0.07111497223377228,
0.015175812877714634,
0.04156198352575302,
0.06102285534143448,
-0.03030996210873127,
0.034269534051418304,
0.04087692126631737,
-0.029142828658223152,
-0.014725571498274803,
0.039647527039051056,
-0.016024919226765633,
-0.03136318549513817,
0.030604073777794838,
0.013130100443959236,
-0.02379421517252922,
-0.05618458241224289,
0.061683449894189835,
0.009430614300072193,
-0.04833326116204262,
-0.04628736898303032,
0.03837677463889122,
-0.026765936985611916,
-0.020777449011802673,
-0.04042387753725052,
0.024213232100009918,
-0.025553418323397636,
0.03822212666273117,
-0.0203187745064497,
0.024103958159685135,
0.0511738657951355,
0.00806018989533186,
0.008420895785093307,
0.0060599190182983875,
0.07164530456066132,
0.07449019700288773,
0.039022721350193024,
0.01814149133861065,
0.05569962039589882,
-0.014773967675864697,
-0.03589240089058876,
-0.021262288093566895,
-0.05418657511472702,
-0.01531035266816616,
0.0020974280778318644,
0.03922853246331215,
0.07460566610097885,
-0.024795934557914734,
0.05364014953374863,
-0.02753438428044319,
-0.0033964263275265694,
-0.00034332979703322053,
-0.012614984065294266,
0.03674698993563652,
0.07778764516115189,
0.011959178373217583,
0.055899929255247116,
-0.03265608847141266,
-0.020544882863759995,
0.012863494455814362,
0.02109680138528347,
0.011787403374910355,
0.03557349741458893,
-0.015312032774090767,
-0.015434418804943562,
0.020489593967795372,
0.04079078137874603,
0.08228157460689545,
-0.025787094607949257,
-0.025469593703746796,
-0.003159677144140005,
0.005285672843456268,
-0.008395682089030743,
-0.02211284637451172,
0.015589308924973011,
-0.047145307064056396,
-0.022336728870868683,
-0.04149622842669487,
-0.02054988220334053,
-0.03812338039278984,
-0.050397295504808426,
0.0031979805789887905,
-0.01123025268316269,
-0.006669994443655014,
-0.012706900015473366,
-0.017135927453637123,
-0.013731453567743301,
-0.038370970636606216,
-0.04280460625886917,
-0.055022966116666794,
-0.07859736680984497,
0.02133043110370636,
-0.0031496258452534676,
-0.003391399746760726,
-0.015240074135363102,
-0.000013488426702679135,
-0.027615539729595184,
-0.03272313252091408,
0.0645219087600708,
-0.04443966969847679,
0.005034389905631542,
0.017853325232863426,
-0.006321310997009277,
0.02811538241803646,
0.036067161709070206,
0.04438116401433945,
0.0097154276445508,
0.008486306294798851,
-0.01782101020216942,
-0.0010831363033503294,
0.04814240336418152,
-0.0017712415428832173,
0.0026678121648728848,
-0.07234988361597061,
0.005166754126548767,
0.013611848466098309,
-0.007435386534780264,
-0.0778222605586052,
0.02342946268618107,
0.046524275094270706,
0.0015255121979862452,
0.008292609825730324,
-0.013755965046584606,
-0.03876887261867523,
-0.03869654983282089,
0.026830293238162994,
0.0029275878332555294,
-0.026241518557071686,
0.025626150891184807,
-0.02664841152727604,
0.06034967675805092,
0.044061098247766495,
-0.03565229848027229,
-0.018257781863212585,
-0.012795966118574142,
0.0018226137617602944,
0.021487632766366005,
-0.05922854691743851,
-0.007091928273439407,
-0.05608539283275604,
-0.07728211581707001,
-0.021458566188812256,
-0.0009610565612092614,
-0.015602190047502518,
-0.015540835447609425,
0.008945615962147713,
0.018194466829299927,
-0.030369006097316742,
0.036763548851013184,
-0.04495348036289215,
0.034569308161735535,
-0.04513227567076683,
-0.026074739173054695,
-0.002206012373790145,
-0.0007185865542851388,
-0.02460166998207569,
0.016302693635225296,
0.03537089005112648,
-0.03160996362566948,
-0.011115380562841892,
-0.056528106331825256,
0.001997351413592696,
0.02565939538180828,
0.014650591649115086,
0.0010032736463472247
] | [
-0.07293524593114853,
-0.02860308438539505,
-0.05655992776155472,
-0.009295535273849964,
0.06297046691179276,
-0.02073628082871437,
-0.01906241476535797,
-0.024142393842339516,
0.042989373207092285,
-0.012781416065990925,
0.03396828472614288,
-0.027971835806965828,
0.02105916291475296,
0.01364649087190628,
0.04218718409538269,
-0.018094681203365326,
-0.0617077611386776,
-0.008128336630761623,
-0.05333809554576874,
0.03294806182384491,
-0.06573738157749176,
-0.04487895593047142,
-0.015497935004532337,
-0.017482716590166092,
0.037413693964481354,
0.0704084262251854,
0.010121363215148449,
-0.03264287859201431,
-0.0031923498027026653,
-0.23773987591266632,
-0.0028286490123718977,
0.021655024960637093,
0.03593379631638527,
-0.00041804686770774424,
0.003753628581762314,
0.013250001706182957,
0.05857360363006592,
-0.021261200308799744,
-0.006372883450239897,
0.013249717652797699,
0.03449510782957077,
0.02445480413734913,
-0.057313915342092514,
-0.012740318663418293,
0.04931499436497688,
0.02295660972595215,
-0.041687317192554474,
-0.02280810847878456,
-0.03502855822443962,
0.0010303602321073413,
-0.015739496797323227,
-0.014383437111973763,
-0.014407268725335598,
0.008171404711902142,
0.016131741926074028,
0.05446489900350571,
0.02429553121328354,
0.03189931809902191,
0.008506040088832378,
0.03702495992183685,
0.01634104922413826,
-0.025246979668736458,
-0.127004012465477,
0.058244649320840836,
0.023191597312688828,
-0.00003280025703134015,
-0.028199728578329086,
-0.008879808709025383,
-0.019868260249495506,
0.09247083961963654,
0.021120186895132065,
0.011813847348093987,
-0.03226347640156746,
0.06095461547374725,
-0.012763899751007557,
0.052510231733322144,
-0.03309931233525276,
-0.00227475818246603,
0.03620161861181259,
-0.02085709013044834,
-0.04310121759772301,
0.01176394335925579,
-0.02626807428896427,
-0.025565320625901222,
-0.02623753622174263,
0.03564994037151337,
-0.0241351667791605,
0.026151875033974648,
-0.004760697949677706,
0.042086243629455566,
0.026824064552783966,
0.03574063628911972,
0.027502983808517456,
0.04371264949440956,
-0.0859346017241478,
-0.016000090166926384,
-0.0019822639878839254,
0.02135471999645233,
0.0373070053756237,
0.40360429883003235,
-0.011070279404520988,
0.017582044005393982,
0.03829731419682503,
0.06307175755500793,
-0.027587924152612686,
-0.01209069974720478,
-0.02041715383529663,
-0.07141949981451035,
0.02821855992078781,
-0.019632168114185333,
0.015192348510026932,
-0.043419547379016876,
0.0648653581738472,
-0.09795335680246353,
0.005917647387832403,
0.010394362732768059,
0.0678991973400116,
0.03045489452779293,
-0.0200179573148489,
0.011623276397585869,
-0.020237915217876434,
-0.023248916491866112,
0.042086515575647354,
0.009519362822175026,
0.038806308060884476,
0.052817538380622864,
-0.02582448348402977,
0.05410027503967285,
0.04329919070005417,
0.03341441974043846,
0.06858832389116287,
0.012095009908080101,
-0.053522493690252304,
0.034796688705682755,
-0.00908912718296051,
-0.014751952141523361,
0.04668814688920975,
-0.008623376488685608,
-0.03374382108449936,
0.0027086136396974325,
0.0008257919107563794,
-0.029295457527041435,
0.052474912256002426,
-0.0016659797402098775,
-0.03375516086816788,
0.1422879546880722,
-0.020842170342803,
-0.03498203307390213,
-0.04633817821741104,
-0.033506717532873154,
-0.013114518485963345,
0.030071578919887543,
-0.03376084938645363,
-0.09188813716173172,
-0.05137277767062187,
0.011359372176229954,
0.06362511962652206,
0.0019169582519680262,
-0.08399216085672379,
0.010841661132872105,
-0.021729258820414543,
-0.018235601484775543,
-0.031107844784855843,
0.10496073216199875,
0.038496628403663635,
-0.10468823462724686,
0.01931426301598549,
0.02746928296983242,
0.011365510523319244,
-0.07088064402341843,
0.003104336326941848,
-0.002974436618387699,
-0.05005867779254913,
-0.004875401500612497,
0.06887628883123398,
-0.012944969348609447,
-0.04945386201143265,
-0.02195003256201744,
0.020104391500353813,
0.004443356301635504,
-0.01758592762053013,
0.005708029959350824,
-0.05117517709732056,
-0.010837766341865063,
-0.0455104224383831,
-0.04195404425263405,
-0.08600109070539474,
0.022689802572131157,
-0.030040236189961433,
-0.03113476186990738,
-0.059761837124824524,
-0.013802378438413143,
-0.05415739119052887,
0.08102516084909439,
-0.06679663062095642,
-0.04415126144886017,
-0.00024837066303007305,
0.013634785078465939,
-0.012763161212205887,
-0.04746124893426895,
0.03716445714235306,
0.024812696501612663,
-0.0005339353810995817,
0.020660534501075745,
-0.04192409664392471,
0.0335511639714241,
0.06308135390281677,
-0.03695341572165489,
0.05990803986787796,
0.02872953936457634,
-0.04246966913342476,
-0.023923145607113838,
-0.0410432368516922,
0.0364140085875988,
0.010581199079751968,
-0.030847493559122086,
0.002310203155502677,
-0.018008239567279816,
0.014044348150491714,
0.041734207421541214,
-0.010742506943643093,
-0.019170070067048073,
-0.025132862851023674,
-0.3473382890224457,
-0.04319247975945473,
-0.00822394248098135,
0.01257374882698059,
-0.0029728927183896303,
-0.013873287476599216,
0.025381674990057945,
-0.0026928139850497246,
-0.008659154176712036,
0.01380212977528572,
0.07466617226600647,
0.02501106821000576,
-0.015960725024342537,
-0.04053102806210518,
-0.008063063025474548,
0.06421473622322083,
-0.009483746252954006,
0.009431344456970692,
-0.025303762406110764,
0.022571155801415443,
0.027267226949334145,
-0.02208041399717331,
-0.015052177011966705,
-0.0383695587515831,
-0.019006455317139626,
0.008781720884144306,
0.12291575968265533,
0.0003744224086403847,
0.013045019470155239,
-0.024620037525892258,
0.03786156699061394,
0.03576252982020378,
-0.053607307374477386,
-0.017539512366056442,
-0.010257527232170105,
0.011440287344157696,
0.000820493558421731,
0.010238375514745712,
-0.006244668737053871,
-0.01737145334482193,
-0.04030542075634003,
-0.004986951593309641,
-0.03104320354759693,
-0.06384573876857758,
-0.031132999807596207,
0.0030881252605468035,
-0.042277466505765915,
0.009610693901777267,
0.031382299959659576,
0.05412580445408821,
0.021401148289442062,
0.015712767839431763,
0.035828761756420135,
0.025466781109571457,
0.00921583455055952,
-0.01927603967487812,
-0.0651620551943779,
-0.023836906999349594,
0.02809697389602661,
0.013478727079927921,
0.009828080423176289,
0.029452722519636154,
0.015395634807646275,
-0.06694499403238297,
0.02489415556192398,
0.006784890312701464,
-0.039157066494226456,
-0.02334478311240673,
0.03369145467877388,
-0.04614928737282753,
-0.042629312723875046,
0.08818433433771133,
0.014167570509016514,
-0.003148825839161873,
0.04102576896548271,
0.03130774572491646,
-0.024518802762031555,
-0.007954670116305351,
-0.005537837278097868,
0.0007097992347553372,
0.047387294471263885,
-0.03870462626218796,
0.08479106426239014,
-0.028734371066093445,
0.003529426408931613,
0.0809847041964531,
0.005107427015900612,
-0.027898043394088745,
0.061452716588974,
-0.016541777178645134,
-0.028017902746796608,
0.01890166476368904,
-0.04177829995751381,
-0.031351543962955475,
0.04407747834920883,
-0.027538390830159187,
-0.26724526286125183,
0.05478399246931076,
0.006875976920127869,
0.05034857243299484,
0.019914835691452026,
0.015630783513188362,
0.04013752564787865,
-0.02433895692229271,
-0.0000888184440555051,
-0.026631103828549385,
0.031605470925569534,
0.07788601517677307,
0.009913255460560322,
-0.00991230458021164,
0.0010906676761806011,
0.024603554978966713,
0.058030255138874054,
-0.019504951313138008,
0.01838558167219162,
0.01487186923623085,
0.04609967768192291,
-0.015742093324661255,
0.211937814950943,
0.013570756651461124,
0.02175208553671837,
0.02490703947842121,
-0.051246147602796555,
-0.001641305978409946,
0.03326915577054024,
-0.0033101800363510847,
-0.02861381694674492,
0.03209923580288887,
0.05688619613647461,
-0.004947651643306017,
0.02018815651535988,
-0.02403540164232254,
0.002299996092915535,
0.02700033225119114,
0.021245183423161507,
-0.03638576716184616,
-0.008321660570800304,
-0.0062112268060445786,
-0.01010128203779459,
0.03864956274628639,
0.08385775983333588,
-0.024757564067840576,
0.0012155243894085288,
-0.018430663272738457,
-0.05420207977294922,
0.002073968295007944,
-0.029674174264073372,
-0.03205704316496849,
-0.04157589375972748,
-0.005982080940157175,
0.01330836582928896,
0.03208785131573677,
0.004918452352285385,
-0.026934819296002388,
0.025032486766576767,
0.008868484757840633,
-0.03140773996710777,
-0.02336842007935047,
0.0985708013176918,
-0.02406657114624977,
0.01893175207078457
] | [
0.020693397149443626,
0.034403588622808456,
-0.027382230386137962,
0.049410298466682434,
-0.02196120284497738,
-0.01196003332734108,
-0.05303564295172691,
-0.022475214675068855,
-0.02875358983874321,
-0.006214558146893978,
-0.013322168029844761,
0.02044758014380932,
0.07538675516843796,
-0.026065144687891006,
-0.01912880502641201,
0.03435560315847397,
-0.030049115419387817,
0.046981990337371826,
0.014308000914752483,
-0.06614246219396591,
-0.048350740224123,
-0.003387157805263996,
0.0515844002366066,
-0.007769552990794182,
-0.020331231877207756,
-0.0052728187292814255,
-0.02602490782737732,
-0.02162180282175541,
0.017576035112142563,
-0.10867884010076523,
-0.0007373320404440165,
0.018524013459682465,
-0.005019699223339558,
0.0019704194273799658,
-0.04427182301878929,
0.01167141180485487,
0.04385734349489212,
0.04269447177648544,
0.014156128279864788,
0.02065996453166008,
0.052461158484220505,
0.02756415493786335,
-0.04200296849012375,
-0.006668357644230127,
0.01227520126849413,
-0.028879916295409203,
-0.06801944226026535,
-0.015295109711587429,
-0.000576562131755054,
-0.000985186081379652,
-0.03841543570160866,
-0.028805261477828026,
-0.007113502826541662,
0.00018514852854423225,
-0.008345704525709152,
-0.011275254189968109,
-0.040343526750802994,
-0.03957928344607353,
-0.005764834117144346,
-0.015538312494754791,
0.04620587080717087,
-0.04141771048307419,
-0.07889268547296524,
-0.03666093945503235,
-0.01295336801558733,
-0.008660499006509781,
0.02369583770632744,
0.02536477893590927,
0.016005443409085274,
0.004968642722815275,
-0.018712135031819344,
0.021418249234557152,
-0.0491194874048233,
-0.011826951056718826,
-0.027829769998788834,
0.05015164241194725,
0.02363644540309906,
-0.00114152068272233,
0.007907053455710411,
-0.0120109086856246,
-0.025340769439935684,
0.02211635746061802,
-0.03399844095110893,
-0.015687385573983192,
-0.026161465793848038,
0.0054116942919790745,
-0.008758913725614548,
0.012163231149315834,
0.004639260470867157,
0.012480328790843487,
-0.043277520686388016,
0.03558432683348656,
-0.00471262214705348,
-0.033846985548734665,
-0.08658085763454437,
0.011083955876529217,
0.021516988053917885,
0.010917732492089272,
0.04479717090725899,
0.8014390468597412,
0.022894421592354774,
0.006939695682376623,
0.004625766072422266,
-0.003192946081981063,
-0.030207069590687752,
0.04398507997393608,
-0.004228356294333935,
0.02310679852962494,
0.015147875994443893,
-0.0056853829883039,
-0.03482096642255783,
0.011261970736086369,
0.0077194944024086,
0.0009486170019954443,
-0.009556454606354237,
0.01969240978360176,
0.02649763599038124,
0.009853215888142586,
0.01599905639886856,
0.04484385624527931,
0.021677060052752495,
0.0044884816743433475,
0.014712967909872532,
0.012047981843352318,
0.014492717571556568,
-0.15459907054901123,
-0.03975362703204155,
-6.683600065966438e-33,
0.05122450366616249,
-0.003244582796469331,
0.07105813175439835,
0.009220747277140617,
0.03401680663228035,
0.014547244645655155,
-0.019426533952355385,
-0.04398532211780548,
-0.01997365802526474,
-0.04303332418203354,
-0.018587835133075714,
-0.0028494030702859163,
0.01550506055355072,
-0.039962559938430786,
-0.00046693970216438174,
-0.03824523091316223,
0.019717106595635414,
0.008549540303647518,
-0.013739697635173798,
-0.03345490247011185,
0.007345246151089668,
0.02424156293272972,
-0.04567636549472809,
0.034126538783311844,
0.017109757289290428,
0.01080006081610918,
-0.01203853264451027,
-0.0183770302683115,
-0.005903563927859068,
-0.04998365044593811,
-0.055313654243946075,
0.012536076828837395,
-0.003942321054637432,
0.0036775812041014433,
-0.006848272867500782,
-0.04442666098475456,
-0.015888556838035583,
0.014366336166858673,
0.01234043762087822,
-0.07771909236907959,
-0.0381835475564003,
-0.01379505917429924,
0.009317606687545776,
-0.03377535566687584,
-0.030954161658883095,
-0.011330307461321354,
-0.013084663078188896,
0.0006035535479895771,
0.0010680455015972257,
0.01822924241423607,
0.027180342003703117,
0.02052208036184311,
0.0010965557303279638,
-0.003121287329122424,
-0.042898520827293396,
-0.024429654702544212,
0.00947276409715414,
0.016866469755768776,
-0.023879116401076317,
0.042619187384843826,
0.04433680698275566,
0.009785555303096771,
-0.019043782725930214,
0.04808081313967705,
0.006329183001071215,
0.003213622374460101,
-0.02101137302815914,
0.017290402203798294,
0.018430208787322044,
0.05144046992063522,
-0.024642935022711754,
0.056722868233919144,
0.008895305916666985,
-0.01027611456811428,
0.0363827720284462,
-0.07119031995534897,
-0.007989560253918171,
-0.03344456106424332,
-0.012043199501931667,
0.06853337585926056,
-0.034440264105796814,
-0.02627640962600708,
-0.01184049155563116,
-0.017353201285004616,
-0.0038178558461368084,
-0.007899917662143707,
0.029979946091771126,
0.013249151408672333,
-0.006265703123062849,
0.006981596816331148,
0.0445513091981411,
0.004374801181256771,
-0.009694384410977364,
0.0041570826433598995,
-0.00023455244081560522,
5.7190129115686854e-33,
0.0010101599618792534,
0.02941357158124447,
0.034066736698150635,
0.00587322236970067,
0.019835392013192177,
0.005888272542506456,
-0.0011549971532076597,
0.011407042853534222,
-0.034019723534584045,
0.03901177644729614,
0.004224830307066441,
0.042332399636507034,
0.0049635255709290504,
0.022236250340938568,
0.06016452610492706,
-0.016569849103689194,
0.05005500093102455,
-0.05277789756655693,
0.01507501769810915,
0.04601480811834335,
0.01610085554420948,
0.0030826812144368887,
-0.026426095515489578,
0.017615608870983124,
0.03565783053636551,
0.0055924984626472,
0.027703458443284035,
-0.009482914581894875,
-0.0011425036936998367,
0.036121662706136703,
0.01288953609764576,
-0.046318937093019485,
-0.020735502243041992,
-0.03555916249752045,
0.03700495883822441,
0.018825983628630638,
-0.013478553853929043,
0.005420161876827478,
-0.017187142744660378,
-0.005963372066617012,
0.003926479257643223,
0.022703047841787338,
-0.028749361634254456,
0.08789876848459244,
0.03161589801311493,
0.019870180636644363,
0.027031702920794487,
0.02042776718735695,
-0.01383062545210123,
0.02940952405333519,
0.02740517258644104,
0.049713823944330215,
-0.011837408877909184,
0.03004450537264347,
0.031154971569776535,
-0.03284864127635956,
-0.022419974207878113,
0.009323780424892902,
-0.0398595854640007,
0.015266025438904762,
-0.02712196484208107,
0.00794455036520958,
-0.04298825189471245,
0.009367639198899269,
-0.027021395042538643,
-0.03228793665766716,
-0.023171165958046913,
0.029479924589395523,
-0.038587018847465515,
0.02304999716579914,
-0.020761795341968536,
-0.003398576984182,
-0.02295500785112381,
0.029949257150292397,
0.01770525611937046,
-0.013937588781118393,
-0.03004937618970871,
0.013865248300135136,
-0.05867411196231842,
0.033083319664001465,
0.014718576334416866,
0.013220175169408321,
-0.012113765813410282,
0.0023977593518793583,
0.0020494319032877684,
-0.036192163825035095,
-0.016368085518479347,
0.049547888338565826,
-0.010584200732409954,
0.01507391594350338,
0.03501114621758461,
-0.05766578018665314,
-0.028687920421361923,
0.05879281461238861,
-0.04714451730251312,
-1.220410883462364e-8,
-0.05259278789162636,
0.02396487444639206,
-0.01574934460222721,
-0.00016503309598192573,
0.03030099906027317,
0.016975391656160355,
-0.02085062675178051,
0.014628401957452297,
-0.003054022789001465,
0.026030682027339935,
0.035021718591451645,
-0.016493765637278557,
0.0009619053453207016,
-0.009121236391365528,
0.010160038247704506,
-0.03357049077749252,
-0.02130277268588543,
-0.020840518176555634,
0.03981298953294754,
0.020127546042203903,
-0.012933426536619663,
0.023226747289299965,
-0.051008932292461395,
0.015475618652999401,
0.005961338058114052,
-0.0519222728908062,
0.03767852112650871,
-0.05613415315747261,
0.004451839718967676,
-0.04473482072353363,
-0.020448366180062294,
-0.0067158960737288,
-0.026330599561333656,
0.034504152834415436,
-0.023299362510442734,
-0.02968868799507618,
0.014504161663353443,
0.053352512419223785,
0.026714282110333443,
0.035256847739219666,
0.007304039783775806,
0.006169011350721121,
-0.0066663348115980625,
-0.01725626364350319,
-0.04647909104824066,
-0.01504160650074482,
-0.04867328330874443,
-0.024730628356337547,
0.0583515465259552,
-0.0638016015291214,
-0.009845894761383533,
-0.013764871284365654,
0.02190019004046917,
0.012440178543329239,
0.04059412702918053,
-0.009740428067743778,
-0.010893076658248901,
0.004845064599066973,
-0.0020283362828195095,
-0.03066532500088215,
0.0024880301207304,
0.009856272488832474,
-0.018711065873503685,
-0.018417024984955788
] | neo4j-2-1-passing-around-node-ids-vs-unwind | https://markhneedham.com/blog/2014/05/25/neo4j-2-1-passing-around-node-ids-vs-unwind |
false | 2014-02-05 12:21:30 | Jython/Neo4j: java.lang.ExceptionInInitializerError: java.lang.ExceptionInInitializerError | [
"jython"
] | [
"neo4j",
"Python"
] | I've been playing around with calling Neo4j's Java API from Python via http://www.jython.org/[Jython] and immediately ran into the following exception when trying to create an embedded instance:
[source,bash]
----
$ jython -Dpython.path /path/to/neo4j.jar
Jython 2.5.3 (2.5:c56500f08d34+, Aug 13 2012, 14:48:36)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_45
Type "help", "copyright", "credits" or "license" for more information.
>>> import org.neo4j.graphdb.factory
>>> org.neo4j.graphdb.factory.GraphDatabaseFactory().newEmbeddedDatabase("/tmp/foo")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
at org.neo4j.graphdb.factory.GraphDatabaseFactory$1.newDatabase(GraphDatabaseFactory.java:83)
at org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase(GraphDatabaseBuilder.java:198)
at org.neo4j.graphdb.factory.GraphDatabaseFactory.newEmbeddedDatabase(GraphDatabaseFactory.java:69)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
java.lang.ExceptionInInitializerError: java.lang.ExceptionInInitializerError
----
I eventually ended up at +++<cite>+++GraphDatabaseSettings+++</cite>+++ so I tried to import that:
[source,bash]
----
>>> import org.neo4j.graphdb.factory.GraphDatabaseSettings
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at org.python.core.Py.loadAndInitClass(Py.java:909)
at org.python.core.Py.findClassInternal(Py.java:844)
at org.python.core.Py.findClassEx(Py.java:895)
at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:133)
at org.python.core.packagecache.PackageManager.findClass(PackageManager.java:28)
at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:122)
at org.python.core.PyJavaPackage.__findattr_ex__(PyJavaPackage.java:137)
at org.python.core.PyObject.__findattr__(PyObject.java:863)
at org.python.core.PyObject.impAttr(PyObject.java:1001)
at org.python.core.imp.import_next(imp.java:720)
at org.python.core.imp.import_logic(imp.java:782)
at org.python.core.imp.import_module_level(imp.java:842)
at org.python.core.imp.importName(imp.java:917)
at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
at org.python.core.PyObject.__call__(PyObject.java:357)
at org.python.core.__builtin__.__import__(__builtin__.java:1173)
at org.python.core.imp.importOne(imp.java:936)
at org.python.pycode._pyx5.f$0(<stdin>:1)
at org.python.pycode._pyx5.call_function(<stdin>)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1275)
at org.python.core.Py.exec(Py.java:1319)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:215)
at org.python.util.InteractiveInterpreter.runcode(InteractiveInterpreter.java:89)
at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:70)
at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:46)
at org.python.util.InteractiveConsole.push(InteractiveConsole.java:110)
at org.python.util.InteractiveConsole.interact(InteractiveConsole.java:90)
at org.python.util.jython.run(jython.java:317)
at org.python.util.jython.main(jython.java:129)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at org.neo4j.graphdb.factory.GraphDatabaseSettings.<clinit>(GraphDatabaseSettings.java:69)
... 33 more
java.lang.ExceptionInInitializerError: java.lang.ExceptionInInitializerError
----
This bit of code is used to work out the default cache type. It does by first reading the available cache types from a file on the class path and then picking the first one on the list.
I could see that the file it was trying to read was in the JAR and I thought passing the JAR to 'python.path' would put it on the classpath. Alistair suggested checking that assumption by checking what was actually on the classpath:
[source,bash]
----
>>> import java.lang
>>> java.lang.System.getProperty("java.class.path")
u'/usr/local/Cellar/jython/2.5.3/libexec/jython.jar:'
----
As you can see our JAR is missing from the list which explains the problem with reading the file. If we launch the jython REPL with our JAR passed explicitly to the Java classpath then it works:
[source,bash]
----
$ jython -J-cp /path/to/neo4j.jar
Jython 2.5.3 (2.5:c56500f08d34+, Aug 13 2012, 14:48:36)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_45
Type "help", "copyright", "credits" or "license" for more information.
>>> import java.lang
>>> java.lang.System.getProperty("java.class.path")
u'/usr/local/Cellar/jython/2.5.3/libexec/jython.jar:/path/to/neo4j.jar:'
----
We can now create an embedded database with no problems:
[source,bash]
----
>>> import org.neo4j.graphdb.factory
>>> org.neo4j.graphdb.factory.GraphDatabaseFactory().newEmbeddedDatabase("/tmp/foo")
EmbeddedGraphDatabase [/tmp/foo]
---- | null | null | [
0.0065991682931780815,
-0.04558428376913071,
-0.048360347747802734,
0.03446856886148453,
0.08029089868068695,
0.029243504628539085,
0.0358256958425045,
0.02206219732761383,
0.006770867854356766,
-0.025562293827533722,
-0.01243095938116312,
-0.02452530525624752,
-0.05898284912109375,
0.036187153309583664,
0.004134493414312601,
0.04426778852939606,
0.0747237280011177,
-0.009618906304240227,
0.008338418789207935,
0.0029315268620848656,
0.012067772448062897,
0.03094303421676159,
0.002040630904957652,
0.030237765982747078,
0.01538086961954832,
0.02962036244571209,
0.009780321270227432,
-0.017404811456799507,
-0.057380311191082,
-0.009724325500428677,
0.026459507644176483,
0.009370509535074234,
0.027204053476452827,
-0.02446894533932209,
0.0411222018301487,
0.015269710682332516,
-0.030363405123353004,
0.00588672049343586,
0.0011578326812013984,
0.006512664724141359,
-0.053544726222753525,
0.033175766468048096,
-0.0003540048492141068,
0.03250841051340103,
-0.04347061365842819,
0.033789366483688354,
-0.029408680275082588,
0.03583626449108124,
0.02460361085832119,
-0.0014988337643444538,
-0.09028144925832748,
0.02775898389518261,
-0.020847609266638756,
-0.021121308207511902,
0.004044141620397568,
0.038896553218364716,
0.004534851294010878,
-0.10831423103809357,
0.04870698228478432,
-0.027321452274918556,
0.010099734179675579,
-0.03650912269949913,
-0.009378604590892792,
0.010727642104029655,
0.0033553927205502987,
-0.02574329450726509,
0.005027730483561754,
0.08167111873626709,
-0.08339279145002365,
-0.0024187241215258837,
-0.0067895278334617615,
0.013068108819425106,
-0.038632165640592575,
0.015857741236686707,
0.0085384426638484,
-0.0741831585764885,
0.0034707151353359222,
0.06781087070703506,
0.030959805473685265,
0.07399420440196991,
-0.018945874646306038,
0.01247558742761612,
0.02945597842335701,
0.003430112497881055,
0.015683459118008614,
-0.049983322620391846,
-0.04188787192106247,
-0.02373741939663887,
-0.048445023596286774,
0.025056272745132446,
0.024350561201572418,
-0.027663717046380043,
-0.013549868017435074,
0.0015988164814189076,
-0.036324597895145416,
0.010885233990848064,
-0.0006425858591683209,
-0.007965552620589733,
0.02493356540799141,
-0.008273550309240818,
-0.03630392625927925,
-0.016326237469911575,
0.002295651938766241,
0.040833473205566406,
-0.07712831348180771,
-0.03106716461479664,
-0.019376656040549278,
-0.022498439997434616,
-0.013927305117249489,
-0.0126246502622962,
-0.030317706987261772,
0.02937212400138378,
-0.009603315964341164,
-0.013696336187422276,
-0.07971011102199554,
0.07176452875137329,
0.008115628734230995,
-0.023088743910193443,
-0.029930060729384422,
0.015309777110815048,
0.06340711563825607,
0.03617924451828003,
-0.004262960981577635,
0.09123733639717102,
-0.016920071095228195,
0.05679941549897194,
-0.014161849394440651,
0.058075547218322754,
0.009904982522130013,
-0.05553640425205231,
-0.04310767725110054,
0.06132311746478081,
0.02369328774511814,
0.007246992085129023,
0.010996134951710701,
-0.02268727868795395,
-0.022915462031960487,
0.01654471643269062,
0.04121851921081543,
0.007421145215630531,
-0.010500368662178516,
-0.039532825350761414,
0.02104961685836315,
0.005407325923442841,
0.010028528049588203,
0.033471424132585526,
-0.011946585960686207,
-0.02861829474568367,
-0.0072663347236812115,
0.03429095074534416,
-0.0032209225464612246,
0.05078975483775139,
0.051606252789497375,
0.003944144584238529,
0.0021738014183938503,
0.1085011214017868,
0.026317236945033073,
0.02682245709002018,
-0.01983005739748478,
0.0418647900223732,
0.0532524511218071,
0.044349946081638336,
0.004776800982654095,
0.04990410432219505,
0.016497166827321053,
-0.007892879657447338,
-0.01955355517566204,
0.0601806640625,
-0.012719872407615185,
0.0011257826117798686,
-0.03902968019247055,
-0.10479547828435898,
0.041437290608882904,
-0.040174566209316254,
-0.012313523329794407,
0.011712213046848774,
0.07252269238233566,
-0.009156621061265469,
0.03414914757013321,
0.008431619964540005,
-0.07102420181035995,
0.03318946063518524,
0.010055522434413433,
0.020145170390605927,
0.00843730941414833,
-0.00029938429361209273,
0.06655369699001312,
0.01788576878607273,
-0.013634033501148224,
0.03687382861971855,
-0.06603220105171204,
-0.07401326298713684,
-0.01566852256655693,
-0.013126593083143234,
0.06154350936412811,
-0.016610534861683846,
-0.005646845791488886,
0.022243976593017578,
0.009666516445577145,
0.026547685265541077,
0.008274560794234276,
-0.0234603900462389,
0.005358468741178513,
-0.053022898733615875,
-0.04086781665682793,
0.03646353259682655,
0.041851434856653214,
-0.03809570148587227,
-0.04864245653152466,
0.01772911287844181,
-0.009599298238754272,
-0.008274766616523266,
0.030090928077697754,
-0.0092384098097682,
0.06499982625246048,
0.015985693782567978,
0.009147439152002335,
-0.014866983518004417,
0.0470796637237072,
-0.03671105578541756,
0.022067217156291008,
-0.012405953370034695,
-0.024044129997491837,
-0.023584634065628052,
-0.004770956467837095,
0.12849171459674835,
0.04616107791662216,
-0.03254289552569389,
-0.060183458030223846,
0.03714078292250633,
0.0368092879652977,
-0.040735404938459396,
0.02749117836356163,
-0.02863166481256485,
-0.0009391000494360924,
-0.0043700700625777245,
-0.031994763761758804,
-0.02081223390996456,
0.02135646529495716,
-0.04763377085328102,
-0.004846480209380388,
0.071263886988163,
-0.051410891115665436,
0.06293383240699768,
0.024413302540779114,
0.003777925157919526,
0.0075896200723946095,
-0.0465373657643795,
-0.04010152816772461,
0.023273782804608345,
0.016230877488851547,
-0.012087980285286903,
0.053945671766996384,
-0.008516787551343441,
-0.036438941955566406,
-0.030866006389260292,
-0.05403011292219162,
0.027620144188404083,
0.04655728116631508,
0.04482773691415787,
-0.007965325377881527,
0.03655190393328667,
-0.04154947027564049,
0.004876066464930773,
-0.01978481002151966,
-0.060168396681547165,
-0.003320163581520319,
-0.015068640932440758,
0.0381634421646595,
0.014530310407280922,
0.01834220625460148,
-0.003571373876184225,
0.02780976891517639,
0.00878942757844925,
0.0024499858263880014,
0.008221199735999107,
0.0328974574804306,
0.006386617198586464,
-0.01906660385429859,
-0.052987974137067795,
-0.017601311206817627,
0.048473671078681946,
-0.06835820525884628,
-0.03296281769871712,
-0.0065819378942251205,
-0.06441027671098709,
0.03892580047249794,
-0.06794247776269913,
-0.034745100885629654,
-0.007297140546143055,
0.04135434329509735,
0.05608690530061722,
-0.0048708245158195496,
0.001652126549743116,
0.07039402425289154,
0.004437839146703482,
-0.0010007154196500778,
0.017877012491226196,
-0.025665361434221268,
0.028631160035729408,
-0.017163367941975594,
0.04876905307173729,
0.004465632606297731,
-0.006094579119235277,
-0.016934402287006378,
-0.02331625297665596,
0.008364970795810223,
-0.01880728080868721,
-0.2671673893928528,
0.027014337480068207,
-0.009323855862021446,
-0.04486006125807762,
0.010063175112009048,
-0.02197076380252838,
-0.0058143725618720055,
-0.028718987479805946,
-0.02209629863500595,
-0.00014532341447193176,
-0.019742237403988838,
-0.03545042872428894,
-0.0010937165934592485,
0.04396027326583862,
-0.0019187398720532656,
0.0064056627452373505,
-0.012179436162114143,
-0.036664288491010666,
-0.002166363876312971,
0.03555818647146225,
0.001040118164382875,
-0.03261701762676239,
-0.011520517989993095,
0.03250902518630028,
0.02228808030486107,
0.031551819294691086,
-0.08968298137187958,
0.04627521336078644,
-0.05369274318218231,
-0.030248627066612244,
0.00339266424998641,
-0.038780577480793,
-0.0010081129148602486,
-0.008782465010881424,
-0.019905081018805504,
-0.004390927497297525,
0.013876515440642834,
0.02455788105726242,
0.0052849650382995605,
-0.0010979657527059317,
-0.042005013674497604,
-0.09712525457143784,
-0.027245746925473213,
-0.011621686629951,
0.07430261373519897,
-0.014257446862757206,
-0.08307106792926788,
-0.015590501949191093,
-0.020440876483917236,
0.07448389381170273,
-0.04703517258167267,
-0.0130536537617445,
0.005511519964784384,
0.02952374517917633,
-0.006970429793000221,
-0.020993247628211975,
-0.02538338303565979,
0.0008150171488523483,
-0.05780727043747902,
0.001857598079368472,
-0.006754114758223295,
-0.05208287388086319,
-0.012789074331521988,
-0.05996892973780632,
-0.022886307910084724,
-0.056732047349214554,
-0.05023021623492241,
-0.03737961873412132,
0.041203927248716354,
0.02739754505455494,
-0.026523012667894363,
0.032141584903001785,
0.0014247540384531021,
-0.10896909981966019,
0.004465735051780939,
-0.04990537464618683,
-0.01801537722349167,
-0.02206631563603878,
-0.01203976385295391,
0.06112091615796089,
-0.055018939077854156,
-0.037803247570991516,
0.004729790613055229,
0.002990247216075659,
0.0118760596960783,
0.0009745974093675613,
0.010476179420948029,
-0.04605867341160774,
-0.005649877712130547,
0.0003200462379027158,
0.061368562281131744,
-0.011897986754775047,
-0.011526527814567089,
-0.010138432495296001,
-0.013479246757924557,
0.049223460257053375,
0.011187154799699783,
0.0012583548668771982,
0.012254380621016026,
0.05411675199866295,
0.015488843433558941,
-0.05380409583449364,
0.00667199119925499,
-0.021576054394245148,
-0.00434553949162364,
-0.02582312561571598,
-0.07626625150442123,
-0.0016895566368475556,
0.0069052837789058685,
0.020622050389647484,
-0.006437140982598066,
-0.012852312996983528,
0.02280675806105137,
-0.05257328599691391,
-0.03566158190369606,
-0.03402075171470642,
0.010633700527250767,
0.03253815695643425,
0.033413778990507126,
-0.021009432151913643,
-0.07651755213737488,
0.022460151463747025,
0.02848052978515625,
0.0015599236357957125,
-0.033950209617614746,
-0.045193009078502655,
-0.028645267710089684,
-0.03273185342550278,
0.0006091825780458748,
0.009883156046271324,
-0.041548971086740494,
0.023733818903565407,
0.03777531534433365,
0.009456817060709,
0.02208266779780388,
-0.016062183305621147,
-0.042370378971099854,
-0.034441977739334106,
0.01615874283015728,
0.006660749204456806,
-0.00746162049472332,
0.007455120794475079,
-0.019354892894625664,
0.02027936279773712,
0.042797233909368515,
0.009983782656490803,
0.04440314322710037,
0.013643437065184116,
0.010344290174543858,
-0.007121506612747908,
0.02546209841966629,
-0.04383879154920578,
0.03136517480015755,
-0.03701591491699219,
-0.05991474911570549,
-0.004093801602721214,
0.05003965273499489,
-0.02927629090845585,
-0.02123662643134594,
-0.031892403960227966,
0.04728420451283455,
-0.047341275960206985,
0.01094455923885107,
-0.008387036621570587,
-0.025862285867333412,
0.051784105598926544,
0.00912891048938036,
0.023533105850219727,
-0.016071448102593422,
-0.034903742372989655,
0.019306687638163567,
0.015697432681918144,
-0.027842886745929718,
0.029719261452555656,
0.02267761155962944,
0.010489960201084614,
0.01806042529642582,
0.029633598402142525,
0.02105172723531723,
0.028349151834845543,
-0.02305002510547638,
-0.029074298217892647,
0.014437375590205193,
0.013674485497176647,
0.03918644040822983,
0.009685962460935116,
-0.03359036520123482,
0.0034692208282649517,
-0.008608072996139526,
-0.011687752790749073,
0.006417649332433939,
-0.005339533556252718,
-0.014252165332436562,
0.026845848187804222,
-0.01632058620452881,
-0.06580567359924316,
0.028798053041100502,
0.0000711603497620672,
0.012618948705494404,
0.007986041717231274,
-0.011265743523836136,
0.02459503896534443,
-0.03750935569405556,
0.04880642890930176,
0.061353649944067,
-0.05634406581521034,
-0.01812630333006382,
-0.011974691413342953,
-0.004345375578850508,
0.005905940663069487,
0.011173414997756481,
-0.03683970123529434,
-0.018280353397130966,
-0.01358408760279417,
0.004661752842366695,
-0.01006047148257494,
-0.035473160445690155,
0.0030907990876585245,
0.023535307496786118,
-0.0014398946659639478,
0.01459110714495182,
0.015523240901529789,
0.019490132108330727,
-0.03921538218855858,
-0.003910503350198269,
0.03947511315345764,
-0.036553286015987396,
0.013372792862355709,
-0.004842481575906277,
-0.011344379745423794,
0.018186796456575394,
-0.021746855229139328,
0.049788814038038254,
-0.0005063710268586874,
-0.0007188995950855315,
-0.006661674007773399,
-0.04552817344665527,
0.026490502059459686,
0.03108149766921997,
0.02248605340719223,
0.014809557236731052,
0.025402383878827095,
-0.04657807573676109,
-0.00012943481851834804,
-0.023170076310634613,
0.010350213386118412,
-0.0009378331014886498,
0.007907969877123833,
0.010826184414327145,
0.03200323134660721,
0.013967810198664665,
0.047884099185466766,
-0.014009696431457996,
-0.031662821769714355,
0.07094947248697281,
-0.05066624656319618,
-0.03512512892484665,
-0.012680936604738235,
-0.06643601506948471,
0.005636862013489008,
0.029400842264294624,
0.04018809646368027,
-0.020319126546382904,
0.07792434096336365,
0.05502155423164368,
0.010434125550091267,
0.031337641179561615,
-0.019422432407736778,
0.028835412114858627,
-0.049394506961107254,
-0.02448859252035618,
-0.09450730681419373,
0.0018307631835341454,
0.05726773664355278,
-0.009444004856050014,
-0.008460362441837788,
-0.022584566846489906,
-0.03611963242292404,
-0.010033078491687775,
-0.061443474143743515,
-0.027061827480793,
0.0179227776825428,
-0.015820719301700592,
0.015462486073374748,
0.0033131043892353773,
-0.03999821096658707,
0.02001892402768135,
0.03164173290133476,
-0.05087590217590332,
-0.03878442570567131,
-0.02475683204829693,
0.06111085042357445,
0.010983135551214218,
0.03966221213340759,
-0.01827363483607769,
-0.018266551196575165,
0.09170403331518173,
0.02103388123214245,
0.03573087975382805,
0.04491826146841049,
-0.027530532330274582,
0.04525602608919144,
0.054258931428194046,
-0.00484844297170639,
0.01359772589057684,
0.016044018790125847,
0.0041818758472800255,
-0.07004057615995407,
0.013171163387596607,
0.024821026250720024,
-0.01731264777481556,
-0.04062212258577347,
0.06188485398888588,
-0.0017541261622682214,
-0.028797220438718796,
-0.029248371720314026,
0.03168473020195961,
-0.03867960348725319,
-0.023076195269823074,
-0.07711459696292877,
0.005119407083839178,
-0.04158192500472069,
0.059206463396549225,
-0.03654675930738449,
0.004151516128331423,
0.05894956737756729,
-0.011999056674540043,
0.003397602355107665,
-0.0037622624076902866,
0.07147829234600067,
0.06755466014146805,
-0.0003065808559767902,
0.025233151391148567,
0.06388700008392334,
-0.007888564839959145,
-0.041892338544130325,
-0.006824049632996321,
-0.01860790327191353,
-0.03426274657249451,
-0.000517140724696219,
0.020749984309077263,
0.082079216837883,
-0.004290125332772732,
0.0819016844034195,
-0.03065507672727108,
0.016257908195257187,
-0.02577824890613556,
0.006400028243660927,
0.031584233045578,
0.025431295856833458,
0.01435120403766632,
0.058312807232141495,
-0.02982710674405098,
-0.037220947444438934,
0.020886588841676712,
-0.013686896301805973,
-0.01605922356247902,
0.03895053640007973,
-0.005744439549744129,
0.030857810750603676,
0.04725116118788719,
0.041584622114896774,
0.0803833156824112,
-0.024361910298466682,
-0.02872333861887455,
-0.006058770231902599,
0.014141140505671501,
0.009895888157188892,
0.017995750531554222,
-0.011729909107089043,
-0.013378995470702648,
0.0008331151911988854,
-0.04464305564761162,
-0.02427748776972294,
-0.01817350834608078,
-0.04361875727772713,
0.01718168891966343,
-0.014604363590478897,
-0.00873598176985979,
0.006710276938974857,
-0.007870510220527649,
-0.028354201465845108,
-0.04957517236471176,
-0.0503116212785244,
-0.026367617771029472,
-0.08341807872056961,
-0.004350023809820414,
-0.008771100081503391,
-0.008596465922892094,
-0.02842080220580101,
-0.011521658860147,
-0.01088806428015232,
0.011023586615920067,
0.047175146639347076,
-0.05949779227375984,
-0.004475639201700687,
0.019243398681282997,
0.010557335801422596,
0.003144604852423072,
0.03355838358402252,
0.06399332731962204,
0.008288910612463951,
0.008291437290608883,
-0.0022605883423238993,
0.018284132704138756,
0.06313643604516983,
0.011041375808417797,
0.02712143212556839,
-0.08907242119312286,
-0.001828736043535173,
0.011441875249147415,
0.0020238254219293594,
-0.05243123322725296,
-0.00837375596165657,
0.06357742846012115,
0.01413583755493164,
0.04027954116463661,
-0.002057079691439867,
0.005043757613748312,
-0.01014308724552393,
-0.0018046314362436533,
0.008714173920452595,
-0.008172892965376377,
0.04457408934831619,
-0.02362431026995182,
0.08286097645759583,
0.04636402428150177,
-0.03422246873378754,
-0.0010226371232420206,
-0.00026131627964787185,
0.0032609966583549976,
0.006153642199933529,
-0.040153730660676956,
-0.0376678891479969,
-0.04477178305387497,
-0.0907275602221489,
0.01699780486524105,
0.004629749339073896,
-0.02452067844569683,
-0.02160099893808365,
0.003160988911986351,
0.04029734432697296,
-0.032041557133197784,
0.03541675582528114,
-0.04628441110253334,
0.029907405376434326,
-0.021185463294386864,
-0.03635238856077194,
-0.02222207747399807,
0.001502680592238903,
0.015111373737454414,
0.013180260546505451,
0.006841217167675495,
-0.02628376893699169,
-0.018181951716542244,
-0.028386633843183517,
0.043278731405735016,
0.03925814852118492,
-0.008830210193991661,
0.010668572038412094
] | [
-0.04815899208188057,
-0.025953099131584167,
-0.03827131167054176,
-0.032727669924497604,
0.04240650683641434,
-0.06833852827548981,
-0.026150044053792953,
0.055559948086738586,
0.027700407430529594,
-0.02619500271975994,
0.010899767279624939,
-0.05597658082842827,
0.014213441871106625,
0.012625405564904213,
0.06137031689286232,
0.005460680928081274,
-0.06946112215518951,
-0.0512525700032711,
-0.0064316908828914165,
0.029148399829864502,
0.009324784390628338,
-0.03555900231003761,
0.01637486182153225,
-0.07124491035938263,
-0.022274844348430634,
0.08317418396472931,
0.026340389624238014,
-0.00957048311829567,
-0.02691042236983776,
-0.19604593515396118,
0.011239852756261826,
-0.017976514995098114,
0.02468191087245941,
-0.02054855227470398,
0.0025066037196666002,
0.042597897350788116,
0.012676996178925037,
0.00601269630715251,
0.002463678130879998,
0.07386424392461777,
-0.0064697908237576485,
0.010422829538583755,
-0.09804517030715942,
-0.002818480832502246,
0.031192224472761154,
-0.02040819078683853,
-0.013412799686193466,
-0.0016001045005396008,
-0.013972966931760311,
-0.01171651016920805,
-0.05221187323331833,
0.0028499409090727568,
0.0348627008497715,
-0.039800528436899185,
0.01977679692208767,
0.019773369655013084,
0.056860458105802536,
0.10241667926311493,
0.024399284273386,
0.0338786318898201,
0.016778262332081795,
-0.01806706190109253,
-0.12270793318748474,
0.06388315558433533,
0.023611564189195633,
0.020349182188510895,
-0.03823281452059746,
-0.03527075797319412,
-0.009507596492767334,
0.04727334901690483,
0.02371976524591446,
-0.012746735475957394,
-0.007821799255907536,
0.06830400228500366,
-0.01112195011228323,
0.020965389907360077,
0.023239949718117714,
-0.0007270161295309663,
0.06074492633342743,
-0.06471981853246689,
-0.07287862151861191,
-0.005660139489918947,
-0.029029836878180504,
-0.027307622134685516,
-0.019361156970262527,
0.06740956753492355,
-0.04202144965529442,
0.08382835239171982,
0.04050997644662857,
0.04732220247387886,
0.003770441748201847,
0.006916586775332689,
0.07602288573980331,
0.012344042770564556,
-0.08173840492963791,
0.022856520488858223,
0.027677422389388084,
-0.0000596709105593618,
-0.014913717284798622,
0.3891700208187103,
0.020095031708478928,
-0.010766102932393551,
0.002913030795753002,
0.055973444133996964,
-0.007756879553198814,
-0.03765909746289253,
-0.03101658634841442,
-0.07860775291919708,
0.023086974397301674,
-0.03351663425564766,
0.007062748074531555,
-0.033728912472724915,
0.05878973379731178,
-0.07205495238304138,
-0.022930266335606575,
0.010017543099820614,
0.01909945346415043,
-0.0010012409184128046,
-0.07720091193914413,
0.05876953527331352,
-0.023000013083219528,
0.016793599352240562,
0.016050580888986588,
0.03377607464790344,
0.024512141942977905,
0.010917066596448421,
-0.014861992560327053,
0.040286801755428314,
0.026605963706970215,
0.0007559224613942206,
0.05359145626425743,
0.006070964969694614,
-0.07028546929359436,
0.016815871000289917,
-0.0008075617952272296,
-0.00203177472576499,
0.025748547166585922,
-0.02984527312219143,
-0.015971053391695023,
0.024003980681300163,
-0.010141933336853981,
-0.06544062495231628,
-0.040573228150606155,
0.016682416200637817,
-0.04192838445305824,
0.09106913208961487,
-0.009617539122700691,
-0.0004266701580490917,
-0.024259386584162712,
-0.042426224797964096,
-0.010310105979442596,
0.07183452695608139,
0.003612023312598467,
-0.04502560570836067,
0.003786229295656085,
0.024538446217775345,
0.051183126866817474,
0.021880174055695534,
-0.04584695026278496,
-0.005733172409236431,
-0.01918628066778183,
-0.025330526754260063,
-0.03549329563975334,
0.1067195013165474,
0.038321640342473984,
-0.09213148802518845,
-0.028287028893828392,
0.018552294000983238,
-0.012164426036179066,
-0.038367707282304764,
-0.01608927547931671,
0.0217227004468441,
-0.02094362862408161,
-0.01581878587603569,
0.0336993932723999,
-0.02006242237985134,
-0.0065220557153224945,
-0.013825660571455956,
0.04797053337097168,
0.03566429018974304,
-0.01167233008891344,
0.00250548729673028,
-0.0449712909758091,
-0.03552054241299629,
-0.03679277002811432,
-0.08202209323644638,
-0.08706452697515488,
0.026827668771147728,
-0.010009153746068478,
-0.054628606885671616,
-0.04016172140836716,
0.022670814767479897,
-0.049436330795288086,
0.06067480146884918,
-0.02883898839354515,
-0.021129854023456573,
0.010480526834726334,
-0.029193000867962837,
0.0032369596883654594,
-0.028528396040201187,
0.06856950372457504,
0.040809836238622665,
0.007830998860299587,
0.0670100599527359,
-0.08070569485425949,
-0.006593703757971525,
0.05290347710251808,
-0.00010677087266230956,
0.06101805716753006,
0.014815075322985649,
-0.06511037796735764,
-0.005654269363731146,
-0.010456412099301815,
0.030755233019590378,
-0.04807492345571518,
-0.010805168189108372,
-0.022671524435281754,
0.021197956055402756,
0.06264302134513855,
0.016657250002026558,
-0.07076700776815414,
0.025160038843750954,
-0.017854318022727966,
-0.3520982265472412,
-0.027987424284219742,
0.0015721991658210754,
-0.02019723318517208,
-0.037290386855602264,
-0.01203100848942995,
0.013158705085515976,
-0.045540329068899155,
-0.007396069820970297,
0.031204622238874435,
0.10986918210983276,
-0.0020615668036043644,
0.014745771884918213,
-0.09243246167898178,
0.003994896076619625,
0.028091618791222572,
-0.024316737428307533,
0.015931416302919388,
-0.03497113659977913,
0.024519333615899086,
-0.0048374454490840435,
-0.048300765454769135,
-0.020402440801262856,
-0.007749180309474468,
-0.029370009899139404,
-0.025973109528422356,
0.12213119119405746,
-0.00025192328030243516,
0.05710955336689949,
-0.05630519241094589,
0.025946466252207756,
0.018557850271463394,
-0.007224748842418194,
-0.1093512624502182,
-0.023616695776581764,
-0.034256793558597565,
-0.004901797976344824,
0.06456274539232254,
-0.008513722568750381,
0.013014313764870167,
-0.013762899674475193,
-0.030551878735423088,
-0.04085903242230415,
-0.029787104576826096,
0.021676845848560333,
0.0020037542562931776,
-0.02687026374042034,
-0.041117504239082336,
0.006884137634187937,
0.07378421723842621,
-0.008007056079804897,
0.046480000019073486,
0.03441880643367767,
0.05185171216726303,
0.027095811441540718,
-0.036478977650403976,
-0.04594035446643829,
0.0028489516116678715,
0.025829028338193893,
0.024673286825418472,
0.031289368867874146,
0.032984282821416855,
0.03878086432814598,
-0.04843125864863396,
0.009382342919707298,
-0.02236480452120304,
0.0071649677120149136,
0.01588950678706169,
0.03301478922367096,
-0.049514755606651306,
-0.042925361543893814,
0.13180959224700928,
0.032583270221948624,
0.007186835631728172,
-0.0005822806851938367,
0.04364959895610809,
0.0024561656173318624,
-0.012839306145906448,
0.05208075791597366,
0.034429777413606644,
0.0006891843513585627,
0.013317289762198925,
0.07379229366779327,
-0.00970462616533041,
-0.04125947505235672,
0.0662449300289154,
0.012175359763205051,
0.0021369396708905697,
0.06802556663751602,
-0.028029467910528183,
-0.024489721283316612,
-0.017815111204981804,
-0.039983928203582764,
-0.015366638079285622,
0.06282380223274231,
-0.004359438084065914,
-0.2625390291213989,
0.017778906971216202,
0.028843393549323082,
0.055072981864213943,
-0.016584204509854317,
0.0242350734770298,
0.02076861262321472,
-0.030297523364424706,
0.001864620833657682,
0.02532915398478508,
0.022228581830859184,
0.015563520602881908,
-0.0016909141559153795,
0.0025080598425120115,
0.008629957213997841,
0.025124546140432358,
0.015180505812168121,
0.040047623217105865,
0.04864957183599472,
-0.01826356165111065,
0.017461450770497322,
0.003146272851154208,
0.14885324239730835,
0.009126035496592522,
0.02480405941605568,
0.07361673563718796,
-0.017085980623960495,
0.02405259571969509,
0.062414467334747314,
0.019205421209335327,
-0.03196657449007034,
0.02566433697938919,
0.02670133300125599,
0.02634064480662346,
0.03331271931529045,
-0.0529601164162159,
0.021158846095204353,
0.009343398734927177,
0.030228447169065475,
-0.03676634654402733,
-0.013643954880535603,
0.03789657726883888,
-0.02779899351298809,
0.019558724015951157,
0.07483501732349396,
-0.0048003303818404675,
-0.013181026093661785,
-0.04039869084954262,
-0.032041285187006,
-0.001588081824593246,
-0.04286227375268936,
-0.08833622932434082,
-0.021654237061738968,
-0.02615831233561039,
-0.026758620515465736,
0.048866499215364456,
0.03969370201230049,
-0.003936799243092537,
-0.03707589954137802,
-0.021133987233042717,
0.017409585416316986,
-0.07291941344738007,
0.0635935515165329,
0.005888928193598986,
-0.017183199524879456
] | [
0.037147220224142075,
0.02614453434944153,
-0.0014969054609537125,
0.03335985168814659,
-0.013571429066359997,
-0.014302353374660015,
-0.017797496169805527,
0.014586498960852623,
-0.04436996951699257,
-0.007108487654477358,
-0.014204462990164757,
0.010502367280423641,
0.05786359682679176,
0.02024938352406025,
0.016332730650901794,
0.0179826021194458,
0.032872989773750305,
0.022736506536602974,
0.028469504788517952,
-0.008583380840718746,
-0.030257441103458405,
0.0004476977337617427,
0.02427276410162449,
-0.04796864092350006,
0.025732971727848053,
0.00031036013388074934,
-0.05699918791651726,
-0.006017398089170456,
0.021865377202630043,
-0.10510510206222534,
-0.012911131605505943,
-0.03464076668024063,
-0.019374007359147072,
0.014978114515542984,
0.018001219257712364,
0.024870306253433228,
0.01451723463833332,
0.02433314546942711,
-0.018453821539878845,
0.03896738216280937,
0.012176656164228916,
-0.006835024803876877,
-0.04839206859469414,
-0.0007441320340149105,
-0.02905697375535965,
-0.0347517654299736,
-0.013637823052704334,
-0.02908102050423622,
0.024561366066336632,
-0.025307705625891685,
-0.017443673685193062,
0.005684910342097282,
-0.001695350045338273,
-0.014402151107788086,
0.004434413276612759,
0.005634026136249304,
0.00745119946077466,
0.008692644536495209,
0.04608612507581711,
0.027485786005854607,
0.048577893525362015,
-0.023311665281653404,
-0.03724972903728485,
-0.03602656349539757,
-0.03608426824212074,
-0.014505756087601185,
0.01325875986367464,
-0.002013341523706913,
0.004585121292620897,
0.013267808593809605,
-0.013402709737420082,
0.04484587535262108,
-0.07845571637153625,
-0.013310852460563183,
-0.0440225675702095,
0.018522199243307114,
0.044886618852615356,
-0.02219022624194622,
-0.012242937460541725,
-0.0036061180289834738,
-0.034040164202451706,
0.021422289311885834,
-0.022523827850818634,
0.005993845872581005,
-0.011026616208255291,
0.04611380398273468,
-0.011141876690089703,
-0.011385895311832428,
0.01870899461209774,
0.03627771511673927,
-0.03856673836708069,
0.00042525591561570764,
-0.018247094005346298,
-0.0012003026204183698,
-0.10276897251605988,
0.0018786598229780793,
0.04231064394116402,
-0.007702070288360119,
-0.0022516807075589895,
0.7942416071891785,
0.03597521409392357,
0.0006328880554065108,
0.009892292320728302,
0.03580918163061142,
-0.0036855125799775124,
0.023592790588736534,
-0.012282310985028744,
-0.004112579394131899,
-0.02256960980594158,
0.01442183367908001,
0.00440258951857686,
0.010707036592066288,
0.03484206646680832,
0.03568846732378006,
0.0325738750398159,
0.02791513130068779,
0.03335344046354294,
0.0020586461760103703,
0.014327986165881157,
0.03950224071741104,
0.025088371708989143,
0.03618558868765831,
0.017183465883135796,
0.013187614269554615,
0.003672108519822359,
-0.1307188868522644,
-0.0014868351863697171,
-6.798749288521082e-33,
0.049345824867486954,
0.01577179692685604,
0.05886148661375046,
0.009942475706338882,
-0.0029956235084682703,
0.010080329142510891,
-0.0231255441904068,
0.023515939712524414,
-0.0018452581716701388,
-0.04273134097456932,
-0.05298076197504997,
-0.021675562486052513,
0.02334783226251602,
-0.027136340737342834,
0.0046539572067558765,
-0.006553235463798046,
0.021942028775811195,
0.016043147072196007,
0.0025130880530923605,
0.02244582585990429,
-0.02561418153345585,
0.061930250376462936,
-0.01832696422934532,
0.05811149626970291,
-0.03432708978652954,
0.03546985611319542,
0.014175749383866787,
0.005458067171275616,
0.008767137303948402,
-0.027761120349168777,
-0.08090371638536453,
-0.007692675106227398,
-0.012101181782782078,
-0.021249208599328995,
0.01464504562318325,
-0.06528449058532715,
-0.050232965499162674,
-0.0023332140408456326,
-0.034310728311538696,
-0.07618697732686996,
-0.047467369586229324,
0.044910382479429245,
-0.03130633011460304,
-0.03652410954236984,
-0.036519698798656464,
-0.0061447094194591045,
-0.012467177584767342,
0.03711967542767525,
-0.021199502050876617,
0.026707949116826057,
-0.040421318262815475,
0.029110770672559738,
0.0034725831355899572,
0.0289287231862545,
-0.0329897403717041,
0.005103955045342445,
0.02584775723516941,
0.014367718249559402,
-0.02867421694099903,
0.01279305201023817,
0.03220999985933304,
-0.021573428064584732,
-0.0337701290845871,
0.0551285520195961,
0.0386609323322773,
0.008024572394788265,
-0.03973596543073654,
0.003908919636160135,
-0.01531266514211893,
0.02488347329199314,
-0.05126291513442993,
0.04106957092881203,
-0.01684032753109932,
0.006215629633516073,
0.024480314925312996,
-0.06645730137825012,
-0.005949531681835651,
-0.028887126594781876,
-0.013899825513362885,
0.021238887682557106,
-0.0382821150124073,
-0.02453024685382843,
-0.0010383176850154996,
-0.055777426809072495,
-0.0016157310456037521,
-0.032867372035980225,
0.05325295031070709,
0.01870313100516796,
0.05060618370771408,
0.020772414281964302,
0.03907172754406929,
0.015368734486401081,
0.002307796385139227,
-0.014793729409575462,
-0.04315689951181412,
6.3342277165387e-33,
-0.024626296013593674,
0.02569894678890705,
-0.012822064571082592,
0.013744184747338295,
0.03852371498942375,
-0.012270774692296982,
0.00493285059928894,
-0.0063687642104923725,
-0.06890053302049637,
0.03125368058681488,
-0.032553013414144516,
-0.020969107747077942,
0.011554322205483913,
0.03493337333202362,
0.05515621602535248,
0.01983443647623062,
-0.00354819861240685,
-0.037458304315805435,
-0.006148205604404211,
0.03257178142666817,
-0.028969457373023033,
0.01792631857097149,
-0.011061332188546658,
0.017392465844750404,
0.0637352466583252,
0.004862302914261818,
-0.015393473207950592,
0.011446788907051086,
-0.0039416346698999405,
0.028059111908078194,
0.026222312822937965,
-0.01748737506568432,
-0.026030752807855606,
-0.04081086814403534,
0.00032354798167943954,
-0.00328258890658617,
-0.0001524338877061382,
0.010274779051542282,
0.033485110849142075,
0.006383594591170549,
0.02490607462823391,
-0.011514641344547272,
-0.05215459689497948,
0.072474904358387,
0.015408860519528389,
0.030305305495858192,
-0.009471897035837173,
0.06286071985960007,
-0.030333470553159714,
0.005462671164423227,
-0.03412439301609993,
0.012207726947963238,
0.02479531615972519,
-0.005457115825265646,
0.0004274820676073432,
-0.05295063182711601,
0.03808653727173805,
0.07232792675495148,
-0.03609874099493027,
0.025544892996549606,
-0.02736852318048477,
-0.040617361664772034,
-0.013868291862308979,
0.020194154232740402,
-0.043887361884117126,
-0.03366459161043167,
-0.006093339063227177,
0.005770779214799404,
-0.040697477757930756,
-0.03110097162425518,
0.02603026293218136,
-0.03251475468277931,
-0.026661330834031105,
0.024296792224049568,
0.05186810344457626,
-0.004575791768729687,
-0.01830293796956539,
0.023281432688236237,
-0.06877085566520691,
0.010141724720597267,
0.002874911529943347,
0.05383974313735962,
0.021158583462238312,
-0.010639335960149765,
0.028860151767730713,
-0.008210418745875359,
-0.04875531047582626,
0.024807516485452652,
-0.05387033149600029,
-0.015812385827302933,
0.013688690960407257,
0.02592417038977146,
-0.05980939790606499,
0.0556536503136158,
0.0025408254005014896,
-1.2159303786063447e-8,
-0.0020908601582050323,
-0.014907747507095337,
0.003624162869527936,
-0.025874251499772072,
0.007560590282082558,
0.03100333921611309,
0.009799212217330933,
0.04395535588264465,
-0.003759028622880578,
0.02919529378414154,
0.01829976961016655,
-0.006230308208614588,
0.026760414242744446,
-0.0064024487510323524,
0.011387133039534092,
-0.009163815528154373,
0.012271002866327763,
-0.016072416678071022,
0.017658326774835587,
0.013456601649522781,
0.0039006483275443316,
0.005859459284693003,
-0.04027191177010536,
0.005009350832551718,
-0.0368572399020195,
-0.042422275990247726,
0.06473740935325623,
-0.059872161597013474,
-0.027828771620988846,
-0.02283516153693199,
-0.014251185581088066,
-0.010093139484524727,
-0.03199731186032295,
-0.035113297402858734,
-0.060805950313806534,
-0.004805664997547865,
0.04212149232625961,
0.020540129393339157,
0.03927498683333397,
0.03101830743253231,
-0.023768626153469086,
0.03588426485657692,
-0.033469125628471375,
-0.031162796542048454,
-0.023131253197789192,
0.0010392604162916541,
-0.039719197899103165,
0.005998495500534773,
0.05851481482386589,
-0.0288200955837965,
-0.03554493561387062,
-0.0002635675191413611,
0.010972470045089722,
0.00508724944666028,
0.04033633694052696,
0.0085894875228405,
-0.02657427452504635,
-0.01779358461499214,
-0.017486946657299995,
-0.015588861890137196,
0.028392547741532326,
0.009382648393511772,
-0.029617223888635635,
-0.03625810891389847
] | jythonneo4j-java-lang-exceptionininitializererror-java-lang-exceptionininitializererror | https://markhneedham.com/blog/2014/02/05/jythonneo4j-java-lang-exceptionininitializererror-java-lang-exceptionininitializererror |
false | 2014-02-20 23:16:34 | Automating Skype's 'This message has been removed' | [
"software-development",
"skype"
] | [
"Software Development"
] | One of the stranger features of Skype is that that it allows you to delete the contents of a message that you've already sent to someone - something I haven't seen on any other messaging system I've used.
For example if I wrote a message in Skype and wanted to edit it I would press the 'up' arrow:
image::{{<siteurl>}}/uploads/2014/02/2014-02-20_23-02-28.png[2014 02 20 23 02 28,564]
Once I've deleted the message I'd see this in the space where the message used to be:
image::{{<siteurl>}}/uploads/2014/02/2014-02-20_23-00-41.png[2014 02 20 23 00 41,600]
I almost certainly am too obsessed with this but I find it quite amusing when I see people posting and retracting messages so I wanted to see if it could be automated.
https://twitter.com/apcj[Alistair] showed me http://support.apple.com/kb/ht2488[Automator], a built in tool on the Mac for automating work flows.
Automator allows you to execute Applescript so we wrote the following code which selects the current chat in Skype, writes a message and then deletes it one character at a time:
[source,bash]
----
on run {input, parameters}
tell application "Skype"
activate
end tell
tell application "System Events"
set message to "now you see me, now you don't"
keystroke message
keystroke return
keystroke (ASCII character 30) --up arrow
repeat length of message times
keystroke (ASCII character 8) --backspace
end repeat
keystroke return
end tell
return input
end run
----
We wired up the Applescript via the Utilities > Run Applescript menu option in Automator:
image::{{<siteurl>}}/uploads/2014/02/2014-02-20_23-12-38.png[2014 02 20 23 12 38,380]
We can then go further and wire that up to a keyboard shortcut if we want by saving the workflow as a service in Automator but for my messing around purposes clicking the 'Run' button from Automator didn't seem too much of a hardship! | null | null | [
-0.022604534402489662,
0.01455772202461958,
0.005345602985471487,
0.03819970786571503,
0.10241483896970749,
0.034463364630937576,
0.03710639849305153,
0.0474836565554142,
0.014111937023699284,
-0.021258201450109482,
-0.03344009071588516,
0.019213007763028145,
-0.07227577269077301,
-0.02508085034787655,
-0.01703956350684166,
0.05940009653568268,
0.06398265063762665,
-0.005347613710910082,
0.0334027074277401,
-0.0032744440250098705,
0.01610565185546875,
0.06445150077342987,
0.028975071385502815,
0.01748158223927021,
0.027897844091057777,
0.04060591384768486,
-0.02771560102701187,
-0.005484709050506353,
-0.06229782849550247,
0.014161250554025173,
0.06871938705444336,
0.0035560415126383305,
0.007945362478494644,
-0.034853506833314896,
0.01803603582084179,
-0.03148212283849716,
-0.030195143073797226,
-0.004247987177222967,
0.0026748282834887505,
0.04331004619598389,
-0.07060662657022476,
0.02361837774515152,
-0.026869015768170357,
-0.004809856414794922,
-0.026890762150287628,
-0.016756612807512283,
-0.08026586472988129,
0.004190782085061073,
-0.007464820984750986,
0.020731665194034576,
-0.0794169083237648,
0.027056602761149406,
-0.015608595684170723,
0.007964685559272766,
0.025706959888339043,
0.063528873026371,
0.04421974718570709,
-0.08640772104263306,
0.03453885018825531,
-0.01112456526607275,
-0.010644732043147087,
-0.026563245803117752,
0.003970177378505468,
0.027308952063322067,
-0.014221838675439358,
-0.029398875311017036,
0.02840982750058174,
0.04258498176932335,
-0.02719634398818016,
-0.003162527922540903,
0.01841621659696102,
-0.01040737610310316,
-0.027889812365174294,
-0.03991101309657097,
0.04703344404697418,
-0.03848828375339508,
0.003305882913991809,
0.05554105341434479,
0.02650454267859459,
0.05099238082766533,
-0.011492619290947914,
0.012881209142506123,
-0.000351140828570351,
0.042587555944919586,
-0.02507186494767666,
-0.01308126375079155,
-0.014924515970051289,
0.0034713929053395987,
-0.024023011326789856,
0.03287021815776825,
-0.0008229955565184355,
-0.07734735310077667,
0.007205692585557699,
-0.0007420910988003016,
-0.0030648247338831425,
-0.023686382919549942,
-0.03406771644949913,
-0.003922966308891773,
-0.0034236141946166754,
-0.002003476256504655,
-0.029989168047904968,
-0.01524531003087759,
-0.007465096190571785,
0.02231183834373951,
-0.06353327631950378,
0.010844715870916843,
-0.028488317504525185,
0.007197449449449778,
0.0362350158393383,
0.010282613337039948,
-0.008154007606208324,
-0.012036629021167755,
-0.009097764268517494,
-0.002729523926973343,
-0.09060418605804443,
0.03527713939547539,
0.026865480467677116,
-0.0007490559946745634,
0.030332718044519424,
0.0066727325320243835,
0.04294969514012337,
0.024301156401634216,
-0.012627637013792992,
0.07093575596809387,
0.01027613878250122,
0.007365053053945303,
0.01492369081825018,
0.061361461877822876,
-0.037307970225811005,
-0.0663454681634903,
-0.0070023853331804276,
0.052616532891988754,
0.009757492691278458,
0.008930831216275692,
0.0238551776856184,
-0.00565295061096549,
0.001666554482653737,
-0.014495287090539932,
0.04161730408668518,
0.04913787916302681,
-0.002762157004326582,
0.0029164780862629414,
-0.014222010970115662,
-0.009367476217448711,
0.020689405500888824,
0.0025818103458732367,
-0.04595249891281128,
-0.011387201026082039,
-0.04042748734354973,
0.008829688653349876,
-0.011164193041622639,
-0.022117281332612038,
0.0834689810872078,
-0.01975720003247261,
-0.0018296139314770699,
0.06698071211576462,
0.0067703803069889545,
-0.005804959684610367,
-0.01594989188015461,
0.013623730279505253,
0.04430994763970375,
0.050823744386434555,
-0.019325900822877884,
0.03216409310698509,
0.0115321334451437,
0.015071239322423935,
0.0072874692268669605,
0.023807432502508163,
0.013218721374869347,
-0.000049077974836109206,
-0.055690739303827286,
-0.009278867393732071,
0.07132894545793533,
-0.059125274419784546,
-0.02157507836818695,
0.04004092514514923,
0.08115598559379578,
0.043956492096185684,
0.03852861747145653,
0.006696328520774841,
-0.06947644054889679,
0.03612178936600685,
-0.020855728536844254,
0.05491835996508598,
0.018669836223125458,
-0.013298659585416317,
0.09602461755275726,
0.03161424770951271,
-0.021108780056238174,
-0.009951171465218067,
-0.07007653266191483,
-0.07885967195034027,
-0.01361481286585331,
-0.002368680667132139,
0.06821592152118683,
-0.04767288640141487,
-0.015243186615407467,
0.05735069513320923,
0.029279714450240135,
0.05111878737807274,
0.003914806991815567,
-0.014754369854927063,
0.02120891399681568,
-0.06713886559009552,
-0.042999714612960815,
0.02157960832118988,
0.022932369261980057,
-0.03943062201142311,
-0.018369292840361595,
0.01675943098962307,
0.006715688388794661,
0.01119308266788721,
0.06048539653420448,
0.013691559433937073,
0.05410861596465111,
0.029749751091003418,
0.030705375596880913,
-0.039047643542289734,
0.01735989935696125,
-0.027884216979146004,
-0.004802072886377573,
0.022163212299346924,
-0.005564687307924032,
0.025593440979719162,
0.027888139709830284,
0.12442798912525177,
0.05559876561164856,
-0.026747198775410652,
-0.05723543092608452,
-0.0027928980998694897,
0.004838616121560335,
-0.06334243714809418,
-0.0037015671841800213,
-0.013711453415453434,
-0.01091503631323576,
-0.017860986292362213,
-0.053202174603939056,
-0.024690398946404457,
0.010063264518976212,
-0.030704796314239502,
0.011223554611206055,
0.071328304708004,
-0.010738230310380459,
0.03701350465416908,
-0.03585713729262352,
-0.00279269483871758,
0.007958179339766502,
-0.009166448377072811,
-0.03246359899640083,
0.00998347532004118,
0.0406368114054203,
0.0033599580638110638,
0.06701964139938354,
-0.031004445627331734,
-0.015701884403824806,
0.0046134330332279205,
-0.04574250429868698,
0.008151127956807613,
0.036462198942899704,
0.027890536934137344,
-0.003314829198643565,
0.049266234040260315,
-0.03517135605216026,
0.024841155856847763,
-0.015534854494035244,
-0.045511938631534576,
-0.03209904953837395,
-0.01617821678519249,
-0.030769724398851395,
-0.0031148705165833235,
-0.008772308938205242,
-0.019412696361541748,
0.001526161446236074,
-0.006801494397222996,
0.027111252769827843,
0.008695132099092007,
-0.002598885912448168,
-0.00858951173722744,
-0.030357541516423225,
-0.023027172312140465,
-0.028169382363557816,
0.03867759928107262,
-0.05129959061741829,
-0.01875065267086029,
0.022479962557554245,
-0.0644492357969284,
0.014485741965472698,
-0.052072566002607346,
-0.06308886408805847,
-0.004868854768574238,
-0.0013477943139150739,
0.0004976195050403476,
0.012662707827985287,
0.05366378277540207,
0.03987894207239151,
-0.019561855122447014,
0.02996865101158619,
0.019764171913266182,
0.026226116344332695,
0.042128171771764755,
0.04290288686752319,
0.04748854413628578,
0.018717536702752113,
-0.042142029851675034,
-0.017717180773615837,
-0.0432840995490551,
0.034296609461307526,
-0.028936877846717834,
-0.264204204082489,
0.04529305174946785,
0.01237477920949459,
-0.05550161749124527,
0.019365018233656883,
-0.02157924883067608,
0.028432417660951614,
-0.050286632031202316,
-0.027186863124370575,
-0.004345274530351162,
-0.008133736439049244,
-0.037697453051805496,
0.008025838062167168,
0.025431057438254356,
-0.003628178732469678,
0.008058670908212662,
-0.0319269523024559,
-0.05597875639796257,
0.04375288635492325,
0.01420125737786293,
-0.01965288817882538,
-0.0517578162252903,
0.03876933082938194,
0.05197298526763916,
0.04074922949075699,
0.054024722427129745,
-0.047468021512031555,
0.0153312087059021,
-0.004131085705012083,
0.0063410005532205105,
0.0011742577189579606,
0.002037110971286893,
0.0342036671936512,
0.009190663695335388,
-0.018649935722351074,
-0.011967104859650135,
0.06837395578622818,
0.007039948832243681,
0.009110950864851475,
-0.003742718603461981,
0.0009397407411597669,
-0.03191548213362694,
0.014908810146152973,
0.0026661453302949667,
0.048179831355810165,
0.013617408461868763,
-0.043293546885252,
-0.027333108708262444,
-0.03989303484559059,
0.08828234672546387,
-0.030749382451176643,
-0.04774313420057297,
-0.02182113006711006,
0.034243565052747726,
0.025594696402549744,
0.002093670656904578,
-0.017117172479629517,
0.010181519202888012,
-0.03808613494038582,
-0.01986410655081272,
-0.015270300209522247,
-0.0014406308764591813,
-0.02553601562976837,
-0.06575651466846466,
0.03319969400763512,
-0.07370154559612274,
-0.07570882141590118,
0.006762899924069643,
0.06270992755889893,
0.008532291278243065,
-0.03980094939470291,
-0.018589330837130547,
-0.022403940558433533,
-0.11207221448421478,
0.014051751233637333,
-0.031811248511075974,
-0.040405791252851486,
0.017321422696113586,
-0.006671523209661245,
0.04734022170305252,
-0.05896003171801567,
-0.0212244875729084,
0.02737455442547798,
-0.011157356202602386,
0.0028359347488731146,
-0.01636677421629429,
0.03308549523353577,
-0.006163753569126129,
-0.009182390756905079,
0.010027864016592503,
0.07432154566049576,
-0.02603229507803917,
-0.054271526634693146,
-0.019623737782239914,
-0.011187680065631866,
0.005173930432647467,
0.025459924712777138,
-0.016634277999401093,
0.021476788446307182,
0.016805989667773247,
0.03710056096315384,
-0.0281428974121809,
-0.008588573895394802,
-0.04301684349775314,
0.010889852419495583,
-0.007846924476325512,
-0.04360801354050636,
0.034513216465711594,
0.03454216942191124,
0.03862633928656578,
-0.026908274739980698,
-0.02889505960047245,
-0.008134005591273308,
-0.07230770587921143,
-0.023154374212026596,
-0.009082576259970665,
0.006973787676542997,
0.017690932378172874,
0.029926903545856476,
-0.06724992394447327,
-0.043811194598674774,
0.02220362052321434,
0.03161288797855377,
0.04271912947297096,
-0.038986533880233765,
-0.01424490101635456,
-0.03162522614002228,
0.034146618098020554,
-0.00802007969468832,
-0.018802914768457413,
0.012140566483139992,
0.012874948792159557,
0.011352050118148327,
-0.02857782505452633,
0.026838209480047226,
0.007652035914361477,
-0.01205610390752554,
-0.02864198014140129,
0.0006387388566508889,
-0.016100270673632622,
-0.010800943709909916,
-0.0029949068557471037,
-0.015993788838386536,
0.006319671403616667,
0.06789965182542801,
-0.011079668067395687,
0.02209579572081566,
0.007659995928406715,
-0.002828601049259305,
-0.009922021068632603,
0.0004907806869596243,
-0.08211129903793335,
0.002657506614923477,
-0.01566251926124096,
-0.01667897030711174,
-0.02509603276848793,
0.008327276445925236,
-0.026585016399621964,
-0.034825049340724945,
-0.00907286535948515,
0.03549613431096077,
-0.02521548606455326,
-0.017333921045064926,
-0.02316775545477867,
-0.0027111589442938566,
0.029876355081796646,
0.00850176252424717,
0.00401099631562829,
0.00860572513192892,
0.001248384127393365,
0.017107361927628517,
-0.001425334601663053,
-0.04340002313256264,
-0.002685945713892579,
0.006096699275076389,
-0.01434390340000391,
0.003958054818212986,
0.01277023646980524,
0.01860913075506687,
0.02219579927623272,
0.01480127964168787,
-0.03318633511662483,
0.025932593271136284,
0.02215380221605301,
0.0489000603556633,
0.03822478652000427,
-0.03566542640328407,
0.01646813005208969,
-0.03445051237940788,
-0.020128166303038597,
-0.04069390147924423,
0.0006829751073382795,
-0.047077909111976624,
-0.02390676736831665,
-0.021437104791402817,
-0.07439642399549484,
0.0012583156349137425,
0.036257218569517136,
0.04044036939740181,
0.03149227425456047,
-0.009473553858697414,
0.0012456132099032402,
-0.019069235771894455,
0.025615347549319267,
0.04880823194980621,
-0.04924461990594864,
0.0442977212369442,
0.014992790296673775,
0.01045837439596653,
0.02819017507135868,
0.03390287607908249,
-0.024563930928707123,
-0.04447779804468155,
-0.016597136855125427,
0.012735685333609581,
-0.018552187830209732,
-0.053811319172382355,
-0.038537997752428055,
-0.009390443563461304,
-0.016614392399787903,
0.014148741029202938,
-0.012737593613564968,
-0.013870042748749256,
0.016883431002497673,
-0.03454724699258804,
-0.005724803544580936,
-0.02306966669857502,
0.01371313352137804,
0.05450388789176941,
0.00697284284979105,
0.02858125790953636,
-0.028952497988939285,
0.040563177317380905,
0.02388465590775013,
-0.003979742527008057,
-0.0384066104888916,
-0.08751159906387329,
-0.012007719837129116,
-0.017440814524888992,
0.05806415528059006,
-0.00703677162528038,
0.003729307558387518,
-0.0524941086769104,
0.009087027050554752,
-0.02954314835369587,
0.008216481655836105,
-0.049050673842430115,
-0.027330338954925537,
0.029795175418257713,
0.052905287593603134,
-0.011205365881323814,
0.05903567001223564,
-0.007384393829852343,
-0.0008102136198431253,
0.02370258793234825,
-0.06342851370573044,
-0.024706438183784485,
0.00427181925624609,
-0.054386720061302185,
0.03599504381418228,
0.02935626730322838,
0.028452036902308464,
-0.07082384079694748,
0.013460559770464897,
0.035646338015794754,
-0.01526301633566618,
0.031045112758874893,
-0.004776874091476202,
0.01819482631981373,
-0.024729304015636444,
0.003261739853769541,
-0.08153903484344482,
-0.0006965479115024209,
0.0209878608584404,
-0.03838242590427399,
-0.04602445662021637,
0.038565658032894135,
-0.014853086322546005,
0.03091914765536785,
-0.030733220279216766,
-0.023919329047203064,
0.05596418306231499,
-0.023079678416252136,
-0.010793384164571762,
0.04651344195008278,
-0.05492826923727989,
0.04311518743634224,
0.018096931278705597,
-0.046048182994127274,
-0.011978601105511189,
-0.005969526711851358,
0.07992669939994812,
-0.005198508966714144,
0.039875395596027374,
-0.04964865744113922,
-0.06586998701095581,
0.057907335460186005,
0.012638261541724205,
-0.001181596308015287,
0.031460803002119064,
-0.01074354350566864,
0.0059641203843057156,
0.03737299516797066,
0.008260861039161682,
-0.011737743392586708,
-0.007944931276142597,
-0.02378617599606514,
-0.05887974798679352,
0.006778510753065348,
0.01811603270471096,
-0.027642805129289627,
-0.03467591479420662,
0.07217670977115631,
0.02231270633637905,
-0.021498186513781548,
-0.0718461126089096,
0.06154990196228027,
-0.0406845323741436,
-0.031155303120613098,
-0.010245759971439838,
0.007937033660709858,
-0.042768340557813644,
0.048048730939626694,
-0.00945373997092247,
-0.001472561969421804,
0.07774987816810608,
-0.00254553509876132,
0.018088553100824356,
-0.009526588022708893,
0.053413692861795425,
0.08792818337678909,
0.0798618495464325,
0.03189710155129433,
0.0459398478269577,
-0.03304225951433182,
-0.055522385984659195,
0.000256203580647707,
-0.012202857993543148,
-0.0115573825314641,
-0.017117585986852646,
0.014406540431082249,
0.09513512253761292,
-0.03895196691155434,
0.06731291860342026,
-0.02619612030684948,
-0.034773197025060654,
0.011734738014638424,
0.025999953970313072,
0.027505436912178993,
0.037417322397232056,
0.035309549421072006,
0.01924745738506317,
-0.01071674469858408,
-0.0011533902725204825,
0.06028332933783531,
-0.02842799574136734,
-0.03618476539850235,
0.05984162911772728,
-0.02286541648209095,
0.03451753407716751,
-0.007811172865331173,
0.05603853985667229,
0.08733616769313812,
-0.014710396528244019,
0.0036409005988389254,
0.02957434020936489,
0.039451949298381805,
-0.024020802229642868,
0.050644345581531525,
-0.006056610960513353,
-0.003832842456176877,
0.024840734899044037,
-0.015266599133610725,
-0.04110864922404289,
-0.038705915212631226,
-0.033105917274951935,
0.04905332997441292,
-0.01481681875884533,
0.008835606276988983,
0.025189418345689774,
-0.020295726135373116,
-0.027635425329208374,
-0.0337655134499073,
-0.08261319249868393,
-0.0643179714679718,
-0.02382504753768444,
-0.047721512615680695,
0.029595671221613884,
0.03000751882791519,
-0.04324549436569214,
-0.012860494665801525,
-0.05151204392313957,
-0.005772602744400501,
0.0027798935770988464,
-0.030466437339782715,
-0.035036295652389526,
0.04071947559714317,
-0.01891194097697735,
-0.02080233208835125,
0.030767664313316345,
0.042509227991104126,
0.001593862078152597,
-0.04112662747502327,
-0.04929090663790703,
-0.010480237193405628,
0.02871593087911606,
0.0037643606774508953,
-0.009907880797982216,
-0.06339089572429657,
0.011871197260916233,
0.01741703413426876,
-0.0028598150238394737,
-0.05549037829041481,
0.021706484258174896,
0.023831088095903397,
0.01795988157391548,
0.05806852504611015,
-0.03154854103922844,
0.001201589242555201,
-0.045037537813186646,
0.007427083794027567,
-0.01844094507396221,
0.024550847709178925,
0.040424082428216934,
0.01007995568215847,
0.09201277047395706,
0.04787823185324669,
-0.020728688687086105,
-0.022725561633706093,
-0.024325476959347725,
-0.03358161076903343,
0.01650642417371273,
-0.024611635133624077,
-0.021006347611546516,
-0.0486593022942543,
-0.0702657401561737,
-0.028305700048804283,
0.027924254536628723,
-0.009478060528635979,
-0.037520620971918106,
0.027452347800135612,
0.002078915713354945,
-0.023235483095049858,
0.02078426629304886,
-0.06688188761472702,
-0.0210101418197155,
-0.023654185235500336,
-0.03437875583767891,
-0.013388211838901043,
-0.004862335044890642,
-0.014877302572131157,
-0.03812457248568535,
0.01269268523901701,
-0.022242387756705284,
0.005330976564437151,
0.014529257081449032,
0.034197479486465454,
0.0045663341879844666,
-0.01994737796485424,
0.027869591489434242
] | [
-0.07256385684013367,
-0.019751382991671562,
-0.035433825105428696,
-0.042831532657146454,
0.02592722699046135,
-0.049988098442554474,
0.061788301914930344,
0.024029865860939026,
0.009689937345683575,
-0.017247378826141357,
0.0029257445130497217,
-0.022598283365368843,
0.013707962818443775,
-0.028917036950588226,
0.10999448597431183,
0.030370324850082397,
0.020850693807005882,
-0.12402696162462234,
-0.05996103212237358,
0.04093294218182564,
0.00540801789611578,
-0.022395988926291466,
-0.027197623625397682,
0.0033497572876513004,
0.01907566376030445,
0.013161680661141872,
0.0223549772053957,
-0.03364240750670433,
-0.024358686059713364,
-0.15431621670722961,
0.03442433103919029,
0.015204056166112423,
0.035790666937828064,
-0.019697649404406548,
0.0045074280351400375,
0.02321508154273033,
-0.012104889377951622,
-0.008424079976975918,
-0.020797476172447205,
0.047200482338666916,
0.03295069932937622,
-0.018400365486741066,
-0.056070633232593536,
-0.04387924075126648,
0.04408697038888931,
-0.025821272283792496,
0.008076776750385761,
-0.060764141380786896,
0.00817561149597168,
0.007295898161828518,
-0.04362797737121582,
0.00996612012386322,
0.0006069319206289947,
-0.027511628344655037,
-0.002838962012901902,
0.03789529204368591,
0.04074107110500336,
0.07571332901716232,
0.02494211122393608,
0.042379673570394516,
0.02478955127298832,
-0.02153869718313217,
-0.11319222301244736,
0.11581286787986755,
0.029486997053027153,
0.0497683510184288,
-0.029086610302329063,
0.0021363631822168827,
-0.010658579878509045,
0.09264722466468811,
-0.0038313823752105236,
-0.012057401239871979,
-0.03335845470428467,
0.0669037252664566,
0.008658361621201038,
0.0017288732342422009,
0.0007001245394349098,
0.03461545333266258,
-0.007061527110636234,
-0.03981388360261917,
-0.03442773595452309,
-0.014214606955647469,
-0.025073671713471413,
-0.005239630583673716,
-0.03923565149307251,
-0.02400652877986431,
-0.010979331098496914,
0.036332353949546814,
0.009062672033905983,
-0.003624805947765708,
0.010313580743968487,
-0.013960550539195538,
0.04963789880275726,
0.015153611078858376,
-0.14014025032520294,
-0.02253587171435356,
-0.0243818499147892,
0.013014099560678005,
-0.059335753321647644,
0.4279031455516815,
-0.019181471318006516,
-0.0034534854348748922,
0.04939168319106102,
0.001384696108289063,
0.023654578253626823,
-0.00776689825579524,
0.005600969307124615,
-0.057709887623786926,
-0.0022083744406700134,
-0.010868562385439873,
0.012137698009610176,
-0.0065295216627418995,
0.06998920440673828,
0.009248586371541023,
0.03532363474369049,
0.05869656801223755,
0.04223627224564552,
0.04096308350563049,
-0.0020807948894798756,
-0.017124241217970848,
-0.034803468734025955,
0.008204658515751362,
0.01582915149629116,
-0.0018907708581537008,
0.00509992428123951,
-0.028743213042616844,
0.07841916382312775,
0.06723412126302719,
-0.0005189763614907861,
-0.0022382328752428293,
0.06476534903049469,
-0.015950901433825493,
-0.04833681508898735,
0.023811936378479004,
0.02550232969224453,
0.020528921857476234,
-0.009044894017279148,
-0.0332062728703022,
0.005230165086686611,
0.0051483227871358395,
-0.001409698510542512,
-0.058557312935590744,
0.03476804122328758,
0.009887118823826313,
-0.03566490486264229,
0.10284968465566635,
-0.004719168413430452,
-0.06533258408308029,
-0.01480975840240717,
-0.030200129374861717,
-0.004596441052854061,
0.045049458742141724,
0.02197292447090149,
-0.05148542299866676,
0.030195673927664757,
-0.0019079303601756692,
0.09285713732242584,
-0.008381213992834091,
-0.05254368856549263,
0.025922534987330437,
0.00971679762005806,
-0.03250405192375183,
-0.03133457154035568,
0.035037219524383545,
0.058817848563194275,
-0.11776591837406158,
-0.01702631078660488,
0.004595677834004164,
0.010129988193511963,
-0.046533167362213135,
-0.014830484986305237,
-0.01189284585416317,
-0.019892053678631783,
-0.02471117116510868,
0.006108718458563089,
-0.051958728581666946,
-0.037546414881944656,
0.0055127330124378204,
0.01798597350716591,
0.01779182255268097,
-0.028762992471456528,
-0.013498255051672459,
0.0032901838421821594,
0.015985950827598572,
-0.02851727046072483,
-0.09494873136281967,
-0.01545268390327692,
0.001806840649805963,
0.042873747646808624,
-0.018690096214413643,
-0.0439906045794487,
-0.015261904336512089,
-0.048747628927230835,
0.05103876069188118,
-0.050913337618112564,
-0.011930698528885841,
0.009116251952946186,
-0.01917704939842224,
-0.00592141505330801,
-0.027265258133411407,
-0.007032405585050583,
0.03331785649061203,
-0.03580363094806671,
0.011878623627126217,
-0.07181175798177719,
0.0535334050655365,
0.027861149981617928,
-0.03671860322356224,
0.09590975195169449,
0.011679953895509243,
-0.005578973796218634,
-0.025487521663308144,
0.024234680458903313,
0.0014372551813721657,
0.008840893395245075,
-0.045784395188093185,
0.00822262279689312,
0.011564522981643677,
0.01150523591786623,
0.004576859530061483,
-0.03654259815812111,
0.011194536462426186,
0.001237784861586988,
-0.3217623829841614,
-0.04716445133090019,
-0.00839868001639843,
-0.02120380662381649,
0.003551658010110259,
-0.07813285291194916,
0.01976652443408966,
-0.03386508300900459,
0.06663484871387482,
0.005390179343521595,
0.08864488452672958,
-0.055640485137701035,
0.006473922170698643,
-0.05726401507854462,
0.028458548709750175,
0.024413447827100754,
-0.04398687183856964,
0.0040685078129172325,
-0.01551794447004795,
0.02129477821290493,
-0.013871343806385994,
0.009921727702021599,
-0.017145399004220963,
-0.05458566173911095,
-0.008414851501584053,
-0.044348910450935364,
0.1099449023604393,
0.04447010159492493,
0.07326857000589371,
0.008529924787580967,
0.053725264966487885,
0.01780964806675911,
0.026679428294301033,
-0.1323975771665573,
-0.008213644847273827,
0.003536348696798086,
-0.00326795713044703,
-0.009066195227205753,
0.014040254056453705,
-0.005543547682464123,
-0.09012605249881744,
0.018402382731437683,
-0.026795849204063416,
-0.07259230315685272,
-0.048057202249765396,
-0.0040598721243441105,
-0.021647926419973373,
-0.04783385246992111,
-0.043039288371801376,
0.08261647075414658,
0.015139231458306313,
-0.024107299745082855,
-0.006339800078421831,
0.025613956153392792,
0.03749260678887367,
-0.045502204447984695,
-0.074844591319561,
-0.0025891780387610197,
-0.008055956102907658,
0.002735262969508767,
0.009875173680484295,
0.0735716000199318,
-0.004907103721052408,
-0.08880136907100677,
0.007153843995183706,
0.017740976065397263,
-0.019519386813044548,
0.02477901242673397,
0.01630360819399357,
-0.027295701205730438,
-0.009817681275308132,
0.14199481904506683,
0.0132475970312953,
0.025878507643938065,
0.031510189175605774,
0.011113306507468224,
-0.004313820507377386,
0.01225992664694786,
-0.02886112965643406,
-0.03221242502331734,
0.0493958555161953,
-0.0002884250716306269,
0.06169579550623894,
-0.017675548791885376,
-0.02317477948963642,
0.03466525301337242,
0.0070738536305725574,
-0.023765329271554947,
0.061500802636146545,
-0.005813154391944408,
-0.03068743459880352,
0.004720968194305897,
-0.025916729122400284,
-0.08759512007236481,
0.09133844077587128,
-0.01423758827149868,
-0.24467864632606506,
-0.01311572827398777,
0.042691659182310104,
0.0639355480670929,
-0.011529572308063507,
0.047817643731832504,
0.02091200463473797,
0.004227904602885246,
-0.01645074225962162,
0.040922440588474274,
-0.031258463859558105,
0.016210921108722687,
0.0012167306849732995,
-0.011718248948454857,
0.03414081409573555,
0.005824726074934006,
0.03854112699627876,
-0.0034537871833890676,
-0.04285293072462082,
0.011625031009316444,
-0.0028338253032416105,
-0.04887407273054123,
0.1417652815580368,
0.018730241805315018,
0.009121538139879704,
0.031021596863865852,
0.011123554781079292,
0.021197104826569557,
0.0569273978471756,
0.00902094878256321,
0.01465932559221983,
-0.017950542271137238,
0.0211822260171175,
0.008603100664913654,
0.026636416092514992,
-0.10495596379041672,
-0.03645009547472,
0.007359534967690706,
0.010874059051275253,
-0.0021767800208181143,
-0.007855386473238468,
0.0418492816388607,
-0.009114155545830727,
0.0039861323311924934,
0.04610263928771019,
0.0016547366976737976,
-0.01064362097531557,
0.016753189265727997,
-0.024727508425712585,
-0.009492245502769947,
-0.0024109617806971073,
-0.06333403289318085,
0.007680281065404415,
0.025221826508641243,
0.03685074299573898,
0.1022932156920433,
0.011699141934514046,
-0.0036893810611218214,
-0.00003377413304406218,
0.01613326370716095,
-0.011815017089247704,
0.012057787738740444,
0.14001037180423737,
0.010312712751328945,
0.045774977654218674
] | [
0.0025350148789584637,
0.018588537350296974,
0.027618393301963806,
0.031066590920090675,
0.011221890337765217,
-0.020238274708390236,
0.025826705619692802,
0.024352872744202614,
0.03548194468021393,
-0.011523487977683544,
-0.009656350128352642,
0.020619921386241913,
0.024772483855485916,
0.007691522128880024,
0.03174835816025734,
-0.000021691843357984908,
-0.010388539172708988,
-0.04383501037955284,
0.017228903248906136,
-0.026202304288744926,
-0.020010676234960556,
0.013257992453873158,
0.026109127327799797,
0.007051828317344189,
0.016698161140084267,
0.018243014812469482,
-0.0348343588411808,
-0.01158683467656374,
0.009498421102762222,
-0.1353858858346939,
-0.009685976430773735,
-0.015004719607532024,
-0.007424053270369768,
0.01965535804629326,
0.017999041825532913,
0.01273046899586916,
0.022991348057985306,
0.014101460576057434,
-0.012891747988760471,
-0.0076134540140628815,
0.00497309397906065,
-0.03818730264902115,
0.008924910798668861,
0.020540960133075714,
0.0017633995739743114,
0.0034761426504701376,
-0.03882746398448944,
-0.0007980819209478796,
-0.00921271089464426,
0.009739022701978683,
-0.0402817577123642,
-0.014043438248336315,
-0.027608387172222137,
0.022618336603045464,
0.0011227983050048351,
0.006459970027208328,
-0.019147254526615143,
-0.012386482208967209,
0.029894845560193062,
-0.03452008217573166,
0.0061062537133693695,
-0.018111452460289,
-0.039563652127981186,
-0.03656379133462906,
0.007638663053512573,
-0.017610792070627213,
-0.017083099111914635,
-0.006307411473244429,
0.010619301348924637,
0.006994542665779591,
-0.012186172418296337,
0.01873345673084259,
-0.04632214084267616,
0.002019542036578059,
-0.03386053070425987,
-0.02680753543972969,
0.03300325572490692,
-0.02971375174820423,
-0.017228296026587486,
0.0036834843922406435,
0.014358391985297203,
-0.0054033659398555756,
0.001553962123580277,
0.049567993730306625,
0.019587639719247818,
-0.01468981709331274,
-0.02487390674650669,
0.009103071875870228,
0.005992670077830553,
-0.00060648238286376,
-0.05325033515691757,
-0.0027173419948667288,
-0.0026049227453768253,
0.020165136083960533,
-0.07370620965957642,
-0.017800092697143555,
-0.007958299480378628,
-0.031523484736680984,
-0.039576493203639984,
0.8462268114089966,
0.021753886714577675,
-0.00802189577370882,
0.03868873417377472,
0.006333686877042055,
0.042932089418172836,
0.018137557432055473,
0.0029850881546735764,
-0.034547075629234314,
0.027939235791563988,
-0.02391338348388672,
-0.02092420868575573,
-0.023713167756795883,
0.012866968289017677,
0.03677999973297119,
0.03103542886674404,
0.01852441020309925,
0.017197314649820328,
0.025414053350687027,
-0.014056927524507046,
0.02033986710011959,
0.02858009561896324,
-0.03062504716217518,
0.017483336851000786,
-0.006938096601516008,
0.0053540803492069244,
-0.16935671865940094,
0.025661621242761612,
-6.724817306010083e-33,
0.057925090193748474,
-0.009414794854819775,
0.014560679905116558,
0.015821028500795364,
0.03504657372832298,
-0.00613531656563282,
0.01103647705167532,
0.046522557735443115,
-0.019311781972646713,
-0.03415825217962265,
-0.03842167183756828,
-0.025589730590581894,
0.0002181216113967821,
-0.0015047172782942653,
0.04252219572663307,
0.014037554152309895,
0.0016960313078016043,
0.047262270003557205,
0.017188090831041336,
-0.007752071134746075,
-0.0017421988304704428,
0.021639985963702202,
-0.01929471082985401,
0.01671079359948635,
0.014898883178830147,
0.002699073636904359,
0.02389742247760296,
0.0033612113911658525,
0.03205699101090431,
-0.054943643510341644,
-0.030779456719756126,
0.06173378601670265,
-0.004248269367963076,
0.001754659810103476,
-0.0025490811094641685,
-0.04485470801591873,
-0.039260201156139374,
0.0030130797531455755,
-0.014531810767948627,
-0.010127940215170383,
-0.017757145687937737,
-0.024905690923333168,
-0.030582964420318604,
-0.04930713027715683,
-0.02780110202729702,
-0.03326621279120445,
-0.02746155485510826,
-0.009321039542555809,
-0.0027350245509296656,
0.034198611974716187,
0.024378938600420952,
0.01957804709672928,
0.0016532648587599397,
0.017037784680724144,
0.007903801277279854,
-0.018360979855060577,
-0.023018091917037964,
0.004937564488500357,
-0.0018707886338233948,
0.004104066174477339,
0.04539363831281662,
-0.013402341865003109,
-0.0034505713265389204,
0.06606154888868332,
0.015094922855496407,
0.0025131001602858305,
0.017271731048822403,
0.004618073347955942,
-0.003385903313755989,
0.033141057938337326,
-0.06751231849193573,
0.04567912966012955,
-0.009494718164205551,
-0.017007704824209213,
0.016999604180455208,
-0.02736593782901764,
0.0029669716022908688,
0.023764535784721375,
-0.0012140085455030203,
0.06742101162672043,
0.015838729217648506,
-0.004209551028907299,
0.008023174479603767,
-0.044186562299728394,
-0.025785434991121292,
-0.009499439038336277,
0.05219706892967224,
-0.0002211964747402817,
-0.03811836987733841,
0.01840495876967907,
0.0013999345246702433,
0.008316071704030037,
0.0027275681495666504,
0.010565010830760002,
-0.004496870096772909,
6.582551632833877e-33,
0.006314372643828392,
0.0019016062142327428,
-0.021312691271305084,
0.008824404329061508,
0.006567287724465132,
-0.0010401359759271145,
0.04417252168059349,
0.016902925446629524,
-0.04639365151524544,
-0.0010620125103741884,
-0.017862588167190552,
0.026700403541326523,
-0.008655068464577198,
0.002169569954276085,
0.07713120430707932,
-0.03613722696900368,
-0.002407143823802471,
-0.025350037962198257,
-0.011468309909105301,
-0.0387885682284832,
0.001283867284655571,
0.010204215534031391,
0.009686502628028393,
0.022561462596058846,
0.00144737318623811,
0.02782510593533516,
0.008228838443756104,
0.01345598790794611,
-0.004800465423613787,
-0.012309232726693153,
-0.016964051872491837,
0.0016586716519668698,
0.017297541722655296,
-0.04767114296555519,
0.015420729294419289,
0.029063651338219643,
-0.008330662734806538,
-0.012210622429847717,
0.0002707636449486017,
-0.007867339998483658,
0.04958433657884598,
0.01419099047780037,
-0.02861848659813404,
0.0015705876285210252,
0.00521578174084425,
0.03672976419329643,
-0.006636504083871841,
-0.02610357664525509,
0.017058825120329857,
0.010314016602933407,
0.029829932376742363,
-0.017421042546629906,
-0.013488172553479671,
0.0038787710946053267,
0.021857015788555145,
-0.01707201823592186,
-0.023396076634526253,
0.04818670451641083,
-0.019145365804433823,
-0.0379563570022583,
-0.02811042033135891,
-0.0180154237896204,
-0.008682334795594215,
-0.00271240109577775,
-0.023877382278442383,
-0.02474968135356903,
-0.02825317718088627,
-0.002368924906477332,
0.003042009426280856,
0.006026196759194136,
0.011368258856236935,
-0.01601545512676239,
-0.024151133373379707,
0.07232797145843506,
0.041193701326847076,
-0.013305958360433578,
0.009970064274966717,
0.004169346299022436,
-0.05166846513748169,
0.0010485092643648386,
0.020088057965040207,
0.018494080752134323,
0.014896320179104805,
0.02373599074780941,
-0.034815914928913116,
0.01717543415725231,
-0.023809222504496574,
-0.0014631528174504638,
-0.004932348150759935,
-0.0011602320009842515,
-0.04541677236557007,
-0.03861381486058235,
-0.005562768317759037,
0.022930042818188667,
0.006372119765728712,
-1.2664034265696955e-8,
-0.033351875841617584,
0.009310719557106495,
-0.006255519110709429,
0.01972014270722866,
-0.002775184577330947,
0.031994037330150604,
-0.022502250969409943,
0.002765999175608158,
0.014432243071496487,
-0.010025002993643284,
0.00348300626501441,
-0.028955647721886635,
-0.009313168935477734,
0.03022845648229122,
-0.0012456374242901802,
-0.03770232945680618,
-0.027407025918364525,
-0.017093311995267868,
0.04916099086403847,
-0.008133607916533947,
0.035781219601631165,
0.050174057483673096,
0.012435982003808022,
0.007422842085361481,
-0.01912594772875309,
0.012392953038215637,
0.02086569555103779,
-0.04783478379249573,
-0.025141719728708267,
-0.0026872812304645777,
0.00622930470854044,
-0.0351758636534214,
0.00900682806968689,
0.021567421033978462,
-0.03673653304576874,
-0.02691378816962242,
-0.010382087901234627,
0.00012290941958781332,
-0.0070557668805122375,
-0.0024673407897353172,
0.044112302362918854,
-0.02120589092373848,
-0.028661945834755898,
-0.044505488127470016,
-0.03263359144330025,
-0.0032473949249833822,
0.004664442036300898,
-0.01845787651836872,
-0.03142289072275162,
-0.04067612066864967,
0.006420716643333435,
0.0061877453699707985,
0.006073606666177511,
0.053577177226543427,
0.016049258410930634,
-0.008418239653110504,
0.04159289225935936,
-0.06403926759958267,
-0.011555387638509274,
0.018848953768610954,
0.018702298402786255,
0.02373952977359295,
-0.03178054094314575,
-0.016190456226468086
] | automating-skypes-this-message-has-been-removed | https://markhneedham.com/blog/2014/02/20/automating-skypes-this-message-has-been-removed |
false | 2014-02-20 18:22:43 | Neo4j: Cypher - Set Based Operations | [
"neo4j",
"cypher"
] | [
"neo4j"
] | I was recently reminded of a Neo4j cypher query that I wrote a couple of years ago to find the colleagues that I hadn't worked with in the ThoughtWorks London office.
The model looked like this:
image::{{<siteurl>}}/uploads/2014/02/2014-02-18_17-04-01.png[2014 02 18 17 04 01,344]
And I created the following fake data set of the aforementioned model:
[source,java]
----
public class SetBasedOperations
{
private static final Label PERSON = DynamicLabel.label( "Person" );
private static final Label OFFICE = DynamicLabel.label( "Office" );
private static final DynamicRelationshipType COLLEAGUES = DynamicRelationshipType.withName( "COLLEAGUES" );
private static final DynamicRelationshipType MEMBER_OF = DynamicRelationshipType.withName( "MEMBER_OF" );
public static void main( String[] args ) throws IOException
{
Random random = new Random();
String path = "/tmp/set-based-operations";
FileUtils.deleteRecursively( new File( path ) );
GraphDatabaseService db = new GraphDatabaseFactory().newEmbeddedDatabase( path );
Transaction tx = db.beginTx();
try
{
Node me = db.createNode( PERSON );
me.setProperty( "name", "me" );
Node londonOffice = db.createNode( OFFICE );
londonOffice.setProperty( "name", "London Office" );
me.createRelationshipTo( londonOffice, MEMBER_OF );
for ( int i = 0; i < 1000; i++ )
{
Node colleague = db.createNode( PERSON );
colleague.setProperty( "name", "person" + i );
colleague.createRelationshipTo( londonOffice, MEMBER_OF );
if(random.nextInt( 10 ) >= 8) {
me.createRelationshipTo( colleague, COLLEAGUES );
}
tx.success();
}
}
finally
{
tx.finish();
}
db.shutdown();
CommunityNeoServer server = CommunityServerBuilder
.server()
.usingDatabaseDir( path )
.onPort( 9001 )
.persistent()
.build();
server.start();
}
}
----
I've created a node representing me and 1,000 people who work in the London office. Out of those 1,000 people I made it so that ~150 of them have worked with me.
If I want to write a cypher query to find the exact number of people who haven't worked with me I might start with the following:
[source,cypher]
----
MATCH (p:Person {name: "me"})-[:MEMBER_OF]->(office {name: "London Office"})<-[:MEMBER_OF]-(colleague)
WHERE NOT (p-[:COLLEAGUES]->(colleague))
RETURN COUNT(colleague)
----
We start by finding me, then find the London office which I was a member of, and then find the other people who are members of that office. On the second line we remove people that I've previously worked with and then return a count of the people who are left.
When I ran this through https://github.com/mneedham/cypher-query-tuning[my Cypher query tuning tool] the average time to evaluate this query was 7.46 seconds.
That is obviously a bit too slow if we want to run the query on a web page and as far as I can tell the reason for that is that for each potential colleague we are searching through my 'COLLEAGUES' relationships and checking whether they exist. We're doing that 1,000 times which is a bit inefficient.
I chatted to https://twitter.com/dmontag[David] about this, and he suggested that a more efficient query would be to work out all my colleagues up front once and then do the filtering from that set of people instead.
The re-worked query looks like this: ~~~cypher MATCH (p:Person {name: "me"})-[:COLLEAGUES]\->(colleague) WITH p, COLLECT(colleague) as marksColleagues MATCH (colleague)-[:MEMBER_OF]\->(office {name: "London Office"})\<-[:MEMBER_OF]-(p) WHERE NOT (colleague IN marksColleagues) RETURN COUNT(colleague) ~~~
When we run that through the query tuner the average time reduces to 150 milliseconds which is much better.
This type of query seems to be more about set operations than graph ones because *we're looking for what isn't there rather than what is*. When that's the case getting the set of things that we want to compare against up front is more profitable. | null | null | [
0.00832479726523161,
-0.03211311250925064,
-0.022405443713068962,
0.05573001503944397,
0.10156747698783875,
-0.005795922130346298,
0.030491184443235397,
0.01788819208741188,
0.010815443471074104,
-0.00557253323495388,
-0.020819859579205513,
-0.015760065987706184,
-0.07332218438386917,
0.029064269736409187,
-0.023967931047081947,
0.05457879230380058,
0.04674704745411873,
0.016499776393175125,
0.02254420518875122,
-0.03312724456191063,
0.018544863909482956,
0.03412216901779175,
0.005353590939193964,
0.037323735654354095,
0.04078340157866478,
0.03361986204981804,
0.014424974098801613,
-0.014277189038693905,
-0.0440664105117321,
0.011324173770844936,
0.06344262510538101,
0.0009917301358655095,
0.027362767606973648,
-0.01667008362710476,
0.016239259392023087,
0.00148675381205976,
-0.057106323540210724,
-0.002781335962936282,
-0.02147780731320381,
0.002341114217415452,
-0.07178466022014618,
0.054892197251319885,
-0.0019315193640068173,
0.023397142067551613,
-0.05878636986017227,
-0.0133508937433362,
-0.0707322433590889,
0.046257585287094116,
-0.00547295156866312,
0.007890182547271252,
-0.07229278981685638,
0.02323678694665432,
-0.035369452089071274,
0.02795914001762867,
0.00670823035761714,
0.047476328909397125,
0.03470294177532196,
-0.08119475096464157,
0.05603345111012459,
-0.0332014299929142,
0.001991909695789218,
-0.023804493248462677,
0.0013168337754905224,
-0.0008108905167318881,
-0.00715387798845768,
-0.05058087408542633,
0.007909267209470272,
0.05872715264558792,
-0.041551511734724045,
-0.022208096459507942,
-0.0044194962829351425,
0.004484987817704678,
-0.004427414853125811,
-0.018082449212670326,
-0.007096679415553808,
-0.04963104426860809,
0.01383135560899973,
0.04905403405427933,
0.019887004047632217,
0.04867890849709511,
-0.011661783792078495,
0.01074963342398405,
0.010592542588710785,
0.02756943367421627,
0.007799679413437843,
-0.04584936052560806,
-0.04874354228377342,
-0.02346618101000786,
-0.04139656201004982,
0.04488172382116318,
0.009400337003171444,
-0.03460479527711868,
-0.01315765455365181,
0.034037359058856964,
-0.0312191192060709,
0.020320264622569084,
0.018436715006828308,
-0.007565578445792198,
0.018239038065075874,
-0.01639069989323616,
-0.01926938071846962,
-0.013517978601157665,
0.004939092788845301,
0.01930980756878853,
-0.08397406339645386,
-0.02113412506878376,
-0.011874767020344734,
-0.03216196224093437,
-0.005738123320043087,
-0.00034715767833404243,
-0.050759151577949524,
0.017505796626210213,
-0.013578206300735474,
0.026128193363547325,
-0.08647728711366653,
0.07052347809076309,
0.030943872407078743,
-0.0011409703874960542,
-0.01674816384911537,
0.0331425741314888,
0.046360552310943604,
0.01161411963403225,
0.006158433388918638,
0.09057092666625977,
0.00752555625513196,
0.050083354115486145,
-0.02169416844844818,
0.04456257075071335,
-0.016262304037809372,
-0.06280167400836945,
-0.01787128485739231,
0.05555544048547745,
-0.00695783831179142,
0.00794725026935339,
0.006476972252130508,
-0.04219624772667885,
-0.005906843580305576,
0.012141280807554722,
0.04501120746135712,
0.02683187834918499,
0.012125660665333271,
-0.03209927678108215,
0.020058058202266693,
-0.002739815041422844,
0.014985972084105015,
0.019040293991565704,
-0.03125954419374466,
-0.020041782408952713,
-0.009883399121463299,
0.027940701693296432,
-0.0027455242816358805,
0.032589152455329895,
0.04940888285636902,
-0.04648396372795105,
0.03697817027568817,
0.10438288003206253,
0.024011556059122086,
0.004480856470763683,
-0.006120692472904921,
0.01998901180922985,
0.05929522216320038,
0.029244082048535347,
-0.009955640882253647,
0.05693651735782623,
0.01871485449373722,
-0.007881221361458302,
-0.0032329449895769358,
0.0447528176009655,
-0.02251729927957058,
0.021878832951188087,
-0.06835804134607315,
-0.07049509137868881,
0.051980648189783096,
-0.03399856388568878,
-0.010065454058349133,
0.06453410536050797,
0.06820426136255264,
0.0093394098803401,
0.021328706294298172,
0.004938721191138029,
-0.07591511309146881,
0.04555261507630348,
0.0036080540157854557,
0.0074347746558487415,
-0.008547846227884293,
0.016148187220096588,
0.06111454963684082,
0.04675455391407013,
-0.0022227736189961433,
0.04839295521378517,
-0.08076892048120499,
-0.06079224869608879,
-0.024311697110533714,
-0.01754559390246868,
0.0728120431303978,
-0.009432205930352211,
0.022055482491850853,
0.03254186734557152,
0.005017938558012247,
0.03540882095694542,
0.010844407603144646,
-0.0009474452817812562,
0.023034632205963135,
-0.03099403716623783,
-0.0588894784450531,
0.053986385464668274,
0.03393719717860222,
-0.03987220674753189,
-0.04275757074356079,
0.028707973659038544,
-0.030387679114937782,
-0.007940107025206089,
0.02822667546570301,
-0.03397073596715927,
0.042330894619226456,
0.013399326242506504,
0.01800847053527832,
-0.0005198013386689126,
0.034068405628204346,
-0.049162719398736954,
0.031587496399879456,
0.023397736251354218,
-0.038656145334243774,
0.008395498618483543,
-0.008382098749279976,
0.11896580457687378,
0.05278240144252777,
-0.03306068107485771,
-0.04496561363339424,
0.04646359011530876,
0.022576317191123962,
-0.04157213866710663,
0.028921710327267647,
-0.03462160378694534,
0.021425126120448112,
-0.013271630741655827,
-0.019767658784985542,
-0.014821052551269531,
0.02128072828054428,
-0.04771076887845993,
0.017572855576872826,
0.0486743226647377,
-0.02973206341266632,
0.07623015344142914,
-0.004359137266874313,
-0.015589496120810509,
-0.007545414846390486,
-0.04508637636899948,
-0.03989452123641968,
0.021557344123721123,
0.0009677020716480911,
-0.015144203789532185,
0.05936652794480324,
-0.024808455258607864,
-0.00549486605450511,
-0.04005647823214531,
-0.011555859819054604,
0.026280175894498825,
0.03662514314055443,
0.060552552342414856,
-0.019113736227154732,
0.04879815876483917,
-0.03217805549502373,
0.0033565519843250513,
-0.015946703031659126,
-0.05031931772828102,
-0.020529691129922867,
-0.015113972127437592,
0.03665195778012276,
0.0004908274277113378,
0.013993616215884686,
-0.017037108540534973,
0.03756226226687431,
0.013195155188441277,
0.013245437294244766,
-0.013010852038860321,
0.005055049434304237,
0.015633516013622284,
-0.01155868824571371,
-0.028479857370257378,
-0.04435351490974426,
0.03929916396737099,
-0.0477428063750267,
-0.0445152223110199,
0.01946469396352768,
-0.07249698787927628,
0.05575364828109741,
-0.04125037044286728,
-0.03844103589653969,
0.0034078541211783886,
0.02560863457620144,
0.04658396914601326,
0.016164131462574005,
0.004701425787061453,
0.06124243512749672,
0.009875849820673466,
0.011155925691127777,
0.022178681567311287,
-0.018367866054177284,
0.053212422877550125,
0.004728555679321289,
0.06547032296657562,
0.007850964553654194,
-0.030574046075344086,
0.011682650074362755,
-0.030048981308937073,
0.030992871150374413,
-0.014001738280057907,
-0.2745039165019989,
0.042253416031599045,
-0.017063550651073456,
-0.03848772495985031,
0.018018705770373344,
-0.024842653423547745,
0.029719708487391472,
-0.04530579224228859,
-0.017998887225985527,
0.011455126106739044,
0.0086387749761343,
-0.03410930559039116,
-0.011480073444545269,
0.03901032358407974,
0.014168808236718178,
0.004380248486995697,
-0.01893085613846779,
-0.07545603811740875,
-0.0018481917213648558,
0.03774122893810272,
0.003920583985745907,
-0.04392726346850395,
-0.030495312064886093,
0.016972575336694717,
0.033399660140275955,
0.07459454238414764,
-0.08447713404893875,
0.009048640727996826,
-0.0403175912797451,
-0.016913004219532013,
0.005664736032485962,
-0.025332551449537277,
0.01767338626086712,
0.015749692916870117,
-0.021870840340852737,
-0.018116546794772148,
0.019075248390436172,
0.014333460479974747,
-0.01752379909157753,
0.03299720585346222,
-0.04681923985481262,
-0.052904512733221054,
-0.022972825914621353,
-0.004977308213710785,
0.07793222367763519,
0.014547296799719334,
-0.06949860602617264,
-0.023275764659047127,
-0.02157750353217125,
0.06212911754846573,
-0.03429192677140236,
-0.017255473881959915,
0.02038130722939968,
0.019712956622242928,
-0.02254718914628029,
-0.009548367001116276,
-0.0067696780897676945,
0.009907052852213383,
-0.06623700261116028,
-0.03340942785143852,
-0.00102650944609195,
-0.04268511012196541,
0.006399224046617746,
-0.04482152312994003,
-0.010377215221524239,
-0.06485395133495331,
-0.06663055717945099,
-0.014802929945290089,
0.06106197461485863,
0.009577290154993534,
-0.016789324581623077,
0.03266992047429085,
0.0011899112723767757,
-0.11017793416976929,
-0.027487117797136307,
-0.03461317718029022,
0.007144345436245203,
-0.018458029255270958,
0.0027674997691065073,
0.03668708726763725,
-0.030281491577625275,
-0.031876396387815475,
0.007629592437297106,
0.030541807413101196,
0.021603049710392952,
-0.015424607321619987,
0.013124153949320316,
-0.0053935362957417965,
-0.05488370731472969,
0.00014211359666660428,
0.05696859210729599,
0.013226199895143509,
-0.020086374133825302,
-0.011021588928997517,
0.012157229706645012,
0.0606439970433712,
0.010164637118577957,
-0.02166789583861828,
0.005137836094945669,
0.06342238932847977,
0.025760501623153687,
-0.02963215485215187,
0.007428298704326153,
-0.037825800478458405,
-0.022304533049464226,
-0.015063721686601639,
-0.04410794377326965,
0.012305195443332195,
0.016814161092042923,
0.02049325965344906,
0.009421678259968758,
-0.007343325298279524,
0.023675577715039253,
-0.03711917623877525,
-0.029865097254514694,
-0.03363783285021782,
0.015991229563951492,
0.03884856030344963,
0.04402019456028938,
-0.03434267267584801,
-0.04726642370223999,
0.040535006672143936,
0.029138024896383286,
0.0008632744429633021,
-0.06841319054365158,
-0.05137312412261963,
-0.03494342416524887,
-0.0021428687032312155,
-0.004618612118065357,
0.014813527464866638,
-0.018249036744236946,
0.03575136512517929,
0.0016715193632990122,
0.00014817544433753937,
0.050216641277074814,
0.019897231832146645,
-0.031463950872421265,
-0.04587376117706299,
-0.008243456482887268,
0.011001226492226124,
-0.0067920321598649025,
-0.014947834424674511,
0.0079767731949687,
0.037032172083854675,
0.052660368382930756,
-0.015585376881062984,
0.015544499270617962,
-0.01192605309188366,
0.040154773741960526,
-0.00372065557166934,
-0.0058149914257228374,
-0.04312683269381523,
0.028683844953775406,
-0.06441905349493027,
-0.01726539246737957,
-0.004923837259411812,
0.0545925572514534,
-0.026771685108542442,
-0.03587730601429939,
-0.023713475093245506,
0.032996442168951035,
-0.05490126833319664,
0.005320535507053137,
-0.027117852121591568,
0.000021381909391493537,
0.07058291882276535,
-0.01509031280875206,
0.015790201723575592,
-0.02370273880660534,
-0.025520404800772667,
-0.0008695948636159301,
-0.01295044831931591,
-0.021299364045262337,
0.009152981452643871,
0.0018207577522844076,
0.02225613221526146,
0.013392558321356773,
0.025057967752218246,
0.013824506662786007,
0.031228620558977127,
-0.021688714623451233,
-0.014455640688538551,
0.01298946887254715,
0.006548952776938677,
0.0609322115778923,
0.032390743494033813,
-0.001944483956322074,
0.007053053472191095,
-0.01427153404802084,
-0.005902810953557491,
-0.008937928825616837,
-0.003559294855222106,
-0.0232862401753664,
0.02909247949719429,
-0.04453674703836441,
-0.0645071417093277,
0.038962483406066895,
-0.010364349000155926,
0.02128511667251587,
0.021397538483142853,
0.013535593636333942,
0.002700773999094963,
-0.0026386792305856943,
0.040028173476457596,
0.055754248052835464,
-0.06576511263847351,
0.0002729696861933917,
0.010767890140414238,
-0.01148975919932127,
-0.001298213261179626,
-0.01147211343050003,
-0.044891584664583206,
-0.037035293877124786,
-0.03746965155005455,
0.011081637814640999,
-0.029083698987960815,
-0.035617876797914505,
-0.026949040591716766,
0.0025545840617269278,
-0.004225270822644234,
0.00016513494483660907,
0.014353223145008087,
0.01158428005874157,
-0.024390244856476784,
-0.007327380124479532,
0.035843655467033386,
-0.03312527388334274,
0.005291053559631109,
-0.009868936613202095,
-0.019088977947831154,
0.01153931301087141,
-0.020861206576228142,
0.01933353953063488,
0.005440018605440855,
-0.019566571339964867,
-0.016035661101341248,
-0.04463209956884384,
0.016870785504579544,
0.020424995571374893,
0.04082626849412918,
-0.003272457979619503,
-0.001549736363813281,
-0.05142495408654213,
-0.015219124965369701,
-0.006843157112598419,
0.026209697127342224,
0.017813995480537415,
0.007716597057878971,
0.01561854686588049,
0.018549911677837372,
0.015071094036102295,
0.05946308746933937,
-0.023225093260407448,
-0.01749049313366413,
0.06801337003707886,
-0.05466032028198242,
-0.024701852351427078,
-0.0034259820822626352,
-0.05933849886059761,
-0.014006427489221096,
0.007928765378892422,
0.014882780611515045,
-0.022931290790438652,
0.05263538286089897,
0.05063246563076973,
0.014252664521336555,
0.02455863542854786,
-0.010162978433072567,
0.02132914401590824,
-0.031230885535478592,
-0.007293005008250475,
-0.07503178715705872,
0.011465444229543209,
0.04887298122048378,
-0.013655256479978561,
-0.00018382503185421228,
-0.028825605288147926,
-0.040316082537174225,
-0.016082895919680595,
-0.062429409474134445,
-0.03564618527889252,
0.021456081420183182,
-0.042653877288103104,
0.0059419055469334126,
0.015075166709721088,
-0.05230366811156273,
0.021531151607632637,
0.028855564072728157,
-0.04557577520608902,
-0.052945442497730255,
-0.034710321575403214,
0.06850924342870712,
-0.016907228156924248,
0.026700733229517937,
-0.018711287528276443,
-0.018494723364710808,
0.05418120697140694,
0.026704490184783936,
0.03161168843507767,
0.057605743408203125,
-0.024077530950307846,
0.03518490120768547,
0.05097401142120361,
-0.01697269082069397,
-0.0009580304031260312,
0.036621931940317154,
-0.021475717425346375,
-0.06821852922439575,
0.01589660905301571,
0.002189087914302945,
-0.020573414862155914,
-0.05760594829916954,
0.06961958110332489,
0.01821122132241726,
-0.04221104457974434,
-0.04470191150903702,
0.0246117003262043,
-0.02833404392004013,
-0.02367990091443062,
-0.040713679045438766,
0.013340051285922527,
-0.05215274915099144,
0.06042405217885971,
-0.004243126139044762,
0.013967418111860752,
0.06293998658657074,
-0.004685279913246632,
0.0049127209931612015,
-0.002525688149034977,
0.09021642804145813,
0.09354269504547119,
0.04982508346438408,
0.015736963599920273,
0.06013825535774231,
-0.012467796914279461,
-0.04532819986343384,
-0.009395592845976353,
-0.02636459283530712,
-0.026949148625135422,
0.0200999416410923,
0.002033139346167445,
0.09224799275398254,
-0.007257823832333088,
0.06599120795726776,
-0.02999729849398136,
-0.005161369685083628,
0.014739682897925377,
-0.006860925815999508,
0.03248743340373039,
0.05091794952750206,
0.009123585186898708,
0.03686382621526718,
-0.04393051564693451,
-0.033493638038635254,
0.025608185678720474,
0.007807920221239328,
-0.024545889347791672,
0.04196442663669586,
-0.043462805449962616,
-0.006322816479951143,
-0.017507920041680336,
0.018021447584033012,
0.08775483816862106,
-0.013248967006802559,
-0.009000362828373909,
0.0064941286109387875,
-0.0025907675735652447,
0.02197463996708393,
0.007186852861195803,
-0.03116551600396633,
-0.003048533573746681,
-0.018338849768042564,
-0.048781536519527435,
-0.03906220570206642,
-0.03602510318160057,
-0.057175230234861374,
0.011564034968614578,
-0.020266517996788025,
0.006708045955747366,
0.012480176985263824,
0.0037467984948307276,
-0.025232428684830666,
-0.05609370395541191,
-0.04430299624800682,
-0.036138683557510376,
-0.0759652853012085,
0.0013699934352189302,
-0.00008270342368632555,
-0.003551149507984519,
-0.0476120300590992,
0.013862932100892067,
-0.04131680354475975,
-0.0184005293995142,
0.07436508685350418,
-0.04033700004220009,
0.004614460747689009,
0.009111391380429268,
0.015314268879592419,
0.012013454921543598,
0.009927170351147652,
0.047242965549230576,
-0.01766323484480381,
0.01880454272031784,
-0.00978303886950016,
-0.03218753635883331,
0.045246534049510956,
0.012181052006781101,
0.0033535698894411325,
-0.10145112127065659,
0.0036353254690766335,
0.01189581397920847,
-0.043363846838474274,
-0.07140858471393585,
0.006615197751671076,
0.043892811983823776,
0.002953068120405078,
0.038210004568099976,
0.005075838416814804,
-0.020124336704611778,
-0.006846191361546516,
-0.002148805418983102,
0.011421363800764084,
-0.0039203111082315445,
0.045967478305101395,
-0.03638090193271637,
0.07417699694633484,
0.04776013270020485,
-0.03924030438065529,
-0.028978340327739716,
-0.012052841484546661,
0.01622294820845127,
-0.011908681131899357,
-0.05197175592184067,
-0.031032267957925797,
-0.03234732151031494,
-0.08550134301185608,
0.007961535826325417,
0.01904912479221821,
-0.02760230004787445,
-0.03139074146747589,
-0.0043295081704854965,
0.01784684509038925,
-0.030541937798261642,
0.01582944020628929,
-0.04671398177742958,
0.05617658048868179,
-0.026095839217305183,
-0.023071151226758957,
-0.020506227388978004,
-0.00046545808436349034,
-0.00859918538480997,
0.020995331928133965,
0.017429077997803688,
-0.057091813534498215,
0.005424987059086561,
-0.020385732874274254,
0.027565402910113335,
0.031234528869390488,
0.02165922522544861,
0.015763424336910248
] | [
-0.05538365617394447,
-0.013499710708856583,
-0.05014105886220932,
-0.02117821015417576,
0.0571315623819828,
-0.03717648983001709,
0.016890063881874084,
0.016572564840316772,
0.03431696444749832,
-0.0210733525454998,
0.046223223209381104,
-0.035686295479536057,
0.012272076681256294,
-0.005996668245643377,
0.06818099319934845,
-0.009528715163469315,
-0.02817552164196968,
-0.07544372975826263,
-0.01947389356791973,
0.05884021148085594,
-0.010568606667220592,
-0.05868039280176163,
-0.025847159326076508,
-0.018430767580866814,
0.0032286823261529207,
0.039156217128038406,
0.03329728916287422,
-0.008859873749315739,
-0.011778921820223331,
-0.18579864501953125,
0.015550305135548115,
0.012780682183802128,
0.008677907288074493,
0.01954028569161892,
0.049097493290901184,
0.03462768718600273,
0.03885994851589203,
-0.01132092997431755,
0.004041276406496763,
0.037882428616285324,
0.009082299657166004,
-0.0017466063145548105,
-0.05015135928988457,
-0.027806583791971207,
0.057606108486652374,
-0.00195745169185102,
-0.0021674747113138437,
-0.006077049300074577,
-0.03355845808982849,
0.023316211998462677,
-0.040962181985378265,
-0.024113308638334274,
-0.0003618273476604372,
0.008614220656454563,
0.00727086840197444,
0.04283970221877098,
0.062077924609184265,
0.06304202973842621,
0.02752036601305008,
0.05460532009601593,
0.003619114402681589,
0.0006171984132379293,
-0.12256599962711334,
0.06379610300064087,
-0.002280428307130933,
0.020483434200286865,
-0.047377921640872955,
-0.026938561350107193,
-0.02575335092842579,
0.08377700299024582,
0.056544724851846695,
-0.01656518131494522,
-0.04327328875660896,
0.051211245357990265,
0.0028063366189599037,
0.022274373099207878,
-0.010715211741626263,
0.04164794459939003,
0.03275049105286598,
-0.024242639541625977,
-0.061587247997522354,
0.014854651875793934,
-0.03499845787882805,
-0.00816823448985815,
-0.056782010942697525,
0.05930643528699875,
-0.012917735613882542,
0.047141145914793015,
0.017109395936131477,
0.029889751225709915,
0.016997307538986206,
0.030980832874774933,
0.034127168357372284,
0.004839950241148472,
-0.09001633524894714,
-0.016583431512117386,
0.004416953772306442,
0.03608367592096329,
-0.029308488592505455,
0.42956408858299255,
0.0004239244444761425,
-0.010006568394601345,
0.054312869906425476,
0.033924926072359085,
-0.013191238045692444,
-0.018303921446204185,
0.010733465664088726,
-0.05467972904443741,
0.04036104679107666,
-0.015779273584485054,
-0.010841530747711658,
-0.01638735644519329,
0.03669160604476929,
-0.09167154878377914,
0.009055709466338158,
0.03146528825163841,
0.04531257599592209,
0.0280614010989666,
-0.035142362117767334,
0.00546672847121954,
-0.002853418467566371,
0.028367236256599426,
0.025001030415296555,
0.024922681972384453,
-0.003446113085374236,
-0.006489680614322424,
0.03436366841197014,
0.04280805215239525,
0.015394274145364761,
0.025235401466488838,
0.047597844153642654,
0.006327855866402388,
-0.0671805888414383,
0.01796828582882881,
-0.01524234376847744,
0.008331360295414925,
0.011067614890635014,
-0.030053842812776566,
-0.029134929180145264,
0.02623622491955757,
-0.011441579088568687,
-0.022824199870228767,
0.010166059248149395,
0.009444817900657654,
-0.049063798040151596,
0.14265309274196625,
-0.0009372043423354626,
-0.024348817765712738,
-0.015343605540692806,
-0.013007832691073418,
-0.0017403541132807732,
0.05009356513619423,
-0.011609015986323357,
-0.06259731203317642,
-0.005439681466668844,
0.01335226185619831,
0.08109762519598007,
0.0029701043386012316,
-0.07341757416725159,
0.0014282881747931242,
-0.003187782596796751,
-0.031380005180835724,
-0.03913286700844765,
0.09000897407531738,
0.05123063549399376,
-0.12311607599258423,
-0.007519482169300318,
0.023764805868268013,
0.025132952257990837,
-0.05624205991625786,
0.012406126596033573,
0.0035824927035719156,
-0.04431082308292389,
-0.01303629856556654,
0.05162005499005318,
-0.014599604532122612,
-0.04021996259689331,
-0.018976517021656036,
0.016106579452753067,
0.005849580746144056,
-0.021944040432572365,
0.004214737564325333,
-0.060399774461984634,
-0.00270916149020195,
-0.07567933201789856,
-0.05963192135095596,
-0.06863414496183395,
0.02450719103217125,
-0.03618984296917915,
-0.014747188426554203,
-0.030362054705619812,
0.007184349466115236,
-0.06632670015096664,
0.08610153943300247,
-0.05312978848814964,
-0.05260566622018814,
-0.01683114841580391,
0.0028280059341341257,
-0.02270549163222313,
-0.04043347015976906,
0.023485954850912094,
0.044522807002067566,
-0.021463647484779358,
0.0170760340988636,
-0.08470437675714493,
0.027684418484568596,
0.05599130690097809,
-0.027339793741703033,
0.07375572621822357,
0.02486583963036537,
-0.04149772971868515,
0.0069742570631206036,
-0.019206536933779716,
0.044103000313043594,
0.002284190384671092,
-0.015387574210762978,
0.004584943410009146,
-0.0054540373384952545,
0.03698129579424858,
0.01565929502248764,
-0.023094573989510536,
0.02097044326364994,
-0.00670983362942934,
-0.35557350516319275,
-0.035695094615221024,
-0.027871090918779373,
-0.0019659746903926134,
-0.003234570613130927,
-0.021198706701397896,
0.03146238997578621,
-0.015861062332987785,
0.017190244048833847,
0.01529958751052618,
0.07471223920583725,
-0.003932998515665531,
-0.02368140034377575,
-0.06704932451248169,
0.000720332725904882,
0.039488982409238815,
-0.02591819316148758,
0.005825974512845278,
-0.03185395151376724,
0.0011428919387981296,
-0.008677494712173939,
-0.03595392778515816,
-0.02469639480113983,
-0.04045378416776657,
0.002439762931317091,
-0.015890827402472496,
0.13391631841659546,
0.014189298264682293,
0.029877739027142525,
-0.04362822696566582,
0.04176380857825279,
-0.010024365969002247,
-0.018177956342697144,
-0.08012799173593521,
0.022657478228211403,
-0.03136066347360611,
0.012485075742006302,
-0.005549369379878044,
-0.020684927701950073,
0.0035239087883383036,
-0.06447857618331909,
-0.03173033148050308,
-0.049179401248693466,
-0.04389087110757828,
-0.012122520245611668,
0.02542872168123722,
-0.0427061952650547,
-0.004274873528629541,
-0.013441146351397038,
0.0879463255405426,
0.0015405728481709957,
0.0009110185201279819,
0.026305722072720528,
0.035307012498378754,
0.028891414403915405,
-0.056532662361860275,
-0.07375875860452652,
-0.008088444359600544,
0.009476866573095322,
0.021826446056365967,
0.02471829764544964,
0.04415866732597351,
-0.0033256139140576124,
-0.077854223549366,
0.023417983204126358,
-0.023512693122029305,
-0.02027459628880024,
-0.005288128741085529,
0.04101642221212387,
-0.06194198876619339,
-0.03038310818374157,
0.10435415804386139,
0.017909258604049683,
0.005891508888453245,
0.02733723819255829,
0.03087971732020378,
-0.03978610411286354,
-0.011715895496308804,
0.0030699565540999174,
0.019790999591350555,
0.02781475894153118,
-0.008732098154723644,
0.06258869171142578,
-0.023762689903378487,
-0.031216440722346306,
0.05550709739327431,
0.01966838911175728,
-0.02929483726620674,
0.08497865498065948,
-0.0012207676190882921,
-0.04898139089345932,
-0.007633814122527838,
-0.034908026456832886,
-0.048770707100629807,
0.07404401898384094,
-0.05400997772812843,
-0.28810131549835205,
0.017349718138575554,
0.0044508459977805614,
0.0720752626657486,
0.0020946571603417397,
0.014325014315545559,
0.0007675582892261446,
-0.01318201795220375,
-0.007668789010494947,
0.008745568804442883,
0.04099392890930176,
0.02909504622220993,
0.016570409759879112,
-0.01774420216679573,
0.003564302809536457,
0.017290301620960236,
0.007841073907911777,
0.005141884088516235,
0.02908703126013279,
0.010224079713225365,
0.02303471975028515,
-0.03576077148318291,
0.1664797067642212,
0.040301304310560226,
0.018357720226049423,
0.04328795522451401,
-0.01653127186000347,
0.0182171743363142,
0.06333254277706146,
0.005551919806748629,
-0.0005556771066039801,
0.022987283766269684,
0.007664070464670658,
0.0335073247551918,
0.01448796596378088,
-0.06642480194568634,
-0.0060623264871537685,
0.0464918352663517,
0.014236101880669594,
-0.029195908457040787,
-0.002513081068173051,
0.0014079707907512784,
-0.023090722039341927,
0.032068245112895966,
0.06750936806201935,
-0.0056923069059848785,
0.0014282272895798087,
-0.006216003559529781,
-0.04822907969355583,
-0.0003041494346689433,
-0.02553960680961609,
-0.038705505430698395,
-0.02444710209965706,
-0.009267935529351234,
0.00502327224239707,
0.06797564774751663,
0.0316486693918705,
-0.018090536817908287,
0.012126021087169647,
0.010734553448855877,
-0.020224884152412415,
-0.02566736564040184,
0.0963096171617508,
-0.007489593233913183,
-0.0002669378591235727
] | [
0.010454099625349045,
0.038850557059049606,
0.00013770292571280152,
0.029735660180449486,
-0.039876457303762436,
0.025250844657421112,
0.016071179881691933,
0.0041688233613967896,
0.0015228163683786988,
-0.002990085631608963,
0.0018331012688577175,
0.014929484575986862,
0.04147142171859741,
-0.01020802278071642,
-0.02225573919713497,
-0.005810262635350227,
0.016106298193335533,
-0.011658561415970325,
0.023024994879961014,
-0.0017758262110874057,
-0.055862318724393845,
-0.007578108459711075,
0.021263940259814262,
-0.021055376157164574,
0.008381986990571022,
0.005783183965831995,
-0.009740370325744152,
-0.016167784109711647,
0.037447698414325714,
-0.08692707866430283,
0.004084283951669931,
-0.023922860622406006,
-0.028776969760656357,
0.015308765694499016,
-0.02040410414338112,
-0.0020000452641397715,
0.018491996452212334,
0.038551777601242065,
0.030122943222522736,
-0.00025377736892551184,
0.003802545601502061,
-0.033216312527656555,
-0.0009238853235729039,
0.01568799838423729,
0.003989124670624733,
0.0002747880353126675,
-0.004838894121348858,
-0.031217386946082115,
0.002301354194059968,
-0.002503105206415057,
-0.06353811919689178,
-0.051892541348934174,
0.014052352868020535,
0.013207102194428444,
0.00806337222456932,
0.02950703166425228,
-0.04051356762647629,
0.011961913667619228,
0.004828630015254021,
0.011714698746800423,
0.03337518498301506,
-0.016586031764745712,
-0.040083348751068115,
-0.025429466739296913,
-0.011373472400009632,
0.011815225705504417,
-0.014254152774810791,
0.011745677329599857,
-0.009028625674545765,
0.012903701514005661,
-0.004245697520673275,
0.04082406312227249,
-0.06554878503084183,
-0.0138111412525177,
-0.04560169205069542,
0.036367807537317276,
0.016764860600233078,
-0.046127136796712875,
0.016774196177721024,
-0.03344782069325447,
-0.011808885261416435,
0.001974568236619234,
-0.018511394038796425,
-0.0012245596153661609,
-0.031019946560263634,
0.01051217969506979,
0.017703203484416008,
-0.014751176349818707,
-0.00031652700272388756,
0.018745576962828636,
-0.04268189147114754,
0.049948837608098984,
-0.015867972746491432,
-0.004629327915608883,
-0.10489358752965927,
0.014682905748486519,
-0.0013131644809618592,
-0.008876841515302658,
0.007203832734376192,
0.8404744267463684,
-0.007712110877037048,
0.004348139278590679,
0.03861337527632713,
0.01780857890844345,
-0.015692247077822685,
-0.01629522256553173,
0.01511122565716505,
-0.012222581543028355,
-0.00306005054153502,
-0.009597506374120712,
-0.012215419672429562,
0.0008786296239122748,
-0.0181353148072958,
0.021279165521264076,
0.010883481241762638,
0.008907399140298367,
0.017699042335152626,
-0.012659533880650997,
0.002061248989775777,
0.008622890338301659,
-0.007292366586625576,
0.004021934233605862,
-0.025919992476701736,
-0.011299585923552513,
-0.015707865357398987,
-0.17076551914215088,
-0.007533621974289417,
-6.831706476698292e-33,
0.0692131444811821,
0.010368463583290577,
0.05865238979458809,
0.023532245308160782,
0.0207414198666811,
0.020394163206219673,
-0.016665764153003693,
0.0032433706801384687,
-0.0017323028296232224,
-0.04333076998591423,
-0.006561954505741596,
-0.017880089581012726,
0.034115154296159744,
-0.021228237077593803,
0.005742059554904699,
-0.018223164603114128,
0.022018006071448326,
0.038245704025030136,
-0.019180571660399437,
0.024855555966496468,
-0.002230248413980007,
0.03740692511200905,
-0.014132260344922543,
0.012619339860975742,
-0.0035710083320736885,
0.011551819741725922,
-0.004861254245042801,
0.03153529390692711,
0.004806869197636843,
-0.05017102137207985,
-0.03681101277470589,
0.01072873454540968,
-0.019774282351136208,
-0.02097439207136631,
-0.021681131795048714,
-0.058660849928855896,
-0.04033280536532402,
-0.01801440864801407,
-0.019248582422733307,
-0.07192888855934143,
-0.05333806574344635,
0.014188806526362896,
0.012762174010276794,
-0.025315232574939728,
-0.03852177783846855,
0.010166121646761894,
-0.007809496950358152,
-0.010447944514453411,
-0.012651477940380573,
0.011133339256048203,
0.022024868056178093,
0.016962749883532524,
-0.025333350524306297,
0.04355929419398308,
-0.04604717716574669,
0.01512107253074646,
-0.00008527426689397544,
0.03790464997291565,
-0.017228348180651665,
0.022656496614217758,
0.011327920481562614,
-0.01142796315252781,
-0.012405292131006718,
0.029901398345828056,
0.024211276322603226,
0.0480080246925354,
-0.017429957166314125,
-0.03804126754403114,
0.027304865419864655,
0.009601043537259102,
-0.03651507571339607,
0.05323948338627815,
-0.008025235496461391,
-0.025096159428358078,
0.02540348283946514,
-0.016799723729491234,
-0.018239915370941162,
-0.022676236927509308,
0.0006742122932337224,
0.02406907081604004,
-0.036701153963804245,
-0.00400084163993597,
0.02845885045826435,
-0.02320832945406437,
0.011679516173899174,
-0.004835559520870447,
0.05203112214803696,
0.011955024674534798,
0.021377086639404297,
0.03223492205142975,
0.04736214131116867,
0.03484351560473442,
-0.00952973123639822,
0.0124891996383667,
-0.009186195209622383,
6.40208900541167e-33,
-0.022362926974892616,
-0.0016604935517534614,
-0.0214657224714756,
-0.014179911464452744,
0.034825388342142105,
0.011653592810034752,
0.0067022996954619884,
0.039408862590789795,
-0.0489102341234684,
0.027991527691483498,
-0.022566141560673714,
-0.03361576795578003,
0.010957255028188229,
0.03740299120545387,
0.06990662217140198,
-0.030747298151254654,
0.021597808226943016,
-0.06797701865434647,
0.0013398292940109968,
0.023721786215901375,
0.019789431244134903,
0.01936756819486618,
0.0027482209261506796,
0.02568192593753338,
0.05648800730705261,
0.03556729853153229,
0.007095444481819868,
-0.007482332177460194,
-0.010885590687394142,
-0.009339693933725357,
-0.018846256658434868,
-0.02335057593882084,
-0.007810469251126051,
-0.017174968495965004,
0.024304460734128952,
-0.006408954504877329,
-0.03624030947685242,
-0.008665206842124462,
0.026173317804932594,
-0.007483780849725008,
0.0031954448204487562,
-0.007087934296578169,
-0.02879851497709751,
0.0748322457075119,
0.008846523240208626,
-0.007986418902873993,
-0.01916433311998844,
-0.004964891355484724,
-0.0028688714373856783,
0.02168956957757473,
0.01779894344508648,
0.008812393993139267,
-0.011942137032747269,
0.01991884410381317,
0.02165992185473442,
-0.03796612471342087,
-0.006222350522875786,
0.022611379623413086,
0.01086992584168911,
-0.0015160419279709458,
-0.028970738872885704,
-0.03416341915726662,
-0.012363954447209835,
0.04142396152019501,
-0.006647672038525343,
-0.01654657907783985,
-0.029992902651429176,
0.01143879909068346,
-0.016372470185160637,
0.009276318363845348,
0.002888073679059744,
-0.013676871545612812,
-0.02367713861167431,
0.018407532945275307,
0.051162369549274445,
-0.03633810952305794,
-0.010634563863277435,
-0.032655294984579086,
-0.04543016478419304,
0.026311837136745453,
0.028201747685670853,
0.044631488621234894,
0.02969139814376831,
-0.003692763391882181,
0.024519702419638634,
-0.0070800394751131535,
-0.03206370398402214,
0.009282544255256653,
-0.03224097192287445,
0.008325589820742607,
0.010190949775278568,
-0.020805636420845985,
-0.009935017675161362,
0.025337068364024162,
-0.028342606499791145,
-1.2627693557476505e-8,
-0.06873787194490433,
0.024998798966407776,
-0.0008339541382156312,
-0.006648616399616003,
-0.0005308048566803336,
0.005459407344460487,
0.012843621894717216,
0.010103779844939709,
0.01037523802369833,
0.025590665638446808,
0.001479626283980906,
-0.04496565833687782,
0.0026907450519502163,
0.03449941426515579,
0.007093492895364761,
-0.06193066015839577,
0.00017997703980654478,
-0.04178711026906967,
0.02044815570116043,
0.027299871668219566,
-0.007642542943358421,
0.019921230152249336,
-0.03976297006011009,
0.012458938173949718,
-0.00043251205352135,
-0.01483797188848257,
0.04545176401734352,
-0.04898955672979355,
0.0008513248176313937,
0.006146185100078583,
0.021138321608304977,
-0.006907505914568901,
-0.005153142847120762,
0.01430296991020441,
-0.04993550479412079,
-0.002663365565240383,
0.013271471485495567,
0.030755531042814255,
0.018729766830801964,
0.0374322235584259,
-0.003406660631299019,
0.02150340937077999,
-0.037259455770254135,
-0.020866068080067635,
-0.01419852301478386,
-0.005548478104174137,
-0.00957342330366373,
-0.008360322564840317,
0.03743729740381241,
-0.03377721086144447,
-0.04467989131808281,
-0.010554484091699123,
0.013257928192615509,
-0.004825893323868513,
0.027900956571102142,
-0.01652764342725277,
0.00922058243304491,
0.017743738368153572,
0.005147190298885107,
0.0058481828309595585,
0.027126429602503777,
-0.012306726537644863,
-0.03585456311702728,
-0.03187282383441925
] | neo4j-cypher-set-based-operations | https://markhneedham.com/blog/2014/02/20/neo4j-cypher-set-based-operations |
false | 2014-02-28 22:57:59 | Neo4j: Cypher - Finding directors who acted in their own movie | [
"neo4j",
"cypher"
] | [
"neo4j"
] | I've been doing quite a few Intro to Neo4j sessions recently and since it contains a lot of problems for the attendees to work on I get to see how first time users of Cypher actually use it.
A couple of hours in we want to write a query to find directors who acted in their own film based on the following model.
image::{{<siteurl>}}/uploads/2014/02/2014-02-28_22-40-02.png[2014 02 28 22 40 02,600]
A common answer is the following:
[source,cypher]
----
MATCH (a)-[:ACTED_IN]->(m)<-[:DIRECTED]-(d)
WHERE a.name = d.name
RETURN a
----
We're matching an actor 'a', finding the movie they acted in and then finding the director of that movie. We now have pairs of actors and directors which we filter down by comparing their 'name' property.
I haven't written SQL for a while but if my memory serves me correctly comparing properties or attributes in this way is quite a common way to test for equality.
In a graph we don't need to compare properties - what we actually want to check is if 'a' and 'd' are the same node:
[source,cypher]
----
MATCH (a)-[:ACTED_IN]->(m)<-[:DIRECTED]-(d)
WHERE a = d
RETURN a
----
We've simplifed the query a bit but we can actually go one better by binding the director to the same identifier as the actor like so:
[source,cypher]
----
MATCH (a)-[:ACTED_IN]->(m)<-[:DIRECTED]-(a)
RETURN a
----
So now we're matching an actor 'a', finding the movie they acted in and then finding the director if they happen to be the same person as 'a'.
The code is now much simpler and more revealing of its intent too. | null | null | [
0.040530312806367874,
0.0054873814806342125,
-0.00496302917599678,
0.05402529612183571,
0.09402894973754883,
-0.012172378599643707,
0.02218642272055149,
0.02008606120944023,
0.009309297427535057,
-0.01431205589324236,
-0.0028452815022319555,
0.009971431456506252,
-0.06919118016958237,
0.01226550992578268,
-0.0047990321181714535,
0.07395647466182709,
0.05199503153562546,
0.031486958265304565,
0.019144529476761818,
-0.02121927961707115,
0.0026979888789355755,
0.04998555779457092,
0.001848437823355198,
0.055018771439790726,
0.034771788865327835,
0.0161258764564991,
-0.005580441560596228,
-0.012268850579857826,
-0.04320349171757698,
0.013049902394413948,
0.0506899319589138,
-0.009146959520876408,
0.02469646744430065,
-0.026615753769874573,
0.0046529583632946014,
0.005705747287720442,
-0.04520095884799957,
-0.0020034657791256905,
-0.011889785528182983,
0.003924210090190172,
-0.059869278222322464,
0.029453275725245476,
0.004357822705060244,
0.004399289842694998,
-0.05309769883751869,
0.022751780226826668,
-0.07572972774505615,
0.028097668662667274,
0.020449349656701088,
0.013987015932798386,
-0.07309380173683167,
0.016679223626852036,
-0.028324415907263756,
0.013181906193494797,
0.009926839731633663,
0.05013393983244896,
0.026971429586410522,
-0.07729728519916534,
0.040517810732126236,
0.01538056880235672,
-0.005436301697045565,
0.008492711931467056,
0.005289165303111076,
0.032023973762989044,
0.0013362444005906582,
-0.02808297425508499,
0.01861525885760784,
0.06309133768081665,
-0.042614199221134186,
0.003745475085452199,
0.01885095052421093,
0.03109174221754074,
-0.011168143711984158,
-0.0072229765355587006,
0.005582278594374657,
-0.02521059848368168,
0.015050731599330902,
0.028050163760781288,
0.04706660285592079,
0.03608667105436325,
-0.02445363439619541,
0.018552197143435478,
-0.018263675272464752,
0.039166249334812164,
0.02060343138873577,
-0.015978677198290825,
-0.01135807391256094,
-0.03289017081260681,
-0.04325934499502182,
0.01685614138841629,
0.0018405698938295245,
-0.04773041233420372,
-0.007404420059174299,
-0.00989129114896059,
-0.03318164125084877,
-0.018464135006070137,
0.0003308136365376413,
-0.01828881725668907,
0.03171591833233833,
-0.02145990915596485,
-0.011204284615814686,
-0.05375567078590393,
-0.009584414772689342,
-0.010897832922637463,
-0.07697911560535431,
-0.027414346113801003,
-0.02632925845682621,
-0.004524784162640572,
0.011274845339357853,
0.00806333962827921,
-0.047975391149520874,
0.008383015170693398,
-0.008231429383158684,
0.02617489919066429,
-0.08964869379997253,
0.05378071218729019,
0.014538477174937725,
-0.0020544726867228746,
-0.00010698400728870183,
0.054172758013010025,
0.030756976455450058,
0.010312600061297417,
-0.0004226021992508322,
0.07996010780334473,
-0.015151365660130978,
0.057013511657714844,
0.023901211097836494,
0.05714694410562515,
-0.016583941876888275,
-0.079765684902668,
-0.0032244850881397724,
0.0478503592312336,
0.003379669040441513,
0.0064859758131206036,
-0.026319583877921104,
-0.07017627358436584,
-0.02302977256476879,
-0.016170034185051918,
0.01719685271382332,
0.021597450599074364,
0.011485288850963116,
-0.05792693793773651,
0.04165170341730118,
0.0020070448517799377,
0.0499667152762413,
0.01724257692694664,
-0.037082474678754807,
-0.020531482994556427,
-0.014379528351128101,
0.01664676144719124,
-0.00025291487690992653,
0.043145209550857544,
0.047680191695690155,
-0.04455960914492607,
-0.015684569254517555,
0.1024082601070404,
0.029663704335689545,
0.009710668586194515,
-0.012532083317637444,
-0.0022537442855536938,
0.04814698547124863,
0.012403321452438831,
0.012418041005730629,
0.03941449895501137,
-0.004648925736546516,
-0.002980269491672516,
-0.01002869475632906,
0.055566851049661636,
-0.00931969191879034,
0.0321681946516037,
-0.027307823300361633,
-0.0351187102496624,
0.08171068876981735,
-0.061799753457307816,
-0.013461948372423649,
0.031100144609808922,
0.039515312761068344,
0.03363790363073349,
0.027205893769860268,
0.002972876653075218,
-0.06405127048492432,
0.04192978888750076,
-0.014271118678152561,
0.006578602362424135,
0.020401589572429657,
0.006752681918442249,
0.06717618554830551,
0.01949150115251541,
0.00041711475932970643,
0.03967847302556038,
-0.09129779785871506,
-0.07766906172037125,
-0.007738111540675163,
-0.008767243474721909,
0.054415542632341385,
-0.03474665433168411,
0.017023658379912376,
0.015915149822831154,
0.0030818800441920757,
0.028906991705298424,
0.001199975609779358,
-0.03950273618102074,
0.03451541066169739,
-0.02096743881702423,
-0.05982886254787445,
0.04190754145383835,
0.021255753934383392,
-0.06114741414785385,
-0.04915183410048485,
0.003983682952821255,
-0.007023422978818417,
0.011056319810450077,
0.040327899158000946,
-0.02277863770723343,
0.03469192236661911,
0.05208156257867813,
0.007267446722835302,
-0.01842482015490532,
0.03837746009230614,
-0.028022313490509987,
0.04822443798184395,
0.003202221356332302,
-0.048550087958574295,
-0.007736544124782085,
-0.002807064913213253,
0.1302657574415207,
0.04485415667295456,
-0.023191040381789207,
-0.061075348407030106,
0.02745581790804863,
0.016045143827795982,
-0.026240557432174683,
0.029310444369912148,
-0.019483955577015877,
-0.0017078210366889834,
-0.02578909881412983,
-0.025716884061694145,
-0.028351761400699615,
0.019197652116417885,
-0.005871090572327375,
0.013374877162277699,
0.04397785663604736,
-0.03863264247775078,
0.03781117498874664,
-0.022716954350471497,
0.006009826436638832,
0.01851663365960121,
-0.037042804062366486,
-0.0457698218524456,
0.03817829117178917,
0.012239411473274231,
-0.009913519024848938,
0.06461745500564575,
-0.02570299245417118,
0.019490770995616913,
-0.02572345919907093,
-0.0015557532897219062,
0.026728346943855286,
0.04848604276776314,
0.04558920860290527,
-0.00826089084148407,
0.03901548311114311,
-0.031135132536292076,
0.04443603381514549,
-0.019870178773999214,
-0.032853126525878906,
-0.04843909665942192,
-0.0073338341899216175,
0.007004823535680771,
0.012530806474387646,
0.02264462225139141,
-0.031617671251297,
0.02648225612938404,
0.009878639131784439,
0.017043842002749443,
0.02323862537741661,
0.024284055456519127,
0.01783864200115204,
-0.007714822422713041,
-0.02800900861620903,
-0.015971628949046135,
0.04739072173833847,
-0.06526394188404083,
-0.03671743720769882,
-0.01834801211953163,
-0.05741439759731293,
0.030194470658898354,
-0.032080963253974915,
-0.03376232832670212,
-0.01133437268435955,
0.03826944902539253,
0.07026372849941254,
-0.001842929283156991,
0.012866257689893246,
0.06875123828649521,
0.012788324616849422,
0.013104688376188278,
0.027579719200730324,
0.007451034151017666,
0.05541383475065231,
-0.012967817485332489,
0.06354085355997086,
0.052807390689849854,
-0.024608081206679344,
-0.0046735950745642185,
-0.011104730889201164,
0.00944366306066513,
-0.010306194424629211,
-0.2702609598636627,
0.04054822772741318,
-0.02489895187318325,
-0.04068424552679062,
0.030543137341737747,
-0.07242948561906815,
-0.0215434692800045,
-0.018001627177000046,
-0.014165688306093216,
0.02574789896607399,
-0.013094883412122726,
-0.03763280063867569,
-0.025052757933735847,
0.04717516154050827,
0.022857144474983215,
0.031414490193128586,
-0.03234846517443657,
-0.052764952182769775,
0.0014844578690826893,
0.038028452545404434,
0.0032471991144120693,
-0.03345855697989464,
-0.017531199380755424,
0.015241526998579502,
0.01401277631521225,
0.030435485765337944,
-0.10433772951364517,
0.025304442271590233,
-0.060093846172094345,
-0.02532784454524517,
-0.002342682797461748,
-0.008162158541381359,
-0.003345270175486803,
-0.008807258680462837,
-0.01991095207631588,
-0.010207494720816612,
0.050854530185461044,
0.008923734538257122,
-0.006408180575817823,
0.02496103011071682,
-0.0678563043475151,
-0.0592443123459816,
-0.02538061887025833,
-0.009394745342433453,
0.08027332276105881,
0.00858771800994873,
-0.06089005246758461,
-0.013317478820681572,
-0.0032204522285610437,
0.03565509617328644,
-0.016541335731744766,
-0.029401754960417747,
-0.0026864621322602034,
0.015360117889940739,
-0.011319410055875778,
-0.05890918895602226,
0.006337636616080999,
-0.00567255262285471,
-0.061351943761110306,
-0.0033612216357141733,
-0.02354881912469864,
-0.040086790919303894,
0.033605337142944336,
-0.047320686280727386,
-0.004985307343304157,
-0.05482339486479759,
-0.07040151953697205,
-0.05414751172065735,
0.041151367127895355,
0.0018979726592078805,
-0.0038214605301618576,
0.034180790185928345,
-0.03278760612010956,
-0.10796714574098587,
-0.05132514610886574,
-0.0038675484247505665,
0.030239839106798172,
-0.01036401279270649,
-0.011882434599101543,
0.038928065448999405,
-0.035782910883426666,
-0.04229944199323654,
0.011875578202307224,
0.01136521901935339,
0.01310722529888153,
0.008731917478144169,
0.023920724168419838,
-0.028378820046782494,
-0.026709750294685364,
-0.0014382419176399708,
0.07383131235837936,
-0.01936022937297821,
-0.014012525789439678,
0.007941708900034428,
0.0007627762388437986,
0.022922007367014885,
0.019030891358852386,
-0.036923255771398544,
0.023613860830664635,
0.048048652708530426,
0.0665876716375351,
-0.030084805563092232,
0.02680356614291668,
-0.046276748180389404,
-0.03220446780323982,
-0.003012833883985877,
-0.028061894699931145,
0.04392533004283905,
0.02092333883047104,
-0.002940005622804165,
-0.018536409363150597,
0.005030320957303047,
0.011627786792814732,
-0.033913832157850266,
-0.01369768287986517,
-0.05403296649456024,
0.017547214403748512,
0.031428441405296326,
0.04415150359272957,
-0.0317348949611187,
-0.07363904267549515,
0.03128707408905029,
0.034485187381505966,
0.0024341733660548925,
-0.07074126601219177,
-0.04270293563604355,
-0.02523781545460224,
-0.03724629431962967,
-0.020524630323052406,
0.021434569731354713,
-0.028059449046850204,
0.06446526199579239,
0.002295054029673338,
-0.027570318430662155,
0.0667649358510971,
-0.03144296631217003,
-0.02166863903403282,
-0.003110564546659589,
0.001896704314276576,
-0.017547624185681343,
-0.004789953585714102,
-0.012462159618735313,
0.002243201481178403,
0.06358740478754044,
0.0373239666223526,
-0.001475529745221138,
0.01897916942834854,
-0.012028949335217476,
0.012781389057636261,
-0.005327511578798294,
0.0021780580282211304,
-0.03593624010682106,
0.021194491535425186,
-0.04372887313365936,
0.007630220148712397,
-0.009662913158535957,
0.026662806048989296,
-0.02645486779510975,
-0.008146305568516254,
-0.040925122797489166,
0.04307367280125618,
-0.029509080573916435,
0.033028509467840195,
-0.020349329337477684,
0.0117693105712533,
0.05059347674250603,
-0.03774099051952362,
0.027067460119724274,
-0.03992979973554611,
0.0020712967962026596,
-0.007656365167349577,
0.024680428206920624,
-0.02510133944451809,
0.01197776198387146,
-0.007835241965949535,
0.009496917948126793,
0.013751045800745487,
0.03935183584690094,
0.012911926954984665,
0.005418833345174789,
-0.013438724912703037,
-0.033248420804739,
-0.0014678847510367632,
0.02530314400792122,
0.04029024392366409,
0.04167136177420616,
-0.03528045862913132,
-0.012806849554181099,
-0.038678064942359924,
-0.0021447327453643084,
-0.005878979340195656,
-0.006617274601012468,
-0.039486389607191086,
0.0028882117476314306,
-0.03447752073407173,
-0.06175698712468147,
0.04754694178700447,
-0.018736163154244423,
0.004991913679987192,
0.03192906826734543,
0.032408084720373154,
-0.003121697809547186,
-0.024215273559093475,
0.007045547477900982,
0.08353518694639206,
-0.04313179478049278,
-0.01681138016283512,
0.019288528710603714,
-0.035187605768442154,
0.018653230741620064,
0.03737315908074379,
-0.06916270405054092,
-0.04435151815414429,
-0.026054924353957176,
0.007232442032545805,
-0.0185632836073637,
-0.04257836192846298,
-0.01497828122228384,
0.010701349936425686,
-0.01299621444195509,
0.03508240729570389,
0.014591722749173641,
-0.00024164911883417517,
0.005600944627076387,
-0.01863734796643257,
0.05141213908791542,
-0.023760421201586723,
-0.009701764211058617,
-0.0008722528000362217,
0.0024265097454190254,
-0.00045627591316588223,
-0.01755639724433422,
0.028373505920171738,
0.0207799281924963,
-0.01054279413074255,
-0.03402980417013168,
-0.07297014445066452,
0.015068983659148216,
-0.0267146285623312,
0.015734918415546417,
0.015641693025827408,
0.01798924058675766,
-0.017390774562954903,
0.025046493858098984,
-0.0219265203922987,
0.016977543011307716,
-0.0016999049112200737,
-0.03108092024922371,
-0.0016399517189711332,
0.028892219066619873,
0.010116655379533768,
0.049581997096538544,
-0.012091665528714657,
-0.03551482409238815,
0.05400343984365463,
-0.04428490996360779,
-0.019489381462335587,
-0.0184266846626997,
-0.06791780143976212,
0.04862275719642639,
0.01156577467918396,
0.00856438186019659,
-0.026890577748417854,
0.0332038439810276,
0.04175874963402748,
0.02223738096654415,
0.033748552203178406,
0.0015979701420292258,
0.045786239206790924,
-0.032125409692525864,
-0.01574961096048355,
-0.06698253005743027,
0.021941734477877617,
0.03892175853252411,
-0.003955814056098461,
-0.008393441326916218,
-0.023187585175037384,
-0.030455147847533226,
0.030791528522968292,
-0.042774178087711334,
-0.027488764375448227,
0.039483122527599335,
-0.017094261944293976,
0.02869526669383049,
0.01659807376563549,
-0.06189346686005592,
-0.00029885073308832943,
0.052853796631097794,
-0.027505474165081978,
-0.03282202035188675,
-0.05054294317960739,
0.04658154770731926,
-0.027137935161590576,
0.03896849602460861,
-0.0031082318164408207,
-0.009180993773043156,
0.0758993849158287,
0.04414205253124237,
0.034403253346681595,
0.05565822497010231,
-0.03720684349536896,
0.002199042122811079,
0.04272163659334183,
-0.019144687801599503,
-0.0008879191009327769,
0.05275197699666023,
-0.021034248173236847,
-0.05826367065310478,
0.03489408642053604,
0.001273373025469482,
-0.013804438523948193,
-0.057315487414598465,
0.06371933966875076,
0.009691935032606125,
-0.05716553330421448,
-0.049637164920568466,
0.04169929772615433,
0.0003396307001821697,
-0.01466448325663805,
-0.03603291139006615,
-0.0006303758709691465,
-0.03942136466503143,
0.06487595289945602,
-0.016129862517118454,
0.026468820869922638,
0.06794476509094238,
0.0065554408356547356,
0.010158956050872803,
0.012628482654690742,
0.08495261520147324,
0.08930176496505737,
0.04632258415222168,
-0.0008293935679830611,
0.0716794803738594,
-0.0013416855363175273,
-0.009397451765835285,
-0.02116009220480919,
-0.04520562291145325,
-0.01781170628964901,
0.0030629346147179604,
0.009936319664120674,
0.07657879590988159,
-0.033809129148721695,
0.06515374779701233,
-0.020982399582862854,
-0.00765639403834939,
0.030266406014561653,
-0.02037118561565876,
0.02289222925901413,
0.060294538736343384,
0.026813257485628128,
0.015291889198124409,
-0.02360851876437664,
-0.02370486781001091,
0.01768059842288494,
-0.017130307853221893,
-0.04310579225420952,
0.044199198484420776,
-0.016386792063713074,
0.006550053134560585,
-0.00947333499789238,
0.04066724702715874,
0.09610601514577866,
-0.019378064200282097,
-0.017161207273602486,
-0.01101794932037592,
0.009592719376087189,
-0.02893208898603916,
0.026985662057995796,
0.000039844828279456124,
-0.050135720521211624,
-0.009905106388032436,
-0.06103246659040451,
-0.03829449415206909,
-0.028707103803753853,
-0.0401604063808918,
-0.006418741308152676,
-0.03551540896296501,
-0.006470276974141598,
-0.0050085196271538734,
0.01320850569754839,
-0.00017874180048238486,
-0.04152260348200798,
-0.06237984821200371,
-0.0653291568160057,
-0.07191787660121918,
-0.01197750959545374,
0.0019248618045821786,
0.013000245206058025,
-0.03029177337884903,
-0.007175552658736706,
-0.02931809052824974,
0.01604139618575573,
0.06748942285776138,
-0.037192463874816895,
-0.001156227313913405,
-0.0086220046505332,
0.02782340906560421,
0.02946087345480919,
0.006176007445901632,
0.020812131464481354,
0.0015025874599814415,
0.010536257177591324,
-0.028929034247994423,
0.023658040910959244,
0.030421055853366852,
0.001842557336203754,
-0.01092612836509943,
-0.0887717455625534,
-0.02247115783393383,
0.008095180615782738,
-0.021245077252388,
-0.07055912911891937,
-0.0036427935119718313,
0.035135895013809204,
0.017030855640769005,
0.03912799432873726,
-0.007860308513045311,
-0.01625251956284046,
-0.010358701460063457,
0.022618355229496956,
-0.004224675707519054,
-0.01699770987033844,
0.047370459884405136,
-0.033001720905303955,
0.08040039241313934,
0.00801804382354021,
-0.04669974744319916,
-0.01785767823457718,
-0.008046501316130161,
-0.009100516326725483,
0.0124221695587039,
-0.043828271329402924,
-0.04446474462747574,
-0.02325277589261532,
-0.08720816671848297,
-0.022761184722185135,
0.0019280595006421208,
-0.013540910556912422,
-0.029126815497875214,
-0.0069720009341835976,
0.04809132218360901,
-0.018567275255918503,
0.024126211181282997,
-0.03307957947254181,
0.03983324393630028,
-0.03129781037569046,
-0.027536701411008835,
-0.04414371773600578,
-0.0074118031188845634,
-0.043044645339250565,
0.01712985150516033,
0.023508651182055473,
-0.06128428503870964,
-0.037051890045404434,
-0.02488015778362751,
0.03789786621928215,
-0.004664320033043623,
0.03378329426050186,
0.01519803423434496
] | [
-0.07327719032764435,
-0.0018922094022855163,
-0.059820424765348434,
-0.011595132760703564,
0.05741264671087265,
-0.01261555403470993,
0.030527574941515923,
-0.007980190217494965,
0.008405729196965694,
-0.029981952160596848,
0.036223817616701126,
-0.027288436889648438,
0.009749133139848709,
0.018639910966157913,
0.07325542718172073,
-0.024759503081440926,
0.026800673454999924,
-0.04797670245170593,
-0.0192185677587986,
0.0548272468149662,
-0.02646983228623867,
-0.0462663471698761,
-0.01360107958316803,
-0.032413676381111145,
0.027939649298787117,
0.007591235917061567,
0.04588882625102997,
-0.020655104890465736,
-0.026059743016958237,
-0.2170347273349762,
-0.006425220984965563,
0.019922420382499695,
0.030435025691986084,
0.006806510034948587,
-0.004150044173002243,
-0.004319928120821714,
0.033064331859350204,
-0.003937095403671265,
-0.0044965604320168495,
0.00833903905004263,
0.008447892963886261,
-0.001477650599554181,
-0.026159340515732765,
-0.04930882155895233,
0.03927965089678764,
0.028392065316438675,
-0.01129533164203167,
-0.0004906309768557549,
-0.03262954205274582,
0.03766893967986107,
-0.03344946727156639,
-0.04549333453178406,
0.008001993410289288,
0.01188418734818697,
-0.04497167840600014,
0.02418920397758484,
0.03434208035469055,
0.06168689206242561,
0.031496431678533554,
0.04657094180583954,
-0.003903060918673873,
0.0036123855970799923,
-0.1273225098848343,
0.05491086468100548,
0.020411530509591103,
0.04346245154738426,
-0.041119638830423355,
-0.052222657948732376,
-0.026931287720799446,
0.0789969190955162,
0.023122591897845268,
-0.009198000654578209,
-0.020892104133963585,
0.03770717605948448,
-0.040370259433984756,
-0.0012281134258955717,
-0.006370224989950657,
0.020946655422449112,
0.013862067833542824,
-0.039650171995162964,
-0.04481678083539009,
0.034874044358730316,
-0.05589289590716362,
-0.005695286672562361,
-0.027923453599214554,
0.07470294088125229,
-0.0023147277534008026,
0.049928974360227585,
0.01589893363416195,
0.03646089509129524,
0.016672499477863312,
0.053051386028528214,
0.021552277728915215,
0.033588070422410965,
-0.08165121078491211,
-0.028041498735547066,
0.015765588730573654,
0.01869872212409973,
-0.008398408070206642,
0.42914777994155884,
0.014678343199193478,
-0.0192203801125288,
0.05620335415005684,
0.06800848990678787,
-0.017746109515428543,
-0.01691579446196556,
-0.011417355388402939,
-0.03746098279953003,
0.046009961515665054,
-0.021546348929405212,
0.0020958567038178444,
-0.04044680669903755,
0.03397338092327118,
-0.09058132767677307,
0.0016213740454986691,
0.03879276663064957,
0.062144581228494644,
0.035245005041360855,
0.008662251755595207,
-0.040056563913822174,
0.010184134356677532,
-0.006318685133010149,
0.019276857376098633,
-0.01666906476020813,
-0.0104756411164999,
-0.004921414889395237,
0.038450803607702255,
0.04926874861121178,
0.034202076494693756,
0.02602444775402546,
0.06173569709062576,
-0.0211528018116951,
-0.1004924327135086,
0.042842376977205276,
-0.0390511080622673,
0.037903331220149994,
0.024304309859871864,
-0.025164755061268806,
-0.033398862928152084,
-0.005890191998332739,
-0.006271767895668745,
-0.026135552674531937,
0.018605085089802742,
0.05125761777162552,
-0.0214275773614645,
0.11385274678468704,
-0.014796214178204536,
-0.01903550885617733,
-0.030187305063009262,
-0.040925584733486176,
-0.0033027243334800005,
0.05303213372826576,
-0.03224651515483856,
-0.05953037366271019,
-0.018938317894935608,
0.007359751965850592,
0.09893637150526047,
-0.010114849545061588,
-0.08911185711622238,
0.003329023253172636,
-0.00722074881196022,
-0.01726812683045864,
-0.04934849590063095,
0.06925275921821594,
0.06471900641918182,
-0.09346537292003632,
0.002542223548516631,
0.0006517405854538083,
0.036110032349824905,
-0.06090660020709038,
0.009903788566589355,
-0.00048686660011298954,
-0.04296758770942688,
-0.02886291965842247,
0.02792619913816452,
-0.020924247801303864,
-0.06614849716424942,
-0.00358958775177598,
0.02997974492609501,
0.01032978668808937,
-0.02663019485771656,
-0.0054073575884103775,
-0.061148665845394135,
0.0025144207756966352,
-0.07791584730148315,
-0.0511930026113987,
-0.05870511755347252,
0.030666768550872803,
-0.038508281111717224,
-0.01573771983385086,
-0.013341614045202732,
-0.0054459720849990845,
-0.05324375256896019,
0.08780158311128616,
-0.03569400683045387,
-0.008492396213114262,
-0.01617131009697914,
0.013252969831228256,
-0.04442908987402916,
-0.015589774586260319,
0.00028483179630711675,
0.02614060416817665,
-0.0036445180885493755,
0.013080254197120667,
-0.07447189837694168,
0.05105789750814438,
0.03745820000767708,
-0.04612186178565025,
0.06418067961931229,
0.05457793548703194,
-0.05600789561867714,
-0.008800153620541096,
-0.03553011268377304,
0.05123845487833023,
-0.01882687583565712,
-0.00011034432100132108,
-0.0032738216686993837,
-0.011237958446145058,
0.046754658222198486,
0.0467333123087883,
-0.019691551104187965,
0.002739180810749531,
0.004788090009242296,
-0.3648132383823395,
-0.04425813630223274,
-0.0289484653621912,
-0.004621719475835562,
0.0063732038252055645,
-0.04271891340613365,
-0.002485747216269374,
-0.040817610919475555,
0.02700108475983143,
0.03856932371854782,
0.036064423620700836,
0.00522437272593379,
-0.014437664300203323,
-0.07836763560771942,
0.01740700751543045,
0.023795560002326965,
0.000951554742641747,
0.01590236835181713,
-0.007576023694127798,
0.01916506513953209,
0.0019438721938058734,
-0.039819516241550446,
-0.008846241049468517,
-0.04773314297199249,
-0.0045117950066924095,
-0.0007342008757404983,
0.12325362861156464,
0.04901884123682976,
0.03244314715266228,
-0.0548415333032608,
0.036259572952985764,
0.0240654107183218,
-0.03296409174799919,
-0.05317661538720131,
0.014496536925435066,
-0.04688636586070061,
0.03356193006038666,
0.004276076331734657,
-0.01014452613890171,
-0.02307783253490925,
-0.02985360473394394,
-0.03296539932489395,
-0.03610209748148918,
-0.030939429998397827,
-0.05904243141412735,
0.030401363968849182,
-0.05059630051255226,
-0.004672727547585964,
-0.0019798544235527515,
0.08608593791723251,
0.02302207052707672,
0.0016828490188345313,
0.004254742991179228,
-0.007133252453058958,
0.00797638762742281,
-0.0156747717410326,
-0.04666879400610924,
-0.011637048795819283,
0.0238637812435627,
0.04360676929354668,
0.0015489866491407156,
0.028936313465237617,
0.03070269711315632,
-0.075672946870327,
0.006480620242655277,
-0.0020400213543325663,
0.01362204272300005,
0.006243732757866383,
0.029210269451141357,
-0.013568125665187836,
-0.04441008344292641,
0.0919102355837822,
-0.012567505240440369,
0.01107755210250616,
0.03491850942373276,
0.04963589087128639,
-0.005911871325224638,
0.024191340431571007,
0.03852600231766701,
0.011772969737648964,
0.052229732275009155,
-0.016673073172569275,
0.04356259107589722,
-0.0530969463288784,
0.0016038939356803894,
0.04013535752892494,
0.019083760678768158,
-0.06296098977327347,
0.053133606910705566,
0.013556431978940964,
-0.014577409252524376,
0.00469167297706008,
-0.04451293125748634,
-0.04567112401127815,
0.048899002373218536,
-0.01168007031083107,
-0.2682424485683441,
0.02785324491560459,
0.011318011209368706,
0.0798603743314743,
-0.0015088686486706138,
-0.009176558814942837,
0.004482479300349951,
-0.024877315387129784,
0.004828316625207663,
-0.021399879828095436,
0.0757392942905426,
0.0291655994951725,
0.003766134148463607,
-0.0010558536741882563,
-0.019687866792082787,
0.025210833176970482,
0.05696415528655052,
0.012754542753100395,
0.047261759638786316,
0.03370392322540283,
0.03671633452177048,
-0.024104101583361626,
0.17969204485416412,
0.004539660178124905,
0.03470832481980324,
0.010524960234761238,
-0.024490073323249817,
-0.007965223863720894,
0.029069945216178894,
-0.024944152683019638,
0.012872850522398949,
0.023827893659472466,
0.003194569144397974,
0.013667184859514236,
0.029725275933742523,
-0.03499305248260498,
-0.015963498502969742,
0.03123929537832737,
0.03264986723661423,
-0.02503749541938305,
0.014956488274037838,
-0.013054572977125645,
-0.03409823030233383,
0.014421421103179455,
0.05965255945920944,
-0.0001712930970825255,
0.033634502440690994,
0.025660650804638863,
-0.08855246007442474,
-0.006296148989349604,
-0.047605935484170914,
-0.011022409424185753,
-0.012694384902715683,
-0.0027495657559484243,
-0.007676653563976288,
0.04900791123509407,
0.004270340781658888,
-0.003463741159066558,
0.030835455283522606,
0.01568823680281639,
-0.04433852806687355,
-0.034106042236089706,
0.08215036243200302,
-0.00957922637462616,
0.01844307966530323
] | [
0.03999927267432213,
0.024852324277162552,
0.03131260350346565,
0.009994272142648697,
-0.01637529581785202,
0.016132481396198273,
-0.017072005197405815,
0.0054466393776237965,
0.000860192405525595,
0.02685828134417534,
-0.0022513268049806356,
0.015095632523298264,
0.055901091545820236,
0.032099731266498566,
-0.00441729836165905,
0.013267002068459988,
0.01837928220629692,
0.0438150055706501,
0.01877053640782833,
-0.022532226517796516,
-0.04025088623166084,
-0.022984860464930534,
0.04056204482913017,
-0.04522497206926346,
-0.009508729912340641,
-0.004387451335787773,
-0.01896434836089611,
-0.006377287209033966,
0.020368393510580063,
-0.1088586077094078,
-0.0295923613011837,
-0.00469114538282156,
-0.012778745964169502,
0.03256598860025406,
-0.027889570221304893,
-0.015024688094854355,
0.004739082418382168,
0.01639029197394848,
0.001564864651300013,
0.024233102798461914,
0.03495146706700325,
0.007600166369229555,
-0.0009633663576096296,
0.011672290042042732,
0.011974042281508446,
-0.006858074106276035,
-0.021383827552199364,
-0.03046763688325882,
0.023270748555660248,
-0.015311067923903465,
-0.05508670210838318,
-0.017221201211214066,
-0.010976810939610004,
0.0036895140074193478,
0.014901992864906788,
0.007415553089231253,
-0.032947685569524765,
-0.01351503562182188,
-0.0025856371503323317,
-0.01118478924036026,
0.02661052718758583,
-0.02931513823568821,
-0.06089460849761963,
-0.029582371935248375,
-0.0017618199344724417,
0.001556455623358488,
-0.0050208731554448605,
0.022810259833931923,
0.0023831604048609734,
0.009774243459105492,
-0.02994641102850437,
0.017884988337755203,
-0.06926491111516953,
-0.015072898007929325,
-0.0551670640707016,
0.03795985132455826,
0.03283556550741196,
-0.03155384212732315,
0.01605045050382614,
-0.03464434668421745,
0.002076999517157674,
0.010228080675005913,
-0.01174922939389944,
-0.01661848835647106,
-0.03449651971459389,
0.020017877221107483,
-0.012194262817502022,
0.006966613698750734,
0.004376621916890144,
0.03197292238473892,
-0.038324493914842606,
0.0273941308259964,
-0.012181540951132774,
-0.0288859736174345,
-0.09557215869426727,
0.012913177721202374,
-0.0010682177962735295,
0.0040847198106348515,
0.044241975992918015,
0.7990631461143494,
0.04396987706422806,
-0.0015283327084034681,
-0.023005910217761993,
0.004808375611901283,
-0.002748847473412752,
0.04314215108752251,
0.0362924262881279,
0.012800189666450024,
-0.021312691271305084,
-0.004318850114941597,
-0.03660661727190018,
0.03192533180117607,
0.0010439500911161304,
0.019148120656609535,
0.021405775099992752,
0.03685581684112549,
0.03002675622701645,
0.04210353270173073,
-0.015244830399751663,
0.0017635900294408202,
-0.004524540156126022,
0.0026004156097769737,
0.0034859098959714174,
0.007280085701495409,
-0.005988623481243849,
-0.16456007957458496,
-0.04253772646188736,
-7.517249639310065e-33,
0.06347435712814331,
0.006446280982345343,
0.08776047825813293,
-0.00011515599908307195,
-0.027494508773088455,
0.02831195667386055,
0.028902431949973106,
-0.009119627997279167,
-0.03656861186027527,
-0.0533045157790184,
-0.019628548994660378,
-0.010809644125401974,
-0.02034067176282406,
-0.03187942132353783,
-0.01958446390926838,
-0.012456550262868404,
0.012506192550063133,
0.007693715859204531,
-0.028127098456025124,
-0.019578002393245697,
-0.01586201600730419,
0.03801904246211052,
-0.05938493460416794,
0.038308415561914444,
0.0054823048412799835,
0.015349929220974445,
0.0035810042172670364,
-0.0032422447111457586,
-0.006261182948946953,
-0.054952941834926605,
-0.06416311115026474,
0.04149975627660751,
-0.02743343450129032,
-0.006340572610497475,
0.02517254278063774,
-0.06195804104208946,
-0.04096001386642456,
-0.0007675303495489061,
0.0005105895106680691,
-0.06637264788150787,
-0.07014340907335281,
-0.004745786543935537,
-0.01764729805290699,
-0.0381295308470726,
-0.06760548055171967,
0.011537767015397549,
-0.03665982186794281,
0.007675708271563053,
-0.03177125006914139,
0.034895073622465134,
0.04167405515909195,
0.027219098061323166,
0.002322863321751356,
0.0070350817404687405,
-0.04112668335437775,
0.02793547511100769,
0.02004985138773918,
-0.011191023513674736,
-0.030743319541215897,
0.008791356347501278,
0.04076439514756203,
0.03371311351656914,
-0.039768289774656296,
0.0629846528172493,
0.012500754557549953,
0.032443590462207794,
-0.012280883267521858,
-0.014064698480069637,
0.0003295374335721135,
0.047843508422374725,
-0.05498063936829567,
0.05204258859157562,
0.0030959511641412973,
-0.026398923248052597,
0.03839700296521187,
-0.04150522127747536,
-0.03440767154097557,
-0.05291308835148811,
-0.018119079992175102,
0.06403757631778717,
-0.051789525896310806,
0.0022181111853569746,
0.002864839741960168,
-0.053559739142656326,
-0.01907918229699135,
-0.023205755278468132,
0.030712537467479706,
0.014795995317399502,
0.04641641303896904,
0.02967599779367447,
0.06915375590324402,
-0.0024762668181210756,
-0.002581496722996235,
0.002521557966247201,
-0.012596424669027328,
6.956207491497696e-33,
0.0014057614607736468,
0.0127345509827137,
-0.01083960011601448,
-0.0018031043000519276,
0.008145234547555447,
-0.01534269843250513,
0.0012513832189142704,
0.007678076159209013,
-0.04670757055282593,
0.03191113844513893,
-0.007415910251438618,
-0.007935479283332825,
0.008724354207515717,
0.01450776681303978,
0.054439645260572433,
-0.0022066235542297363,
0.006661324296146631,
-0.05315028131008148,
-0.006069720722734928,
0.03578326106071472,
0.018842078745365143,
0.01843857206404209,
0.008797688409686089,
0.016314726322889328,
0.019990811124444008,
0.019413461908698082,
0.026718368753790855,
0.017766177654266357,
-0.014247413724660873,
-0.009129278361797333,
-0.00227413815446198,
-0.05006387084722519,
-0.00167365453671664,
-0.023900890722870827,
0.003723709611222148,
-0.002972874091938138,
0.0005495900404639542,
-0.016006097197532654,
-0.010334265418350697,
0.0064783538691699505,
-0.006831064820289612,
0.011825312860310078,
-0.016735214740037918,
0.0827304944396019,
0.005010523833334446,
0.016743553802371025,
-0.0010662345448508859,
0.0071084932424128056,
0.006296927575021982,
0.007976542226970196,
-0.006188327446579933,
0.017496684566140175,
-0.0063852244056761265,
-0.006315930746495724,
0.038412000983953476,
-0.04909462854266167,
-0.0056166863068938255,
0.0349607914686203,
0.02422039397060871,
0.0275113582611084,
-0.022585676982998848,
-0.028504375368356705,
-0.04851512983441353,
0.012233829125761986,
-0.005706992000341415,
-0.0027309455908834934,
-0.034149181097745895,
0.03558627516031265,
-0.022934753447771072,
-0.016347970813512802,
0.017813486978411674,
-0.018724095076322556,
-0.01513120997697115,
0.02643139660358429,
0.032652102410793304,
-0.01204420905560255,
-0.043546903878450394,
-0.0007337725255638361,
-0.04189547896385193,
0.04503381997346878,
0.01482086256146431,
0.007635563146322966,
0.018742159008979797,
0.02379973791539669,
-0.0028709310572594404,
0.011062932200729847,
0.0005579603021033108,
0.05398057773709297,
-0.019366314634680748,
-0.008460327982902527,
0.030972741544246674,
-0.021050622686743736,
0.016077835112810135,
0.0665263906121254,
-0.038964442908763885,
-1.2732966681028302e-8,
-0.0714854821562767,
0.02232813835144043,
-0.004877493251115084,
0.012691487558186054,
-0.023142915219068527,
0.0035328848753124475,
0.008962723426520824,
0.008862696588039398,
0.017212633043527603,
0.011747107841074467,
0.01576840691268444,
-0.04269186034798622,
0.033539675176143646,
-0.0014161468716338277,
0.02634202130138874,
-0.031167520210146904,
-0.025100018829107285,
-0.017876192927360535,
0.04247632622718811,
0.046528689563274384,
-0.0037220658268779516,
0.03412599489092827,
-0.07279220223426819,
0.044656939804553986,
-0.017853938043117523,
0.0064657023176550865,
0.033002547919750214,
-0.06549318134784698,
-0.016965283080935478,
-0.0007163102854974568,
-0.006789678242057562,
-0.009252586401998997,
0.00502823619171977,
0.024747254326939583,
-0.04337231442332268,
-0.03297010436654091,
0.01500871405005455,
0.012218496762216091,
0.037482500076293945,
0.041025422513484955,
-0.00869323592633009,
-0.005965119693428278,
-0.03646671026945114,
-0.029662448912858963,
-0.008361630141735077,
0.010040639899671078,
-0.0023073686752468348,
-0.05787649005651474,
0.0389358326792717,
-0.045884083956480026,
0.004543311893939972,
0.000690929708071053,
0.007989426143467426,
0.03442921116948128,
0.0521349273622036,
-0.005356089677661657,
0.028654849156737328,
0.030181318521499634,
-0.005434019491076469,
-0.04740334674715996,
0.02005111239850521,
-0.0011192411184310913,
-0.04275985062122345,
-0.002200858434662223
] | neo4j-cypher-finding-directors-who-acted-in-their-own-movie | https://markhneedham.com/blog/2014/02/28/neo4j-cypher-finding-directors-who-acted-in-their-own-movie |
false | 2014-02-17 14:11:07 | Neo4j: Creating nodes and relationships from a list of maps | [
"neo4j",
"cypher"
] | [
"neo4j"
] | Last week https://twitter.com/apcj[Alistair] and I were porting some Neo4j cypher queries from 1.8 to 2.0 and one of the queries we had to change was an interesting one that created a bunch of relationships from a list/array of maps.
In the query we had a user 'Mark' and wanted to create 'FRIENDS_WITH' relationships to Peter and Michael.
image::{{<siteurl>}}/uploads/2014/02/2014-02-17_13-39-08.png[2014 02 17 13 39 08,600]
The application passed in a list of maps representing Peter and Michael as a parameter but if we remove the parameters the query looked like this:
[source,cypher]
----
MERGE (me:User {userId: 1} )
SET me.name = "Mark"
FOREACH (f IN [{userId: 2, name: "Michael"}, {userId: 3, name: "Peter"}] |
MERGE (u:User {userId: f.userId})
SET u = f
MERGE (me)-[:FRIENDS_WITH]->(u))
----
We first ensure that a user with 'id' of 1 exists in the database and then make sure their name is set to 'Mark'. After we've done that we iterate over a list of maps containing Mark's friends and ensure there is a 'FRIENDS_WITH' relationship from Mark to them.
The parameterised version of that query looks like this:
[source,cypher]
----
MERGE (me:User { userId: {userId} })
SET me.name = {name}
FOREACH(f IN {friends} |
MERGE (u:User {userId: f.userId })
SET u = f
MERGE (me)-[:FRIENDS_WITH]->(u))
----
We can then execute that query using Jersey:
[source,java]
----
public class ListsOfMapsCypher
{
public static void main( String[] args )
{
ObjectNode request = JsonNodeFactory.instance.objectNode();
request.put("query",
"MERGE (me:User { userId: {userId} }) " +
"SET me.name = {name} " +
"FOREACH(f IN {friends} | " +
"MERGE (u:User {userId: f.userId }) " +
"SET u = f " +
"MERGE (me)-[:FRIENDS_WITH]->(u)) ");
ObjectNode params = JsonNodeFactory.instance.objectNode();
params.put("userId", 1);
params.put("name", "Mark");
ArrayNode friends = JsonNodeFactory.instance.arrayNode();
ObjectNode friend1 = JsonNodeFactory.instance.objectNode();
friend1.put( "userId", 2 );
friend1.put( "name", "Michael" );
friends.add( friend1 );
ObjectNode friend2 = JsonNodeFactory.instance.objectNode();
friend2.put( "userId", 3 );
friend2.put( "name", "Peter" );
friends.add( friend2 );
params.put("friends", friends );
request.put("params", params );
ClientResponse clientResponse = client()
.resource( "http://localhost:7474/db/data/cypher" )
.accept( MediaType.APPLICATION_JSON )
.entity( request, MediaType.APPLICATION_JSON_TYPE )
.post( ClientResponse.class );
System.out.println(clientResponse.getEntity( String.class ));
}
private static Client client()
{
DefaultClientConfig defaultClientConfig = new DefaultClientConfig();
defaultClientConfig.getClasses().add(JacksonJsonProvider.class);
return Client.create(defaultClientConfig);
}
}
----
We can then write a query to check Mark and his friends were persisted:
image::{{<siteurl>}}/uploads/2014/02/2014-02-17_14-10-12.png[2014 02 17 14 10 12,600]
And that's it! | null | null | [
-0.021831173449754715,
-0.03614405542612076,
-0.00804240070283413,
0.027142174541950226,
0.08163083344697952,
-0.022504743188619614,
0.04646648094058037,
0.007207300513982773,
0.022286104038357735,
-0.027551107108592987,
-0.022765731438994408,
-0.023175358772277832,
-0.0750083327293396,
0.02628142014145851,
-0.01618693210184574,
0.0743161141872406,
0.0545693002641201,
0.02645735628902912,
0.029206793755292892,
-0.014498261734843254,
0.013681893236935139,
0.059095386415719986,
-0.002860745182260871,
0.027994822710752487,
0.033521708101034164,
0.020879218354821205,
0.0026164946611970663,
-0.0046935235150158405,
-0.04643898457288742,
-0.01544591598212719,
0.04825011268258095,
0.005463553126901388,
0.020119767636060715,
-0.017412828281521797,
0.004030785523355007,
-0.019910944625735283,
-0.04940615966916084,
0.007549172732979059,
-0.0136871337890625,
0.006653721444308758,
-0.04894204065203667,
0.049957290291786194,
-0.013808190822601318,
0.017394214868545532,
-0.018309667706489563,
-0.004926678258925676,
-0.06286059319972992,
0.038517165929079056,
0.012695998884737492,
0.0012717492645606399,
-0.06500954180955887,
0.00851346179842949,
-0.02835383079946041,
0.032530445605516434,
-0.008221201598644257,
0.033705953508615494,
0.006604693364351988,
-0.08494658768177032,
0.063361257314682,
-0.008971432223916054,
0.003911031875759363,
-0.001134996535256505,
0.0006911196978762746,
0.012453824281692505,
-0.013850724324584007,
-0.042181264609098434,
-0.012757888995110989,
0.05810163915157318,
-0.0467594675719738,
-0.015870550647377968,
-0.0016603831900283694,
0.0079806512221694,
-0.0055960193276405334,
-0.016927001997828484,
0.0016632835613563657,
-0.03543342649936676,
-0.011351000517606735,
0.05943958833813667,
0.014936549589037895,
0.02876611426472664,
-0.038421131670475006,
-0.000677703705150634,
0.0035641381982713938,
0.02473532408475876,
0.0036837721709161997,
-0.038530658930540085,
-0.014951241202652454,
-0.020863179117441177,
-0.04730786010622978,
0.03995339944958687,
0.0052899024449288845,
-0.05152447894215584,
-0.005546718370169401,
-0.0012793575879186392,
-0.0367741696536541,
-0.0062090447172522545,
-0.002588992239907384,
-0.009004410356283188,
0.013572132214903831,
-0.03259033337235451,
-0.019427215680480003,
-0.017603471875190735,
-0.008033165708184242,
-0.003280055010691285,
-0.07555998116731644,
-0.028182463720440865,
-0.027518032118678093,
-0.014103300869464874,
0.010011224076151848,
-0.019720716401934624,
-0.04740532860159874,
0.024923175573349,
0.020378293469548225,
0.03222490847110748,
-0.06701211631298065,
0.07166066765785217,
0.02425006404519081,
-0.011693134903907776,
-0.03609786182641983,
0.02927199751138687,
0.022078653797507286,
0.011937330476939678,
0.020571526139974594,
0.07673870027065277,
-0.0018792825285345316,
0.058188069611787796,
-0.009546836838126183,
0.03286934271454811,
-0.03050818294286728,
-0.07129602134227753,
-0.013580209575593472,
0.04500148817896843,
-0.005249697715044022,
0.020556116476655006,
-0.003121084300801158,
-0.051263682544231415,
-0.027368968352675438,
0.02780124358832836,
0.05543700233101845,
0.024265820160508156,
-0.000029594140869448893,
-0.05451831594109535,
0.024088559672236443,
-0.0013695742236450315,
0.037639837712049484,
0.022211669012904167,
-0.034543685615062714,
-0.040477316826581955,
-0.009108484722673893,
0.019253898411989212,
0.021587787196040154,
0.028825776651501656,
0.0628199353814125,
-0.01700657047331333,
0.00936212670058012,
0.12558463215827942,
0.006844166666269302,
0.00010901795758400112,
0.00008129195339279249,
0.018754614517092705,
0.0369209349155426,
0.029552742838859558,
0.028110384941101074,
0.06088784709572792,
0.012628293596208096,
0.008830620907247066,
0.002813235390931368,
0.04739348590373993,
-0.0027645083609968424,
-0.01478462852537632,
-0.042271725833415985,
-0.0855369046330452,
0.05190325155854225,
-0.04763345047831535,
-0.017865998670458794,
0.0633598119020462,
0.07474592328071594,
0.0028670262545347214,
0.02002820372581482,
0.0009776630904525518,
-0.0708647146821022,
0.05056868866086006,
0.01241264957934618,
-0.010728681460022926,
0.0037718527019023895,
0.02638821117579937,
0.05139922350645065,
0.05286946892738342,
0.005861448124051094,
0.04665270820260048,
-0.08744430541992188,
-0.04952070489525795,
-0.017794378101825714,
-0.006354077719151974,
0.06985554844141006,
-0.03239045292139053,
0.01454599853605032,
0.03704231604933739,
0.02199232205748558,
0.01992860995233059,
0.005990440957248211,
-0.02354571968317032,
0.034776896238327026,
-0.019153987988829613,
-0.059045515954494476,
0.05965904891490936,
0.012494424358010292,
-0.04143427684903145,
-0.03807437792420387,
0.02822583168745041,
-0.01883944496512413,
-0.008292998187243938,
0.006174730136990547,
-0.03204762190580368,
0.03134596347808838,
0.024380119517445564,
0.03147376328706741,
-0.02492499351501465,
0.035260044038295746,
-0.06356100738048553,
0.028298163786530495,
0.024068664759397507,
-0.02292516455054283,
-0.004399425815790892,
0.009314282797276974,
0.11523585021495819,
0.03346329554915428,
-0.010503810830414295,
-0.05977353826165199,
0.050193026661872864,
0.016476696357131004,
-0.021254433318972588,
0.023417340591549873,
-0.022844532504677773,
-0.001185852917842567,
-0.010180534794926643,
-0.027779879048466682,
-0.017518704757094383,
-0.003975831437855959,
-0.04277986288070679,
0.004134658724069595,
0.056479353457689285,
-0.010394788347184658,
0.053672727197408676,
0.018215186893939972,
-0.01832759752869606,
-0.01207638904452324,
-0.06561803072690964,
-0.019075613468885422,
0.04078546166419983,
0.022839123383164406,
-0.017824599519371986,
0.05499442666769028,
-0.024958286434412003,
0.007088939659297466,
-0.02778368443250656,
-0.005722442176192999,
0.03950982168316841,
0.025771375745534897,
0.05459333956241608,
-0.027225932106375694,
0.030674174427986145,
-0.04728101193904877,
0.013825648464262486,
-0.029038265347480774,
-0.026599889621138573,
-0.024972286075353622,
-0.010535374283790588,
0.0300615094602108,
0.007810874376446009,
0.0241998340934515,
-0.029890717938542366,
0.027309201657772064,
-0.008171994239091873,
0.014319307170808315,
0.01103032473474741,
0.011812218464910984,
-0.0041956170462071896,
0.006155016366392374,
-0.03784817457199097,
-0.032867223024368286,
0.04766853526234627,
-0.04706047847867012,
-0.05854092165827751,
-0.010535141453146935,
-0.07351513206958771,
0.05940665304660797,
-0.04769614338874817,
-0.042761530727148056,
0.005140282679349184,
0.06118191406130791,
0.06620284914970398,
0.0064967917278409,
-0.002725057303905487,
0.07622803747653961,
0.004064406268298626,
0.019931187853217125,
0.031201746314764023,
-0.004933314863592386,
0.06842352449893951,
-0.026944469660520554,
0.03867293894290924,
0.043712370097637177,
-0.03553139045834541,
0.02961835451424122,
-0.04153542220592499,
0.005907456390559673,
-0.003047842299565673,
-0.27102982997894287,
0.06372874975204468,
-0.028539586812257767,
-0.03675859421491623,
0.028182731941342354,
-0.02564156986773014,
0.005017166957259178,
-0.022707687690854073,
-0.02917381376028061,
0.03449390456080437,
0.008405855856835842,
-0.023483114317059517,
-0.009467720985412598,
0.027834972366690636,
-0.004059366881847382,
-0.007974985055625439,
-0.028626563027501106,
-0.06714627146720886,
0.0038072129245847464,
0.03361961990594864,
0.009691125713288784,
-0.05791045352816582,
-0.010270489379763603,
0.007227254565805197,
0.030482348054647446,
0.04141565412282944,
-0.06961306929588318,
0.014130063354969025,
-0.041349489241838455,
-0.008559638634324074,
0.0014476982178166509,
-0.012942316941916943,
0.03574075922369957,
0.014586214907467365,
-0.046105533838272095,
-0.02949768491089344,
0.0338812991976738,
0.024228066205978394,
-0.005144488997757435,
0.025194408372044563,
-0.051215760409832,
-0.05316461622714996,
-0.030163614079356194,
-0.00771718192845583,
0.08231798559427261,
0.009846409782767296,
-0.08018580824136734,
-0.0006379871047101915,
-0.027292735874652863,
0.051817018538713455,
-0.018521418794989586,
-0.04801960662007332,
0.008772345259785652,
0.021714136004447937,
-0.009287952445447445,
-0.03066778928041458,
-0.006370429880917072,
-0.01053507998585701,
-0.06824010610580444,
-0.023082366213202477,
-0.008829884231090546,
-0.05609627068042755,
0.003988087177276611,
-0.04079507663846016,
-0.006526239216327667,
-0.056584302335977554,
-0.0804414376616478,
-0.03440001606941223,
0.057865627110004425,
0.025329604744911194,
-0.00709105096757412,
0.026851864531636238,
-0.01770307682454586,
-0.11724840849637985,
-0.03674173727631569,
-0.034367069602012634,
-0.015526944771409035,
0.00867448654025793,
-0.02266646921634674,
0.06240353733301163,
-0.04032966122031212,
-0.023268014192581177,
-0.006073805037885904,
0.016464795917272568,
0.03390645235776901,
0.014857862144708633,
0.005846895277500153,
-0.012624711729586124,
-0.02043658308684826,
0.00123407575301826,
0.0666259378194809,
-0.0009549718233756721,
-0.014003044925630093,
-0.008741564117372036,
0.0011867702705785632,
0.03684883937239647,
-0.00008106482709990814,
-0.005517447832971811,
0.002717364579439163,
0.031164705753326416,
0.03917587175965309,
-0.01597200706601143,
0.033576756715774536,
-0.0013357660500332713,
-0.008573641069233418,
-0.008574548177421093,
-0.03693697601556778,
-0.004556905943900347,
0.0035365892108529806,
0.03446448594331741,
0.0010426543885841966,
-0.02021748758852482,
-0.0035678118001669645,
-0.061201341450214386,
-0.042897555977106094,
-0.0255716685205698,
0.0261446051299572,
0.03690258413553238,
0.054243654012680054,
-0.03658565506339073,
-0.06734476238489151,
0.04574502259492874,
0.05295576900243759,
0.004173899069428444,
-0.06439314037561417,
-0.05275781825184822,
-0.03797462582588196,
-0.018492477014660835,
0.02624059095978737,
0.03949187323451042,
-0.017025575041770935,
0.03261346369981766,
0.011918011121451855,
-0.016900546848773956,
0.050462350249290466,
-0.013479495421051979,
-0.011360120959579945,
-0.037052784115076065,
-0.018688151612877846,
-0.019911648705601692,
-0.007450011558830738,
-0.0118933767080307,
0.005399205256253481,
0.03614223748445511,
0.018478456884622574,
0.0017977844690904021,
0.02526210993528366,
0.0012515573762357235,
0.02304479107260704,
-0.005361489485949278,
-0.01270883996039629,
-0.03559684380888939,
0.00906352512538433,
-0.04944445192813873,
-0.01616556942462921,
0.006421439349651337,
0.043197836726903915,
-0.035176075994968414,
-0.029834693297743797,
-0.03337211161851883,
0.024721654132008553,
-0.06679633259773254,
0.009714473970234394,
-0.0079689621925354,
-0.02641330473124981,
0.056131184101104736,
-0.04414597898721695,
0.03022434562444687,
-0.045231517404317856,
-0.0364292711019516,
0.0018309090519323945,
-0.013354796916246414,
-0.02685631439089775,
0.006291299592703581,
-0.011307867243885994,
0.0020199560094624758,
0.0037713649217039347,
0.043152593076229095,
0.03130670636892319,
0.021721268072724342,
0.0016564789693802595,
0.011776654981076717,
0.00374748557806015,
0.015042366459965706,
0.05200079828500748,
0.026436952874064445,
-0.0035858445335179567,
0.0016391214448958635,
-0.03574204817414284,
-0.019199611619114876,
0.0038745945785194635,
-0.004058756399899721,
-0.03607374429702759,
0.02724442631006241,
-0.01384537573903799,
-0.053637050092220306,
0.043721556663513184,
-0.021581832319498062,
0.024056073278188705,
0.041924744844436646,
0.0025394835975021124,
0.01570635288953781,
0.005824144929647446,
0.03398478403687477,
0.049946509301662445,
-0.05737379565834999,
0.004024810157716274,
0.0024973072577267885,
-0.033121831715106964,
0.0041247783228755,
0.03201282396912575,
-0.04000021889805794,
-0.021245479583740234,
-0.02346695214509964,
0.034474264830350876,
-0.024236222729086876,
-0.03711293637752533,
-0.002896025078371167,
-0.003420257242396474,
-0.0049171750433743,
0.01741880178451538,
-0.010603740811347961,
0.009226794354617596,
-0.00434177927672863,
-0.004579959437251091,
0.05032244324684143,
-0.0426676869392395,
-0.0035098008811473846,
0.018120938912034035,
-0.029922055080533028,
0.03381111100316048,
-0.028498489409685135,
0.025009507313370705,
0.020136261358857155,
-0.020298127084970474,
0.010708210058510303,
-0.0652293860912323,
0.0014735797885805368,
-0.010141678154468536,
0.05529269576072693,
0.007133902050554752,
-0.013265211135149002,
-0.032691799104213715,
-0.011619646102190018,
-0.0070043508894741535,
-0.0007105337572284043,
0.0024787739384919405,
0.008508216589689255,
0.017053717747330666,
0.01478424109518528,
0.011653057299554348,
0.031792424619197845,
-0.011728161945939064,
-0.02555946633219719,
0.07765359431505203,
-0.023371640592813492,
-0.05686494708061218,
-0.0014745169319212437,
-0.05828263983130455,
-0.015377546660602093,
0.008691836148500443,
0.025918133556842804,
-0.04424523562192917,
0.04247666895389557,
0.05426248535513878,
0.014410610310733318,
0.049271367490291595,
-0.0032817984465509653,
0.031931083649396896,
-0.023001430556178093,
-0.052658941596746445,
-0.08117488026618958,
-0.007751873694360256,
0.04090751335024834,
0.0012312412727624178,
0.000723537930753082,
-0.014815998263657093,
-0.0308088269084692,
-0.002207562793046236,
-0.0545564629137516,
-0.03291422873735428,
0.04106185585260391,
-0.021202370524406433,
0.02508283592760563,
0.03653490170836449,
-0.05574000999331474,
0.0071048131212592125,
0.018300164490938187,
-0.03554203733801842,
-0.04041538015007973,
-0.014366034418344498,
0.05078425258398056,
-0.007147878408432007,
0.046313975006341934,
-0.004394278395920992,
-0.005987981334328651,
0.059115517884492874,
0.022394269704818726,
0.040012650191783905,
0.06823841482400894,
-0.029830697923898697,
0.023965388536453247,
0.035942964255809784,
0.004113622009754181,
-0.008937841281294823,
0.0488467775285244,
-0.023631002753973007,
-0.05784034729003906,
0.03861492872238159,
0.006489800754934549,
-0.03180409222841263,
-0.042215511202812195,
0.08279968053102493,
0.018437497317790985,
-0.05319882556796074,
-0.029936164617538452,
0.03764678165316582,
-0.03494437411427498,
-0.015656420961022377,
-0.04947894811630249,
0.019207609817385674,
-0.056265294551849365,
0.0444282591342926,
-0.01718927174806595,
0.025977198034524918,
0.05778826028108597,
0.0001423762587364763,
-0.0027082820888608694,
-0.011319885961711407,
0.09241491556167603,
0.09531044214963913,
0.025031931698322296,
0.023116976022720337,
0.06355665624141693,
0.014602942392230034,
-0.05006825923919678,
-0.0037598581984639168,
-0.011325331404805183,
-0.029551411047577858,
0.03014274500310421,
0.006542924791574478,
0.07816822826862335,
-0.026524776592850685,
0.0677056685090065,
-0.027932951226830482,
-0.020517708733677864,
-0.00853993184864521,
-0.012708337977528572,
0.048142556101083755,
0.033128611743450165,
0.011023260653018951,
0.05567532777786255,
-0.05099009722471237,
-0.0490260012447834,
0.012075161561369896,
0.01595545932650566,
-0.026742491871118546,
0.040002644062042236,
-0.020764963701367378,
-0.009181113913655281,
0.0032517448998987675,
0.036734651774168015,
0.08542053401470184,
-0.025780705735087395,
-0.0060265762731432915,
-0.00009802604472497478,
-0.0010068522533401847,
-0.00531591335311532,
-0.011695009656250477,
0.012092692777514458,
-0.0345999114215374,
0.0004969448200426996,
-0.016559699550271034,
-0.041790254414081573,
-0.04590943083167076,
-0.038481395691633224,
0.01675530895590782,
-0.010543442331254482,
-0.0010403381893411279,
-0.01287683192640543,
-0.004617306403815746,
-0.038450323045253754,
-0.0464651882648468,
-0.06988507509231567,
-0.04585523530840874,
-0.0739252120256424,
-0.005453456658869982,
0.012943988665938377,
0.006769144907593727,
-0.008766152895987034,
0.028341947123408318,
-0.029200341552495956,
-0.0026686585042625666,
0.06237770617008209,
-0.03419846296310425,
0.009323605336248875,
0.00856184121221304,
0.020871659740805626,
0.0383661724627018,
0.024164274334907532,
0.05928567051887512,
-0.0014778964687138796,
0.022682230919599533,
-0.0369802787899971,
-0.009816324338316917,
0.04390346258878708,
0.02368214540183544,
-0.016331255435943604,
-0.08498077094554901,
-0.004663519095629454,
0.01909019984304905,
-0.03855740278959274,
-0.0690825805068016,
-0.015311107970774174,
0.04480649530887604,
-0.0037904109340161085,
0.05477340891957283,
0.007203971967101097,
-0.027269534766674042,
-0.03207404911518097,
0.017165035009384155,
0.009347318671643734,
-0.01249000895768404,
0.04146526753902435,
-0.03070109523832798,
0.07530584931373596,
0.038591865450143814,
-0.03474414721131325,
-0.017312683165073395,
-0.014360488392412663,
0.017056072130799294,
0.0010171416215598583,
-0.03692147508263588,
-0.043364036828279495,
-0.03318360447883606,
-0.08729410171508789,
-0.03208622336387634,
0.01020494382828474,
-0.03207619860768318,
-0.016928499564528465,
-0.007660348899662495,
0.04079587012529373,
-0.03751318156719208,
0.0218985415995121,
-0.02240210399031639,
0.06737576425075531,
-0.025494933128356934,
-0.012218205258250237,
-0.04790779948234558,
0.008698736317455769,
-0.007004515267908573,
0.020818544551730156,
0.032631389796733856,
-0.04384303092956543,
0.0035046266857534647,
-0.03316069766879082,
0.024349430575966835,
0.031440623104572296,
0.0014283537166193128,
0.013894579373300076
] | [
-0.06438921391963959,
-0.01741587556898594,
-0.03225445747375488,
-0.03243546932935715,
0.02965930663049221,
-0.04781091958284378,
0.015138305723667145,
0.025699343532323837,
0.0344487726688385,
-0.015889352187514305,
0.0387241505086422,
-0.045943357050418854,
0.04394247755408287,
-0.01588730327785015,
0.08344101905822754,
0.010635961778461933,
-0.033020734786987305,
-0.07209791243076324,
-0.06381826102733612,
0.03305647149682045,
-0.028376268222928047,
-0.04409157857298851,
-0.015835212543606758,
-0.01722482591867447,
0.0040791523642838,
0.05042369291186333,
0.02996428869664669,
-0.03554432839155197,
-0.024695031344890594,
-0.20525047183036804,
0.0030752946622669697,
0.03155137225985527,
-0.004242063965648413,
-0.000608386006206274,
0.008359062485396862,
0.01861896924674511,
0.04608535394072533,
-0.023439105600118637,
0.011974561959505081,
0.0360543392598629,
0.038225267082452774,
0.0007284760940819979,
-0.056440047919750214,
-0.021594464778900146,
0.04998767748475075,
0.007445469032973051,
-0.022424954921007156,
-0.014845487661659718,
-0.03222130611538887,
0.011465376242995262,
-0.013458880595862865,
-0.023088853806257248,
-0.021435057744383812,
0.015117348171770573,
0.022491050884127617,
0.06903132051229477,
0.0645972341299057,
0.07982280850410461,
0.013917587697505951,
0.05536052584648132,
0.01351093128323555,
-0.006800938863307238,
-0.12279979139566422,
0.07751765102148056,
-0.007176016457378864,
0.009475478902459145,
-0.040199317038059235,
-0.029611017554998398,
-0.022952299565076828,
0.07216367870569229,
0.03000740148127079,
0.01786358468234539,
-0.04607761651277542,
0.054818201810121536,
-0.0039612301625311375,
0.018050208687782288,
-0.021121732890605927,
0.03467511385679245,
0.0390063151717186,
-0.020871078595519066,
-0.07066809386014938,
0.014472543261945248,
-0.013425122015178204,
0.0026240767911076546,
-0.03354371711611748,
0.03845830634236336,
-0.008576136082410812,
0.021170061081647873,
-0.02193794772028923,
0.01998591050505638,
0.022971510887145996,
0.0023255664855241776,
0.05859318748116493,
0.028399668633937836,
-0.10670895129442215,
-0.018900126218795776,
-0.013607894070446491,
0.018673766404390335,
-0.02270396612584591,
0.4197848439216614,
-0.007974527776241302,
0.004214275628328323,
0.06107604131102562,
0.049643244594335556,
-0.010018188506364822,
-0.003217094112187624,
0.014820560812950134,
-0.07867226749658585,
0.04032687470316887,
-0.012555529363453388,
-0.008089948445558548,
-0.03725811094045639,
0.023515276610851288,
-0.0713038444519043,
0.010364234447479248,
0.04299648478627205,
0.05349333584308624,
0.03368934988975525,
-0.03865661472082138,
-0.0049794744700193405,
-0.007929203100502491,
0.011597142554819584,
0.031806159764528275,
0.047800399363040924,
0.021528786048293114,
0.00504930317401886,
0.023199377581477165,
0.035438306629657745,
0.021344898268580437,
0.01382473949342966,
0.04028264060616493,
0.025460772216320038,
-0.05211746320128441,
0.02754763700067997,
-0.028964128345251083,
0.016895925626158714,
0.01695648953318596,
-0.04701223596930504,
-0.01930985413491726,
0.03506176546216011,
-0.010759307071566582,
-0.057634398341178894,
0.03601754456758499,
-0.0023223478347063065,
-0.010498031042516232,
0.15334229171276093,
0.0054711452685296535,
-0.03295426070690155,
-0.02564249001443386,
-0.00029687921050935984,
-0.014347551390528679,
0.02879217453300953,
-0.01007099635899067,
-0.05393774062395096,
-0.011968772858381271,
0.016734816133975983,
0.08583786338567734,
-0.015284234657883644,
-0.08350761234760284,
0.03257305175065994,
0.010223591700196266,
-0.03093613311648369,
-0.04470555856823921,
0.082943394780159,
0.06307041645050049,
-0.1330052763223648,
-0.01044298056513071,
0.01731831580400467,
0.015338163822889328,
-0.05761779844760895,
-0.00041258701821789145,
0.017989857122302055,
-0.03635149076581001,
-0.024922272190451622,
0.06652981787919998,
-0.01395258679986,
-0.03727450221776962,
-0.02741704322397709,
0.03334172070026398,
0.009675301611423492,
-0.034831032156944275,
0.007991161197423935,
-0.0367281548678875,
-0.020299548283219337,
-0.09104007482528687,
-0.052528854459524155,
-0.0591469332575798,
0.02836214378476143,
0.002051826100796461,
-0.05917315557599068,
-0.019367961212992668,
0.0010129254078492522,
-0.02464122511446476,
0.0705290213227272,
-0.035614851862192154,
-0.047793202102184296,
-0.020595254376530647,
-0.01761425845324993,
-0.01638929545879364,
-0.042743708938360214,
0.014307324774563313,
0.021637985482811928,
-0.011835447512567043,
0.01700211688876152,
-0.06040828302502632,
0.038473937660455704,
0.04467179626226425,
-0.025256454944610596,
0.06646232306957245,
0.01966853067278862,
-0.018629057332873344,
-0.010596750304102898,
-0.043136708438396454,
0.027441544458270073,
-0.0011201078305020928,
-0.006036692764610052,
-0.0038798311725258827,
-0.0115081537514925,
0.02687200903892517,
0.038217365741729736,
-0.02297613024711609,
0.012432437390089035,
-0.0044283573515713215,
-0.342591792345047,
-0.05866819620132446,
-0.00914371944963932,
-0.011006353422999382,
-0.015551493503153324,
-0.0413966067135334,
0.01577918231487274,
-0.02484486624598503,
-0.0040477910079061985,
0.016580531373620033,
0.08808380365371704,
-0.011049379594624043,
-0.011125996708869934,
-0.038986898958683014,
-0.005425861570984125,
0.03125305473804474,
0.003371637547388673,
0.012097529135644436,
-0.013486935757100582,
0.0007428603712469339,
-0.02698291465640068,
-0.021599160507321358,
-0.018582940101623535,
-0.03233615309000015,
-0.009064464829862118,
0.0005913191707804799,
0.11128833144903183,
0.022208446636795998,
0.00610707513988018,
-0.03374803438782692,
0.06012197583913803,
0.0033296700567007065,
0.003420162945985794,
-0.0793161541223526,
0.016366804018616676,
-0.01753433793783188,
-0.0017678122967481613,
-0.030546581372618675,
0.0014173409435898066,
-0.02724355272948742,
-0.06723146885633469,
-0.01648557372391224,
-0.02910310961306095,
-0.056779831647872925,
-0.01279335469007492,
0.01381160132586956,
-0.02717491053044796,
-0.02036171965301037,
0.022203367203474045,
0.0788876861333847,
0.0004607763548847288,
0.011547832749783993,
0.028174638748168945,
0.0153097715228796,
0.014834586530923843,
-0.03176240995526314,
-0.05792851746082306,
-0.016017001122236252,
0.020396947860717773,
0.03541405126452446,
0.015158368274569511,
0.049635645002126694,
0.0023385160602629185,
-0.09185958653688431,
0.0456412136554718,
-0.04231787100434303,
-0.0349213145673275,
0.017836693674325943,
0.0267634280025959,
-0.040152210742235184,
-0.045231107622385025,
0.09288889914751053,
0.0029606581665575504,
0.02846815437078476,
0.028178876265883446,
0.01763298362493515,
-0.002558633219450712,
-0.003673694794997573,
0.019926229491829872,
0.007980179972946644,
0.023707207292318344,
-0.041827522218227386,
0.08171354234218597,
-0.01949894055724144,
-0.03808492049574852,
0.03834309056401253,
0.0011666709324344993,
-0.028317749500274658,
0.058240655809640884,
-0.0020014934707432985,
-0.03536439687013626,
-0.0024632872082293034,
-0.022729886695742607,
-0.06680965423583984,
0.07607567310333252,
-0.03844158351421356,
-0.2763403058052063,
0.030186433345079422,
0.01203466858714819,
0.05189204961061478,
0.0015727428253740072,
0.01618347503244877,
0.04158201813697815,
-0.015874003991484642,
-0.01052413135766983,
-0.0021478887647390366,
0.062498196959495544,
0.03602578118443489,
0.012100816704332829,
-0.009801780804991722,
0.01303580030798912,
0.034665387123823166,
0.011553825810551643,
-0.004796409979462624,
0.02673354558646679,
0.010250194929540157,
0.05022274702787399,
-0.04031027853488922,
0.19067952036857605,
0.044127438217401505,
0.024840233847498894,
0.048450276255607605,
-0.03308894485235214,
0.01685929298400879,
0.0398746095597744,
0.021778268739581108,
-0.016232548281550407,
0.037228796631097794,
0.013668697327375412,
0.03848203271627426,
0.03116183541715145,
-0.06015469878911972,
-0.0014533065259456635,
0.011438237503170967,
0.01706857606768608,
-0.01778399385511875,
-0.023863112553954124,
-0.005149917211383581,
-0.04076508805155754,
0.03311420604586601,
0.06946851313114166,
-0.021726353093981743,
-0.010359936393797398,
0.011891736648976803,
-0.05243606120347977,
-0.000990215572528541,
-0.01980767957866192,
-0.07404288649559021,
-0.01650898903608322,
0.0019853701815009117,
0.0024272226728498936,
0.08458958566188812,
-0.004642621148377657,
-0.013622287660837173,
0.026653407141566277,
0.016480829566717148,
-0.023922894150018692,
-0.018270086497068405,
0.10182158648967743,
-0.03659757226705551,
0.01847742311656475
] | [
0.017713531851768494,
0.04352051019668579,
0.014326393604278564,
0.010767647996544838,
-0.03201748803257942,
0.002042508916929364,
-0.012701251544058323,
0.03639638423919678,
-0.033120810985565186,
-0.012052636593580246,
-0.00712455902248621,
0.0028949053958058357,
0.05304998531937599,
0.0052419076673686504,
0.005511909257620573,
0.007100207731127739,
-0.024694275110960007,
0.03256124258041382,
0.018388522788882256,
-0.011784805916249752,
-0.05084727704524994,
0.0166778527200222,
0.04581473395228386,
-0.03683554753661156,
0.0011172604281455278,
0.017519129440188408,
-0.006963198538869619,
-0.008047840557992458,
-0.000462250376585871,
-0.10136032849550247,
-0.03594660013914108,
-0.017883701249957085,
-0.024000445380806923,
0.02395002171397209,
-0.027954326942563057,
0.010754266753792763,
0.01297664176672697,
0.00936882570385933,
0.01669424958527088,
-0.016840819269418716,
-0.000019888522729161195,
0.002845987444743514,
-0.04292402043938637,
0.017642715945839882,
-0.006854411214590073,
0.005241670645773411,
-0.019251789897680283,
-0.005155975464731455,
-0.017917605116963387,
0.01575123891234398,
-0.0575459748506546,
-0.009875998832285404,
-0.005303788464516401,
0.019501356407999992,
0.022543158382177353,
0.02463575266301632,
-0.0830545499920845,
-0.01770971529185772,
-0.0021341515239328146,
-0.013850514777004719,
0.01349532138556242,
-0.013495526276528835,
-0.038072049617767334,
-0.01122263353317976,
0.00724575761705637,
-0.0172842089086771,
0.010384135879576206,
0.019995618611574173,
0.02121235989034176,
-0.006773078814148903,
-0.021005364134907722,
0.04490562528371811,
-0.06765610724687576,
-0.036656010895967484,
-0.026466822251677513,
0.05861547216773033,
0.016546521335840225,
-0.03744902089238167,
0.003039271105080843,
-0.0073150512762367725,
-0.004933975171297789,
-0.01440178882330656,
-0.014545433223247528,
-0.013424335047602654,
-0.025439197197556496,
-0.014140305109322071,
-0.005621528252959251,
-0.020522747188806534,
0.009461763314902782,
0.024120761081576347,
-0.0379294827580452,
0.007292579393833876,
0.01604490354657173,
0.012263468466699123,
-0.09412999451160431,
0.02150317095220089,
-0.003430676180869341,
-0.009009629487991333,
-0.004814676009118557,
0.833478569984436,
0.0004532648017629981,
0.004495720379054546,
0.021754175424575806,
-0.009021115489304066,
0.012964439578354359,
0.01122545450925827,
0.008373738266527653,
-0.027897724881768227,
-0.03138557821512222,
-0.006644292268902063,
-0.01204614620655775,
0.004743335768580437,
-0.006335556041449308,
-0.01689070090651512,
-0.0004935947363264859,
0.013472330756485462,
0.03601491451263428,
0.01009790413081646,
0.009776312857866287,
0.029657021164894104,
0.00512629933655262,
-0.02364991419017315,
-0.016247428953647614,
-0.00511761661618948,
-0.002223344286903739,
-0.1746549755334854,
-0.04946407675743103,
-7.512851086386082e-33,
0.06340709328651428,
0.01208151038736105,
0.07206558436155319,
0.011385180987417698,
0.0106425192207098,
0.01258826907724142,
-0.0004778461589012295,
-0.022663002833724022,
-0.0371924564242363,
-0.043248679488897324,
-0.020377136766910553,
0.004953688941895962,
0.0029731430113315582,
-0.009871172718703747,
0.010014103725552559,
-0.00526462122797966,
0.016181517392396927,
0.03839503973722458,
-0.027899937704205513,
0.007692895829677582,
-0.012707742862403393,
0.05069468915462494,
-0.020584581419825554,
0.012412913143634796,
0.00751154450699687,
0.0394793301820755,
-0.01985439471900463,
0.023861534893512726,
-0.02642601728439331,
-0.05558861047029495,
-0.050739601254463196,
0.02043883316218853,
-0.014318305067718029,
-0.01240548025816679,
0.031204111874103546,
-0.04576566442847252,
-0.016586020588874817,
-0.023090733215212822,
-0.041184622794389725,
-0.07055721431970596,
-0.026347924023866653,
-0.024082111194729805,
-0.017236076295375824,
-0.0009490994270890951,
-0.03277705982327461,
-0.03832361847162247,
-0.023812253028154373,
0.01864328235387802,
0.0058295815251767635,
0.04298835247755051,
0.03432129696011543,
0.023936286568641663,
-0.031200982630252838,
0.019546551629900932,
-0.04831375926733017,
-0.008983628824353218,
-0.00827135518193245,
0.005914050154387951,
-0.0031921991612762213,
0.038220491260290146,
0.021954409778118134,
-0.008095049299299717,
-0.006681422702968121,
0.024861915037035942,
0.027327626943588257,
0.030666310340166092,
-0.0007672580541111529,
0.007544732186943293,
-0.005725264549255371,
0.02180274948477745,
-0.04616202041506767,
0.04889761656522751,
-0.016090959310531616,
-0.02892049215734005,
0.024443209171295166,
-0.04345005005598068,
-0.01409120112657547,
-0.04698827117681503,
0.02921987697482109,
0.025927329435944557,
-0.014899175614118576,
-0.014123830944299698,
0.006872415542602539,
-0.015523810870945454,
-0.019774485379457474,
-0.02179400436580181,
0.013119915500283241,
0.034338243305683136,
0.03570547699928284,
0.02084944397211075,
0.06715003401041031,
0.0600249208509922,
-0.006688595749437809,
-0.009766647592186928,
0.0028966430108994246,
6.868337084721822e-33,
-0.009252072311937809,
-0.005629904102534056,
-0.030028216540813446,
-0.0005533904186449945,
0.03457224741578102,
-0.019081002101302147,
0.031019559130072594,
0.017883697524666786,
-0.03729277476668358,
0.027094177901744843,
-0.024338340386748314,
-0.02633969858288765,
0.031925320625305176,
0.006340989843010902,
0.05036300793290138,
0.006072944961488247,
0.024211371317505836,
-0.013801788911223412,
0.005153991281986237,
0.01000769343227148,
0.007470793090760708,
0.0081237917765975,
0.022428564727306366,
0.039559006690979004,
0.006904429290443659,
0.010515332221984863,
-0.012604772113263607,
-0.01860812120139599,
-0.015275630168616772,
-0.01185859739780426,
0.015711309388279915,
-0.04404297098517418,
0.0018121892353519797,
-0.03533582016825676,
0.0346832312643528,
-0.0032791211269795895,
-0.01532694511115551,
0.003813080722466111,
0.04043285548686981,
-0.03285003453493118,
-0.01000770553946495,
-0.0016309396596625447,
-0.008904436603188515,
0.06483136862516403,
0.012229667976498604,
0.001874936860986054,
0.005079858936369419,
0.003334068227559328,
0.029515519738197327,
0.015601037070155144,
0.024873482063412666,
0.03349318355321884,
-0.0028083876240998507,
-0.0009108936064876616,
0.04156913608312607,
-0.04054891690611839,
-0.006995812524110079,
0.030487386509776115,
0.02541007101535797,
-0.0011868661968037486,
-0.013526057824492455,
-0.043854765594005585,
-0.017937060445547104,
0.04708278924226761,
0.025602327659726143,
-0.02452000603079796,
-0.0437273271381855,
-0.009080206975340843,
-0.022362107411026955,
0.006203711032867432,
-0.027108510956168175,
0.0103978980332613,
-0.012255033478140831,
0.02294650487601757,
0.056434206664562225,
-0.04945565387606621,
-0.00925440527498722,
-0.01937081106007099,
0.004329458344727755,
0.01833903044462204,
0.015830228105187416,
0.004577001556754112,
0.02377624250948429,
0.011384531855583191,
-0.010541445575654507,
-0.005256654694676399,
-0.009230449795722961,
0.022391272708773613,
-0.02672124281525612,
0.0032980344258248806,
0.024022631347179413,
-0.03952035307884216,
-0.021140187978744507,
0.042683281004428864,
-0.031521428376436234,
-1.2799962867404702e-8,
-0.03613219037652016,
0.022221293300390244,
-0.017386270686984062,
0.000008926529517339077,
0.019724836573004723,
0.022630492225289345,
-0.002740885829553008,
-0.004343795124441385,
0.02202502079308033,
-0.006794350687414408,
0.0038788006640970707,
0.023419465869665146,
0.023876123130321503,
0.022527603432536125,
0.032788634300231934,
-0.07251476496458054,
0.003584356512874365,
-0.008281751535832882,
0.02180333249270916,
0.026568636298179626,
-0.033330027014017105,
0.03500533476471901,
-0.045419108122587204,
0.00842576939612627,
0.02981642633676529,
0.00818094052374363,
0.05169962719082832,
-0.031057635322213173,
0.011229301802814007,
-0.03479955345392227,
0.03228972479701042,
-0.030739597976207733,
-0.012626521289348602,
0.021590080112218857,
-0.055104050785303116,
-0.011580172926187515,
0.02278834953904152,
0.03518488258123398,
-0.013875927776098251,
0.04366821050643921,
-0.017508646473288536,
0.026984233409166336,
-0.010265946388244629,
-0.01629597134888172,
-0.023824037984013557,
-0.00697705103084445,
-0.009737511165440083,
-0.0005304591031745076,
0.01886860653758049,
-0.024733085185289383,
-0.02330058068037033,
0.010998214595019817,
0.023091565817594528,
-0.013634592294692993,
0.040035322308540344,
-0.014675075188279152,
0.025930041447281837,
0.009027327410876751,
0.016819611191749573,
-0.007829283364117146,
0.03938143700361252,
-0.0067900195717811584,
-0.038533903658390045,
-0.019617410376667976
] | neo4j-creating-nodes-and-relationships-from-a-list-of-maps | https://markhneedham.com/blog/2014/02/17/neo4j-creating-nodes-and-relationships-from-a-list-of-maps |
false | 2014-02-26 00:12:01 | Jersey: Ignoring SSL certificate - javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException | [
"java"
] | [
"Java"
] | Last week https://twitter.com/apcj[Alistair] and I were working on an internal application and we needed to make a HTTPS request directly to an AWS machine using a certificate signed to a different host.
We use http://mvnrepository.com/artifact/com.sun.jersey/jersey-client[jersey-client] so our code looked something like this:
[source,java]
----
Client client = Client.create();
client.resource("https://some-aws-host.compute-1.amazonaws.com").post();
// and so on
----
When we ran this we predictably ran into trouble:
[source,text]
----
com.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative DNS name matching some-aws-host.compute-1.amazonaws.com found.
at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149)
at com.sun.jersey.api.client.Client.handle(Client.java:648)
at com.sun.jersey.api.client.WebResource.handle(WebResource.java:670)
at com.sun.jersey.api.client.WebResource.post(WebResource.java:241)
at com.neotechnology.testlab.manager.bootstrap.ManagerAdmin.takeBackup(ManagerAdmin.java:33)
at com.neotechnology.testlab.manager.bootstrap.ManagerAdminTest.foo(ManagerAdminTest.java:11)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:74)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:202)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative DNS name matching some-aws-host.compute-1.amazonaws.com found.
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1884)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:276)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:270)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1341)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:153)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1300)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:240)
at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147)
... 31 more
Caused by: java.security.cert.CertificateException: No subject alternative DNS name matching some-aws-host.compute-1.amazonaws.com found.
at sun.security.util.HostnameChecker.matchDNS(HostnameChecker.java:191)
at sun.security.util.HostnameChecker.match(HostnameChecker.java:93)
at sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:347)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:203)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:126)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1323)
... 45 more
----
We figured that we needed to get our client to ignore the certificate and came across http://stackoverflow.com/questions/6047996/ignore-self-signed-ssl-cert-using-jersey-client[this Stack Overflow thread] which had some suggestions on how to do this.
None of the suggestions worked on their own but we ended up with a combination of a couple of the suggestions which did the trick:
[source,java]
----
public Client hostIgnoringClient() {
try
{
SSLContext sslcontext = SSLContext.getInstance( "TLS" );
sslcontext.init( null, null, null );
DefaultClientConfig config = new DefaultClientConfig();
Map<String, Object> properties = config.getProperties();
HTTPSProperties httpsProperties = new HTTPSProperties(
new HostnameVerifier()
{
@Override
public boolean verify( String s, SSLSession sslSession )
{
return true;
}
}, sslcontext
);
properties.put( HTTPSProperties.PROPERTY_HTTPS_PROPERTIES, httpsProperties );
config.getClasses().add( JacksonJsonProvider.class );
return Client.create( config );
}
catch ( KeyManagementException | NoSuchAlgorithmException e )
{
throw new RuntimeException( e );
}
}
----
You're welcome Future Mark. | null | null | [
-0.0005086003220640123,
-0.04869437962770462,
-0.05404612421989441,
0.028826210647821426,
0.07069051265716553,
0.012502354569733143,
0.06322997808456421,
0.028980905190110207,
0.0060895527713000774,
-0.017212405800819397,
-0.016910182312130928,
-0.010013346560299397,
-0.07166624814271927,
0.019712358713150024,
-0.03971261903643608,
0.061267249286174774,
0.06107249855995178,
0.0009926644852384925,
0.026511315256357193,
-0.00599690992385149,
-0.004873296711593866,
0.07028067111968994,
-0.00333595834672451,
0.013253992423415184,
0.024882778525352478,
0.03561367094516754,
-0.020971179008483887,
0.013599703088402748,
-0.057533711194992065,
-0.023595524951815605,
0.06546828895807266,
0.02080775424838066,
0.00777144730091095,
-0.003078415524214506,
0.018383275717496872,
-0.01963643915951252,
-0.03804050013422966,
0.01183730736374855,
-0.0008455984643660486,
0.024070916697382927,
-0.06136124208569527,
0.04300449788570404,
-0.014985023066401482,
0.028228281065821648,
-0.003520158352330327,
0.009950617328286171,
-0.029635809361934662,
0.033864714205265045,
0.003989960998296738,
-0.00974089652299881,
-0.09045983850955963,
0.01631157472729683,
-0.07104591280221939,
0.023873940110206604,
0.011971792206168175,
0.025637028738856316,
0.0231335386633873,
-0.07734406739473343,
0.04442894458770752,
-0.042172692716121674,
-0.0009416363318450749,
-0.011643286794424057,
0.006559726782143116,
0.001134644029662013,
0.009484614245593548,
-0.011872990988194942,
0.0077097550965845585,
0.07041113823652267,
-0.046740204095840454,
-0.028639381751418114,
0.016598425805568695,
0.005640432238578796,
-0.02803342416882515,
0.005725318565964699,
0.03315101936459541,
-0.054821692407131195,
-0.015541444532573223,
0.03696246072649956,
0.009408126585185528,
0.05033460631966591,
-0.04085500165820122,
-0.0038927935529500246,
0.012385242618620396,
0.008937718346714973,
0.009953494183719158,
-0.03256012126803398,
-0.03790110722184181,
0.005591851193457842,
-0.03472941368818283,
0.08376136422157288,
0.03896215558052063,
-0.014859061688184738,
-0.00261747557669878,
0.02194528840482235,
-0.01586952991783619,
0.0038363432977348566,
-0.003169524949043989,
-0.00969206914305687,
0.007422057446092367,
-0.02859726920723915,
-0.03853177651762962,
0.0017978319665417075,
0.0008907830342650414,
0.01823941059410572,
-0.07526862621307373,
0.007138187997043133,
-0.022330420091748238,
-0.007618290837854147,
0.005875852424651384,
0.007912272587418556,
-0.01578531600534916,
0.02708085998892784,
-0.016023440286517143,
-0.0041403379291296005,
-0.07512820512056351,
0.06799294799566269,
0.0006664026295766234,
-0.05417637154459953,
-0.013022065162658691,
0.03510916605591774,
0.055056966841220856,
0.015193209052085876,
-0.010868011973798275,
0.0820087119936943,
0.011600409634411335,
0.03849698230624199,
-0.014482032507658005,
0.04498210921883583,
-0.00934390164911747,
-0.043501805514097214,
-0.027012865990400314,
0.06227082014083862,
0.011553113348782063,
0.029886487871408463,
0.004120600875467062,
0.000468678044853732,
-0.004063153173774481,
0.012856539338827133,
0.06001792848110199,
0.02082790434360504,
-0.01966511458158493,
-0.025296734645962715,
-0.00102594296913594,
0.024396182969212532,
0.028538499027490616,
0.029350746423006058,
0.010715710930526257,
-0.03385533019900322,
-0.0015939146978780627,
0.03975330665707588,
0.017909789457917213,
0.0013034058501943946,
0.03231602907180786,
-0.026773221790790558,
-0.009278325363993645,
0.08648815006017685,
0.03965405002236366,
0.01438899990171194,
-0.032926641404628754,
0.016421809792518616,
0.03548707440495491,
0.03359689190983772,
0.0036917440593242645,
0.055281538516283035,
0.010769864544272423,
0.00471450574696064,
0.0021403739228844643,
0.03724251687526703,
0.018017936497926712,
-0.007248987909406424,
-0.06133976951241493,
-0.08450935035943985,
0.04083488881587982,
-0.04897395148873329,
-0.013334707356989384,
0.04663151875138283,
0.07103649526834488,
0.002424802863970399,
0.0432678759098053,
-0.002993432804942131,
-0.06224365904927254,
0.040308766067028046,
0.03304615244269371,
0.04074345901608467,
0.029444517567753792,
-0.006607962306588888,
0.06641582399606705,
0.03178666904568672,
-0.0016537689371034503,
0.047324907034635544,
-0.08505042642354965,
-0.07513878494501114,
-0.0005581692676059902,
-0.0038855515886098146,
0.07101898640394211,
-0.012835758738219738,
0.008058246225118637,
0.05680111423134804,
0.025224732235074043,
0.01563856564462185,
0.0159381665289402,
0.0034145358949899673,
0.0132377240806818,
-0.06452175974845886,
-0.07024941593408585,
0.05690068379044533,
0.04104967042803764,
-0.012668127194046974,
-0.06538105756044388,
-0.009546610526740551,
-0.02343219518661499,
0.008466868661344051,
0.004404881037771702,
-0.02687080018222332,
0.03472306951880455,
0.008428189903497696,
0.04138326644897461,
-0.03925434499979019,
0.07379432767629623,
-0.05664126202464104,
0.05949994549155235,
0.003669383469969034,
0.010508040897548199,
-0.005808004178106785,
0.0027761152014136314,
0.11721763014793396,
0.03795810788869858,
-0.005297927651554346,
-0.048530708998441696,
0.03901664912700653,
0.0014049757737666368,
-0.058950554579496384,
-0.000007858273420424666,
-0.041064441204071045,
-0.017084844410419464,
0.010621183551847935,
-0.04762909561395645,
-0.05936071649193764,
0.004220876842737198,
-0.019181212410330772,
0.008357411250472069,
0.07521609961986542,
-0.02518739365041256,
0.053288042545318604,
-0.0026296554133296013,
-0.030491434037685394,
-0.035714179277420044,
-0.04014365375041962,
-0.02698543481528759,
0.008037731982767582,
-0.007791799493134022,
-0.023527786135673523,
0.03561599180102348,
-0.013603807426989079,
-0.027037041261792183,
-0.029431361705064774,
-0.052381325513124466,
0.01919581927359104,
0.012760967016220093,
0.07510074973106384,
-0.030352409929037094,
0.04330744594335556,
-0.036468811333179474,
0.009242111817002296,
-0.004931660369038582,
-0.03426362946629524,
-0.02912338264286518,
0.014945740811526775,
0.0107459407299757,
-0.002663910388946533,
0.03822516277432442,
0.017166562378406525,
0.030954301357269287,
-0.016126731410622597,
0.010592292994260788,
-0.023558879271149635,
0.046511586755514145,
-0.021717118099331856,
0.0004114938201382756,
-0.007253372576087713,
-0.01620819792151451,
0.028776301071047783,
-0.03569919988512993,
-0.02442535012960434,
0.029047716408967972,
-0.06554115563631058,
0.032739847898483276,
-0.08470391482114792,
-0.05424036830663681,
0.0015660059871152043,
0.035978764295578,
0.037921641021966934,
0.023007918149232864,
0.020290303975343704,
0.0647006407380104,
-0.024280859157443047,
0.001704411581158638,
0.028549399226903915,
0.007050151005387306,
0.03928085044026375,
-0.011720873415470123,
0.025382211431860924,
0.016717547550797462,
-0.015965454280376434,
-0.0032292339019477367,
-0.05865733325481415,
0.0007240744307637215,
-0.018033914268016815,
-0.2829456031322479,
0.0544624999165535,
0.03438848257064819,
-0.030367935076355934,
0.0404696948826313,
-0.01437492948025465,
0.01409696601331234,
-0.056358736008405685,
-0.011485847644507885,
0.0207439623773098,
0.012334190309047699,
-0.01934334821999073,
0.004487303551286459,
0.006552473641932011,
-0.01657160185277462,
-0.004070847295224667,
-0.01670711301267147,
-0.045789193361997604,
0.023010581731796265,
0.009033926762640476,
-0.0037220544181764126,
-0.04225287586450577,
0.025878963991999626,
0.009371841326355934,
0.029042977839708328,
0.055504485964775085,
-0.0626160204410553,
0.04176957160234451,
-0.020708627998828888,
-0.011248786933720112,
0.03664050251245499,
-0.04391367733478546,
0.008220687508583069,
0.0022267159074544907,
-0.03696180880069733,
-0.025015292689204216,
0.019385388121008873,
-0.0014180897269397974,
-0.029565133154392242,
0.022733477875590324,
-0.03808320313692093,
-0.07781408727169037,
-0.0014752502320334315,
-0.003927113953977823,
0.06505005061626434,
0.010459313169121742,
-0.06524012982845306,
-0.017922284081578255,
-0.022263556718826294,
0.08585245162248611,
-0.035080280154943466,
-0.023416362702846527,
-0.01117080356925726,
0.011323078535497189,
0.0026534399949014187,
-0.019222328439354897,
-0.03120705671608448,
-0.006171709857881069,
-0.04770048335194588,
-0.028641309589147568,
0.009560219012200832,
-0.03544201701879501,
-0.020448504015803337,
-0.04757797345519066,
-0.01636604778468609,
-0.051518913358449936,
-0.03637247905135155,
-0.008014197461307049,
0.08487662672996521,
0.0076174382120370865,
-0.02180180512368679,
0.008448456414043903,
0.004607533570379019,
-0.10103296488523483,
0.02018575929105282,
-0.057022299617528915,
-0.0416952483355999,
-0.010131060145795345,
-0.004360813647508621,
0.018914036452770233,
-0.031910400837659836,
-0.02788507007062435,
-0.009723824448883533,
0.006690182723104954,
0.024181608110666275,
-0.00313587742857635,
0.033213697373867035,
-0.01964128017425537,
-0.0009442921727895737,
0.004521532915532589,
0.07567915320396423,
-0.014936628751456738,
-0.04446352273225784,
-0.03458062931895256,
0.001960041467100382,
0.04546540603041649,
-0.0008537253015674651,
0.011203952133655548,
-0.027202291414141655,
0.04928593710064888,
0.0038968182634562254,
-0.0492294616997242,
0.038781195878982544,
-0.03790740668773651,
0.008909664116799831,
0.007023783400654793,
-0.049015872180461884,
0.0001447729446226731,
0.03197498992085457,
0.026741476729512215,
0.005907072685658932,
-0.048270855098962784,
0.005025961436331272,
-0.061150286346673965,
-0.049349699169397354,
-0.00391260115429759,
0.011893955059349537,
0.022244472056627274,
0.046497512608766556,
-0.043450552970170975,
-0.04735610634088516,
0.01985754817724228,
0.056435804814100266,
-0.0157155878841877,
-0.03289823606610298,
-0.04123270511627197,
-0.01817547157406807,
-0.0045481957495212555,
0.02436668425798416,
-0.0029782867059111595,
-0.016816699877381325,
0.029029499739408493,
0.031222065910696983,
-0.005531784147024155,
-0.011954333633184433,
-0.010205511003732681,
-0.038341499865055084,
-0.044643010944128036,
0.017288895323872566,
-0.009355106391012669,
-0.0022217296063899994,
0.0019068076508119702,
-0.01757108047604561,
0.035504769533872604,
0.06905720382928848,
-0.002087643835693598,
0.041400667279958725,
-0.023738931864500046,
0.015927482396364212,
0.0055405572056770325,
0.001466069952584803,
-0.07417111098766327,
0.01947232522070408,
-0.043544065207242966,
-0.03816913068294525,
0.01745549961924553,
0.05265018343925476,
-0.012797798961400986,
-0.044709205627441406,
-0.011832114309072495,
0.03313124179840088,
-0.06474088877439499,
-0.00594556238502264,
-0.011974018067121506,
-0.01695108972489834,
0.04090281203389168,
-0.02224852330982685,
0.01943516731262207,
-0.02072889171540737,
-0.04239528626203537,
0.0054049245081841946,
-0.0029969788156449795,
-0.008489067666232586,
0.032456040382385254,
0.008811208419501781,
0.015703294426202774,
0.001751379226334393,
0.028642108663916588,
0.011548170819878578,
0.01629703864455223,
-0.0003684042894747108,
-0.00845556240528822,
0.02289116568863392,
0.017110928893089294,
0.036285143345594406,
-0.005904219578951597,
-0.015120461583137512,
0.010613135062158108,
-0.01878882572054863,
0.004683304578065872,
-0.0010963535169139504,
-0.0033872362691909075,
-0.01702331192791462,
0.034391678869724274,
0.001032552681863308,
-0.08598470687866211,
0.03297288715839386,
-0.013898792676627636,
0.025872116908431053,
0.00906254630535841,
-0.0011828956194221973,
0.03427018225193024,
-0.027484556660056114,
0.029766380786895752,
0.027575943619012833,
-0.04926435276865959,
0.019952287897467613,
0.00869707576930523,
0.00500266719609499,
0.008755999617278576,
0.001129455049522221,
-0.05747828632593155,
-0.010339505039155483,
-0.001946745440363884,
0.032049164175987244,
-0.04927277937531471,
-0.07093220204114914,
0.0023891518358141184,
0.01706361584365368,
-0.015847720205783844,
0.024495432153344154,
-0.003554439637809992,
0.010915273800492287,
-0.028965668752789497,
-0.02463485859334469,
0.010458995588123798,
-0.021961325779557228,
-0.0007548416615463793,
0.005583316553384066,
-0.02654268965125084,
0.00957834254950285,
-0.03400972858071327,
0.031028222292661667,
0.024075333029031754,
-0.012676066718995571,
-0.00689860712736845,
-0.06458453088998795,
-0.010584780015051365,
0.004064866807311773,
0.0720057412981987,
-0.004633671138435602,
-0.018204782158136368,
-0.036265406757593155,
-0.02672402560710907,
-0.0061178142204880714,
0.037503257393836975,
-0.0060497489757835865,
0.025447094812989235,
0.02485879324376583,
0.03865418583154678,
0.004240658134222031,
0.037941865622997284,
-0.018778111785650253,
-0.011061164550483227,
0.07793944329023361,
-0.054129812866449356,
-0.030286166816949844,
-0.02134196273982525,
-0.08641646057367325,
0.01092369295656681,
0.02858997881412506,
0.004358879756182432,
-0.02676246501505375,
0.053324151784181595,
0.014634829945862293,
0.0066193630918860435,
0.05421259626746178,
-0.011007614433765411,
0.011996710672974586,
-0.04173130914568901,
-0.03667452186346054,
-0.09376074373722076,
0.022323256358504295,
0.04879356548190117,
-0.03796527162194252,
-0.006751533597707748,
-0.010686682537198067,
-0.048630744218826294,
0.014551372267305851,
-0.05670365318655968,
-0.02101624384522438,
0.012215904891490936,
-0.02599453367292881,
0.010690411552786827,
0.029482228681445122,
-0.04521842300891876,
0.046227309852838516,
0.020794734358787537,
-0.04701267555356026,
-0.01697930507361889,
-0.025523299351334572,
0.05561702698469162,
0.03756933659315109,
0.02130415290594101,
-0.04483470320701599,
-0.0349111333489418,
0.07615295052528381,
0.009293871000409126,
-0.010310035198926926,
0.04310338571667671,
-0.026262840256094933,
0.04297800734639168,
0.022919723764061928,
-0.001554770045913756,
0.02216224931180477,
0.017209744080901146,
-0.026461847126483917,
-0.07184713333845139,
0.02849804051220417,
0.00821240060031414,
-0.05121494457125664,
-0.03548208251595497,
0.06554583460092545,
0.026409199461340904,
-0.025169312953948975,
-0.04414397478103638,
0.014418870210647583,
-0.03704320266842842,
-0.03264408931136131,
-0.030344495549798012,
0.009843571111559868,
-0.03414618968963623,
0.0575653538107872,
-0.014366978779435158,
0.03752409294247627,
0.07690256834030151,
0.008409754373133183,
-0.0021068244241178036,
0.010012327693402767,
0.07238811999559402,
0.08631408214569092,
-0.0036333741154521704,
0.009920038282871246,
0.04352564737200737,
0.012601736932992935,
-0.04698697850108147,
0.024058546870946884,
-0.014395106583833694,
-0.05036872997879982,
-0.011135650798678398,
0.024538513273000717,
0.050205375999212265,
0.0042478349059820175,
0.07525842636823654,
-0.03735031932592392,
-0.00519029563292861,
-0.005469061899930239,
0.03767440840601921,
0.031246356666088104,
0.002107861917465925,
0.001919519854709506,
0.023588594049215317,
0.00870480202138424,
-0.036872778087854385,
0.008208473213016987,
0.0024808705784380436,
-0.0442953035235405,
0.027248328551650047,
-0.035118550062179565,
0.010885477997362614,
0.018768277019262314,
0.0010675984667614102,
0.0763666108250618,
-0.009820896200835705,
0.008496376685798168,
0.0026155116502195597,
0.030199401080608368,
0.022647272795438766,
0.012165709398686886,
-0.026072489097714424,
-0.015131503343582153,
-0.022985685616731644,
-0.046066246926784515,
-0.01916423626244068,
-0.010057490319013596,
-0.024069974198937416,
0.029788779094815254,
-0.0010522486409172416,
0.017025824636220932,
0.03249266371130943,
-0.0034263567067682743,
-0.04142798110842705,
-0.06368503719568253,
-0.07748576998710632,
-0.019604282453656197,
-0.04706775024533272,
-0.04018622636795044,
0.012586697936058044,
-0.011202510446310043,
-0.03222993016242981,
-0.0028816843405365944,
-0.021501930430531502,
0.0066235680133104324,
0.03322013095021248,
-0.0338314026594162,
-0.0029451660811901093,
0.02734612114727497,
0.01577823981642723,
0.01709199883043766,
0.02816908061504364,
0.07533550262451172,
-0.025234892964363098,
0.0006293400656431913,
-0.02922029048204422,
-0.010765474289655685,
0.03854237124323845,
0.01847069524228573,
0.028755897656083107,
-0.08544124662876129,
0.012272641062736511,
0.018935879692435265,
0.008888490498065948,
-0.04696352779865265,
-0.004586359951645136,
0.03707273676991463,
-0.011090651154518127,
0.06138317286968231,
-0.013536703772842884,
0.01190250925719738,
-0.04056417569518089,
-0.03232959285378456,
-0.02354191429913044,
-0.0014209523797035217,
0.03736653923988342,
0.006338794250041246,
0.0896555706858635,
0.0661764070391655,
-0.007730609271675348,
-0.03645947203040123,
0.01255836896598339,
-0.014294413849711418,
0.007028043735772371,
-0.06001731753349304,
-0.024882499128580093,
-0.05949649587273598,
-0.09009997546672821,
-0.017436431720852852,
0.028478702530264854,
-0.038794469088315964,
-0.031008291989564896,
0.01104345265775919,
0.018020275980234146,
-0.06348727643489838,
-0.005882975645363331,
-0.038521505892276764,
0.033010344952344894,
-0.028133194893598557,
-0.014461252838373184,
-0.011761557310819626,
-0.0009523716289550066,
0.01778392866253853,
-0.012251326814293861,
0.033986806869506836,
-0.031528014689683914,
0.027127692475914955,
-0.012925563380122185,
0.024353154003620148,
0.06519149243831635,
-0.0035277907736599445,
-0.014472289942204952
] | [
-0.06964605301618576,
-0.03092755563557148,
-0.050802793353796005,
-0.03651582822203636,
0.04946637526154518,
-0.08457446843385696,
-0.0006209673592820764,
0.031040316447615623,
0.0026734392158687115,
-0.021724436432123184,
0.017577385529875755,
-0.06114369258284569,
-0.006164024583995342,
-0.018503328785300255,
0.09242446720600128,
-0.001683366484940052,
-0.009746002964675426,
-0.06119349226355553,
-0.03465409204363823,
0.04220784083008766,
0.028287624940276146,
0.000497370318043977,
-0.029972070828080177,
-0.05020274594426155,
-0.013495584949851036,
0.023042380809783936,
0.038727905601263046,
-0.03028840199112892,
-0.01883748546242714,
-0.14376036822795868,
0.0036862024571746588,
-0.044731102883815765,
-0.005320162512362003,
0.007707768119871616,
0.016250263899564743,
0.0151168592274189,
0.0029380444902926683,
-0.004234303254634142,
0.022636162117123604,
0.037530578672885895,
0.030438082292675972,
0.004894378129392862,
-0.056404415518045425,
-0.030342241749167442,
0.027838507667183876,
-0.027971869334578514,
0.0027242060750722885,
0.028338534757494926,
-0.010700286366045475,
0.011814076453447342,
-0.053840529173612595,
0.004111848305910826,
0.032704249024391174,
-0.03332893177866936,
0.011973193846642971,
0.02671452797949314,
0.06513527780771255,
0.09809429943561554,
0.0015614664880558848,
0.03551280498504639,
0.018568048253655434,
-0.025342315435409546,
-0.147028386592865,
0.1155514270067215,
0.029097139835357666,
0.058907683938741684,
-0.03599194437265396,
-0.011798561550676823,
-0.016221296042203903,
0.05228237807750702,
0.010878359898924828,
-0.03236767277121544,
-0.04839421436190605,
0.06306128203868866,
0.0067012193612754345,
0.02748698554933071,
-0.009895458817481995,
0.037055205553770065,
0.048086781054735184,
-0.04226590692996979,
-0.07008952647447586,
-0.03774033114314079,
-0.03799613565206528,
-0.011578382924199104,
-0.04227360710501671,
0.002546856179833412,
0.0017098551616072655,
0.0822259858250618,
0.03797774761915207,
0.045276347547769547,
0.00760593730956316,
-0.020741887390613556,
0.045861851423978806,
-0.0028628758154809475,
-0.11602664738893509,
-0.007651728577911854,
-0.019310571253299713,
0.024582063779234886,
-0.05855323001742363,
0.3925047516822815,
0.011221740394830704,
-0.014813055284321308,
0.03222763538360596,
0.02688508667051792,
0.032317545264959335,
0.0015724522527307272,
0.0014433417236432433,
-0.05188771337270737,
0.02644599787890911,
-0.03264908120036125,
-0.005807903129607439,
0.006326218601316214,
0.024477262049913406,
-0.04259493574500084,
-0.025489989668130875,
0.042889077216386795,
0.0344826877117157,
0.03998608887195587,
-0.020049547776579857,
0.0197688527405262,
-0.024000901728868484,
-0.028100095689296722,
0.03127243369817734,
0.0390474870800972,
0.0028580925427377224,
0.00035754297277890146,
0.02778027579188347,
0.04866505041718483,
0.022555306553840637,
0.04315489903092384,
0.02230558916926384,
-0.05030251294374466,
-0.058136265724897385,
-0.01730872504413128,
0.013258365914225578,
0.034092240035533905,
0.0108755799010396,
-0.03449143469333649,
-0.022802116349339485,
0.037483274936676025,
-0.02267683669924736,
-0.048872824758291245,
-0.002695845440030098,
-0.00017108119209297001,
-0.03273709490895271,
0.10089465230703354,
0.012003251351416111,
0.00037897011497989297,
-0.017939070239663124,
-0.04736349359154701,
-0.021685471758246422,
0.051288407295942307,
0.0014364809030666947,
-0.0432727187871933,
0.012044754810631275,
0.014550445601344109,
0.06420153379440308,
-0.0002544506569392979,
-0.04615769162774086,
-0.023056715726852417,
0.023425685241818428,
-0.05553801730275154,
-0.01556231640279293,
0.10195102542638779,
0.05594932660460472,
-0.13056384027004242,
-0.005582383833825588,
0.002279643202200532,
0.0017077119555324316,
-0.056621141731739044,
-0.009845258668065071,
0.03404279798269272,
-0.00847143679857254,
-0.02034277841448784,
0.01707703247666359,
-0.020663602277636528,
0.01132091972976923,
0.0052657402120530605,
0.013638072647154331,
0.021489286795258522,
-0.011603840626776218,
-0.013622253201901913,
-0.054209329187870026,
0.003519949037581682,
-0.038928691297769547,
-0.06525227427482605,
-0.06986727565526962,
0.015252307057380676,
-0.014086347073316574,
-0.040836915373802185,
-0.06421416252851486,
0.0002500817063264549,
-0.06712145358324051,
0.06357130408287048,
0.04543668031692505,
-0.008669145405292511,
-0.0031129494309425354,
-0.017654048278927803,
0.02531026303768158,
-0.04055524617433548,
0.050889406353235245,
0.04816173017024994,
-0.020446619018912315,
0.02906695008277893,
-0.07070700079202652,
0.0462789312005043,
0.08406637609004974,
-0.043449677526950836,
0.0402117595076561,
0.02044055238366127,
-0.022549830377101898,
0.01210932806134224,
-0.03077998198568821,
0.009106464684009552,
-0.009806165471673012,
-0.014138950034976006,
0.02232314459979534,
0.04106296971440315,
0.034340932965278625,
0.011135113425552845,
-0.04374958947300911,
0.03328434377908707,
0.0061144097708165646,
-0.34311914443969727,
-0.033361632376909256,
-0.01208421215415001,
-0.0010549721773713827,
0.013432336039841175,
-0.03390789404511452,
0.011769527569413185,
-0.02661222591996193,
0.013516928069293499,
0.04119229316711426,
0.13213230669498444,
-0.013380909338593483,
0.02443961426615715,
-0.0858231857419014,
-0.015444396063685417,
-0.00039074421511031687,
-0.057417042553424835,
-0.01872788928449154,
0.014518595300614834,
0.03220922127366066,
-0.016730759292840958,
-0.0195115115493536,
-0.028453737497329712,
-0.02343991957604885,
0.002740591298788786,
-0.01862356811761856,
0.1129399761557579,
0.02226705476641655,
0.07808788865804672,
-0.10385404527187347,
0.046582192182540894,
0.0023280223831534386,
0.048057641834020615,
-0.13110734522342682,
-0.010690653696656227,
-0.032208479940891266,
-0.006960785482078791,
0.0038710981607437134,
0.05127566307783127,
-0.025851910933852196,
-0.05488908290863037,
0.01514564547687769,
-0.044279154390096664,
-0.036715999245643616,
0.01718180440366268,
-0.014999832957983017,
-0.033910445868968964,
-0.04037681967020035,
-0.010402804240584373,
0.07847052067518234,
-0.00600265059620142,
0.0009545356151647866,
0.006916271056979895,
0.0331234447658062,
0.028429286554455757,
-0.007196037098765373,
-0.05069853737950325,
-0.0532555878162384,
0.02575496956706047,
-0.0009298727381974459,
0.0350952185690403,
0.05492192879319191,
0.02892962656915188,
-0.0513690784573555,
0.020303085446357727,
0.0039629568345844746,
-0.02497071959078312,
0.0405157208442688,
0.045431531965732574,
-0.05791844055056572,
-0.05937957763671875,
0.11145853251218796,
0.012716315686702728,
0.027110446244478226,
0.004898358136415482,
0.04004911333322525,
0.002242899499833584,
-0.022986887022852898,
0.030342765152454376,
0.023117154836654663,
0.037067193537950516,
-0.013768644072115421,
0.04815308749675751,
-0.04285645857453346,
-0.00028381485026329756,
0.09015592187643051,
-0.03037104383111,
0.014710483141243458,
0.06902270019054413,
0.0025666169822216034,
-0.01673007756471634,
-0.008618990890681744,
-0.03862567991018295,
-0.048192348331213,
0.06902576982975006,
-0.002663052175194025,
-0.25377675890922546,
0.023599985986948013,
0.017531462013721466,
0.035752858966588974,
-0.012906722724437714,
0.0027734078466892242,
0.05435066670179367,
-0.04907636716961861,
-0.04156986624002457,
0.03648178651928902,
0.03062615357339382,
0.005709294229745865,
-0.011563076637685299,
-0.013822955079376698,
0.033215105533599854,
0.018052155151963234,
0.009753785096108913,
0.012448608875274658,
0.005040939897298813,
0.014027622528374195,
-0.003343772841617465,
-0.019236112013459206,
0.15627677738666534,
0.03072846308350563,
0.01675945334136486,
0.07872413843870163,
-0.020643075928092003,
0.06222542002797127,
0.08844003081321716,
0.029581351205706596,
0.005841614678502083,
0.0105968676507473,
0.012549982406198978,
0.005988673772662878,
0.03171353042125702,
-0.09420310705900192,
0.009759580716490746,
0.0036303987726569176,
0.011328533291816711,
-0.026581723242998123,
-0.046363480389118195,
0.01418469287455082,
-0.0037361234426498413,
0.02338247187435627,
0.06841351836919785,
-0.0042898403480648994,
-0.005613490007817745,
-0.042123738676309586,
-0.02425450086593628,
-0.026674263179302216,
-0.04751525819301605,
-0.06739692389965057,
-0.008506695739924908,
0.013105151243507862,
0.007437146268785,
0.07959459722042084,
0.012280524708330631,
-0.04047422111034393,
-0.05041199550032616,
-0.01873941719532013,
-0.012285398319363594,
-0.026865154504776,
0.06641468405723572,
-0.0029426654800772667,
0.032565779983997345
] | [
-0.01960037648677826,
0.052097756415605545,
0.01008986309170723,
-0.005498651880770922,
0.011733807623386383,
-0.039775699377059937,
-0.00022057820751797408,
-0.0005592177039943635,
0.020484860986471176,
0.013795197941362858,
-0.004411416593939066,
-0.006159853655844927,
0.08009635657072067,
0.016479043290019035,
0.039397045969963074,
-0.054357726126909256,
-0.004051646683365107,
0.01312047429382801,
0.03146642446517944,
-0.011454014107584953,
0.010467177256941795,
0.016722770407795906,
-0.004398430231958628,
-0.038168951869010925,
-0.013669534586369991,
0.029383812099695206,
-0.025846680626273155,
0.03835724666714668,
-0.010674986056983471,
-0.13291771709918976,
-0.014042655937373638,
-0.020012924447655678,
0.00560225872322917,
-0.028700420632958412,
-0.01304658968001604,
0.029413051903247833,
-0.0016835796413943172,
-0.009411442093551159,
-0.02926361933350563,
0.01278859656304121,
0.02479206584393978,
-0.019915539771318436,
-0.011427726596593857,
-0.009925927966833115,
-0.04963277652859688,
-0.020260600373148918,
-0.003218350699171424,
-0.039596885442733765,
-0.041572876274585724,
0.01462213508784771,
-0.01757933758199215,
-0.02548745460808277,
0.030431853607296944,
0.014107640832662582,
-0.05860364809632301,
-0.006502856966108084,
-0.05761048197746277,
0.05614921450614929,
0.028081201016902924,
-0.02365976572036743,
0.049287956207990646,
-0.020745018497109413,
-0.043537456542253494,
-0.022556109353899956,
-0.0010996052296832204,
-0.019187504425644875,
0.016621025279164314,
-0.016920097172260284,
-0.02190767414867878,
0.017484184354543686,
0.01176881417632103,
0.03383449837565422,
-0.04228963702917099,
-0.0001520215009804815,
-0.019916513934731483,
-0.011933958157896996,
0.024849819019436836,
-0.00792605709284544,
0.015438774600625038,
-0.0017478122608736157,
-0.012956584803760052,
-0.001940787653438747,
-0.027351245284080505,
0.024301141500473022,
-0.01643853634595871,
0.039775531738996506,
0.016490032896399498,
0.0036989147774875164,
0.03320061042904854,
0.05551721155643463,
0.0025967119727283716,
0.0019879809115082026,
-0.00021086115157231688,
0.012315270490944386,
-0.09991525858640671,
-0.015058283694088459,
0.006383274681866169,
0.007487029302865267,
-0.032128311693668365,
0.8162854909896851,
0.045069918036460876,
0.03327822685241699,
0.04073544219136238,
0.011280630715191364,
0.02754054218530655,
0.02465750463306904,
-0.02116401679813862,
0.006708652712404728,
0.025869233533740044,
-0.009119008667767048,
-0.0006638836348429322,
0.00977417267858982,
0.00437372038140893,
0.01026039570569992,
0.018761007115244865,
0.05271245911717415,
0.03232202306389809,
0.0030090867076069117,
0.017435239627957344,
0.05028283968567848,
0.0141196483746171,
-0.020993247628211975,
0.008045398630201817,
0.01391868107020855,
-0.006417134776711464,
-0.13002492487430573,
0.01713257096707821,
-7.115803624824869e-33,
0.05830458551645279,
0.015050645917654037,
0.014507773332297802,
0.008615419268608093,
0.032296307384967804,
-0.01172927301377058,
0.013741069473326206,
0.05453484132885933,
-0.0037262223195284605,
-0.06137225031852722,
-0.025758184492588043,
-0.009572668932378292,
0.013514012098312378,
-0.05381135642528534,
0.0043063899502158165,
-0.038038693368434906,
-0.009028119035065174,
0.026360752061009407,
0.011940743774175644,
0.024993885308504105,
0.03396940231323242,
0.028159581124782562,
0.014477853663265705,
-0.014228496700525284,
-0.006026946473866701,
0.0176272913813591,
0.03108094073832035,
0.0176851786673069,
-0.031061511486768723,
-0.029889000579714775,
0.01138631533831358,
-0.02077990025281906,
-0.025875305756926537,
-0.038844142109155655,
0.054445985704660416,
-0.043336257338523865,
-0.02153109759092331,
0.00035461614606902003,
-0.022250166162848473,
-0.0534956157207489,
-0.016648095101118088,
-0.004257743712514639,
-0.009918556548655033,
0.0753733366727829,
-0.056882623583078384,
-0.017568863928318024,
-0.013197731226682663,
-0.006980844307690859,
0.024100081995129585,
0.03704626113176346,
-0.022405611351132393,
-0.014041553251445293,
0.02453296072781086,
-0.03269592300057411,
-0.024415768682956696,
0.027924662455916405,
0.016994280740618706,
0.044122565537691116,
-0.04355771839618683,
0.014333745464682579,
-0.01576242782175541,
-0.03527197241783142,
-0.04030735045671463,
0.03609910607337952,
-0.0021694302558898926,
0.01765860617160797,
-0.0049851275980472565,
0.038325224071741104,
-0.020473821088671684,
-0.021798621863126755,
-0.04843459650874138,
0.003130863420665264,
0.03469212353229523,
0.014657302759587765,
0.01991778239607811,
-0.007100961171090603,
0.006519989110529423,
0.05024830251932144,
0.009088389575481415,
0.015371227636933327,
0.010834134183824062,
-0.019904877990484238,
-0.003932975232601166,
-0.004436429124325514,
-0.027095172554254532,
0.021832963451743126,
0.033735595643520355,
-0.00023782999778632075,
0.03258427232503891,
0.03264550119638443,
0.07478990405797958,
0.028976067900657654,
0.005719570908695459,
-0.010225492529571056,
-0.052100058645009995,
7.663676562488182e-33,
-0.043590445071458817,
-0.01655528135597706,
-0.028233323246240616,
-0.0027045898605138063,
0.014388642273843288,
-0.03365635126829147,
0.028803588822484016,
0.04597819596529007,
-0.05329769849777222,
0.011486230418086052,
-0.03462474048137665,
-0.008125419728457928,
0.019057203084230423,
0.02554911933839321,
0.017353111878037453,
-0.029782164841890335,
0.03476433828473091,
0.003125132294371724,
0.02421398274600506,
-0.007630609441548586,
0.02135246805846691,
-0.025504902005195618,
-0.007177685387432575,
0.022375276312232018,
0.02283676341176033,
0.04021582379937172,
-0.029035842046141624,
0.009545771405100822,
-0.020537083968520164,
-0.02478969655930996,
0.027778923511505127,
0.016967318952083588,
0.021462706848978996,
-0.033003684133291245,
-0.04302035644650459,
-0.019948448985815048,
-0.01470702700316906,
0.01631114073097706,
0.03309062495827675,
-0.03707636520266533,
0.01360969990491867,
-0.07988476008176804,
-0.017516445368528366,
0.047410883009433746,
0.06485389173030853,
-0.0021809078752994537,
-0.01809086464345455,
0.010214854963123798,
-0.021943727508187294,
0.04823767766356468,
-0.040526606142520905,
0.031515926122665405,
-0.0005671250401064754,
0.013251803815364838,
0.02730749361217022,
-0.02937508374452591,
-0.027040163055062294,
0.03840329498052597,
0.009521175175905228,
0.03283907100558281,
0.007735902443528175,
-0.028495995327830315,
-0.012063657864928246,
0.04589816927909851,
-0.007599308621138334,
-0.01238398440182209,
-0.0010950143914669752,
0.007007715757936239,
-0.0008918860112316906,
0.021452786400914192,
-0.021981948986649513,
-0.04171362891793251,
-0.02072325348854065,
-0.006124026607722044,
0.05702325701713562,
-0.04419117048382759,
0.027332060039043427,
-0.02629278600215912,
-0.04457242786884308,
0.01450168527662754,
-0.023629464209079742,
0.020337605848908424,
-0.03612181544303894,
-0.018210584297776222,
0.034081924706697464,
0.00382247450761497,
-0.01554795354604721,
-0.002324621891602874,
-0.035725370049476624,
-0.009089465253055096,
-0.02450365386903286,
0.004054156597703695,
-0.03703421726822853,
0.00008831182640278712,
0.010705414228141308,
-1.2572198393456802e-8,
0.025061678141355515,
0.001831836998462677,
-0.005225298460572958,
0.007177329622209072,
0.035104863345623016,
0.04399091750383377,
-0.02712380141019821,
-0.013140757568180561,
-0.004042507149279118,
0.010874569416046143,
0.002088787266984582,
-0.014534959569573402,
0.02706657163798809,
0.02210148237645626,
0.007048220839351416,
-0.02181321755051613,
0.013444067910313606,
-0.018050599843263626,
0.029564859345555305,
-0.011006508953869343,
0.02069762349128723,
0.02772049978375435,
-0.005831853952258825,
0.011245445348322392,
0.03401784226298332,
0.0060553220100700855,
0.01995755173265934,
-0.024146361276507378,
-0.00847878959029913,
-0.006941175553947687,
-0.053576644510030746,
-0.025532888248562813,
-0.03980634734034538,
-0.012702534906566143,
-0.031593721359968185,
0.03824889659881592,
-0.027345407754182816,
-0.010937271639704704,
0.0018089998047798872,
0.02784551866352558,
-0.01223665289580822,
0.05138016864657402,
-0.021819673478603363,
-0.0038827755488455296,
-0.013749286532402039,
0.028852446004748344,
-0.030672712251544,
0.03982994705438614,
0.01966753415763378,
-0.04134821891784668,
-0.03866508603096008,
-0.030807899311184883,
-0.00011853902105940506,
-0.025227535516023636,
-0.017214488238096237,
0.005521546583622694,
0.023281827569007874,
-0.05039622262120247,
-0.005869774613529444,
0.021502921357750893,
0.05837705731391907,
-0.009634142741560936,
-0.030400777235627174,
-0.0408269464969635
] | jersey-ignoring-ssl-certificate-javax-net-ssl-sslhandshakeexception-java-security-cert-certificateexception | https://markhneedham.com/blog/2014/02/26/jersey-ignoring-ssl-certificate-javax-net-ssl-sslhandshakeexception-java-security-cert-certificateexception |
false | 2014-02-26 07:32:14 | Java 8: Lambda Expressions vs Auto Closeable | [
"java"
] | [
"Java"
] | If you used earlier versions of Neo4j via its Java API with Java 6 you probably have code similar to the following to ensure write operations happen within a transaction:
[source,java]
----
public class StylesOfTx
{
public static void main( String[] args ) throws IOException
{
String path = "/tmp/tx-style-test";
FileUtils.deleteRecursively(new File(path));
GraphDatabaseService db = new GraphDatabaseFactory().newEmbeddedDatabase( path );
Transaction tx = db.beginTx();
try
{
db.createNode();
tx.success();
}
finally
{
tx.close();
}
}
}
----
In Neo4j 2.0 Transaction started extending http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html[AutoCloseable] which meant that you could use 'try with resources' and the 'close' method would be automatically called when the block finished:
[source,java]
----
public class StylesOfTx
{
public static void main( String[] args ) throws IOException
{
String path = "/tmp/tx-style-test";
FileUtils.deleteRecursively(new File(path));
GraphDatabaseService db = new GraphDatabaseFactory().newEmbeddedDatabase( path );
try ( Transaction tx = db.beginTx() )
{
Node node = db.createNode();
tx.success();
}
}
}
----
This works quite well although it's still possible to have transactions hanging around in an application when people don't use this syntax - the old style is still permissible.
In http://pragprog.com/book/vsjava8/functional-programming-in-java[Venkat Subramaniam's Java 8 book] he suggests an alternative approach where we use a lambda based approach:
[source,java]
----
public class StylesOfTx
{
public static void main( String[] args ) throws IOException
{
String path = "/tmp/tx-style-test";
FileUtils.deleteRecursively(new File(path));
GraphDatabaseService db = new GraphDatabaseFactory().newEmbeddedDatabase( path );
Db.withinTransaction(db, neo4jDb -> {
Node node = neo4jDb.createNode();
});
}
static class Db {
public static void withinTransaction(GraphDatabaseService db, Consumer<GraphDatabaseService> fn) {
try ( Transaction tx = db.beginTx() )
{
fn.accept(db);
tx.success();
}
}
}
}
----
The 'withinTransaction' function would actually go on GraphDatabaseService or similar rather than being on that Db class but it was easier to put it on there for this example.
A disadvantage of this style is that you don't have explicit control over the transaction for handling the failure case - it's assumed that if 'tx.success()' isn't called then the transaction failed and it's rolled back. I'm not sure what % of use cases actually need such fine grained control though.
Brian Hurt refers to this as the 'http://www.markhneedham.com/blog/2009/04/04/functional-c-the-hole-in-the-middle-pattern/[hole in the middle pattern]' and I imagine we'll start seeing more code of this ilk once Java 8 is released and becomes more widely used. | null | null | [
0.025600217282772064,
-0.03946515545248985,
-0.006715147756040096,
0.04804820939898491,
0.09089076519012451,
-0.006763005629181862,
0.016971126198768616,
0.027471043169498444,
0.0193023644387722,
-0.021570315584540367,
-0.008326058275997639,
-0.011867270804941654,
-0.07479562610387802,
0.015297702513635159,
-0.003742651082575321,
0.05212341621518135,
0.08252362906932831,
-0.008897893130779266,
0.051766954362392426,
-0.015197236090898514,
-0.011101420037448406,
0.04982851445674896,
0.0035068499855697155,
0.04167158901691437,
0.0473099984228611,
0.008448587730526924,
-0.013235999271273613,
-0.010180404409766197,
-0.053378310054540634,
-0.008571933954954147,
0.06269095093011856,
0.010229951702058315,
-0.0029179099947214127,
0.005819112062454224,
0.013627701438963413,
-0.005540939513593912,
-0.03608090430498123,
-0.003991392906755209,
0.004950410220772028,
-0.00026857759803533554,
-0.07368268072605133,
0.030389660969376564,
0.0005582092562690377,
0.030976995825767517,
-0.03888535127043724,
0.018259791657328606,
-0.03142265975475311,
0.0357147678732872,
-0.014421582221984863,
-0.006397857330739498,
-0.083135686814785,
0.0320495143532753,
-0.028497381135821342,
0.003660821355879307,
0.022433483973145485,
0.04780375212430954,
-0.004028666764497757,
-0.0839569941163063,
0.038117703050374985,
-0.024043912068009377,
0.017779970541596413,
-0.030437661334872246,
-0.01975068636238575,
0.02222641184926033,
0.0028064751531928778,
-0.03178256005048752,
-0.002787569770589471,
0.05670284107327461,
-0.05556148290634155,
-0.009997020475566387,
-0.0021071769297122955,
0.00906336959451437,
-0.02331629768013954,
0.004388846922665834,
0.008219731040298939,
-0.045522864907979965,
0.0012127846712246537,
0.05240345373749733,
0.026017896831035614,
0.06428425014019012,
-0.013363266363739967,
0.01576995477080345,
0.01660723052918911,
0.0007581302197650075,
0.0287611186504364,
-0.03340315818786621,
-0.024414438754320145,
-0.029154988005757332,
-0.0325973741710186,
0.03076884150505066,
-0.005990753415971994,
-0.040375180542469025,
-0.012327712029218674,
0.03027983568608761,
-0.05058525130152702,
0.0010621276451274753,
-0.0028568010311573744,
0.014587746933102608,
0.04765713959932327,
-0.0016485728556290269,
-0.04886813461780548,
-0.03197472542524338,
-0.003643891541287303,
0.021709969267249107,
-0.06344299018383026,
-0.03982621058821678,
-0.03715365752577782,
-0.040537018328905106,
0.01315021887421608,
-0.01636945642530918,
-0.027669282630085945,
0.010703523643314838,
0.0024555912241339684,
0.002314161043614149,
-0.08326393365859985,
0.0971728041768074,
0.014588892459869385,
-0.002627474255859852,
-0.04945264011621475,
0.02531181275844574,
0.054795462638139725,
0.028880683705210686,
0.0202238317579031,
0.08254068344831467,
0.0036719462368637323,
0.03456097096204758,
-0.008844208903610706,
0.04776190221309662,
-0.006394435651600361,
-0.06701495498418808,
-0.0008233494590967894,
0.05697786435484886,
-0.009570757858455181,
0.018160004168748856,
-0.017362594604492188,
-0.009002426639199257,
-0.000043414624087745324,
0.015519828535616398,
0.04413864016532898,
0.023237518966197968,
-0.0007351223612204194,
-0.06143312528729439,
0.019928153604269028,
0.00246073747985065,
0.034114498645067215,
0.0038960708770900965,
-0.021058816462755203,
-0.04395710304379463,
-0.0049591343849897385,
0.030243217945098877,
0.013562964275479317,
0.04124777764081955,
0.06711315363645554,
-0.018244432285428047,
0.02223731018602848,
0.11254540830850601,
0.014939107932150364,
0.0246596559882164,
-0.017275705933570862,
0.022158725187182426,
0.05609961226582527,
0.05278283357620239,
0.026206709444522858,
0.02359672449529171,
0.006642449647188187,
-0.009244701825082302,
-0.006781039293855429,
0.04839116334915161,
-0.016929255798459053,
0.00792261864989996,
-0.03971235454082489,
-0.09106159210205078,
0.03942134976387024,
-0.04991799220442772,
0.002352432580664754,
0.04160596430301666,
0.05255735293030739,
0.007292903959751129,
0.025756342336535454,
0.010606667026877403,
-0.07442527264356613,
0.05154312774538994,
0.027452802285552025,
-0.005074129439890385,
-0.015093776397407055,
0.016047121956944466,
0.06084886193275452,
0.030471082776784897,
-0.024789180606603622,
0.0119258351624012,
-0.06458719819784164,
-0.0798010602593422,
-0.014993705786764622,
-0.005149154923856258,
0.061685960739851,
-0.044026780873537064,
-0.024496277794241905,
0.0431404709815979,
0.018671195954084396,
0.046529389917850494,
0.029769111424684525,
-0.027191314846277237,
-0.0026507065631449223,
-0.05931474640965462,
-0.053177352994680405,
0.043231599032878876,
0.03424973785877228,
-0.04825399070978165,
-0.049303680658340454,
0.015958396717905998,
0.001958441687747836,
0.0007959014619700611,
0.021157583221793175,
-0.0032494422048330307,
0.07188065350055695,
0.03439633548259735,
-0.003126902040094137,
-0.019359741359949112,
0.06631627678871155,
-0.047538403421640396,
0.023385174572467804,
0.01200850773602724,
-0.01870851404964924,
0.0027045579627156258,
0.0018365633441135287,
0.10886875540018082,
0.04161152243614197,
-0.041701532900333405,
-0.06648526340723038,
0.04798401892185211,
0.031159432604908943,
-0.07028471678495407,
0.03291192650794983,
-0.03020150028169155,
0.028030961751937866,
0.003717262763530016,
-0.020947718992829323,
-0.00559128588065505,
0.011515158228576183,
-0.03565625846385956,
0.003817904507741332,
0.07269100844860077,
-0.04280971735715866,
0.06411678344011307,
0.01826312579214573,
-0.012860918417572975,
0.008621728979051113,
-0.04267726466059685,
-0.0414862334728241,
0.025008872151374817,
0.013508019037544727,
-0.005509987939149141,
0.061043962836265564,
-0.03955710306763649,
-0.023280557245016098,
-0.02612941339612007,
-0.0406045988202095,
0.015855740755796432,
0.020442936569452286,
0.04578997194766998,
-0.01314022857695818,
0.02938920445740223,
-0.007150263991206884,
-0.004262722097337246,
-0.0323934443295002,
-0.051232803612947464,
-0.007880428805947304,
-0.008062251843512058,
0.04398718476295471,
0.020763864740729332,
0.001480272738263011,
0.0024533714167773724,
0.038218412548303604,
0.008162366226315498,
-0.0014601481379941106,
-0.01928986981511116,
0.019263500347733498,
0.009336236864328384,
-0.019210852682590485,
-0.03902590274810791,
-0.04880219325423241,
0.05475800111889839,
-0.042407434433698654,
-0.04850613698363304,
0.004443712066859007,
-0.049446363002061844,
0.057501669973134995,
-0.06758112460374832,
-0.044697485864162445,
-0.0014602631563320756,
0.030580701306462288,
0.041755110025405884,
-0.02615370973944664,
-0.008292397484183311,
0.08342041075229645,
0.017861641943454742,
0.010711277835071087,
0.0024198300670832396,
-0.00006163871148601174,
0.05105845630168915,
0.0086155254393816,
0.03028690069913864,
0.04124666005373001,
-0.015119980089366436,
-0.008186540566384792,
-0.01095404289662838,
0.007494955323636532,
-0.003916989546269178,
-0.2596406638622284,
0.038788482546806335,
-0.04420062527060509,
-0.05779768526554108,
0.020680373534560204,
-0.00951679889112711,
0.008621341548860073,
-0.01910124532878399,
-0.020829347893595695,
0.007103632669895887,
-0.02757238782942295,
-0.03967709839344025,
-0.017500264570116997,
0.04440770298242569,
-0.0178682878613472,
0.010386651381850243,
-0.0014033680781722069,
-0.04654189944267273,
-0.01753932051360607,
0.03338109701871872,
-0.03072235733270645,
-0.047786496579647064,
0.013332389295101166,
0.010428479872643948,
0.01857561431825161,
0.039003439247608185,
-0.1020888239145279,
0.041727934032678604,
-0.021327070891857147,
-0.02072613500058651,
0.0029401355423033237,
-0.028293156996369362,
0.00037730977055616677,
-0.02209675870835781,
-0.020310021936893463,
-0.008298712782561779,
0.010624933056533337,
0.023449797183275223,
-0.005958886817097664,
0.01826302334666252,
-0.023151634261012077,
-0.06565281003713608,
-0.04130363464355469,
0.014118488878011703,
0.07737384736537933,
-0.012170800007879734,
-0.064875528216362,
0.021109554916620255,
-0.020739352330565453,
0.08589654415845871,
-0.028729919344186783,
-0.03273295611143112,
-0.009083718061447144,
0.00993300974369049,
-0.02431526593863964,
-0.03200200945138931,
-0.010911298915743828,
-0.021835707128047943,
-0.030540427193045616,
0.003591275541111827,
-0.0011697066947817802,
-0.06360498815774918,
0.022176899015903473,
-0.05932511389255524,
-0.02571173571050167,
-0.04352918639779091,
-0.05320611596107483,
-0.0112387016415596,
0.05818156525492668,
0.034778986126184464,
-0.0029549167957156897,
0.051654618233442307,
-0.0012443497544154525,
-0.11941442638635635,
-0.02274372987449169,
-0.0467374324798584,
-0.007842067629098892,
-0.0318058542907238,
-0.007221501786261797,
0.03904012590646744,
-0.0033348791766911745,
-0.030736971646547318,
0.02165386453270912,
0.012503896839916706,
0.026358479633927345,
0.0007278538541868329,
-0.000048739344492787495,
-0.026195742189884186,
-0.0369720421731472,
0.0011169725330546498,
0.06958765536546707,
-0.0020461364183574915,
-0.012801910750567913,
-0.03270827978849411,
0.0059350826777517796,
0.022702259942889214,
0.014456716366112232,
-0.026020236313343048,
-0.002177310176193714,
0.027150874957442284,
0.061744581907987595,
-0.024128615856170654,
0.03155718371272087,
-0.021859219297766685,
-0.012474671937525272,
-0.03594797104597092,
-0.07725884020328522,
0.03801881894469261,
0.01094798743724823,
0.03194233030080795,
-0.025773443281650543,
0.001398425200022757,
0.026472756639122963,
-0.05220048502087593,
-0.0306670181453228,
-0.02168712578713894,
0.008334641344845295,
0.023178882896900177,
0.028065979480743408,
-0.042739417403936386,
-0.04791517183184624,
0.016810258850455284,
0.03993738815188408,
-0.008998940698802471,
-0.0549916997551918,
-0.04574085772037506,
-0.02644990012049675,
-0.026138031855225563,
-0.00322925066575408,
0.014365578070282936,
-0.0265810489654541,
0.02725381962954998,
0.030742520466446877,
-0.020362304523587227,
0.030003802850842476,
-0.008987163193523884,
-0.043139901012182236,
-0.03759888559579849,
0.0017111370107159019,
-0.03390602767467499,
-0.006944107357412577,
0.010856907814741135,
-0.00030993757536634803,
0.03327619656920433,
0.05453825742006302,
-0.0036170759703963995,
0.05053761973977089,
0.025012793019413948,
0.01982780732214451,
0.02435982972383499,
0.005453834310173988,
-0.05621740221977234,
0.013582970947027206,
-0.02911587990820408,
-0.04028020799160004,
-0.01907726563513279,
0.050857871770858765,
-0.019862405955791473,
-0.0024684749078005552,
-0.04168158397078514,
0.03943216800689697,
-0.05429413169622421,
0.0038001984357833862,
-0.004635352175682783,
-0.024218549951910973,
0.054659560322761536,
-0.01990116573870182,
0.042370427399873734,
-0.047091905027627945,
-0.029305191710591316,
0.00024577020667493343,
-0.014053774066269398,
-0.02955983579158783,
0.0304142776876688,
0.023897182196378708,
0.002258568536490202,
-0.003569395048543811,
0.021892037242650986,
0.020766159519553185,
0.03979439660906792,
-0.01712268777191639,
-0.017285414040088654,
-0.0011554836528375745,
0.004195301793515682,
0.03977499529719353,
0.022289400920271873,
-0.007487821392714977,
0.016748027876019478,
-0.023306457325816154,
0.0018644852098077536,
-0.01983208768069744,
-0.007855070754885674,
-0.021282589063048363,
0.018778709694743156,
-0.026280034333467484,
-0.08949276059865952,
0.0373249389231205,
0.015625588595867157,
0.014551918022334576,
0.0392204113304615,
0.0365920253098011,
0.011007857508957386,
-0.02250870130956173,
0.03928343951702118,
0.05204270780086517,
-0.035054050385951996,
-0.0018293866887688637,
0.007377497386187315,
0.0065640355460345745,
0.005196878220885992,
0.028652718290686607,
-0.043480608612298965,
-0.030093593522906303,
-0.022485923022031784,
0.007158532273024321,
-0.022355929017066956,
-0.022510705515742302,
-0.015297568403184414,
-0.012376382946968079,
0.001006865524686873,
-0.010273946449160576,
0.01074281521141529,
0.0069827246479690075,
-0.018935419619083405,
0.0003022427554242313,
0.02105022221803665,
-0.03818226605653763,
-0.004329843912273645,
0.02771567367017269,
-0.007100960705429316,
0.015135623514652252,
-0.04377719387412071,
0.0036427427548915148,
0.004807980731129646,
-0.01655813492834568,
0.0012335447827354074,
-0.06186084449291229,
0.03926626965403557,
0.024633122608065605,
0.040297143161296844,
-0.005739606451243162,
0.01322718895971775,
-0.026455452665686607,
-0.0071466839872300625,
-0.03742139786481857,
-0.011306545697152615,
-0.01462419331073761,
-0.0050442893989384174,
0.005252212285995483,
0.047013409435749054,
0.010869893245398998,
0.045796386897563934,
0.013083365745842457,
-0.022422729060053825,
0.06955400109291077,
-0.0575668141245842,
-0.04813265800476074,
-0.0043015256524086,
-0.061279237270355225,
0.01996089704334736,
0.014112901873886585,
0.019404364749789238,
-0.0389949195086956,
0.047916702926158905,
0.055384889245033264,
0.02158886007964611,
0.020287660881876945,
-0.008066395297646523,
0.04701407253742218,
-0.03742141276597977,
-0.0010648013558238745,
-0.09496881812810898,
0.0072525800205767155,
0.04205239936709404,
0.010330584831535816,
-0.022391999140381813,
-0.02256331779062748,
-0.03179522603750229,
0.00522918626666069,
-0.05684357509016991,
-0.026203367859125137,
0.046677835285663605,
-0.024192526936531067,
0.02244511991739273,
0.016207581385970116,
-0.06823208928108215,
0.022263402119278908,
0.022462623193860054,
-0.030505172908306122,
-0.05553041771054268,
-0.03845827654004097,
0.04747666418552399,
0.029116129502654076,
0.039748530834913254,
-0.03739771991968155,
-0.003141334978863597,
0.08437886834144592,
0.014364534057676792,
0.03268709033727646,
0.041890595108270645,
-0.01486970204859972,
0.05137583613395691,
0.04940072074532509,
-0.011794348247349262,
0.025431619957089424,
0.01472401898354292,
-0.00836951658129692,
-0.05410866439342499,
0.0266138706356287,
0.015773411840200424,
-0.032892074435949326,
-0.03354688733816147,
0.05967046320438385,
0.008724765852093697,
-0.04202885925769806,
-0.03548217937350273,
0.027377327904105186,
-0.041278135031461716,
-0.01609545387327671,
-0.07172216475009918,
0.03172783926129341,
-0.0532306469976902,
0.059253815561532974,
-0.03100012242794037,
0.0001796139549696818,
0.08973030000925064,
-0.008074282668530941,
0.013005414977669716,
-0.012471846304833889,
0.0778580904006958,
0.07806258648633957,
0.024638887494802475,
0.005974196828901768,
0.05126359686255455,
0.002713897032663226,
-0.033353373408317566,
-0.0249752439558506,
-0.03339589014649391,
-0.011034191586077213,
0.011405020020902157,
0.01382155530154705,
0.067212775349617,
-0.026622852310538292,
0.06148110702633858,
-0.04089514911174774,
-0.011991221457719803,
-0.010700310580432415,
0.0036885514855384827,
0.027501191943883896,
0.021621784195303917,
0.012114861980080605,
0.024251416325569153,
-0.02736862376332283,
-0.023219335824251175,
0.03394174203276634,
-0.029846327379345894,
-0.01748625561594963,
0.024438392370939255,
0.008639535866677761,
-0.0032296599820256233,
0.04392724484205246,
0.04745830222964287,
0.10048387944698334,
-0.02007383294403553,
-0.004548406694084406,
-0.005841325968503952,
0.0019081737846136093,
0.0061044287867844105,
-0.005321586038917303,
-0.009651475585997105,
-0.03018072620034218,
0.004371224902570248,
-0.030264517292380333,
-0.016879798844456673,
-0.017786039039492607,
-0.0334557369351387,
0.025717591866850853,
-0.008694948628544807,
-0.003052626270800829,
0.013756071217358112,
-0.023527761921286583,
-0.062315285205841064,
-0.05849020183086395,
-0.03943692520260811,
-0.03720959275960922,
-0.08592489361763,
0.008282097987830639,
0.00806601345539093,
-0.0033039404079318047,
-0.04534783959388733,
-0.021905241534113884,
-0.018626971170306206,
-0.008917601779103279,
0.04935873672366142,
-0.05288098007440567,
-0.001266458653844893,
0.0031275153160095215,
0.03790346533060074,
0.0037504383362829685,
0.03040270321071148,
0.04873542860150337,
0.0037938395980745554,
0.005334267858415842,
-0.021693048998713493,
0.009418174624443054,
0.052360132336616516,
0.011551386676728725,
0.02508850395679474,
-0.0652126669883728,
0.008176442235708237,
0.02236255258321762,
-0.010947789996862411,
-0.07709101587533951,
-0.005808372516185045,
0.029896797612309456,
-0.010671500116586685,
0.03430701047182083,
-0.004686420783400536,
-0.01514007430523634,
-0.011908718384802341,
0.019041093066334724,
0.0286629106849432,
0.0015304158441722393,
0.044655416160821915,
-0.04179723933339119,
0.07358399778604507,
0.04174675792455673,
-0.03023686818778515,
-0.015309488400816917,
0.002735634334385395,
0.0011140364222228527,
-0.020211348310112953,
-0.022056957706809044,
-0.05919717252254486,
-0.02596556767821312,
-0.07704554498195648,
-0.029670966789126396,
0.006368636153638363,
-0.013694541528820992,
-0.028090978041291237,
0.026603449136018753,
0.07321470230817795,
-0.035562362521886826,
0.03477950021624565,
-0.03546462208032608,
0.03103823773562908,
-0.023303523659706116,
-0.041695211082696915,
-0.0006415786920115352,
0.002080637728795409,
-0.01208512857556343,
0.0017507660668343306,
0.03134629502892494,
-0.04203428700566292,
-0.03490021079778671,
-0.02846628427505493,
0.008404073305428028,
0.016870109364390373,
0.0002653568226378411,
0.002125755650922656
] | [
-0.06394978612661362,
-0.021678535267710686,
-0.028359614312648773,
-0.039265476167201996,
0.05010846257209778,
-0.03295621648430824,
-0.015043864026665688,
0.013172034174203873,
0.0006610371056012809,
-0.04687410593032837,
0.028347073122859,
0.017735173925757408,
-0.028958668932318687,
0.018494147807359695,
0.041692882776260376,
-0.026718590408563614,
-0.02599320001900196,
-0.037641968578100204,
-0.015140574425458908,
0.049999359995126724,
-0.006079449784010649,
-0.03506677225232124,
-0.020140506327152252,
-0.046939071267843246,
0.005079150199890137,
0.055659905076026917,
0.040682341903448105,
-0.03451845794916153,
-0.026786252856254578,
-0.20962010324001312,
0.007830244489014149,
0.004783964715898037,
-0.006636487785726786,
-0.04014625772833824,
0.007242049090564251,
0.03657875955104828,
0.012040113098919392,
-0.014420073479413986,
-0.020668575540184975,
0.026916446164250374,
0.006128056440502405,
0.029348749667406082,
-0.06589768826961517,
0.006939227692782879,
0.0428713895380497,
0.001993797719478607,
0.014161436818540096,
-0.020579010248184204,
-0.004458622541278601,
0.0349162332713604,
-0.03687368705868721,
-0.008452736772596836,
0.027298925444483757,
-0.010914773680269718,
0.022097937762737274,
0.02539638988673687,
0.054575368762016296,
0.07300208508968353,
0.009789854288101196,
0.040317509323358536,
0.012130029499530792,
0.01153811439871788,
-0.10833554714918137,
0.036703530699014664,
0.007258037105202675,
0.010150771588087082,
-0.037855926901102066,
0.02802169881761074,
-0.00797966681420803,
0.08149810135364532,
0.048392154276371,
-0.003071565879508853,
-0.06181305646896362,
0.08857595175504684,
-0.0016636118525639176,
0.004115511197596788,
0.03763623908162117,
-0.010025751776993275,
0.019848918542265892,
-0.04466145485639572,
-0.08408909291028976,
-0.029877396300435066,
-0.007824639789760113,
-0.009089446626603603,
-0.062433283776044846,
0.04747569561004639,
-0.008943186141550541,
0.05926481634378433,
0.015342338010668755,
0.040262479335069656,
0.03388332203030586,
0.02850959077477455,
0.07473873347043991,
-0.0036229088436812162,
-0.07922613620758057,
0.013299684971570969,
0.004338954109698534,
0.021180693060159683,
0.040301039814949036,
0.40427055954933167,
0.03323137015104294,
-0.0038777354639023542,
-0.005287637002766132,
0.04054313898086548,
0.006050109397619963,
-0.022641900926828384,
0.012447665445506573,
-0.06323745846748352,
0.00897770281881094,
-0.018678871914744377,
-0.0079654511064291,
-0.03081902302801609,
0.04122074693441391,
-0.09545035660266876,
-0.022787313908338547,
0.02647746168076992,
0.029870545491576195,
0.0070113614201545715,
-0.03613192215561867,
0.02004062570631504,
-0.02325146645307541,
0.009324397891759872,
0.005911251530051231,
0.016565831378102303,
0.02749449387192726,
-0.033752940595149994,
-0.009686000645160675,
0.046011604368686676,
0.014478189870715141,
0.0316704586148262,
0.049688685685396194,
0.0028161003720015287,
-0.07820194214582443,
0.0052208988927304745,
-0.014585229568183422,
0.005839706398546696,
-0.008298746310174465,
-0.04376288503408432,
-0.02939942292869091,
-0.016563396900892258,
-0.013259932398796082,
-0.013547888956964016,
-0.0069978125393390656,
-0.016486044973134995,
-0.04996396228671074,
0.0991869792342186,
0.025692960247397423,
0.0016372839454561472,
-0.021288374438881874,
-0.04852673411369324,
-0.015156730078160763,
0.04536717012524605,
-0.01587820053100586,
-0.05928720161318779,
-0.02283340133726597,
0.02962086908519268,
0.0729820504784584,
-0.016248736530542374,
-0.0768972635269165,
0.010357272811233997,
-0.020166227594017982,
-0.003952354192733765,
-0.04456683620810509,
0.1123131588101387,
0.020114950835704803,
-0.07524773478507996,
-0.017112936824560165,
0.0329587385058403,
0.025597138330340385,
-0.0579117089509964,
-0.005685106385499239,
0.009610133245587349,
-0.06114838272333145,
-0.04217441380023956,
0.04171443358063698,
-0.02083205245435238,
-0.0026090543251484632,
-0.057972993701696396,
0.026811854913830757,
0.01657889224588871,
0.02066619135439396,
0.0017258265288546681,
-0.029828650876879692,
0.002558466512709856,
-0.037225931882858276,
-0.0746220052242279,
-0.08838046342134476,
0.03521936386823654,
-0.007230742368847132,
-0.013274404220283031,
-0.02330399490892887,
-0.00017748439859133214,
-0.03781202808022499,
0.09482893347740173,
-0.059935521334409714,
-0.03665495663881302,
-0.020457234233617783,
-0.01210884191095829,
-0.029431212693452835,
-0.0249609537422657,
0.08022646605968475,
0.03970582038164139,
0.0016016446752473712,
0.04671258106827736,
-0.055997584015131,
0.019662676379084587,
0.08235122263431549,
-0.039777711033821106,
0.048944972455501556,
0.02433599717915058,
-0.054584357887506485,
0.03457758203148842,
-0.006760042160749435,
0.050043538212776184,
-0.04311954975128174,
-0.02260243147611618,
0.022488607093691826,
0.036909256130456924,
0.02393275313079357,
0.022854017093777657,
-0.03488314896821976,
-0.004445238038897514,
0.0006925541092641652,
-0.3501327633857727,
-0.03409641608595848,
-0.013655012473464012,
-0.01637483760714531,
0.049501683562994,
-0.041656024754047394,
0.009716887027025223,
-0.048467982560396194,
-0.020521797239780426,
-0.008227772079408169,
0.07998871803283691,
-0.015664130449295044,
-0.02046302706003189,
-0.10669159889221191,
0.02801595628261566,
0.028787342831492424,
-0.02391757257282734,
-0.013606546446681023,
-0.03233734890818596,
0.005968392826616764,
-0.030078789219260216,
-0.05423757806420326,
-0.029013216495513916,
-0.07030755281448364,
0.009631333872675896,
0.010711165145039558,
0.10715953260660172,
-0.039515089243650436,
0.05477810278534889,
-0.029454287141561508,
0.040650203824043274,
-0.008660458028316498,
-0.046928729861974716,
-0.09517694264650345,
0.008885093033313751,
-0.027758128941059113,
-0.005559932440519333,
0.042160890996456146,
-0.001032332074828446,
-0.005725088529288769,
-0.02130070887506008,
-0.029399940744042397,
-0.05897485092282295,
-0.022248461842536926,
0.026550309732556343,
-0.0033067616168409586,
-0.049123119562864304,
-0.018920687958598137,
0.037922702729701996,
0.04687134176492691,
-0.008985881693661213,
0.02351978048682213,
0.005656535737216473,
0.0533313974738121,
0.03472861275076866,
-0.04194235801696777,
-0.0344846174120903,
-0.018805287778377533,
0.05784878507256508,
0.020800556987524033,
0.008021882735192776,
0.05198737606406212,
0.03332218527793884,
-0.02909049019217491,
0.024780919775366783,
-0.006216665264219046,
-0.003190703457221389,
-0.016043417155742645,
0.027692774310708046,
-0.06495468318462372,
-0.02795328013598919,
0.14077526330947876,
-0.00559891015291214,
-0.0157331395894289,
0.055614784359931946,
0.04682551696896553,
-0.011442875489592552,
0.009603752754628658,
0.017916986718773842,
0.010885339230298996,
0.017401963472366333,
-0.005758172366768122,
0.09395063668489456,
-0.006639513652771711,
-0.04232945665717125,
0.10273727029561996,
0.03589491918683052,
-0.049851395189762115,
0.0693989098072052,
-0.017041264101862907,
-0.03688129782676697,
0.006708411034196615,
-0.03990814462304115,
-0.03715071082115173,
0.05013532191514969,
-0.03789898380637169,
-0.25988876819610596,
0.020597122609615326,
0.018772469833493233,
0.055374763906002045,
-0.016882123425602913,
0.04663332179188728,
0.03246614336967468,
-0.016005458310246468,
-0.014892924576997757,
0.027997750788927078,
0.037227779626846313,
0.037560250610113144,
0.007444174028933048,
-0.011455418542027473,
0.019891954958438873,
-0.006012198980897665,
0.02778957411646843,
0.019973933696746826,
0.049917515367269516,
0.012714007869362831,
0.020159218460321426,
-0.017186470329761505,
0.19153988361358643,
0.022259853780269623,
0.015336601063609123,
0.06271859258413315,
0.0019191610626876354,
0.035599060356616974,
0.09969072043895721,
0.006387296598404646,
-0.01106613501906395,
0.06111135706305504,
0.006402225233614445,
0.02106068655848503,
0.01348874531686306,
-0.05208352953195572,
-0.007940421812236309,
0.04936818405985832,
0.020954281091690063,
-0.02898632362484932,
-0.019375793635845184,
0.02888546697795391,
-0.024601511657238007,
0.007662852294743061,
0.05165194347500801,
0.006483599077910185,
-0.01728898473083973,
-0.029228903353214264,
-0.06048163026571274,
-0.007830759510397911,
-0.025459563359618187,
-0.028698675334453583,
-0.027773723006248474,
-0.033819276839494705,
-0.006252134684473276,
0.04254157096147537,
-0.010248946025967598,
-0.030228568241000175,
-0.0037937024608254433,
0.010923730209469795,
0.00537658529356122,
-0.02176000364124775,
0.07680251449346542,
0.008426462300121784,
-0.00537972804158926
] | [
0.013395478017628193,
0.03373817726969719,
-0.009070095606148243,
0.023237189278006554,
-0.038340527564287186,
0.010395834222435951,
0.019793299958109856,
0.005045261699706316,
-0.011932837776839733,
0.027279900386929512,
-0.021409643813967705,
0.008553549647331238,
0.026514217257499695,
-0.04444316402077675,
0.0244266577064991,
0.0038918836507946253,
0.03009362518787384,
-0.008507555350661278,
0.025373665615916252,
0.01780092343688011,
-0.034654319286346436,
-0.0016221307450905442,
0.04863864928483963,
-0.025447655469179153,
0.010449706576764584,
0.02872726321220398,
-0.0023739077150821686,
-0.033693283796310425,
0.012166148982942104,
-0.13116654753684998,
0.005992049351334572,
-0.012848800979554653,
-0.04090511426329613,
0.027245210483670235,
-0.041486479341983795,
-0.0055885883048176765,
0.041476618498563766,
0.022461194545030594,
0.013258050195872784,
0.025871828198432922,
-0.016626408323645592,
-0.016813913360238075,
-0.049379006028175354,
0.0251503586769104,
0.01394643820822239,
-0.024869510903954506,
-0.022741641849279404,
-0.027426859363913536,
0.00902839470654726,
0.0051368833519518375,
-0.03766540065407753,
-0.027969393879175186,
0.001554572954773903,
-0.021191077306866646,
0.04691656678915024,
0.0034635369665920734,
-0.006220830604434013,
0.012250714004039764,
0.018048640340566635,
0.044596459716558456,
0.04310514032840729,
-0.019414333626627922,
-0.014439266175031662,
-0.02166161499917507,
-0.02525750920176506,
-0.006534424610435963,
0.0237217266112566,
0.0046609314158558846,
0.003981811460107565,
0.0021777262445539236,
-0.004787943791598082,
0.028192393481731415,
-0.09896710515022278,
0.026543250307440758,
-0.08875637501478195,
0.044245023280382156,
0.05761701241135597,
-0.0377262644469738,
-0.04451039433479309,
-0.01729980669915676,
-0.03647729381918907,
-0.006351630203425884,
-0.0013153107138350606,
-0.005971341393887997,
-0.04627471789717674,
0.04575924947857857,
0.006332103628665209,
-0.023227136582136154,
0.010984660126268864,
0.032494280487298965,
-0.01708020642399788,
0.05888926610350609,
-0.014048866927623749,
-0.05160942301154137,
-0.08241154253482819,
-0.006608191411942244,
-0.0165410153567791,
-0.009585133753716946,
0.021396426483988762,
0.7997205257415771,
0.024048900231719017,
0.023809796199202538,
0.01650414988398552,
0.027771364897489548,
-0.006360291037708521,
0.014761256985366344,
0.01921800710260868,
0.008844472467899323,
-0.031922150403261185,
-0.0019233247730880976,
-0.003925247583538294,
0.004916722420603037,
0.0030007476452738047,
0.024367889389395714,
0.0022413795813918114,
0.029492482542991638,
0.03363310545682907,
-0.011872437782585621,
0.03392323479056358,
0.060809697955846786,
0.03119213692843914,
0.0027378317900002003,
-0.026418060064315796,
-0.00773239228874445,
-0.022645078599452972,
-0.1498381644487381,
-0.010787350125610828,
-7.078816695076246e-33,
0.02492082677781582,
-0.01596800424158573,
0.0467522032558918,
0.032148219645023346,
0.04754814878106117,
0.007818512618541718,
-0.020074930042028427,
-0.022239066660404205,
0.00451421644538641,
-0.0403175875544548,
-0.022637229412794113,
-0.04215949773788452,
0.00033917734981514513,
-0.026266349479556084,
0.0040374696254730225,
0.008627942763268948,
0.029287423938512802,
0.011545505374670029,
0.01074181031435728,
-0.010838335379958153,
0.014808928593993187,
0.0748758316040039,
0.031034456565976143,
0.03707465901970863,
-0.030600665137171745,
0.05539434403181076,
0.012146168388426304,
-0.00697161303833127,
-0.0038598307874053717,
-0.04478389024734497,
-0.029447687789797783,
-0.04249095544219017,
0.003901091171428561,
0.004039686638861895,
-0.0012800170807167888,
-0.04506039619445801,
-0.02942671999335289,
0.012271152809262276,
-0.017909012734889984,
-0.06387468427419662,
-0.07547182589769363,
0.00604221923276782,
-0.025338968262076378,
-0.008117699064314365,
-0.05973873659968376,
0.014520998112857342,
-0.0043721129186451435,
0.0007854353752918541,
-0.012188399210572243,
0.006374366581439972,
0.003716991050168872,
0.04579159617424011,
0.014759564772248268,
0.036953918635845184,
-0.02754957601428032,
0.001654788269661367,
0.023474430665373802,
0.0015037074917927384,
-0.00831474456936121,
0.026477951556444168,
0.029107753187417984,
-0.012338855303823948,
-0.03128189593553543,
0.02007889188826084,
-0.0029198674019426107,
0.020668596029281616,
-0.005323301535099745,
-0.008874569088220596,
0.0008833088213577867,
-0.001100956811569631,
-0.032399266958236694,
0.049347665160894394,
0.0010318950517103076,
0.0029664149042218924,
0.030924536287784576,
-0.038814280182123184,
-0.023529168218374252,
-0.045700449496507645,
-0.004647144582122564,
0.020710937678813934,
-0.039988771080970764,
-0.03628258779644966,
0.04786361753940582,
-0.004990189336240292,
0.02450644038617611,
0.001374593353830278,
0.06057244539260864,
0.014753029681742191,
0.03988209366798401,
0.03010844998061657,
0.0459706075489521,
0.03251977264881134,
-0.02556438371539116,
-0.02549346536397934,
0.010947792790830135,
6.400939224999772e-33,
-0.005429635290056467,
0.012626062147319317,
-0.018117010593414307,
0.013579513877630234,
0.019640369340777397,
0.030455071479082108,
-0.023236269131302834,
0.026076549664139748,
-0.05756688490509987,
0.02986706979572773,
-0.02567579410970211,
-0.004794377367943525,
-0.008643660694360733,
0.010425809770822525,
0.05598815530538559,
-0.03772032633423805,
0.01935114711523056,
-0.055372949689626694,
-0.025675375014543533,
-0.0026693507097661495,
0.0017621873412281275,
0.007543294690549374,
0.016273651272058487,
0.030659060925245285,
0.049106284976005554,
0.01093289814889431,
-0.047206226736307144,
-0.0004596007929649204,
-0.04974264279007912,
0.023352598771452904,
0.004642045125365257,
-0.04725790396332741,
0.009848468005657196,
-0.026640664786100388,
0.02559712715446949,
-0.0173544492572546,
-0.03415905684232712,
0.04120374470949173,
0.029025183990597725,
0.04537155106663704,
-0.005030254367738962,
-0.01105839665979147,
-0.015996849164366722,
0.06315873563289642,
-0.0012258465867489576,
0.00658921804279089,
-0.02816329523921013,
0.04103285074234009,
-0.010053725913167,
-0.0014552349457517266,
0.009789862670004368,
0.016687117516994476,
0.024531710892915726,
0.008389297872781754,
0.024775657802820206,
-0.005279489327222109,
0.00358667504042387,
0.04317442327737808,
-0.009086567908525467,
0.03384481370449066,
-0.026421276852488518,
-0.015552523545920849,
-0.0025814741384238005,
0.00391770014539361,
-0.006555025931447744,
-0.02242523990571499,
-0.0017028572037816048,
-0.005953827872872353,
-0.030118819326162338,
-0.0028179131913930178,
0.011033628135919571,
0.003244077553972602,
-0.033145904541015625,
0.035683874040842056,
0.07911146432161331,
-0.025530213490128517,
-0.02707362174987793,
-0.0094864871352911,
-0.04951420798897743,
0.03432564064860344,
0.005781102925539017,
0.04802288860082626,
-0.010537656955420971,
-0.009487693198025227,
0.02096427045762539,
-0.008307062089443207,
-0.03688184171915054,
0.007713256869465113,
-0.03173329308629036,
-0.006894460879266262,
-0.011095703579485416,
-0.003704857314005494,
-0.04394500330090523,
0.00832871999591589,
-0.04575217142701149,
-1.234529634075443e-8,
-0.06648753583431244,
-0.022193066775798798,
-0.004061227198690176,
0.029391715303063393,
0.024754315614700317,
0.015828536823391914,
-0.002621792024001479,
0.02145630307495594,
0.02751118689775467,
0.02586703933775425,
-0.011443127878010273,
0.004281965084373951,
0.014407893642783165,
-0.003450709627941251,
-0.006236066576093435,
-0.0688718929886818,
0.02018478326499462,
-0.030384304001927376,
0.002606613328680396,
-0.010070367716252804,
0.010138302110135555,
0.006145411171019077,
-0.03877421095967293,
0.02110559493303299,
0.0028223798144608736,
-0.028325680643320084,
0.06936866044998169,
-0.05512821674346924,
-0.015582739375531673,
0.0012054069666191936,
0.0003832358052022755,
-0.021608224138617516,
-0.004213548731058836,
-0.008427652530372143,
-0.05868924781680107,
0.001923542469739914,
0.06007056310772896,
0.06437508761882782,
0.0186482984572649,
0.015864845365285873,
-0.04601573944091797,
-0.014860237017273903,
-0.0205124169588089,
-0.015502667054533958,
-0.03913562744855881,
-0.010040993802249432,
-0.05107858031988144,
0.02483491227030754,
0.037477411329746246,
-0.03472176939249039,
-0.023668726906180382,
0.0033589887898415327,
0.016897279769182205,
0.0074881562031805515,
0.00972427986562252,
-0.01871093176305294,
0.004376672208309174,
0.008729145862162113,
0.009992278181016445,
-0.030197476968169212,
0.05403998866677284,
-0.04556743800640106,
-0.016619833186268806,
-0.04456724226474762
] | java-8-lambda-expressions-vs-auto-closeable | https://markhneedham.com/blog/2014/02/26/java-8-lambda-expressions-vs-auto-closeable |
false | 2014-02-23 14:43:47 | Java 8: Sorting values in collections | [
"java"
] | [
"Java"
] | Having realised that Java 8 is http://openjdk.java.net/projects/jdk8/[due for its GA release within the next few weeks] I thought it was about time I had a look at it and over the last week have been reading http://pragprog.com/book/vsjava8/functional-programming-in-java[Venkat Subramaniam's book].
I'm up to chapter 3 which covers sorting a collection of people. The Person class is defined roughly like so:
[source,java]
----
static class Person {
private String name;
private int age;
Person(String name, int age) {
this.name = name;
this.age = age;
}
@Override
public String toString() {
return String.format("Person{name='%s', age=%d}", name, age);
}
}
----
In the first example we take a list of people and then sort them in ascending age order:
[source,java]
----
List<Person> people = Arrays.asList(new Person("Paul", 24), new Person("Mark", 30), new Person("Will", 28));
people.stream().sorted((p1, p2) -> p1.age - p2.age).forEach(System.out::println);
----
[source,text]
----
Person{name='Paul', age=24}
Person{name='Will', age=28}
Person{name='Mark', age=30}
----
If we were to write a function to do the same thing in Java 7 it'd look like this:
[source,java]
----
Collections.sort(people, new Comparator<Person>() {
@Override
public int compare(Person o1, Person o2) {
return o1.age - o2.age;
}
});
for (Person person : people) {
System.out.println(person);
}
----
Java 8 has reduced the amount of code we have to write although it's still more complicated than what we could do in Ruby:
[source,ruby]
----
> people = [ {:name => "Paul", :age => 24}, {:name => "Mark", :age => 30}, {:name => "Will", :age => 28}]
> people.sort_by { |p| p[:age] }
=> [{:name=>"Paul", :age=>24}, {:name=>"Will", :age=>28}, {:name=>"Mark", :age=>30}]
----
A few pages later Venkat shows how you can get close to this by using the +++<cite>+++http://download.java.net/jdk8/docs/api/java/util/Comparator.html#comparing-java.util.function.Function-[Comparator#comparing]+++</cite>+++ function:
[source,java]
----
Function<Person, Integer> byAge = p -> p.age ;
people.stream().sorted(comparing(byAge)).forEach(System.out::println);
----
I thought I could make this simpler by inlining the 'byAge' lambda like this:
[source,java]
----
people.stream().sorted(comparing(p -> p.age)).forEach(System.out::println);
----
This seems to compile and run correctly although IntelliJ 13.0 suggests there is a 'http://youtrack.jetbrains.com/issue/IDEA-101788[cyclic inference]' problem. IntelliJ is happy if we explicitly cast the lambda like this:
[source,java]
----
people.stream().sorted(comparing((Function<Person, Integer>) p -> p.age)).forEach(System.out::println);
----
IntelliJ also seems happy if we explicitly type 'p' in the lambda, so I think I'll go with that for the moment:
[source,java]
----
people.stream().sorted(comparing((Person p) -> p.age)).forEach(System.out::println);
---- | null | null | [
-0.025851963087916374,
-0.0008995381649583578,
-0.029536617919802666,
0.008658180944621563,
0.06048149988055229,
-0.01964317448437214,
0.032319240272045135,
0.0182114876806736,
-0.010851769708096981,
-0.022674599662423134,
0.0010100238723680377,
-0.00692769093438983,
-0.07991410046815872,
0.025953782722353935,
-0.01652684435248375,
0.0701684057712555,
0.060163021087646484,
-0.029717976227402687,
0.02622164785861969,
-0.009481552056968212,
-0.006346006877720356,
0.07206922769546509,
-0.01298446860164404,
0.02546880953013897,
0.044355861842632294,
-0.002892835298553109,
0.006129774264991283,
0.018814073875546455,
-0.055653467774391174,
0.004830222576856613,
0.011689756065607071,
-0.008758421055972576,
0.005091898143291473,
0.014123605564236641,
-0.024851838126778603,
-0.027038592845201492,
-0.010291718877851963,
0.012511230073869228,
0.006963788997381926,
0.06003152206540108,
-0.05621635168790817,
0.011784343980252743,
0.00002698484604479745,
0.017340656369924545,
-0.05613440275192261,
0.008969075046479702,
-0.02309289574623108,
0.0009354770882055163,
0.003996795043349266,
0.0059147784486413,
-0.055822502821683884,
-0.003966735675930977,
-0.01929611526429653,
-0.011701991781592369,
0.003158917650580406,
0.031793203204870224,
0.01661898009479046,
-0.06249268725514412,
0.019031699746847153,
-0.04231497272849083,
0.03683417662978172,
-0.023326443508267403,
0.012384369969367981,
0.014770736917853355,
-0.007064030505716801,
-0.017518730834126472,
-0.03359442949295044,
0.03540121391415596,
-0.05114169418811798,
-0.00911012478172779,
-0.02677503600716591,
-0.005637266207486391,
-0.014623409137129784,
-0.027313414961099625,
0.0040918197482824326,
-0.028375932946801186,
-0.009536493569612503,
0.07486694306135178,
-0.01179184578359127,
0.027723917737603188,
-0.02446257323026657,
-0.008842318318784237,
0.018430260941386223,
0.03220551460981369,
0.03699725493788719,
-0.025278199464082718,
-0.05046916753053665,
-0.016280556097626686,
-0.03867204114794731,
0.04693081974983215,
0.011407043784856796,
-0.042843420058488846,
-0.008028535172343254,
0.04034726694226265,
-0.04330622777342796,
0.005829264409840107,
-0.0002546709729358554,
-0.026637570932507515,
-0.025003980845212936,
-0.0060928757302463055,
-0.020663661882281303,
-0.022232452407479286,
0.04678574576973915,
0.01697694882750511,
-0.0582641065120697,
-0.009768377058207989,
0.0022991846781224012,
0.0017810567514970899,
0.014649446122348309,
0.016317376866936684,
-0.023855093866586685,
0.04537676274776459,
-0.02717563323676586,
0.01095542311668396,
-0.0700235366821289,
0.07700532674789429,
-0.013788602314889431,
-0.021425537765026093,
0.014676867052912712,
0.0397326797246933,
0.03163953870534897,
0.03611793369054794,
0.013678327202796936,
0.09107023477554321,
-0.017256401479244232,
0.027890492230653763,
0.013360866345465183,
0.06167946755886078,
0.0002256102452520281,
-0.04733317345380783,
-0.01224722620099783,
0.035294704139232635,
0.015215343795716763,
0.013001716695725918,
-0.02465083636343479,
-0.017851095646619797,
-0.036310430616140366,
0.01570502482354641,
0.059953272342681885,
0.04845881089568138,
0.005654270760715008,
-0.050843119621276855,
0.029397165402770042,
-0.0279168039560318,
0.007306690793484449,
-0.0006161184282973409,
-0.01655099354684353,
-0.022323433309793472,
-0.004038398619741201,
0.03343404456973076,
-0.01190437376499176,
0.02780619077384472,
0.051611945033073425,
-0.023609191179275513,
0.010935417376458645,
0.08921810984611511,
0.004954149946570396,
0.009136282838881016,
0.012305733747780323,
0.013256215490400791,
0.018579896539449692,
0.0402592197060585,
-0.0032375690061599016,
0.024806268513202667,
0.01864038221538067,
0.008624020963907242,
0.006241119001060724,
0.06533688306808472,
-0.023976538330316544,
-0.020865147933363914,
-0.05399361997842789,
-0.04875935614109039,
0.02558819204568863,
-0.028997741639614105,
-0.025755634531378746,
-0.0040449961088597775,
0.06439817696809769,
0.010126776061952114,
0.05590648576617241,
-0.014436444267630577,
-0.07060903310775757,
0.00832289271056652,
0.010174422524869442,
0.02424836903810501,
0.028514249250292778,
0.004928185138851404,
0.039311546832323074,
0.031251534819602966,
0.005979260895401239,
0.0044981129467487335,
-0.05353627726435661,
-0.07236688584089279,
-0.0143602779135108,
-0.008058050647377968,
0.05560918524861336,
-0.02327936887741089,
-0.013989323750138283,
0.06396874785423279,
0.03479642793536186,
0.04482388496398926,
0.04099163040518761,
-0.006612885277718306,
-0.016558634117245674,
-0.017008166760206223,
-0.03829280287027359,
0.03973282873630524,
0.0592704601585865,
-0.003853084286674857,
-0.028840085491538048,
0.0354979932308197,
0.013054922223091125,
-0.005085896234959364,
0.008360573090612888,
-0.006850447040051222,
0.040854908525943756,
0.053115323185920715,
0.034251630306243896,
-0.046109624207019806,
0.06791537255048752,
-0.0789279118180275,
0.01766182668507099,
0.022556859999895096,
-0.005968612153083086,
-0.03887784853577614,
0.007197530008852482,
0.12484955042600632,
0.05564768612384796,
-0.027228642255067825,
-0.05071227252483368,
0.03557111322879791,
0.02227221243083477,
-0.04815312847495079,
0.029544973745942116,
0.022708581760525703,
0.018793651834130287,
-0.000023519634851254523,
-0.033351775258779526,
-0.030742470175027847,
0.018167465925216675,
-0.022736672312021255,
-0.015199869871139526,
0.08908257633447647,
-0.013523319736123085,
0.04446690157055855,
0.03320372849702835,
-0.03391808643937111,
0.020026927813887596,
-0.04107687622308731,
-0.04500681534409523,
0.03045494481921196,
0.026922475546598434,
-0.016489911824464798,
0.06531468033790588,
-0.02842879854142666,
-0.050630126148462296,
-0.016606101766228676,
-0.03728044405579567,
0.010265632532536983,
0.03798338398337364,
0.0337342768907547,
0.000049223883252125233,
0.031220817938447,
-0.02099355310201645,
-0.019342945888638496,
-0.034523189067840576,
-0.04970023036003113,
-0.0022092873696237803,
-0.014747165143489838,
0.004365858621895313,
0.026472406461834908,
0.005008026026189327,
0.005580760072916746,
0.037396833300590515,
0.010602254420518875,
-0.02171609364449978,
-0.012185833416879177,
0.03831712156534195,
-0.03565606847405434,
-0.0064633749425411224,
-0.023711610585451126,
-0.03103846311569214,
0.04795686528086662,
-0.022795841097831726,
-0.039048824459314346,
-0.01288184430450201,
-0.08615253865718842,
0.06957481801509857,
-0.062019072473049164,
-0.048594504594802856,
0.024392487481236458,
0.03813151270151138,
0.0446956530213356,
-0.021026838570833206,
0.019657179713249207,
0.10132540762424469,
0.0008962982683442533,
0.005649294704198837,
0.019738344475626945,
-0.009877528063952923,
0.03576036915183067,
-0.012853451073169708,
0.02199944481253624,
0.04663059860467911,
-0.004114779643714428,
-0.026646826416254044,
-0.03295493870973587,
0.01406004186719656,
-0.008679885417222977,
-0.25544968247413635,
0.024080196395516396,
-0.05216989666223526,
-0.05017273500561714,
0.014243432320654392,
-0.0010659361723810434,
0.011399814859032631,
-0.050027456134557724,
-0.0028042644262313843,
0.05563991516828537,
-0.030918613076210022,
-0.025529960170388222,
-0.014615211635828018,
0.06525398790836334,
-0.023040741682052612,
0.014191577211022377,
-0.02645779401063919,
-0.0402892604470253,
-0.02916749194264412,
0.0471959188580513,
0.00669799093157053,
-0.06983502954244614,
-0.012421444058418274,
0.058962464332580566,
0.03531238064169884,
0.0600077249109745,
-0.0660618245601654,
0.012949153780937195,
-0.03211463242769241,
-0.01043452974408865,
-0.0013470707926899195,
-0.026949314400553703,
0.02433234266936779,
-0.035497430711984634,
-0.010717356577515602,
-0.04176991060376167,
-0.001174969831481576,
0.025778878480196,
-0.0021323717664927244,
0.042476192116737366,
-0.054651107639074326,
-0.07452262192964554,
-0.03886120393872261,
-0.0017067871522158384,
0.040313247591257095,
-0.01436602883040905,
-0.051276348531246185,
-0.002445215592160821,
-0.012810733169317245,
0.07080018520355225,
-0.0356229767203331,
-0.04778088256716728,
0.011882353574037552,
0.03523591160774231,
-0.00896452460438013,
-0.015364200808107853,
0.01687704585492611,
0.007940377108752728,
-0.03305340185761452,
-0.03927965462207794,
0.0005258496385067701,
-0.03582090884447098,
0.0027093524113297462,
-0.05440491810441017,
-0.023660175502300262,
-0.06002306565642357,
-0.06456495821475983,
0.02901189774274826,
0.08719555288553238,
0.01633894257247448,
-0.027959290891885757,
-0.018257996067404747,
-0.004019442945718765,
-0.11467109620571136,
-0.01697952300310135,
-0.021515587344765663,
-0.029664266854524612,
-0.012239745818078518,
-0.018898669630289078,
0.037895429879426956,
-0.035485103726387024,
-0.044075556099414825,
0.019056513905525208,
0.02405473031103611,
0.0320550799369812,
-0.03201672434806824,
-0.004704254679381847,
-0.009047174826264381,
0.015458440408110619,
-0.017219796776771545,
0.09193088859319687,
0.00502649275586009,
-0.02936662547290325,
-0.048475880175828934,
0.044133804738521576,
0.05277330055832863,
0.04411708563566208,
0.006368954665958881,
0.008989131078124046,
0.03536554425954819,
0.035177577286958694,
-0.03915923833847046,
-0.005991114769130945,
-0.006310092750936747,
-0.01156215276569128,
-0.019720107316970825,
-0.07462865114212036,
0.0388115830719471,
0.026658635586500168,
0.006504668854176998,
0.019804202020168304,
-0.06049325689673424,
-0.0058467513881623745,
-0.044961560517549515,
-0.030093032866716385,
-0.052942026406526566,
-0.004376436583697796,
0.05647711828351021,
0.010618863627314568,
0.01331067644059658,
-0.05049319937825203,
0.014470158144831657,
0.0045706420205533504,
-0.002797931432723999,
-0.06747227907180786,
-0.04858727753162384,
-0.03688313812017441,
-0.0462317168712616,
0.01135967019945383,
0.010689232498407364,
-0.030341381207108498,
0.03065393678843975,
0.006567779462784529,
-0.038276296108961105,
0.0007913344306871295,
-0.024197086691856384,
-0.0033853070344775915,
-0.04514221101999283,
-0.01434160117059946,
-0.0193233173340559,
0.01537405513226986,
0.0035173273645341396,
0.029699837788939476,
0.0020071000326424837,
0.018094830214977264,
0.0003991988196503371,
0.047084033489227295,
0.003730322467163205,
0.0024022276047617197,
-0.014337077736854553,
0.006244218908250332,
-0.04279044643044472,
0.01863250322639942,
-0.028103601187467575,
-0.05792376026511192,
-0.005973662715405226,
0.027853889390826225,
-0.0058789425529539585,
-0.07607706636190414,
-0.014348430559039116,
0.04052373021841049,
-0.056956008076667786,
-0.023174552246928215,
-0.03298327699303627,
-0.012412622570991516,
0.06283384561538696,
0.002427933271974325,
0.049592990428209305,
-0.06059543788433075,
-0.02472594566643238,
0.0005477603408508003,
-0.0071157352067530155,
-0.0023139999248087406,
0.016010968014597893,
0.024088775739073753,
-0.016582630574703217,
0.01742183417081833,
0.02007058635354042,
0.026437098160386086,
0.0279687512665987,
0.0006307492731139064,
-0.025206847116351128,
-0.023760030046105385,
-0.00018600912881083786,
0.036837853491306305,
0.03186316788196564,
-0.008571011014282703,
-0.010923846624791622,
-0.051799625158309937,
-0.03819100558757782,
-0.027204763144254684,
-0.016374850645661354,
-0.020642580464482307,
0.03412600979208946,
-0.036731451749801636,
-0.07965881377458572,
0.013899698853492737,
0.021105602383613586,
0.0035540282260626554,
-0.0008250786922872066,
-0.002906770445406437,
-0.006907009053975344,
-0.012788794934749603,
0.02696753293275833,
0.08171534538269043,
-0.057337526232004166,
0.030739611014723778,
-0.014555315487086773,
0.019411232322454453,
0.018245114013552666,
0.009967389516532421,
-0.04239308834075928,
0.008639118634164333,
-0.04620397835969925,
-0.0056845941580832005,
-0.011582992970943451,
-0.04942745342850685,
-0.031549032777547836,
-0.008127887733280659,
-0.032887380570173264,
-0.014691474847495556,
-0.008319572545588017,
-0.010915861465036869,
-0.017525169998407364,
-0.013640756718814373,
0.01209277380257845,
-0.02936503477394581,
-0.0016691667260602117,
0.021549783647060394,
-0.03006630949676037,
0.022054126486182213,
-0.01344006136059761,
0.012802285142242908,
0.02971915528178215,
-0.021629972383379936,
-0.01978321559727192,
-0.03610019013285637,
0.011552655138075352,
0.04467611759901047,
0.055851101875305176,
0.03421405702829361,
-0.007299321703612804,
-0.020519288256764412,
-0.003133995458483696,
-0.03852136433124542,
0.009575164876878262,
-0.0070668114349246025,
-0.03424222022294998,
0.00020690372912213206,
0.040515538305044174,
0.009278911165893078,
0.03278131037950516,
0.018612073734402657,
-0.004086015745997429,
0.08126804977655411,
-0.04704747721552849,
-0.05557474121451378,
0.007985977455973625,
-0.062022238969802856,
0.012669763527810574,
-0.00022611119493376464,
0.021873343735933304,
-0.033889759331941605,
0.029024075716733932,
0.06975677609443665,
0.018213866278529167,
0.024409061297774315,
-0.02248270995914936,
0.05189257487654686,
-0.04878440499305725,
-0.0002687882224563509,
-0.08790577203035355,
-0.01050873938947916,
0.05047249794006348,
0.037144552916288376,
-0.02421678602695465,
-0.04956866428256035,
-0.013738521374762058,
0.011928792111575603,
-0.06628687679767609,
-0.00005361719740903936,
0.029660657048225403,
-0.014381853863596916,
-0.029755981639027596,
0.026644941419363022,
-0.050430778414011,
0.04034733027219772,
0.007097618654370308,
-0.05449627339839935,
-0.020462308079004288,
-0.01933102495968342,
0.03542890027165413,
0.026781251654028893,
0.044268153607845306,
-0.018735093995928764,
0.02550225518643856,
0.08222457021474838,
0.0350278839468956,
0.017819112166762352,
0.035934992134571075,
-0.02016317844390869,
0.04934686794877052,
0.04973543435335159,
-0.0017243917100131512,
-0.005757721606642008,
0.022185444831848145,
-0.005992855876684189,
-0.057527754455804825,
-0.007715465035289526,
0.03313677757978439,
-0.056799039244651794,
-0.03744525834918022,
0.08411676436662674,
0.020045684650540352,
-0.033498723059892654,
-0.022180065512657166,
0.03394616022706032,
-0.054888900369405746,
0.012738926336169243,
-0.061567146331071854,
0.013456268236041069,
-0.05904055014252663,
0.06664048135280609,
-0.0009844442829489708,
0.007317634765058756,
0.07609797269105911,
-0.002214619657024741,
-0.004006154369562864,
-0.01099827978760004,
0.10039110481739044,
0.09226846694946289,
0.05839007720351219,
0.021400071680545807,
0.06309748440980911,
0.01131436973810196,
-0.03637705370783806,
0.0013890884583815932,
-0.02336646057665348,
-0.01016551349312067,
0.017774811014533043,
0.02241806499660015,
0.069374218583107,
-0.010565641336143017,
0.06128770485520363,
-0.02860378287732601,
0.0005291077541187406,
0.008556260727345943,
0.033850401639938354,
0.01796160265803337,
0.022516150027513504,
0.02503625862300396,
0.05528583750128746,
-0.022423723712563515,
-0.025289040058851242,
0.01352469902485609,
0.01667190156877041,
-0.03042718395590782,
0.0021902802400290966,
0.006350348703563213,
0.007052384316921234,
0.018860114738345146,
0.012267247773706913,
0.06443769484758377,
-0.0061769038438797,
-0.009877537377178669,
-0.028136296197772026,
0.0080763790756464,
-0.0013141355011612177,
-0.0319226048886776,
-0.01321377046406269,
-0.028862740844488144,
-0.009391956962645054,
0.01203230768442154,
-0.005465932190418243,
0.0029155390802770853,
-0.026466671377420425,
0.04913618415594101,
-0.027277713641524315,
0.02831553854048252,
0.027859479188919067,
0.013521469198167324,
-0.06071577966213226,
-0.046648625284433365,
-0.03708776459097862,
-0.02474745735526085,
-0.04886048287153244,
-0.00880469661206007,
0.028978439047932625,
-0.012639693915843964,
-0.02006220631301403,
-0.008704413659870625,
-0.006198323797434568,
0.01294731069356203,
0.03795826807618141,
-0.06641511619091034,
-0.025185536593198776,
0.016892708837985992,
0.027789216488599777,
0.06713167577981949,
0.0321570560336113,
0.03903351351618767,
-0.03402169048786163,
0.0011956398375332355,
-0.03332758694887161,
-0.03726012259721756,
0.06833117455244064,
0.017620069906115532,
-0.006793478038161993,
-0.08324354141950607,
0.016624631360173225,
0.02440217323601246,
-0.042216185480356216,
-0.0626976415514946,
0.0010894923470914364,
0.015903174877166748,
0.018165752291679382,
0.047393668442964554,
0.004759598523378372,
-0.017408328130841255,
-0.02995155192911625,
-0.032967641949653625,
-0.0016019470058381557,
0.014487577602267265,
0.032702840864658356,
-0.025476036593317986,
0.10358583182096481,
0.037164583802223206,
-0.008146715350449085,
-0.03615472838282585,
-0.008188455365598202,
-0.028445011004805565,
-0.01039930060505867,
-0.05831856653094292,
-0.04073027893900871,
-0.026384808123111725,
-0.05551943928003311,
0.020927555859088898,
0.015053034760057926,
-0.01986721344292164,
-0.035820458084344864,
-0.010766756720840931,
0.06391997635364532,
-0.008034855127334595,
0.04533756524324417,
-0.03791893273591995,
0.027063678950071335,
-0.041042640805244446,
-0.025307761505246162,
-0.00996305514127016,
0.008726800791919231,
-0.02721157670021057,
0.006795964669436216,
0.002504759468138218,
-0.002074608113616705,
0.005369887687265873,
-0.018451565876603127,
0.03834613412618637,
0.0326678603887558,
0.01217793021351099,
-0.01589631289243698
] | [
-0.09591127187013626,
-0.014983833767473698,
-0.04794791713356972,
-0.04763076826930046,
0.03213915228843689,
-0.029843389987945557,
-0.009598921053111553,
0.00784117728471756,
0.013573597185313702,
-0.008000830188393593,
-0.0034566870890557766,
-0.03448949754238129,
-0.0079448027536273,
0.021193189546465874,
0.08241324871778488,
-0.001073477091267705,
0.0005156047991476953,
-0.04190255329012871,
-0.042089562863111496,
0.010904455557465553,
0.06458161771297455,
0.00007661047129658982,
-0.052097976207733154,
-0.06652414798736572,
0.010160847567021847,
0.07102810591459274,
0.016558842733502388,
-0.04573814943432808,
0.00831170566380024,
-0.18204009532928467,
0.008338527753949165,
-0.01661914773285389,
0.0731167197227478,
-0.03442054241895676,
-0.028468240052461624,
0.044810157269239426,
0.020959733054041862,
0.03690497577190399,
-0.024487096816301346,
0.04751771688461304,
0.018636366352438927,
0.046181775629520416,
-0.06879165023565292,
-0.05154971405863762,
0.009634536691009998,
0.011442911811172962,
-0.002091329311951995,
-0.01487177237868309,
0.001306032994762063,
0.012157789431512356,
-0.09420378506183624,
-0.0025951468851417303,
0.02487756870687008,
-0.0037032985128462315,
0.008113512769341469,
0.0047989203594625,
0.060752905905246735,
0.060458362102508545,
0.01144096627831459,
0.02720934897661209,
0.00001133189562096959,
-0.04899531975388527,
-0.10241134464740753,
0.08618173003196716,
0.008522390387952328,
0.023206239566206932,
0.004644626285880804,
-0.036413948982954025,
-0.01373815443366766,
0.06455840915441513,
0.022264741361141205,
0.009562934748828411,
0.009674465283751488,
0.08079228550195694,
-0.014157590456306934,
-0.03500216826796532,
0.002554845530539751,
-0.0019152844324707985,
0.03438560664653778,
-0.027135470882058144,
-0.09350895136594772,
-0.03547022119164467,
-0.0026115134824067354,
-0.012145440094172955,
-0.03174306079745293,
0.036911074072122574,
-0.018298320472240448,
0.03504738584160805,
0.00010602686234051362,
0.03654913976788521,
0.033370938152074814,
0.0134660005569458,
0.030984051525592804,
0.002282793866470456,
-0.06616800278425217,
-0.006615434307605028,
-0.031822022050619125,
-0.00007586121500935405,
-0.02852657623589039,
0.4331930875778198,
-0.017500771209597588,
-0.018127335235476494,
0.07612678408622742,
0.015818534418940544,
-0.002897050231695175,
0.013044125400483608,
-0.01095661986619234,
-0.07531573623418808,
0.016375567764043808,
-0.046417031437158585,
-0.02775469422340393,
-0.014019244350492954,
0.06831713020801544,
-0.011681395582854748,
-0.004893317352980375,
0.017868492752313614,
0.06961452960968018,
0.02856232225894928,
-0.0061487131752073765,
0.023544183000922203,
0.015019006095826626,
-0.005699150264263153,
-0.015482475981116295,
0.007011893205344677,
0.02637699618935585,
-0.04183635860681534,
-0.00010726770415203646,
0.034265149384737015,
0.03689076378941536,
0.0023066666908562183,
0.0415150448679924,
-0.06359919905662537,
-0.07636184990406036,
-0.018470365554094315,
-0.006262993440032005,
0.02703414112329483,
0.04255623742938042,
-0.022316139191389084,
0.006778738461434841,
-0.027284711599349976,
0.003907572012394667,
-0.053504981100559235,
0.006188266444951296,
-0.016095707193017006,
-0.06611070781946182,
0.1292184591293335,
-0.007212175987660885,
-0.010397716425359249,
0.01930934004485607,
-0.014619258232414722,
-0.023622801527380943,
0.0399329736828804,
0.015181324444711208,
-0.06550344824790955,
0.0012154430150985718,
0.029702195897698402,
0.08171873539686203,
-0.008250249549746513,
-0.058137793093919754,
-0.03206130862236023,
-0.0005161741282790899,
-0.009922362864017487,
-0.04437556862831116,
0.034370727837085724,
0.059289172291755676,
-0.06793923676013947,
-0.017727075144648552,
0.023198993876576424,
0.026221992447972298,
-0.054627642035484314,
0.0036215248983353376,
0.04231191426515579,
-0.028278864920139313,
0.037930332124233246,
0.07751481235027313,
-0.013112748041749,
0.014878653921186924,
0.01749447174370289,
0.04242965579032898,
0.02472332864999771,
0.011052208952605724,
0.009531390853226185,
-0.06626956909894943,
0.002532630693167448,
-0.019421080127358437,
-0.0891108587384224,
-0.06495141983032227,
0.005020898301154375,
0.005972227081656456,
-0.0111607126891613,
-0.014004583470523357,
-0.013781770132482052,
-0.07095901668071747,
0.06944198161363602,
-0.010609951801598072,
-0.030522726476192474,
0.012890144251286983,
0.00014028584701009095,
-0.011631688103079796,
-0.03625645488500595,
0.0011660144664347172,
0.04722150042653084,
-0.005468200892210007,
0.03804529458284378,
-0.058083128184080124,
0.017504720017313957,
0.055285438895225525,
-0.05654430389404297,
0.0722593441605568,
0.016953924670815468,
-0.05364345759153366,
-0.025786349549889565,
-0.005912662949413061,
0.03320332616567612,
0.0009288120199926198,
-0.020644014701247215,
-0.0010478548938408494,
0.02636948600411415,
0.04282285273075104,
-0.011449763551354408,
-0.03165308013558388,
-0.042361751198768616,
0.013078427873551846,
-0.33687666058540344,
-0.020229531452059746,
0.01983666606247425,
-0.025219518691301346,
0.003355408553034067,
-0.031650517135858536,
0.016811206936836243,
-0.060029223561286926,
-0.0047632609494030476,
-0.008210757747292519,
0.07021592557430267,
-0.04150746390223503,
-0.0058868699707090855,
-0.04429766908288002,
-0.03528749570250511,
0.03070884197950363,
-0.0528683215379715,
-0.025324303656816483,
-0.010433188639581203,
0.024454167112708092,
0.018038256093859673,
0.014281660318374634,
-0.003019042545929551,
-0.05558045953512192,
-0.006399600300937891,
-0.07328327745199203,
0.11214073747396469,
-0.0021478745620697737,
0.06255043298006058,
-0.07417882978916168,
0.05470927432179451,
0.009958337992429733,
-0.008042817935347557,
-0.07625424116849899,
0.007065899204462767,
-0.032160691916942596,
-0.07041396200656891,
-0.02720765396952629,
0.006703972816467285,
-0.002848089439794421,
-0.059074074029922485,
-0.002400907687842846,
-0.044278763234615326,
-0.021964361891150475,
-0.021729683503508568,
0.0012495385017246008,
-0.01155355479568243,
-0.07521268725395203,
0.03387262299656868,
0.07264262437820435,
-0.005736480467021465,
-0.03484036400914192,
0.03427385166287422,
0.02996217831969261,
0.0068398830480873585,
-0.05106264352798462,
-0.04399649053812027,
0.009669222868978977,
0.018302932381629944,
0.005704358220100403,
0.04054592177271843,
0.07719337940216064,
0.0009173303260467947,
-0.02537510357797146,
-0.012861901894211769,
0.007843093946576118,
-0.018686098977923393,
-0.0046524181962013245,
0.023164823651313782,
-0.06703474372625351,
-0.05470224469900131,
0.08340190351009369,
-0.010278448462486267,
-0.020171787589788437,
0.015059374272823334,
0.051192086189985275,
-0.003104634117335081,
-0.007753320969641209,
0.050084300339221954,
0.015983659774065018,
0.018320444971323013,
0.003762116888538003,
0.04063290357589722,
-0.009497463703155518,
-0.006653145421296358,
0.04157337173819542,
0.011669517494738102,
-0.0020754358265548944,
0.015078559517860413,
-0.0025032602716237307,
-0.01862681843340397,
0.0034600754734128714,
-0.015513251535594463,
-0.05259469896554947,
0.06237470731139183,
-0.02453405037522316,
-0.2795789837837219,
0.04947647452354431,
0.016699185594916344,
0.05248793587088585,
0.008490661159157753,
0.03959616273641586,
0.016808748245239258,
-0.026660969480872154,
0.02663571760058403,
0.016173940151929855,
0.054006561636924744,
0.023379117250442505,
0.016058092936873436,
-0.020411163568496704,
0.03343137353658676,
-0.00262573454529047,
0.013323233462870121,
0.0116671621799469,
0.05336618050932884,
-0.008553501218557358,
0.03361767157912254,
0.002382810227572918,
0.15797868371009827,
-0.028321104124188423,
0.05333492159843445,
0.03111782670021057,
0.01752336695790291,
0.01548056397587061,
0.07741353660821915,
0.011155855841934681,
0.005695062689483166,
-0.012082457542419434,
0.12798365950584412,
0.02200181782245636,
0.017280444502830505,
-0.0783504843711853,
0.0010811995016410947,
0.018853971734642982,
-0.009247916750609875,
-0.0013523820089176297,
-0.009503782726824284,
0.007197765167802572,
-0.052221618592739105,
0.01988123543560505,
0.09304641932249069,
0.03448881208896637,
-0.009274985641241074,
-0.015344423241913319,
-0.04057746008038521,
-0.021991413086652756,
-0.017769234254956245,
-0.04752233251929283,
-0.005781319923698902,
0.02239876426756382,
0.008861090987920761,
0.05842429772019386,
0.007814993150532246,
-0.030392419546842575,
-0.04061000421643257,
0.006981877610087395,
0.0027380899991840124,
0.001541206263937056,
0.10648772865533829,
0.047136396169662476,
-0.009221151471138
] | [
-0.018530750647187233,
0.04694196209311485,
-0.012677169404923916,
0.020742464810609818,
-0.01487865298986435,
0.017774317413568497,
-0.004828307777643204,
0.04458360746502876,
-0.04149482026696205,
-0.0020338466856628656,
-0.009636960923671722,
0.024232910946011543,
0.013121861964464188,
-0.03486232832074165,
0.017514221370220184,
-0.02899581380188465,
0.005041601601988077,
0.03414566442370415,
0.012962539680302143,
-0.030948689207434654,
-0.008595126681029797,
0.03675167262554169,
0.058037109673023224,
-0.027080506086349487,
-0.003170146606862545,
0.02959064207971096,
0.0069817653857171535,
-0.019040469080209732,
-0.0041270130313932896,
-0.12653924524784088,
-0.003239658195525408,
-0.009527965448796749,
-0.015977254137396812,
-0.0122376699000597,
-0.054263193160295486,
0.003390458645299077,
-0.00794474221765995,
0.05143590271472931,
0.01804164983332157,
0.010760913603007793,
-0.035549625754356384,
0.00442075077444315,
-0.0533636249601841,
-0.01841726340353489,
0.008803167380392551,
-0.02617189660668373,
-0.027177399024367332,
-0.013028539717197418,
-0.019412925466895103,
-0.015420199371874332,
-0.06888335198163986,
-0.019216064363718033,
0.005260638426989317,
-0.008804354816675186,
0.03315351530909538,
-0.024912497028708458,
-0.022318629547953606,
-0.03552432358264923,
-0.03382730484008789,
-0.03385043516755104,
-0.013557251542806625,
-0.011264988221228123,
-0.024851851165294647,
-0.024378055706620216,
0.011639687232673168,
-0.0659528523683548,
0.04603694751858711,
0.01970619708299637,
0.012469634413719177,
-0.013153194449841976,
-0.024425290524959564,
0.04679814353585243,
-0.0053872521966695786,
-0.004507854115217924,
-0.03967712074518204,
-0.005559292621910572,
0.022303245961666107,
-0.00481575820595026,
0.04705044627189636,
-0.011993408203125,
-0.017122089862823486,
-0.025426102802157402,
-0.0021259947679936886,
0.01065499521791935,
-0.02535073645412922,
-0.0037717267405241728,
0.009482461959123611,
0.030285470187664032,
0.0010015286970883608,
0.04752636328339577,
-0.04420360177755356,
0.023085683584213257,
0.033875592052936554,
0.005026856437325478,
-0.10319767892360687,
0.02250741235911846,
-0.029844053089618683,
-0.009503751061856747,
-0.00814789067953825,
0.8333043456077576,
-0.028605150058865547,
0.035591140389442444,
0.04472710192203522,
0.02954317070543766,
0.01675347052514553,
-0.007506369613111019,
-0.032085735350847244,
-0.0013004401698708534,
0.02304297313094139,
-0.02934047393500805,
0.029264310374855995,
-0.011954005807638168,
0.019172340631484985,
0.00010407167428638786,
0.02890092507004738,
0.039748694747686386,
0.05481487885117531,
0.032856255769729614,
0.0436587817966938,
0.02403131313621998,
0.01967228576540947,
-0.003932510036975145,
0.00417602714151144,
-0.013991838321089745,
0.012190628796815872,
-0.12058798968791962,
-0.000844017427880317,
-7.37468348039043e-33,
0.04499306157231331,
-0.02495863474905491,
-0.004582576919347048,
0.015490439720451832,
-0.01860862970352173,
0.013964985497295856,
-0.02106301113963127,
-0.004221068229526281,
0.023428132757544518,
-0.04032233729958534,
0.005407930351793766,
-0.004551517311483622,
0.002357372548431158,
-0.03313608095049858,
0.005551612935960293,
-0.01662426069378853,
0.016200298443436623,
0.03894040361046791,
-0.020555537194013596,
0.0031980318017303944,
0.008255010470747948,
-0.015929285436868668,
0.0216941200196743,
-0.004507946781814098,
-0.00014586547331418842,
0.025506123900413513,
0.03765060752630234,
-0.00007345272024394944,
-0.011278060264885426,
-0.04895279183983803,
0.02340099588036537,
0.004555622115731239,
-0.007310748565942049,
-0.006700028199702501,
0.05487043038010597,
-0.06641123443841934,
-0.010603554546833038,
-0.004898419138044119,
-0.025204233825206757,
-0.05232040211558342,
-0.05213005840778351,
-0.01806708425283432,
-0.002385856816545129,
0.019371632486581802,
-0.0019527497934177518,
-0.03091312386095524,
0.000650160713121295,
0.032850392162799835,
-0.005253074690699577,
0.06510967016220093,
0.005362151190638542,
0.03582539036870003,
0.0057011814787983894,
0.016120875254273415,
-0.026859527453780174,
0.02209821343421936,
0.014812976121902466,
0.015818873420357704,
-0.02760673686861992,
0.04298625886440277,
0.0032966663129627705,
0.025706756860017776,
0.02117186039686203,
0.003215661272406578,
0.00573499221354723,
-0.005046882666647434,
0.0006348354509100318,
-0.025869198143482208,
0.04397798329591751,
0.044425688683986664,
-0.05051545798778534,
0.027478082105517387,
-0.013967907987535,
0.019885273650288582,
-0.01453219261020422,
-0.0445997454226017,
0.002804454416036606,
-0.03230184689164162,
-0.002480469411239028,
0.016244051977992058,
0.03836141154170036,
-0.015508586540818214,
-0.006738865748047829,
-0.006733151618391275,
0.00921127013862133,
-0.0030757002532482147,
0.014820370823144913,
-0.02134416624903679,
0.015413729473948479,
0.0006712708272971213,
0.0544978566467762,
0.03327162563800812,
-0.008341040462255478,
-0.008152302354574203,
0.017439374700188637,
6.65134964376766e-33,
-0.00018070009537041187,
-0.005934348329901695,
-0.01023923885077238,
0.001111382502131164,
0.05373981595039368,
-0.04114082455635071,
-0.003693235572427511,
0.014035903848707676,
-0.04026411846280098,
0.008662721142172813,
-0.0631253570318222,
-0.0009022976737469435,
0.002689965767785907,
0.011655651964247227,
0.08533207327127457,
-0.025158172473311424,
0.021499017253518105,
-0.013520613312721252,
0.010559136979281902,
-0.020330315455794334,
-0.01670403964817524,
0.016352364793419838,
0.0381016731262207,
0.013010040856897831,
0.042309924960136414,
-0.004418911878019571,
-0.0271998792886734,
-0.005846209824085236,
-0.015835344791412354,
0.014455815777182579,
0.0628572478890419,
-0.012860656715929508,
-0.009379367344081402,
-0.048799507319927216,
-0.02938099391758442,
-0.013053244911134243,
-0.0049699475057423115,
-0.014553380198776722,
0.03955663740634918,
0.0033488054759800434,
0.011898676864802837,
-0.03585046902298927,
0.0012316529173403978,
0.023072050884366035,
-0.006536327768117189,
0.029778821393847466,
0.0031764789018779993,
0.022574404254555702,
-0.004061531741172075,
-0.0036674931179732084,
0.01797218807041645,
0.011863181367516518,
-0.013018887490034103,
-0.010495810769498348,
0.034679390490055084,
-0.017656752839684486,
-0.03604763746261597,
-0.0033601452596485615,
0.003986127208918333,
0.04599696770310402,
0.0009326228755526245,
-0.039837852120399475,
0.014027495868504047,
0.03697070851922035,
-0.025556843727827072,
-0.027038509026169777,
0.001150396652519703,
-0.01676160655915737,
-0.019881078973412514,
0.0016891401028260589,
-0.01674667000770569,
-0.038359545171260834,
-0.023286888375878334,
0.03196395933628082,
0.04223816469311714,
-0.03499404713511467,
-0.031847234815359116,
0.05227711796760559,
-0.016627855598926544,
0.007713115308433771,
0.026319196447730064,
0.008909580297768116,
-0.01716618984937668,
0.0017659324221313,
0.03144407644867897,
-0.01377867255359888,
-0.014396843500435352,
-0.011205596849322319,
-0.01064541470259428,
-0.018819693475961685,
0.010017451830208302,
-0.013379029929637909,
-0.007259367499500513,
0.0055023739114403725,
-0.018114442005753517,
-1.2585015696231494e-8,
0.006114634685218334,
-0.0015806218143552542,
-0.028186693787574768,
0.014140511862933636,
0.06330665946006775,
0.003724513342604041,
-0.02697117067873478,
-0.020529603585600853,
-0.015653232112526894,
0.013395387679338455,
0.03592805564403534,
0.0389588288962841,
0.04030196741223335,
0.043873462826013565,
0.02120514027774334,
-0.05911087989807129,
-0.004528082441538572,
-0.007276470307260752,
0.0004086397821083665,
0.027917196974158287,
0.04086156561970711,
0.0005871304892934859,
-0.018888890743255615,
0.01632743328809738,
-0.0022842292673885822,
-0.022702598944306374,
0.04494572803378105,
-0.04618652164936066,
0.02761220373213291,
-0.011282142251729965,
0.03503455966711044,
-0.010825850069522858,
0.012471916154026985,
-0.005589660257101059,
-0.017057431861758232,
-0.03485589474439621,
-0.02184361219406128,
0.029462624341249466,
0.010178761556744576,
0.029901694506406784,
-0.017334774136543274,
0.0032025687396526337,
-0.0023050294257700443,
-0.007826474495232105,
-0.0073562441393733025,
-0.029367821291089058,
-0.01233881525695324,
-0.007298082113265991,
-0.019628435373306274,
-0.04093242436647415,
-0.040770046412944794,
0.010106729343533516,
0.0239761583507061,
-0.00814406294375658,
0.030782043933868408,
-0.012303564697504044,
0.020732935518026352,
-0.03268902003765106,
-0.005690266843885183,
-0.0025078649632632732,
0.04832473769783974,
-0.05029814690351486,
-0.036552123725414276,
-0.05794674903154373
] | java-8-sorting-values-in-collections | https://markhneedham.com/blog/2014/02/23/java-8-sorting-values-in-collections |
false | 2014-02-23 19:16:27 | Java 8: Group by with collections | [
"java"
] | [
"Java"
] | In my continued reading of Venkat Subramaniam's 'http://pragprog.com/book/vsjava8/functional-programming-in-java[Functional Programming in Java]' I've reached the part of the book where the +++<cite>+++http://download.java.net/jdk8/docs/api/java/util/stream/Stream.html#collect-java.util.stream.Collector-[Stream#collect]+++</cite>+++ function is introduced.
We want to take a collection of people, group them by age and return a map of (age \-> people's names) for which this comes in handy.
To refresh, this is what the Person class looks like:
[source,java]
----
static class Person {
private String name;
private int age;
Person(String name, int age) {
this.name = name;
this.age = age;
}
@Override
public String toString() {
return String.format("Person{name='%s', age=%d}", name, age);
}
}
----
And we can write the following code in Java 8 to get a map of people's names grouped by age:
[source,java]
----
Stream<Person> people = Stream.of(new Person("Paul", 24), new Person("Mark", 30), new Person("Will", 28));
Map<Integer, List<String>> peopleByAge = people
.collect(groupingBy(p -> p.age, mapping((Person p) -> p.name, toList())));
System.out.println(peopleByAge);
----
[source,text]
----
{24=[Paul], 28=[Will], 30=[Mark]}
----
We're running the 'collect' function over the collection, grouping by the 'age' property as we go and grouping the names of people rather than the people themselves.
This is a little bit different to what you'd do in Ruby where there's a 'group_by' function which you can call on a collection: ~~~ruby > people = [ {:name \=> "Paul", :age \=> 24}, {:name \=> "Mark", :age \=> 30}, {:name \=> "Will", :age \=> 28}] > people.group_by { |p| p[:age] } \=> {24\=>[{:name\=>"Paul", :age\=>24}], 30\=>[{:name\=>"Mark", :age\=>30}], 28\=>[{:name\=>"Will", :age\=>28}]} ~~~
This gives us back lists of people grouped by age but we need to apply an additional 'map' operation to change that to be a list of names instead: ~~~ruby > people.group_by { |p| p[:age] }.map { |k,v| [k, v.map { |person| person[:name] } ] } \=> [[24, ["Paul"]], [30, ["Mark"]], [28, ["Will"]]] ~~~
At this stage we've got an array of (age, names) pairs but luckily Ruby 2.1.0 has a function 'to_h' which we can call to get back to a hash again: ~~~ruby > people.group_by { |p| p[:age] }.map { |k,v| [k, v.map { |person| person[:name] } ] }.to_h \=> {24\=>["Paul"], 30\=>["Mark"], 28\=>["Will"]} ~~~
If we want to follow the Java approach of grouping by a property while running a reduce over the collection we'd have something like the following: ~~~ruby > people.reduce({}) { |acc, item| acc[item[:age]] ||=[]; acc[item[:age]] << item[:name]; acc } \=> {24\=>["Paul"], 30\=>["Mark"], 28\=>["Will"]} ~~~
If we're using Clojure then we might end up with something like this instead: ~~~lisp (def people [{:name "Paul", :age 24} {:name "Mark", :age 30} {:name "Will", :age 28}]) > (reduce (fn [acc [k v]] (assoc-in acc [k] (map :name v))) {} (group-by :age people)) {28 ("Will"), 30 ("Mark"), 24 ("Paul")} ~~~
I thought the Java version looked a bit weird to begin with but it's actually not too bad having worked through the problem in a couple of other languages.
It'd be good to know whether there's a better way of doing this the Ruby/Clojure way though! | null | null | [
0.01226334273815155,
-0.008832909166812897,
-0.006769560277462006,
0.010374587960541248,
0.07211841642856598,
-0.010241522453725338,
0.022054508328437805,
0.003926377277821302,
-0.01008107140660286,
-0.012782404199242592,
-0.016370853409171104,
-0.008874448947608471,
-0.05961345136165619,
0.015138277783989906,
-0.02105335332453251,
0.07776437699794769,
0.06244177743792534,
-0.022653887048363686,
0.014078432694077492,
-0.00527544179931283,
-0.008575648069381714,
0.05723732337355614,
0.016607239842414856,
0.02733602374792099,
0.031102722510695457,
0.0028973002918064594,
0.009216409176588058,
0.010513236746191978,
-0.04839714616537094,
0.012656423263251781,
0.015595153905451298,
0.005699074361473322,
-0.00553089240565896,
0.015847336500883102,
-0.019528504461050034,
-0.03271743655204773,
-0.008097532205283642,
0.0037518353201448917,
0.006674046162515879,
0.0632905513048172,
-0.04265394061803818,
0.004208546597510576,
-0.010130713693797588,
0.00985630787909031,
-0.043677426874637604,
0.01030429545789957,
-0.039018843322992325,
0.011477123945951462,
-0.03568567335605621,
-0.0022214658092707396,
-0.06594513356685638,
0.017036212608218193,
-0.03285633400082588,
-0.0061384388245642185,
0.017330922186374664,
0.04143329709768295,
-0.0044538541696965694,
-0.050096895545721054,
0.023523753508925438,
-0.053296271711587906,
0.0466519333422184,
-0.02242394909262657,
0.030492398887872696,
0.009378748945891857,
-0.0072821276262402534,
-0.0020571390632539988,
-0.03468405827879906,
0.03793179243803024,
-0.036573197692632675,
-0.015359759330749512,
-0.027519071474671364,
-0.0024951468221843243,
-0.03568112477660179,
-0.01364245917648077,
0.006627616006880999,
-0.047492615878582,
-0.024998759850859642,
0.05091114714741707,
0.0003026927006430924,
0.02075272984802723,
-0.024568181484937668,
0.0014998172409832478,
0.018760070204734802,
0.03400001674890518,
0.0413934625685215,
-0.035936180502176285,
-0.033823203295469284,
-0.004823127295821905,
-0.030103998258709908,
0.05578898638486862,
0.017295286059379578,
-0.04639177769422531,
0.0006857027765363455,
0.04145772010087967,
-0.02155246213078499,
0.001843975274823606,
-0.006154815666377544,
-0.02450975775718689,
-0.0022332090884447098,
-0.0038753037806600332,
-0.030376199632883072,
-0.029505863785743713,
0.03434149920940399,
0.01889832131564617,
-0.07648385316133499,
-0.01078460831195116,
0.005361387971788645,
-0.005927239079028368,
0.020882785320281982,
0.010623719543218613,
-0.035711899399757385,
0.036670394241809845,
-0.02906012535095215,
0.024920085445046425,
-0.05564376711845398,
0.08184532076120377,
0.0001220760022988543,
-0.024275891482830048,
-0.0018252646550536156,
0.04746565967798233,
0.055102553218603134,
0.031491704285144806,
0.03958050161600113,
0.07589800655841827,
-0.009655830450356007,
0.020517440512776375,
0.006687555927783251,
0.0509149432182312,
0.001101099536754191,
-0.04726151376962662,
-0.01967732422053814,
0.029573503881692886,
0.012302160263061523,
-0.003310934640467167,
-0.017577841877937317,
-0.015471952967345715,
-0.029945142567157745,
0.00003388161712791771,
0.051610250025987625,
0.04518857225775719,
0.005097514949738979,
-0.042179904878139496,
0.022914627566933632,
-0.040484726428985596,
0.03512899577617645,
0.014733224175870419,
-0.008815162815153599,
-0.023313522338867188,
0.0052325851283967495,
0.030487151816487312,
0.004498671740293503,
0.02980349026620388,
0.0751446932554245,
-0.009676928631961346,
0.008610157296061516,
0.09051336348056793,
0.035175055265426636,
0.02623565122485161,
0.0068312594667077065,
0.013480802066624165,
0.025174761191010475,
0.050588950514793396,
-0.0006434069946408272,
0.032072946429252625,
0.006982017774134874,
0.005478378850966692,
0.01313710119575262,
0.06526987254619598,
-0.029691403731703758,
-0.023012330755591393,
-0.04518190771341324,
-0.04830194264650345,
0.029633285477757454,
-0.03617388755083084,
-0.015480444766581059,
-0.02244424819946289,
0.06835050880908966,
0.00667207408696413,
0.06107872724533081,
-0.007640279829502106,
-0.08445853739976883,
0.027120033279061317,
0.01925572194159031,
0.025808122009038925,
0.022635221481323242,
0.006930296774953604,
0.03902529180049896,
0.055069226771593094,
-0.0010148704750463367,
-0.0067011453211307526,
-0.050945691764354706,
-0.0660499706864357,
-0.030007245019078255,
-0.01922541670501232,
0.0610477551817894,
-0.05034526064991951,
0.00933359656482935,
0.05769483372569084,
0.037498872727155685,
0.03472375124692917,
0.03466612473130226,
-0.00753759453073144,
-0.00649219797924161,
-0.007868528366088867,
-0.03797049820423126,
0.05558651685714722,
0.03787372633814812,
0.000665658968500793,
-0.018289998173713684,
0.02100692316889763,
-0.004316254053264856,
0.0027586459182202816,
0.01936047337949276,
-0.02753899060189724,
0.032787568867206573,
0.020723041146993637,
0.02143971249461174,
-0.04095843806862831,
0.07646592706441879,
-0.059107180684804916,
0.036562032997608185,
0.0305495522916317,
-0.00906403549015522,
-0.0020220079459249973,
0.008504669182002544,
0.12701284885406494,
0.06624650210142136,
-0.02675916813313961,
-0.04574684798717499,
0.019993921741843224,
0.0026841009967029095,
-0.032549913972616196,
0.029960112646222115,
0.007356392685323954,
0.0011127401376143098,
0.0060582407750189304,
-0.01549875270575285,
-0.011707190424203873,
0.012827771715819836,
-0.037545666098594666,
-0.019395064562559128,
0.06836386770009995,
-0.018905475735664368,
0.04046235606074333,
0.03988368436694145,
-0.04139867424964905,
0.009351247921586037,
-0.02696581371128559,
-0.04672211408615112,
0.015033921226859093,
0.024203961715102196,
-0.014594034291803837,
0.05106025189161301,
-0.05342750623822212,
-0.029687009751796722,
-0.01607431285083294,
-0.03131440654397011,
0.0063382769003510475,
0.05502736568450928,
0.04685479775071144,
-0.016048194840550423,
0.05087453871965408,
-0.031223397701978683,
-0.032730963081121445,
-0.04465007781982422,
-0.05264134332537651,
-0.0034590051509439945,
0.0006138306926004589,
0.010410460643470287,
0.023976851254701614,
0.025380302220582962,
0.012420624494552612,
0.020745282992720604,
0.016776664182543755,
-0.02683066390454769,
-0.00021948279754724354,
0.056268371641635895,
-0.03412330150604248,
-0.01993236131966114,
-0.03196622058749199,
-0.023807726800441742,
0.05334218591451645,
-0.019049206748604774,
-0.04278336092829704,
-0.004802344832569361,
-0.08121392875909805,
0.05786983668804169,
-0.043428752571344376,
-0.03186145797371864,
0.012286806479096413,
0.03950728848576546,
0.04769664630293846,
0.0058835530653595924,
0.01138521172106266,
0.09381606429815292,
0.012577129527926445,
0.00864329468458891,
0.019118981435894966,
-0.00030564985354430974,
0.011650625616312027,
-0.05176731199026108,
-0.007314939983189106,
0.04780859127640724,
-0.01412922516465187,
-0.011718069203197956,
-0.04927271977066994,
0.032436665147542953,
-0.004936379846185446,
-0.2652466595172882,
0.02798635885119438,
-0.04160486161708832,
-0.03737366572022438,
0.01935366913676262,
0.0006567338714376092,
0.01535998098552227,
-0.0610719695687294,
-0.0031065160874277353,
0.0443771593272686,
-0.018187126144766808,
-0.017740948125720024,
-0.02703266032040119,
0.035615406930446625,
0.0071095931343734264,
-0.009886449202895164,
-0.006215679459273815,
-0.02010585367679596,
-0.022891461849212646,
0.03780176118016243,
-0.006628583185374737,
-0.09047141671180725,
0.0009834999218583107,
0.07072240114212036,
0.042947325855493546,
0.03510415181517601,
-0.0714438408613205,
0.03190379962325096,
-0.04934654384851456,
-0.011388632468879223,
0.0008495741058140993,
-0.025102553889155388,
0.034455299377441406,
-0.05931515246629715,
-0.015783710405230522,
-0.04000411555171013,
0.010426784865558147,
0.023313889279961586,
0.00942078698426485,
0.021284131333231926,
-0.04836079850792885,
-0.052859846502542496,
-0.03364848718047142,
0.007203345652669668,
0.047460198402404785,
0.0007891381392255425,
-0.06576208025217056,
-0.007066624704748392,
-0.017195645719766617,
0.06368877738714218,
-0.035147156566381454,
-0.0470246858894825,
0.00843682698905468,
0.03493563458323479,
-0.01526118628680706,
-0.058365028351545334,
-0.0011292127892374992,
-0.00818383228033781,
-0.028226865455508232,
-0.021131640300154686,
0.00009486596536589786,
-0.027954846620559692,
0.004696921445429325,
-0.03550224006175995,
-0.03500983491539955,
-0.0559602826833725,
-0.08566520363092422,
0.00834660790860653,
0.07049697637557983,
0.016856592148542404,
-0.032680727541446686,
-0.01136630680412054,
-0.022379759699106216,
-0.11776234209537506,
-0.05121076479554176,
-0.03591940551996231,
-0.02318454533815384,
-0.01632954366505146,
-0.0014358732150867581,
0.03500809147953987,
-0.049260031431913376,
-0.059266626834869385,
0.02208249270915985,
0.022496625781059265,
0.05740100145339966,
-0.03894050046801567,
-0.013076280243694782,
-0.034056406468153,
-0.004256285727024078,
-0.021561535075306892,
0.08377915620803833,
-0.0031796765979379416,
-0.025213800370693207,
-0.04842895269393921,
0.03017549030482769,
0.055086277425289154,
0.02962324768304825,
0.004850856028497219,
0.020168261602520943,
0.036954399198293686,
0.03584376722574234,
-0.031993310898542404,
0.014569377526640892,
-0.03837494179606438,
-0.024527696892619133,
-0.028910890221595764,
-0.0786222517490387,
0.03380882367491722,
0.018239203840494156,
0.0053849914111196995,
0.00387947796843946,
-0.03443283587694168,
0.0035621195565909147,
-0.0541238896548748,
-0.021403543651103973,
-0.030921537429094315,
-0.0190943144261837,
0.04795903339982033,
0.021837925538420677,
0.016771381720900536,
-0.05871163681149483,
0.016891032457351685,
0.013920503668487072,
-0.01631978712975979,
-0.06360449641942978,
-0.051623739302158356,
-0.04756171256303787,
-0.0373915396630764,
0.014587556011974812,
0.009977471083402634,
-0.015116356313228607,
0.025572629645466805,
0.01859104633331299,
-0.03203843906521797,
0.006968309637159109,
-0.020324746146798134,
-0.0074663967825472355,
-0.0563383474946022,
-0.016056310385465622,
-0.013563096523284912,
0.01368783414363861,
-0.004224812146276236,
0.027791080996394157,
0.026095235720276833,
0.012176202610135078,
-0.0029165742453187704,
0.029576774686574936,
0.028298530727624893,
-0.01507525984197855,
0.000925451866351068,
-0.009738548658788204,
-0.023654041811823845,
0.012696257792413235,
-0.024261796846985817,
-0.03882043436169624,
-0.013713872991502285,
0.01854909025132656,
0.0003057983994949609,
-0.045265085995197296,
-0.032296884804964066,
0.025194885209202766,
-0.0464809313416481,
-0.001206215936690569,
-0.03320172056555748,
-0.009523110464215279,
0.059306759387254715,
-0.020539579913020134,
0.03674893081188202,
-0.05032150074839592,
-0.009635653346776962,
0.00949663296341896,
-0.009910634718835354,
0.00565972737967968,
0.03656339272856712,
0.010151640512049198,
-0.0139694232493639,
-0.013112221844494343,
0.012111566960811615,
0.03505241125822067,
0.009081605821847916,
-0.0007694141240790486,
-0.002464218530803919,
0.00422262866050005,
-0.005099476780742407,
0.0517582930624485,
0.052508942782878876,
-0.004952319897711277,
-0.02187509275972843,
-0.06283045560121536,
-0.02376842126250267,
-0.02973840944468975,
-0.01807878166437149,
-0.03686196357011795,
0.01674295961856842,
-0.044373948127031326,
-0.08357361704111099,
0.018351376056671143,
0.05878099054098129,
-0.0013229947071522474,
0.001272536930628121,
-0.00553687009960413,
0.017201988026499748,
0.00009620974014978856,
0.014722943305969238,
0.07097087800502777,
-0.04937015101313591,
0.017151672393083572,
-0.025679457932710648,
-0.00413302518427372,
0.003847460960969329,
0.007996110245585442,
-0.0326816588640213,
0.0063121262937784195,
-0.0376376137137413,
-0.00031375305843539536,
-0.02205589972436428,
-0.03843052312731743,
-0.05293644219636917,
-0.0021766573190689087,
-0.01652885042130947,
-0.008715638890862465,
-0.017613699659705162,
-0.002056352561339736,
-0.04357101023197174,
-0.0198659747838974,
0.010884608142077923,
-0.02659349888563156,
-0.015248832292854786,
0.02116991952061653,
-0.04286729171872139,
0.007158572785556316,
-0.031435150653123856,
0.02609705924987793,
0.038950689136981964,
-0.014774537645280361,
-0.025284597650170326,
-0.03766477480530739,
0.023989666253328323,
0.018537692725658417,
0.053693801164627075,
-0.0028779611457139254,
-0.018187301233410835,
-0.01309959590435028,
0.005301267374306917,
-0.021572275087237358,
-0.00916549377143383,
-0.010552956722676754,
-0.025981109589338303,
-0.009922804310917854,
0.06380043178796768,
0.0075069875456392765,
0.03940768539905548,
0.00042592210229486227,
0.0005855204071849585,
0.06896696239709854,
-0.02578049898147583,
-0.03624189272522926,
0.004047715105116367,
-0.038406286388635635,
0.01925126649439335,
-0.0026790834963321686,
0.019034873694181442,
-0.033743325620889664,
0.045692328363657,
0.07397796213626862,
0.003469809191301465,
0.034420132637023926,
0.002354247495532036,
0.030767319723963737,
-0.023290220648050308,
0.016856279224157333,
-0.09800022095441818,
-0.021625680848956108,
0.027681246399879456,
0.03480727970600128,
-0.0274078156799078,
-0.0569864921271801,
-0.025273514911532402,
0.017984608188271523,
-0.08373606950044632,
0.0031390811782330275,
0.04195372760295868,
-0.007248489186167717,
-0.0160918477922678,
0.04460158571600914,
-0.05590401962399483,
0.02593904547393322,
0.02529141865670681,
-0.04736669734120369,
-0.019797738641500473,
-0.030847037211060524,
0.04873122274875641,
0.013862048275768757,
0.02497921884059906,
0.0011242988985031843,
0.03322913125157356,
0.08855658769607544,
0.03475155681371689,
0.009309103712439537,
0.05289335176348686,
-0.01219287421554327,
0.044571250677108765,
0.025997210294008255,
-0.014612245373427868,
-0.0004098729114048183,
0.02920534648001194,
-0.011124988086521626,
-0.05659857764840126,
0.012431875802576542,
0.015955377370119095,
-0.04776622727513313,
-0.026837633922696114,
0.07130149751901627,
0.021913742646574974,
-0.03144090622663498,
-0.054464757442474365,
0.017458973452448845,
-0.03265221789479256,
-0.004674415569752455,
-0.034523069858551025,
0.012179264798760414,
-0.05989787355065346,
0.06156161427497864,
-0.014476621523499489,
0.0015330298338085413,
0.07224158942699432,
0.004435662180185318,
-0.01328932773321867,
-0.0036436456721276045,
0.11531221866607666,
0.0849531888961792,
0.047492995858192444,
0.0010021200869232416,
0.07091918587684631,
-0.002245262498036027,
-0.04943370074033737,
-0.016296852380037308,
-0.012929471209645271,
-0.014206454157829285,
0.024273568764328957,
0.017280811443924904,
0.07984218746423721,
0.009280948899686337,
0.07221470773220062,
-0.027366895228624344,
-0.022677304223179817,
-0.01345380861312151,
0.02795438840985298,
0.019454218447208405,
0.028477665036916733,
0.026198357343673706,
0.039935074746608734,
-0.026525216177105904,
-0.04444701597094536,
0.057732466608285904,
0.020914962515234947,
-0.03695673495531082,
0.0008584101451560855,
0.034173037856817245,
0.014781671576201916,
0.03053198754787445,
0.01217977050691843,
0.06208156421780586,
0.0021923279855400324,
-0.015834402292966843,
-0.013763771392405033,
0.009404788725078106,
-0.023354345932602882,
-0.024937937036156654,
-0.02006167732179165,
-0.022037887945771217,
-0.0006068116636015475,
-0.0010965244146063924,
-0.0013618399389088154,
-0.0037999129854142666,
-0.0295680183917284,
0.04852953180670738,
-0.03030969388782978,
0.024990389123558998,
-0.00033383688423782587,
0.010346225462853909,
-0.05563267320394516,
-0.0574493333697319,
-0.04361069202423096,
-0.033855993300676346,
-0.07478813827037811,
0.008364110253751278,
0.03131476417183876,
-0.014384642243385315,
-0.01785113848745823,
-0.022848716005682945,
0.005466035567224026,
-0.0013403055490925908,
0.015013926662504673,
-0.0636167824268341,
-0.030733050778508186,
0.014523432590067387,
0.03332287445664406,
0.07280931621789932,
0.030998466536402702,
0.0320114940404892,
-0.022342929616570473,
0.02206328883767128,
-0.010013016872107983,
-0.01874184049665928,
0.06783706694841385,
0.003421156434342265,
-0.008217190392315388,
-0.08940251916646957,
0.02145589143037796,
0.0490109808743,
-0.017588596791028976,
-0.08309557288885117,
-0.0020327060483396053,
0.014226012863218784,
0.016196541488170624,
0.02926717698574066,
0.010740558616816998,
-0.01707734353840351,
-0.0428600050508976,
-0.024272626265883446,
0.01382610946893692,
0.008811816573143005,
0.059139784425497055,
-0.028266657143831253,
0.08243690431118011,
0.018826335668563843,
-0.018246637657284737,
-0.034531205892562866,
-0.003637267043814063,
-0.018747838214039803,
-0.012346887961030006,
-0.07033632695674896,
-0.04306318238377571,
-0.01973932981491089,
-0.06331814080476761,
-0.0025780003052204847,
-0.006956059020012617,
-0.02523321844637394,
-0.04940367862582207,
-0.00032549555180594325,
0.08211389929056168,
0.015505601651966572,
0.052584875375032425,
-0.036692552268505096,
0.041006121784448624,
-0.0306247491389513,
-0.020527219399809837,
-0.005334289278835058,
0.016865869984030724,
-0.004578262101858854,
0.024155166000127792,
-0.0021629598923027515,
-0.004421086050570011,
0.0019866032525897026,
-0.005985173396766186,
0.04475769028067589,
0.035700950771570206,
-0.0027981181629002094,
0.003171978984028101
] | [
-0.068587526679039,
0.008863141760230064,
-0.04999130964279175,
-0.02787916362285614,
0.048926759511232376,
-0.050354767590761185,
0.002676866017282009,
0.007761722896248102,
-0.014321209862828255,
-0.013610007241368294,
0.011263217777013779,
-0.04076181724667549,
0.020392687991261482,
-0.011953350156545639,
0.026394370943307877,
0.007403650786727667,
-0.013633365742862225,
-0.01236020028591156,
-0.043844323605298996,
0.03184991702437401,
0.02158188819885254,
0.002523851813748479,
-0.03201660141348839,
-0.040232863277196884,
0.020504465326666832,
0.07713408768177032,
0.0040910933166742325,
-0.0456203855574131,
-0.005713154561817646,
-0.21095404028892517,
0.02045166864991188,
0.004185199271887541,
0.061529871076345444,
-0.028378359973430634,
-0.03731402009725571,
0.04288884997367859,
0.05170898139476776,
0.033946119248867035,
-0.008912347257137299,
0.06462094932794571,
0.0053320699371397495,
0.04399232938885689,
-0.07195980101823807,
-0.029610157012939453,
0.0010112476302310824,
0.023974047973752022,
-0.031455229967832565,
-0.014999980106949806,
-0.019486233592033386,
0.011294015683233738,
-0.10138111561536789,
0.005779503379017115,
0.01314343698322773,
0.008465658873319626,
0.0036149718798696995,
0.030361957848072052,
0.06468220800161362,
0.049067385494709015,
0.020415302366018295,
0.0018994082929566503,
-0.0009188552503474057,
-0.04638548567891121,
-0.14414165914058685,
0.07495934516191483,
0.0066817691549658775,
0.04062104597687721,
-0.0013898747274652123,
-0.01273083034902811,
-0.014642252586781979,
0.03753884509205818,
-0.001995895290747285,
0.028736181557178497,
0.012977364473044872,
0.06173306703567505,
-0.008582109585404396,
-0.04649541527032852,
-0.021967148408293724,
0.018729301169514656,
0.03246959671378136,
-0.04726000875234604,
-0.09398656338453293,
-0.022321999073028564,
0.017284603789448738,
-0.03599223122000694,
-0.001052149455063045,
0.04205306991934776,
0.006215821951627731,
0.012901314534246922,
0.008787178434431553,
0.03383701294660568,
0.020440535619854927,
0.02860795147716999,
0.010898013599216938,
0.039904337376356125,
-0.07038730382919312,
-0.02850518748164177,
0.004785667173564434,
0.00956441555172205,
-0.009656292386353016,
0.4375082850456238,
-0.02500530518591404,
-0.004721037577837706,
0.05334417521953583,
0.0150293642655015,
-0.03517703711986542,
-0.022226424887776375,
-0.03485113009810448,
-0.09367445856332779,
0.01734135113656521,
-0.023036746308207512,
-0.019184425473213196,
-0.019961358979344368,
0.048974938690662384,
-0.04196319729089737,
0.017225103452801704,
0.009632280096411705,
0.06465388089418411,
0.038366906344890594,
-0.011748194694519043,
0.0018549194792285562,
0.012007469311356544,
-0.010903705842792988,
0.006662845611572266,
0.027811797335743904,
0.02709164470434189,
-0.012205330654978752,
0.025275522843003273,
0.05632384493947029,
0.05635203421115875,
0.005167840514332056,
0.041742321103811264,
-0.010381300933659077,
-0.11356033384799957,
-0.019168924540281296,
-0.01677737757563591,
0.0362807959318161,
0.03208988159894943,
-0.018887372687458992,
0.014748955145478249,
-0.008204343728721142,
0.015397957526147366,
-0.041130952537059784,
-0.0023843529634177685,
-0.0007135157356970012,
-0.060351964086294174,
0.12362020462751389,
-0.010194777511060238,
-0.006203978788107634,
-0.000253554928349331,
-0.012103882618248463,
-0.021062033250927925,
0.04981999844312668,
0.02200106531381607,
-0.04638850316405296,
-0.015793047845363617,
0.02067156508564949,
0.08365368843078613,
0.004295920953154564,
-0.05544877424836159,
-0.018076017498970032,
-0.000620463106315583,
-0.013850092887878418,
-0.027182703837752342,
0.05025549978017807,
0.05633969604969025,
-0.07954801619052887,
-0.023442493751645088,
0.017261799424886703,
-0.0025164189282804728,
-0.06483476608991623,
-0.012264597229659557,
0.0229784082621336,
-0.01968892477452755,
0.07068970799446106,
0.08488577604293823,
-0.011598961427807808,
-0.0036862026900053024,
-0.006387368775904179,
0.03640805929899216,
0.015354432165622711,
-0.013522349298000336,
0.037349458783864975,
-0.06949137896299362,
-0.021715492010116577,
-0.021731510758399963,
-0.07014640420675278,
-0.0868796557188034,
-0.01620352454483509,
-0.001966250129044056,
0.01147232111543417,
-0.003578103380277753,
0.011494538746774197,
-0.06342113763093948,
0.046790286898612976,
-0.004709532484412193,
-0.03207303583621979,
0.007595861330628395,
-0.004356651566922665,
-0.014005749486386776,
-0.0109432777389884,
-0.013319351710379124,
0.041805870831012726,
-0.01702219620347023,
0.02879110909998417,
-0.025371072813868523,
0.014456179924309254,
0.048974573612213135,
-0.053442925214767456,
0.06861981004476547,
-0.011114099994301796,
-0.03146866708993912,
-0.026090653613209724,
-0.02301974967122078,
0.052305180579423904,
-0.025445714592933655,
0.000993765308521688,
0.006657416466623545,
0.0030739919748157263,
0.02475658804178238,
0.02520766668021679,
-0.020445875823497772,
-0.0629868283867836,
-0.008163928985595703,
-0.3532836437225342,
-0.002174046356230974,
0.025381891056895256,
-0.013327933847904205,
-0.021178536117076874,
-0.03075605444610119,
0.029441114515066147,
-0.03709544613957405,
-0.036379773169755936,
0.01891288161277771,
0.06162373349070549,
-0.034888096153736115,
-0.016610240563750267,
-0.006855078507214785,
-0.0356995053589344,
0.04096641018986702,
-0.06887245178222656,
-0.017231211066246033,
-0.013968456536531448,
0.049171049147844315,
0.003922675736248493,
-0.009539581835269928,
-0.006967971101403236,
-0.04685554280877113,
0.017595408484339714,
-0.056051407009363174,
0.11676336079835892,
0.003431871999055147,
-0.005383365787565708,
-0.05218290537595749,
0.048181116580963135,
0.011166335083544254,
-0.0394844114780426,
-0.05109085515141487,
-0.0027961053419858217,
-0.03566742688417435,
-0.061738114804029465,
-0.006070323288440704,
0.024837691336870193,
-0.01465768925845623,
-0.04428223893046379,
0.007452229969203472,
-0.007716750726103783,
-0.021246131509542465,
-0.030086010694503784,
0.01184486597776413,
-0.03237557038664818,
-0.06880876421928406,
0.04334654659032822,
0.042867276817560196,
0.015636157244443893,
-0.046208709478378296,
0.04884221777319908,
0.009935217909514904,
-0.01897120475769043,
-0.05267556756734848,
-0.06070060655474663,
0.0019707027822732925,
0.007614306639879942,
0.00020840062643401325,
0.03024679608643055,
0.05592178553342819,
0.0015465393662452698,
-0.029413729906082153,
0.011657178401947021,
-0.0035829953849315643,
-0.03321252390742302,
0.0037771593779325485,
-0.0030146248172968626,
-0.041859861463308334,
-0.03331312537193298,
0.07697241753339767,
0.013953562825918198,
-0.019737055525183678,
-0.0016722914297133684,
0.06472217291593552,
0.0016142111271619797,
-0.016418173909187317,
0.03854911029338837,
0.019464708864688873,
0.017352620139718056,
0.0016486963722854853,
0.041236717253923416,
0.008953401818871498,
0.011158579960465431,
0.06293562054634094,
0.01437097042798996,
-0.004922761116176844,
0.022984234616160393,
-0.010409936308860779,
-0.02038058452308178,
0.0013813230907544494,
-0.019145416095852852,
-0.03199515491724014,
0.035188473761081696,
-0.0022279839031398296,
-0.2813280522823334,
0.05024252086877823,
0.027823131531476974,
0.03619946539402008,
0.015695206820964813,
0.038541119545698166,
0.013140507973730564,
-0.026703480631113052,
0.04293765127658844,
0.00048476303345523775,
0.05849383771419525,
0.04752228409051895,
0.03862631693482399,
-0.03893943130970001,
0.041417691856622696,
0.013681522570550442,
0.03557361289858818,
-0.018371891230344772,
0.020633308216929436,
-0.0015144424978643656,
0.03519769757986069,
0.004710507113486528,
0.17495909333229065,
-0.021541396155953407,
0.05065855756402016,
0.043650683015584946,
0.0005342221702449024,
0.0018522058380767703,
0.07295934855937958,
0.008432026021182537,
-0.002992735244333744,
-0.03163199871778488,
0.12818972766399384,
0.015635112300515175,
0.01712726429104805,
-0.048021841794252396,
-0.010021703317761421,
-0.004298429936170578,
-0.003193126292899251,
-0.0036588707007467747,
-0.040166858583688736,
0.005038497969508171,
-0.05144701898097992,
0.03584115579724312,
0.08604936301708221,
0.020580433309078217,
-0.010272420942783356,
-0.02253979630768299,
-0.031214013695716858,
-0.012130098417401314,
-0.020173247903585434,
-0.04848623275756836,
-0.03688505291938782,
0.007599251344799995,
0.05148802325129509,
0.05668403580784798,
-0.002228909870609641,
-0.03328193351626396,
-0.022753074765205383,
0.024900857359170914,
-0.027812080457806587,
0.011802785098552704,
0.10418739169836044,
0.03296298906207085,
-0.010754523798823357
] | [
0.0002652083057910204,
0.05172422528266907,
-0.045019976794719696,
0.022325769066810608,
-0.007716688327491283,
0.03442936763167381,
-0.02666715905070305,
0.041103389114141464,
-0.0353362113237381,
-0.020036911591887474,
-0.017351582646369934,
-0.0061007337644696236,
0.010955837555229664,
-0.03421700745820999,
0.036856524646282196,
-0.028152821585536003,
-0.010033659636974335,
0.021679960191249847,
0.03727021813392639,
-0.038568198680877686,
-0.011189510114490986,
0.014855196699500084,
0.05572926625609398,
-0.028040392324328423,
0.015498064458370209,
0.04751596972346306,
0.010548415593802929,
-0.015332547016441822,
0.007193104829639196,
-0.13241668045520782,
0.0007384088239632547,
-0.011530098505318165,
0.012337163090705872,
-0.022294068709015846,
-0.0635325089097023,
0.019027220085263252,
0.007412774953991175,
0.04982289299368858,
0.01712792180478573,
0.0002905622823163867,
-0.0172711368650198,
0.007525316905230284,
-0.06178424879908562,
-0.005961537826806307,
-0.004289335571229458,
-0.003248937427997589,
-0.010716060176491737,
-0.010827724821865559,
-0.029736263677477837,
0.03161818906664848,
-0.04229818657040596,
-0.008548026904463768,
-0.0007083894452080131,
0.026096628978848457,
0.026605313643813133,
-0.03666120395064354,
-0.022863395512104034,
-0.05016185715794563,
-0.018303142860531807,
-0.056284934282302856,
-0.002559717744588852,
-0.03623054549098015,
-0.031097298488020897,
-0.022989440709352493,
-0.005379850044846535,
-0.05924684926867485,
0.03080909326672554,
0.04803076386451721,
0.028565477579832077,
-0.02094568870961666,
-0.004042789805680513,
0.04468068107962608,
0.006906863767653704,
-0.028591115027666092,
-0.03425748273730278,
0.0011686269426718354,
-0.0007356097921729088,
-0.02389058843255043,
0.03275969624519348,
0.003930429928004742,
-0.019950155168771744,
0.0009750829194672406,
-0.020728638395667076,
0.013425366953015327,
-0.014285906217992306,
0.019661108031868935,
0.003107080701738596,
-0.006747223902493715,
0.014271276071667671,
0.04491988569498062,
-0.06043849512934685,
0.04058738425374031,
0.05535130575299263,
0.0026424885727465153,
-0.08608191460371017,
0.01897357776761055,
-0.033379703760147095,
-0.004772910848259926,
0.008256692439317703,
0.8274160027503967,
0.017649319022893906,
0.06144315376877785,
0.02965911105275154,
-0.025848545134067535,
-0.005763115361332893,
-0.03983191028237343,
-0.03423861414194107,
0.0071037025190889835,
0.025558078661561012,
-0.027250174432992935,
0.017323756590485573,
-0.01743333972990513,
0.03012225404381752,
0.008053166791796684,
0.007135474123060703,
0.02476249635219574,
0.05304504185914993,
0.025233278051018715,
0.021238403394818306,
0.017863690853118896,
0.031092682853341103,
-0.0030443009454756975,
0.032826442271471024,
0.0027777741197496653,
0.035356950014829636,
-0.12344193458557129,
-0.020348528400063515,
-7.423016134676397e-33,
0.05469775199890137,
-0.03324827551841736,
0.014283978380262852,
0.029893124476075172,
-0.0035386760719120502,
-0.0029130554758012295,
-0.018718581646680832,
0.010869024321436882,
-0.006737410090863705,
-0.04120675474405289,
0.009869116358458996,
-0.006417709402740002,
0.005536685232073069,
-0.007902773097157478,
0.005802837200462818,
-0.02437431737780571,
-0.013619761914014816,
0.008448043838143349,
-0.026364969089627266,
-0.015041050501167774,
-0.01313785370439291,
0.000914786069188267,
0.01105605997145176,
-0.009738555178046227,
-0.024278556928038597,
0.028966523706912994,
0.02206883206963539,
0.00042841656249947846,
-0.03215374797582626,
-0.03788558393716812,
0.017342321574687958,
0.002136883093044162,
-0.01032558549195528,
-0.01464197225868702,
0.08248219639062881,
-0.0467386357486248,
0.0012222535442560911,
-0.005860285833477974,
-0.03300276771187782,
-0.04819522425532341,
-0.038042694330215454,
-0.008359285071492195,
-0.025436608120799065,
0.005319168791174889,
-0.0008922853739932179,
-0.03508726507425308,
0.015611308626830578,
0.03844660148024559,
-0.017720269039273262,
0.07509937882423401,
0.0005293114227242768,
0.018150711432099342,
0.011988255195319653,
0.016314217820763588,
-0.020984437316656113,
0.002309956820681691,
-0.014401632361114025,
0.04232608526945114,
-0.03113313391804695,
0.03495898097753525,
-0.016289230436086655,
0.038462646305561066,
0.016414055600762367,
0.036760665476322174,
0.006476031616330147,
-0.0009670332074165344,
0.005552912596613169,
-0.007453016936779022,
0.03543528541922569,
0.012273602187633514,
-0.02289128676056862,
0.033116355538368225,
-0.007848406210541725,
0.015810059383511543,
-0.01062346063554287,
-0.039357274770736694,
0.0252363421022892,
-0.008916357532143593,
-0.013308953493833542,
0.031723666936159134,
0.018201319500803947,
-0.029559865593910217,
0.008368577808141708,
-0.00415422860532999,
-0.003881822107359767,
0.019199535250663757,
0.0382574200630188,
-0.0335780568420887,
0.011393440887331963,
-0.0005477897939272225,
0.055717483162879944,
0.050452616065740585,
0.003973584156483412,
-0.004235240630805492,
0.0039648814126849174,
7.2876080016693e-33,
-0.0031167466659098864,
-0.014415322802960873,
-0.01100843120366335,
-0.00366026908159256,
0.052594128996133804,
-0.05578836798667908,
0.022369738668203354,
0.025342276319861412,
-0.025851048529148102,
0.013114185072481632,
-0.058344125747680664,
-0.013425850309431553,
-0.010094860568642616,
0.013769546523690224,
0.08030015975236893,
-0.02900129184126854,
0.03064504638314247,
-0.03574470430612564,
0.029537787660956383,
-0.0032731248065829277,
-0.0017850665608420968,
0.0018706645350903273,
0.053669191896915436,
0.024990512058138847,
0.027782130986452103,
0.02048295922577381,
-0.02560182847082615,
-0.014501433819532394,
-0.023099172860383987,
0.014356514438986778,
0.07621701806783676,
-0.01739923469722271,
-0.019221018999814987,
-0.05626024678349495,
-0.020385542884469032,
-0.024279065430164337,
0.007538902573287487,
0.03168318420648575,
0.04095219820737839,
-0.002990544307976961,
-0.0006519391317851841,
-0.016319341957569122,
-0.007693448569625616,
-0.002662545768544078,
0.008365882560610771,
0.005118293687701225,
0.021657133474946022,
-0.006184344179928303,
-0.0006603817455470562,
0.024595292285084724,
0.005944136064499617,
-0.006857011001557112,
-0.0014741824707016349,
0.009540535509586334,
0.03381642699241638,
-0.026124484837055206,
-0.005444440525025129,
-0.002750009298324585,
0.013233570381999016,
0.008324245922267437,
-0.012796998955309391,
-0.02494598552584648,
0.01018468476831913,
0.02653559111058712,
-0.012881303206086159,
-0.03069346211850643,
0.00824069231748581,
-0.02155105583369732,
-0.007741938810795546,
0.0013733510859310627,
-0.004533234518021345,
-0.044047944247722626,
-0.030547261238098145,
0.038970425724983215,
0.019629480317234993,
-0.019206497818231583,
-0.019992593675851822,
0.0437978096306324,
-0.025279557332396507,
0.006153978407382965,
0.013741539791226387,
0.005164620000869036,
-0.022137725725769997,
0.00281668733805418,
0.0434841550886631,
0.01702677458524704,
0.0005509512266144156,
-0.004863283131271601,
-0.023499533534049988,
-0.019665183499455452,
0.014358735643327236,
-0.027432912960648537,
-0.03235899284482002,
0.009780836291611195,
0.0020018552895635366,
-1.263318871735919e-8,
-0.0175151526927948,
-0.020975980907678604,
-0.03792551904916763,
0.014080658555030823,
0.06636978685855865,
-0.01218173187226057,
-0.02860213816165924,
-0.013271120376884937,
-0.017360355705022812,
-0.0033529086504131556,
0.03566821292042732,
0.022729352116584778,
0.03430597856640816,
0.014096097089350224,
0.04737641289830208,
-0.05577564984560013,
0.01452798955142498,
0.0036686286330223083,
-0.0012295369524508715,
0.01601502113044262,
0.021590104326605797,
0.011325038969516754,
-0.01818874664604664,
0.0066893333569169044,
-0.013794281519949436,
-0.01166438776999712,
0.040654364973306656,
-0.07430940866470337,
0.01677006296813488,
-0.04381554573774338,
0.03254896402359009,
-0.01008980069309473,
-0.008506512269377708,
0.01733694039285183,
-0.013692821376025677,
-0.038129325956106186,
-0.016122965142130852,
0.016804346814751625,
-0.0014586651232093573,
0.025672579184174538,
-0.00893454346805811,
0.010334155522286892,
0.008293171413242817,
-0.020205967128276825,
-0.02032576873898506,
-0.021429959684610367,
-0.015105439350008965,
-0.00293134362436831,
-0.000333464820869267,
-0.018114933744072914,
-0.02023504488170147,
0.0050888280384242535,
0.026457324624061584,
0.011794574558734894,
0.02851703204214573,
-0.011619419790804386,
0.013986672274768353,
-0.03953132778406143,
-0.0052474490366876125,
-0.013299203477799892,
0.05867667496204376,
-0.020717840641736984,
-0.042514316737651825,
-0.0492694191634655
] | java-8-group-by-with-collections | https://markhneedham.com/blog/2014/02/23/java-8-group-by-with-collections |
false | 2014-02-13 00:10:37 | Neo4j: Value in relationships, but value in nodes too! | [
"neo4j"
] | [
"neo4j"
] | I've recently spent a bit of time working with people on their graph commons and a common pattern I've come across is that although the models have lots of relationships there are often missing nodes.
== Emails
We'll start with a model which represents the emails that people send between each other. A first cut might look like this:
image::{{<siteurl>}}/uploads/2014/02/2014-02-12_08-30-59.png[2014 02 12 08 30 59,600]
The problem with this approach is that we haven't modelled the concept of *an email* - that's been implicitly modelled via a relationship.
This means that if we want to indicate who was cc'd or bcc'd on the email we can't do it. We might also want to track the replies on a thread but again we can't do it.
A richer model that treated an email as a first class citizen would allow us to do both these things and would look like this:
image::{{<siteurl>}}/uploads/2014/02/2014-02-12_23-16-02.png[2014 02 12 23 16 02,600]
We could then write queries to get the chain of emails in a thread or find all the emails that a person was cc'd in - two queries that would be much more difficult to write if we don't have the concept of an email.
== Footballers and football matches
Our http://www.markhneedham.com/blog/2013/10/22/neo4j-modelling-hyper-edges-in-a-property-graph/[second example come from my football dataset] and involves modelling the matches that players participated in.
My first attempt looked like this:
image::{{<siteurl>}}/uploads/2014/02/2014-02-12_23-30-35.png[2014 02 12 23 30 35,600]
This works reasonably well but I wanted to be able to model which team a player had represented in a match which was quite difficult with this model.
One approach would be to add a 'team' property to the 'PLAYED_IN' relationship but then we'd need to do some work at query time to work out which team node that property value referred to.
Instead I realised that I was missing the concept of a *player's performance in a match* which would make some queries much easier to write. The new model looks like this:
image::{{<siteurl>}}/uploads/2014/02/2014-02-12_23-37-28.png[2014 02 12 23 37 28,600]
== The tube
The final example is modelling the London tube although this could apply to any transport system. Our initial model of part of the Northern Line might look like this:
image::{{<siteurl>}}/uploads/2014/02/2014-02-12_23-59-46.png[2014 02 12 23 59 46,600]
This model works really well and my colleague Rik has http://blog.bruggen.com/2013/11/meet-this-tubular-graph.html[written a blog post showing the queries you could write against it].
However, it's missing the concept of a platform which means if we want to create a routing application which takes into account the amount of time it takes to move between different
If we introduce a node to represent the different platforms in a station we can introduce that type of information:
image::{{<siteurl>}}/uploads/2014/02/2014-02-13_00-04-06.png[2014 02 13 00 04 06,600]
In each of these examples we've effectively normalised our model by introducing an extra concept which means it looks more complicated.
The benefit of this approach across all three examples is that it allows us to answer more complicated questions of our data which in my experience are the really interesting questions.
As always, let me know what you think in the comments. | null | null | [
0.02764901891350746,
-0.020150229334831238,
-0.002666856162250042,
0.04839520528912544,
0.0676073282957077,
-0.013350505381822586,
0.018750978633761406,
0.040497053414583206,
0.024974508211016655,
-0.017109021544456482,
-0.012461315840482712,
-0.016634374856948853,
-0.07538948208093643,
0.02671041339635849,
-0.0174067672342062,
0.07541286200284958,
0.03731074556708336,
0.023250587284564972,
0.0023121172562241554,
-0.021844452247023582,
0.04179110378026962,
0.05942901223897934,
-0.0016228833701461554,
0.047848865389823914,
0.054833803325891495,
-0.001415951643139124,
0.028214430436491966,
-0.0024031084030866623,
-0.03683672472834587,
0.00829548854380846,
0.04176561161875725,
-0.003263718681409955,
0.005607389844954014,
-0.023606183007359505,
0.013908238150179386,
-0.03021932579576969,
-0.04896235093474388,
0.01624773070216179,
-0.01104754488915205,
-0.013177072629332542,
-0.05354858562350273,
0.05755150318145752,
-0.03863579407334328,
0.019817210733890533,
-0.05901673808693886,
0.013037684373557568,
-0.07474101334810257,
0.03854425996541977,
0.015464979223906994,
0.00651856604963541,
-0.10455720871686935,
0.03641892969608307,
-0.0004907440743409097,
0.017457524314522743,
0.012317114509642124,
0.04810182750225067,
0.005563145969063044,
-0.08073306083679199,
0.024601709097623825,
-0.01735088974237442,
0.0007209210889413953,
-0.013507148250937462,
-0.006552268285304308,
0.008440036326646805,
-0.012940952554345131,
-0.04093075171113014,
0.004374760668724775,
0.06698527932167053,
-0.03658197447657585,
-0.010611346922814846,
-0.005738451145589352,
-0.0013982228701934218,
0.014094186946749687,
-0.010561433620750904,
0.003587784245610237,
-0.04797445610165596,
0.009580354206264019,
0.05826198309659958,
0.032182130962610245,
0.03820960968732834,
-0.027657466009259224,
0.017675209790468216,
-0.01093355193734169,
0.027597200125455856,
-0.003678747219964862,
-0.04054487124085426,
-0.028103431686758995,
-0.024699272587895393,
-0.0534895583987236,
0.06233580410480499,
0.011821187101304531,
-0.07364663481712341,
0.009770955890417099,
-0.009543661959469318,
-0.030842971056699753,
-0.0028406730853021145,
0.016738543286919594,
0.0028442884795367718,
-0.01126729417592287,
-0.03284958004951477,
-0.010715820826590061,
-0.032276783138513565,
-0.001752968761138618,
0.011191985569894314,
-0.08060774207115173,
-0.03808008134365082,
-0.020785126835107803,
-0.016209669411182404,
0.024772673845291138,
-0.032787423580884933,
-0.019627371802926064,
-0.006059738341718912,
-0.03821466863155365,
-0.0017666214844211936,
-0.06587152928113937,
0.05301995947957039,
0.01985872909426689,
-0.012420544400811195,
-0.027098895981907845,
0.02588799223303795,
0.030321143567562103,
0.014949934557080269,
0.0023795415181666613,
0.07225937396287918,
0.00712771387770772,
0.0182978305965662,
0.008440989069640636,
0.04146505519747734,
-0.06801484525203705,
-0.08098185807466507,
-0.017803965136408806,
0.0628826841711998,
-0.009372400119900703,
0.0015587565721943974,
0.003912436310201883,
-0.07500585913658142,
0.006721009500324726,
0.013117802329361439,
0.040260955691337585,
0.0180301982909441,
-0.002547843847423792,
-0.039516013115644455,
0.020995136350393295,
0.013601276092231274,
0.02646571211516857,
-0.007789570838212967,
-0.01942165568470955,
-0.01812526024878025,
0.0038694816175848246,
0.004305851645767689,
0.014388292096555233,
0.015158592723309994,
0.03243206813931465,
-0.037298355251550674,
0.015757329761981964,
0.10552376508712769,
0.043805573135614395,
0.019477834925055504,
-0.01258572842925787,
0.017142275348305702,
0.043603915721178055,
0.013859342783689499,
0.0056439233012497425,
0.040340133011341095,
0.004587856121361256,
-0.023718049749732018,
-0.0033539917785674334,
0.04913846403360367,
-0.005084575619548559,
0.0012480770237743855,
-0.056656818836927414,
-0.05077134072780609,
0.06592895835638046,
-0.03714994341135025,
-0.018755799159407616,
0.0820850133895874,
0.07228349149227142,
0.024621840566396713,
0.04621683061122894,
0.028586825355887413,
-0.07691548764705658,
0.04847995564341545,
-0.002118514385074377,
0.005255624186247587,
0.011110003106296062,
-0.021327106282114983,
0.06959522515535355,
0.04195212572813034,
-0.017693180590867996,
0.04049694165587425,
-0.10614268481731415,
-0.059722475707530975,
-0.012746735475957394,
-0.0039040669798851013,
0.05902651697397232,
-0.03471221774816513,
0.01388659980148077,
0.08023326098918915,
0.018402623012661934,
0.0495685413479805,
0.027515007182955742,
0.00289900042116642,
0.020550573244690895,
-0.03444651514291763,
-0.06658781319856644,
0.040559496730566025,
0.014340661466121674,
-0.028620300814509392,
-0.04865821450948715,
0.02638537809252739,
-0.014657600782811642,
-0.007298063021153212,
0.04734570533037186,
-0.014952536672353745,
0.02279766835272312,
0.035283610224723816,
0.037431713193655014,
-0.006861890200525522,
0.02371719665825367,
-0.06404376029968262,
0.017053689807653427,
0.01650027371942997,
-0.031079314649105072,
0.012446201406419277,
-0.010212384164333344,
0.12663134932518005,
0.052967965602874756,
-0.01609039306640625,
-0.04736386984586716,
0.03312647342681885,
0.03899167478084564,
-0.014141401275992393,
0.020707860589027405,
-0.019186552613973618,
0.0106621403247118,
-0.0015222284710034728,
-0.055842895060777664,
-0.02932162582874298,
0.027603309601545334,
-0.04725386202335358,
0.014066476374864578,
0.06354304403066635,
-0.02338162437081337,
0.05075695738196373,
-0.018377652391791344,
0.004957123193889856,
-0.00872783362865448,
-0.03649508208036423,
-0.0626467689871788,
0.04785478115081787,
0.0142454719170928,
-0.0051025403663516045,
0.0397590734064579,
-0.023517509922385216,
-0.02493450604379177,
-0.04213835671544075,
-0.003972984850406647,
0.03866450861096382,
0.05921399965882301,
0.059927184134721756,
0.0017231000820174813,
0.03740871325135231,
-0.029126467183232307,
0.02279944159090519,
-0.02793354168534279,
-0.050816651433706284,
-0.035560283809900284,
-0.06243437901139259,
0.01722479611635208,
-0.003022452350705862,
0.036942142993211746,
-0.02687060460448265,
0.024538999423384666,
0.023622585460543633,
0.013030586764216423,
0.0011107644531875849,
0.02232252061367035,
-0.005386929959058762,
-0.017953528091311455,
-0.04013974592089653,
-0.03427940234541893,
0.06712240725755692,
-0.038606416434049606,
-0.051814932376146317,
0.00239257188513875,
-0.07662714272737503,
0.046228859573602676,
-0.04447538033127785,
-0.013643663376569748,
-0.010651174001395702,
0.020582150667905807,
0.04032585024833679,
0.01990794949233532,
-0.0012443101732060313,
0.057990044355392456,
0.040632154792547226,
0.02200155518949032,
0.015791133046150208,
0.005319392308592796,
0.043051451444625854,
-0.0015123753109946847,
0.029534172266721725,
0.04905877262353897,
-0.034389473497867584,
-0.003338123206049204,
-0.036634959280490875,
0.034296151250600815,
-0.028889106586575508,
-0.28574520349502563,
0.034373484551906586,
0.00864091981202364,
-0.03754148259758949,
0.004206973128020763,
-0.03748089820146561,
0.01635938324034214,
-0.019220666959881783,
-0.013549068942666054,
-0.009133674204349518,
-0.009413762018084526,
-0.039763156324625015,
-0.01803106814622879,
0.033542148768901825,
0.030050991103053093,
0.03567371517419815,
-0.01077397633343935,
-0.044929634779691696,
0.014726268127560616,
0.04261315241456032,
-0.011946098878979683,
-0.0468280203640461,
-0.014756398275494576,
0.01900184340775013,
0.00537633802741766,
0.03830303996801376,
-0.07639751583337784,
-0.013536304235458374,
-0.046402640640735626,
-0.013504906557500362,
0.02636757120490074,
-0.019581222906708717,
0.00001784023152140435,
-0.0048230476677417755,
-0.007387006655335426,
-0.03604911267757416,
0.07036688923835754,
0.02303839661180973,
-0.005706708412617445,
0.013576180674135685,
-0.040281593799591064,
-0.021484071388840675,
-0.0198993943631649,
-0.008326142095029354,
0.091657854616642,
0.01659250259399414,
-0.05509617552161217,
-0.0035805825609713793,
-0.031915083527565,
0.0634349063038826,
-0.03777836635708809,
-0.02420440874993801,
0.011881406418979168,
0.037490859627723694,
-0.02050832286477089,
-0.008298877626657486,
-0.014263146556913853,
0.005142490845173597,
-0.06688464432954788,
-0.04419218376278877,
-0.016212958842515945,
-0.05625808611512184,
0.026876861229538918,
-0.05270468816161156,
-0.01634432002902031,
-0.05368988215923309,
-0.07984800636768341,
-0.02562282234430313,
0.05202176794409752,
0.0323333665728569,
-0.01166259404271841,
0.020846864208579063,
-0.007277847733348608,
-0.09475279599428177,
-0.014508986845612526,
-0.02179982326924801,
0.004259547684341669,
0.008701037615537643,
0.010433625429868698,
0.020279599353671074,
-0.017992034554481506,
-0.049062423408031464,
-0.00012084619811503217,
0.02732728235423565,
0.030153846368193626,
-0.026083672419190407,
0.03577188402414322,
-0.012124782428145409,
-0.020733360201120377,
-0.0027719459030777216,
0.056734684854745865,
-0.006092501804232597,
-0.01074922550469637,
-0.000760638271458447,
-0.011610899120569229,
0.006440439727157354,
0.030859533697366714,
-0.03419079631567001,
0.0007122365059331059,
0.05918198451399803,
0.03379688784480095,
-0.046548761427402496,
0.004497029818594456,
-0.01663435995578766,
-0.03784189745783806,
0.005813830066472292,
-0.029983513057231903,
0.028510088101029396,
0.032747115939855576,
0.004634920507669449,
-0.005762504879385233,
-0.04097212478518486,
0.0035717617720365524,
-0.03650210425257683,
-0.049043286591768265,
-0.03316226974129677,
0.01035012025386095,
0.03318296745419502,
0.017291298136115074,
-0.034010522067546844,
-0.05330582335591316,
0.05727170780301094,
0.021873990073800087,
0.014629635959863663,
-0.07278211414813995,
-0.019395437091588974,
-0.02506970427930355,
-0.024219395592808723,
0.0026524115819483995,
0.019781092181801796,
-0.02505384013056755,
0.019294222816824913,
0.013956872746348381,
-0.0340365506708622,
0.05006379634141922,
0.015448302030563354,
-0.03979543223977089,
-0.025089070200920105,
0.018146399408578873,
-0.016144076362252235,
-0.005646734964102507,
0.014501846395432949,
0.010652117431163788,
0.042979754507541656,
0.05942375585436821,
0.009575694799423218,
0.013789337128400803,
0.0024436444509774446,
0.008610716089606285,
0.017454538494348526,
-0.02076752670109272,
-0.03550374135375023,
0.019185233861207962,
-0.03792313113808632,
-0.008944187313318253,
-0.007688666228204966,
0.024969860911369324,
-0.018134692683815956,
-0.033861905336380005,
-0.019017159938812256,
0.025621842592954636,
-0.041915372014045715,
-0.025607673451304436,
-0.0040800427086651325,
0.0021604381036013365,
0.06262480467557907,
-0.017508087679743767,
-0.005320386495441198,
-0.010013806633651257,
-0.02786654606461525,
0.013043268583714962,
-0.005673861131072044,
-0.016053859144449234,
-0.00044637135579250753,
-0.013339842669665813,
-0.009025338105857372,
0.009287270717322826,
0.016839472576975822,
0.044269487261772156,
0.03252645209431648,
-0.03690909594297409,
-0.007026896346360445,
0.02580472081899643,
0.018407460302114487,
0.06078026816248894,
0.04326198622584343,
-0.02645072154700756,
0.0162758007645607,
-0.021217985078692436,
0.0006395617965608835,
-0.0024710926227271557,
0.013070924207568169,
-0.023939842358231544,
-0.003274123417213559,
-0.03173669055104256,
-0.06730683147907257,
0.03399083390831947,
-0.021410135552287102,
0.012853977270424366,
0.020397936925292015,
0.015099376440048218,
0.006239569280296564,
-0.03485465794801712,
0.049184881150722504,
0.039233751595020294,
-0.05501088872551918,
-0.010468494147062302,
0.0047384402714669704,
-0.03679317981004715,
0.014040330424904823,
0.004705801606178284,
-0.028249243274331093,
-0.019989164546132088,
-0.02693101391196251,
0.029471591114997864,
-0.03125585988163948,
-0.03245611861348152,
-0.024356743320822716,
0.02580014057457447,
0.02005789615213871,
0.015085859224200249,
-0.014982693828642368,
-0.004986136686056852,
-0.007302604615688324,
-0.02492547407746315,
0.03311515226960182,
-0.011180419474840164,
0.014351669698953629,
-0.011047696694731712,
-0.020815107971429825,
0.022916553542017937,
-0.022952362895011902,
0.02134518325328827,
0.020998427644371986,
-0.022071313112974167,
0.018488809466362,
-0.04508662223815918,
0.032263774424791336,
0.02777370624244213,
0.04478249326348305,
-0.008133708499372005,
-0.021671922877430916,
-0.04439383000135422,
-0.002019633073359728,
-0.007475106045603752,
0.027460802346467972,
-0.01042397040873766,
0.016062255948781967,
0.006112105678766966,
0.03346044570207596,
0.005642377305775881,
0.02834848128259182,
-0.012134192511439323,
-0.011107515543699265,
0.040287721902132034,
-0.04068053141236305,
-0.021887795999646187,
-0.008951012045145035,
-0.04886896163225174,
0.006190638989210129,
0.008361347950994968,
0.01935967244207859,
-0.04231483116745949,
0.023465005680918694,
0.05878793075680733,
0.03229322284460068,
0.040478091686964035,
-0.0035600464325398207,
0.03618427366018295,
-0.02203536219894886,
0.005449989344924688,
-0.07429525256156921,
-0.00450593838468194,
0.04904484003782272,
0.013053348287940025,
-0.006114366929978132,
0.005442130845040083,
-0.02794216386973858,
0.004329396411776543,
-0.06949976831674576,
-0.03749709948897362,
0.020317934453487396,
-0.019649570807814598,
0.00539789441972971,
0.025089601054787636,
-0.060189489275217056,
0.024194521829485893,
0.03905027359724045,
-0.04252883791923523,
-0.04394252970814705,
-0.0308332871645689,
0.048114046454429626,
-0.03520001471042633,
0.02505258470773697,
-0.001016497379168868,
-0.014319008216261864,
0.060820162296295166,
0.04288570582866669,
0.029600810259580612,
0.04689260944724083,
-0.012544697150588036,
0.033888623118400574,
0.022014692425727844,
-0.012431464157998562,
0.010980060324072838,
0.03443590924143791,
-0.03252581134438515,
-0.05798780545592308,
0.050815630704164505,
0.008165434934198856,
-0.02602202259004116,
-0.055372729897499084,
0.07488997280597687,
0.012617972679436207,
-0.04492595046758652,
-0.03947058320045471,
0.029935888946056366,
-0.024468034505844116,
0.0032351231202483177,
-0.03264787420630455,
-0.0067343213595449924,
-0.037756629288196564,
0.0591730922460556,
-0.007658648304641247,
0.003031456144526601,
0.09184177964925766,
-0.006310758646577597,
-0.005651967599987984,
0.003277771407738328,
0.09199140965938568,
0.08969230949878693,
0.06840759515762329,
-0.0011290314141660929,
0.07941391319036484,
0.01269850879907608,
-0.031423117965459824,
-0.005780383944511414,
-0.015369916334748268,
-0.008159526623785496,
0.002572332974523306,
0.008324677124619484,
0.08160089701414108,
-0.03534543514251709,
0.05267472565174103,
-0.026686524972319603,
-0.015334241092205048,
0.01605767011642456,
0.0038734222762286663,
0.028681684285402298,
0.05481141060590744,
0.024173667654395103,
0.03246666118502617,
-0.03392837941646576,
-0.01883857138454914,
0.020908297970891,
-0.004097638186067343,
-0.02920318767428398,
0.05407017841935158,
-0.022031264379620552,
0.006234063301235437,
-0.012076889164745808,
0.040244534611701965,
0.08069746941328049,
-0.042416445910930634,
-0.02383040450513363,
-0.01809994876384735,
0.006319896783679724,
-0.0012204358354210854,
0.017105812206864357,
-0.010810059495270252,
-0.01617957465350628,
-0.030563974753022194,
-0.03470047190785408,
-0.027831392362713814,
-0.03335634246468544,
-0.0384015291929245,
0.01794716715812683,
-0.009898209013044834,
-0.03429008647799492,
-0.008117806166410446,
-0.0014596552355214953,
-0.03624739870429039,
-0.03648139536380768,
-0.03732101991772652,
-0.05637936666607857,
-0.0793011412024498,
-0.015345499850809574,
0.006912461016327143,
-0.004592006094753742,
-0.04068879783153534,
-0.02232220210134983,
-0.019663531333208084,
-0.012783520855009556,
0.07738841325044632,
-0.04286519065499306,
0.0001540229859529063,
0.014540574513375759,
0.02611304633319378,
0.0325053445994854,
0.00834933202713728,
0.034619566053152084,
-0.013426714576780796,
0.010325661860406399,
-0.02555304393172264,
0.022324925288558006,
0.029426854103803635,
0.028262658044695854,
-0.012028750963509083,
-0.09028802812099457,
-0.00029988671303726733,
0.02465694770216942,
-0.05510619655251503,
-0.08378420025110245,
0.02642347291111946,
0.05910961702466011,
0.010692116804420948,
0.04361307621002197,
-0.028343401849269867,
-0.023325951769948006,
-0.034756794571876526,
0.013779099099338055,
0.0026733598206192255,
0.023979326710104942,
0.04085360839962959,
-0.019646063446998596,
0.07633386552333832,
0.037488896399736404,
-0.033111535012722015,
-0.02419857308268547,
-0.0099222082644701,
-0.012716722674667835,
0.012673142366111279,
-0.05730775371193886,
-0.010775137692689896,
-0.02942706272006035,
-0.0796053409576416,
-0.05967924743890762,
0.029084015637636185,
-0.022798676043748856,
-0.039066676050424576,
-0.0012688551796600223,
0.009569322690367699,
-0.02138313464820385,
0.013901250436902046,
-0.04917721822857857,
0.02982746809720993,
-0.024633288383483887,
-0.001505824620835483,
-0.050305500626564026,
0.003152041230350733,
0.004766643978655338,
0.013609149493277073,
-0.0007716156542301178,
-0.05712905153632164,
-0.014612593688070774,
-0.017661649733781815,
0.013843502849340439,
-0.002291315235197544,
0.020653383806347847,
0.014274010434746742
] | [
-0.03405788913369179,
0.021842876449227333,
-0.03311619907617569,
-0.030978988856077194,
0.0752488449215889,
-0.028366120532155037,
0.010686855763196945,
0.012728217989206314,
0.021589195355772972,
-0.028226302936673164,
0.028722485527396202,
-0.0816713199019432,
0.015976879745721817,
-0.01710878498852253,
0.05488346517086029,
0.002580502536147833,
-0.011460769921541214,
-0.06431558728218079,
-0.002399060409516096,
0.05013987049460411,
-0.02350381761789322,
-0.016179334372282028,
-0.03569023311138153,
-0.004930352792143822,
0.022722367197275162,
0.018054157495498657,
0.04662536084651947,
-0.018512820824980736,
-0.037796199321746826,
-0.21943040192127228,
0.0222430732101202,
0.014480534940958023,
0.03552408516407013,
0.019378716126084328,
0.017699403688311577,
0.000059717476688092574,
0.053854573518037796,
-0.026720188558101654,
0.018789609894156456,
0.022350402548909187,
-0.008695692755281925,
-0.006017698440700769,
-0.025616377592086792,
-0.024824557825922966,
0.04615439474582672,
0.020465243607759476,
-0.015305733308196068,
-0.026618054136633873,
-0.03267141804099083,
-0.020584460347890854,
-0.029070373624563217,
-0.007973304018378258,
-0.012137097306549549,
0.008844736963510513,
-0.007559460122138262,
0.07586508989334106,
0.039276305586099625,
0.043183334171772,
0.014612399972975254,
0.03820125013589859,
0.01632283814251423,
0.025579245761036873,
-0.13736416399478912,
0.06516389548778534,
0.013525858521461487,
0.04405292123556137,
-0.06226007267832756,
-0.00018938456196337938,
-0.010650692507624626,
0.09626949578523636,
0.004010762553662062,
-0.039649587124586105,
-0.037317726761102676,
0.03740644454956055,
0.012571639381349087,
0.005009593907743692,
-0.007012542802840471,
0.03880055621266365,
0.013602782040834427,
-0.03333931788802147,
-0.08400911837816238,
0.03125068172812462,
-0.015054460614919662,
-0.0009519557934254408,
-0.045446284115314484,
0.02783309668302536,
-0.02975854091346264,
-0.0009180088527500629,
0.004570568911731243,
0.01095145009458065,
0.025693325325846672,
0.027742499485611916,
0.018609484657645226,
0.013073617592453957,
-0.11692926287651062,
-0.02475578896701336,
-0.01737181283533573,
-0.00108448532409966,
-0.03686957061290741,
0.450372576713562,
0.011177384294569492,
-0.009297201409935951,
0.07283366471529007,
0.03315324708819389,
-0.01091711688786745,
-0.02089119516313076,
0.01120395865291357,
-0.07814445346593857,
0.005822839681059122,
-0.02760169468820095,
-0.013884490355849266,
-0.008506490848958492,
0.015167871490120888,
-0.06442905217409134,
0.015408944338560104,
0.024356883019208908,
0.022999977692961693,
0.03414204344153404,
-0.01063888892531395,
-0.021000955253839493,
-0.03129664808511734,
0.040405530482530594,
0.0298807043582201,
0.013403099030256271,
0.0035340595059096813,
0.01674528978765011,
-0.010893882252275944,
0.06495770812034607,
0.0467304103076458,
0.011862768791615963,
0.028413597494363785,
0.0003833733790088445,
-0.069135881960392,
0.008887575939297676,
-0.00884307362139225,
-0.006337846629321575,
0.0027301653753966093,
-0.01718771643936634,
-0.019386423751711845,
0.06707514077425003,
0.019346127286553383,
-0.035261932760477066,
0.02458631992340088,
0.011224931105971336,
-0.06360438466072083,
0.13875286281108856,
0.00012810161570087075,
-0.024915622547268867,
-0.039651479572057724,
-0.009504583664238453,
0.01886749267578125,
0.04511399567127228,
0.006465400569140911,
-0.07313213497400284,
-0.019147679209709167,
0.020463597029447556,
0.06566192954778671,
-0.03076537884771824,
-0.08534710854291916,
-0.0018727582646533847,
-0.011876494623720646,
-0.026812512427568436,
-0.05506611987948418,
0.05847107991576195,
0.05378923937678337,
-0.13352923095226288,
0.0031347754411399364,
0.01659477688372135,
0.0019021970219910145,
-0.06987842172384262,
0.01332556176930666,
0.024755384773015976,
-0.019610531628131866,
0.018422404304146767,
0.03651328384876251,
0.0016780066071078181,
-0.025610117241740227,
-0.03205734118819237,
0.03970338776707649,
-0.006832098588347435,
-0.016131427139043808,
0.010991355404257774,
-0.03930900618433952,
0.008194510824978352,
-0.05176926776766777,
-0.0453508123755455,
-0.06180448830127716,
0.01485325675457716,
-0.02409578301012516,
-0.026428306475281715,
-0.01672859489917755,
-0.0016345259500667453,
-0.051705580204725266,
0.0691726803779602,
-0.06039198860526085,
-0.021611999720335007,
-0.028305234387516975,
-0.03319281339645386,
-0.01964554935693741,
-0.019913719967007637,
-0.04497665539383888,
0.033021967858076096,
-0.015383249148726463,
0.01310567744076252,
-0.08204741775989532,
0.03967525064945221,
0.05899245664477348,
-0.03333929181098938,
0.06279541552066803,
0.014347828924655914,
-0.024272974580526352,
-0.043531790375709534,
-0.03227311372756958,
-0.008297299034893513,
-0.015300130471587181,
0.018336789682507515,
0.00783591903746128,
0.004893525969237089,
0.01695595309138298,
0.04831665754318237,
-0.016795678064227104,
-0.009381474927067757,
0.010985402390360832,
-0.34160858392715454,
-0.04912806674838066,
-0.0023435247130692005,
0.014006559737026691,
0.019335635006427765,
-0.04382340982556343,
0.021176449954509735,
-0.009581584483385086,
0.010502522811293602,
0.057899635285139084,
0.07769972831010818,
0.02812027744948864,
-0.026158783584833145,
-0.06228223443031311,
0.003835775423794985,
0.03430783003568649,
-0.03616410493850708,
-0.0014197223354130983,
-0.05048476159572601,
0.03034110926091671,
-0.007914576679468155,
-0.016345517709851265,
-0.029338238760828972,
-0.036391060799360275,
0.03216369077563286,
-0.023775894194841385,
0.11570747941732407,
0.008563282899558544,
0.010268233716487885,
-0.038084544241428375,
-0.0025995424948632717,
0.014602293260395527,
-0.01119884941726923,
-0.07684884965419769,
0.02324102818965912,
-0.023222927004098892,
-0.004942582454532385,
0.0006801275885663927,
0.022684603929519653,
-0.040183283388614655,
-0.07836902141571045,
-0.009784169495105743,
-0.030804462730884552,
-0.032463669776916504,
-0.04969865828752518,
0.04885406047105789,
-0.010458133183419704,
-0.03507423400878906,
-0.02085537277162075,
0.09083487838506699,
0.026274167001247406,
0.027672236785292625,
0.04025175794959068,
0.012463492341339588,
-0.004186464473605156,
-0.040240366011857986,
-0.09191006422042847,
0.0011767827672883868,
-0.019136689603328705,
0.013184201903641224,
0.0311458557844162,
-0.0034451691899448633,
0.03406503424048424,
-0.08972405642271042,
0.027879809960722923,
-0.008842932991683483,
-0.003955900203436613,
-0.018230611458420753,
0.005977268796414137,
-0.023352518677711487,
0.011025720275938511,
0.1041935384273529,
0.009000100195407867,
0.02707540988922119,
0.055120814591646194,
0.03990483656525612,
0.0018057774286717176,
0.025709645822644234,
0.019694525748491287,
0.019393134862184525,
0.04708927497267723,
-0.06117671728134155,
0.06949884444475174,
-0.012687611393630505,
0.035034067928791046,
0.049925513565540314,
0.017998799681663513,
-0.046010732650756836,
0.055325884371995926,
0.022920185700058937,
-0.01836918480694294,
-0.020749446004629135,
-0.04989614710211754,
-0.024074262008070946,
0.046584971249103546,
-0.03891343995928764,
-0.24998028576374054,
0.01701422594487667,
0.053259387612342834,
0.08563613891601562,
0.030772829428315163,
0.017145439982414246,
0.02317117527127266,
0.001289426814764738,
-0.018859349191188812,
-0.013696602545678616,
0.029469942674040794,
0.044710323214530945,
0.023135870695114136,
-0.009458904154598713,
-0.02647598274052143,
-0.015941748395562172,
0.0329340323805809,
-0.014046994969248772,
0.005332666449248791,
0.011676380410790443,
0.042102329432964325,
-0.030811389908194542,
0.16572441160678864,
0.026013510301709175,
0.022230807691812515,
0.0436655655503273,
0.0038490165024995804,
-0.02177060768008232,
0.03920242190361023,
-0.020276673138141632,
0.005221296101808548,
0.018589116632938385,
0.030198926106095314,
0.03541799634695053,
0.015925446525216103,
-0.051122501492500305,
0.007452698424458504,
0.048260029405355453,
0.01148210372775793,
-0.029019668698310852,
0.005886127706617117,
0.01991467922925949,
-0.05008568987250328,
0.006672415882349014,
0.046647921204566956,
0.03647550567984581,
-0.002682705642655492,
0.004504645708948374,
-0.056301020085811615,
-0.009333259426057339,
-0.012992102652788162,
-0.06320957094430923,
-0.03299586847424507,
0.015227288007736206,
0.044248320162296295,
0.06074567139148712,
0.03165554627776146,
-0.02764248102903366,
0.024980096146464348,
0.0011326869716867805,
-0.011813025921583176,
0.002488961908966303,
0.08945820480585098,
-0.0009729940793476999,
0.006576618645340204
] | [
-0.008320747874677181,
0.021276375278830528,
0.018045753240585327,
0.017756575718522072,
0.04587261751294136,
0.03799232840538025,
-0.00023508995946031064,
-0.009105009026825428,
0.021992307156324387,
0.004958553705364466,
0.000377981283236295,
-0.02143300324678421,
0.03977533057332039,
0.017566416412591934,
0.058271802961826324,
0.01578693836927414,
-0.009810988791286945,
-0.02142311818897724,
0.029565365985035896,
0.007391516584903002,
-0.04429013282060623,
-0.06254212558269501,
-0.011353235691785812,
-0.007123652845621109,
-0.011519948951900005,
0.0056492723524570465,
-0.01937437802553177,
-0.0008576239342801273,
-0.014878646470606327,
-0.1292635202407837,
-0.021950360387563705,
-0.044502854347229004,
0.03631487116217613,
0.05828225612640381,
-0.04577973484992981,
-0.002261002315208316,
0.025527451187372208,
0.03945491835474968,
0.018542008474469185,
-0.01284040603786707,
-0.026424599811434746,
-0.00548251997679472,
0.01678306609392166,
0.005160102620720863,
0.013850641436874866,
0.04116960987448692,
-0.0033068000338971615,
0.003939756657928228,
-0.004082011990249157,
-0.02812594547867775,
-0.05487959086894989,
-0.050921302288770676,
0.014955929480493069,
-0.002801961963996291,
0.04812294617295265,
-0.010953162796795368,
-0.03686310723423958,
-0.014516095630824566,
0.004927617032080889,
-0.013893801718950272,
0.04695063829421997,
-0.021614929661154747,
-0.057179614901542664,
-0.02590491995215416,
-0.014281362295150757,
-0.04554024338722229,
-0.015635360032320023,
0.022108862176537514,
0.012400105595588684,
0.006390751805156469,
-0.02888583019375801,
0.02189072221517563,
-0.04027556627988815,
-0.0033967955969274044,
-0.003837868105620146,
0.05419284850358963,
0.023426134139299393,
0.003991110250353813,
0.01656162552535534,
-0.013710874132812023,
-0.05583481118083,
0.017649266868829727,
-0.005112736485898495,
-0.011990639381110668,
0.008795993402600288,
0.0032806620001792908,
-0.008572732098400593,
-0.033131226897239685,
0.009076367132365704,
0.012664337642490864,
-0.043333232402801514,
0.021092813462018967,
0.02073851227760315,
0.0256220530718565,
-0.0629659965634346,
0.0408814363181591,
0.00884310994297266,
-0.01595156639814377,
-0.017237145453691483,
0.824457585811615,
0.04869582876563072,
0.009158975444734097,
0.0070374878123402596,
-0.0009977779118344188,
0.02303609438240528,
-0.019341817125678062,
-0.008323613554239273,
0.019488168880343437,
-0.03202298656105995,
-0.04141983017325401,
0.038869697600603104,
0.027121469378471375,
-0.01777600683271885,
0.025602230802178383,
0.014962797984480858,
0.012561642564833164,
0.008324380964040756,
0.017069688066840172,
0.0064268410205841064,
0.03598223254084587,
-0.028334563598036766,
0.012766077183187008,
-0.01591697335243225,
-0.01899656653404236,
0.008840861730277538,
-0.18880052864551544,
-0.009383978322148323,
-7.139436938748151e-33,
0.0592479333281517,
-0.011104419827461243,
0.021547095850110054,
0.0062199183739721775,
-0.0063638282008469105,
0.011644606478512287,
0.009156439453363419,
0.005780329927802086,
-0.030994703993201256,
-0.03345918282866478,
-0.037272751331329346,
0.008416634984314442,
0.041226912289857864,
-0.027867892757058144,
0.005549965891987085,
-0.026929108425974846,
-0.027200080454349518,
0.003177968319505453,
0.01348520815372467,
0.012300006113946438,
0.014972969889640808,
0.021253157407045364,
-0.008517355658113956,
0.013640434481203556,
-0.003624530043452978,
0.023994645103812218,
-0.0008595854742452502,
-0.010843433439731598,
0.02404499053955078,
-0.020456526428461075,
-0.006770061329007149,
0.0421106293797493,
0.00005942618736298755,
0.02969403751194477,
-0.012920668348670006,
-0.019209548830986023,
-0.008148234337568283,
0.012811598367989063,
-0.017699822783470154,
-0.020100519061088562,
-0.02097843959927559,
-0.008555510081350803,
-0.01952234096825123,
-0.02345624938607216,
-0.07394468039274216,
-0.00385949551127851,
0.014672970399260521,
-0.014974089339375496,
0.004005492199212313,
-0.007936147972941399,
0.04768817871809006,
-0.027860987931489944,
-0.01717681810259819,
-0.019796069711446762,
-0.03277451545000076,
0.012420587241649628,
0.0010104381944984198,
0.016134655103087425,
-0.007044696249067783,
-0.0063910349272191525,
0.0217999629676342,
-0.011186663992702961,
0.005069290287792683,
0.023323561996221542,
0.0026194052770733833,
0.026697803288698196,
-0.01292148232460022,
-0.036399759352207184,
0.0020675731357187033,
-0.04647768661379814,
-0.04133714735507965,
0.03369107097387314,
-0.0035678709391504526,
-0.006763739511370659,
0.036526795476675034,
-0.010903572663664818,
-0.0021499425638467073,
-0.009759651497006416,
-0.020075282081961632,
0.04875141382217407,
-0.0248089749366045,
0.008767933584749699,
-0.01878540962934494,
-0.028910275548696518,
-0.044919297099113464,
-0.028259024024009705,
0.03876100108027458,
0.026935935020446777,
-0.015276025980710983,
0.04924430698156357,
0.034684520214796066,
0.017202606424689293,
-0.04091878607869148,
0.018083889037370682,
0.039710864424705505,
7.032368505171442e-33,
0.0028495488222688437,
0.0019088259432464838,
0.0018610722618177533,
-0.022477731108665466,
0.06484168022871017,
-0.01783270388841629,
0.055489033460617065,
0.026143958792090416,
-0.050144970417022705,
0.04586503654718399,
0.010176384821534157,
-0.022208822891116142,
-0.023162435740232468,
0.048701416701078415,
0.02193777821958065,
-0.04980584606528282,
0.011608164757490158,
-0.0504453144967556,
0.013202563859522343,
0.017033182084560394,
0.021848129108548164,
-0.017357325181365013,
0.026610516011714935,
0.0258807223290205,
-0.00139898422639817,
0.055149614810943604,
-0.010570256039500237,
-0.009159358218312263,
-0.00024374201893806458,
-0.0040492401458323,
-0.004097049590200186,
-0.03543553873896599,
0.0026391425635665655,
-0.02016455866396427,
-0.008417947217822075,
0.016444532200694084,
-0.04812395200133324,
-0.036165397614240646,
0.03528933599591255,
-0.019357649609446526,
0.015976373106241226,
0.01773197390139103,
-0.034511227160692215,
0.05200668424367905,
0.013592537492513657,
0.01035243645310402,
0.015387020073831081,
-0.03248661383986473,
0.01022797916084528,
0.03388142213225365,
0.018425321206450462,
0.0139637915417552,
0.013712894171476364,
-0.008132098242640495,
-0.006035095080733299,
-0.031121594831347466,
-0.0003867845516651869,
0.031508419662714005,
-0.01760222390294075,
0.014438006095588207,
-0.051450055092573166,
0.02283204346895218,
-0.04426952451467514,
0.013039845041930676,
-0.012883538380265236,
0.009662508033216,
-0.05989094451069832,
0.01792680099606514,
0.010039465501904488,
0.010309133678674698,
-0.013496758416295052,
-0.0030430355109274387,
-0.02153039164841175,
0.006121956743299961,
0.02665466070175171,
-0.022891441360116005,
-0.03703155368566513,
0.043120838701725006,
0.022462578490376472,
0.04616314545273781,
0.0005481855478137732,
-0.001466328976675868,
0.01746450737118721,
0.020203031599521637,
-0.003217486198991537,
0.007693013641983271,
-0.0023160481359809637,
0.023277325555682182,
0.029227400198578835,
0.012704956345260143,
0.0419335700571537,
-0.014689331874251366,
0.009917967952787876,
0.015446016564965248,
0.008784295059740543,
-1.2700424711908909e-8,
-0.07549793273210526,
0.006334134843200445,
-0.005480507388710976,
0.022131312638521194,
-0.00846020132303238,
0.03245019167661667,
0.038080837577581406,
-0.007470840122550726,
0.007664948236197233,
0.014550992287695408,
0.024193650111556053,
-0.010478582233190536,
0.0007641312549822032,
0.015439407899975777,
0.012493496760725975,
-0.04480099305510521,
-0.01865514926612377,
-0.03593305125832558,
0.03361062332987785,
0.051177382469177246,
0.011569731868803501,
-0.0010017218301072717,
-0.03798706829547882,
0.015712546184659004,
0.03239208087325096,
-0.024566497653722763,
-0.0261381883174181,
-0.08680922538042068,
-0.020840389654040337,
0.03140701353549957,
0.003302602795884013,
-0.043190136551856995,
-0.02885378524661064,
0.005903194658458233,
-0.01693671941757202,
-0.02444607764482498,
0.00781332142651081,
-0.036937084048986435,
-0.009225845336914062,
0.01194120291620493,
0.012233001179993153,
0.007583444472402334,
-0.03440357744693756,
-0.03239882364869118,
0.007144401781260967,
0.0292361993342638,
-0.017121080309152603,
-0.03684302046895027,
-0.007647285703569651,
-0.0451403446495533,
0.007931961677968502,
-0.002572137163951993,
-0.009481843560934067,
0.04319262132048607,
-0.022238334640860558,
0.029617445543408394,
0.021143097430467606,
-0.032037585973739624,
-0.018644219264388084,
-0.006237087771296501,
0.008546862751245499,
0.007231969852000475,
-0.02823956310749054,
-0.013617418706417084
] | neo4j-value-in-relationships-but-value-in-nodes-too | https://markhneedham.com/blog/2014/02/13/neo4j-value-in-relationships-but-value-in-nodes-too |
false | 2014-11-27 12:28:14 | Docker/Neo4j: Port forwarding on Mac OS X not working | [
"docker"
] | [
"Software Development"
] | Prompted by http://ognjenbubalo.blogspot.co.uk/2014/11/creating-graph-of-software-technologies.html[Ognjen Bubalo's excellent blog post] I thought it was about time I tried running Neo4j on a docker container on my Mac Book Pro to make it easier to play around with different data sets.
I got the container up and running by following Ognien's instructions and had the following ports forwarded to my host machine:
[source,bash]
----
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c62f8601e557 tpires/neo4j:latest "/bin/bash -c /launc About an hour ago Up About an hour 0.0.0.0:49153->1337/tcp, 0.0.0.0:49154->7474/tcp neo4j
----
This should allow me to access Neo4j on port 49154 but when I tried to access that host:port pair I got a connection refused message:
[source,bash]
----
$ curl -v http://localhost:49154
* Adding handle: conn: 0x7ff369803a00
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7ff369803a00) send_pipe: 1, recv_pipe: 0
* About to connect() to localhost port 49154 (#0)
* Trying ::1...
* Trying 127.0.0.1...
* Trying fe80::1...
* Failed connect to localhost:49154; Connection refused
* Closing connection 0
curl: (7) Failed connect to localhost:49154; Connection refused
----
My first thought was the maybe Neo4j hadn't started up correctly inside the container so I checked the logs:
[source,bash]
----
$ docker logs --tail=10 c62f8601e557
10:59:12.994 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@2edfbe28{/webadmin,jar:file:/usr/share/neo4j/system/lib/neo4j-server-2.1.5-static-web.jar!/webadmin-html,AVAILABLE}
10:59:13.449 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@192efb4e{/db/manage,null,AVAILABLE}
10:59:13.699 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@7e94c035{/db/data,null,AVAILABLE}
10:59:13.714 [main] INFO o.e.j.w.StandardDescriptorProcessor - NO JSP Support for /browser, did not find org.apache.jasper.servlet.JspServlet
10:59:13.715 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@3e84ae71{/browser,jar:file:/usr/share/neo4j/system/lib/neo4j-browser-2.1.5.jar!/browser,AVAILABLE}
10:59:13.807 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@4b6690b1{/,null,AVAILABLE}
10:59:13.819 [main] INFO o.e.jetty.server.ServerConnector - Started ServerConnector@495350f0{HTTP/1.1}{c62f8601e557:7474}
10:59:13.900 [main] INFO o.e.jetty.server.ServerConnector - Started ServerConnector@23ad0c5a{SSL-HTTP/1.1}{c62f8601e557:7473}
2014-11-27 10:59:13.901+0000 INFO [API] Server started on: http://c62f8601e557:7474/
2014-11-27 10:59:13.902+0000 INFO [API] Remote interface ready and available at [http://c62f8601e557:7474/]
----
Nope! It's up and running perfectly fine which suggested the problemw was with port forwarding.
I eventually found my way to Chris Jones' 'http://viget.com/extend/how-to-use-docker-on-os-x-the-missing-guide[How to use Docker on OS X: The Missing Guide]' which explained the problem:
____
The Problem: Docker forwards ports from the container to the host, which is boot2docker, not OS X. The Solution: Use the VM's IP address.
____
So to access Neo4j on my machine I need to use the VM's IP address rather than localhost. We can get the VM's IP address like so:
[source,bash]
----
$ boot2docker ip
The VM's Host only interface IP address is: 192.168.59.103
----
Let's strip out that surrounding text though:
[source,bash]
----
$ boot2docker ip 2> /dev/null
192.168.59.103
----
Now if we cURL using that IP instead:
[source,bash]
----
$ curl -v http://192.168.59.103:49154
* About to connect() to 192.168.59.103 port 49154 (#0)
* Trying 192.168.59.103...
* Adding handle: conn: 0x7fd794003a00
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fd794003a00) send_pipe: 1, recv_pipe: 0
* Connected to 192.168.59.103 (192.168.59.103) port 49154 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.30.0
> Host: 192.168.59.103:49154
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Type: application/json; charset=UTF-8
< Access-Control-Allow-Origin: *
< Content-Length: 112
* Server Jetty(9.0.5.v20130815) is not blacklisted
< Server: Jetty(9.0.5.v20130815)
<
{
"management" : "http://192.168.59.103:49154/db/manage/",
"data" : "http://192.168.59.103:49154/db/data/"
* Connection #0 to host 192.168.59.103 left intact
----
Happy days!
Chris has solutions to lots of other common problems people come across when using Docker with Mac OS X so it's worth http://viget.com/extend/how-to-use-docker-on-os-x-the-missing-guide[having a flick through his post]. | null | null | [
-0.030300991609692574,
-0.024561000987887383,
-0.0002806542324833572,
0.02039264887571335,
0.08272962272167206,
0.014252630062401295,
0.02408546768128872,
0.04464135318994522,
-0.005093943327665329,
-0.03283706679940224,
0.005596701055765152,
-0.009947208687663078,
-0.0740521252155304,
0.03327590227127075,
0.011862808838486671,
0.0452437549829483,
0.08102971315383911,
0.018188778311014175,
0.003810654627159238,
-0.008353755809366703,
0.025567378848791122,
0.029671886935830116,
-0.018159860745072365,
0.03207700327038765,
0.02088485285639763,
-0.007339530624449253,
-0.00250690383836627,
0.011173227801918983,
-0.0529288575053215,
-0.01689525879919529,
0.04478583484888077,
-0.01983339712023735,
0.018762920051813126,
-0.023078178986907005,
0.020900743082165718,
-0.009777515195310116,
-0.03169608488678932,
-0.003952716011554003,
-0.006761567201465368,
0.0038655181415379047,
-0.07963774353265762,
0.03642065078020096,
0.008508147671818733,
0.01925361156463623,
-0.013582747429609299,
0.017027461901307106,
-0.011987388134002686,
0.021302593871951103,
0.032218724489212036,
0.014363987371325493,
-0.11457352340221405,
0.02654290571808815,
-0.025623168796300888,
0.0069024465046823025,
0.02652006968855858,
0.03319425880908966,
0.023663664236664772,
-0.0744154304265976,
0.04370850697159767,
-0.03503946214914322,
-0.000008266191798611544,
0.008377188816666603,
0.015614734031260014,
0.004704134538769722,
-0.010095915757119656,
-0.03450740501284599,
-0.013002856634557247,
0.049165140837430954,
-0.03425635024905205,
0.008457457646727562,
0.014286531135439873,
0.03872038424015045,
-0.028526581823825836,
-0.0204227976500988,
0.021903011947870255,
-0.05502884089946747,
-0.016901513561606407,
0.024197500199079514,
0.050186626613140106,
0.07000524550676346,
-0.04225444048643112,
-0.004310199525207281,
0.03108377568423748,
0.026178637519478798,
0.005963226314634085,
-0.023873336613178253,
-0.02732826955616474,
0.0134188337251544,
-0.05115554481744766,
0.0616694875061512,
0.04866735637187958,
-0.041795071214437485,
0.003313364228233695,
-0.011956725269556046,
-0.002673799404874444,
0.030827876180410385,
-0.010545589029788971,
0.024414073675870895,
0.012999722734093666,
-0.001459748251363635,
-0.03539162874221802,
-0.015520184300839901,
-0.01669948548078537,
0.05098075047135353,
-0.06417200714349747,
0.000871083524543792,
-0.010723201557993889,
-0.03127897158265114,
-0.0018759529339149594,
0.0010708596091717482,
-0.02304835058748722,
0.014845320023596287,
-0.01714358665049076,
0.018806084990501404,
-0.10439962148666382,
0.07133051753044128,
0.018887106329202652,
-0.05170854553580284,
-0.00619962764903903,
0.003167024115100503,
0.02041049487888813,
0.036726776510477066,
-0.014478182420134544,
0.05560913681983948,
-0.027860481292009354,
0.008875086903572083,
-0.0015295663615688682,
0.04054243862628937,
-0.026452582329511642,
-0.0628621056675911,
-0.02830241434276104,
0.07702428847551346,
0.017078744247555733,
0.024574749171733856,
-0.025364086031913757,
-0.025791293010115623,
-0.016941066831350327,
0.016907574608922005,
0.040960583835840225,
0.0434495247900486,
-0.007076885085552931,
-0.053715575486421585,
0.018813371658325195,
0.021827800199389458,
0.028332078829407692,
0.0014488175511360168,
0.014787704683840275,
-0.0376446507871151,
-0.028110431507229805,
0.016969481483101845,
0.007784852292388678,
0.026874879375100136,
0.03927462175488472,
-0.019224317744374275,
0.008410709910094738,
0.08749303221702576,
0.032781101763248444,
0.03273444622755051,
-0.04677267000079155,
0.006351669318974018,
0.036879923194646835,
0.020743325352668762,
0.009872626513242722,
0.0519491508603096,
0.03191995993256569,
-0.012211264111101627,
-0.013146854005753994,
0.04714294895529747,
-0.0005808068672195077,
0.016838831827044487,
-0.030512379482388496,
-0.060755405575037,
0.0549868643283844,
-0.03979570046067238,
0.01487965602427721,
0.031364575028419495,
0.06825695186853409,
0.011080962605774403,
0.028079738840460777,
-0.0045195454731583595,
-0.07793082296848297,
0.061725303530693054,
0.008797886781394482,
0.03164193034172058,
0.022477351129055023,
-0.007454706821590662,
0.05576949566602707,
0.028739314526319504,
0.0007569302106276155,
0.03972683846950531,
-0.08513050526380539,
-0.0985603779554367,
-0.0026893613394349813,
-0.0015142473857849836,
0.05917518958449364,
-0.0218594279140234,
-0.028436953201889992,
0.049411341547966,
0.00997011736035347,
0.007928786799311638,
-0.01202454324811697,
-0.003615777241066098,
0.05328761786222458,
-0.08238143473863602,
-0.07027912884950638,
0.05647164583206177,
0.017933718860149384,
-0.05558905377984047,
-0.0544750913977623,
0.02006388083100319,
-0.055480241775512695,
-0.015675557777285576,
0.01699763722717762,
-0.04868382215499878,
0.055748824030160904,
0.012304048985242844,
0.030481474474072456,
-0.030487079173326492,
0.0375790148973465,
-0.03436632081866264,
0.02369796670973301,
0.012433633208274841,
0.012871873565018177,
0.02359589748084545,
-0.01191673893481493,
0.08908826112747192,
0.06268616020679474,
-0.0036936935503035784,
-0.06517109274864197,
0.049847714602947235,
0.02404974214732647,
-0.025940924882888794,
0.0040965876542031765,
-0.012391297146677971,
-0.012781346216797829,
0.007081297691911459,
-0.022256959229707718,
-0.02467629685997963,
-0.0011232293909415603,
-0.026470448821783066,
-0.014113492332398891,
0.057066112756729126,
-0.03768802806735039,
0.06441324204206467,
0.023161593824625015,
-0.005103869829326868,
0.012201263569295406,
-0.05357559770345688,
-0.05214748904109001,
-0.001940466114319861,
0.02193392440676689,
-0.0023333709686994553,
0.04157399386167526,
-0.025179361924529076,
0.0030697938054800034,
-0.04283097758889198,
-0.050176605582237244,
0.03894413635134697,
0.02748674526810646,
0.052953433245420456,
-0.010518071241676807,
0.06642153114080429,
-0.056763917207717896,
0.02656508982181549,
-0.009781415574252605,
-0.0481676310300827,
-0.05006856471300125,
-0.01970377378165722,
0.019979795441031456,
-0.0048048486933112144,
0.016716135665774345,
-0.01630234345793724,
0.038787417113780975,
-0.040995750576257706,
0.03344324603676796,
-0.009261857718229294,
0.025731448084115982,
-0.012583321891725063,
0.03791298717260361,
-0.03602823242545128,
-0.003097494598478079,
0.0660865306854248,
-0.08266204595565796,
0.0020110169425606728,
0.003521278966218233,
-0.07154534012079239,
0.027632256969809532,
-0.06423240154981613,
-0.024219980463385582,
-0.019217083230614662,
0.03139308840036392,
0.040296830236911774,
0.026741497218608856,
0.011148827150464058,
0.06222867593169212,
0.020380889996886253,
0.008155882358551025,
0.015414953231811523,
-0.013033838011324406,
0.04909598082304001,
-0.009875980205833912,
0.013803220354020596,
0.016802923753857613,
-0.0319199338555336,
-0.0182036142796278,
-0.049402620643377304,
0.011062432080507278,
-0.026686839759349823,
-0.26786482334136963,
0.05822382867336273,
-0.019351575523614883,
-0.0490606315433979,
-0.001828561071306467,
-0.027226658537983894,
0.008048939518630505,
-0.031263429671525955,
-0.008609605953097343,
-0.007455991581082344,
-0.0436796173453331,
-0.02522386610507965,
-0.011964760720729828,
0.02743825502693653,
0.012940853834152222,
0.02230275422334671,
0.01682250387966633,
-0.054266635328531265,
0.0023402979131788015,
-0.02320745959877968,
-0.017052771523594856,
-0.020439714193344116,
0.013105436228215694,
0.00434813043102622,
0.01061941497027874,
0.04525911808013916,
-0.07836291193962097,
0.05864870548248291,
-0.039589155465364456,
-0.018312517553567886,
-0.0017862209351733327,
-0.014313430525362492,
-0.0017027020221576095,
0.017222102731466293,
-0.026977507397532463,
-0.0018447478068992496,
0.02672685869038105,
-0.021336369216442108,
0.020968027412891388,
0.000488814024720341,
-0.052811555564403534,
-0.05411037057638168,
-0.015695583075284958,
-0.01938442885875702,
0.07792580127716064,
-0.031139008700847626,
-0.0750432163476944,
-0.011591577902436256,
-0.025357529520988464,
0.09826325625181198,
-0.046864356845617294,
-0.03356323391199112,
-0.026812337338924408,
0.012854402884840965,
-0.017805278301239014,
-0.003577744122594595,
-0.047701817005872726,
-0.016487866640090942,
-0.05652204528450966,
-0.03232760354876518,
-0.013652808964252472,
-0.023917585611343384,
-0.004972551017999649,
-0.0470706932246685,
-0.039840783923864365,
-0.03962574899196625,
-0.07483299821615219,
-0.0470394492149353,
0.05719459429383278,
0.019308481365442276,
-0.008144788444042206,
0.036331258714199066,
-0.020430542528629303,
-0.11110800504684448,
-0.02800055593252182,
-0.017031734809279442,
-0.040595393627882004,
0.00874321348965168,
0.007811601273715496,
0.03597989305853844,
-0.029740359634160995,
-0.032128769904375076,
-0.016592206433415413,
0.03098367713391781,
0.007779156323522329,
-0.0024901486467570066,
0.028628284111618996,
-0.021582698449492455,
-0.008100781589746475,
0.005327091086655855,
0.06855665147304535,
-0.040543247014284134,
-0.0398050881922245,
-0.0224840696901083,
-0.019695691764354706,
0.007670488208532333,
-0.022284725680947304,
0.020768357440829277,
-0.0015892279334366322,
0.04731978848576546,
0.05673892796039581,
-0.04603723809123039,
-0.012162775732576847,
-0.02654304914176464,
-0.015534862875938416,
-0.0281666349619627,
-0.043511319905519485,
0.03370419517159462,
0.011019693687558174,
0.023624230176210403,
0.017566993832588196,
-0.0243742223829031,
0.04205070436000824,
-0.06744585931301117,
-0.00013195919746067375,
0.007888030260801315,
0.01430677529424429,
0.042256612330675125,
0.05752009153366089,
-0.012533795088529587,
-0.045131124556064606,
0.03455584868788719,
0.03930104896426201,
-0.025865117087960243,
-0.043519649654626846,
-0.024199936538934708,
-0.010294828563928604,
-0.02814628928899765,
0.02021922543644905,
0.016185205429792404,
-0.028502972796559334,
0.03728597238659859,
0.07494629919528961,
-0.014643379487097263,
0.028270399197936058,
-0.04377138987183571,
-0.031229795888066292,
-0.034844957292079926,
0.023495759814977646,
0.01908230409026146,
-0.0231450367718935,
0.01907370053231716,
-0.024136440828442574,
0.036873046308755875,
0.04548550769686699,
0.029992617666721344,
0.010933379642665386,
0.012272868305444717,
0.021919559687376022,
0.008506238460540771,
-0.008488517254590988,
-0.044530630111694336,
0.018828988075256348,
-0.03385491669178009,
-0.03136760741472244,
-0.004404359497129917,
0.06445825845003128,
0.012980572879314423,
-0.0381225124001503,
-0.02131843939423561,
0.026894336566329002,
-0.07628500461578369,
-0.002924558473750949,
0.010817033238708973,
-0.016271525993943214,
0.051659755408763885,
-0.018629608675837517,
0.015227874740958214,
0.00038729049265384674,
-0.031054168939590454,
0.010225805453956127,
0.024975957348942757,
-0.02720521204173565,
0.00029707030626013875,
0.0010552371386438608,
-0.0009432188235223293,
0.004469185136258602,
0.04372696951031685,
0.05317612737417221,
0.006340761203318834,
-0.004465464968234301,
-0.013150069862604141,
0.028378520160913467,
0.0256515983492136,
0.03957825154066086,
0.023569073528051376,
-0.022775599732995033,
-0.008670559152960777,
0.0005628117942251265,
0.005334142129868269,
-0.015821119770407677,
-0.0009527961374260485,
-0.0016088848933577538,
0.023193061351776123,
-0.01840142160654068,
-0.0495774932205677,
0.06204795464873314,
0.008875462226569653,
0.003577169729396701,
0.026210755109786987,
-0.0035257525742053986,
0.01643369160592556,
-0.05155455693602562,
0.04837126284837723,
0.051289815455675125,
-0.0454668328166008,
-0.030469080433249474,
-0.008770297281444073,
0.022629389539361,
0.012172022834420204,
0.02451295219361782,
-0.06365889310836792,
-0.014360041357576847,
0.0016074680024757981,
0.026904413476586342,
-0.041511137038469315,
-0.06588143110275269,
-0.004855685867369175,
0.009815163910388947,
-0.0012425871100276709,
0.024759359657764435,
0.012977253645658493,
-0.01723760925233364,
-0.02343416027724743,
-0.013308325782418251,
0.056694697588682175,
-0.038985755294561386,
-0.00753773981705308,
0.00035518428194336593,
-0.013642479665577412,
0.0014223371399566531,
-0.018195094540715218,
0.03783771023154259,
0.013067418709397316,
0.00041621411219239235,
-0.0027638820465654135,
-0.04120380058884621,
0.03286208212375641,
-0.009942363947629929,
0.05134636163711548,
0.007724604103714228,
-0.005443644244223833,
-0.045957695692777634,
0.013743119314312935,
-0.01651887781918049,
0.0036513519007712603,
-0.00585176469758153,
-0.0057383570820093155,
0.022622963413596153,
0.017176834866404533,
0.0037405884359031916,
0.0035560510586947203,
-0.006610435899347067,
-0.05041002482175827,
0.05564083904027939,
-0.060491692274808884,
-0.03949816897511482,
0.008520958945155144,
-0.0679328590631485,
0.020610904321074486,
0.003758107777684927,
0.014022991061210632,
-0.05630284920334816,
0.08089651167392731,
0.06594198942184448,
0.015777667984366417,
0.041813164949417114,
-0.00004662548235501163,
0.026275785639882088,
-0.02374599687755108,
-0.03612838312983513,
-0.09287230670452118,
0.032558005303144455,
0.022038031369447708,
-0.04766931012272835,
0.0006292278994806111,
-0.0002006655849982053,
-0.022593922913074493,
0.006184278521686792,
-0.06393621861934662,
-0.04026610404253006,
0.034843217581510544,
-0.018221024423837662,
-0.007508256938308477,
0.006277963053435087,
-0.06071225926280022,
0.027275050058960915,
0.04193853586912155,
-0.0364137627184391,
-0.0206880122423172,
-0.016466686502099037,
0.037689872086048126,
-0.014850107952952385,
0.037794504314661026,
-0.02733529545366764,
-0.05749373137950897,
0.0891784131526947,
0.028273118659853935,
0.02286384627223015,
0.048304423689842224,
-0.015454805456101894,
0.0436958484351635,
0.020807884633541107,
-0.023926129564642906,
0.00009651394066167995,
0.025235222652554512,
-0.043582431972026825,
-0.04494236782193184,
0.029838625341653824,
0.01660042442381382,
-0.0449393093585968,
-0.04049861431121826,
0.036325111985206604,
-0.0174870602786541,
-0.04503016173839569,
-0.026316458359360695,
0.048321012407541275,
-0.03126084804534912,
-0.04253489896655083,
-0.04778313264250755,
0.00539631862193346,
-0.04835958406329155,
0.019938098266720772,
0.00409208657220006,
0.0357963964343071,
0.0610007680952549,
0.0011350252898409963,
-0.01211837213486433,
0.027586234733462334,
0.10179580003023148,
0.09690035134553909,
-0.009385865181684494,
0.025753334164619446,
0.07574385404586792,
0.00004706858453573659,
-0.017065146937966347,
-0.023874841630458832,
-0.026937266811728477,
-0.03888640180230141,
-0.01661537028849125,
0.002969048684462905,
0.0640074834227562,
-0.03708214312791824,
0.05962343513965607,
-0.012833836488425732,
0.004153320100158453,
-0.011234693229198456,
0.00880506169050932,
0.03686157986521721,
0.023682931438088417,
0.03120703436434269,
0.03299231454730034,
-0.011834421195089817,
-0.047554269433021545,
0.001717127626761794,
0.005525958724319935,
-0.027048449963331223,
0.008189155720174313,
-0.004712569992989302,
0.003833640366792679,
0.021898457780480385,
0.020308218896389008,
0.07312080264091492,
-0.01921180821955204,
0.004520041402429342,
0.022590896114706993,
0.06213223934173584,
-0.009663783945143223,
0.015011192299425602,
0.005038480740040541,
-0.016621094197034836,
-0.01553433109074831,
-0.019159546121954918,
0.0019305438036099076,
-0.02441646344959736,
-0.013027207925915718,
0.003042080206796527,
-0.020862288773059845,
-0.01336637232452631,
0.014084765687584877,
-0.030501101166009903,
0.009806683287024498,
-0.02682296372950077,
-0.03295109048485756,
-0.06387214362621307,
-0.05980807542800903,
-0.01995927467942238,
-0.006524607539176941,
-0.0034515392035245895,
-0.01593751646578312,
0.014403315261006355,
-0.0014859213260933757,
-0.032000552862882614,
0.04895348101854324,
-0.048872072249650955,
0.00542005430907011,
-0.0016422708285972476,
0.009881535544991493,
0.02091900445520878,
0.01344529539346695,
0.05369669571518898,
0.020064331591129303,
0.021258097141981125,
-0.013483633287250996,
0.022033346816897392,
0.04489298537373543,
-0.004823189228773117,
-0.0005555686075240374,
-0.08549675345420837,
0.00043253417243249714,
0.01828782446682453,
0.019593555480241776,
-0.06322852522134781,
0.004816316533833742,
0.026364943012595177,
0.017259720712900162,
0.05056188628077507,
-0.01811354048550129,
-0.014502434059977531,
-0.04108399152755737,
-0.0037612710148096085,
-0.01530003547668457,
-0.02976532280445099,
0.02590632624924183,
0.011107462458312511,
0.0670335441827774,
0.04758971557021141,
-0.021043822169303894,
0.008139283396303654,
-0.00027230719570070505,
0.018334295600652695,
0.028326286002993584,
-0.0471968874335289,
-0.0436176136136055,
-0.018551768735051155,
-0.09793279320001602,
-0.03398643806576729,
-0.00011608120985329151,
-0.006640546023845673,
-0.021881770342588425,
0.030999423936009407,
0.009497754275798798,
-0.028120987117290497,
0.01819632388651371,
-0.03525882959365845,
-0.007194490171968937,
-0.009972796775400639,
-0.025349881500005722,
-0.006350838579237461,
-0.011267642490565777,
0.021357394754886627,
-0.016117742285132408,
0.03803950175642967,
-0.051333583891391754,
-0.005985600873827934,
-0.028927698731422424,
0.03774038702249527,
0.04984299838542938,
0.028624309226870537,
0.01335009653121233
] | [
-0.03297156095504761,
-0.05362936109304428,
-0.027961524203419685,
-0.028152460232377052,
0.07033161073923111,
-0.06232132390141487,
-0.048645149916410446,
0.03207288682460785,
-0.020570268854498863,
-0.011141368187963963,
0.041091516613960266,
-0.03009023144841194,
0.012239760719239712,
0.008992967195808887,
0.054659321904182434,
0.022959314286708832,
-0.0418010875582695,
-0.08966468274593353,
-0.006070807110518217,
0.06729789823293686,
-0.048183415085077286,
-0.033365361392498016,
-0.013343180529773235,
-0.08080384880304337,
-0.03868187963962555,
0.06359081715345383,
0.04601535573601723,
-0.01970577798783779,
-0.022938257083296776,
-0.21472696959972382,
-0.014339582994580269,
-0.012863420881330967,
-0.0071509056724607944,
0.00013461208436638117,
0.030294155701994896,
0.015986012294888496,
0.05492919310927391,
-0.04317667335271835,
0.021738503128290176,
0.029593976214528084,
0.027636386454105377,
-0.006708609871566296,
-0.055560775101184845,
0.03510342910885811,
0.05262467637658119,
0.0053297290578484535,
-0.010698998346924782,
-0.00707973400130868,
0.026126522570848465,
-0.036252569407224655,
-0.02255374938249588,
0.012840460054576397,
-0.0015519260196015239,
-0.033815912902355194,
0.00027389361639507115,
0.04068263620138168,
0.02673019841313362,
0.05320319905877113,
0.018712792545557022,
0.03167823702096939,
0.03181314095854759,
0.014119021594524384,
-0.13444313406944275,
0.10087072849273682,
0.03931078314781189,
-0.005391179583966732,
-0.05294246971607208,
0.006631065160036087,
-0.017550136893987656,
0.04381566867232323,
0.023590724915266037,
-0.024200953543186188,
-0.0679883137345314,
0.08631964027881622,
-0.01138522382825613,
0.03875269740819931,
-0.008533536456525326,
0.03502076864242554,
0.0585300587117672,
-0.03827529400587082,
-0.020713798701763153,
0.0015152511186897755,
-0.04594651982188225,
-0.006385897286236286,
-0.058092426508665085,
0.027377378195524216,
-0.049598515033721924,
0.06745947152376175,
-0.011200835928320885,
0.040816858410835266,
0.0028449096716940403,
0.01616465114057064,
0.07910413295030594,
0.006843626964837313,
-0.09727739542722702,
-0.0017291849944740534,
0.02182425558567047,
0.007972967810928822,
-0.02934662625193596,
0.3679005205631256,
0.02525021880865097,
-0.00892583280801773,
0.008285781368613243,
0.05876368656754494,
0.023646675050258636,
-0.011506806127727032,
0.018996883183717728,
-0.05908236280083656,
0.046816788613796234,
-0.009983622469007969,
0.01965438760817051,
-0.045281168073415756,
0.05664745718240738,
-0.0748964175581932,
0.0030601625330746174,
0.004424215294420719,
0.0024134020786732435,
0.02742627263069153,
-0.050755515694618225,
0.027413398027420044,
-0.05192370340228081,
0.011898400261998177,
0.05925743654370308,
0.028752485290169716,
0.03009624034166336,
0.005240635946393013,
0.0029988831374794245,
0.03124852105975151,
-0.005797539837658405,
0.019664792343974113,
0.04382860288023949,
-0.013510548509657383,
-0.04170669987797737,
0.025952449068427086,
0.004202512092888355,
0.006218728143721819,
0.016954973340034485,
-0.05557822063565254,
-0.0038489571306854486,
0.036919381469488144,
-0.03781729191541672,
-0.02836306393146515,
0.006283172871917486,
-0.0008991564973257482,
-0.022489875555038452,
0.06062065437436104,
0.01085730642080307,
-0.01284625194966793,
-0.012293159030377865,
-0.03432626649737358,
0.010702683590352535,
0.019870055839419365,
-0.008717299439013004,
-0.05607663094997406,
-0.03396199271082878,
-0.0021195514127612114,
0.0853576511144638,
0.02007247693836689,
-0.08716990053653717,
0.018494606018066406,
-0.02472788468003273,
-0.03064926341176033,
-0.033689118921756744,
0.08159390091896057,
0.043424297124147415,
-0.11506513506174088,
-0.0015835694503039122,
0.046586643904447556,
-0.005495660938322544,
-0.059181321412324905,
-0.01034034974873066,
0.014401348307728767,
-0.018605200573801994,
-0.04025644809007645,
0.05254553630948067,
-0.04051211476325989,
0.009378943592309952,
-0.015953429043293,
0.05826828256249428,
0.013001695275306702,
-0.016470402479171753,
0.018998127430677414,
-0.022875197231769562,
-0.028666531667113304,
-0.039846956729888916,
-0.07629223167896271,
-0.08771345019340515,
0.03438936173915863,
-0.041409604251384735,
-0.049436524510383606,
-0.03371310606598854,
-0.012870398350059986,
-0.061031125485897064,
0.09890244156122208,
-0.011423853226006031,
-0.054646577686071396,
-0.0016324789030477405,
-0.0007238408434204757,
0.008621327579021454,
-0.0452575646340847,
0.07856108248233795,
0.020608847960829735,
0.0033857354428619146,
0.04968316853046417,
-0.08443894982337952,
0.008889497257769108,
0.06213584542274475,
-0.009639117866754532,
0.060898713767528534,
0.02825893647968769,
-0.08344227075576782,
0.023112766444683075,
0.005783386528491974,
0.016831060871481895,
-0.008874405175447464,
-0.01262174267321825,
0.0016029613325372338,
0.010221293196082115,
0.0246796403080225,
0.0358160026371479,
-0.020416615530848503,
0.021152313798666,
-0.042185135185718536,
-0.3343336284160614,
-0.03614328056573868,
-0.016367271542549133,
0.006398330442607403,
0.04178018122911453,
-0.020010223612189293,
0.0346749871969223,
-0.027196062728762627,
-0.0017272542463615537,
0.010839779861271381,
0.09755410254001617,
-0.029285889118909836,
0.034082911908626556,
-0.09222783148288727,
0.010582753457129002,
0.03552348166704178,
-0.00022877258015796542,
0.009334399364888668,
0.0029259324073791504,
-0.0011175324907526374,
0.000009408410733158235,
-0.05343940109014511,
-0.04779600352048874,
-0.00932142324745655,
-0.014799267053604126,
0.008880939334630966,
0.09805997461080551,
0.002108197659254074,
0.027598503977060318,
-0.04628212749958038,
0.04939045011997223,
0.05220977962017059,
-0.015999428927898407,
-0.10136524587869644,
-0.027303794398903847,
0.0080032330006361,
0.0499475933611393,
0.03379936143755913,
0.001374342362396419,
0.032659925520420074,
-0.05609116703271866,
-0.0023598060943186283,
-0.03857613354921341,
-0.059422172605991364,
-0.01540856622159481,
-0.01442266907542944,
0.0004667402245104313,
0.01839841529726982,
-0.02750522829592228,
0.046722330152988434,
-0.017300914973020554,
0.03270421177148819,
-0.026119086891412735,
0.01052890531718731,
0.010036585852503777,
-0.023967674002051353,
-0.0658617913722992,
-0.021209703758358955,
0.042390044778585434,
0.05319952219724655,
0.027126679196953773,
0.07937189191579819,
0.011921757832169533,
-0.07878054678440094,
-0.0007564067491330206,
0.022777503356337547,
-0.036815471947193146,
0.006404660176485777,
0.04639036953449249,
-0.04584233835339546,
0.013139055110514164,
0.11643368750810623,
0.038741499185562134,
0.059122852981090546,
0.06075359508395195,
0.026996921747922897,
-0.01214417815208435,
0.000987430801615119,
0.039298683404922485,
-0.005719923414289951,
0.008547015488147736,
-0.04077860340476036,
0.08198251575231552,
-0.024275781586766243,
-0.008135134354233742,
0.07116537541151047,
-0.00460965046659112,
-0.018975982442498207,
0.051654644310474396,
0.009530807845294476,
-0.04529167711734772,
0.001696344348601997,
-0.029605619609355927,
-0.06633705645799637,
0.07450685650110245,
0.008965103887021542,
-0.2504795491695404,
0.04032280668616295,
0.017834367230534554,
0.0586388036608696,
-0.014753575436770916,
0.003796530654653907,
0.03984885290265083,
-0.010199214331805706,
-0.014175336807966232,
0.01588122360408306,
0.016620129346847534,
0.04096510633826256,
-0.03336066007614136,
-0.007701814640313387,
0.013358325697481632,
-0.005443231202661991,
-0.0011703792260959744,
0.003975172992795706,
0.008790353313088417,
-0.017234712839126587,
0.030530322343111038,
-0.013561440631747246,
0.1556631326675415,
0.026709504425525665,
-0.012020285241305828,
0.044274743646383286,
-0.018951494246721268,
0.032521799206733704,
0.029873207211494446,
-0.008892171084880829,
-0.036988940089941025,
0.031004300341010094,
-0.011803478933870792,
0.0007621076656505466,
0.01308362279087305,
-0.04525990039110184,
-0.0012754823546856642,
0.032843124121427536,
0.04146311804652214,
-0.07605316489934921,
-0.034881241619586945,
0.027105914428830147,
-0.016429278999567032,
0.03406330943107605,
0.0581989623606205,
-0.03428903967142105,
-0.002938629360869527,
-0.019917508587241173,
-0.03702445328235626,
-0.026558632031083107,
-0.037631548941135406,
-0.07669924944639206,
0.01588931865990162,
-0.008934120647609234,
-0.003472353331744671,
0.08592795580625534,
0.0012629174161702394,
-0.04247458651661873,
0.0010005832882598042,
0.020541127771139145,
0.008258207701146603,
-0.08198458701372147,
0.13784117996692657,
-0.009525676257908344,
0.032427430152893066
] | [
0.03951007500290871,
0.05785312503576279,
-0.01346447505056858,
0.0008597440901212394,
0.019098429009318352,
-0.019658949226140976,
-0.015143530443310738,
0.007975577376782894,
-0.017183426767587662,
0.002578852465376258,
-0.028047723695635796,
0.01703655533492565,
0.036483895033597946,
0.021862896159291267,
-0.023314356803894043,
-0.006361679174005985,
0.014787356369197369,
0.0059960209764540195,
0.02429136633872986,
0.035495150834321976,
-0.06117303669452667,
-0.0031733200885355473,
0.04244493320584297,
-0.04337712749838829,
-0.01735099032521248,
0.01747499406337738,
-0.018150120973587036,
-0.003757236758247018,
0.015787987038493156,
-0.12290235608816147,
-0.004408800508826971,
-0.021124843508005142,
-0.012863320298492908,
-0.006197358015924692,
0.021590175107121468,
0.019909454509615898,
0.0653829500079155,
0.012310953810811043,
-0.05120338499546051,
0.02479688636958599,
0.04366279020905495,
-0.025341344997286797,
-0.018033882603049278,
-0.0017698421142995358,
-0.0023541823029518127,
-0.031701359897851944,
-0.04591335728764534,
-0.05453621223568916,
0.007727025542408228,
-0.0024967414792627096,
-0.056461066007614136,
-0.007428032346069813,
-0.01827746443450451,
0.009521101601421833,
-0.011564671993255615,
0.011634745635092258,
-0.030428174883127213,
0.009288139641284943,
0.03203532099723816,
0.002769476966932416,
0.04135875031352043,
-0.011736422777175903,
-0.05523637309670448,
-0.022346623241901398,
-0.004467118997126818,
-0.041640277951955795,
0.01669793762266636,
0.014823478646576405,
-0.02529861032962799,
0.045536793768405914,
0.0005729152471758425,
0.06115437299013138,
-0.06066284328699112,
-0.036630164831876755,
-0.028541669249534607,
0.05088948830962181,
0.04938889667391777,
-0.02445053495466709,
-0.030238831415772438,
0.023992331698536873,
-0.04674961417913437,
0.015516704879701138,
-0.0453074611723423,
-0.012117561884224415,
-0.06813286244869232,
0.04909694567322731,
-0.012919530272483826,
0.00041844433872029185,
0.011203721165657043,
-0.009221524931490421,
-0.03386470302939415,
0.0094655966386199,
-0.027542661875486374,
-0.010670622810721397,
-0.07742190361022949,
-0.03804890811443329,
0.0027450271882116795,
0.007269809488207102,
0.008759560994803905,
0.823358952999115,
0.002010455122217536,
-0.0028933780267834663,
0.008680104278028011,
-0.0030462979339063168,
0.010356658138334751,
-0.008268418721854687,
0.01421017199754715,
-0.009555554017424583,
-0.009691135957837105,
-0.006587324198335409,
-0.013504937291145325,
0.02325587347149849,
0.007990608923137188,
0.021680785343050957,
-0.0051689245738089085,
0.03283869847655296,
0.0006318062078207731,
-0.020409589633345604,
-0.013369068503379822,
0.03082864172756672,
0.028363553807139397,
0.01675894856452942,
0.01972479373216629,
0.022061144933104515,
-0.02970840595662594,
-0.1473408341407776,
0.01204591616988182,
-7.282456397676822e-33,
0.03476621210575104,
-0.027927430346608162,
0.049474623054265976,
0.006612916011363268,
0.045328494161367416,
0.02844162844121456,
-0.001724136178381741,
-0.01652456820011139,
-0.017812909558415413,
-0.030007503926753998,
-0.05873292312026024,
0.002467162674292922,
-0.008740678429603577,
-0.023977981880307198,
-0.007119020912796259,
-0.01254482101649046,
0.018523456528782845,
0.023169441148638725,
-0.011405191384255886,
0.011511973105370998,
0.024258796125650406,
0.016852805390954018,
-0.03957943990826607,
-0.006990202236920595,
0.031000226736068726,
0.01110734511166811,
0.0036536697298288345,
0.005839374382048845,
0.006387325935065746,
-0.045931145548820496,
-0.017911003902554512,
0.004626577254384756,
-0.02633211389183998,
-0.017466425895690918,
0.024953579530119896,
-0.07502903044223785,
-0.01910003460943699,
0.026686763390898705,
-0.03854481130838394,
-0.028419284150004387,
-0.0445125512778759,
-0.027873864397406578,
-0.025701317936182022,
-0.006041056010872126,
0.0016260183183476329,
-0.02852809987962246,
0.000993156572803855,
0.009773636236786842,
-0.003763832850381732,
0.017638463526964188,
0.019574085250496864,
-0.0011004857951775193,
-0.0184396393597126,
0.03620852530002594,
-0.03320549800992012,
-0.01888125389814377,
0.0016952587757259607,
0.00533404340967536,
-0.02821958251297474,
0.01283654011785984,
0.021622538566589355,
0.016408739611506462,
-0.009476360864937305,
0.0227529164403677,
0.04210881516337395,
0.02854851633310318,
0.008964109234511852,
0.06446482986211777,
-0.0032862075604498386,
0.07303214073181152,
-0.045986924320459366,
0.026550130918622017,
-0.01118277944624424,
0.004754894878715277,
0.036439500749111176,
-0.030796166509389877,
-0.0016573090106248856,
-0.00016267447790596634,
0.0008581199799664319,
0.05479944124817848,
-0.01677357777953148,
0.018386567011475563,
-0.013582035899162292,
-0.007999934256076813,
-0.027679063379764557,
-0.011361007578670979,
0.029166797176003456,
0.02170151099562645,
0.025182591751217842,
0.02413676120340824,
0.02298872359097004,
0.03686317056417465,
0.0045381393283605576,
-0.0458204448223114,
-0.04520953819155693,
6.289758030563123e-33,
-0.020870639011263847,
-0.0013316423865035176,
-0.038257695734500885,
0.009731022641062737,
0.013589343056082726,
-0.00628140801563859,
0.03769509866833687,
-0.01360991783440113,
-0.02275429479777813,
0.002042963169515133,
-0.01020965538918972,
-0.0008772913715802133,
0.021049125120043755,
0.04823684319853783,
0.03629336878657341,
-0.00459007965400815,
-0.006816419307142496,
-0.03568309545516968,
0.017756132408976555,
0.009951801970601082,
-0.005657522473484278,
0.016204696148633957,
0.00533547205850482,
0.025528399273753166,
0.005488323513418436,
0.021943651139736176,
0.03458193317055702,
-0.014873032458126545,
-0.035749539732933044,
-0.005845507141202688,
0.036070678383111954,
-0.030149003490805626,
0.0012875414686277509,
0.01502963900566101,
0.005908303894102573,
0.030707215890288353,
0.0023226053453981876,
0.03903796523809433,
0.010041184723377228,
-0.023296797648072243,
0.029126524925231934,
-0.015167060308158398,
-0.0342576764523983,
0.06012633442878723,
-0.03565075248479843,
0.029636085033416748,
0.006749504711478949,
-0.01357932761311531,
-0.01053835079073906,
0.021236812695860863,
-0.04075334966182709,
0.025509577244520187,
0.018559373915195465,
0.003634979948401451,
0.02764982171356678,
-0.054872386157512665,
-0.01677410863339901,
0.0314205028116703,
-0.013054798357188702,
0.04377790540456772,
0.02430065907537937,
-0.029720962047576904,
-0.01771501637995243,
0.03393612802028656,
-0.009878379292786121,
-0.01418345421552658,
-0.013338781893253326,
-0.008684067055583,
-0.01858207769691944,
-0.01693103089928627,
0.026122737675905228,
0.01816985011100769,
-0.018782444298267365,
0.039173051714897156,
-0.00020837652846239507,
-0.015250184573233128,
-0.014601591974496841,
-0.008826625533401966,
-0.03134530782699585,
0.04923517256975174,
-0.009573462419211864,
0.035781510174274445,
0.0029947911389172077,
-0.027879999950528145,
0.028109267354011536,
0.012615413405001163,
-0.02790749818086624,
0.005770948249846697,
-0.010136702097952366,
-0.022076278924942017,
0.03175192326307297,
-0.018062930554151535,
-0.07375040650367737,
0.04503907263278961,
-0.03959769755601883,
-1.2503866386737172e-8,
0.005718524567782879,
-0.019784241914749146,
0.0023594193626195192,
0.024137726053595543,
-0.023515107110142708,
0.028585974127054214,
-0.017534781247377396,
0.011397640220820904,
-0.03513772413134575,
0.026676397770643234,
-0.018048647791147232,
-0.031785812228918076,
0.006245824042707682,
-0.012916270643472672,
0.024705516174435616,
-0.013892128132283688,
0.014171862043440342,
-0.0033145686611533165,
0.0404883474111557,
-0.014260528609156609,
0.014480543322861195,
0.021817080676555634,
-0.007528243120759726,
0.005833268165588379,
-0.0439571775496006,
-0.03496113419532776,
0.02537287026643753,
-0.06336744874715805,
-0.02309703640639782,
-0.04217604547739029,
0.009744864888489246,
-0.015805786475539207,
-0.045854661613702774,
0.03365229815244675,
-0.013730381615459919,
-0.018680252134799957,
-0.0038666515611112118,
0.040047138929367065,
0.002216362627223134,
0.009499370120465755,
-0.0210992693901062,
-0.014948970638215542,
-0.03872894123196602,
-0.04771530628204346,
-0.03936231881380081,
0.024286791682243347,
-0.0019967847038060427,
0.004076399840414524,
0.01973356306552887,
-0.0007077507325448096,
0.022102467715740204,
0.004594040103256702,
0.05596629157662392,
0.022516533732414246,
0.06282707303762436,
0.02329280413687229,
-0.009916967712342739,
-0.034401360899209976,
-0.03766870126128197,
-0.011186569929122925,
0.009583704173564911,
0.04864104837179184,
-0.016662297770380974,
0.006551649887114763
] | dockerneo4j-port-forwarding-on-mac-os-x-not-working | https://markhneedham.com/blog/2014/11/27/dockerneo4j-port-forwarding-on-mac-os-x-not-working |
false | 2014-11-11 00:17:32 | R: dplyr - Sum for group_by multiple columns | [
"r-2"
] | [
"R"
] | Over the weekend I was playing around with dplyr and had the following data frame grouped by both columns:
[source,r]
----
> library(dplyr)
> data = data.frame(
letter = sample(LETTERS, 50000, replace = TRUE),
number = sample (1:10, 50000, replace = TRUE)
)
> data %>% count(letter, number) %>% head(20)
Source: local data frame [20 x 3]
Groups: letter
letter number n
1 A 1 184
2 A 2 192
3 A 3 183
4 A 4 193
5 A 5 214
6 A 6 172
7 A 7 196
8 A 8 198
9 A 9 174
10 A 10 196
11 B 1 212
12 B 2 198
13 B 3 194
14 B 4 181
15 B 5 203
16 B 6 234
17 B 7 221
18 B 8 179
19 B 9 182
20 B 10 170
----
I wanted to add an extra column which would show what percentage of the values for that letter each number had.
If we wrote that code standalone we'd have the following:
[source,r]
----
> data %>% count(letter)
Source: local data frame [26 x 2]
letter n
1 A 1902
2 B 1974
3 C 1911
4 D 1948
5 E 1888
6 F 1975
7 G 1914
8 H 1886
9 I 1910
10 J 1924
11 K 1974
12 L 1891
13 M 1894
14 N 1946
15 O 1956
16 P 1934
17 Q 1865
18 R 1992
19 S 1946
20 T 1854
21 U 1919
22 V 1913
23 W 1928
24 X 1934
25 Y 1908
26 Z 1914
----
We can also get that value by summing up the individual (letter, number) pairs from the previous data frame. The +++<cite>+++ungroup+++</cite>+++ function allows us to do so:
[source,r]
----
> data %>% count(letter, number) %>% ungroup %>% group_by(letter) %>% mutate(sum.n = sum(n)) %>% head(20)
Source: local data frame [20 x 4]
Groups: letter
letter number n sum.n
1 A 1 184 1902
2 A 2 192 1902
3 A 3 183 1902
4 A 4 193 1902
5 A 5 214 1902
6 A 6 172 1902
7 A 7 196 1902
8 A 8 198 1902
9 A 9 174 1902
10 A 10 196 1902
11 B 1 212 1974
12 B 2 198 1974
13 B 3 194 1974
14 B 4 181 1974
15 B 5 203 1974
16 B 6 234 1974
17 B 7 221 1974
18 B 8 179 1974
19 B 9 182 1974
20 B 10 170 1974
----
Pretty neat! | null | null | [
0.025088123977184296,
-0.023214612156152725,
-0.015415597707033157,
0.04512903094291687,
0.07110752165317535,
0.06014057993888855,
0.016156939789652824,
-0.02219303511083126,
0.013636070303618908,
-0.013573012314736843,
0.023523131385445595,
-0.010011833161115646,
-0.0669173076748848,
0.03371803089976311,
-0.047535285353660583,
0.06756168603897095,
0.07571816444396973,
-0.0003707742434926331,
-0.015807371586561203,
0.012435871176421642,
0.04747427999973297,
0.07099612802267075,
0.008923268876969814,
0.05275195091962814,
0.033344149589538574,
-0.015249969437718391,
0.042782049626111984,
-0.016537360846996307,
-0.023397304117679596,
0.038394004106521606,
0.04305421933531761,
0.022744016721844673,
0.0016993070021271706,
-0.012987635098397732,
0.014592093415558338,
-0.01937062293291092,
-0.005337952170521021,
-0.007888252846896648,
0.025520551949739456,
-0.023297181352972984,
-0.07758962363004684,
0.003445798298344016,
-0.03616506978869438,
0.011711109429597855,
-0.03947058692574501,
-0.0018287613056600094,
-0.07670347392559052,
0.030513165518641472,
-0.022240927442908287,
0.01700148731470108,
-0.04946368932723999,
0.020275546237826347,
0.0002531271311454475,
-0.06090250983834267,
0.0012110973475500941,
0.07365057617425919,
0.006151202600449324,
-0.04929264634847641,
0.029711516574025154,
-0.03535430133342743,
0.015339615754783154,
0.015790075063705444,
0.03601658716797829,
0.012109422124922276,
0.013249929063022137,
-0.016215037554502487,
-0.015848107635974884,
0.039575085043907166,
-0.02621188946068287,
-0.0014262357726693153,
-0.04655984416604042,
-0.030725358054041862,
-0.03771990165114403,
-0.045835886150598526,
0.0012345492141321301,
-0.046513691544532776,
-0.010230581276118755,
0.02183435671031475,
0.02574087493121624,
0.006054524797946215,
-0.02285882830619812,
-0.0204977598041296,
0.0017201084410771728,
-0.005232726689428091,
0.010569385252892971,
-0.033851709216833115,
-0.031763698905706406,
-0.05372731015086174,
-0.0732901319861412,
0.06488388776779175,
-0.031201818957924843,
-0.05145329236984253,
0.01854199729859829,
0.021096225827932358,
-0.04823095351457596,
-0.01227568555623293,
0.012217809446156025,
-0.009873650036752224,
0.012351812794804573,
-0.003874794580042362,
-0.06390579789876938,
-0.017380334436893463,
0.0573342964053154,
0.02487831749022007,
-0.0827227309346199,
0.013204740360379219,
-0.006755935959517956,
-0.008119126781821251,
0.0078468332067132,
-0.00819950457662344,
-0.011266499757766724,
0.014745590277016163,
-0.014122827909886837,
0.010078524239361286,
-0.04285171627998352,
0.07642413675785065,
0.0453767366707325,
-0.030001714825630188,
0.013018551282584667,
-0.01983260177075863,
0.03266081213951111,
0.017264585942029953,
0.0028165935073047876,
0.08499623090028763,
-0.013725584372878075,
0.030475733801722527,
0.013147025369107723,
0.036259450018405914,
-0.01863468624651432,
-0.06854782998561859,
-0.01996735855937004,
0.06444825232028961,
-0.04571358859539032,
0.0037931541446596384,
0.001362163107842207,
-0.04876858741044998,
-0.020809607580304146,
-0.012105804868042469,
0.04668183624744415,
0.013222389854490757,
0.015315399505198002,
0.02110927179455757,
-0.013471273705363274,
-0.005132731050252914,
0.04484829679131508,
0.03197822719812393,
0.010922488756477833,
-0.049507513642311096,
-0.05735594779253006,
-0.0034544167574495077,
0.03237944841384888,
0.01514133159071207,
0.07640577852725983,
-0.017916636541485786,
0.014961306937038898,
0.04915454238653183,
0.012936165556311607,
0.002064121887087822,
-0.007187794428318739,
0.007843999192118645,
0.012995309196412563,
0.03450395166873932,
0.039923448115587234,
0.04669976606965065,
0.0037696505896747112,
-0.027174031361937523,
0.015476606786251068,
0.050863973796367645,
-0.041143905371427536,
-0.013832628726959229,
-0.05501861125230789,
-0.06242058053612709,
0.048916045576334,
-0.03082737885415554,
-0.0033864143770188093,
0.007152973208576441,
0.07828536629676819,
0.06783723831176758,
0.03964270278811455,
-0.0020142467692494392,
-0.08331475406885147,
0.020498551428318024,
0.011278522200882435,
0.025209520012140274,
0.04735551401972771,
-0.03757116198539734,
0.0874360129237175,
0.038199491798877716,
0.04953368008136749,
0.04331589117646217,
-0.03300251066684723,
-0.05951898917555809,
-0.014306508004665375,
-0.00604857737198472,
0.03657905012369156,
-0.045515552163124084,
0.003696356201544404,
0.07942355424165726,
0.01600959524512291,
-0.005376311019062996,
-0.015233732759952545,
0.03754686564207077,
0.04706273227930069,
-0.017652807757258415,
-0.006811455357819796,
0.019828155636787415,
0.011899330653250217,
-0.0007113682804629207,
0.0022773731034249067,
0.022732490673661232,
-0.024207351729273796,
0.030670734122395515,
0.013647399842739105,
-0.031888555735349655,
0.025783590972423553,
0.012323442846536636,
0.06427033990621567,
0.027394991368055344,
0.02749999612569809,
-0.04320674389600754,
-0.011772967875003815,
-0.005627773702144623,
-0.03482131287455559,
-0.038187261670827866,
0.03363000974059105,
0.12085306644439697,
0.05970399081707001,
-0.028287047520279884,
-0.041228827089071274,
0.02271387167274952,
-0.01890963315963745,
-0.03587990254163742,
0.029510941356420517,
0.014775816351175308,
-0.022818654775619507,
0.03974417597055435,
-0.04850475490093231,
-0.03415815904736519,
0.02794620394706726,
-0.06370312720537186,
0.0035705463960766792,
0.05782776698470116,
0.004982069134712219,
0.03980765864253044,
0.012353128753602505,
-0.015192593447864056,
-0.015966322273015976,
-0.02126062847673893,
-0.07013366371393204,
-0.03053254820406437,
0.021663125604391098,
-0.014771316200494766,
0.014358722604811192,
-0.039507873356342316,
-0.009695530869066715,
-0.024577811360359192,
-0.015570446848869324,
0.006615432910621166,
0.07031604647636414,
0.038064248859882355,
-0.002620807383209467,
0.03647933155298233,
-0.007654792629182339,
-0.031031355261802673,
-0.026786141097545624,
-0.03304128348827362,
-0.05726555362343788,
-0.04387294873595238,
-0.002358614234253764,
-0.00295917596668005,
0.02913486585021019,
0.009149296209216118,
-0.009717687964439392,
0.0413062684237957,
0.019354499876499176,
-0.0007769354269839823,
0.05765542760491371,
-0.007818901911377907,
-0.03425336629152298,
-0.0073852017521858215,
0.0029414629098027945,
0.044771287590265274,
0.01586049608886242,
-0.030252644792199135,
0.013468518853187561,
-0.07212669402360916,
0.04545823484659195,
-0.031487781554460526,
-0.012993934564292431,
0.006879743188619614,
0.021346060559153557,
0.026620367541909218,
0.0335998572409153,
0.004665857180953026,
0.026892276480793953,
-0.019711611792445183,
0.02362619899213314,
0.031033702194690704,
0.009179746732115746,
0.038877107203006744,
0.013899578712880611,
-0.013169369660317898,
0.028905995190143585,
-0.012964406982064247,
-0.0016740491846576333,
-0.05180894955992699,
0.013300498947501183,
-0.014256798662245274,
-0.2545217275619507,
0.02417527511715889,
-0.014582322910428047,
-0.023453613743185997,
0.01820947229862213,
-0.04090716317296028,
0.024208301678299904,
-0.026309385895729065,
-0.013746843673288822,
0.009697872214019299,
0.011292760260403156,
-0.04093294218182564,
-0.031786952167749405,
0.04626750946044922,
0.03718942776322365,
0.00039865123108029366,
-0.0053288755007088184,
-0.024780472740530968,
0.012239278294146061,
0.05812098830938339,
0.047608572989702225,
-0.044149886816740036,
-0.027345258742570877,
0.07205444574356079,
0.03218866139650345,
0.06141078472137451,
-0.04830648750066757,
0.008425342850387096,
-0.05284398794174194,
-0.04011364281177521,
0.017596878111362457,
-0.019554371014237404,
0.03067033924162388,
-0.005047357641160488,
0.01319922972470522,
-0.021881328895688057,
0.039532843977212906,
0.011071302928030491,
0.005285297520458698,
0.024885078892111778,
-0.022432297468185425,
-0.013978082686662674,
0.03684014081954956,
-0.007445148658007383,
0.0716588944196701,
0.03444588556885719,
-0.05727670341730118,
0.025603128597140312,
-0.03452514857053757,
0.0896209254860878,
-0.013524132780730724,
0.010135984048247337,
-0.013450146652758121,
0.01946798339486122,
-0.03703175485134125,
-0.02535019814968109,
-0.049796972423791885,
0.013672608882188797,
-0.03746333718299866,
-0.045837122946977615,
-0.02040138468146324,
-0.007961486466228962,
0.005232919938862324,
-0.026550251990556717,
-0.02132815308868885,
-0.07268239557743073,
-0.09228133410215378,
0.01685372181236744,
0.07154156267642975,
0.02589835785329342,
-0.03680553287267685,
-0.008713687770068645,
-0.0025357806589454412,
-0.1019831970334053,
-0.0019249289762228727,
-0.015876075252890587,
-0.0245975311845541,
-0.029684146866202354,
-0.014468817971646786,
0.06536463648080826,
-0.05933871865272522,
-0.046544186770915985,
0.028144976124167442,
0.020646927878260612,
0.030149484053254128,
-0.027293164283037186,
0.0055686659179627895,
0.02235252410173416,
-0.048989035189151764,
-0.04411739483475685,
0.05640476197004318,
-0.04248928278684616,
0.005894545465707779,
0.013635057024657726,
-0.015176004730165005,
0.04324286803603172,
-0.012513553723692894,
0.01420500222593546,
0.03703281655907631,
0.02933734841644764,
0.020242467522621155,
-0.04565328732132912,
0.008744918741285801,
-0.09777212888002396,
-0.025594551116228104,
0.0007626194856129587,
-0.09561967849731445,
0.019250229001045227,
0.009739803150296211,
0.018513377755880356,
0.004417280200868845,
-0.024225903674960136,
0.032019563019275665,
-0.04515792056918144,
0.007841451093554497,
-0.016039172187447548,
-0.0024590669199824333,
0.026328425854444504,
0.005903789307922125,
0.01819101721048355,
-0.054230690002441406,
0.007396424654871225,
-0.022417718544602394,
-0.016288788989186287,
-0.034131161868572235,
-0.01841849833726883,
-0.0008194516994990408,
-0.006301474291831255,
-0.022570502012968063,
0.02467612735927105,
0.01317662838846445,
-0.005799994338303804,
0.032150328159332275,
-0.03365959972143173,
0.021901583299040794,
0.034657079726457596,
-0.07473478466272354,
-0.00819699838757515,
0.0008262110641226172,
0.03399166464805603,
-0.020815882831811905,
-0.008510608226060867,
0.0019369838992133737,
0.010313526727259159,
0.023465966805815697,
-0.019063135609030724,
0.04385168477892876,
-0.002338050166144967,
-0.02445138245820999,
0.008779788389801979,
0.0016522968653589487,
0.028232404962182045,
0.007079770788550377,
-0.038021888583898544,
-0.03638254106044769,
-0.009593834169209003,
0.04530181363224983,
-0.027374353259801865,
-0.020504092797636986,
-0.04198442026972771,
-0.049954045563936234,
-0.03989613428711891,
-0.019474204629659653,
-0.039558377116918564,
0.014574364759027958,
0.050525128841400146,
-0.011631044559180737,
0.0062325699254870415,
0.027080491185188293,
-0.010044675320386887,
-0.009265470318496227,
0.014634179882705212,
-0.05098781734704971,
0.03620947152376175,
0.0015693368623033166,
-0.014307989738881588,
0.014340696856379509,
-0.009906589984893799,
0.042834728956222534,
0.0017762732459232211,
-0.003969740588217974,
-0.01812809146940708,
0.028280993923544884,
-0.004940743092447519,
0.040540631860494614,
0.06536751985549927,
-0.01759381592273712,
-0.0024129205849021673,
-0.030948253348469734,
-0.04372907429933548,
-0.02278917096555233,
-0.0055512553080916405,
-0.03095480054616928,
-0.000004030119271192234,
-0.0576213076710701,
-0.08655241876840591,
-0.01809939369559288,
0.057944849133491516,
0.01589537039399147,
0.00665259687229991,
-0.03381526470184326,
0.019994119182229042,
-0.035294320434331894,
0.02652643993496895,
0.07255055755376816,
-0.06266169995069504,
0.027722394093871117,
-0.0081338444724679,
-0.015716010704636574,
0.0116146644577384,
0.010530159808695316,
-0.04166703298687935,
-0.03461425378918648,
-0.028081800788640976,
0.03299804404377937,
0.016691379249095917,
-0.04416637867689133,
-0.08109646290540695,
0.006860828027129173,
-0.01777317002415657,
0.03950946778059006,
-0.020274991169571877,
-0.0014429634902626276,
-0.012248475104570389,
-0.007517603226006031,
-0.024255303665995598,
-0.04106550291180611,
-0.03799298778176308,
0.042812835425138474,
-0.005208711139857769,
0.02135923132300377,
-0.00897294469177723,
0.033636562526226044,
0.019862206652760506,
-0.013199527747929096,
-0.017158346250653267,
-0.04063379392027855,
-0.007921558804810047,
-0.005405599717050791,
0.032418977469205856,
-0.011606027372181416,
0.0008451141766272485,
-0.044598907232284546,
0.01264895312488079,
-0.023091277107596397,
-0.008564513176679611,
-0.015723081305623055,
-0.012169770896434784,
0.04909075051546097,
0.06454921513795853,
0.0021377368830144405,
-0.020129330456256866,
-0.014474267140030861,
-0.014645827934145927,
0.056092552840709686,
-0.012115512043237686,
-0.0375530906021595,
-0.0022665983997285366,
-0.035101380199193954,
0.0385698638856411,
0.010178555734455585,
0.022976113483309746,
-0.045250821858644485,
0.044878412038087845,
0.02747248113155365,
0.016277814283967018,
0.03765564784407616,
0.012432195246219635,
0.028569752350449562,
-0.019841911271214485,
0.016525082290172577,
-0.08642634749412537,
-0.02697630599141121,
0.023498214781284332,
0.021113289520144463,
0.009324680082499981,
-0.004422124475240707,
-0.041091520339250565,
0.03534955158829689,
-0.0591995045542717,
-0.023374708369374275,
0.05953812226653099,
0.010447238571941853,
0.02272426337003708,
0.03519708663225174,
-0.057166073471307755,
-0.002751680323854089,
0.01999339647591114,
-0.05574721843004227,
0.0089394086971879,
-0.017332062125205994,
0.06417159736156464,
-0.02551092393696308,
0.018836939707398415,
0.003693853970617056,
-0.012458081357181072,
0.0575498566031456,
0.03416411578655243,
0.015216656029224396,
0.06742362678050995,
-0.0395028218626976,
0.025435341522097588,
0.001485035172663629,
-0.0015769203891977668,
0.009704157710075378,
0.03223629295825958,
0.014327513985335827,
-0.015001976862549782,
-0.009489619173109531,
-0.003141791094094515,
0.0023979584220796824,
-0.055795200169086456,
0.08800630271434784,
0.004537321627140045,
-0.03990776836872101,
-0.07932240515947342,
0.012635325081646442,
-0.03348566219210625,
0.0014505010331049562,
0.018621113151311874,
-0.01079162210226059,
-0.020539093762636185,
0.062094546854496,
-0.024594733491539955,
0.01124536246061325,
0.05067439004778862,
-0.006500531919300556,
0.012606576085090637,
-0.0061945319175720215,
0.0855669230222702,
0.09427834302186966,
0.056090086698532104,
-0.013824398629367352,
0.06563789397478104,
-0.018773479387164116,
-0.0714624747633934,
0.01927090622484684,
-0.038232531398534775,
-0.020388154312968254,
-0.034360624849796295,
0.0015431935898959637,
0.07047781348228455,
-0.04397081211209297,
0.0484071746468544,
0.005262168124318123,
-0.019691085442900658,
0.0076355962082743645,
0.007519818376749754,
0.059397246688604355,
0.052043065428733826,
0.011028707958757877,
0.036771949380636215,
-0.0011341117788106203,
-0.017575643956661224,
0.04405275732278824,
0.0047528850845992565,
-0.008660972118377686,
-0.005511132068932056,
-0.002651569666340947,
0.018111150711774826,
0.02154408022761345,
0.020606249570846558,
0.07399331778287888,
-0.04917335882782936,
-0.024383602663874626,
-0.0011985830496996641,
0.03992670029401779,
-0.016147825866937637,
-0.010158764198422432,
0.010790638625621796,
-0.019404880702495575,
-0.033505458384752274,
-0.03768201172351837,
-0.03667047247290611,
-0.015126113779842854,
-0.01669119857251644,
0.028387177735567093,
-0.024203382432460785,
0.003924956079572439,
0.033325064927339554,
-0.014599730260670185,
-0.022816335782408714,
-0.04754471406340599,
-0.053248342126607895,
-0.0671166330575943,
-0.06129366159439087,
0.01028507947921753,
0.009262975305318832,
-0.02076287567615509,
-0.035714659839868546,
0.016221124678850174,
-0.024456443265080452,
-0.02433941140770912,
-0.007090576458722353,
-0.048348136246204376,
-0.0412420816719532,
0.03854990750551224,
0.01666995882987976,
0.022550296038389206,
0.0015153082786127925,
0.05368348956108093,
-0.006201625801622868,
-0.013677764683961868,
-0.01655564084649086,
0.018339402973651886,
0.03734677657485008,
0.03138395771384239,
0.00037757327663712204,
-0.06349175423383713,
0.02944798581302166,
0.010254871100187302,
-0.007691862992942333,
-0.0886433944106102,
0.04168672114610672,
0.005464803893119097,
-0.0025944109074771404,
0.037384796887636185,
0.010283802635967731,
0.013991709798574448,
-0.04419698566198349,
-0.017292339354753494,
0.009418810717761517,
0.022161105647683144,
0.03855714574456215,
-0.04842505231499672,
0.0782390758395195,
0.005887953098863363,
-0.026716729626059532,
-0.07512558251619339,
-0.013017304241657257,
-0.015310389921069145,
-0.019535331055521965,
-0.041863229125738144,
-0.039878472685813904,
-0.029869478195905685,
-0.0726897120475769,
-0.0022945336531847715,
0.004006706178188324,
-0.07507159560918808,
-0.004951848648488522,
-0.004499076399952173,
0.009327984414994717,
-0.021583210676908493,
0.04070432856678963,
-0.057615023106336594,
0.027390480041503906,
-0.01650933362543583,
-0.008962075226008892,
0.0019253810169175267,
0.03735029697418213,
-0.01818121410906315,
0.03724401071667671,
0.0024178430903702974,
-0.02732550911605358,
0.009573200717568398,
-0.00711731007322669,
0.022794580087065697,
0.025413483381271362,
-0.0034271208569407463,
0.03541454300284386
] | [
-0.07271528244018555,
-0.01993497833609581,
-0.035575930029153824,
0.001716366969048977,
0.07707124948501587,
-0.022732803598046303,
-0.02484898455440998,
0.0480978898704052,
0.017210276797413826,
0.020064454525709152,
0.049004025757312775,
-0.05695246532559395,
0.02577766589820385,
-0.019726833328604698,
0.02045307494699955,
-0.013086896389722824,
-0.009588696993887424,
-0.06790027022361755,
-0.052674878388643265,
0.015459173358976841,
-0.024097932502627373,
-0.05747741833329201,
-0.04298757016658783,
-0.04997143894433975,
0.048856720328330994,
0.04221683740615845,
-0.016085781157016754,
-0.04975489154458046,
-0.011799775063991547,
-0.2092454731464386,
-0.004524341784417629,
0.04029134288430214,
0.06769555062055588,
-0.020037967711687088,
0.012388809584081173,
0.03134440258145332,
0.0032023030798882246,
0.019637249410152435,
0.015098274685442448,
0.020451437681913376,
0.01662370003759861,
-0.0004675587988458574,
-0.037462905049324036,
-0.0054186019115149975,
0.01776665635406971,
0.020236339420080185,
-0.06584979593753815,
-0.013491790741682053,
0.005353557877242565,
0.033609893172979355,
-0.04869352653622627,
-0.01280432939529419,
-0.014675824902951717,
0.026279281824827194,
-0.00797965656965971,
0.035417359322309494,
0.04309285432100296,
-0.002265529241412878,
-0.002546806586906314,
0.0176885724067688,
0.030103782191872597,
0.0014263915363699198,
-0.14702945947647095,
0.07939581573009491,
0.04242059215903282,
0.030196836218237877,
-0.0422665998339653,
-0.018231971189379692,
-0.008713140152394772,
0.08342882245779037,
-0.006186038255691528,
-0.014842997305095196,
-0.021171817556023598,
0.056734781712293625,
0.021897386759519577,
0.008212829008698463,
-0.02398657239973545,
-0.0015199603512883186,
0.027705321088433266,
-0.034677181392908096,
-0.013918011449277401,
0.011840970255434513,
-0.024818425998091698,
-0.015048438683152199,
-0.02311635948717594,
0.00533466087654233,
-0.030040642246603966,
0.03406127169728279,
0.005056143272668123,
0.022579817101359367,
0.04007411003112793,
0.039585694670677185,
0.02736097201704979,
0.021686267107725143,
-0.11076957732439041,
-0.03363095223903656,
0.025825301185250282,
0.022219888865947723,
-0.0005141521105542779,
0.40206778049468994,
-0.03117896243929863,
-0.04301706328988075,
0.04131191596388817,
0.035282570868730545,
-0.005614650901407003,
-0.02172904647886753,
-0.011008880101144314,
-0.04609614983201027,
0.0018204821972176433,
-0.01947338879108429,
0.03114205040037632,
0.005824639927595854,
0.056043874472379684,
-0.056705132126808167,
0.03591407090425491,
-0.027581559494137764,
0.01119433343410492,
0.0013873294228687882,
0.034900154918432236,
0.009517522528767586,
-0.0004412245179992169,
0.00564510328695178,
0.008831050246953964,
0.012257697060704231,
0.03599342703819275,
-0.036665141582489014,
0.04210513085126877,
0.07813771069049835,
0.05996118485927582,
0.0071741132996976376,
0.06116984784603119,
0.0033143803011626005,
-0.0819351002573967,
0.008031089790165424,
-0.033674340695142746,
0.0016443863278254867,
0.042025189846754074,
-0.014394761063158512,
0.005830768961459398,
0.05736745893955231,
-0.016563881188631058,
-0.010998040437698364,
0.02634688839316368,
0.003083997406065464,
-0.040049467235803604,
0.1708616316318512,
0.006566993426531553,
-0.03626852482557297,
-0.01491681020706892,
-0.04677652195096016,
0.017290661111474037,
0.03793499618768692,
-0.00984644889831543,
-0.035126734524965286,
-0.010940421372652054,
0.022364875301718712,
0.06979590654373169,
-0.0563308410346508,
-0.0565265417098999,
-0.02890576608479023,
-0.015455865301191807,
-0.025259079411625862,
-0.0528942234814167,
0.026396475732326508,
0.08048384636640549,
-0.06167740747332573,
-0.027997922152280807,
0.021939989179372787,
0.032020602375268936,
-0.05854188650846481,
0.024123437702655792,
0.007982839830219746,
-0.041571274399757385,
0.011609373614192009,
0.050107598304748535,
-0.002043374115601182,
-0.011019899509847164,
0.017556145787239075,
0.04479248821735382,
0.004709047731012106,
0.012700562365353107,
0.017336921766400337,
-0.05419078841805458,
0.018990952521562576,
-0.05519261211156845,
-0.07390342652797699,
-0.09243190288543701,
0.02386401779949665,
-0.031916406005620956,
-0.026725267991423607,
0.0017574182711541653,
-0.023008834570646286,
-0.09189098328351974,
0.06649939715862274,
-0.062317829579114914,
-0.04526880010962486,
0.03545144572854042,
0.022136487066745758,
-0.03013639710843563,
-0.05145043507218361,
0.0006721453391946852,
-0.0038216004613786936,
0.020101651549339294,
0.0493413545191288,
-0.04353136196732521,
0.04038158059120178,
0.05395568534731865,
-0.022430086508393288,
0.07873617857694626,
0.012707740999758244,
0.023231040686368942,
-0.029875244945287704,
0.0317961759865284,
0.04845064505934715,
-0.02158208005130291,
0.0015207508113235235,
0.0029200275894254446,
-0.032700203359127045,
0.02619856595993042,
0.0327482670545578,
0.022043030709028244,
-0.03884156048297882,
-0.013511011376976967,
-0.36423832178115845,
-0.05280982330441475,
0.02600991353392601,
-0.007733332924544811,
-0.0013677437091246247,
-0.03148021921515465,
-0.004658938851207495,
0.011823896318674088,
-0.008472248911857605,
0.07912630587816238,
0.04746412858366966,
0.012926211580634117,
-0.013115772046148777,
-0.09736605733633041,
0.003681292524561286,
0.02934029884636402,
-0.012215402908623219,
-0.0049878135323524475,
-0.029901621863245964,
-0.02373211272060871,
-0.01931762881577015,
-0.008334968239068985,
-0.033027514815330505,
-0.014366456307470798,
0.045688167214393616,
-0.034988198429346085,
0.1436225324869156,
0.004863454028964043,
0.03366704285144806,
-0.029458118602633476,
0.03934787958860397,
-0.010499037802219391,
0.012185966596007347,
-0.01123990211635828,
0.05389101430773735,
-0.04909959062933922,
-0.03274580091238022,
0.024099906906485558,
-0.022905534133315086,
-0.03494161739945412,
-0.052115507423877716,
0.013767605647444725,
-0.05008690431714058,
-0.034920062869787216,
-0.04144406318664551,
0.02061549201607704,
-0.004362276755273342,
0.006893641781061888,
-0.04488494619727135,
0.07287542521953583,
0.019868360832333565,
-0.03350913152098656,
0.058579910546541214,
0.044948045164346695,
0.03173975646495819,
-0.012018775567412376,
-0.09045244008302689,
0.02257699705660343,
-0.00196853163652122,
-0.04383343085646629,
0.04734792932868004,
0.0315571166574955,
0.052993811666965485,
-0.06044470891356468,
-0.01911478489637375,
0.009612402878701687,
-0.007295729126781225,
-0.019092828035354614,
0.006428593769669533,
0.033500269055366516,
-0.005279529839754105,
0.09413973242044449,
-0.004353074822574854,
0.03978675231337547,
0.026136230677366257,
0.038557685911655426,
-0.03791163116693497,
-0.007906686514616013,
-0.023813312873244286,
-0.01346021331846714,
0.06798811256885529,
-0.06281954050064087,
-0.0041687809862196445,
-0.03193563595414162,
0.03190803527832031,
0.03283829987049103,
0.013082567602396011,
-0.022622698917984962,
0.039841294288635254,
0.04994838684797287,
-0.009161828085780144,
-0.03344056382775307,
-0.014818230643868446,
-0.05452793091535568,
0.04360898211598396,
-0.005295464303344488,
-0.29961180686950684,
0.023051710799336433,
0.01328204944729805,
0.022842079401016235,
-0.012178713455796242,
0.023696456104516983,
0.006454486399888992,
-0.028297005221247673,
0.010680541396141052,
0.021292103454470634,
0.0064528584480285645,
0.057728737592697144,
0.04410594701766968,
-0.03274441882967949,
-0.0021102915052324533,
-0.018243271857500076,
0.02479269728064537,
-0.01864933967590332,
0.015425536781549454,
-0.005817397963255644,
0.005647000856697559,
-0.05719182640314102,
0.13464784622192383,
0.017496636137366295,
-0.015508412383496761,
-0.0034428115468472242,
-0.017592325806617737,
0.008264567703008652,
0.0785222202539444,
0.0024290878791362047,
-0.0047203670255839825,
0.017880572006106377,
0.03541717678308487,
-0.01204556692391634,
0.009990031830966473,
0.007117134518921375,
-0.04848712310194969,
0.057095449417829514,
0.018128400668501854,
0.00019731427892111242,
-0.006049913354218006,
0.01061678770929575,
-0.0457661971449852,
0.03984534740447998,
0.08266772329807281,
0.00004455769885680638,
-0.006110816262662411,
-0.04286973178386688,
-0.026018686592578888,
-0.007145970594137907,
-0.0073926206678152084,
-0.0008391305455006659,
-0.01659928821027279,
-0.010680066421627998,
0.007697920314967632,
0.03048747032880783,
0.028597284108400345,
-0.008772192522883415,
0.03699721768498421,
-0.01827794872224331,
-0.04334905371069908,
-0.05893627554178238,
0.07561078667640686,
0.01668339967727661,
0.026795733720064163
] | [
0.019215146079659462,
0.018341468647122383,
-0.014013865031301975,
0.02677406184375286,
-0.014585425145924091,
0.009444229304790497,
-0.006493750028312206,
-0.028841568157076836,
-0.03938233479857445,
-0.013921118341386318,
0.010302777402102947,
0.013766204006969929,
0.0026672901585698128,
-0.014827245846390724,
0.00043017114512622356,
0.008497577160596848,
0.03248043730854988,
0.0006224435055628419,
0.032142866402864456,
-0.06301938742399216,
-0.08089657872915268,
0.0277008805423975,
0.058381885290145874,
-0.009123711846768856,
0.007212262600660324,
0.09400880336761475,
-0.034195125102996826,
0.008906058967113495,
0.026042113080620766,
-0.10440061241388321,
-0.01531713642179966,
0.02521357126533985,
-0.013649268075823784,
0.025325998663902283,
-0.022960200905799866,
-0.0016714308876544237,
-0.02760842815041542,
0.07063675671815872,
0.022659705951809883,
0.038615670055150986,
-0.01901397481560707,
0.013956441543996334,
0.043263960629701614,
0.030379628762602806,
0.0033114845864474773,
0.013845345005393028,
-0.0151551254093647,
0.03208403289318085,
-0.008162482641637325,
-0.010128866881132126,
-0.009352028369903564,
0.045123036950826645,
-0.02685450203716755,
-0.007672860752791166,
0.008374274708330631,
-0.06775319576263428,
-0.012658256106078625,
-0.04361318051815033,
-0.019580474123358727,
-0.04594133421778679,
-0.019022978842258453,
0.015168924815952778,
-0.02485673502087593,
-0.008173993788659573,
-0.009857443161308765,
-0.006794756278395653,
-0.060335658490657806,
0.02539721690118313,
-0.0011157817207276821,
-0.029505176469683647,
-0.013536336831748486,
0.031060010194778442,
-0.007927676662802696,
-0.022121397778391838,
-0.04675415903329849,
0.027682991698384285,
0.021961623802781105,
-0.06550328433513641,
0.0433695912361145,
-0.0005160844302736223,
-0.016369333490729332,
-0.004904051776975393,
0.0359201617538929,
0.001411259756423533,
0.006987046450376511,
-0.03101896308362484,
0.011603240855038166,
0.0353827141225338,
-0.018228402361273766,
0.006537426728755236,
-0.008008326403796673,
0.03123147040605545,
0.024207860231399536,
0.0012436402030289173,
-0.0815371423959732,
-0.01907854713499546,
-0.02127317152917385,
0.0033515547402203083,
0.024731982499361038,
0.8159314393997192,
0.011259758844971657,
0.025728631764650345,
-0.009362946264445782,
0.030509525910019875,
-0.01716652326285839,
0.008178387768566608,
0.038860466331243515,
-0.02411685511469841,
0.008001603186130524,
-0.016907867044210434,
0.010989025235176086,
0.039767179638147354,
0.02563301846385002,
0.007020820397883654,
0.01624283753335476,
-0.0011536527890712023,
0.05538797378540039,
0.027117440477013588,
0.011406575329601765,
-0.02829468622803688,
-0.0049643609672784805,
-0.004953688941895962,
-0.006424650549888611,
0.006520470138639212,
-0.018675843253731728,
-0.1476440578699112,
-0.02429795451462269,
-6.617737852173835e-33,
-0.008518587797880173,
-0.017098983749747276,
-0.005826288368552923,
-0.01934886910021305,
0.04172424226999283,
-0.018750661984086037,
0.0016536450712010264,
0.0017767214449122548,
-0.009200756438076496,
-0.02727246843278408,
0.003209025366231799,
0.02697732485830784,
0.0234494898468256,
-0.00002082798891933635,
0.024676794186234474,
-0.026746191084384918,
0.018521634861826897,
0.030699925497174263,
0.011886794120073318,
0.003190333489328623,
0.04071994870901108,
0.01823868416249752,
0.02448013238608837,
0.03686881810426712,
0.005370729602873325,
0.03129885718226433,
0.019246790558099747,
-0.03146611526608467,
0.0066625745967030525,
-0.059248145669698715,
-0.00971190445125103,
0.014454334042966366,
-0.02245267853140831,
-0.002425136510282755,
0.015481787733733654,
-0.047406986355781555,
0.013284659013152122,
-0.0006417847471311688,
0.00046240404481068254,
0.0022119730710983276,
-0.028504421934485435,
0.01515753660351038,
-0.04242441803216934,
-0.03222811967134476,
-0.03166281804442406,
-0.015604822896420956,
0.04155103117227554,
0.0634002611041069,
0.0030908382032066584,
-0.024442235007882118,
0.011712092906236649,
-0.003742740722373128,
-0.00027424845029599965,
0.030768049880862236,
-0.0028169199358671904,
0.02604127861559391,
0.0002707706007640809,
0.0011167660122737288,
0.04319174960255623,
0.03393823653459549,
-0.038504261523485184,
0.01454355288296938,
0.0028168191201984882,
0.015704268589615822,
0.011552036739885807,
-0.020462749525904655,
0.018379688262939453,
-0.007953878492116928,
0.037292540073394775,
0.012982181273400784,
-0.0016509488923475146,
-0.02085784077644348,
-0.003357068169862032,
0.024962428957223892,
0.02277795970439911,
0.012494020164012909,
-0.016298318281769753,
-0.03152390196919441,
0.007468569558113813,
0.007165099494159222,
-0.008528163656592369,
0.01149295549839735,
-0.028455279767513275,
-0.02750999666750431,
-0.005715526640415192,
0.0008804824319668114,
0.005281818099319935,
-0.03990573436021805,
-0.04611503332853317,
-0.009584351442754269,
0.0007224652217701077,
-0.013199345208704472,
0.009241453371942043,
-0.03290174901485443,
0.024294210597872734,
6.867274731702267e-33,
0.02297184243798256,
0.008334845304489136,
-0.029305625706911087,
-0.01149511244148016,
0.017660915851593018,
-0.02767539583146572,
0.028487123548984528,
0.005165645852684975,
0.0023802958894521,
0.040851496160030365,
-0.04516146704554558,
-0.008829567581415176,
0.018830522894859314,
0.019130827859044075,
0.03704790398478508,
-0.014270816929638386,
0.013951407745480537,
0.07641386240720749,
-0.005883494857698679,
0.012024261988699436,
-0.016495374962687492,
0.03139887750148773,
0.03472143039107323,
0.00859913695603609,
0.025890959426760674,
0.054627206176519394,
-0.03527078032493591,
-0.027300171554088593,
-0.025707034394145012,
-0.011178167536854744,
0.022027483209967613,
-0.01910276524722576,
-0.007726840674877167,
-0.03505232185125351,
-0.040723081678152084,
0.07220014184713364,
0.025270264595746994,
-0.022630061954259872,
-0.03982561081647873,
-0.005543590523302555,
0.01176594477146864,
0.048353470861911774,
-0.0305202417075634,
0.04345438629388809,
0.012756668962538242,
0.04222734272480011,
0.009803595952689648,
-0.013542190194129944,
-0.03783223778009415,
0.00847721192985773,
-0.0008840471273288131,
0.03308616578578949,
0.002411400666460395,
0.023383570834994316,
0.00021363348059821874,
-0.001312347361817956,
-0.023218246176838875,
-0.0011414377950131893,
-0.05458839610219002,
0.005067975725978613,
-0.011096728034317493,
-0.026701342314481735,
-0.03715074807405472,
-0.0013792532263323665,
-0.024909136816859245,
-0.01047175657004118,
-0.030436618253588676,
-0.027299772948026657,
0.01935579814016819,
-0.0005788510316051543,
-0.05332272872328758,
-0.002933620009571314,
0.004198173992335796,
0.00974938552826643,
0.008176690898835659,
0.04800329729914665,
-0.05631747096776962,
-0.02667265012860298,
0.003465923946350813,
0.03381849080324173,
0.003636024659499526,
-0.04944809526205063,
0.018024835735559464,
-0.005096472334116697,
-0.0006348078604787588,
-0.016434110701084137,
-0.028556514531373978,
0.0066986726596951485,
0.03160681575536728,
-0.036393117159605026,
0.026376279070973396,
-0.017105143517255783,
-0.012030613608658314,
0.0067319306544959545,
-0.024129243567585945,
-1.2273791760719632e-8,
-0.03277219831943512,
0.02856224961578846,
-0.029714828357100487,
0.03637586161494255,
0.016688881441950798,
-0.012572617270052433,
-0.03250623494386673,
-0.026804011315107346,
0.006625309120863676,
0.0070049636997282505,
0.05026185140013695,
-0.049660976976156235,
0.009935208596289158,
0.0068890806287527084,
-0.01641272008419037,
-0.0199614018201828,
0.04957230016589165,
-0.0010709707858040929,
0.03432474657893181,
0.01613168977200985,
0.031575869768857956,
0.05296165123581886,
-0.022487789392471313,
0.014201486483216286,
-0.0001790243259165436,
-0.01575690694153309,
0.0012440201826393604,
-0.1078575849533081,
-0.00453734677284956,
0.01968345232307911,
0.025448424741625786,
-0.03283059969544411,
-0.01496223546564579,
-0.005876741837710142,
0.008049337193369865,
-0.057920049875974655,
0.036997582763433456,
0.0380210243165493,
-0.01150539331138134,
-0.02460314705967903,
-0.017089251428842545,
-0.007335427682846785,
-0.046327028423547745,
-0.0039554862305521965,
-0.006944260094314814,
-0.014327649027109146,
-0.05465121939778328,
-0.03453641012310982,
-0.01046715211123228,
-0.07380169630050659,
0.06506296992301941,
-0.005746015347540379,
0.009673472493886948,
0.051811572164297104,
0.04920554533600807,
0.028873154893517494,
-0.006698294077068567,
0.0034322640858590603,
0.008447391912341118,
-0.02434227615594864,
-0.029228409752249718,
0.015362103469669819,
-0.02233825996518135,
-0.05423644557595253
] | r-dplyr-sum-for-group_by-multiple-columns | https://markhneedham.com/blog/2014/11/11/r-dplyr-sum-for-group_by-multiple-columns |
false | 2014-11-16 22:53:49 | Spark: Parse CSV file and group by column value | [
"spark-2"
] | [
"Spark"
] | I've found myself working with large CSV files quite frequently and realising that my existing toolset didn't let me explore them quickly I thought I'd spend a bit of time looking at http://spark.apache.org/[Spark] to see if it could help.
I'm working with a https://data.cityofchicago.org/Public-Safety/Crimes-2001-to-present/ijzp-q8t2[crime data set released by the City of Chicago]: it's 1GB in size and contains details of 4 million crimes:
[source,bash]
----
$ ls -alh ~/Downloads/Crimes_-_2001_to_present.csv
-rw-r--r--@ 1 markneedham staff 1.0G 16 Nov 12:14 /Users/markneedham/Downloads/Crimes_-_2001_to_present.csv
$ wc -l ~/Downloads/Crimes_-_2001_to_present.csv
4193441 /Users/markneedham/Downloads/Crimes_-_2001_to_present.csv
----
We can get a rough idea of the contents of the file by looking at the first row along with the header:
[source,bash]
----
$ head -n 2 ~/Downloads/Crimes_-_2001_to_present.csv
ID,Case Number,Date,Block,IUCR,Primary Type,Description,Location Description,Arrest,Domestic,Beat,District,Ward,Community Area,FBI Code,X Coordinate,Y Coordinate,Year,Updated On,Latitude,Longitude,Location
9464711,HX114160,01/14/2014 05:00:00 AM,028XX E 80TH ST,0560,ASSAULT,SIMPLE,APARTMENT,false,true,0422,004,7,46,08A,1196652,1852516,2014,01/20/2014 12:40:05 AM,41.75017626412204,-87.55494559131228,"(41.75017626412204, -87.55494559131228)"
----
I wanted to do a count of the 'Primary Type' column to see how many of each crime we have. Using just Unix command line tools this is how we'd do that:
[source,bash]
----
$ time tail +2 ~/Downloads/Crimes_-_2001_to_present.csv | cut -d, -f6 | sort | uniq -c | sort -rn
859197 THEFT
757530 BATTERY
489528 NARCOTICS
488209 CRIMINAL DAMAGE
257310 BURGLARY
253964 OTHER OFFENSE
247386 ASSAULT
197404 MOTOR VEHICLE THEFT
157706 ROBBERY
137538 DECEPTIVE PRACTICE
124974 CRIMINAL TRESPASS
47245 PROSTITUTION
40361 WEAPONS VIOLATION
31585 PUBLIC PEACE VIOLATION
26524 OFFENSE INVOLVING CHILDREN
14788 CRIM SEXUAL ASSAULT
14283 SEX OFFENSE
10632 GAMBLING
8847 LIQUOR LAW VIOLATION
6443 ARSON
5178 INTERFERE WITH PUBLIC OFFICER
4846 HOMICIDE
3585 KIDNAPPING
3147 INTERFERENCE WITH PUBLIC OFFICER
2471 INTIMIDATION
1985 STALKING
355 OFFENSES INVOLVING CHILDREN
219 OBSCENITY
86 PUBLIC INDECENCY
80 OTHER NARCOTIC VIOLATION
12 RITUALISM
12 NON-CRIMINAL
6 OTHER OFFENSE
2 NON-CRIMINAL (SUBJECT SPECIFIED)
2 NON - CRIMINAL
real 2m37.495s
user 3m0.337s
sys 0m1.471s
----
This isn't too bad but it seems like the type of calculation that Spark is made for so I had a look at how I could go about doing that. To start with I created an SBT project with the following build file:
[source,sbt]
----
name := "playground"
version := "1.0"
scalaVersion := "2.10.4"
libraryDependencies += "org.apache.spark" %% "spark-core" % "1.1.0"
libraryDependencies += "net.sf.opencsv" % "opencsv" % "2.3"
ideaExcludeFolders += ".idea"
ideaExcludeFolders += ".idea_modules"
----
I http://spark.apache.org/downloads.html[downloaded Spark] and after unpacking it launched the Spark shell:
[source,bash]
----
$ pwd
/Users/markneedham/projects/spark-play/spark-1.1.0/spark-1.1.0-bin-hadoop1
$ ./bin/spark-shell
...
Welcome to
____ __
/ __/__ ___ _____/ /__
_\ \/ _ \/ _ `/ __/ '_/
/___/ .__/\_,_/_/ /_/\_\ version 1.1.0
/_/
Using Scala version 2.10.4 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_51)
...
Spark context available as sc.
scala>
----
I first import some classes I'm going to need:
[source,scala]
----
scala> import au.com.bytecode.opencsv.CSVParser
import au.com.bytecode.opencsv.CSVParser
scala> import org.apache.spark.rdd.RDD
import org.apache.spark.rdd.RDD
----
Now, following the http://spark.apache.org/docs/latest/quick-start.html[quick start example], we'll create a Resilient Distributed Dataset (RDD) from our Crime CSV file:
[source,scala]
----
scala> val crimeFile = "/Users/markneedham/Downloads/Crimes_-_2001_to_present.csv"
crimeFile: String = /Users/markneedham/Downloads/Crimes_-_2001_to_present.csv
scala> val crimeData = sc.textFile(crimeFile).cache()
14/11/16 22:31:16 INFO MemoryStore: ensureFreeSpace(32768) called with curMem=0, maxMem=278302556
14/11/16 22:31:16 INFO MemoryStore: Block broadcast_0 stored as values in memory (estimated size 32.0 KB, free 265.4 MB)
crimeData: org.apache.spark.rdd.RDD[String] = /Users/markneedham/Downloads/Crimes_-_2001_to_present.csv MappedRDD[1] at textFile at <console>:17
----
Our next step is to process each line of the file using our CSV Parser. A simple way to do this would be to http://bzhangusc.wordpress.com/2014/06/18/csv-parser/[create a new CSVParser for each line]:
[source,scala]
----
scala> crimeData.map(line => {
val parser = new CSVParser(',')
parser.parseLine(line).mkString(",")
}).take(5).foreach(println)
14/11/16 22:35:49 INFO SparkContext: Starting job: take at <console>:23
...
4/11/16 22:35:49 INFO SparkContext: Job finished: take at <console>:23, took 0.013904 s
ID,Case Number,Date,Block,IUCR,Primary Type,Description,Location Description,Arrest,Domestic,Beat,District,Ward,Community Area,FBI Code,X Coordinate,Y Coordinate,Year,Updated On,Latitude,Longitude,Location
9464711,HX114160,01/14/2014 05:00:00 AM,028XX E 80TH ST,0560,ASSAULT,SIMPLE,APARTMENT,false,true,0422,004,7,46,08A,1196652,1852516,2014,01/20/2014 12:40:05 AM,41.75017626412204,-87.55494559131228,(41.75017626412204, -87.55494559131228)
9460704,HX113741,01/14/2014 04:55:00 AM,091XX S JEFFERY AVE,031A,ROBBERY,ARMED: HANDGUN,SIDEWALK,false,false,0413,004,8,48,03,1191060,1844959,2014,01/18/2014 12:39:56 AM,41.729576153145636,-87.57568059471686,(41.729576153145636, -87.57568059471686)
9460339,HX113740,01/14/2014 04:44:00 AM,040XX W MAYPOLE AVE,1310,CRIMINAL DAMAGE,TO PROPERTY,RESIDENCE,false,true,1114,011,28,26,14,1149075,1901099,2014,01/16/2014 12:40:00 AM,41.884543798701515,-87.72803579358926,(41.884543798701515, -87.72803579358926)
9461467,HX114463,01/14/2014 04:43:00 AM,059XX S CICERO AVE,0820,THEFT,$500 AND UNDER,PARKING LOT/GARAGE(NON.RESID.),false,false,0813,008,13,64,06,1145661,1865031,2014,01/16/2014 12:40:00 AM,41.785633535413176,-87.74148516669783,(41.785633535413176, -87.74148516669783)
----
That works but it's a bit wasteful to create a new CSVParser each time so instead let's just create one for each partition that Spark splits our file up into:
[source,scala]
----
scala> crimeData.mapPartitions(lines => {
val parser = new CSVParser(',')
lines.map(line => {
parser.parseLine(line).mkString(",")
})
}).take(5).foreach(println)
14/11/16 22:38:44 INFO SparkContext: Starting job: take at <console>:25
...
14/11/16 22:38:44 INFO SparkContext: Job finished: take at <console>:25, took 0.015216 s
ID,Case Number,Date,Block,IUCR,Primary Type,Description,Location Description,Arrest,Domestic,Beat,District,Ward,Community Area,FBI Code,X Coordinate,Y Coordinate,Year,Updated On,Latitude,Longitude,Location
9464711,HX114160,01/14/2014 05:00:00 AM,028XX E 80TH ST,0560,ASSAULT,SIMPLE,APARTMENT,false,true,0422,004,7,46,08A,1196652,1852516,2014,01/20/2014 12:40:05 AM,41.75017626412204,-87.55494559131228,(41.75017626412204, -87.55494559131228)
9460704,HX113741,01/14/2014 04:55:00 AM,091XX S JEFFERY AVE,031A,ROBBERY,ARMED: HANDGUN,SIDEWALK,false,false,0413,004,8,48,03,1191060,1844959,2014,01/18/2014 12:39:56 AM,41.729576153145636,-87.57568059471686,(41.729576153145636, -87.57568059471686)
9460339,HX113740,01/14/2014 04:44:00 AM,040XX W MAYPOLE AVE,1310,CRIMINAL DAMAGE,TO PROPERTY,RESIDENCE,false,true,1114,011,28,26,14,1149075,1901099,2014,01/16/2014 12:40:00 AM,41.884543798701515,-87.72803579358926,(41.884543798701515, -87.72803579358926)
9461467,HX114463,01/14/2014 04:43:00 AM,059XX S CICERO AVE,0820,THEFT,$500 AND UNDER,PARKING LOT/GARAGE(NON.RESID.),false,false,0813,008,13,64,06,1145661,1865031,2014,01/16/2014 12:40:00 AM,41.785633535413176,-87.74148516669783,(41.785633535413176, -87.74148516669783)
----
You'll notice that we've still got the header being printed which isn't ideal - let's get rid of it!</p?
I expected there to be a 'drop' function which would allow me to do that but in fact there isn't. Instead we can http://mail-archives.apache.org/mod_mbox/spark-user/201404.mbox/%3CCAEYYnxYuEaie518ODdn-fR7VvD39d71=CgB_Dxw_4COVXgmYYQ@mail.gmail.com%3E[make use of our knowledge that the first partition will contain the first line and strip it out] that way: ~~~scala scala> def dropHeader(data: RDD[String]): RDD[String] = { data.mapPartitionsWithIndex((idx, lines) \=> { if (idx == 0) { lines.drop(1) } lines }) } dropHeader: (data: org.apache.spark.rdd.RDD[String])org.apache.spark.rdd.RDD[String] ~~~
Now let's grab the first 5 lines again and print them out: ~~~scala scala> val withoutHeader: RDD[String] = dropHeader(crimeData) withoutHeader: org.apache.spark.rdd.RDD[String] = MapPartitionsRDD[7] at mapPartitionsWithIndex at +++<console>+++:14 scala> withoutHeader.mapPartitions(lines \=> { val parser = new CSVParser(',') lines.map(line \=> { parser.parseLine(line).mkString(",") }) }).take(5).foreach(println) 14/11/16 22:43:27 INFO SparkContext: Starting job: take at +++<console>+++:29 \... 14/11/16 22:43:27 INFO SparkContext: Job finished: take at +++<console>+++:29, took 0.018557 s 9464711,HX114160,01/14/2014 05:00:00 AM,028XX E 80TH ST,0560,ASSAULT,SIMPLE,APARTMENT,false,true,0422,004,7,46,08A,1196652,1852516,2014,01/20/2014 12:40:05 AM,41.75017626412204,-87.55494559131228,(41.75017626412204, -87.55494559131228) 9460704,HX113741,01/14/2014 04:55:00 AM,091XX S JEFFERY AVE,031A,ROBBERY,ARMED: HANDGUN,SIDEWALK,false,false,0413,004,8,48,03,1191060,1844959,2014,01/18/2014 12:39:56 AM,41.729576153145636,-87.57568059471686,(41.729576153145636, -87.57568059471686) 9460339,HX113740,01/14/2014 04:44:00 AM,040XX W MAYPOLE AVE,1310,CRIMINAL DAMAGE,TO PROPERTY,RESIDENCE,false,true,1114,011,28,26,14,1149075,1901099,2014,01/16/2014 12:40:00 AM,41.884543798701515,-87.72803579358926,(41.884543798701515, -87.72803579358926) 9461467,HX114463,01/14/2014 04:43:00 AM,059XX S CICERO AVE,0820,THEFT,$500 AND UNDER,PARKING LOT/GARAGE(NON.RESID.),false,false,0813,008,13,64,06,1145661,1865031,2014,01/16/2014 12:40:00 AM,41.785633535413176,-87.74148516669783,(41.785633535413176, -87.74148516669783) 9460355,HX113738,01/14/2014 04:21:00 AM,070XX S PEORIA ST,0820,THEFT,$500 AND UNDER,STREET,true,false,0733,007,17,68,06,1171480,1858195,2014,01/16/2014 12:40:00 AM,41.766348042591375,-87.64702037047671,(41.766348042591375, -87.64702037047671) ~~~
We're finally in good shape to extract the values from the 'Primary Type' column and count how many times each of those appears in our data set: ~~~scala scala> withoutHeader.mapPartitions(lines \=> { val parser=new CSVParser(',') lines.map(line \=> { val columns = parser.parseLine(line) Array(columns(5)).mkString(",") }) }).countByValue().toList.sortBy(-_._2).foreach(println) 14/11/16 22:45:20 INFO SparkContext: Starting job: countByValue at +++<console>+++:30 14/11/16 22:45:20 INFO DAGScheduler: Got job 7 (countByValue at +++<console>+++:30) with 32 output partitions (allowLocal=false) \... 14/11/16 22:45:30 INFO SparkContext: Job finished: countByValue at +++<console>+++:30, took 9.796565 s (THEFT,859197) (BATTERY,757530) (NARCOTICS,489528) (CRIMINAL DAMAGE,488209) (BURGLARY,257310) (OTHER OFFENSE,253964) (ASSAULT,247386) (MOTOR VEHICLE THEFT,197404) (ROBBERY,157706) (DECEPTIVE PRACTICE,137538) (CRIMINAL TRESPASS,124974) (PROSTITUTION,47245) (WEAPONS VIOLATION,40361) (PUBLIC PEACE VIOLATION,31585) (OFFENSE INVOLVING CHILDREN,26524) (CRIM SEXUAL ASSAULT,14788) (SEX OFFENSE,14283) (GAMBLING,10632) (LIQUOR LAW VIOLATION,8847) (ARSON,6443) (INTERFERE WITH PUBLIC OFFICER,5178) (HOMICIDE,4846) (KIDNAPPING,3585) (INTERFERENCE WITH PUBLIC OFFICER,3147) (INTIMIDATION,2471) (STALKING,1985) (OFFENSES INVOLVING CHILDREN,355) (OBSCENITY,219) (PUBLIC INDECENCY,86) (OTHER NARCOTIC VIOLATION,80) (NON-CRIMINAL,12) (RITUALISM,12) (OTHER OFFENSE ,6) (NON-CRIMINAL (SUBJECT SPECIFIED),2) (NON - CRIMINAL,2) ~~~
We get the same results as with the Unix commands except it took less than 10 seconds to calculate which is pretty cool!+++</console>++++++</console>++++++</console>++++++</console>++++++</console>++++++</console>+++ | null | null | [
0.004615727812051773,
-0.04300664737820625,
-0.02330993115901947,
0.05148662254214287,
0.08856157213449478,
0.00016146982670761645,
0.0021771579049527645,
0.04358144477009773,
0.020815979689359665,
-0.024081161245703697,
0.011429429054260254,
-0.02450038678944111,
-0.07332528382539749,
0.023848015815019608,
-0.028192508965730667,
0.07171893864870071,
0.059899888932704926,
0.011503047309815884,
0.028731586411595345,
-0.005350903607904911,
0.04245884716510773,
0.0426112525165081,
-0.00952161755412817,
0.048445526510477066,
0.0040241447277367115,
-0.014842186123132706,
0.007602644618600607,
0.008423070423305035,
-0.06221424415707588,
0.01638518087565899,
0.0450785867869854,
0.012671158649027348,
0.013719400390982628,
0.005847729742527008,
0.0032892944291234016,
0.002722261706367135,
-0.029934421181678772,
0.0016217186348512769,
0.00002365850014030002,
0.017541447654366493,
-0.053827058523893356,
0.040948256850242615,
-0.027926307171583176,
0.0024293221067637205,
-0.041667334735393524,
-0.005388042889535427,
-0.035938311368227005,
0.021882222965359688,
-0.007603420410305262,
-0.017158564180135727,
-0.018857302144169807,
0.03269496187567711,
-0.01885056495666504,
0.004182856995612383,
-0.007580836769193411,
0.06276851892471313,
-0.017786510288715363,
-0.06446011364459991,
0.04420114681124687,
-0.03416138142347336,
0.004761886782944202,
-0.03126922994852066,
0.015462271869182587,
0.007871964946389198,
0.021848948672413826,
-0.04666806012392044,
-0.008856342174112797,
0.07530900090932846,
-0.023473244160413742,
-0.03114415518939495,
0.0053532738238573074,
0.04006797447800636,
-0.018476560711860657,
-0.017536170780658722,
-0.015849001705646515,
-0.04325136914849281,
0.007337368093430996,
0.039101988077163696,
-0.01841467060148716,
0.047630857676267624,
-0.04379165545105934,
0.010270957835018635,
-0.00009170849807560444,
0.02956978604197502,
0.018574997782707214,
-0.059067435562610626,
-0.06336557120084763,
-0.03773544728755951,
-0.05155518278479576,
0.0701097697019577,
0.006997379474341869,
-0.01847916841506958,
0.024359771981835365,
0.02662806771695614,
-0.012129556387662888,
0.0222704466432333,
0.011730398051440716,
0.006855837069451809,
-0.0075089335441589355,
-0.0282290019094944,
-0.05556311085820198,
-0.017696356400847435,
0.023931805044412613,
0.051790762692689896,
-0.07385887205600739,
-0.014226330444216728,
-0.003853992559015751,
0.003963085822761059,
0.02276817336678505,
-0.0005594973335973918,
0.010019244626164436,
-0.00895649567246437,
-0.03215582296252251,
0.0003401076828595251,
-0.08384626358747482,
0.06181834265589714,
0.054120104759931564,
-0.02865668572485447,
0.007598393596708775,
0.012278920039534569,
0.02792820706963539,
0.018727770075201988,
0.01002932246774435,
0.07515396177768707,
0.012774585746228695,
0.00961269624531269,
0.01796126179397106,
0.05513538047671318,
0.020182399079203606,
-0.07321395725011826,
-0.028769539669156075,
0.048463374376297,
0.0023792432621121407,
-0.026238374412059784,
0.004108809866011143,
-0.03455915302038193,
-0.01586100272834301,
-0.007544726599007845,
0.026159312576055527,
0.02355305105447769,
0.02311369776725769,
-0.036806490272283554,
0.020076652988791466,
0.0030564935877919197,
0.037188563495874405,
0.016461864113807678,
-0.031981464475393295,
-0.0211521964520216,
-0.01223987527191639,
0.016406023874878883,
0.03762998431921005,
0.03475775197148323,
0.06712348014116287,
-0.028428832069039345,
0.008058457635343075,
0.09101826697587967,
0.03427012264728546,
0.009597926400601864,
-0.01665278524160385,
0.01909671351313591,
0.053208645433187485,
0.03305448591709137,
0.014286857098340988,
-0.0001293983805226162,
-0.024737464264035225,
-0.02448931336402893,
0.006231320556253195,
0.03195004165172577,
-0.040210455656051636,
0.016269352287054062,
-0.0547313429415226,
-0.0376829095184803,
0.06878149509429932,
-0.022447027266025543,
-0.00673942593857646,
0.03622777387499809,
0.0915839821100235,
0.04871797189116478,
0.030477460473775864,
-0.021434251219034195,
-0.08466596156358719,
0.037352629005908966,
-0.008826172910630703,
0.04076078161597252,
0.023505019024014473,
-0.019830945879220963,
0.04592959210276604,
0.029793474823236465,
0.028792325407266617,
0.03625747561454773,
-0.049262043088674545,
-0.07924361526966095,
-0.03450381010770798,
-0.004503163043409586,
0.04313172772526741,
-0.030794449150562286,
0.035997189581394196,
0.04999751225113869,
-0.010369181632995605,
0.04293694719672203,
-0.0163780078291893,
0.006750570610165596,
0.04252437874674797,
-0.05199920013546944,
-0.038825873285532,
0.03478978946805,
0.03161882609128952,
-0.0063346074894070625,
-0.027317848056554794,
0.00539275910705328,
-0.02717660926282406,
-0.0036367562133818865,
0.049190107733011246,
-0.03168890252709389,
0.025501135736703873,
0.026946911588311195,
0.05899230018258095,
0.0006565478397533298,
0.05719190463423729,
-0.056636471301317215,
0.033208444714546204,
-0.0040551950223743916,
-0.03673241659998894,
-0.005005460698157549,
-0.0238932017236948,
0.1191347986459732,
0.05302373692393303,
-0.024025339633226395,
-0.04570475593209267,
0.01486737746745348,
0.008539102040231228,
-0.037649452686309814,
-0.008437122218310833,
-0.01621694304049015,
-0.01701725646853447,
0.020485689863562584,
-0.03864964470267296,
-0.044951941817998886,
0.028694821521639824,
-0.030786287039518356,
0.02029195800423622,
0.05314080789685249,
0.015885403379797935,
0.05832786485552788,
-0.010685534216463566,
-0.02601749263703823,
0.0038457487244158983,
-0.01736264117062092,
-0.04713345691561699,
-0.023479405790567398,
0.006805991753935814,
0.014675779268145561,
0.03220072016119957,
-0.035428792238235474,
-0.003040012903511524,
-0.027799945324659348,
-0.030996769666671753,
0.02136353962123394,
0.071355901658535,
0.054788511246442795,
0.0005602455930784345,
0.056938089430332184,
-0.041297297924757004,
0.0020220845472067595,
-0.02056172303855419,
-0.022182786837220192,
-0.02838725596666336,
-0.02504897676408291,
-0.00648128055036068,
0.002632587216794491,
0.014237846247851849,
0.026944901794195175,
0.021350722759962082,
0.020357688888907433,
0.036748144775629044,
-0.00834459625184536,
0.03766284137964249,
-0.014749804511666298,
-0.007848034612834454,
-0.03383754938840866,
-0.0056578125804662704,
0.03892825171351433,
-0.03329429030418396,
-0.009623151272535324,
0.023258063942193985,
-0.07469405233860016,
0.04466278478503227,
-0.03724292293190956,
-0.05235129967331886,
-0.013613162562251091,
0.0010729487985372543,
0.028543123975396156,
0.03874167799949646,
-0.003931355196982622,
0.050606317818164825,
0.026847250759601593,
-0.0049786935560405254,
0.01415501069277525,
0.02634873054921627,
0.02055402472615242,
-0.010686444118618965,
0.02189500443637371,
0.052030276507139206,
-0.0024308119900524616,
-0.015235948376357555,
-0.04093213006854057,
-0.0011572890216484666,
-0.021369274705648422,
-0.284470796585083,
0.05795508623123169,
-0.04171649366617203,
-0.04424956813454628,
0.016895290464162827,
-0.03900449723005295,
0.0005669639213010669,
-0.05480010062456131,
-0.012440606020390987,
0.010837339796125889,
-0.023376787081360817,
-0.04564841091632843,
-0.035437993705272675,
0.04295647516846657,
0.023180894553661346,
0.01088801585137844,
0.0024904324673116207,
-0.03646276891231537,
-0.00034366053296253085,
0.03127594292163849,
0.023139705881476402,
-0.05120937526226044,
-0.019867822527885437,
0.052851904183626175,
0.04113553464412689,
0.08091377466917038,
-0.08129753917455673,
0.03762343153357506,
-0.06919346004724503,
-0.025821538642048836,
0.030719731003046036,
-0.05137680098414421,
0.007234422955662012,
-0.02691018022596836,
-0.006436248775571585,
-0.01583852246403694,
0.02329256571829319,
0.0016945289680734277,
-0.03191621974110603,
-0.0009035319089889526,
-0.009484841488301754,
-0.04143247753381729,
-0.011949176900088787,
0.003538151504471898,
0.06864841282367706,
-0.0027521857991814613,
-0.05775468423962593,
-0.005862717516720295,
-0.015461773611605167,
0.05941632390022278,
-0.016328832134604454,
-0.024318762123584747,
-0.03582470864057541,
0.027554839849472046,
-0.021541990339756012,
-0.0007910170825198293,
-0.004836280830204487,
-0.0028563756495714188,
-0.038867559283971786,
-0.033891379833221436,
0.010876171290874481,
-0.05106143280863762,
-0.004630231764167547,
-0.0437014065682888,
-0.0159361083060503,
-0.07544830441474915,
-0.07211161404848099,
-0.021430840715765953,
0.06960612535476685,
0.0384402759373188,
-0.01755181886255741,
0.040612924844026566,
0.02059449627995491,
-0.10184526443481445,
-0.01705848053097725,
-0.016702277585864067,
-0.014607268385589123,
0.006756005808711052,
-0.012228784151375294,
0.05675859749317169,
-0.05585035681724548,
-0.05592016130685806,
0.03643298149108887,
0.003849945729598403,
0.02571549080312252,
-0.03400932997465134,
0.030453847721219063,
0.015110811218619347,
-0.03002564236521721,
-0.02209741435945034,
0.06598471105098724,
-0.049450237303972244,
-0.004084536340087652,
-0.019279375672340393,
-0.02002643048763275,
0.03160440921783447,
0.006505745928734541,
0.00776628078892827,
-0.0051125516183674335,
0.0377676859498024,
0.009437937289476395,
-0.0675496906042099,
-0.00013470748672261834,
-0.07844401895999908,
-0.021708309650421143,
-0.029377536848187447,
-0.030122894793748856,
0.026743672788143158,
0.028534825891256332,
0.0068440823815763,
0.018018418923020363,
-0.03703012689948082,
0.041600339114665985,
-0.0760163813829422,
-0.011183194816112518,
-0.012553585693240166,
0.02726241573691368,
0.029000427573919296,
0.028286753222346306,
-0.007818501442670822,
-0.030493183061480522,
0.008441341109573841,
0.0014390719588845968,
-0.010294354520738125,
-0.07223730534315109,
-0.03412614390254021,
0.005912631284445524,
-0.011382809840142727,
-0.0011402065865695477,
0.0049725426360964775,
-0.02833639271557331,
0.01544160209596157,
0.008784015662968159,
-0.015627557411789894,
0.01954035833477974,
-0.03269197791814804,
-0.0700201615691185,
-0.06292679905891418,
-0.0010691815987229347,
0.03774980455636978,
0.012673729099333286,
0.015466011129319668,
0.0006685714470222592,
0.011601751670241356,
0.048863090574741364,
0.012853085063397884,
0.013843684457242489,
-0.012516744434833527,
0.002366343280300498,
-0.0016558330971747637,
-0.0021259700879454613,
-0.045837897807359695,
0.01376931183040142,
-0.03783762454986572,
-0.06870061159133911,
-0.004349849186837673,
0.052960000932216644,
0.012171636335551739,
-0.028362132608890533,
-0.0163800660520792,
0.021197717636823654,
-0.04844715818762779,
-0.016876045614480972,
-0.030289342626929283,
0.003260820172727108,
0.056372810155153275,
-0.005721741355955601,
0.012655764818191528,
0.014957105740904808,
0.03569542616605759,
-0.0023598838597536087,
-0.00595751591026783,
-0.018154090270400047,
-0.0035628098994493484,
-0.0024790202733129263,
-0.0024834703654050827,
0.015499613247811794,
0.008748462423682213,
0.03548572212457657,
0.031922947615385056,
-0.020113173872232437,
-0.025944069027900696,
-0.008444109931588173,
0.021665457636117935,
0.05471041053533554,
0.04878091812133789,
-0.016012806445360184,
-0.0059522404335439205,
-0.012688173912465572,
-0.030397331342101097,
-0.030405137687921524,
-0.024965975433588028,
-0.01688079722225666,
0.0035114113707095385,
-0.0222134031355381,
-0.09021476656198502,
0.05900133028626442,
-0.0005790491704829037,
-0.010485510341823101,
0.026269394904375076,
0.0027199455071240664,
-0.008607183583080769,
-0.012131327763199806,
0.017446191981434822,
0.03495984151959419,
-0.05520739406347275,
0.003109236480668187,
-0.0018021833384409547,
0.011769397184252739,
0.015088167041540146,
-0.009345464408397675,
-0.049752116203308105,
-0.014791074208915234,
-0.02115323394536972,
0.04549038037657738,
-0.038803163915872574,
-0.01096474751830101,
-0.040025852620601654,
0.013985862024128437,
-0.030889689922332764,
-0.008234328590333462,
0.0011530850315466523,
0.006827873177826405,
-0.004021637607365847,
0.009443838149309158,
0.037127140909433365,
-0.028667766600847244,
-0.028399331495165825,
0.02515561692416668,
-0.015114049427211285,
0.0009854809613898396,
-0.02012765407562256,
0.005334353074431419,
0.05269215255975723,
-0.03713815286755562,
-0.011358067393302917,
-0.015485754236578941,
0.0115705830976367,
-0.00279052066616714,
0.07421800494194031,
0.007401896174997091,
-0.02428790181875229,
-0.0214362945407629,
0.006518207490444183,
-0.0018859606934711337,
0.024105247110128403,
-0.019314024597406387,
0.007160347420722246,
0.030303025618195534,
0.06115026772022247,
0.006922788452357054,
0.009830714203417301,
-0.007697948254644871,
-0.05151022970676422,
0.05205424875020981,
-0.04236835241317749,
-0.02813897281885147,
-0.026475390419363976,
-0.045849550515413284,
0.022260937839746475,
0.007599803153425455,
-0.010528048500418663,
-0.021212588995695114,
0.04119618237018585,
0.02024184539914131,
0.013847180642187595,
0.0311716441065073,
0.004863142501562834,
0.03372786566615105,
-0.03500347211956978,
-0.007210628129541874,
-0.09032513946294785,
0.01461129728704691,
0.028008442372083664,
-0.029220692813396454,
-0.006119297351688147,
0.004912352189421654,
-0.029252706095576286,
0.026575705036520958,
-0.08768957853317261,
-0.03398599103093147,
0.04604712128639221,
-0.01693727821111679,
0.01419545616954565,
0.0027506938204169273,
-0.01868867687880993,
0.02966254949569702,
0.04420338198542595,
-0.0674307569861412,
-0.005513051524758339,
-0.03662959486246109,
0.06442789733409882,
0.00642081955447793,
0.003348873695358634,
-0.016976887360215187,
-0.011918261647224426,
0.06920962780714035,
0.026721972972154617,
0.024233220145106316,
0.04143383726477623,
-0.01131347008049488,
0.04347619041800499,
0.006992745213210583,
-0.056338101625442505,
-0.002969970926642418,
0.012121964246034622,
-0.014045636169612408,
-0.04862324893474579,
0.0035452870652079582,
0.006323640700429678,
0.008526692166924477,
-0.04250974580645561,
0.09955734759569168,
0.017510753124952316,
-0.030873343348503113,
-0.03681716322898865,
0.024082999676465988,
-0.02702442742884159,
-0.020585302263498306,
-0.027217090129852295,
-0.016499988734722137,
-0.03384783864021301,
0.06817016750574112,
-0.008395854383707047,
0.015627937391400337,
0.07292968034744263,
-0.009675737470388412,
0.009808067232370377,
-0.008217456750571728,
0.09887735545635223,
0.07082630693912506,
0.04209640622138977,
-0.00997860450297594,
0.05956115201115608,
-0.03107275441288948,
-0.04155058041214943,
0.021218862384557724,
-0.017959589138627052,
-0.00022589080617763102,
-0.007556422147899866,
0.013248593546450138,
0.061095334589481354,
-0.02707841619849205,
0.09730079025030136,
-0.0169175136834383,
-0.009844536893069744,
0.0013750805519521236,
0.013645399361848831,
0.044236037880182266,
0.05071813613176346,
0.000022883517885929905,
0.03258350118994713,
-0.02900286205112934,
-0.01517548318952322,
0.03647531941533089,
0.020572587847709656,
-0.02496480941772461,
0.0319802425801754,
-0.02438737079501152,
0.0072316559962928295,
-0.0009624496451579034,
0.041512224823236465,
0.09953249245882034,
-0.03366037830710411,
0.009459524415433407,
-0.003252824302762747,
0.026665957644581795,
0.0032975333742797375,
0.007444004528224468,
-0.03582557663321495,
-0.03540027514100075,
-0.013554200530052185,
-0.062485355883836746,
-0.022255996242165565,
-0.0018786180298775434,
-0.033085618168115616,
-0.0029272506944835186,
-0.016485266387462616,
0.010502281598746777,
0.04117758199572563,
-0.0008033496560528874,
-0.02619129605591297,
-0.05856378749012947,
-0.039909034967422485,
-0.022622445598244667,
-0.06911223381757736,
-0.009970742277801037,
0.005736647639423609,
-0.01255882065743208,
-0.03756922483444214,
-0.019679194316267967,
-0.043644245713949203,
-0.021240849047899246,
0.03939630091190338,
-0.028891749680042267,
-0.038559690117836,
0.02655201032757759,
0.03528854623436928,
0.021098993718624115,
0.017142288386821747,
0.041448526084423065,
-0.0181144867092371,
-0.015406947582960129,
-0.012245003134012222,
-0.013189400546252728,
0.058871492743492126,
-0.0010248012840747833,
0.004867380019277334,
-0.09211465716362,
0.027885662391781807,
0.020459875464439392,
-0.04563939571380615,
-0.08908814191818237,
0.030808357521891594,
0.0465114451944828,
0.017870832234621048,
0.05698029324412346,
-0.00460868701338768,
-0.029669390991330147,
-0.04732643812894821,
-0.0175813939422369,
-0.023851240053772926,
0.00647305091843009,
0.06502510607242584,
-0.03640959411859512,
0.08029187470674515,
0.045161545276641846,
-0.01983308233320713,
-0.04760923236608505,
-0.013722687028348446,
0.010488161817193031,
0.025538405403494835,
-0.037485864013433456,
-0.011577281169593334,
-0.01961401477456093,
-0.08590468764305115,
-0.005985537078231573,
0.007354720961302519,
-0.022630445659160614,
-0.028072359040379524,
0.019076215103268623,
0.0032514913473278284,
-0.04571325331926346,
0.0014143738662824035,
-0.03294045850634575,
0.035850659012794495,
-0.03453340381383896,
-0.02258242666721344,
-0.02640252374112606,
0.04939166456460953,
-0.0008482041885145009,
0.005096448585391045,
0.0079796826466918,
-0.021570226177573204,
0.027359670028090477,
-0.016246415674686432,
0.022856837138533592,
0.03642430528998375,
-0.0003221117949578911,
-0.009636512026190758
] | [
-0.06705015152692795,
-0.038041893392801285,
-0.021474191918969154,
-0.0262400284409523,
0.11834853887557983,
-0.035783566534519196,
-0.010717730037868023,
-0.0009242240921594203,
-0.004182315431535244,
-0.0010196485091000795,
0.016700023785233498,
-0.024112705141305923,
-0.022881940007209778,
-0.019049743190407753,
0.042593423277139664,
0.012422746047377586,
0.03060442954301834,
-0.08186505734920502,
-0.02919744700193405,
0.064829520881176,
-0.025685876607894897,
-0.04169299080967903,
-0.038330547511577606,
-0.044994134455919266,
-0.026044530794024467,
0.0054381610825657845,
0.043221089988946915,
-0.050687599927186966,
-0.034617070108652115,
-0.1915837675333023,
0.0036087215412408113,
-0.013988829217851162,
0.053875792771577835,
-0.0003283766272943467,
0.010534204542636871,
0.0032453706953674555,
0.040390707552433014,
0.03287171944975853,
0.0042733727023005486,
0.03691636025905609,
0.03483409062027931,
0.017687536776065826,
-0.05512574687600136,
-0.040580105036497116,
0.004096440505236387,
-0.0085931196808815,
0.010236699134111404,
0.004609887488186359,
0.017128486186265945,
0.017060615122318268,
-0.09008728712797165,
-0.012824309058487415,
0.005801127292215824,
0.02075115777552128,
-0.02431901916861534,
0.006676726508885622,
0.04127869755029678,
0.04008948802947998,
0.012002002447843552,
0.016222957521677017,
0.00971764512360096,
-0.004807907156646252,
-0.13839542865753174,
0.09776658564805984,
-0.0008471172768622637,
0.05279591307044029,
-0.031238209456205368,
-0.04786292091012001,
0.00832876656204462,
0.028410306200385094,
-0.007122989743947983,
-0.02829883247613907,
-0.054268140345811844,
0.07828492671251297,
-0.0062530688010156155,
-0.026250967755913734,
-0.017335262149572372,
0.04404149577021599,
0.009479372762143612,
-0.056003157049417496,
-0.05735844373703003,
-0.009273211471736431,
0.01043799240142107,
-0.006502505391836166,
-0.04546266049146652,
-0.0001471542927902192,
-0.018486959859728813,
0.054124653339385986,
0.016227614134550095,
0.003222566796466708,
0.07501433789730072,
0.0027085135225206614,
0.06763332337141037,
0.0060295164585113525,
-0.09547598659992218,
-0.06092445179820061,
-0.005805558059364557,
0.04373956471681595,
0.002695213072001934,
0.42953816056251526,
-0.02798696979880333,
-0.05987324193120003,
0.05258989706635475,
0.022342557087540627,
0.013217524625360966,
0.03285767138004303,
0.020472176373004913,
-0.05629344657063484,
0.005956121254712343,
-0.03437865525484085,
0.03002934157848358,
-0.013825606554746628,
0.06533399224281311,
-0.04267675802111626,
0.055947475135326385,
0.012013353407382965,
0.04393301159143448,
0.00942046195268631,
-0.03465709835290909,
0.028403982520103455,
-0.0037775435484945774,
0.01231136079877615,
0.012778636068105698,
-0.0021799891255795956,
0.033097535371780396,
-0.021703867241740227,
0.041415899991989136,
0.07112589478492737,
0.05214304104447365,
0.01947743445634842,
0.00946124643087387,
-0.01581374928355217,
-0.08160644769668579,
-0.013024427928030491,
-0.008659247308969498,
0.018136752769351006,
0.028500085696578026,
-0.03191635012626648,
0.008447777479887009,
0.00569665152579546,
-0.006330627948045731,
-0.03437316045165062,
0.01971849612891674,
-0.0025545156095176935,
-0.027690939605236053,
0.11042802780866623,
-0.013785607181489468,
-0.0529029555618763,
0.00739740626886487,
-0.07170791923999786,
0.01781257428228855,
0.04195956513285637,
0.012068664655089378,
-0.06252805888652802,
0.0219311211258173,
0.030953040346503258,
0.08611905574798584,
-0.04487821087241173,
-0.07009752094745636,
-0.0027615302242338657,
0.009443223476409912,
-0.02727387845516205,
-0.018863165751099586,
0.0451163612306118,
0.06669217348098755,
-0.075436532497406,
-0.01509728655219078,
0.006818066816776991,
0.032411154359579086,
-0.055145274847745895,
0.0242291446775198,
0.005468991585075855,
-0.019111184403300285,
0.006322256289422512,
0.03199692443013191,
-0.05889749899506569,
-0.051205120980739594,
0.03453270345926285,
0.030104318633675575,
0.020545925945043564,
-0.016781948506832123,
0.01895087957382202,
-0.041454099118709564,
0.057571541517972946,
-0.07478348165750504,
-0.0846763476729393,
-0.03820660710334778,
0.01626339927315712,
-0.013635674491524696,
0.02601737715303898,
-0.012673313729465008,
-0.020193949341773987,
-0.04484746232628822,
0.034758392721414566,
-0.02954617701470852,
-0.01737631857395172,
0.027755657210946083,
0.024805627763271332,
-0.02020392008125782,
-0.024795955047011375,
0.012736505828797817,
0.011150600388646126,
-0.018804458901286125,
0.025813283398747444,
-0.05554601550102234,
0.028636354953050613,
0.023239577189087868,
-0.04864359647035599,
0.043520718812942505,
0.028108665719628334,
0.014163936488330364,
-0.00029476004419848323,
-0.005105728283524513,
-0.00040318636456504464,
-0.00006397786637535319,
-0.05595093220472336,
-0.01579182967543602,
-0.006750475615262985,
0.05721574276685715,
0.03345165774226189,
-0.04416104033589363,
-0.040793877094984055,
-0.011002684943377972,
-0.3688182532787323,
-0.05274354666471481,
-0.03218785300850868,
-0.0011706475634127855,
-0.0021332581527531147,
-0.053326454013586044,
0.018429622054100037,
-0.014738292433321476,
-0.01184616144746542,
0.06216003745794296,
0.05872582644224167,
-0.015506929717957973,
-0.009534058161079884,
-0.09082891047000885,
0.002606662455946207,
0.02884606271982193,
-0.030313989147543907,
0.0062383064068853855,
-0.028470925986766815,
0.017085179686546326,
0.030538935214281082,
-0.023419905453920364,
-0.04289688169956207,
-0.03496457263827324,
0.025715958327054977,
-0.03681699559092522,
0.11514278501272202,
0.025020696222782135,
0.040252622216939926,
-0.061457689851522446,
0.04542947933077812,
-0.01103752851486206,
0.030307572335004807,
-0.08701017498970032,
-0.007847755216062069,
-0.04937906190752983,
-0.02910611405968666,
0.06514211744070053,
-0.008090326562523842,
0.008431138470768929,
-0.08506552129983902,
-0.0010009956313297153,
-0.03424113243818283,
-0.016872968524694443,
-0.03993024677038193,
-0.0009531258838251233,
-0.0006672749295830727,
-0.013565916568040848,
-0.003234591567888856,
0.06052672117948532,
-0.0022157307248562574,
-0.01349484734237194,
0.03414874151349068,
0.028994571417570114,
0.03262779489159584,
-0.04455244168639183,
-0.08163248002529144,
0.026917321607470512,
0.011887514032423496,
-0.027822744101285934,
0.02065208926796913,
0.04246361926198006,
0.051447462290525436,
-0.07069968432188034,
0.016517823562026024,
0.03715579956769943,
-0.016705548390746117,
0.030820216983556747,
0.005549122113734484,
-0.026298262178897858,
-0.04059367626905441,
0.08986403793096542,
-0.021567609161138535,
0.03352077305316925,
0.019493665546178818,
0.054587122052907944,
-0.012532155029475689,
0.0033485940657556057,
0.014824802055954933,
-0.01256976742297411,
0.06518116593360901,
-0.004867060575634241,
0.00824745837599039,
-0.023278450593352318,
0.049261126667261124,
0.07315527647733688,
0.0050901565700769424,
-0.00437952158972621,
0.05936674028635025,
0.03142935410141945,
0.018280135467648506,
-0.020672576501965523,
-0.011174389161169529,
-0.08273369073867798,
0.05176694691181183,
0.004933695774525404,
-0.2526620030403137,
0.031476110219955444,
0.03598024323582649,
0.04999345913529396,
0.004289576783776283,
0.0005901558906771243,
0.039649736136198044,
-0.0413924902677536,
0.057615622878074646,
0.015592868439853191,
0.021201075986027718,
0.03286254405975342,
0.010873629711568356,
-0.02396201528608799,
0.0044140866957604885,
-0.0432867594063282,
0.0165517907589674,
0.03321124240756035,
0.020652009174227715,
0.01788320206105709,
-0.0026483777910470963,
-0.005529933143407106,
0.1411157101392746,
0.021922556683421135,
-0.009427034296095371,
0.03331131488084793,
0.0025576723273843527,
-0.004755781032145023,
0.05637751519680023,
-0.004681022837758064,
0.008597402833402157,
-0.0242031030356884,
0.015938568860292435,
0.01597168669104576,
0.013357503339648247,
-0.0495869480073452,
-0.023670250549912453,
0.06296834349632263,
0.01224781759083271,
-0.017062345519661903,
-0.01817464828491211,
0.015131477266550064,
-0.029915081337094307,
0.02198675274848938,
0.061086256057024,
0.003489080350846052,
-0.0026091039180755615,
-0.03618664667010307,
-0.03585158661007881,
0.010849452577531338,
-0.008633305318653584,
-0.04034130647778511,
-0.013991107232868671,
-0.027348704636096954,
0.03786394000053406,
0.09056036919355392,
0.015027969144284725,
-0.007478538900613785,
0.04532767832279205,
0.02127869985997677,
-0.013259675353765488,
-0.06169655919075012,
0.08379581570625305,
0.018223637714982033,
-0.00039468813338316977
] | [
0.02087964303791523,
0.03859280049800873,
-0.03226817771792412,
0.025946998968720436,
0.029723690822720528,
-0.002442298922687769,
-0.005811236798763275,
0.03417777642607689,
0.014736843295395374,
0.02528192475438118,
-0.011340044438838959,
-0.015268717892467976,
0.029358509927988052,
-0.0334211029112339,
-0.021578185260295868,
-0.03189929202198982,
-0.03462494909763336,
0.015654439106583595,
0.030543485656380653,
0.003967490512877703,
-0.02839927189052105,
0.008029787801206112,
0.0335179939866066,
-0.020485425367951393,
-0.0327366404235363,
0.06409123539924622,
-0.028250759467482567,
0.02754344418644905,
0.004041990730911493,
-0.1361892968416214,
-0.024435551837086678,
-0.011836462654173374,
-0.003588263178244233,
0.016104061156511307,
-0.014700986444950104,
-0.020982829853892326,
0.014927368611097336,
0.038676582276821136,
-0.018741849809885025,
0.027282074093818665,
0.02027393877506256,
0.00461592199280858,
-0.0058231898583471775,
-0.021687718108296394,
-0.011361566372215748,
-0.02644236385822296,
-0.018808959051966667,
0.007582012098282576,
-0.00032476880005560815,
0.004226794932037592,
-0.04837440699338913,
0.017626827582716942,
-0.024660354480147362,
0.032837726175785065,
-0.0017191271763294935,
-0.035161275416612625,
-0.00027220274205319583,
0.016525056213140488,
-0.007095386274158955,
-0.03403518721461296,
-0.013123453594744205,
0.002754319692030549,
-0.03354928642511368,
-0.01981777884066105,
0.0037927082739770412,
-0.02198832295835018,
-0.013953215442597866,
-0.0002178064314648509,
-0.0015568920644000173,
0.01914340630173683,
-0.012559957802295685,
0.03147318959236145,
-0.06146586686372757,
-0.025964530184864998,
-0.02547249011695385,
0.01878121681511402,
0.010938489809632301,
-0.004756404086947441,
0.006426319479942322,
0.007621640805155039,
-0.0435103140771389,
0.013187035918235779,
0.0008984298328869045,
-0.00022063139476813376,
-0.04063454270362854,
-0.004288583528250456,
-0.02184567041695118,
0.0182854812592268,
0.009759357199072838,
-0.005812644958496094,
0.021554311737418175,
0.03505741432309151,
0.01497554685920477,
0.01505014393478632,
-0.09754656255245209,
0.01797526329755783,
-0.0009184492519125342,
0.03183528780937195,
-0.008566098287701607,
0.8293834328651428,
-0.0156698040664196,
-0.023187585175037384,
-0.018434755504131317,
-0.016874141991138458,
-0.013834155164659023,
-0.0066171493381261826,
0.0025306628085672855,
0.012144986540079117,
-0.03184724599123001,
-0.05940506234765053,
0.04415328428149223,
0.007547140121459961,
0.015382407233119011,
0.007388085126876831,
0.0266801156103611,
0.036452516913414,
-0.010470586828887463,
0.02929782122373581,
-0.00838218443095684,
0.010848942212760448,
0.025939960032701492,
0.00013818354636896402,
-0.013107692822813988,
-0.019675327464938164,
0.013318084180355072,
-0.17554856836795807,
0.014277246780693531,
-7.636178076202603e-33,
0.0242925975471735,
-0.026961922645568848,
0.003027771133929491,
-0.012232103385031223,
0.007479420397430658,
-0.002931377151980996,
0.0068221488036215305,
0.03925049304962158,
-0.019462456926703453,
0.013740640133619308,
0.023567335680127144,
-0.003454097080975771,
-0.015317422337830067,
-0.028444606810808182,
0.019964326173067093,
-0.01771198958158493,
0.01965130865573883,
0.006312353536486626,
-0.030509982258081436,
-0.012777745723724365,
0.03917373716831207,
0.023456742987036705,
0.041556451469659805,
0.05069349333643913,
0.012433189898729324,
0.024998798966407776,
-0.013301851227879524,
-0.012699664570391178,
-0.009472407400608063,
-0.03829827532172203,
-0.030749404802918434,
0.04604636877775192,
0.019334791228175163,
-0.035311903804540634,
0.0528692901134491,
-0.052742939442396164,
-0.024863911792635918,
-0.004052171017974615,
-0.012554739601910114,
-0.019847935065627098,
-0.03694926202297211,
0.01428036019206047,
-0.023208579048514366,
-0.00811776053160429,
-0.016545817255973816,
0.0164182111620903,
0.007683412171900272,
0.022227730602025986,
-0.011855259537696838,
0.02325248531997204,
0.04187961667776108,
-0.005863990169018507,
0.026397885754704475,
0.0398218035697937,
-0.0069692060351371765,
0.07836011052131653,
-0.010900739580392838,
-0.004381751641631126,
0.009788787923753262,
0.05050018057227135,
0.0045416150242090225,
0.014228086918592453,
0.007027238141745329,
0.029054291546344757,
0.0028282194398343563,
-0.030430814251303673,
0.05330600216984749,
0.028969507664442062,
0.039239708334207535,
0.007631826680153608,
-0.035177044570446014,
0.060080479830503464,
0.0043951282277703285,
-0.0003971454279962927,
0.02491421066224575,
-0.03236747160553932,
0.006148374639451504,
0.0067727165296673775,
0.019139466807246208,
0.005781602580100298,
-0.01676221191883087,
-0.028133450075984,
0.003206663765013218,
-0.03111894056200981,
-0.01794186793267727,
0.013375514186918736,
0.03691728413105011,
0.02036431059241295,
-0.031802646815776825,
0.007720571476966143,
0.0166085883975029,
0.04638678580522537,
0.00013391405809670687,
-0.03179998695850372,
-0.019609136506915092,
8.404293104803918e-33,
-0.0024299530778080225,
-0.026805011555552483,
-0.01627536676824093,
-0.0051604281179606915,
0.017342619597911835,
0.005258386489003897,
0.0401948019862175,
-0.0262001920491457,
-0.022593552246689796,
0.03056325949728489,
-0.027695517987012863,
-0.027625199407339096,
0.00465158699080348,
0.03468336537480354,
0.06303997337818146,
0.001368229161016643,
-0.0049559809267520905,
-0.008052162826061249,
-0.023498207330703735,
-0.010659269988536835,
-0.03608134761452675,
-0.007593533489853144,
-0.007414421997964382,
0.011357918381690979,
0.046574681997299194,
0.0043378653936088085,
-0.03080250695347786,
0.01154070533812046,
-0.014883842319250107,
0.011826924979686737,
-0.00044093484757468104,
-0.0004993245820514858,
-0.015600933693349361,
-0.019369175657629967,
-0.024142684414982796,
0.029495863243937492,
0.04511239379644394,
-0.006732766516506672,
0.023412121459841728,
0.014967961236834526,
0.005944726523011923,
0.0238353218883276,
-0.013379429467022419,
0.01609605923295021,
-0.0005761887296102941,
0.049424029886722565,
0.010088484734296799,
0.044203925877809525,
-0.018983278423547745,
0.03477347269654274,
-0.013063703663647175,
0.03526315838098526,
-0.02330745756626129,
0.052461687475442886,
0.03614278882741928,
-0.03668631613254547,
-0.026202967390418053,
-0.002427935367450118,
-0.05453832074999809,
-0.004068212583661079,
-0.024405892938375473,
0.007968162186443806,
-0.05634637922048569,
0.04679003730416298,
0.001238553668372333,
-0.009394976310431957,
-0.020778801292181015,
-0.05463482439517975,
0.009064620360732079,
-0.008110019378364086,
0.01796860620379448,
-0.03763263300061226,
-0.00162861542776227,
0.009890216402709484,
-0.02335985191166401,
-0.027473922818899155,
-0.02755713276565075,
0.0007167764706537127,
0.0021646390669047832,
0.03081321530044079,
0.030407706275582314,
-0.02458568848669529,
0.019440876320004463,
-0.004358080215752125,
0.0068123419769108295,
0.04964328184723854,
-0.016677580773830414,
-0.028117967769503593,
0.03314806520938873,
0.015396843664348125,
-0.020909421145915985,
-0.05266052857041359,
0.001045849872753024,
0.0007692936342209578,
-0.010792474262416363,
-1.3215998073690116e-8,
-0.016377979889512062,
0.000812558108009398,
-0.028804343193769455,
0.012962227687239647,
0.04378055781126022,
0.020893746986985207,
-0.03905897215008736,
0.0015587445814162493,
-0.024902697652578354,
0.007432508748024702,
0.05116228759288788,
-0.04394879192113876,
0.021312624216079712,
0.013853560201823711,
0.0003315737994853407,
-0.03002340905368328,
0.04858684167265892,
-0.014156525954604149,
0.01637662760913372,
-0.002204109914600849,
0.02915400080382824,
0.055927127599716187,
-0.03154810518026352,
0.019588446244597435,
0.014036827720701694,
-0.01774725690484047,
-0.014706693589687347,
-0.09615457057952881,
0.0010965275578200817,
0.011194497346878052,
0.008911393582820892,
-0.04971925914287567,
-0.003532495116814971,
-0.00029606345924548805,
-0.012514396570622921,
-0.03314409777522087,
-0.004101692233234644,
0.030020123347640038,
0.011774812825024128,
0.011186548508703709,
0.001176783931441605,
-0.016507284715771675,
-0.024502163752913475,
-0.031773559749126434,
-0.03412283584475517,
0.002382337348535657,
-0.030860520899295807,
-0.015424568206071854,
0.019252460449934006,
-0.04072101414203644,
0.020872194319963455,
-0.016568968072533607,
0.01202412974089384,
0.044522516429424286,
0.04021266847848892,
0.01720922812819481,
0.05046980455517769,
0.013434519991278648,
-0.0268827173858881,
-0.026307059451937675,
0.005417620297521353,
0.02555394545197487,
-0.0018859364790841937,
-0.03236331790685654
] | spark-parse-csv-file-and-group-by-column-value | https://markhneedham.com/blog/2014/11/16/spark-parse-csv-file-and-group-by-column-value |
false | 2014-11-17 00:53:11 | R: ggmap - Overlay shapefile with filled polygon of regions | [
"r-2",
"rstats",
"ggmap"
] | [
"R"
] | I've been playing around with plotting maps in R over the last week and got to the point where I wanted to have a google map in the background with a filled polygon on a shapefile in the foreground.
The first bit is reasonably simple - we can just import the +++<cite>+++ggmap+++</cite>+++ library and make a call to +++<cite>+++get_map+++</cite>+++:
[source,r]
----
> library(ggmap)
> sfMap = map = get_map(location = 'San Francisco', zoom = 12)
----
image::{{<siteurl>}}/uploads/2014/11/2014-11-17_00-27-11.png[2014 11 17 00 27 11,600]
Next I wanted to show the outlines of the different San Francisco zip codes and came across http://spatioanalytics.com/2014/02/20/shapefile-polygons-plotted-on-google-maps-using-ggplot-throw-some-throw-some-stats-on-that-mappart-2/[a blog post by Paul Bidanset on Baltimore neighbourhoods] which I was able to adapt.
I downloaded https://data.sfgov.org/download/9q84-kc2y/ZIP[a shapefile of San Francisco's zip codes] from the https://data.sfgov.org/Geographic-Locations-and-Boundaries/San-Francisco-ZIP-Codes-Zipped-Shapefile-Format-/9q84-kc2y[DataSF website] and then loaded it into R using the +++<cite>+++readOGR+++</cite>+++ and +++<cite>+++spTransform+++</cite>+++ functions from the +++<cite>+++rgdal+++</cite>+++ package:
[source,r]
----
> library(rgdal)
> library(ggplot2)
> sfn = readOGR(".","sfzipcodes") %>% spTransform(CRS("+proj=longlat +datum=WGS84"))
> ggplot(data = sfn, aes(x = long, y = lat, group = group)) + geom_path()
----
image::{{<siteurl>}}/uploads/2014/11/2014-11-17_00-38-32.png[2014 11 17 00 38 32,600]
+++<cite>+++sfn+++</cite>+++ is a spatial type of data frame\...
[source,r]
----
> class(sfn)
[1] "SpatialPolygonsDataFrame"
attr(,"package")
[1] "sp"
----
\...but we need a http://rstudio-pubs-static.s3.amazonaws.com/11196_2ac0fb4e6c93425ab7ddd4ccc61c5e47.html[normal data frame to be able to easily merge other data onto the map] and then plot it. We can use ggplot2's +++<cite>+++https://groups.google.com/forum/#!topic/ggplot2/PHaeJNq8eNs[fortify]+++</cite>+++ command to do this:
[source,r]
----
> names(sfn)
[1] "OBJECTID" "ZIP_CODE" "ID"
> sfn.f = sfn %>% fortify(region = 'ZIP_CODE')
SFNeighbourhoods = merge(sfn.f, sfn@data, by.x = 'id', by.y = 'ZIP_CODE')
----
I then made up some fake values for each zip code so that we could have different colour shadings for each zip code on the visualisation:
[source,r]
----
> library(dplyr)
> postcodes = SFNeighbourhoods %>% select(id) %>% distinct()
> values = data.frame(id = c(postcodes),
value = c(runif(postcodes %>% count() %>% unlist(),5.0, 25.0)))
----
I then merged those values onto +++<cite>+++SFNeighbourhoods+++</cite>+++:
[source,r]
----
> sf = merge(SFNeighbourhoods, values, by.x='id')
> sf %>% group_by(id) %>% do(head(., 1)) %>% head(10)
Source: local data frame [10 x 10]
Groups: id
id long lat order hole piece group OBJECTID ID value
1 94102 -122.4193 37.77515 1 FALSE 1 94102.1 14 94102 6.184814
2 94103 -122.4039 37.77006 106 FALSE 1 94103.1 12 94103 21.659752
3 94104 -122.4001 37.79030 255 FALSE 1 94104.1 10 94104 5.173199
4 94105 -122.3925 37.79377 293 FALSE 1 94105.1 2 94105 15.723456
5 94107 -122.4012 37.78202 504 FALSE 1 94107.1 1 94107 8.402726
6 94108 -122.4042 37.79169 2232 FALSE 1 94108.1 11 94108 8.632652
7 94109 -122.4139 37.79046 2304 FALSE 1 94109.1 8 94109 20.129402
8 94110 -122.4217 37.73181 2794 FALSE 1 94110.1 16 94110 12.410610
9 94111 -122.4001 37.79369 3067 FALSE 1 94111.1 9 94111 10.185054
10 94112 -122.4278 37.73469 3334 FALSE 1 94112.1 18 94112 24.297588
----
Now we can easily plot those colours onto our shapefile by calling +++<cite>+++geom_polgon+++</cite>+++ instead of +++<cite>+++geom_path+++</cite>+++:
[source,r]
----
> ggplot(sf, aes(long, lat, group = group)) +
geom_polygon(aes(fill = value))
----
image::{{<siteurl>}}/uploads/2014/11/2014-11-17_00-49-11.png[2014 11 17 00 49 11,600]
And finally let's wire it up to our google map:
[source,r]
----
> ggmap(sfMap) +
geom_polygon(aes(fill = value, x = long, y = lat, group = group),
data = sf,
alpha = 0.8,
color = "black",
size = 0.2)
----
image::{{<siteurl>}}/uploads/2014/11/2014-11-17_00-50-13.png[2014 11 17 00 50 13,600]
I spent way too long with the +++<cite>+++alpha+++</cite>+++ value set to '0' on this last plot wondering why I wasn't seeing any shading so don't make that mistake! | null | null | [
0.003429919481277466,
-0.038882408291101456,
0.009927043691277504,
0.05065193772315979,
0.06720737367868423,
0.00765285873785615,
0.0031885583885014057,
0.04798964038491249,
0.011747871525585651,
-0.02319793775677681,
-0.02268562838435173,
-0.021619504317641258,
-0.06976371258497238,
-0.0015510392840951681,
-0.0066289217211306095,
0.07974161207675934,
0.05409349873661995,
-0.008961034007370472,
-0.010036418214440346,
0.01362147368490696,
0.055825866758823395,
0.04011448100209236,
0.004186804406344891,
0.041315242648124695,
0.020833808928728104,
-0.008422890678048134,
0.002698437077924609,
0.02121545374393463,
-0.042198795825242996,
0.005766838323324919,
0.049014270305633545,
0.02029780112206936,
-0.002972414018586278,
-0.014307428151369095,
0.01547548919916153,
-0.006560712121427059,
-0.03546501696109772,
-0.00860282126814127,
-0.011977911926805973,
0.0018500739242881536,
-0.0506453663110733,
0.06004275754094124,
-0.03406442701816559,
0.01868230663239956,
-0.004298793151974678,
0.015404097735881805,
-0.047408994287252426,
0.03568832576274872,
-0.00786301027983427,
-0.007433528080582619,
-0.04928966239094734,
0.04410913586616516,
-0.020409978926181793,
0.00467814551666379,
-0.043979987502098083,
0.04763183742761612,
0.022254010662436485,
-0.07751379162073135,
0.03420117124915123,
-0.02572769857943058,
0.0019981088116765022,
-0.007962403818964958,
-0.010502691380679607,
0.04478336498141289,
0.018391307443380356,
-0.009952956810593605,
-0.01936386339366436,
0.04298536479473114,
-0.022914396598935127,
-0.012095999903976917,
-0.03453315794467926,
0.03046516142785549,
-0.016669100150465965,
-0.008125770837068558,
-0.016943462193012238,
-0.034041352570056915,
0.009656384587287903,
0.07439835369586945,
-0.01755344308912754,
0.03673484921455383,
-0.027459604665637016,
-0.021078046411275864,
0.009144986979663372,
0.010572848841547966,
-0.006898457184433937,
-0.04423331841826439,
-0.020345041528344154,
-0.04602603614330292,
-0.05107539892196655,
0.0654313787817955,
-0.007878442294895649,
-0.060429561883211136,
0.008468274027109146,
0.02300863154232502,
0.01758216693997383,
0.0022791498340666294,
0.006989036686718464,
0.0006440201541408896,
-0.01164324302226305,
-0.0257959496229887,
-0.05142293497920036,
-0.01087119523435831,
0.04814319685101509,
0.046115193516016006,
-0.06989895552396774,
-0.03239912912249565,
-0.014943951740860939,
-0.0245294738560915,
-0.004016060382127762,
0.017584744840860367,
-0.00111494236625731,
0.011913955211639404,
-0.002849365584552288,
-0.009190772660076618,
-0.05941842868924141,
0.06577940285205841,
0.052666738629341125,
-0.04284802824258804,
-0.015837177634239197,
0.002893015742301941,
0.05500806123018265,
0.03652472048997879,
0.008687794208526611,
0.06548736989498138,
0.020401613786816597,
0.0371735505759716,
-0.016310211271047592,
0.020790183916687965,
-0.026331834495067596,
-0.06043107062578201,
0.0071058133617043495,
0.05850951373577118,
-0.03567695990204811,
-0.006820668000727892,
0.015459501184523106,
-0.03421792387962341,
-0.01795836165547371,
-0.010797154158353806,
0.04759063944220543,
0.03390912339091301,
0.010388553142547607,
-0.023540394380688667,
0.004935852717608213,
-0.014769929461181164,
0.04232584685087204,
0.013095912523567677,
-0.004988576751202345,
-0.041485391557216644,
-0.040368154644966125,
0.007738618645817041,
0.012990276329219341,
0.018939511850476265,
0.048197660595178604,
-0.025148656219244003,
0.019327081739902496,
0.09291232377290726,
0.019466692581772804,
0.01611088030040264,
-0.0002284380461787805,
0.00038789300015196204,
0.046417515724897385,
0.03221143037080765,
0.002015817677602172,
0.056187208741903305,
-0.04164968430995941,
-0.04032547026872635,
0.0070669217966496944,
0.02724315971136093,
-0.015375606715679169,
-0.0037413265090435743,
-0.04749074950814247,
-0.0781870186328888,
0.06440901011228561,
-0.03203161433339119,
0.00748260086402297,
0.013913345523178577,
0.11022206395864487,
0.044429928064346313,
0.020507724955677986,
0.0012254659086465836,
-0.08376069366931915,
0.028440605849027634,
0.03121194802224636,
0.010016661137342453,
0.012525205500423908,
-0.02292492985725403,
0.06472744047641754,
0.018069595098495483,
0.025958018377423286,
0.04291415587067604,
-0.057795993983745575,
-0.0930461585521698,
-0.020592890679836273,
-0.01493867114186287,
0.06430570036172867,
-0.021835418418049812,
-0.0064926655031740665,
0.07162923365831375,
-0.007123992312699556,
0.02664981782436371,
0.0042815362103283405,
0.00535694882273674,
0.05134347826242447,
-0.03824499249458313,
-0.05199042707681656,
-0.0017695408314466476,
0.031373634934425354,
-0.005825716070830822,
-0.015565532259643078,
0.006401617545634508,
-0.005891263484954834,
0.03218197077512741,
0.026109710335731506,
-0.01530966255813837,
0.038944732397794724,
0.010389341041445732,
0.07158461958169937,
0.00838455744087696,
0.06434939056634903,
-0.03517475351691246,
0.02559122070670128,
0.0060728020034730434,
-0.016462383791804314,
-0.011584450490772724,
-0.0004902645014226437,
0.12900161743164062,
0.06986989825963974,
-0.011408933438360691,
-0.03570910915732384,
0.032789990305900574,
-0.035081807523965836,
-0.017095446586608887,
0.026318632066249847,
-0.019134502857923508,
-0.021885178983211517,
0.004535493440926075,
-0.021891163662075996,
-0.020054589956998825,
-0.00021283199021127075,
-0.02355751022696495,
0.007120566908270121,
0.07480858266353607,
-0.00011933168570976704,
0.04894949495792389,
-0.002031734911724925,
-0.014867749065160751,
-0.007627870421856642,
-0.025411969050765038,
-0.06786418706178665,
-0.04017222672700882,
0.023757969960570335,
-0.0061225900426507,
0.035011544823646545,
-0.013338310644030571,
-0.015015213750302792,
-0.034559935331344604,
-0.037650857120752335,
-0.012809067033231258,
0.07609102129936218,
0.06690328568220139,
0.015864748507738113,
0.033310238271951675,
-0.04096214100718498,
0.014957682229578495,
-0.027987321838736534,
-0.027750883251428604,
-0.03705969825387001,
-0.041532136499881744,
0.007118640933185816,
0.02667056769132614,
0.0412176251411438,
0.03101770393550396,
0.01979578100144863,
-0.0036899324040859938,
0.03314663842320442,
-0.013751138933002949,
0.01989377662539482,
-0.01096657570451498,
-0.02449202723801136,
-0.025862788781523705,
0.017968442291021347,
0.042590219527482986,
-0.03459547087550163,
-0.02018522284924984,
0.007973715662956238,
-0.05828992649912834,
0.048671964555978775,
-0.04784804582595825,
-0.03241491690278053,
0.024163195863366127,
0.0023934419732540846,
0.02502194605767727,
0.020240986719727516,
0.004884403198957443,
0.03231213986873627,
0.020840317010879517,
0.003931466955691576,
-0.0010526893893256783,
0.002502578077837825,
0.022306522354483604,
-0.010269629769027233,
0.02609296329319477,
0.05690818652510643,
-0.007902955636382103,
-0.016615180298686028,
-0.04219573736190796,
0.0030502169393002987,
-0.025711210444569588,
-0.28169429302215576,
0.02706446312367916,
-0.009705829434096813,
-0.02156878262758255,
-0.0007548864814452827,
-0.03315131738781929,
0.01749005727469921,
-0.037693221122026443,
-0.025540506467223167,
0.010472051799297333,
0.006741480901837349,
-0.05121259763836861,
-0.05058436095714569,
0.06228942051529884,
0.018771005794405937,
0.03386605530977249,
-0.0003185529203619808,
-0.03287399932742119,
0.0038131149485707283,
0.05629367008805275,
0.02046533115208149,
-0.054486509412527084,
0.010348299518227577,
0.05092871934175491,
0.026852019131183624,
0.06675514578819275,
-0.08015301078557968,
0.03781426325440407,
-0.05195600539445877,
-0.03835087642073631,
0.04922802001237869,
-0.039801932871341705,
0.009019004181027412,
0.0063179610297083855,
0.0049407039768993855,
-0.024511286988854408,
0.03020428493618965,
0.03780154138803482,
0.010025507770478725,
0.010729977861046791,
-0.018105225637555122,
-0.0015959078446030617,
-0.008011747151613235,
0.0025717916432768106,
0.08199818432331085,
-0.02589421346783638,
-0.06492656469345093,
0.007798428181558847,
-0.014158879406750202,
0.06263391673564911,
-0.0032905149273574352,
-0.01827363669872284,
-0.047048937529325485,
0.011553035117685795,
-0.04534105584025383,
-0.009259388782083988,
-0.026292890310287476,
-0.012765585444867611,
-0.06679359823465347,
-0.028771108016371727,
0.015347126871347427,
-0.03271981328725815,
-0.03741612285375595,
-0.03172549232840538,
0.005886653438210487,
-0.061514176428318024,
-0.10007107257843018,
-0.048995234072208405,
0.04574953019618988,
0.0637657567858696,
-0.028614530339837074,
0.009127303957939148,
0.00009733234765008092,
-0.11051042377948761,
-0.008263785392045975,
-0.04576829820871353,
-0.05076230317354202,
-0.010133225470781326,
0.0244989562779665,
0.02145250514149666,
-0.064569853246212,
-0.04817638918757439,
0.04246380180120468,
0.019196925684809685,
0.0011682333424687386,
-0.002496021334081888,
-0.006922826636582613,
-0.007665752433240414,
-0.03737769275903702,
-0.0175619013607502,
0.06406383961439133,
-0.056807518005371094,
0.0011294035939499736,
-0.02069183811545372,
-0.03114544041454792,
0.006742275319993496,
0.03277770057320595,
-0.0014022805262356997,
0.030188292264938354,
0.05425744876265526,
0.016744447872042656,
-0.06597709655761719,
0.022250453010201454,
-0.04045866057276726,
-0.02797744609415531,
-0.013403631746768951,
-0.050303857773542404,
0.02521810121834278,
0.03903782367706299,
0.016777800396084785,
0.0036589521914720535,
0.008662715554237366,
0.030191320925951004,
-0.07917623966932297,
-0.0297020822763443,
0.015239087864756584,
0.03878756985068321,
0.01060465257614851,
0.043304845690727234,
-0.04290933161973953,
-0.040901970118284225,
-0.011058690957725048,
0.017363617196679115,
-0.03502270206809044,
-0.037290241569280624,
0.0167679525911808,
-0.01271055731922388,
-0.02797629125416279,
0.01574638858437538,
0.023512043058872223,
-0.011932422406971455,
0.00733170285820961,
0.0466659851372242,
-0.043530210852622986,
0.03630131110548973,
-0.032462432980537415,
-0.05550065636634827,
-0.029013030230998993,
0.008173426613211632,
0.024010395631194115,
-0.017588596791028976,
0.022100409492850304,
0.03336327150464058,
0.017423216253519058,
0.031722214072942734,
-0.037183888256549835,
0.015757961198687553,
0.017739081755280495,
0.004201067145913839,
-0.006175953894853592,
-0.018966950476169586,
-0.017178600654006004,
0.011814339086413383,
-0.012004517018795013,
-0.006338481791317463,
-0.021272454410791397,
0.03836171329021454,
-0.011446110904216766,
-0.019104406237602234,
-0.048175420612096786,
0.0654008761048317,
-0.06238911673426628,
-0.00592214148491621,
-0.005633537191897631,
-0.013946385122835636,
0.05905349552631378,
0.005623453762382269,
0.037061531096696854,
-0.0016398156294599175,
0.00866731721907854,
0.038599081337451935,
-0.01646164059638977,
-0.006301805377006531,
-0.002125558676198125,
-0.03841402754187584,
-0.00762940151616931,
0.01339669805020094,
0.016817767173051834,
0.05859827250242233,
0.0070927804335951805,
-0.02823793888092041,
-0.021675746887922287,
0.0030494167003780603,
-0.03335370868444443,
0.054656658321619034,
0.03293335437774658,
-0.02422121725976467,
0.006017332896590233,
-0.008728901855647564,
-0.050029952079057693,
-0.010354271158576012,
0.004502710420638323,
-0.0351000539958477,
0.01425834558904171,
-0.03370006009936333,
-0.08134124428033829,
0.035741936415433884,
-0.006666626315563917,
-0.017537765204906464,
0.0261450856924057,
-0.03240406513214111,
0.005302063655108213,
-0.031504418700933456,
0.03702849522233009,
0.06425513327121735,
-0.05734481289982796,
-0.016001753509044647,
-0.0018569354433566332,
0.00033100476139225066,
-0.0016294625820592046,
0.0001438000035705045,
-0.017023548483848572,
-0.020233822986483574,
-0.01166973914951086,
0.03701135143637657,
-0.00994449108839035,
-0.046487029641866684,
-0.0387968085706234,
-0.017401985824108124,
0.01670047454535961,
-0.02142534963786602,
-0.0017778448527678847,
-0.02440446801483631,
-0.01559283584356308,
0.003284745616838336,
0.03195645287632942,
-0.025715136900544167,
-0.03172994777560234,
0.03441191092133522,
-0.045541912317276,
0.018438346683979034,
-0.0148873096331954,
0.030254898592829704,
0.04869523271918297,
-0.0012685428373515606,
0.019485296681523323,
-0.020525913685560226,
0.0105695566162467,
0.0015365603612735868,
0.06862817704677582,
-0.003337017260491848,
-0.01730280928313732,
-0.02096175216138363,
0.023650484159588814,
-0.0044358279556035995,
0.0305759459733963,
-0.024161741137504578,
0.0031328191980719566,
0.023507140576839447,
0.036406755447387695,
0.01895066350698471,
-0.02113943174481392,
0.0111972251906991,
-0.058017827570438385,
0.039010971784591675,
-0.05373672768473625,
-0.0472395159304142,
-0.007045621983706951,
-0.04605439305305481,
0.01707891747355461,
0.002865725429728627,
0.00031444328487850726,
-0.03977610170841217,
0.050350040197372437,
0.039819519966840744,
0.005497743841260672,
0.051784947514534,
-0.0029686305206269026,
0.001610358594916761,
-0.024618497118353844,
-0.0063621969893574715,
-0.0759119987487793,
0.01926378160715103,
0.007610386237502098,
-0.013423522934317589,
-0.06833890825510025,
0.015853850170969963,
-0.04377765208482742,
0.03978319466114044,
-0.08382672071456909,
-0.04445695877075195,
0.033238839358091354,
0.011956235393881798,
-0.0032403049990534782,
-0.006994609255343676,
-0.030641820281744003,
0.02085023559629917,
0.04876285046339035,
-0.05468171462416649,
-0.02002163976430893,
-0.013445812277495861,
0.04423104226589203,
-0.014393928460776806,
0.021299373358488083,
0.0005873811896890402,
0.0068514589220285416,
0.05446757376194,
0.020549699664115906,
-0.006280718371272087,
0.047880783677101135,
-0.03796007111668587,
0.05310380086302757,
0.031140146777033806,
-0.020880460739135742,
0.015830406919121742,
0.02253967896103859,
0.0029771074187010527,
-0.054047271609306335,
0.022979672998189926,
-0.005936061032116413,
0.008580691181123257,
-0.03294464200735092,
0.08012799173593521,
0.023723179474473,
-0.058932188898324966,
-0.06003456935286522,
0.029704660177230835,
-0.05835164710879326,
0.0059986114501953125,
0.003534574992954731,
-0.015269679017364979,
-0.013937616720795631,
0.060877881944179535,
-0.012961997650563717,
0.010548100806772709,
0.05183083564043045,
0.005056779365986586,
-0.027071146294474602,
0.009251474402844906,
0.09842497110366821,
0.07601651549339294,
0.036191415041685104,
0.0034559264313429594,
0.05808436870574951,
-0.014373499900102615,
-0.028620796278119087,
0.0045378124341368675,
-0.015698840841650963,
0.016074931249022484,
-0.030425650998950005,
0.005870174616575241,
0.08034016937017441,
-0.04288093000650406,
0.06598899513483047,
-0.013026160188019276,
-0.03363735228776932,
0.016521237790584564,
0.0074986787512898445,
0.02873159572482109,
0.047925304621458054,
0.01381526980549097,
0.058214496821165085,
-0.036519162356853485,
-0.004763609264045954,
0.022401101887226105,
-0.01670212857425213,
-0.016765447333455086,
0.00262800813652575,
-0.028635486960411072,
0.005036227870732546,
0.009329049848020077,
0.0264142956584692,
0.07961928099393845,
-0.02274220995604992,
-0.012070213444530964,
0.003624433185905218,
0.04623971879482269,
0.007042228244245052,
0.05038050562143326,
-0.0236774031072855,
-0.025525148957967758,
-0.007477646693587303,
-0.041276801377534866,
-0.028765514492988586,
0.010742556303739548,
-0.010287120006978512,
0.008994992822408676,
-0.031002383679151535,
0.01672688126564026,
0.006036060396581888,
-0.04627129063010216,
-0.041299138218164444,
-0.05156921595335007,
-0.0355076864361763,
-0.05069288611412048,
-0.06960617750883102,
0.0023042515385895967,
-0.013072906993329525,
-0.03703668713569641,
-0.047907374799251556,
-0.028568755835294724,
-0.012524771504104137,
-0.03846798092126846,
-0.005451752804219723,
-0.04225155711174011,
-0.014597953297197819,
0.03543173149228096,
0.03354614973068237,
0.01627998799085617,
0.03025580756366253,
0.06663057953119278,
0.011828566901385784,
0.000593942531850189,
-0.008271780796349049,
0.010432747192680836,
0.039462070912122726,
0.0331425815820694,
0.00948550645262003,
-0.07912943512201309,
0.005692275706678629,
-0.026612551882863045,
-0.012266501784324646,
-0.08830811083316803,
0.01946762390434742,
0.026828886941075325,
0.0014978094259276986,
0.017666639760136604,
-0.0004339583683758974,
0.0032432640437036753,
-0.023886943235993385,
-0.011228248476982117,
-0.02078952267765999,
0.013196793384850025,
0.04199492931365967,
-0.027088787406682968,
0.05231180042028427,
0.03580539673566818,
-0.005027436651289463,
-0.04060332477092743,
-0.02543644979596138,
0.015324649401009083,
-0.003416568273678422,
-0.06117820367217064,
-0.027022672817111015,
-0.023425647988915443,
-0.10868696123361588,
-0.018068993464112282,
-0.005669812206178904,
-0.037552978843450546,
-0.011454856023192406,
-0.01834467239677906,
0.035145148634910583,
-0.02996540442109108,
0.05260828882455826,
-0.02527254819869995,
0.020903069525957108,
-0.013384455814957619,
-0.017848199233412743,
-0.012015179730951786,
0.04838525503873825,
0.01174958422780037,
0.0289036612957716,
0.007374297361820936,
-0.04399215430021286,
0.00764572573825717,
0.0015909339999780059,
0.027256479486823082,
0.02859119325876236,
0.02135976031422615,
0.019449418410658836
] | [
-0.02716999687254429,
-0.038445454090833664,
0.01277763769030571,
-0.02521444670855999,
0.08045652508735657,
-0.032891128212213516,
-0.04393846541643143,
0.022117171436548233,
-0.018720583990216255,
0.009944526478648186,
-0.02844591811299324,
-0.055863913148641586,
-0.003370154183357954,
0.012869123369455338,
0.036295898258686066,
-0.0012347641168162227,
-0.022371191531419754,
-0.0195637010037899,
-0.00210472266189754,
0.016033219173550606,
0.0007809442467987537,
-0.004047267138957977,
-0.035771701484918594,
-0.02247445471584797,
0.020081890746951103,
0.020490042865276337,
0.021824020892381668,
-0.030683256685733795,
-0.018680479377508163,
-0.21893219649791718,
0.004301795735955238,
0.026174604892730713,
0.02469572052359581,
-0.023256603628396988,
-0.040423545986413956,
0.0326358899474144,
0.025443648919463158,
0.03293644264340401,
0.024940690025687218,
0.05309822037816048,
0.030976474285125732,
0.0005842081736773252,
-0.04626719653606415,
-0.0008546083117835224,
0.03300699591636658,
-0.0022722850553691387,
-0.04310498386621475,
-0.0167812779545784,
-0.00284343003295362,
-0.027997756376862526,
-0.048658404499292374,
-0.006558132823556662,
-0.020709380507469177,
0.0009312797337770462,
-0.01665792055428028,
0.023356813937425613,
0.014991077594459057,
0.0636615976691246,
0.027671292424201965,
0.024576306343078613,
0.021330829709768295,
0.020391538739204407,
-0.1461646854877472,
0.09069175273180008,
0.014692979864776134,
0.04815275967121124,
-0.030964283272624016,
0.002042026026174426,
-0.013050081208348274,
0.05259381979703903,
-0.0026258451398462057,
0.015209903009235859,
-0.045568715780973434,
0.0549360066652298,
0.005704157520085573,
-0.02941220998764038,
-0.03195510432124138,
0.03940449655056,
0.013072449713945389,
-0.041070688515901566,
-0.010419058613479137,
0.04071834310889244,
-0.004979273304343224,
0.01254183053970337,
0.008915523067116737,
0.00680158007889986,
-0.037179529666900635,
0.0648709163069725,
0.002227327786386013,
0.04001783952116966,
0.07139963656663895,
-0.029236264526844025,
0.04693857580423355,
0.011968323029577732,
-0.09244335442781448,
-0.013708198443055153,
0.017455220222473145,
0.01060181763023138,
0.01430019922554493,
0.4132726192474365,
-0.058457132428884506,
-0.04851190000772476,
0.060342106968164444,
0.09300980716943741,
-0.008236394263803959,
-0.030251583084464073,
0.007233934942632914,
-0.062261443585157394,
-0.00730902049690485,
0.014685519970953465,
-0.00802250299602747,
-0.04606616869568825,
0.0564749613404274,
-0.02427532523870468,
0.010698333382606506,
-0.025241779163479805,
0.026850378140807152,
0.04393334314227104,
-0.01962272822856903,
0.0056873466819524765,
-0.02875698357820511,
0.015168783254921436,
-0.00383429485373199,
0.004959752317517996,
0.055441755801439285,
-0.008902483619749546,
0.045297250151634216,
0.04660816863179207,
0.08293867856264114,
0.011872541159391403,
0.03912218660116196,
0.003589389380067587,
-0.07805828750133514,
0.020094864070415497,
-0.020552920177578926,
-0.0029190159402787685,
0.03706706687808037,
-0.012504850514233112,
-0.028841344639658928,
0.0328543558716774,
-0.027177924290299416,
0.020213041454553604,
0.023358341306447983,
0.003919460345059633,
0.00903907511383295,
0.1249154582619667,
-0.03194379433989525,
-0.03368188440799713,
-0.019652584567666054,
-0.05540618300437927,
0.04343864321708679,
0.02631004899740219,
0.023381449282169342,
-0.05068155378103256,
-0.013415934517979622,
0.036382514983415604,
0.062031425535678864,
-0.010977430269122124,
-0.08997559547424316,
0.015212557278573513,
-0.025089118629693985,
-0.019513510167598724,
-0.012175049632787704,
0.03465830534696579,
0.054525889456272125,
-0.08354468643665314,
-0.03498019278049469,
0.007191813550889492,
0.02825108729302883,
-0.07421673089265823,
0.020373515784740448,
0.012013845145702362,
0.03807336837053299,
0.004489080049097538,
0.07066387683153152,
-0.014624537900090218,
-0.05088149756193161,
0.014758792705833912,
0.03442643582820892,
-0.014287777245044708,
-0.010406311601400375,
-0.01936531253159046,
-0.04148548096418381,
-0.019539592787623405,
-0.10168349742889404,
-0.09637963026762009,
-0.0839674174785614,
0.0018699569627642632,
-0.019828515127301216,
-0.0017734351567924023,
0.020495159551501274,
-0.01679329387843609,
-0.06146874651312828,
0.0268693994730711,
-0.03643455728888512,
-0.022516783326864243,
0.011529285460710526,
-0.006472330074757338,
0.005601787474006414,
-0.03562687337398529,
0.00157253909856081,
0.01713918149471283,
-0.030049899592995644,
0.007372082676738501,
-0.0320378914475441,
0.014934501610696316,
0.08597134053707123,
-0.028839876875281334,
0.02877804823219776,
0.07210041582584381,
0.017075860872864723,
-0.003370157442986965,
0.004366843029856682,
0.005487264133989811,
0.008998721837997437,
0.0072164833545684814,
-0.002674440387636423,
-0.026673495769500732,
-0.012211406603455544,
0.039312656968832016,
-0.023959185928106308,
-0.05922592431306839,
-0.03749080002307892,
-0.35126715898513794,
-0.07041744142770767,
-0.01660938560962677,
-0.005981991533190012,
0.02027873881161213,
-0.05710998550057411,
0.0007162237889133394,
0.010114912874996662,
0.0015935056144371629,
0.048479508608579636,
0.10315892100334167,
-0.021774979308247566,
0.006506753619760275,
-0.058476317673921585,
-0.00960715301334858,
0.026869915425777435,
-0.015366454608738422,
-0.0066936868242919445,
-0.026608414947986603,
-0.020628798753023148,
-0.010464095510542393,
-0.020976202562451363,
-0.05877802148461342,
-0.029655028134584427,
0.028931889683008194,
-0.007821488194167614,
0.12411560118198395,
0.017448049038648605,
0.04247298464179039,
-0.040607698261737823,
0.031994160264730453,
-0.03701389580965042,
0.008179128170013428,
-0.08008880168199539,
0.011252456344664097,
-0.007740633562207222,
0.04249270260334015,
0.040320150554180145,
-0.01099542435258627,
-0.038311876356601715,
-0.04990749433636665,
0.0038108064327389,
-0.04120706021785736,
-0.017018189653754234,
-0.054598402231931686,
0.03125517815351486,
-0.01648547686636448,
0.004416211508214474,
-0.0065112486481666565,
0.08419976383447647,
-0.0075883930549025536,
-0.016780300065875053,
0.04875430464744568,
0.0010228322353214025,
0.020735858008265495,
-0.009690499864518642,
-0.0567728616297245,
-0.0024423045106232166,
-0.001110810087993741,
-0.000595661869738251,
0.025994401425123215,
0.009076988324522972,
0.06324415653944016,
-0.06884793937206268,
0.013220804743468761,
0.03394589573144913,
-0.0160036850720644,
-0.005493460223078728,
0.026242628693580627,
0.018436197191476822,
-0.027880676090717316,
0.08708296716213226,
0.0022658598609268665,
0.026143793016672134,
0.044574446976184845,
0.02386934496462345,
0.028440043330192566,
0.0493699312210083,
0.030848197638988495,
-0.006438863929361105,
0.0388164222240448,
-0.027880104258656502,
0.012302410788834095,
-0.033455826342105865,
-0.019051043316721916,
0.020392773672938347,
0.01083524338901043,
-0.05517764762043953,
0.017376065254211426,
0.034428227692842484,
0.010747243650257587,
-0.004586775787174702,
0.022256415337324142,
-0.09478744864463806,
0.08545096963644028,
-0.005250804591923952,
-0.282152384519577,
0.02067231945693493,
0.04995489865541458,
0.03446948155760765,
-0.03465050831437111,
-0.03018919564783573,
0.06025872379541397,
-0.026185305789113045,
0.0379660427570343,
0.01175124105066061,
0.032955605536699295,
0.06571247428655624,
0.016243282705545425,
-0.01633995771408081,
0.006767523940652609,
-0.04901551827788353,
0.04617733135819435,
0.020500877872109413,
0.0433058924973011,
-0.023023977875709534,
0.00726725347340107,
-0.016907772049307823,
0.15054744482040405,
-0.005105726886540651,
0.007754678372293711,
0.009688613936305046,
0.0026549925096333027,
-0.04179193079471588,
0.0697716623544693,
-0.004280590917915106,
0.013727504760026932,
-0.0031614580657333136,
0.011254286393523216,
-0.0056409165263175964,
0.032664768397808075,
-0.024646753445267677,
-0.0458231158554554,
0.06578897684812546,
0.01659521833062172,
-0.010415535420179367,
-0.0006868333439342678,
0.022528937086462975,
-0.03795629367232323,
0.04186946153640747,
0.035191621631383896,
-0.016225948929786682,
0.0030328496359288692,
-0.0020481853280216455,
-0.06253999471664429,
-0.0030890079215168953,
-0.0000713614936103113,
-0.03193746507167816,
-0.04596257209777832,
-0.05046539753675461,
-0.011824291199445724,
0.06735503673553467,
0.012467170134186745,
-0.029613124206662178,
0.023261765018105507,
0.021649764850735664,
0.008477813564240932,
-0.11862508952617645,
0.1102672591805458,
-0.014002392068505287,
-0.0003611673309933394
] | [
0.02942229062318802,
0.017739934846758842,
0.012635955587029457,
0.005884439218789339,
0.019489336758852005,
0.012216375209391117,
0.0074849496595561504,
0.04953453317284584,
-0.038705743849277496,
-0.000768632919061929,
-0.0036619624588638544,
0.01834961026906967,
0.021070217713713646,
-0.0008502903510816395,
0.0173738282173872,
-0.01149474922567606,
-0.013936012051999569,
-0.002325349487364292,
0.03186267614364624,
0.010220077820122242,
-0.03387407213449478,
0.015269163064658642,
0.02012072689831257,
-0.018040059134364128,
0.018538927659392357,
0.04282383620738983,
-0.022902894765138626,
-0.0045194015838205814,
0.017406271770596504,
-0.1107952669262886,
-0.007761676330119371,
-0.00792558304965496,
0.02379653975367546,
0.00829831138253212,
-0.008790567517280579,
0.02815890870988369,
-0.007806323003023863,
0.009114553220570087,
0.022435737773776054,
0.026344111189246178,
-0.012767907232046127,
0.0009157188469544053,
-0.016245247796177864,
0.007803847081959248,
-0.034829627722501755,
-0.015324629843235016,
-0.006248386111110449,
-0.011405259370803833,
-0.01222161203622818,
0.007671831641346216,
-0.04323092848062515,
-0.017641998827457428,
-0.03686382994055748,
0.022302599623799324,
0.005318338051438332,
0.009370417334139347,
-0.06010798364877701,
-0.029636071994900703,
0.015680020675063133,
-0.02579098381102085,
-0.03609811142086983,
-0.006603579968214035,
-0.046505339443683624,
-0.022126439958810806,
0.0029694088734686375,
0.012205256149172783,
0.0015469725476577878,
-0.021705782040953636,
0.0315978080034256,
0.015452058985829353,
0.02526584267616272,
0.07941566407680511,
-0.04738849028944969,
-0.07838636636734009,
-0.013051946647465229,
0.009124979376792908,
-0.012922854162752628,
-0.00775198545306921,
-0.00942652951925993,
-0.023803336545825005,
-0.0031909027602523565,
0.011736026965081692,
0.007328938692808151,
0.02260577864944935,
-0.02596125192940235,
-0.014842580072581768,
-0.023580661043524742,
0.0052073062397539616,
-0.014289087615907192,
-0.0015826860908418894,
0.0031303276773542166,
0.0351916141808033,
0.0022396466229110956,
0.004613555036485195,
-0.08142749965190887,
-0.025913333520293236,
-0.003515741089358926,
-0.014937004074454308,
-0.02218141220510006,
0.8330735564231873,
0.013443892821669579,
-0.013883428648114204,
0.015136313624680042,
-0.04066130891442299,
0.01047463621944189,
-0.010961142368614674,
-0.019425207749009132,
-0.03196343407034874,
-0.020297085866332054,
-0.009936293587088585,
0.02689599059522152,
0.0038379905745387077,
0.03452932462096214,
0.02790088579058647,
-0.006855340674519539,
0.03303055465221405,
-0.006708825938403606,
0.0033179440069943666,
0.01103147491812706,
0.021819908171892166,
-0.01384272426366806,
-0.0010448700049892068,
-0.026833416894078255,
-0.011414393782615662,
-0.040594663470983505,
-0.20025721192359924,
-0.013881332240998745,
-6.726754667637032e-33,
0.05586841702461243,
-0.015399565920233727,
0.020801641047000885,
-0.0011825603432953358,
0.007533676456660032,
0.005272782873362303,
-0.03707951307296753,
-0.023515965789556503,
-0.026589253917336464,
-0.014672558754682541,
-0.01495016273111105,
0.009918581694364548,
-0.03691987693309784,
0.0257293488830328,
0.029607467353343964,
0.026323208585381508,
-0.005571925546973944,
0.026495568454265594,
-0.02924536168575287,
0.012575921602547169,
0.002518984256312251,
0.01484732422977686,
-0.014056296087801456,
0.002407897962257266,
0.02697671577334404,
0.04809681698679924,
-0.004883769899606705,
0.011096342466771603,
-0.02283276803791523,
-0.04267585650086403,
-0.01760110631585121,
0.0036775872576981783,
-0.0028740253765136003,
0.012843914330005646,
0.042667195200920105,
-0.06457191705703735,
-0.020723123103380203,
-0.00765681266784668,
-0.05254727229475975,
-0.0234735906124115,
-0.025496819987893105,
-0.01200640294700861,
-0.04572411999106407,
-0.006481789518147707,
-0.0006697275093756616,
-0.009519483894109726,
0.026459502056241035,
0.0479394756257534,
-0.004623866640031338,
0.06049302965402603,
0.04964190348982811,
0.013244079425930977,
-0.034054167568683624,
0.01843304932117462,
-0.023497479036450386,
0.02072553150355816,
-0.009282921440899372,
0.003543770406395197,
-0.0025712926872074604,
0.03301004692912102,
0.03163683041930199,
0.011850804090499878,
0.02250242605805397,
0.016167785972356796,
0.007106947712600231,
-0.009101170115172863,
0.0037106627132743597,
0.03259453922510147,
-0.0025406489148736,
0.021892692893743515,
-0.03359871730208397,
0.026177454739809036,
-0.0008162983576767147,
-0.01270737498998642,
0.01323215663433075,
-0.017766045406460762,
-0.006988469511270523,
0.017318956553936005,
0.018088946118950844,
0.040172919631004333,
0.013320058584213257,
-0.02932869829237461,
0.008422154001891613,
-0.04114694148302078,
-0.04428882896900177,
0.009478761814534664,
0.07053171098232269,
0.0075150164775550365,
-0.04228980466723442,
0.01321137510240078,
0.027596360072493553,
0.0035660983994603157,
-0.02483818680047989,
-0.017045961692929268,
-0.030036447569727898,
7.072596125908488e-33,
-0.025730544701218605,
-0.036555785685777664,
0.017018813639879227,
-0.00021258310880512,
-0.004383388441056013,
-0.011113103479146957,
0.06911878287792206,
-0.012922399677336216,
-0.02744676172733307,
0.022537346929311752,
-0.035575974732637405,
0.006613544188439846,
0.013812242075800896,
0.044369108974933624,
0.07935085147619247,
-0.01695971004664898,
-0.0011429846053943038,
0.003090232377871871,
-0.04749124124646187,
0.01435172464698553,
-0.011309889145195484,
-0.014062631875276566,
0.0029039985965937376,
0.015545494854450226,
0.015390547923743725,
0.033332813531160355,
-0.008028445765376091,
0.015609405003488064,
-0.0065269735641777515,
0.015049266628921032,
0.010617333464324474,
-0.00029991817427799106,
-0.016397811472415924,
-0.02226492390036583,
0.012318146415054798,
0.044424839317798615,
0.022821761667728424,
0.0004226593009661883,
0.015089684166014194,
-0.006540071219205856,
-0.02967921271920204,
0.018405737355351448,
0.013427686877548695,
0.0030060275457799435,
-0.004592567682266235,
0.008507718332111835,
0.012423141859471798,
-0.009290585294365883,
-0.012631234712898731,
0.00899161770939827,
-0.019089993089437485,
0.0348474346101284,
0.009370952844619751,
0.009727690368890762,
0.04491943493485451,
-0.030108045786619186,
-0.033535346388816833,
0.03754667192697525,
-0.03614246845245361,
-0.030647683888673782,
-0.02269834652543068,
-0.02291181869804859,
-0.005873510148376226,
0.02589217759668827,
-0.02759985625743866,
-0.023934748023748398,
-0.008684055879712105,
-0.04644196853041649,
0.008732130751013756,
0.05098893865942955,
0.02126482129096985,
-0.018479786813259125,
0.006816239561885595,
0.03255585581064224,
-0.007555369287729263,
0.0017330530099570751,
0.004332129843533039,
0.026321813464164734,
0.0010319746797904372,
0.01368621550500393,
0.053267642855644226,
0.008789954707026482,
0.030277453362941742,
0.039781637489795685,
-0.0013520882930606604,
0.00679645175114274,
-0.012763988226652145,
0.013658851385116577,
0.03364504128694534,
-0.005716006737202406,
-0.0012595970183610916,
0.005040050484240055,
-0.052669163793325424,
0.05600583925843239,
0.030423689633607864,
-1.2674501448373121e-8,
-0.005063739139586687,
-0.0014193824026733637,
-0.013042153790593147,
-0.004932362120598555,
0.034734148532152176,
0.006054119672626257,
-0.005494151264429092,
-0.0048560090363025665,
-0.041732754558324814,
-0.009965052828192711,
0.02510380931198597,
-0.03505167365074158,
-0.011292473413050175,
0.009140484035015106,
-0.009867469780147076,
-0.04754610359668732,
0.03943325951695442,
-0.019641367718577385,
0.03420056775212288,
-0.0130228903144598,
-0.03004516288638115,
0.02911992184817791,
0.007470772136002779,
0.007832870818674564,
0.019903214648365974,
0.011478370986878872,
0.025672437623143196,
-0.08265867829322815,
0.021174302324652672,
0.006806850899010897,
0.04344501718878746,
-0.02737976424396038,
-0.050989918410778046,
-0.012134663760662079,
-0.030647341161966324,
-0.04420151934027672,
0.016405882313847542,
0.03645854443311691,
-0.010792585089802742,
0.018916085362434387,
0.001990839373320341,
0.017612125724554062,
-0.013628953136503696,
-0.026601271703839302,
-0.01743219792842865,
0.025554973632097244,
-0.0028427571523934603,
-0.009044433012604713,
-0.005288470536470413,
0.021321041509509087,
0.01179057452827692,
-0.02247549407184124,
-0.024322718381881714,
0.06335591524839401,
0.036897990852594376,
-0.023299477994441986,
-0.010503074154257774,
-0.005561174359172583,
-0.04336633160710335,
-0.005963870324194431,
-0.02802909165620804,
0.044404082000255585,
-0.02729511447250843,
-0.03268107771873474
] | r-ggmap-overlay-shapefile-with-filled-polygon-of-regions | https://markhneedham.com/blog/2014/11/17/r-ggmap-overlay-shapefile-with-filled-polygon-of-regions |
false | 2014-11-10 22:06:49 | R: dplyr - Maximum value row in each group | [
"r-2"
] | [
"R"
] | In my continued work with R's http://cran.rstudio.com/web/packages/dplyr/vignettes/introduction.html[dplyr] I wanted to be able to group a data frame by some columns and then find the maximum value for each group.
We'll continue with my favourite dummy data set:
[source,r]
----
> library(dplyr)
> data = data.frame(
letter = sample(LETTERS, 50000, replace = TRUE),
number = sample (1:10, 50000, replace = TRUE)
)
----
I started with the following code to count how many occurrences of each (letter, number) pair there were:
[source,r]
----
> data %>% count(letter, number)
Source: local data frame [260 x 3]
Groups: letter
letter number n
1 A 1 184
2 A 2 192
3 A 3 183
4 A 4 193
5 A 5 214
6 A 6 172
7 A 7 196
8 A 8 198
9 A 9 174
10 A 10 196
.. ... ... ...
----
I wanted to find the top number for each letter and with a http://stackoverflow.com/questions/24558328/how-to-select-the-maximum-value-in-each-group-in-r[bit of help from Stack Overflow] I ended up with the following:
[source,r]
----
> data %>% count(letter, number) %>% filter(n == max(n))
Source: local data frame [26 x 3]
Groups: letter
letter number n
1 A 5 214
2 B 6 234
3 C 8 213
4 D 6 211
5 E 9 208
6 F 2 219
7 G 1 213
8 H 2 208
9 I 9 220
10 J 7 213
11 K 3 228
12 L 2 206
13 M 3 212
14 N 4 222
15 O 1 211
16 P 7 211
17 Q 9 210
18 R 5 224
19 S 2 211
20 T 9 204
21 U 8 217
22 V 6 220
23 W 2 213
24 X 2 214
25 Y 3 211
26 Z 3 206
----
Here we're filtering over a collection of rows grouped by letter and only selecting the row which has the max value. We can see more clearly what's happening if we filter the data frame to only contain one letter:
[source,r]
----
> letterA = data %>% filter(letter == "A") %>% count(letter, number)
> letterA
Source: local data frame [10 x 3]
Groups: letter
letter number n
1 A 1 184
2 A 2 192
3 A 3 183
4 A 4 193
5 A 5 214
6 A 6 172
7 A 7 196
8 A 8 198
9 A 9 174
10 A 10 196
----
And now let's apply the filter command while also printing out information about each row:
[source,r]
----
> letterA %>% filter(print(n), print(n == max(n)), n == max(n))
[1] 184 192 183 193 214 172 196 198 174 196
[1] FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE
Source: local data frame [1 x 3]
Groups: letter
letter number n
1 A 5 214
----
If instead of getting the top number by letter we wanted to get the top letter by number we just need to reorder the field names in the count method:
[source,r]
----
> data %>% count(number, letter) %>% filter(n == max(n))
Source: local data frame [10 x 3]
Groups: number
number letter n
1 1 G 213
2 2 F 219
3 3 K 228
4 4 N 222
5 5 R 224
6 6 B 234
7 7 B 221
8 8 U 217
9 9 I 220
10 10 O 209
----
And if we want to see the letter that shows up least frequently we can change the call to 'max' to an equivalent one to 'min':
[source,r]
----
> data %>% count(number, letter) %>% filter(n == min(n))
Source: local data frame [11 x 3]
Groups: number
number letter n
1 1 H 166
2 2 O 160
3 3 E 156
4 4 R 169
5 5 L 169
6 6 I 164
7 7 H 170
8 7 I 170
9 8 Q 166
10 9 W 162
11 10 J 168
---- | null | null | [
0.0070653632283210754,
-0.0019633471965789795,
0.02480504661798477,
0.025638878345489502,
0.04010118171572685,
0.03011164255440235,
0.026713639497756958,
-0.02087589167058468,
0.0017905127024278045,
-0.02891341969370842,
-0.008520394563674927,
-0.015672026202082634,
-0.040275149047374725,
0.039240237325429916,
-0.04730154573917389,
0.08369789272546768,
0.04952108487486839,
0.010755123570561409,
0.024809636175632477,
0.0024102497845888138,
0.06623534113168716,
0.029657503589987755,
-0.021006975322961807,
0.023876529186964035,
0.04831309616565704,
0.004891659133136272,
0.006727950181812048,
-0.004056512378156185,
0.002991387387737632,
0.05569898337125778,
0.04243699088692665,
0.01816483959555626,
0.019873516634106636,
0.0075514838099479675,
0.02144242636859417,
-0.011202082969248295,
0.012256660498678684,
-0.008807607926428318,
0.03832906857132912,
-0.048667047172784805,
-0.06632106751203537,
-0.026249537244439125,
-0.012110989540815353,
0.015607953071594238,
-0.011963005177676678,
0.008831917308270931,
-0.06657509505748749,
0.03305206447839737,
-0.0071639702655375,
0.026856672018766403,
-0.026594864204525948,
0.042789310216903687,
0.0069052777253091335,
-0.057741016149520874,
0.022443372756242752,
0.07203154265880585,
0.020894864574074745,
-0.04972602427005768,
0.03487161174416542,
-0.05034683644771576,
0.031428392976522446,
0.05128471180796623,
0.004563389346003532,
0.03500472381711006,
-0.007403350435197353,
-0.004228806588798761,
-0.013249273411929607,
0.04264211282134056,
-0.01680183783173561,
-0.012829544022679329,
-0.04045151174068451,
-0.02220037952065468,
-0.027928858995437622,
-0.02205936424434185,
-0.010391327552497387,
-0.02691100351512432,
-0.021486621350049973,
0.02158953808248043,
0.021118272095918655,
0.013730274513363838,
-0.034465231001377106,
-0.030606990680098534,
0.012899385765194893,
-0.006099381018429995,
0.006370821036398411,
-0.037866026163101196,
-0.03692327439785004,
-0.0305479746311903,
-0.0675647035241127,
0.042412757873535156,
-0.04294678568840027,
-0.04672324284911156,
0.01237365510314703,
0.02414862997829914,
-0.05928093194961548,
-0.02748788893222809,
-0.011072340421378613,
0.013201681897044182,
0.007785450667142868,
0.002656213939189911,
-0.05334492772817612,
-0.01467585377395153,
0.10135337710380554,
0.0349804125726223,
-0.07016153633594513,
0.022620348259806633,
-0.001244062907062471,
0.01955622434616089,
0.022765567526221275,
0.007472043391317129,
-0.021053845062851906,
-0.007605079095810652,
-0.04639308899641037,
0.012343093752861023,
-0.02580009214580059,
0.08489995449781418,
0.0500875860452652,
0.00996462907642126,
-0.01351182907819748,
0.0022393292747437954,
0.03766594082117081,
0.020637918263673782,
-0.004359198734164238,
0.05071602389216423,
-0.020968738943338394,
0.009182433597743511,
0.015536962077021599,
0.04169239103794098,
-0.007622173056006432,
-0.07530435919761658,
-0.020682169124484062,
0.062198005616664886,
-0.03528909012675285,
0.023629453033208847,
-0.013044129125773907,
-0.023521721363067627,
-0.06222417578101158,
-0.023334043100476265,
0.05671126767992973,
-0.013181187212467194,
0.04770931228995323,
0.005073855631053448,
-0.018640462309122086,
-0.029602035880088806,
0.055070750415325165,
0.04676692932844162,
0.006326786708086729,
-0.057231009006500244,
-0.06746231019496918,
-0.005386047996580601,
0.04653666540980339,
0.02189604565501213,
0.08486324548721313,
-0.016260018572211266,
0.034547433257102966,
0.037784840911626816,
0.014374233782291412,
0.00015177045133896172,
-0.0029231624212116003,
-0.016335079446434975,
0.024375928565859795,
0.03412490710616112,
0.02594238519668579,
0.06327977031469345,
-0.004434268921613693,
-0.04999628663063049,
0.03536823019385338,
0.07436767965555191,
-0.042963799089193344,
0.022077461704611778,
-0.05993970111012459,
-0.07800581306219101,
0.04386213794350624,
-0.04567992687225342,
0.037641920149326324,
-0.014421173371374607,
0.044238388538360596,
0.04505908489227295,
0.030951138585805893,
0.029190227389335632,
-0.07327548414468765,
0.033482182770967484,
-0.01286078430712223,
0.02895396761596203,
0.054361265152692795,
-0.04723411798477173,
0.09975235909223557,
0.05719272792339325,
0.04426997900009155,
0.06380929052829742,
-0.04363227263092995,
-0.05727607384324074,
0.014613608829677105,
-0.017255650833249092,
0.012876485474407673,
-0.043371591717004776,
0.0038629246409982443,
0.06499824672937393,
0.028828555718064308,
-0.004191530402749777,
-0.001916525769047439,
0.05909865349531174,
0.055599138140678406,
-0.035730380564928055,
-0.004634558223187923,
-0.016045663505792618,
0.02578796073794365,
-0.0231635645031929,
-0.00028354121604934335,
0.023333000019192696,
-0.011787024326622486,
0.037940625101327896,
-0.037859994918107986,
-0.02575461007654667,
0.041872479021549225,
0.013112332671880722,
0.044719573110342026,
0.03637213259935379,
0.056735243648290634,
-0.05211455002427101,
-0.0015586409717798233,
-0.027853604406118393,
-0.007736447267234325,
-0.041469965130090714,
0.0016827299259603024,
0.11315618455410004,
0.03912543132901192,
0.0022423213813453913,
-0.0476660318672657,
0.00948431808501482,
-0.023646343499422073,
0.012424391694366932,
0.04710261523723602,
-0.008962360210716724,
-0.016585806384682655,
0.011541476473212242,
-0.054524004459381104,
-0.014597197063267231,
0.04004465788602829,
-0.04743551090359688,
-0.00682069594040513,
0.04448634013533592,
0.00763551564887166,
0.010760006494820118,
0.016061533242464066,
-0.011455731466412544,
0.009167361073195934,
-0.005792256444692612,
-0.06859735399484634,
0.00735505810007453,
0.039195604622364044,
-0.0035699512809515,
0.002263821428641677,
-0.03279940038919449,
0.009391249157488346,
0.00835385825484991,
-0.0014565038727596402,
-0.011696617119014263,
0.0781775489449501,
0.08693735301494598,
-0.026977118104696274,
0.020560869947075844,
-0.0029262052848935127,
-0.02920098416507244,
-0.03392220661044121,
-0.04170121252536774,
-0.0485377199947834,
-0.026803184300661087,
-0.0033259219489991665,
-0.024582836776971817,
0.034091245383024216,
-0.008471563458442688,
-0.03183450177311897,
0.03027236834168434,
0.01804475486278534,
-0.018019257113337517,
0.04713309556245804,
-0.0009926219936460257,
-0.0031255348585546017,
0.009895666502416134,
0.02166121080517769,
0.04500173404812813,
0.04212376847863197,
-0.03753778338432312,
-0.005514581687748432,
-0.060044094920158386,
0.055260542780160904,
-0.01760755106806755,
-0.013186255469918251,
0.020888464525341988,
0.0009381010313518345,
0.028958220034837723,
0.03348655626177788,
0.011008522473275661,
0.02702920325100422,
-0.02609514445066452,
0.019561637192964554,
0.028483210131525993,
-0.0008307766984216869,
0.04675128683447838,
0.02099899761378765,
-0.0016997575294226408,
0.043747711926698685,
-0.021646812558174133,
-0.004518205299973488,
-0.05258333683013916,
-0.003963977564126253,
-0.015728920698165894,
-0.21925698220729828,
-0.009575695730745792,
-0.03298799693584442,
-0.025330841541290283,
-0.005696237087249756,
-0.05934065952897072,
0.04554670304059982,
-0.022840797901153564,
-0.004946216940879822,
0.01350469421595335,
-0.0016927352407947183,
-0.05477070435881615,
-0.01105623971670866,
0.053788237273693085,
0.007113165222108364,
0.02194812521338463,
0.0045348601415753365,
-0.016083573922514915,
-0.003808614332228899,
0.041600316762924194,
0.05717206373810768,
-0.04624559357762337,
-0.037017226219177246,
0.09174611419439316,
-0.020789340138435364,
0.06513483077287674,
-0.056015171110630035,
0.0036681860219687223,
-0.05179796367883682,
-0.03790613263845444,
0.02889440581202507,
-0.031670574098825455,
0.006608354859054089,
-0.015916476026177406,
0.01556324865669012,
-0.03400840610265732,
0.05564212426543236,
-0.010098657570779324,
0.012813916429877281,
0.038391344249248505,
-0.019854560494422913,
0.0023326450027525425,
0.01926143281161785,
-0.02791450172662735,
0.05478513985872269,
0.03246398642659187,
-0.03324982896447182,
0.008399738930165768,
-0.03533157333731651,
0.09152854979038239,
-0.011484738439321518,
-0.0046183038502931595,
-0.025586428120732307,
0.0018543252954259515,
-0.013403487391769886,
-0.029454989358782768,
-0.030848786234855652,
0.02087133750319481,
-0.01467169914394617,
-0.027844643220305443,
-0.008678965270519257,
-0.021574117243289948,
-0.007460193242877722,
-0.0285907331854105,
-0.04330343380570412,
-0.07665908336639404,
-0.07723228633403778,
0.013781576417386532,
0.03130465745925903,
-0.00379002932459116,
-0.04084296524524689,
-0.004299946129322052,
-0.01241146307438612,
-0.10051585733890533,
0.006743233185261488,
-0.0033183093182742596,
0.02781108394265175,
-0.005461174063384533,
-0.00033771261223591864,
0.06739434599876404,
-0.05749548226594925,
-0.023032790049910545,
0.015373772010207176,
0.012769611552357674,
0.03402170538902283,
-0.02530517429113388,
0.00637373561039567,
0.019210459664463997,
-0.03325217217206955,
-0.03091205097734928,
0.08141579478979111,
-0.05613004043698311,
-0.014995068311691284,
0.028302114456892014,
-0.016260724514722824,
0.0619109645485878,
-0.006283993367105722,
0.011514750309288502,
0.04473034292459488,
0.025960173457860947,
0.043134868144989014,
-0.024740878492593765,
0.018770456314086914,
-0.11388496309518814,
-0.03868421912193298,
0.004981270059943199,
-0.08474790304899216,
0.0199618898332119,
0.017922870814800262,
0.030142074450850487,
0.0009674919419921935,
-0.03240194171667099,
0.01679607853293419,
-0.04004430025815964,
0.01791536621749401,
-0.01467282883822918,
-0.009400260634720325,
0.017527585849165916,
0.007009843364357948,
0.00129147176630795,
-0.04532427713274956,
0.002826286945492029,
-0.04588481783866882,
-0.013114436529576778,
-0.025142306461930275,
-0.014996887184679508,
-0.0012749418383464217,
0.020615732297301292,
-0.05562329292297363,
0.03967984765768051,
0.0004589870513882488,
-0.004057123325765133,
0.023156408220529556,
-0.025728855282068253,
0.04221796244382858,
0.012396976351737976,
-0.044539764523506165,
-0.007324380800127983,
0.005603569094091654,
0.03499031811952591,
-0.043834272772073746,
0.009379088878631592,
0.016612980514764786,
0.043637439608573914,
0.02193460240960121,
-0.010293158702552319,
0.04592808336019516,
0.022169437259435654,
-0.011412282474339008,
0.007832574658095837,
0.02594810537993908,
0.003095975611358881,
0.013491634279489517,
-0.04232832044363022,
-0.015971316024661064,
0.00383902620524168,
0.03956476226449013,
-0.014857245609164238,
-0.02674693614244461,
-0.05818361043930054,
-0.026969486847519875,
-0.022455468773841858,
-0.001854019588790834,
-0.037672773003578186,
0.03240334615111351,
0.05820489674806595,
-0.018689440563321114,
0.013269366696476936,
0.037637729197740555,
-0.010485726408660412,
-0.027606451883912086,
0.04216604307293892,
-0.02627413719892502,
0.03788255900144577,
-0.008601590059697628,
0.008013813756406307,
0.04035554453730583,
-0.01130552776157856,
0.011598709970712662,
-0.007245571352541447,
-0.005796364042907953,
-0.00639009103178978,
0.01888466812670231,
0.005794934928417206,
0.024259597063064575,
0.06903868913650513,
-0.018837960436940193,
-0.008350403048098087,
-0.04115612804889679,
-0.043593939393758774,
-0.04612771049141884,
-0.016052501276135445,
-0.03154919296503067,
0.008884163573384285,
-0.04600830748677254,
-0.05949325114488602,
-0.021602658554911613,
0.07390636205673218,
-0.0035143722780048847,
0.028042711317539215,
-0.049258969724178314,
0.0077346013858914375,
-0.03128979355096817,
0.013832315802574158,
0.07652567327022552,
-0.05544164404273033,
0.01934712938964367,
0.0053472635336220264,
-0.0075478027574718,
0.03715991601347923,
-0.005785930436104536,
-0.06734844297170639,
-0.010772251524031162,
-0.05714859440922737,
0.029410991817712784,
-0.004086763598024845,
-0.044641830027103424,
-0.07940689474344254,
0.0386982187628746,
-0.023981962352991104,
0.02204618602991104,
-0.02857019565999508,
0.015775272622704506,
-0.016634119674563408,
-0.02421768568456173,
-0.008688535541296005,
-0.0008198922732844949,
-0.09573934972286224,
0.05533669516444206,
-0.008612137287855148,
-0.008742203935980797,
0.0003771802585106343,
0.040612321346998215,
0.00867977924644947,
-0.008312555029988289,
-0.019693594425916672,
-0.04195762425661087,
0.012871663086116314,
-0.007982620969414711,
0.03312781825661659,
-0.010110183618962765,
-0.002936323406174779,
-0.04711722210049629,
0.010535893961787224,
-0.02530277892947197,
-0.011095693334937096,
-0.018975187093019485,
-0.011499115265905857,
0.06423026323318481,
0.05313367769122124,
0.0034534677397459745,
-0.03788284212350845,
-0.016740111634135246,
-0.0190204419195652,
0.06843603402376175,
0.0015758337685838342,
-0.03731473535299301,
-0.012517920695245266,
-0.03092675283551216,
0.04982226714491844,
0.005583363119512796,
-0.017633719369769096,
-0.013157851994037628,
0.037872906774282455,
0.02099364809691906,
0.011032682843506336,
0.0075667984783649445,
-0.016874825581908226,
0.018699705600738525,
-0.014793687500059605,
0.014617078937590122,
-0.08631718903779984,
-0.026562105864286423,
0.008916822262108326,
0.0010433712741360068,
-0.0015835892409086227,
-0.01786116696894169,
-0.04440949112176895,
0.04775219038128853,
-0.03193742781877518,
-0.053934138268232346,
0.0388491116464138,
0.032452840358018875,
0.0005772750591859221,
0.019806742668151855,
-0.03858675807714462,
-0.01182203646749258,
0.026991575956344604,
-0.038275811821222305,
0.017162257805466652,
-0.0322936475276947,
0.04418443143367767,
-0.04843880981206894,
-0.010320420376956463,
-0.018615495413541794,
-0.025777531787753105,
0.05161537602543831,
0.03832992538809776,
0.017103075981140137,
0.04408559203147888,
-0.05942794308066368,
0.01150166243314743,
0.01860702782869339,
-0.015551433898508549,
0.011070351116359234,
0.025727365165948868,
0.009096759371459484,
-0.00824473425745964,
-0.00003607600228860974,
0.013967224396765232,
0.00040471754618920386,
-0.08016636967658997,
0.0981893241405487,
0.00651458790525794,
-0.056246258318424225,
-0.042259376496076584,
0.014912832528352737,
-0.018449567258358,
-0.007886872626841068,
0.0027557695284485817,
-0.004464772529900074,
0.0051807984709739685,
0.05744354426860809,
-0.028259802609682083,
0.0164516381919384,
0.04983840882778168,
-0.01145236101001501,
-0.0071708206087350845,
0.021980250254273415,
0.057713791728019714,
0.08884808421134949,
0.04548730328679085,
-0.016782989725470543,
0.04187499359250069,
-0.047368988394737244,
-0.05639663711190224,
0.03561047837138176,
-0.06013212352991104,
-0.011233672499656677,
-0.010315919294953346,
-0.02097935602068901,
0.044847261160612106,
-0.030488256365060806,
0.07077625393867493,
0.012777676805853844,
-0.009767141193151474,
0.013695910573005676,
-0.036691829562187195,
0.056932706385850906,
0.05613040179014206,
-0.02479686588048935,
0.029057208448648453,
-0.013015114702284336,
0.005890848580747843,
0.011853243224322796,
0.01010272465646267,
-0.0191141776740551,
0.0005052122287452221,
-0.011558940634131432,
-0.020011859014630318,
0.015590519644320011,
0.012117531150579453,
0.06055663898587227,
-0.04876556992530823,
-0.036357950419187546,
-0.005057966336607933,
0.04860511049628258,
-0.024629991501569748,
-0.01564032770693302,
0.020798150449991226,
-0.03892846405506134,
-0.026349090039730072,
-0.040106531232595444,
-0.02443123050034046,
-0.0432044118642807,
-0.05384654551744461,
-0.008248896338045597,
-0.03314431384205818,
0.0033518816344439983,
0.0291892196983099,
-0.0072921267710626125,
-0.00834947545081377,
-0.04866819083690643,
-0.038567885756492615,
-0.08056984841823578,
-0.06562049686908722,
0.007169040385633707,
0.012766413390636444,
-0.017680088058114052,
-0.014259813353419304,
-0.02594185806810856,
0.02035524882376194,
-0.052854519337415695,
-0.0050591593608260155,
-0.046359967440366745,
-0.07053722441196442,
0.039360564202070236,
0.01198911014944315,
0.03647315129637718,
0.014083429239690304,
0.016124552115797997,
-0.009612218476831913,
-0.02548377960920334,
0.001200936734676361,
0.024953095242381096,
0.0320168137550354,
0.053637612611055374,
-0.014297601766884327,
-0.06163334846496582,
0.01352826226502657,
0.0006319264648482203,
0.0005407938151620328,
-0.05987999960780144,
0.01573154889047146,
-0.015547928400337696,
0.012116924859583378,
0.047018811106681824,
0.019439542666077614,
0.035811081528663635,
-0.011507253162562847,
-0.019056446850299835,
-0.012720144353806973,
0.024230606853961945,
0.041294798254966736,
-0.04906759783625603,
0.04049592465162277,
0.0090335076674819,
-0.007279160898178816,
-0.07326889783143997,
-0.02656468376517296,
-0.017497191205620766,
-0.006824932061135769,
-0.04916997253894806,
-0.02427363209426403,
-0.06684905290603638,
-0.07794725149869919,
-0.0011027608998119831,
0.023821722716093063,
-0.06463232636451721,
-0.01352065522223711,
-0.0013207008596509695,
0.013070308603346348,
-0.03626077249646187,
0.037750497460365295,
-0.04792637377977371,
0.032683178782463074,
-0.0070004211738705635,
-0.02951280027627945,
-0.006122670602053404,
0.024438034743070602,
-0.03156645968556404,
0.025696156546473503,
-0.004737956915050745,
-0.014461150392889977,
-0.02706165425479412,
-0.00837656855583191,
0.036483410745859146,
0.04882824793457985,
-0.0038477438502013683,
0.024752041324973106
] | [
-0.06690126657485962,
-0.022730346769094467,
-0.05240074172616005,
-0.018067482858896255,
0.06219344586133957,
-0.017499549314379692,
-0.02050749957561493,
0.04653403162956238,
0.034916725009679794,
0.020839471369981766,
0.06410466879606247,
-0.0345628559589386,
0.028322653844952583,
-0.010979542508721352,
0.00753225851804018,
-0.026801439002156258,
-0.021053537726402283,
-0.04050038754940033,
-0.05847378075122833,
0.00944491382688284,
-0.023628640919923782,
-0.05212516337633133,
-0.03817632794380188,
-0.06471601873636246,
0.07752998173236847,
0.05604659393429756,
-0.029113903641700745,
-0.04909324273467064,
-0.0023057772777974606,
-0.24134552478790283,
-0.01734011247754097,
0.03232630714774132,
0.0789254903793335,
-0.004008707124739885,
-0.0024030411150306463,
0.04963812604546547,
-0.02035742625594139,
-0.006872524973005056,
0.020284583792090416,
0.006323075387626886,
0.00316979899071157,
0.016955988481640816,
-0.03182375058531761,
0.0024107052013278008,
-0.012908965349197388,
0.03796280920505524,
-0.06745018810033798,
-0.036133285611867905,
-0.003953712526708841,
0.018953518941998482,
-0.03558245301246643,
0.001434856210835278,
-0.01187985297292471,
0.015073324553668499,
0.0015200499910861254,
0.03878732770681381,
0.024955006316304207,
-0.024159127846360207,
-0.012257165275514126,
-0.0040564085356891155,
0.013737478293478489,
-0.010319150984287262,
-0.17033371329307556,
0.08417654037475586,
0.02382427640259266,
0.024478860199451447,
-0.017543967813253403,
0.0035709007643163204,
-0.004102135542780161,
0.07763616740703583,
0.017892874777317047,
0.009247505106031895,
-0.0453476645052433,
0.03279668465256691,
0.03335755318403244,
-0.003627900965511799,
-0.05613033473491669,
-0.016805380582809448,
0.048300620168447495,
-0.022852178663015366,
-0.010771495290100574,
-0.012620908208191395,
0.01790636219084263,
-0.021944163367152214,
-0.017924904823303223,
-0.008961093612015247,
-0.0033378165680915117,
0.013847573660314083,
-0.00046141858911141753,
0.023663854226469994,
0.04170979931950569,
0.05535320192575455,
0.032536111772060394,
0.024882446974515915,
-0.10110179334878922,
-0.011309448629617691,
0.03424355760216713,
-0.005513422191143036,
0.00703042047098279,
0.40033629536628723,
-0.028717484325170517,
-0.0441063717007637,
-0.005735023412853479,
0.05260823667049408,
-0.01093330979347229,
-0.025017589330673218,
-0.01614144630730152,
-0.01567866839468479,
0.000044845666707260534,
-0.01156401727348566,
-0.005476387217640877,
-0.02910028211772442,
0.0413641519844532,
-0.062453169375658035,
0.017569350078701973,
-0.01962324045598507,
0.02268618904054165,
0.013211274519562721,
0.04357526823878288,
0.013340986333787441,
-0.002255683299154043,
-0.006303113419562578,
0.03321194648742676,
0.0033703569788485765,
0.036604687571525574,
-0.010459055192768574,
0.027848314493894577,
0.08518251031637192,
0.05539252609014511,
0.02675161138176918,
0.04497379809617996,
-0.002668444300070405,
-0.09863512217998505,
0.006046013440936804,
-0.03488392382860184,
0.010421091690659523,
0.055528439581394196,
-0.009997575543820858,
0.00449011567980051,
0.01443383377045393,
-0.009966081008315086,
0.010405213572084904,
0.05978192016482353,
-0.0064565520733594894,
-0.02573145367205143,
0.14492793381214142,
-0.022990092635154724,
-0.03544493019580841,
-0.047508690506219864,
-0.0450386181473732,
0.02700442634522915,
0.03126632794737816,
-0.010466384701430798,
-0.04037848860025406,
-0.03274407982826233,
0.020878061652183533,
0.0771293044090271,
-0.06602710485458374,
-0.08397716283798218,
-0.04192150756716728,
-0.033458251506090164,
-0.0025257940869778395,
-0.03030681423842907,
0.041758228093385696,
0.05586083233356476,
-0.059045542031526566,
-0.02316190116107464,
0.022337039932608604,
-0.016563262790441513,
-0.04999745637178421,
0.03495493903756142,
-0.01231348980218172,
-0.06082279607653618,
0.0313127301633358,
0.07187638431787491,
0.010551929473876953,
-0.006423464510589838,
0.007263300474733114,
0.040960006415843964,
0.035269953310489655,
0.017295068129897118,
0.025966830551624298,
-0.03472571820020676,
0.015396077185869217,
-0.018272755667567253,
-0.05190858617424965,
-0.07369331270456314,
0.024417929351329803,
0.005440147593617439,
-0.02747606672346592,
-0.001718644518405199,
-0.012181885540485382,
-0.04341171309351921,
0.05324357748031616,
-0.07273122668266296,
-0.016154740005731583,
0.0542173907160759,
0.02197919227182865,
-0.019283805042505264,
-0.03931000828742981,
-0.013203663751482964,
0.004635541699826717,
0.025369156152009964,
0.036215830594301224,
-0.03119615651667118,
0.04387713968753815,
0.05832299962639809,
-0.03586188331246376,
0.059191931039094925,
-0.007890753448009491,
0.023108290508389473,
-0.0012166561791673303,
0.014130226336419582,
0.0068709575571119785,
-0.013263927772641182,
0.0017416354967281222,
-0.0007893980946391821,
-0.020750803872942924,
-0.012013537809252739,
0.049133021384477615,
0.06554199010133743,
-0.07141605019569397,
-0.030710915103554726,
-0.3705484867095947,
-0.04229417443275452,
0.03678250312805176,
-0.006841748487204313,
0.04392469674348831,
-0.025898709893226624,
0.00043348156032152474,
0.0019246157025918365,
-0.0023330722469836473,
0.08767855912446976,
0.0390801765024662,
0.02980716899037361,
-0.04304604232311249,
-0.10530783981084824,
0.0284890029579401,
0.05124000087380409,
-0.01062054093927145,
-0.021739216521382332,
-0.040369194000959396,
-0.010915396735072136,
-0.027852537110447884,
-0.03759632632136345,
-0.032409120351076126,
0.008205880410969257,
0.05106443911790848,
-0.014176156371831894,
0.1182609498500824,
0.0041444264352321625,
-0.00948414672166109,
-0.014848358929157257,
0.02975335530936718,
-0.015042796730995178,
-0.009954143315553665,
0.01673891209065914,
0.043844208121299744,
-0.06373097002506256,
-0.058263275772333145,
0.03242636099457741,
0.00727603305131197,
-0.02939598076045513,
-0.03515484556555748,
0.010138480924069881,
-0.05856795608997345,
-0.03165006265044212,
-0.04327604919672012,
0.002326015615835786,
-0.007566975429654121,
0.02758803404867649,
-0.028576314449310303,
0.04331354796886444,
0.030729828402400017,
0.002741152886301279,
0.053094808012247086,
0.05482439696788788,
0.0324154794216156,
-0.024845760315656662,
-0.07761245965957642,
-0.005868044216185808,
-0.024550575762987137,
-0.056052129715681076,
0.037570834159851074,
0.00040920806350186467,
0.05845750868320465,
-0.04314007982611656,
-0.009533664211630821,
0.014801476150751114,
0.0216068085283041,
-0.024784721434116364,
0.012888691388070583,
0.040478840470314026,
-0.021101070567965508,
0.0807010680437088,
-0.010540055111050606,
0.053724199533462524,
0.03957993909716606,
0.0217489842325449,
-0.03355511650443077,
-0.02505611814558506,
-0.008558385074138641,
-0.033384837210178375,
0.05503463000059128,
-0.07219118624925613,
0.018144363537430763,
-0.02835095487535,
0.05546210706233978,
0.030347663909196854,
-0.00011209002695977688,
0.0008434373303316534,
0.02484545297920704,
0.05805903673171997,
0.017118271440267563,
-0.03563523292541504,
0.005562217906117439,
-0.04973660036921501,
0.030246665701270103,
-0.0025512080173939466,
-0.2660031020641327,
0.015585406683385372,
0.010311299003660679,
0.023325888440012932,
-0.016800176352262497,
0.028292609378695488,
0.0068242354318499565,
-0.034337036311626434,
0.01297701708972454,
-0.0001689330383669585,
0.0034874333068728447,
0.09948766976594925,
0.04989342391490936,
-0.010585200041532516,
-0.007874099537730217,
-0.0027136215940117836,
0.0064129289239645,
-0.032238420099020004,
0.004701693542301655,
0.009625233709812164,
0.0027230167761445045,
-0.06173836067318916,
0.13409119844436646,
0.0034589057322591543,
-0.025871584191918373,
-0.03951430320739746,
-0.02436840534210205,
-0.007328232750296593,
0.059740640223026276,
-0.027133625000715256,
-0.0066315229050815105,
0.015169351361691952,
0.06177800893783569,
-0.021658556535840034,
0.025809271261096,
0.04055318608880043,
-0.022742860019207,
0.06061814725399017,
0.038234297186136246,
-0.016855275258421898,
-0.01137065514922142,
-0.0061527276411652565,
-0.03944333642721176,
0.022183533757925034,
0.10024221241474152,
-0.03526381030678749,
-0.031908098608255386,
-0.03157716244459152,
-0.011305115185678005,
-0.0040681082755327225,
-0.020534709095954895,
0.01928786188364029,
-0.021021801978349686,
0.005658674519509077,
0.02369062602519989,
0.03162341192364693,
0.01942845806479454,
-0.016185835003852844,
0.03546743839979172,
0.008358647115528584,
-0.035500477999448776,
-0.028725478798151016,
0.09275466203689575,
0.005882410332560539,
0.03022732213139534
] | [
0.020402930676937103,
0.0022704286966472864,
-0.04869302362203598,
0.00595708005130291,
-0.002314124023541808,
0.004507260862737894,
-0.009651717729866505,
-0.0021680479403585196,
-0.06815185397863388,
-0.011202172376215458,
-0.019788144156336784,
0.018153948709368706,
0.00403489638119936,
-0.009393787011504173,
-0.013821914792060852,
0.009676195681095123,
0.012413226999342442,
0.0012542062904685736,
0.011579029262065887,
-0.05309358239173889,
-0.05515279620885849,
0.04034624248743057,
0.04157383739948273,
-0.02594437636435032,
-0.011736993677914143,
0.09027216583490372,
-0.061460427939891815,
0.009855317883193493,
0.037771958857774734,
-0.1246299147605896,
-0.006685012951493263,
-0.007573113311082125,
0.02941010892391205,
0.041161492466926575,
-0.02232525683939457,
0.024289647117257118,
-0.06323785334825516,
0.01803513988852501,
0.035733841359615326,
-0.012922126799821854,
-0.04025474190711975,
0.009068494662642479,
0.01716909185051918,
0.060105081647634506,
-0.0066931163892149925,
0.009500831365585327,
-0.025715800002217293,
0.01495154108852148,
-0.006891794968396425,
-0.011290978640317917,
-0.03208029270172119,
0.04837872087955475,
0.02291359379887581,
0.005656366236507893,
0.02034861594438553,
-0.07501959800720215,
-0.024684373289346695,
-0.0807349756360054,
-0.017399171367287636,
-0.046712059527635574,
-0.019714266061782837,
-0.0018712320597842336,
-0.023059429600834846,
-0.014859016984701157,
-0.004701188299804926,
-0.00649641128256917,
-0.04726643115282059,
0.006119195371866226,
0.01034789253026247,
0.0008583813905715942,
-0.06146984547376633,
0.03167620673775673,
-0.04736245051026344,
0.00433933362364769,
-0.03714359179139137,
0.0003178085607942194,
0.0029147753957659006,
-0.06187496706843376,
0.03910438343882561,
0.0027858312241733074,
-0.018361400812864304,
-0.022289788350462914,
0.026896795257925987,
0.00684986962005496,
0.006963350810110569,
-0.020571408793330193,
0.022731933742761612,
-0.013334416784346104,
0.0034750455524772406,
-0.00861405860632658,
0.005157082807272673,
0.032507482916116714,
0.02299279347062111,
0.029311124235391617,
-0.10554017871618271,
-0.006347205024212599,
-0.04230533167719841,
-0.003716688370332122,
0.015028960071504116,
0.8068814277648926,
-0.008665470406413078,
-0.03152152895927429,
0.006237538531422615,
0.021438119933009148,
-0.02769138291478157,
-0.0390145406126976,
-0.0118388831615448,
0.00017321611812803894,
-0.0022871310357004404,
-0.04950529709458351,
-0.009223559871315956,
0.037329137325286865,
0.03305038437247276,
0.002346159191802144,
0.0011246888898313046,
0.02225470170378685,
0.023236697539687157,
0.03703360632061958,
0.016077984124422073,
-0.02943390980362892,
0.02470635063946247,
-0.005334765650331974,
0.006520334165543318,
0.0031681281980127096,
-0.004409779328852892,
-0.15012724697589874,
0.0021560117602348328,
-5.6387762385754485e-33,
0.024422073736786842,
0.004164715763181448,
0.007296252064406872,
-0.023316306993365288,
0.018454698845744133,
0.0004627793678082526,
0.010715257376432419,
0.012625189498066902,
-0.010849013924598694,
-0.0049567450769245625,
-0.01456519030034542,
-0.0000045966012294229586,
0.04141950607299805,
-0.0011514893267303705,
0.013412347994744778,
-0.04106404632329941,
-0.011914282105863094,
0.030720936134457588,
-0.015560008585453033,
-0.014765956439077854,
0.05253944173455238,
0.006618635728955269,
0.025559740141034126,
0.038499586284160614,
-0.04448710381984711,
0.0066036926582455635,
0.031472329050302505,
-0.004273234400898218,
0.0015146988444030285,
-0.05321608856320381,
-0.01032817829400301,
0.029451288282871246,
0.0010533026652410626,
0.05054377019405365,
0.0042479862459003925,
-0.04646652191877365,
0.02344674803316593,
0.003958237823098898,
0.030261540785431862,
0.028720125555992126,
0.0016083831433206797,
0.022736812010407448,
-0.03810437396168709,
0.00645857909694314,
-0.005225663539022207,
-0.005325364414602518,
0.04032274708151817,
0.09922195225954056,
-0.02825504168868065,
0.0009336327784694731,
0.009121120907366276,
-0.025976702570915222,
0.012268551625311375,
0.014945659786462784,
0.016292167827486992,
0.016107073053717613,
0.014213827438652515,
0.019907508045434952,
0.03334316238760948,
0.05273837223649025,
-0.04995928704738617,
-0.025772443041205406,
0.01942135952413082,
0.025188960134983063,
0.017255539074540138,
-0.019881535321474075,
0.02015714719891548,
-0.0234933290630579,
0.05085938796401024,
0.02687472105026245,
0.013806113041937351,
0.026699844747781754,
-0.0003986061492469162,
-0.004388230852782726,
0.029713228344917297,
-0.020841047167778015,
-0.015068664215505123,
0.003964710049331188,
0.015463907271623611,
0.02910035289824009,
-0.011316477321088314,
0.03170249983668327,
0.010949086397886276,
-0.026133915409445763,
-0.017490282654762268,
-0.0065294415690004826,
-0.019912593066692352,
-0.03511238098144531,
-0.022733939811587334,
-0.018556587398052216,
0.01689605973660946,
-0.003918739035725594,
0.04495115578174591,
-0.0448470264673233,
0.023532340303063393,
6.328946073483661e-33,
0.029945775866508484,
0.01871461234986782,
-0.007675510831177235,
0.00994735024869442,
0.019801530987024307,
-0.03939705342054367,
0.044471073895692825,
0.02332794852554798,
-0.013759462162852287,
0.0346163734793663,
0.00428931787610054,
-0.015619536861777306,
0.03411845117807388,
0.007595464121550322,
0.03134740889072418,
-0.014543438330292702,
0.03517909720540047,
0.013708551414310932,
0.008983521722257137,
0.012560988776385784,
-0.044975053519010544,
0.023112958297133446,
0.01678488403558731,
0.021377619355916977,
0.031979940831661224,
0.03925112262368202,
0.004969549831002951,
-0.02659774199128151,
-0.000791922677308321,
-0.023936552926898003,
0.04451225325465202,
-0.014291029423475266,
-0.014357555657625198,
0.008056323044002056,
-0.011828343383967876,
0.07520993798971176,
0.02429155819118023,
-0.006492029409855604,
-0.0014597794506698847,
-0.0009656691108830273,
0.010762224905192852,
0.03670913726091385,
-0.02222769893705845,
0.03312225267291069,
0.022821445018053055,
-0.00013217583182267845,
0.0029889103025197983,
-0.02746901474893093,
-0.03211608901619911,
-0.021677400916814804,
-0.017926257103681564,
0.005340779200196266,
0.023905210196971893,
0.02199028618633747,
0.009480667300522327,
-0.022954193875193596,
-0.017320793122053146,
0.008055832237005234,
-0.026315616443753242,
-0.042671140283346176,
0.007498892489820719,
-0.004512322135269642,
-0.029458647593855858,
0.033134084194898605,
-0.03970584273338318,
-0.002544354647397995,
-0.01839284412562847,
-0.032124102115631104,
0.03709312155842781,
0.0012373944045975804,
-0.04167524725198746,
-0.0235003549605608,
0.0018400662811473012,
0.02862066961824894,
-0.007019138429313898,
0.01686609536409378,
-0.05206585302948952,
-0.011845546774566174,
-0.005090893246233463,
0.022575607523322105,
0.0034999223425984383,
-0.022368313744664192,
0.019444890320301056,
0.013898929581046104,
-0.0006862293230369687,
0.004878870211541653,
-0.05411692336201668,
-0.008539315313100815,
0.053757503628730774,
-0.0401105135679245,
-0.014835125766694546,
-0.06744693219661713,
-0.015137485228478909,
-0.003988170530647039,
0.015550728887319565,
-1.1875792793603068e-8,
-0.006367427762597799,
0.004750331398099661,
-0.04441108927130699,
-0.018075691536068916,
0.08097036927938461,
0.03772827237844467,
0.0014575959648936987,
0.005711035802960396,
0.01688162423670292,
0.021549325436353683,
0.02866886742413044,
-0.0028266224544495344,
0.022560300305485725,
0.002496649045497179,
-0.00996644701808691,
-0.012691578827798367,
0.06397668272256851,
-0.0025761942379176617,
0.03665933012962341,
0.024124249815940857,
0.008092355914413929,
0.04234893247485161,
-0.02604452520608902,
-0.007116927299648523,
0.003394036553800106,
0.018304813653230667,
0.011585855856537819,
-0.09416871517896652,
0.020132170990109444,
-0.02968546748161316,
0.01631925255060196,
-0.037518128752708435,
-0.0074030552059412,
-0.01889413595199585,
-0.008373452350497246,
-0.04517321661114693,
0.002726283622905612,
0.022723788395524025,
-0.006712772883474827,
-0.0026571638882160187,
-0.005490101408213377,
-0.01830494962632656,
-0.03748393431305885,
-0.02096405066549778,
-0.046298183500766754,
0.005373734049499035,
-0.06913667172193527,
-0.007405707612633705,
-0.006355167366564274,
-0.04799947887659073,
0.05463680997490883,
-0.008605631068348885,
0.0037767337635159492,
0.037909068167209625,
0.0210425965487957,
0.006190633866935968,
-0.03224804997444153,
0.022356471046805382,
-0.009117547422647476,
-0.016546370461583138,
-0.020569389685988426,
0.02731383964419365,
-0.03548722341656685,
-0.0331265963613987
] | r-maximum-value-row-in-each-group | https://markhneedham.com/blog/2014/11/10/r-maximum-value-row-in-each-group |
false | 2014-11-26 00:01:12 | R: dplyr - Select 'random' rows from a data frame | [
"r-2",
"rstats",
"dplyr"
] | [
"R"
] | Frequently I find myself wanting to take a sample of the rows in a data frame where just taking the head isn't enough.
Let's say we start with the following data frame:
[source,r]
----
data = data.frame(
letter = sample(LETTERS, 50000, replace = TRUE),
number = sample (1:10, 50000, replace = TRUE)
)
----
And we'd like to sample 10 rows to see what it contains. We'll start by http://blog.revolutionanalytics.com/2009/02/how-to-choose-a-random-number-in-r.html[generating 10 random numbers] to represent row numbers using the +++<cite>+++runif+++</cite>+++ function:
[source,r]
----
> randomRows = sample(1:length(data[,1]), 10, replace=T)
> randomRows
[1] 8723 18772 4964 36134 27467 31890 16313 12841 49214 15621
----
We can then pass that list of row numbers into dplyr's +++<cite>+++http://rpackages.ianhowson.com/cran/dplyr/man/slice.html[slice]+++</cite>+++ function like so:
[source,r]
----
> data %>% slice(randomRows)
letter number
1 Z 4
2 F 1
3 Y 6
4 R 6
5 Y 4
6 V 10
7 R 6
8 D 6
9 J 7
10 E 2
----
If we're using that code throughout our code then we might want to pull out a function like so:
[source,r]
----
pickRandomRows = function(df, numberOfRows = 10) {
df %>% slice(runif(numberOfRows,0, length(df[,1])))
}
----
And then call it like so:
[source,r]
----
> data %>% pickRandomRows()
letter number
1 W 5
2 Y 3
3 E 6
4 Q 8
5 M 9
6 H 9
7 E 10
8 T 2
9 I 5
10 V 4
> data %>% pickRandomRows(7)
letter number
1 V 7
2 N 4
3 W 1
4 N 8
5 G 7
6 V 1
7 N 7
----
== Update
https://twitter.com/tonkouts[Antonios] pointed out via email that we could just make use of the in-built +++<cite>+++sample_n+++</cite>+++ function which I didn't know about until now:
[source,r]
----
> data %>% sample_n(10)
letter number
29771 U 1
48666 T 10
30635 A 1
34865 X 7
20140 A 3
41715 T 10
43786 E 10
18284 A 7
21406 S 8
35542 J 8
---- | null | null | [
0.025825845077633858,
0.005620331037789583,
-0.025988169014453888,
0.046566177159547806,
0.0621066689491272,
0.023576535284519196,
0.006139052100479603,
-0.01524394191801548,
0.010905561968684196,
-0.017773332074284554,
0.0187370665371418,
-0.008647282607853413,
-0.0699562132358551,
-0.004901041742414236,
-0.01923997513949871,
0.06196239963173866,
0.05444522947072983,
-0.0257957112044096,
0.02234024740755558,
-0.0021384363062679768,
0.0437721349298954,
0.03938191384077072,
0.011467533186078072,
0.04358020797371864,
0.05212574079632759,
-0.033097006380558014,
0.018178390339016914,
0.0010274599771946669,
-0.042623817920684814,
0.030650438740849495,
0.03173261508345604,
0.0196105744689703,
-0.0030571678653359413,
-0.02659493498504162,
0.027484450489282608,
-0.022391725331544876,
-0.0011696311412379146,
-0.003425613045692444,
0.021677419543266296,
0.006593400612473488,
-0.05676507204771042,
0.0028629766311496496,
-0.019382335245609283,
0.015427968464791775,
-0.01958577334880829,
0.013819374144077301,
-0.02957877144217491,
0.030385121703147888,
-0.01486611645668745,
0.031874481588602066,
-0.029418963938951492,
0.05442066863179207,
0.026630248874425888,
-0.05848350375890732,
0.0035771981347352266,
0.04350942000746727,
0.02687743864953518,
-0.04600498080253601,
0.04296290874481201,
-0.05732632800936699,
0.008432023227214813,
-0.0072946082800626755,
0.005767654627561569,
0.033124957233667374,
0.010087617672979832,
-0.013787937350571156,
0.003684524679556489,
0.06963582336902618,
-0.029816262423992157,
0.006496547721326351,
-0.04863295331597328,
-0.02611260861158371,
-0.0488957054913044,
-0.021745184436440468,
0.0018591899424791336,
-0.03876117616891861,
-0.002215305110439658,
0.061482395976781845,
0.010366189293563366,
0.02988157793879509,
-0.0019532509613782167,
-0.015316497534513474,
-0.006145513150840998,
0.007065778598189354,
-0.0010711252689361572,
-0.05580810457468033,
-0.04575278237462044,
-0.04093015193939209,
-0.052056457847356796,
0.051158607006073,
-0.0526619628071785,
-0.05027032271027565,
0.023532463237643242,
0.010802445001900196,
-0.03165546432137489,
-0.010478747077286243,
0.024954892694950104,
-0.007942029275000095,
0.0007094780448824167,
-0.006289346609264612,
-0.05153334513306618,
-0.039909131824970245,
0.05507582426071167,
0.013733948580920696,
-0.0751214474439621,
0.013957471586763859,
-0.001534968614578247,
-0.010680620558559895,
-0.005334923043847084,
0.016155581921339035,
-0.012961956672370434,
-0.011757158674299717,
-0.026711605489253998,
0.010246723890304565,
-0.0600469708442688,
0.060665540397167206,
0.04162993282079697,
-0.007526561617851257,
-0.0011088380124419928,
-0.027282683178782463,
0.03052438423037529,
0.03396635130047798,
0.008060572668910027,
0.08215466886758804,
0.005811992101371288,
0.019398320466279984,
0.018649796023964882,
0.06345570832490921,
-0.004098152741789818,
-0.08616325259208679,
-0.012180359102785587,
0.06171797588467598,
-0.03835440054535866,
0.0005171789671294391,
-0.017051219940185547,
-0.027017446234822273,
-0.014233564026653767,
-0.008950051851570606,
0.07109557092189789,
0.02075410820543766,
0.02841382659971714,
-0.004809710197150707,
0.002603433094918728,
-0.016257522627711296,
0.046328358352184296,
-0.001768174348399043,
0.017334837466478348,
-0.04254552349448204,
-0.06760293245315552,
0.010916892439126968,
0.05188923701643944,
0.04671020805835724,
0.06878188252449036,
-0.0026134783402085304,
0.030567800626158714,
0.04284074530005455,
0.019422762095928192,
0.01546409446746111,
-0.010797140188515186,
-0.0004915309837087989,
0.0471067950129509,
0.034556493163108826,
0.0019039653707295656,
0.051366791129112244,
-0.017019515857100487,
-0.04024399071931839,
0.04742699861526489,
0.040005624294281006,
-0.041068755090236664,
-0.008225972764194012,
-0.05920829251408577,
-0.021113311871886253,
0.04658059403300285,
-0.017519332468509674,
-0.002221418544650078,
0.025104522705078125,
0.06906522810459137,
0.0429716631770134,
0.05963721126317978,
-0.019632404670119286,
-0.07721225172281265,
0.030563199892640114,
0.013236217200756073,
0.02754562348127365,
0.030252771452069283,
-0.03469209745526314,
0.10199782252311707,
0.05003039166331291,
0.011865019798278809,
0.05276203155517578,
-0.054394423961639404,
-0.08380226790904999,
-0.01747756451368332,
-0.011864623054862022,
0.044285304844379425,
-0.032631345093250275,
0.012987768277525902,
0.09434106945991516,
0.00413828669115901,
0.009604081511497498,
-0.003848755033686757,
0.03151378408074379,
0.03797120228409767,
-0.03810075670480728,
-0.034784622490406036,
0.008041358552873135,
0.023042988032102585,
-0.031923070549964905,
-0.015134754590690136,
0.035470589995384216,
-0.01327474694699049,
0.04459981247782707,
0.004625680390745401,
-0.03335180878639221,
0.03438224270939827,
0.030325688421726227,
0.07589834183454514,
0.032395269721746445,
0.024333983659744263,
-0.04312841594219208,
0.031890373677015305,
-0.004343003500252962,
-0.02691638469696045,
-0.03258935734629631,
0.018072381615638733,
0.13626329600811005,
0.061769865453243256,
-0.004769600462168455,
-0.058334462344646454,
0.023242129012942314,
-0.048666343092918396,
-0.013105610385537148,
0.02327416092157364,
0.01842951774597168,
-0.019752711057662964,
0.038959305733442307,
-0.03178759291768074,
-0.015616313554346561,
0.024294735863804817,
-0.056015510112047195,
-0.0074198199436068535,
0.056418076157569885,
0.012086892500519753,
0.03982989117503166,
-0.002276945859193802,
-0.014371827244758606,
-0.025395050644874573,
-0.01916104555130005,
-0.06012226268649101,
-0.010996547527611256,
0.03867143392562866,
-0.018453996628522873,
0.03710883855819702,
-0.04046875610947609,
-0.027047352865338326,
-0.0063183302991092205,
-0.03179271146655083,
0.02952880598604679,
0.0874946117401123,
0.05252937600016594,
-0.0269622839987278,
0.010122599080204964,
0.012873404659330845,
-0.01337658055126667,
-0.0326780304312706,
-0.05724727362394333,
-0.05341916158795357,
-0.056696489453315735,
0.025171950459480286,
0.015416190028190613,
0.030209876596927643,
0.001185158034786582,
-0.03183896094560623,
0.034411266446113586,
-0.004802159499377012,
-0.02546090818941593,
0.033801689743995667,
-0.00006490883242804557,
-0.028885765001177788,
-0.028778476640582085,
-0.01373930461704731,
0.0641256794333458,
0.008617786690592766,
-0.03842293471097946,
0.0004881946078967303,
-0.04856717213988304,
0.045637499541044235,
-0.044597357511520386,
-0.0212705098092556,
0.006002612411975861,
-0.024132324382662773,
0.04475702345371246,
0.025407753884792328,
-0.0019851878751069307,
0.051621925085783005,
-0.014730958268046379,
0.03202677518129349,
0.0009316583164036274,
0.020423831418156624,
0.013697616755962372,
0.017050493508577347,
0.003397350199520588,
0.03079812042415142,
-0.021030940115451813,
-0.026963433250784874,
-0.04452013224363327,
0.01935814879834652,
-0.03202009201049805,
-0.2793242335319519,
0.002642070408910513,
-0.00573915196582675,
0.0050320252776145935,
0.023701492697000504,
-0.05264534801244736,
0.025540661066770554,
-0.026872830465435982,
-0.009665300138294697,
0.005778860300779343,
-0.0038910829462110996,
-0.01773417368531227,
-0.031674083322286606,
0.05554132163524628,
0.03220526874065399,
0.03189116343855858,
-0.012375082820653915,
-0.0311349518597126,
0.034049395471811295,
0.06325017660856247,
0.052277956157922745,
-0.04245441034436226,
-0.02178185246884823,
0.043270502239465714,
0.028805216774344444,
0.05549724027514458,
-0.0634927824139595,
0.041232116520404816,
-0.06270097941160202,
-0.020863667130470276,
-0.013053652830421925,
-0.02966216951608658,
0.0003009359061252326,
-0.013043751008808613,
0.02726283296942711,
-0.03340708836913109,
0.05434297025203705,
0.006462860386818647,
0.014732107520103455,
0.016176743432879448,
-0.029641445726156235,
-0.01957055740058422,
0.019596809521317482,
-0.0007381963077932596,
0.06440127640962601,
0.007837639190256596,
-0.0461689718067646,
0.006196022965013981,
-0.02933374047279358,
0.06972872465848923,
-0.028436748310923576,
-0.008250175043940544,
-0.024209225550293922,
0.009349186904728413,
-0.03419801965355873,
-0.009425847791135311,
-0.014011351391673088,
0.026983406394720078,
-0.022735286504030228,
-0.04595780372619629,
0.008782329969108105,
-0.028901098296046257,
-0.0019503379007801414,
-0.05437033995985985,
0.001889717299491167,
-0.0693482756614685,
-0.07362711429595947,
0.004824812989681959,
0.04552336037158966,
0.043688978999853134,
-0.021148862317204475,
-0.005559926386922598,
0.011826456524431705,
-0.11114369332790375,
0.021221863105893135,
-0.038411736488342285,
-0.012952885590493679,
-0.0023310224059969187,
0.0035455639008432627,
0.0547977052628994,
-0.04298877716064453,
-0.02395903505384922,
0.0327901765704155,
0.0010735163232311606,
0.022680263966321945,
-0.032385874539613724,
-0.005912330932915211,
0.010394428856670856,
-0.04056365787982941,
-0.029158925637602806,
0.0668407753109932,
-0.03168991208076477,
-0.012090097181499004,
-0.0050802105106413364,
-0.01692202314734459,
0.05775466188788414,
0.01783090829849243,
0.02047581411898136,
0.04023237153887749,
0.010061739012598991,
0.028964970260858536,
-0.051843203604221344,
-0.007593641057610512,
-0.08592165261507034,
-0.01752387173473835,
0.002978438977152109,
-0.08478469401597977,
0.04273250699043274,
0.004025908187031746,
0.023212339729070663,
0.006513465195894241,
-0.02827361412346363,
0.0209469273686409,
-0.0477762296795845,
-0.009541312232613564,
-0.010090573690831661,
-0.017831172794103622,
0.0033556828275322914,
0.005320337601006031,
-0.012739303521811962,
-0.08984015882015228,
0.00009564151696395129,
-0.02967512421309948,
-0.011248703114688396,
-0.02140679396688938,
-0.03497643023729324,
0.025225134566426277,
-0.002889238530769944,
-0.020746508613228798,
0.02334490977227688,
0.00534354941919446,
-0.0065803127363324165,
0.02977561019361019,
0.006290448363870382,
0.017788298428058624,
0.014767834916710854,
-0.05415235832333565,
-0.004343826789408922,
0.009698444046080112,
0.04822394996881485,
-0.02150201052427292,
-0.012764730490744114,
0.028523989021778107,
0.027437305077910423,
0.04755854979157448,
0.008144312538206577,
0.026449687778949738,
0.015225631184875965,
-0.04029024392366409,
0.022251436486840248,
0.010344229638576508,
0.017465606331825256,
0.0177552942186594,
-0.027747439220547676,
-0.026501167565584183,
-0.005044918041676283,
0.045557040721178055,
-0.007050616201013327,
-0.02014034055173397,
-0.055290862917900085,
0.007098187692463398,
-0.02634344808757305,
-0.02537085860967636,
-0.03201144188642502,
-0.028132231906056404,
0.041769012808799744,
-0.004476691596210003,
0.012735147960484028,
0.015619155950844288,
-0.008366260677576065,
0.021224789321422577,
-0.01124687772244215,
-0.02650326117873192,
0.011509943753480911,
-0.034926947206258774,
-0.008750499226152897,
0.03334568813443184,
0.016271866858005524,
0.002581007080152631,
-0.00046990570263005793,
-0.022670557722449303,
-0.019864430651068687,
0.01612069271504879,
-0.009744472801685333,
0.05077047646045685,
0.04179149866104126,
-0.016425255686044693,
-0.0038290400989353657,
-0.044992975890636444,
-0.04159587621688843,
-0.05629464238882065,
-0.007169787771999836,
-0.009150073863565922,
0.00018188072135671973,
-0.019746974110603333,
-0.058534715324640274,
0.0030154122505337,
0.03685002401471138,
-0.025366131216287613,
0.0020792034920305014,
-0.010497814044356346,
-0.0008806058904156089,
-0.03441325202584267,
0.04637204110622406,
0.05245097354054451,
-0.05335000157356262,
0.004979594610631466,
-0.012631447054445744,
0.015354100614786148,
0.031668584793806076,
-0.014244485646486282,
-0.05835059657692909,
0.004529864061623812,
-0.04974345117807388,
0.003538995049893856,
-0.02183753065764904,
-0.06249724328517914,
-0.0521542951464653,
0.011814562603831291,
0.013211810030043125,
0.03919835016131401,
-0.056108471006155014,
0.014536537230014801,
-0.011071431450545788,
-0.0004198842216283083,
0.007364057004451752,
-0.06295278668403625,
-0.06181570515036583,
0.05763855576515198,
-0.006737453397363424,
0.0061693075112998486,
-0.004174730274826288,
0.027252737432718277,
0.027525058016180992,
-0.0076516168192029,
-0.01731656678020954,
-0.03427829220890999,
0.03206528723239899,
0.008845537900924683,
0.0430636890232563,
-0.003740736749023199,
0.02713792957365513,
-0.05010230839252472,
0.017542140558362007,
-0.023396890610456467,
-0.01395506039261818,
-0.015430912375450134,
0.0061262622475624084,
0.05381407216191292,
0.06053512915968895,
0.0005736383027397096,
0.01730792224407196,
-0.0007393002160824835,
-0.03878210112452507,
0.05513035133481026,
-0.004787759389728308,
-0.05243908613920212,
-0.011524973437190056,
-0.006249521393328905,
0.041543055325746536,
0.018047086894512177,
0.012094852514564991,
-0.03242999315261841,
0.02114805392920971,
0.020388061180710793,
0.018215807154774666,
0.046454790979623795,
-0.026840439066290855,
0.01461365632712841,
-0.03143018111586571,
0.01324340421706438,
-0.09561789035797119,
-0.03696988523006439,
0.03584111109375954,
0.00958260428160429,
-0.005314479116350412,
-0.017583955079317093,
-0.0347711443901062,
0.0531388595700264,
-0.05455425754189491,
-0.034897394478321075,
0.04718220606446266,
0.004179118666797876,
-0.004708055406808853,
0.017832236364483833,
-0.0434565469622612,
-0.021635763347148895,
0.04118688777089119,
-0.028378907591104507,
-0.014794860035181046,
-0.009121253155171871,
0.054962173104286194,
-0.02258387953042984,
-0.0017051631584763527,
-0.031123647466301918,
-0.02492333948612213,
0.05981428548693657,
0.03090001828968525,
-0.006236600689589977,
0.03955385088920593,
-0.029692046344280243,
0.004577793180942535,
0.005154650658369064,
-0.013727903366088867,
0.024954192340373993,
-0.0023131670895963907,
0.014902505092322826,
-0.02868407405912876,
0.006875982508063316,
0.01327463798224926,
0.0036788093857467175,
-0.05259323865175247,
0.09508177638053894,
0.02709387056529522,
-0.06340761482715607,
-0.06315820664167404,
0.010007786564528942,
-0.0382942259311676,
0.005644512828439474,
0.019066035747528076,
-0.044961508363485336,
-0.02130657248198986,
0.048551756888628006,
-0.031181251630187035,
-0.00886902678757906,
0.05541176721453667,
-0.008693313226103783,
-0.0093614486977458,
-0.011445035226643085,
0.05754154175519943,
0.09929080307483673,
0.07777966558933258,
-0.01571977697312832,
0.052584804594516754,
-0.040309078991413116,
-0.05320421978831291,
-0.0009675324545241892,
-0.04357524961233139,
0.0024859365075826645,
-0.03717067465186119,
0.023917928338050842,
0.061153944581747055,
-0.022863013669848442,
0.043970923870801926,
-0.007308913394808769,
-0.02182871662080288,
-0.000003579617896320997,
0.01986832357943058,
0.03260713815689087,
0.0644138976931572,
-0.007723314221948385,
0.009994959458708763,
-0.01510764379054308,
-0.02293032966554165,
0.04520934075117111,
-0.0016159125370904803,
0.010309738107025623,
0.007730013690888882,
-0.002861423883587122,
0.009756213054060936,
0.003071051789447665,
0.02352478913962841,
0.0771317183971405,
-0.04321207106113434,
-0.03061603382229805,
0.00612629996612668,
0.04733194410800934,
-0.012024449184536934,
-0.007556447759270668,
0.030556252226233482,
-0.03249678015708923,
-0.010267502628266811,
-0.050791215151548386,
-0.05040590465068817,
-0.007817190140485764,
-0.04250437021255493,
-0.006975832395255566,
-0.033256419003009796,
0.012283802032470703,
0.028637580573558807,
-0.015057364478707314,
-0.03805934265255928,
-0.052870310842990875,
-0.047332897782325745,
-0.05184229835867882,
-0.05064288154244423,
-0.009671308100223541,
0.01598704606294632,
-0.028849821537733078,
-0.04064243286848068,
-0.022958436980843544,
-0.0072795026935637,
-0.0016048570396378636,
-0.00457503879442811,
-0.038428205996751785,
-0.06072048470377922,
0.01979762502014637,
0.017938124015927315,
0.04227650538086891,
0.021196192130446434,
0.038663726300001144,
0.015303953550755978,
-0.034874431788921356,
-0.003299898002296686,
0.0176987461745739,
0.04534650966525078,
0.027534199878573418,
0.014874176122248173,
-0.08063604682683945,
0.007292786613106728,
0.016575494781136513,
0.007782481610774994,
-0.07949548214673996,
0.02400214970111847,
-0.008678827434778214,
0.011188436299562454,
0.04398965463042259,
-0.012161476537585258,
0.020925557240843773,
-0.05056700482964516,
-0.040597278624773026,
0.004842451307922602,
0.036797404289245605,
0.030720949172973633,
-0.044991325587034225,
0.05835698917508125,
0.007036018185317516,
0.013190734200179577,
-0.07105492055416107,
-0.012309649959206581,
-0.008952581323683262,
-0.004064976703375578,
-0.05484854802489281,
-0.011680489405989647,
-0.02683258429169655,
-0.08190515637397766,
0.0032159590627998114,
0.020037399604916573,
-0.03548863157629967,
0.006772484630346298,
0.005743855610489845,
0.007785475347191095,
-0.05560294911265373,
0.054179590195417404,
-0.02718845196068287,
0.019046613946557045,
-0.024404199793934822,
-0.009979022666811943,
0.004270980134606361,
0.058973878622055054,
-0.002803631592541933,
0.024243496358394623,
0.010270388796925545,
-0.03476862236857414,
-0.021797796711325645,
-0.016594383865594864,
0.01271581556648016,
0.06625402718782425,
-0.023076705634593964,
0.007367165293544531
] | [
-0.07493600249290466,
-0.0390213243663311,
-0.03536712005734444,
-0.004299658816307783,
0.053504377603530884,
-0.0003483097243588418,
0.0077143264934420586,
0.02704901620745659,
0.02843835949897766,
0.007724476046860218,
0.017334872856736183,
-0.053967613726854324,
0.013657408766448498,
-0.001836680225096643,
0.02901460975408554,
0.00094334885943681,
-0.001053443062119186,
-0.03997953608632088,
-0.04398501664400101,
0.015122432261705399,
-0.031967129558324814,
-0.05096600949764252,
-0.054798468947410583,
-0.07144350558519363,
0.04230112209916115,
0.009069190360605717,
0.013849610462784767,
-0.05719178915023804,
-0.009067296981811523,
-0.21242105960845947,
0.025800330564379692,
0.022467058151960373,
0.05589937046170235,
-0.03934907540678978,
0.005243225488811731,
0.028013398870825768,
-0.0043027508072555065,
0.002609641756862402,
0.0196507778018713,
0.04110835865139961,
0.014201901853084564,
0.017841918393969536,
-0.045121826231479645,
-0.017944959923624992,
0.03665600344538689,
0.012984901666641235,
-0.05199246108531952,
-0.007981660775840282,
-0.001455942285247147,
0.025661544874310493,
-0.08549252897500992,
-0.014213764108717442,
-0.023084158077836037,
0.005353586282581091,
0.0031642690300941467,
0.012716182507574558,
0.04938405379652977,
0.018157240003347397,
0.010415843687951565,
0.033828310668468475,
0.014494787901639938,
0.003858048701658845,
-0.15215489268302917,
0.08970411866903305,
0.035897146910429,
0.04309792444109917,
-0.039775747805833817,
0.006852491293102503,
-0.00265775085426867,
0.0845470279455185,
-0.019948190078139305,
0.0059831212274730206,
-0.0413307249546051,
0.09057660400867462,
0.013762686401605606,
-0.019748108461499214,
-0.027029886841773987,
0.01311398483812809,
0.02762642130255699,
-0.025904472917318344,
-0.02530606836080551,
0.011787554249167442,
-0.0009564999490976334,
-0.01223435252904892,
-0.012469511479139328,
0.021061193197965622,
-0.019342519342899323,
0.025728238746523857,
0.00040735758375376463,
0.006733851507306099,
0.0319453589618206,
0.05460168048739433,
0.0098520303145051,
0.039236437529325485,
-0.07990513741970062,
-0.01712242141366005,
0.029944555833935738,
0.021877305582165718,
0.015226243995130062,
0.3963668942451477,
-0.058369215577840805,
-0.01297509390860796,
0.006661021150648594,
0.06083676591515541,
-0.012149247340857983,
-0.03207237645983696,
-0.021289769560098648,
-0.047863349318504333,
-0.008677137084305286,
-0.014634807594120502,
0.009726961143314838,
-0.02243601158261299,
0.04191425070166588,
-0.06575172394514084,
0.017567211762070656,
-0.03245747089385986,
0.013464848510921001,
0.0008204892510548234,
0.02806232124567032,
-0.012363580986857414,
0.007019436918199062,
-0.027035417035222054,
0.02890803851187229,
0.008264531381428242,
0.06205723434686661,
-0.011636447161436081,
0.0369715541601181,
0.08148888498544693,
0.0645570307970047,
0.01800147444009781,
0.057040825486183167,
-0.009321773424744606,
-0.08926146477460861,
0.000005245442480372731,
-0.02788880653679371,
0.006663498934358358,
0.02862783893942833,
-0.006145741790533066,
-0.02713901177048683,
0.020500384271144867,
0.010462071746587753,
0.0015479462454095483,
0.054553620517253876,
-0.006975999567657709,
-0.031347211450338364,
0.16009773313999176,
-0.022078560665249825,
-0.010053055360913277,
-0.02359814941883087,
-0.08491432666778564,
0.04700693115592003,
0.06433809548616409,
0.008763937279582024,
-0.044306959956884384,
0.005556166172027588,
0.013803547248244286,
0.06697239726781845,
-0.03565480187535286,
-0.06142933666706085,
-0.008240018039941788,
-0.03134072199463844,
-0.03450053930282593,
-0.04735942557454109,
0.01504533551633358,
0.04146575182676315,
-0.041205547749996185,
-0.04879012703895569,
0.040356531739234924,
0.021232960745692253,
-0.05629938468337059,
0.03199617937207222,
-0.010591462254524231,
-0.07240428775548935,
0.028975103050470352,
0.038977574557065964,
-0.0010882591595873237,
-0.04749874770641327,
0.007178273051977158,
0.052414629608392715,
0.02813081257045269,
-0.0005904114223085344,
0.0068312049843370914,
-0.060747791081666946,
0.015084806829690933,
-0.03476288914680481,
-0.08886167407035828,
-0.07602018117904663,
0.017700212076306343,
-0.0215876754373312,
-0.034795213490724564,
-0.019280971959233284,
-0.017192991450428963,
-0.04557259753346443,
0.07683723419904709,
-0.07546387612819672,
-0.048669036477804184,
0.04612506181001663,
0.0018320683157071471,
-0.025529906153678894,
-0.055229850113391876,
-0.003948740195482969,
0.019847406074404716,
0.0017234471160918474,
0.04901190474629402,
-0.03693171590566635,
0.028082219883799553,
0.04770120233297348,
-0.04839036241173744,
0.07948465645313263,
0.040068693459033966,
0.0023718427401036024,
-0.011118351481854916,
0.008293533697724342,
0.04000689089298248,
-0.020787810906767845,
0.0007725978503003716,
0.0042008208110928535,
-0.021459093317389488,
0.030241942033171654,
0.016242820769548416,
0.004873815458267927,
-0.0763232484459877,
-0.01783316768705845,
-0.36719322204589844,
-0.0534629225730896,
0.009936213493347168,
-0.005430601537227631,
0.03384220972657204,
-0.03882795199751854,
-0.0011244966881349683,
0.008938823826611042,
0.008657216094434261,
0.06077549606561661,
0.037968020886182785,
0.006234442815184593,
-0.0027691435534507036,
-0.09274661540985107,
-0.007175262551754713,
0.03816412389278412,
-0.03171348571777344,
-0.024876631796360016,
-0.024916278198361397,
0.01586022786796093,
-0.01090459618717432,
-0.00830511748790741,
-0.01584392786026001,
-0.028211358934640884,
0.04289981722831726,
-0.039087798446416855,
0.1447303295135498,
0.009119137190282345,
0.03257144242525101,
-0.017756300047039986,
0.03948494791984558,
-0.013793963007628918,
0.004833498504012823,
-0.015209375880658627,
0.03949800506234169,
-0.04536645859479904,
-0.03708087280392647,
0.021126611158251762,
-0.017837826162576675,
-0.050129495561122894,
-0.02847631461918354,
0.01896451599895954,
-0.03203513100743294,
-0.032107576727867126,
-0.06438592076301575,
0.019512111321091652,
-0.013688773848116398,
-0.00619950657710433,
-0.027277762070298195,
0.07988517731428146,
0.041843194514513016,
-0.014706207439303398,
0.053661152720451355,
0.036229077726602554,
0.027883443981409073,
-0.01917383074760437,
-0.07195788621902466,
0.02099868282675743,
-0.019792314618825912,
-0.04663272574543953,
0.025102635845541954,
0.009976127184927464,
0.05477702245116234,
-0.07368370145559311,
-0.0369553342461586,
0.006662485655397177,
0.01758088357746601,
-0.03629891946911812,
0.03283824399113655,
0.013527676463127136,
-0.0046548484824597836,
0.10227592289447784,
0.006486023776233196,
0.043903764337301254,
0.04133983328938484,
0.019652971997857094,
-0.04743069410324097,
-0.02597615495324135,
-0.022455543279647827,
-0.014064323157072067,
0.0634910836815834,
-0.059587106108665466,
0.003624214790761471,
-0.012029952369630337,
0.03880026936531067,
0.02171809785068035,
0.022448796778917313,
0.00022658953093923628,
0.05253048241138458,
0.03532494977116585,
0.0022051690611988306,
-0.013853169977664948,
-0.012619570828974247,
-0.053886473178863525,
0.053415291011333466,
-0.000556335027795285,
-0.27107223868370056,
-0.001936584711074829,
0.01886354200541973,
0.049627453088760376,
-0.027896834537386894,
-0.002081327373161912,
0.017360420897603035,
-0.049096375703811646,
0.01196513045579195,
0.0009201011853292584,
-0.007263809442520142,
0.05846028029918671,
0.06740181893110275,
-0.020489608868956566,
0.007097022142261267,
-0.001171326031908393,
0.054640065878629684,
-0.019791213795542717,
0.038943883031606674,
-0.009915716014802456,
0.004312467761337757,
-0.061447907239198685,
0.14861510694026947,
0.005528626963496208,
-0.008297708816826344,
-0.015096785500645638,
-0.018757345154881477,
-0.018685773015022278,
0.09445378184318542,
-0.0007189353927969933,
-0.004495167173445225,
-0.0013471912825480103,
0.05481874942779541,
-0.02233809232711792,
0.027249423786997795,
0.0020080357789993286,
-0.04697585478425026,
0.05125914141535759,
0.020154325291514397,
-0.023789457976818085,
0.00046150683192536235,
0.020184973254799843,
-0.04257126525044441,
0.022179381921887398,
0.06726717203855515,
-0.026844171807169914,
0.0014715224970132113,
-0.024905428290367126,
-0.028024138882756233,
0.016716422513127327,
0.0027001870330423117,
0.029490482062101364,
-0.007590676657855511,
-0.02109217271208763,
0.014576314948499203,
0.042684826999902725,
0.038589928299188614,
-0.004752078093588352,
0.038080159574747086,
0.00038698854041285813,
0.006201716139912605,
-0.05741273611783981,
0.09665913134813309,
0.019492583349347115,
0.02201526053249836
] | [
-0.02014971524477005,
0.0071433912962675095,
-0.06286568939685822,
-0.0014914594357833266,
0.00009297124779550359,
-0.0018465257016941905,
0.027194403111934662,
-0.011395655572414398,
-0.0330963097512722,
0.004975313786417246,
-0.02770359255373478,
0.018444180488586426,
-0.01446758396923542,
-0.008684010244905949,
-0.02466234378516674,
-0.005946379620581865,
0.01014312356710434,
0.012045412324368954,
0.03517485409975052,
-0.0037879012525081635,
-0.06588778644800186,
0.05510347709059715,
0.05683121457695961,
-0.04025069996714592,
-0.01118904072791338,
0.0325654037296772,
-0.012601714581251144,
0.01829078048467636,
0.012044185772538185,
-0.11203085631132126,
0.009504941292107105,
-0.014186722226440907,
0.003996493294835091,
0.006229851394891739,
-0.03286745399236679,
-0.00837048888206482,
-0.058334581553936005,
0.019753262400627136,
0.014725086279213428,
0.04933945834636688,
0.010532278567552567,
0.006590927019715309,
0.005106350872665644,
0.007937895134091377,
0.018438901752233505,
-0.01964210718870163,
-0.029803823679685593,
-0.006130163092166185,
-0.0023523601703345776,
0.03810242563486099,
-0.050765667110681534,
0.012678262777626514,
0.011499893851578236,
-0.04223467782139778,
0.01697111874818802,
-0.05891771614551544,
0.011619940400123596,
-0.019612854346632957,
-0.04754297062754631,
-0.011527834460139275,
0.0017224103212356567,
-0.013395868241786957,
-0.047339558601379395,
-0.019358422607183456,
-0.0044104899279773235,
-0.02849888987839222,
-0.06437522172927856,
0.03178882971405983,
0.009496964514255524,
-0.0028594748582690954,
-0.03642614185810089,
0.022894004359841347,
-0.04407285153865814,
-0.022894082590937614,
-0.02623719535768032,
0.006437984295189381,
-0.010361958295106888,
-0.08298030495643616,
0.022403964772820473,
-0.015771741047501564,
-0.050901759415864944,
0.007628242019563913,
0.009383989498019218,
0.014421459287405014,
-0.035605110228061676,
0.00408400222659111,
0.028231365606188774,
0.03874223306775093,
-0.004004488233476877,
-0.018846113234758377,
-0.009212488308548927,
0.044871944934129715,
0.012462940067052841,
0.023653309792280197,
-0.10175447911024094,
0.029635755345225334,
-0.008586020208895206,
-0.00311420694924891,
0.0018424532609060407,
0.8093231916427612,
0.01582079567015171,
-0.007033344823867083,
0.004168415442109108,
0.04301969334483147,
-0.010710186325013638,
-0.01206592470407486,
0.042159710079431534,
-0.013959303498268127,
-0.02140643447637558,
-0.06358107924461365,
0.03749584034085274,
0.013886338099837303,
0.02937530353665352,
0.032528966665267944,
-0.008228019811213017,
-0.006417199969291687,
0.00023215310648083687,
0.02170453779399395,
0.005373475607484579,
-0.017937736585736275,
-0.01777091808617115,
-0.006035621277987957,
0.0036722440272569656,
0.027862565591931343,
-0.04428901523351669,
-0.13953572511672974,
0.021479416638612747,
-7.368033855784623e-33,
0.027416791766881943,
-0.04008786752820015,
0.029419612139463425,
-0.008049026131629944,
0.057018160820007324,
-0.011256116442382336,
0.03579570725560188,
-0.008321674540638924,
0.029709890484809875,
-0.030001433566212654,
-0.010866611264646053,
-0.025910863652825356,
-0.0043977475725114346,
-0.016047881916165352,
0.0006595474551431835,
-0.022893892601132393,
-0.006923639681190252,
0.04987155273556709,
0.006181323900818825,
-0.0011329194530844688,
0.05458085611462593,
0.03210274875164032,
0.004110027104616165,
0.04568026214838028,
-0.00015263784734997898,
0.010471072047948837,
-0.008899361826479435,
0.005336526781320572,
-0.0198703370988369,
-0.0505133718252182,
-0.04961626976728439,
0.0654723048210144,
-0.013757007196545601,
-0.026601741090416908,
0.025051293894648552,
-0.059918858110904694,
0.03186150640249252,
0.023200470954179764,
-0.007511557545512915,
-0.023909715935587883,
0.003622798016294837,
0.0014013994950801134,
-0.019936367869377136,
0.003273530164733529,
-0.01854562945663929,
0.008729472756385803,
0.07025650888681412,
0.07628966122865677,
0.003177146427333355,
0.012310795485973358,
0.014898315072059631,
0.003722841152921319,
0.023400351405143738,
0.007933066226541996,
0.01717543788254261,
0.04120997339487076,
0.005589142441749573,
0.03521331772208214,
0.04952648654580116,
0.06972142308950424,
-0.05271371826529503,
0.0009736647480167449,
-0.0013263534056022763,
0.04154825955629349,
-0.026004379615187645,
0.00398937426507473,
0.03578229993581772,
-0.05047466233372688,
0.037535712122917175,
0.024281835183501244,
-0.01608586311340332,
-0.0010309354402124882,
-0.02379475347697735,
-0.006939304526895285,
0.03143403306603432,
0.007935936562716961,
0.01134458277374506,
-0.0023633288219571114,
0.01780315488576889,
0.03278731554746628,
0.018157275393605232,
0.04477313160896301,
-0.03680374473333359,
-0.05522506684064865,
0.0036614704877138138,
-0.02047784999012947,
-0.013570533134043217,
-0.02908468060195446,
-0.021464282646775246,
-0.029527151957154274,
0.030962549149990082,
-0.014283077791333199,
-0.005443927366286516,
-0.03977305442094803,
0.0006542871124111116,
7.081844327713582e-33,
-0.015536979772150517,
0.026336949318647385,
-0.012853026390075684,
0.012173490598797798,
0.0063089304603636265,
-0.011349404230713844,
0.03959459438920021,
-0.021779868751764297,
-0.011457988061010838,
0.01953044906258583,
-0.039417073130607605,
0.009320582263171673,
0.011381851509213448,
0.02011391706764698,
0.05379980802536011,
-0.029006056487560272,
0.00022597976203542203,
0.058566831052303314,
-0.0426948182284832,
0.005911409854888916,
0.018029876053333282,
0.029770459979772568,
0.0117406090721488,
-0.01307559572160244,
0.02431666851043701,
0.05070103332400322,
0.0008492058841511607,
-0.012989982962608337,
0.010214505717158318,
-0.0008206978673115373,
0.013406828045845032,
0.00024985059280879796,
-0.023846954107284546,
0.001152748242020607,
-0.02575104683637619,
0.0513056181371212,
0.023740215227007866,
-0.013941135257482529,
-0.009403187781572342,
0.008335373364388943,
-0.011322570033371449,
-0.008034433238208294,
0.01673843525350094,
0.03633810579776764,
0.017585350200533867,
0.011792377568781376,
-0.013323277235031128,
0.0038689125794917345,
-0.033084820955991745,
-0.004165374208241701,
-0.020692428573966026,
0.03657517582178116,
-0.017971236258745193,
0.018979676067829132,
0.00416408758610487,
-0.035914208739995956,
-0.04943923279643059,
0.05350140482187271,
-0.031724587082862854,
0.012977776117622852,
-0.04363064467906952,
-0.018112175166606903,
-0.01814921945333481,
-0.0075448257848620415,
-0.019739193841814995,
0.015597264282405376,
-0.0005279238102957606,
-0.038424499332904816,
0.012900917790830135,
0.0008810283616185188,
-0.005307116080075502,
-0.028379173949360847,
0.02398003824055195,
0.005009249318391085,
-0.025425277650356293,
-0.01600324548780918,
-0.04827793687582016,
-0.01646627113223076,
0.0068433769047260284,
0.03658619150519371,
0.02447735331952572,
-0.02821503020823002,
0.020178835839033127,
-0.033237338066101074,
0.027338048443198204,
-0.009189644828438759,
-0.02888285182416439,
-0.02389666996896267,
0.03217284753918648,
-0.006501581985503435,
0.020248884335160255,
-0.0405600406229496,
0.00757922139018774,
0.022462844848632812,
-0.008124899119138718,
-1.255567738667196e-8,
-0.004822285380214453,
0.041854746639728546,
0.0061818757094442844,
-0.005033743102103472,
0.04790812358260155,
0.010629769414663315,
-0.012568377889692783,
0.003868530038744211,
0.04508279636502266,
-0.010630499571561813,
0.07241532951593399,
-0.03973931819200516,
-0.0026943564880639315,
0.034465592354536057,
0.008097459562122822,
-0.056817345321178436,
0.020594166591763496,
-0.01761551946401596,
0.02403360977768898,
0.0005565551109611988,
-0.022345663979649544,
0.06433763355016708,
-0.029094040393829346,
-0.027341347187757492,
-0.015906820073723793,
-0.022947093471884727,
0.013533723540604115,
-0.08143878728151321,
0.03975697606801987,
-0.014650893397629261,
0.021289007738232613,
-0.025981083512306213,
0.012307172641158104,
0.019765837118029594,
0.00041151573532260954,
-0.046423617750406265,
0.04655890166759491,
0.0307625625282526,
0.017673339694738388,
-0.0012619640910997987,
-0.028478840366005898,
-0.041823893785476685,
-0.02108766883611679,
-0.02155951038002968,
-0.06872138381004333,
0.007345116231590509,
-0.04100942984223366,
0.0058222548104822636,
0.005664607044309378,
-0.047574613243341446,
0.023272018879652023,
-0.010713559575378895,
0.00400899862870574,
0.01580081321299076,
0.027532396838068962,
0.03253321722149849,
-0.0025605831760913134,
-0.0036236047744750977,
-0.007373599335551262,
0.011966302990913391,
0.00791294313967228,
0.04116246849298477,
-0.008753836154937744,
-0.037068456411361694
] | r-dplyr-select-random-rows-from-a-data-frame | https://markhneedham.com/blog/2014/11/26/r-dplyr-select-random-rows-from-a-data-frame |
false | 2014-11-07 01:29:09 | R: Joining multiple data frames | [
"r-2"
] | [
"R"
] | I've been looking through the code from Martin Eastwood's excellent talk 'http://pena.lt/y/2014/11/02/predicting-football-using-r/[Predicting Football Using R]' and was intrigued by the code which reshaped the data into that expected by http://stat.ethz.ch/R-manual/R-patched/library/stats/html/glm.html[glm].
The original looks like this:
[source,r]
----
df <- read.csv('http://www.football-data.co.uk/mmz4281/1314/E0.csv')
# munge data into format compatible with glm function
df <- apply(df, 1, function(row){
data.frame(team=c(row['HomeTeam'], row['AwayTeam']),
opponent=c(row['AwayTeam'], row['HomeTeam']),
goals=c(row['FTHG'], row['FTAG']),
home=c(1, 0))
})
df <- do.call(rbind, df)
----
The initial data frame looks like this:
[source,r]
----
> library(dplyr)
> df %>% select(HomeTeam, AwayTeam, FTHG, FTAG) %>% head(1)
HomeTeam AwayTeam FTHG FTAG
1 Arsenal Aston Villa 1 3~~~
<p>And we want to get it to look like this:</p>
~~~r
> head(df, 2)
team opponent goals home
HomeTeam Arsenal Aston Villa 1 1
AwayTeam Aston Villa Arsenal 3 0
----
So for each row in the initial data frame we want to have two rows: one representing each team, how many goals they scored in the match and whether they were playing at home or away.
I really like dplyr's pipelining function so I thought I'd try and translate Martin's code to use that and other dplyr functions.
I ended up with the following two sets of function calls:
[source,r]
----
df %>% select(team = HomeTeam, opponent = AwayTeam, goals = FTHG) %>% mutate(home = 1)
df %>% select(team = AwayTeam, opponent = HomeTeam, goals = FTAG) %>% mutate(home = 0)
----
I'm doing pretty much the same thing as Martin except I've used dplyr's select and mutate functions to transform the data frame.
The next step was to join those two data frames together and with https://twitter.com/_nicolemargaret[Nicole's] help I realised that there are many ways we can do this.
The functions that will do the job are:
* http://www.endmemo.com/program/R/rbind.php[rbind]
* http://stat.ethz.ch/R-manual/R-patched/library/base/html/sets.html[union]
* plyr's http://www.inside-r.org/packages/cran/plyr/docs/join[join] with 'type = "full"'
* dplyr's http://www3.nd.edu/~steve/computing_with_data/24_dplyr/dplyr.html[union]
* http://stat.ethz.ch/R-manual/R-patched/library/base/html/merge.html[merge] with 'all = TRUE'
We decided to http://adv-r.had.co.nz/Performance.html[benchmark] them to see which was able to transform the data frame the fastest:
[source,r]
----
# load data into data.frame
dfOrig <- read.csv('http://www.football-data.co.uk/mmz4281/1314/E0.csv')
original = function(df) {
df <- apply(df, 1, function(row){
data.frame(team=c(row['HomeTeam'], row['AwayTeam']),
opponent=c(row['AwayTeam'], row['HomeTeam']),
goals=c(row['FTHG'], row['FTAG']),
home=c(1, 0))
})
do.call(rbind, df)
}
newRBind = function(df) {
rbind(df %>% select(team = HomeTeam, opponent = AwayTeam, goals = FTHG) %>% mutate(home = 1),
df %>% select(team = AwayTeam, opponent = HomeTeam, goals = FTAG) %>% mutate(home = 0))
}
newUnion = function(df) {
union(df %>% select(team = HomeTeam, opponent = AwayTeam, goals = FTHG) %>% mutate(home = 1),
df %>% select(team = AwayTeam, opponent = HomeTeam, goals = FTAG) %>% mutate(home = 0))
}
newJoin = function(df) {
join(df %>% select(team = HomeTeam, opponent = AwayTeam, goals = FTHG) %>% mutate(home = 1),
df %>% select(team = AwayTeam, opponent = HomeTeam, goals = FTAG) %>% mutate(home = 0),
type = "full")
}
newMerge = function(df) {
merge(df %>% select(team = HomeTeam, opponent = AwayTeam, goals = FTHG) %>% mutate(home = 1),
df %>% select(team = AwayTeam, opponent = HomeTeam, goals = FTAG) %>% mutate(home = 0),
all = TRUE)
}
----
[source,r]
----
> library(microbenchmark)
> microbenchmark(original(dfOrig))
Unit: milliseconds
expr min lq mean median uq max neval
original(dfOrig) 189.4 196.8 202.5 201 205.5 284 100
> microbenchmark(newRBind(dfOrig))
Unit: milliseconds
expr min lq mean median uq max neval
newRBind(dfOrig) 2.197 2.274 2.396 2.309 2.377 4.526 100
> microbenchmark(newUnion(dfOrig))
Unit: milliseconds
expr min lq mean median uq max neval
newUnion(dfOrig) 2.156 2.223 2.377 2.264 2.34 4.597 100
> microbenchmark(newJoin(dfOrig))
Unit: milliseconds
expr min lq mean median uq max neval
newJoin(dfOrig) 5.961 6.132 6.817 6.253 6.65 11.95 100
> microbenchmark(newMerge(dfOrig))
Unit: milliseconds
expr min lq mean median uq max neval
newMerge(dfOrig) 7.121 7.413 8.037 7.541 7.934 13.32 100
----
We actually get a 100 time speed up over the original function if we use rbind or union whereas with merge or join it's around 35 times quicker.
In this case using merge or join is a bit misleading because we're not actually connecting the data frames together based on any particular field - we are just appending one to the other.
The code's https://gist.github.com/mneedham/98a4e423c1b37f05361c[available as a gist] if you want to have a play. | null | null | [
0.024779420346021652,
0.010115930810570717,
0.027927475050091743,
0.006315227597951889,
0.08548582345247269,
0.008428413420915604,
0.03104579448699951,
-0.011552583426237106,
0.028720641508698463,
-0.017956942319869995,
0.024458935484290123,
0.01222035102546215,
-0.07879450917243958,
0.021773504093289375,
-0.026303287595510483,
0.08689376711845398,
0.058620307594537735,
0.011065667495131493,
0.021307723596692085,
-0.0038777177687734365,
0.04179438576102257,
0.07992906868457794,
0.0028647701255977154,
0.04985121637582779,
0.015118120238184929,
-0.0023860104847699404,
0.028326770290732384,
-0.0072954376228153706,
-0.04135070741176605,
0.01204431802034378,
0.06630592048168182,
0.011984843760728836,
0.0003457508282735944,
-0.028634412214159966,
0.028679165989160538,
-0.008069556206464767,
-0.004959235433489084,
0.02518170140683651,
-0.008825110271573067,
-0.023838847875595093,
-0.062032949179410934,
0.014096208848059177,
-0.0417245551943779,
0.006454466842114925,
-0.04961186274886131,
0.0031689652241766453,
-0.04237856715917587,
0.006138697732239962,
0.0004579547676257789,
0.0035010750871151686,
-0.05023931339383125,
0.04945754632353783,
-0.017206428572535515,
-0.037617843598127365,
0.0017337251920253038,
0.046233534812927246,
-0.003959320019930601,
-0.059851549565792084,
0.00937295239418745,
-0.04969058185815811,
-0.005155362654477358,
0.0035997508093714714,
0.009047663770616055,
-0.008944402448832989,
0.007752730045467615,
-0.04205702617764473,
-0.022746769711375237,
0.04166002944111824,
-0.028432313352823257,
-0.028585106134414673,
-0.03991478309035301,
-0.0213635191321373,
-0.0237136073410511,
-0.022372087463736534,
-0.003627307014539838,
-0.04222358763217926,
-0.016112497076392174,
0.06730855256319046,
0.02429625764489174,
0.03955945372581482,
-0.011213323101401329,
-0.0022190858144313097,
0.01097931805998087,
0.00019640216487459838,
0.004859721753746271,
-0.02901194989681244,
-0.008888457901775837,
-0.06006591022014618,
-0.04248283430933952,
0.1000031903386116,
-0.00990953017026186,
-0.060082849115133286,
0.007736219093203545,
0.012973165139555931,
-0.025971664115786552,
-0.010962910950183868,
0.023911336436867714,
-0.0018215300515294075,
-0.02230594865977764,
-0.021070390939712524,
-0.04678765684366226,
-0.03204567730426788,
0.02597472257912159,
-0.014661969617009163,
-0.0834631472826004,
0.007134906481951475,
-0.02266012132167816,
-0.0099822161719203,
0.0042992522940039635,
0.0057027917355299,
-0.03062613494694233,
0.01655522733926773,
-0.0066210078075528145,
-0.028328249230980873,
-0.07493259757757187,
0.06832531839609146,
0.043369513005018234,
-0.01713031902909279,
-0.004971879068762064,
0.010724631138145924,
0.04172134771943092,
0.030351512134075165,
-0.027235999703407288,
0.07245178520679474,
0.005355695728212595,
0.04062392935156822,
0.030178368091583252,
0.05456219241023064,
-0.02215510420501232,
-0.08091883361339569,
-0.0010249041952192783,
0.06822114437818527,
-0.04633457958698273,
0.01817678101360798,
0.0001075593099812977,
-0.028093894943594933,
-0.020707659423351288,
-0.03027118369936943,
0.06661694496870041,
0.03643272817134857,
0.01744857057929039,
0.0023628012277185917,
0.0037746867164969444,
0.006512476596981287,
0.03440072387456894,
-0.005768934264779091,
0.012049278244376183,
-0.02893209271132946,
-0.024417556822299957,
0.0020273455884307623,
0.05161426216363907,
0.02388947084546089,
0.07333309948444366,
-0.027483487501740456,
0.010310985147953033,
0.09110724180936813,
0.0372895821928978,
-0.013033142313361168,
-0.024499449878931046,
0.010509097017347813,
0.05257521569728851,
0.019683606922626495,
0.013896718621253967,
0.03877812996506691,
-0.0038859588094055653,
-0.013095950707793236,
0.032533835619688034,
0.04866879805922508,
-0.00020942497940268368,
-0.009449259378015995,
-0.0478922501206398,
-0.05593084171414375,
0.08891931921243668,
-0.016665520146489143,
0.01006279420107603,
0.04266885668039322,
0.0616903193295002,
0.04493885487318039,
0.050387587398290634,
0.00913113635033369,
-0.0788131132721901,
0.022708933800458908,
0.016354423016309738,
0.02686689794063568,
0.04945479333400726,
-0.025235535576939583,
0.10793232917785645,
0.021068014204502106,
0.006502152886241674,
0.05985966697335243,
-0.056255586445331573,
-0.06573940813541412,
-0.006516094785183668,
-0.02645745314657688,
0.05271608754992485,
-0.06094587966799736,
-0.008854009211063385,
0.05460072308778763,
0.021373970434069633,
0.009420872665941715,
0.00912769790738821,
0.025594428181648254,
0.037774767726659775,
-0.025817709043622017,
-0.03266659751534462,
0.007941251620650291,
0.03400843217968941,
-0.00034325444721616805,
-0.03180380538105965,
0.05145181342959404,
-0.015421254560351372,
0.010174418799579144,
0.011894057504832745,
-0.02429772913455963,
0.036637526005506516,
0.011541832238435745,
0.04436877369880676,
0.017980344593524933,
0.046225592494010925,
-0.06272990256547928,
0.019212793558835983,
0.03348497673869133,
-0.01908513531088829,
-0.013107643462717533,
0.0022022968623787165,
0.11944732069969177,
0.05326186865568161,
-0.022432925179600716,
-0.05488511919975281,
0.0021553521510213614,
-0.01212196983397007,
-0.016552669927477837,
0.015317084267735481,
-0.002412429777905345,
-0.00511820986866951,
-0.00206121732480824,
-0.0482124388217926,
-0.022083885967731476,
0.0032893687020987272,
-0.044474028050899506,
0.007030919194221497,
0.06533629447221756,
0.011297134682536125,
0.020311014726758003,
-0.027875883504748344,
-0.013328957371413708,
-0.01757803186774254,
-0.031081384047865868,
-0.061553072184324265,
0.009312639944255352,
0.042558666318655014,
-0.01236650813370943,
0.027981366962194443,
-0.019306618720293045,
0.001203248742967844,
-0.01674308255314827,
-0.03895656019449234,
0.01697794534265995,
0.05474548041820526,
0.07578827440738678,
-0.00639147637411952,
0.0304629635065794,
-0.008081729523837566,
-0.02008630707859993,
-0.03168371319770813,
-0.059929754585027695,
-0.058025263249874115,
-0.04594362899661064,
-0.014478585682809353,
0.024077918380498886,
0.02340809442102909,
0.007298463489860296,
-0.013816037215292454,
0.02628220058977604,
0.003074042033404112,
0.007288046181201935,
0.037404995411634445,
-0.0013812422985211015,
-0.02100186236202717,
-0.006048258394002914,
-0.015616999939084053,
0.0364028662443161,
0.01405252330005169,
-0.02135280705988407,
-0.003630224149674177,
-0.05302233248949051,
0.030210241675376892,
-0.05828751623630524,
-0.013333440758287907,
-0.014320620335638523,
-0.006668625865131617,
0.050141606479883194,
0.022631751373410225,
0.014949287287890911,
0.01227880734950304,
-0.010441838763654232,
0.0253362525254488,
0.03820241242647171,
0.004959465935826302,
0.05361059308052063,
0.026462355628609657,
0.025965381413698196,
0.046720705926418304,
-0.04647047072649002,
0.002060019876807928,
-0.05225922912359238,
-0.0011437635403126478,
-0.029573604464530945,
-0.2838122248649597,
0.020644288510084152,
-0.008431092835962772,
-0.023218438029289246,
0.0386345237493515,
-0.030417222529649734,
-0.0003788900503423065,
-0.022063378244638443,
-0.020098358392715454,
-0.0036372544709593058,
-0.018255023285746574,
-0.046589165925979614,
-0.046386998146772385,
0.014673261903226376,
0.03978950157761574,
0.027889201417565346,
-0.011454359628260136,
-0.04287462681531906,
-0.0015638226177543402,
0.06676840782165527,
0.029256952926516533,
-0.044835250824689865,
-0.024577338248491287,
0.04495064914226532,
0.026638975366950035,
0.06295309215784073,
-0.04965042322874069,
0.000421800505137071,
-0.07314006984233856,
-0.027751237154006958,
0.015771890059113503,
-0.003008935134857893,
0.0022404077462852,
0.0042353346943855286,
-0.017565617337822914,
-0.028118014335632324,
0.02679647132754326,
0.02603761851787567,
-0.005001282785087824,
-0.0034202432725578547,
-0.031842656433582306,
-0.0020866193808615208,
-0.0026425905525684357,
-0.018310371786355972,
0.08512643724679947,
0.011725236661732197,
-0.060528725385665894,
0.026541709899902344,
-0.03006073273718357,
0.08250328153371811,
-0.01867317222058773,
0.0009294525953009725,
-0.00254370947368443,
0.036409202963113785,
-0.04797865077853203,
-0.021246520802378654,
-0.01608380302786827,
-0.00015758366498630494,
-0.008122571744024754,
-0.01040624175220728,
0.00028654467314481735,
-0.035662129521369934,
0.0028022797778248787,
-0.0105139734223485,
-0.016392169520258904,
-0.0587100088596344,
-0.05226859450340271,
-0.008499832823872566,
0.05524372681975365,
0.02040752023458481,
-0.06019723415374756,
-0.0011855242773890495,
-0.0014701967593282461,
-0.09320534765720367,
-0.014211572706699371,
-0.014982195571064949,
-0.010709554888308048,
-0.0205985140055418,
0.01271656434983015,
0.055266112089157104,
-0.02178812399506569,
-0.06697124987840652,
0.02964484877884388,
0.007577352225780487,
0.023810721933841705,
0.014475266449153423,
0.005402326583862305,
0.029903508722782135,
-0.02021736092865467,
-0.023339292034506798,
0.06104576960206032,
-0.07201327383518219,
-0.011237292550504208,
0.025281395763158798,
-0.025170404464006424,
0.03976712003350258,
-0.002567838178947568,
0.00628567673265934,
0.029394831508398056,
0.0450502373278141,
0.02180265076458454,
-0.04415754973888397,
-0.000469743536086753,
-0.039880380034446716,
-0.00718504237011075,
-0.001988353906199336,
-0.07678849995136261,
-0.004459693096578121,
0.01496845856308937,
0.038764744997024536,
0.02549624815583229,
-0.021345894783735275,
0.01303990837186575,
-0.04907487705349922,
-0.03519076481461525,
-0.02747749537229538,
0.026613060384988785,
0.008954612538218498,
0.000120136137411464,
-0.001271592453122139,
-0.08614283800125122,
-0.0034827589988708496,
-0.028355825692415237,
-0.0291170421987772,
-0.054424215108156204,
-0.00937877781689167,
0.02315794676542282,
-0.00959131307899952,
-0.011460146866738796,
0.010910232551395893,
-0.010719217360019684,
0.009288867004215717,
0.05718525871634483,
-0.039178576320409775,
0.02987533062696457,
0.011229566298425198,
-0.060334738343954086,
-0.02642034739255905,
0.014152692630887032,
0.013520593754947186,
0.00359239149838686,
0.009054362773895264,
0.02520042471587658,
0.03309474512934685,
0.02181050181388855,
-0.00905635766685009,
0.03279618173837662,
0.011616420932114124,
-0.006219599395990372,
0.016666198149323463,
0.020069153979420662,
0.003920136950910091,
0.016536980867385864,
-0.07004561275243759,
-0.023708093911409378,
0.008694709278643131,
0.039957862347364426,
-0.016209272667765617,
-0.016861364245414734,
-0.04649798199534416,
0.02050686627626419,
-0.01740855537354946,
-0.030291348695755005,
-0.02045062743127346,
0.019665008410811424,
0.07770423591136932,
0.002016497775912285,
-0.003966427408158779,
0.001395257655531168,
0.008088145405054092,
-0.017763901501893997,
-0.0032939629163593054,
-0.05112903192639351,
-0.007919569499790668,
-0.02100847288966179,
0.002330221701413393,
-0.00788944959640503,
-0.009488626383244991,
0.010258058086037636,
0.005524124018847942,
0.0011045477585867047,
-0.008771655149757862,
0.013334219343960285,
0.008426569402217865,
0.04709000512957573,
0.04784602299332619,
-0.028930921107530594,
-0.02451932057738304,
0.009048167616128922,
-0.025129051879048347,
-0.045616667717695236,
0.01241199392825365,
-0.01440870575606823,
-0.0003244002000428736,
-0.04849725589156151,
-0.07602296024560928,
-0.005097138229757547,
0.03862336650490761,
0.002998704556375742,
-0.01097804494202137,
-0.007640998810529709,
0.00835857167840004,
-0.018545379862189293,
0.024552127346396446,
0.07784204185009003,
-0.051369115710258484,
-0.007369008846580982,
0.0019166291458532214,
0.006016709376126528,
0.010081549175083637,
0.003832208923995495,
-0.0563407726585865,
-0.023176763206720352,
-0.013784653507173061,
0.042861875146627426,
-0.01836923509836197,
-0.04484648257493973,
-0.0468316376209259,
0.0011676064459607005,
0.010733015835285187,
0.025211824104189873,
-0.03751383721828461,
0.009712218306958675,
-0.006449258420616388,
-0.02426532469689846,
-0.013548104092478752,
-0.002709918189793825,
-0.03642193228006363,
0.026717402040958405,
-0.01574612408876419,
0.025569936260581017,
-0.015369092114269733,
0.01806531846523285,
0.030879436060786247,
-0.008255325257778168,
0.003309824736788869,
-0.04740505665540695,
0.014420385472476482,
0.01851046457886696,
0.03728685528039932,
-0.03652096912264824,
0.01008162647485733,
-0.023814847692847252,
-0.0028719461988657713,
-0.04255311191082001,
-0.007987571880221367,
-0.020396867766976357,
-0.01758985035121441,
0.026321494951844215,
0.05689692497253418,
-0.005634460598230362,
0.018085667863488197,
-0.002517021493986249,
-0.02300858125090599,
0.040017832070589066,
-0.041246503591537476,
-0.032901935279369354,
0.011999893933534622,
-0.009396621026098728,
0.01892757974565029,
-0.005291917826980352,
-0.0023600037675350904,
-0.03977886587381363,
0.038795676082372665,
0.04297218844294548,
0.017795171588659286,
0.0776008814573288,
0.013766770251095295,
0.036214929074048996,
-0.044039227068424225,
0.013040012679994106,
-0.09536400437355042,
0.00318458816036582,
0.05586319789290428,
0.016804644837975502,
-0.012860086746513844,
-0.0103714345023036,
-0.04031713679432869,
0.036833684891462326,
-0.04537106305360794,
-0.04917671158909798,
0.040688835084438324,
-0.010350801050662994,
0.006746978033334017,
0.0013396904105320573,
-0.055954352021217346,
-0.037330176681280136,
0.04112394154071808,
-0.041511986404657364,
-0.004245101008564234,
-0.012898324057459831,
0.03816215321421623,
-0.04352211207151413,
0.031038405373692513,
-0.014461496844887733,
-0.036707282066345215,
0.05435499921441078,
0.021611208096146584,
0.0049363127909600735,
0.03889033943414688,
-0.00346576189622283,
0.03786303102970123,
0.0005613897810690105,
0.0024140181485563517,
0.02716248668730259,
0.023695027455687523,
0.019588975235819817,
-0.03628126531839371,
0.005902544595301151,
0.000357865501428023,
0.0008654584526084363,
-0.048824917525053024,
0.08738170564174652,
0.017176540568470955,
-0.04070517420768738,
-0.011468510143458843,
-0.005363560281693935,
-0.024801863357424736,
-0.0178042221814394,
0.025838028639554977,
-0.005641953554004431,
-0.026246387511491776,
0.06534984707832336,
-0.015572176314890385,
-0.01288367435336113,
0.06727545708417892,
0.010382464155554771,
-0.022023411467671394,
0.0037085851654410362,
0.09384240210056305,
0.09409533441066742,
0.040367502719163895,
-0.015713293105363846,
0.08118630945682526,
-0.013231590390205383,
-0.06568603217601776,
0.014643401838839054,
-0.008319352753460407,
-0.0034250118769705296,
-0.024460701271891594,
0.008770294487476349,
0.06171952188014984,
-0.029722997918725014,
0.05779546871781349,
-0.012196050956845284,
-0.043153226375579834,
0.018139222636818886,
0.013748036697506905,
0.02740674838423729,
0.07571867853403091,
-0.0012922639725729823,
0.03912240266799927,
-0.009784422814846039,
-0.021449727937579155,
0.021418055519461632,
-0.01460678968578577,
0.00006432215013774112,
0.004437616094946861,
-0.03233202174305916,
0.01610887423157692,
0.0005644069169647992,
0.008602838963270187,
0.08215337991714478,
-0.05733132362365723,
-0.015484008006751537,
-0.03721462935209274,
0.03246437758207321,
-0.014942212961614132,
-0.0003117509768344462,
0.015246559865772724,
-0.025063224136829376,
-0.023158453404903412,
-0.035561639815568924,
-0.03973303735256195,
-0.02900647185742855,
-0.013995897024869919,
0.022185316309332848,
-0.016069531440734863,
0.0054482812993228436,
0.036634474992752075,
-0.012436388991773129,
-0.04129479080438614,
-0.04511305317282677,
-0.06817988306283951,
-0.08855205029249191,
-0.0745672658085823,
-0.03980496898293495,
0.019877370446920395,
-0.008896349929273129,
-0.054773133248090744,
-0.011464792303740978,
-0.013212128542363644,
-0.034921277314424515,
-0.008101178333163261,
-0.05637258663773537,
-0.037869732826948166,
0.03816794604063034,
0.022979920729994774,
0.050447650253772736,
0.00898832269012928,
0.046375032514333725,
0.020821930840611458,
-0.017885874956846237,
-0.0381108783185482,
0.022908279672265053,
0.03740305453538895,
0.04589476436376572,
0.011952612549066544,
-0.06639722734689713,
0.02332661859691143,
0.019127320498228073,
-0.02131737396121025,
-0.09312791377305984,
0.023613452911376953,
-0.0030076077673584223,
0.009585910476744175,
0.034731052815914154,
-0.05013551935553551,
0.020883871242403984,
-0.044957634061574936,
0.0012132059782743454,
0.015493625774979591,
0.027649156749248505,
0.02846122905611992,
-0.0511600486934185,
0.08009768277406693,
0.028040850535035133,
-0.007433619815856218,
-0.0632876455783844,
-0.0128699392080307,
0.004778586328029633,
-0.023557156324386597,
-0.04627756401896477,
-0.03219360113143921,
-0.04064565151929855,
-0.0869094580411911,
-0.009225037880241871,
0.02078770101070404,
-0.0436350516974926,
-0.020272579044103622,
-0.0015907769557088614,
0.01925012096762657,
-0.0031114481389522552,
0.0293637253344059,
-0.04175686463713646,
0.02523956447839737,
-0.014905067160725594,
-0.0207394789904356,
-0.007508037146180868,
0.06352410465478897,
0.01090406347066164,
0.011050808243453503,
-0.005329436622560024,
-0.05201134458184242,
0.01986672356724739,
-0.004755113273859024,
-0.016311723738908768,
0.0337563119828701,
-0.002098140772432089,
0.03373287245631218
] | [
-0.04414205998182297,
-0.0016452237032353878,
-0.01926664263010025,
-0.02890811674296856,
0.10945670306682587,
-0.011898282915353775,
-0.008798835799098015,
0.02729857712984085,
0.030086364597082138,
0.02095864713191986,
-0.014267245307564735,
-0.05651881545782089,
-0.012021232396364212,
-0.010566976852715015,
0.014654056169092655,
-0.027816062793135643,
-0.05800138786435127,
-0.035741329193115234,
-0.0692882239818573,
0.00992334634065628,
-0.020187851041555405,
0.007925262674689293,
-0.024886202067136765,
-0.04178236052393913,
0.062359556555747986,
0.014308162964880466,
-0.0010757928248494864,
-0.03948250412940979,
-0.03416891023516655,
-0.21793290972709656,
0.0062776124104857445,
0.0060596284456551075,
0.010519751347601414,
0.00794196780771017,
-0.017829813063144684,
0.0019521452486515045,
0.012149069458246231,
0.024347031489014626,
0.05412236601114273,
0.042289312928915024,
-0.0030296496115624905,
-0.012692750431597233,
-0.023794976994395256,
-0.0025889850221574306,
0.03799748793244362,
0.020526940003037453,
-0.04767784848809242,
0.0012241477379575372,
-0.0025787721388041973,
0.0465470589697361,
-0.03219667822122574,
0.03790987655520439,
-0.04613229259848595,
-0.008798881433904171,
0.013121175579726696,
0.04993998631834984,
0.03226165845990181,
0.04189484938979149,
0.00829470343887806,
0.049558356404304504,
0.03716568648815155,
0.008186794817447662,
-0.18001976609230042,
0.08674230426549911,
-0.010336077772080898,
0.04522949457168579,
-0.03485695272684097,
-0.013130633160471916,
0.0032298886217176914,
0.0782713070511818,
-0.021252866834402084,
-0.04136742278933525,
-0.03278215229511261,
0.030049584805965424,
0.015502491034567356,
-0.002174840774387121,
-0.04064537584781647,
0.0017275973223149776,
0.026125440374016762,
0.001027885708026588,
0.008183341473340988,
0.03128136694431305,
-0.046720366925001144,
-0.025620367377996445,
-0.04439858719706535,
0.002386787673458457,
-0.047431785613298416,
0.026352478191256523,
-0.017796197906136513,
0.009388335049152374,
0.038342416286468506,
0.014704357832670212,
0.01983753778040409,
0.03915482759475708,
-0.13213486969470978,
-0.00547752482816577,
0.03556511923670769,
0.011807549744844437,
-0.010128730908036232,
0.3919927179813385,
-0.031935665756464005,
-0.021146191284060478,
-0.01720908097922802,
0.06428815424442291,
0.010997639037668705,
-0.027618372812867165,
-0.01450425386428833,
-0.04744885489344597,
-0.009629406966269016,
-0.006829266902059317,
-0.00473375990986824,
-0.021538393571972847,
0.037378888577222824,
-0.037980131804943085,
0.009085917845368385,
-0.014534318819642067,
-0.013987284153699875,
0.003439555875957012,
0.009457479231059551,
0.018726447597146034,
0.01819016970694065,
-0.02366761863231659,
0.0209233108907938,
0.020376205444335938,
0.0009728680597618222,
0.02293368987739086,
-0.003327797632664442,
0.08369377255439758,
0.05991372466087341,
0.040725208818912506,
0.03802979364991188,
-0.01473794225603342,
-0.0938243493437767,
-0.009527817368507385,
0.004051766358315945,
0.00411070603877306,
0.06316335499286652,
-0.002131114015355706,
0.0085210669785738,
0.04219592735171318,
-0.0026206013280898333,
-0.01642524264752865,
0.030536875128746033,
0.002144887810572982,
-0.04901783913373947,
0.11945851892232895,
-0.022323952987790108,
-0.03722580894827843,
-0.008913356810808182,
-0.05621277913451195,
0.028906473889946938,
0.04801371693611145,
0.022629352286458015,
-0.06703849881887436,
-0.03299674391746521,
0.042042143642902374,
0.04313739761710167,
-0.05774589255452156,
-0.03247396647930145,
-0.04306640475988388,
-0.06121296063065529,
-0.04093463346362114,
-0.02520458586513996,
0.03455856814980507,
0.011687878519296646,
-0.08463792502880096,
-0.03651721030473709,
0.01956356316804886,
0.025354815647006035,
-0.09009005129337311,
0.027399325743317604,
-0.01569436676800251,
-0.05174262821674347,
0.008778360672295094,
0.02906647138297558,
0.04965123534202576,
-0.013857903890311718,
-0.012382915243506432,
0.0758582204580307,
-0.01451771892607212,
0.03399002179503441,
-0.018962489441037178,
-0.04523545503616333,
-0.01975955069065094,
-0.045677173882722855,
-0.034800853580236435,
-0.0778326690196991,
-0.01034632045775652,
-0.016557039692997932,
-0.0179738886654377,
-0.022448481991887093,
-0.03411399945616722,
-0.0506274588406086,
0.03280237317085266,
-0.03073114901781082,
0.014802527613937855,
0.02777518890798092,
-0.019686177372932434,
0.010445958934724331,
-0.015235606580972672,
-0.04333033040165901,
-0.004434262402355671,
0.0344160795211792,
0.018732227385044098,
-0.032386716455221176,
0.020459400489926338,
0.06621179729700089,
-0.03139396384358406,
0.05709131062030792,
0.021223243325948715,
-0.016216354444622993,
-0.026544280350208282,
-0.008777938783168793,
-0.02603670209646225,
-0.03757335990667343,
0.02690008282661438,
-0.01542456541210413,
-0.012806298211216927,
-0.02634478360414505,
0.04665322229266167,
0.010157742537558079,
-0.008973708376288414,
0.01010130625218153,
-0.360262930393219,
-0.031428124755620956,
0.004479047376662493,
-0.02447189763188362,
0.024914000183343887,
-0.014341452158987522,
0.009671397507190704,
-0.0017540323315188289,
-0.00598418852314353,
0.08223404735326767,
0.07935648411512375,
0.019470548257231712,
-0.034184154123067856,
-0.11048998683691025,
-0.021019229665398598,
0.021084211766719818,
-0.05769253522157669,
-0.03167135268449783,
-0.05499771237373352,
0.018289124593138695,
0.037506941705942154,
-0.01134934090077877,
-0.0391661711037159,
-0.014654843136668205,
0.02217808924615383,
-0.03274188190698624,
0.11008479446172714,
0.006477332208305597,
0.07023531943559647,
-0.03978455066680908,
0.019886186346411705,
-0.0006502401083707809,
0.012479201890528202,
-0.03471480682492256,
0.04664528742432594,
-0.035035159438848495,
0.0029086722061038017,
0.017252957448363304,
0.02582709677517414,
-0.07437714189291,
-0.017588280141353607,
0.030731039121747017,
-0.02742033265531063,
-0.02733663283288479,
-0.06528326123952866,
0.04140830039978027,
-0.010562082752585411,
-0.02818240597844124,
-0.044500719755887985,
0.06999754160642624,
0.05199045687913895,
0.009947262704372406,
0.09508030116558075,
-0.0002920629340223968,
0.05128905177116394,
-0.024999475106596947,
-0.08013448864221573,
0.017071351408958435,
-0.025392137467861176,
-0.00659017963334918,
0.023129001259803772,
0.012694197706878185,
0.09206607937812805,
-0.08004968613386154,
-0.021405454725027084,
-0.0056554535403847694,
0.03122447058558464,
-0.006083599291741848,
0.03070271573960781,
0.002431050641462207,
0.0048564886674284935,
0.05112172290682793,
-0.007517809979617596,
0.06727607548236847,
0.07618951797485352,
0.04015728831291199,
0.005058888345956802,
0.000745544268283993,
-0.032361168414354324,
0.018687188625335693,
0.07283086329698563,
-0.05946684256196022,
0.02550726942718029,
-0.031194033101201057,
0.047743476927280426,
-0.006173651199787855,
-0.000890432158485055,
-0.004636356141418219,
0.050110604614019394,
0.026312261819839478,
-0.007481089327484369,
-0.03890487924218178,
-0.013284660875797272,
-0.019926615059375763,
0.035306863486766815,
-0.0218518003821373,
-0.2690788507461548,
0.006882034707814455,
0.04471704736351967,
0.03849497437477112,
0.02099522389471531,
-0.001037793350405991,
0.03785043954849243,
-0.0239788219332695,
-0.036035988479852676,
0.006089269649237394,
0.0012395656667649746,
0.03559703752398491,
0.053367894142866135,
-0.00015362260455731302,
0.0034106243401765823,
-0.041583750396966934,
0.05834544450044632,
-0.02203420177102089,
0.05079250410199165,
-0.002466609003022313,
0.03391898795962334,
-0.04133713245391846,
0.159598246216774,
-0.018802184611558914,
0.028000114485621452,
0.04806147888302803,
0.0002544996386859566,
-0.07798554003238678,
0.05720045417547226,
0.029344992712140083,
0.018957654014229774,
0.004684849176555872,
0.06853032857179642,
0.008803349919617176,
-0.001160105224698782,
0.009583824314177036,
-0.03981732949614525,
0.09215685725212097,
0.03152618929743767,
-0.046877771615982056,
-0.007046258542686701,
0.04101778566837311,
-0.004691949114203453,
-0.00034418108407408,
0.07202945649623871,
0.004249650985002518,
-0.011293653398752213,
-0.011976282112300396,
-0.04244324564933777,
-0.016417674720287323,
-0.012430552393198013,
-0.004007778596132994,
-0.016514258459210396,
-0.03620493784546852,
0.017900273203849792,
0.015419277362525463,
0.06956493109464645,
-0.0026627948973327875,
0.01777956448495388,
-0.002431850414723158,
0.000013506079085345846,
-0.03810413181781769,
0.07561011612415314,
0.0032356169540435076,
0.03532716631889343
] | [
0.009759915992617607,
0.006440493743866682,
-0.0383731983602047,
-0.005644557997584343,
0.03215092793107033,
0.03554118424654007,
0.00418279180303216,
0.011671232059597969,
0.019747424870729446,
0.0006521710893139243,
-0.05221468210220337,
-0.000331202638335526,
0.012223361991345882,
-0.010337863117456436,
0.03069639392197132,
-0.017605306580662727,
-0.03764093667268753,
-0.020638762041926384,
0.01624464802443981,
-0.016730355098843575,
-0.014461798593401909,
0.041930630803108215,
-0.0015181282069534063,
0.006013117730617523,
-0.004629276227205992,
0.03224942460656166,
-0.015078731812536716,
0.05279701575636864,
0.009779473766684532,
-0.12266690284013748,
-0.025873947888612747,
-0.051063794642686844,
0.011031116358935833,
0.034736376255750656,
-0.04288339987397194,
-0.029765725135803223,
-0.04261624440550804,
0.012843983247876167,
-0.008390992879867554,
0.019241949543356895,
-0.02719447761774063,
-0.03523796796798706,
0.006780639290809631,
0.008273856714367867,
-0.01041168998926878,
0.013360647484660149,
-0.03241894394159317,
0.023007262498140335,
-0.0016360441222786903,
0.02673887275159359,
-0.04565608128905296,
0.009525788016617298,
0.006601439788937569,
-0.00810310896486044,
0.04964268207550049,
-0.01975720003247261,
-0.0208471417427063,
0.018218450248241425,
-0.0038172625936567783,
-0.021349778398871422,
-0.01263520959764719,
-0.001605107099749148,
-0.05131080001592636,
-0.021661221981048584,
-0.026726260781288147,
-0.02166036330163479,
-0.037290170788764954,
0.022929461672902107,
0.003553271060809493,
0.012272193096578121,
-0.01019477192312479,
-0.007082439959049225,
-0.038228824734687805,
-0.03703683987259865,
0.0037400119472295046,
0.013718083500862122,
-0.012904800474643707,
-0.003638782538473606,
0.021376343443989754,
-0.012684681452810764,
-0.031548600643873215,
0.004784713964909315,
0.0023881394881755114,
0.011760838329792023,
0.012923344038426876,
-0.0045848870649933815,
0.029559554532170296,
-0.0023662010207772255,
0.0238824263215065,
0.0016773915849626064,
-0.01649290882050991,
0.016507526859641075,
0.03462208807468414,
0.025953255593776703,
-0.08792755752801895,
0.022702982649207115,
0.024009903892874718,
-0.03360556811094284,
-0.0029080717358738184,
0.8375982046127319,
-0.021325817331671715,
0.023442037403583527,
0.00576168205589056,
0.026298699900507927,
-0.010786899365484715,
-0.012345324270427227,
0.005993373692035675,
0.024377640336751938,
0.0048005953431129456,
-0.05240843445062637,
0.005002490244805813,
0.043761663138866425,
0.012296171858906746,
0.03831637650728226,
-0.016855159774422646,
0.04489650949835777,
-0.0035796340089291334,
0.014175848104059696,
-0.01711338758468628,
0.002876982558518648,
-0.0024431420024484396,
0.01842707023024559,
-0.011463230475783348,
0.016563907265663147,
0.022272415459156036,
-0.16938385367393494,
-0.006590803153812885,
-7.190496739928025e-33,
0.017953967675566673,
-0.030077235773205757,
-0.01056615449488163,
-0.01657472923398018,
-0.020785534754395485,
-0.005961778108030558,
-0.01585065759718418,
0.0012426540488377213,
0.0063794804736971855,
-0.0270244050770998,
0.00596494460478425,
0.0002839360386133194,
0.0020612087100744247,
-0.015185435302555561,
0.026836274191737175,
-0.017625167965888977,
-0.004590369760990143,
0.020322931930422783,
0.015354154631495476,
0.034960996359586716,
0.03754144534468651,
0.03865068405866623,
0.046611275523900986,
0.009455074556171894,
0.004941088613122702,
0.048050303012132645,
-0.024131974205374718,
-0.032168909907341,
0.0016221246914938092,
-0.04210514575242996,
-0.023066777735948563,
0.007935681380331516,
-0.03193594142794609,
-0.04510170966386795,
0.015336758457124233,
-0.043090350925922394,
-0.026467353105545044,
-0.01467127911746502,
-0.02992578223347664,
0.018744565546512604,
-0.02180180512368679,
0.004809772130101919,
-0.017313439399003983,
-0.019278813153505325,
-0.035638779401779175,
-0.013159028254449368,
0.022255809977650642,
0.04105016589164734,
-0.011050286702811718,
0.006196421105414629,
0.043267227709293365,
-0.02887667343020439,
0.01551438495516777,
-0.01665460877120495,
-0.009697981178760529,
0.04971420392394066,
-0.023754188790917397,
0.01922353357076645,
0.003579098964110017,
-0.002051258459687233,
0.03132052347064018,
-0.013670507818460464,
0.002815045416355133,
0.00973020400851965,
-0.0030715472530573606,
0.023168163374066353,
0.019303806126117706,
-0.002773481188341975,
0.04387547820806503,
-0.030851377174258232,
-0.028311757370829582,
0.010672362521290779,
0.001523209037259221,
-0.021555041894316673,
0.043876197189092636,
0.0011909567983821034,
-0.003925232216715813,
0.012215192429721355,
0.02572694607079029,
0.03065207600593567,
0.02905975468456745,
0.025410735979676247,
-0.02017967216670513,
-0.026407131925225258,
-0.0064450097270309925,
-0.00011023967817891389,
0.021978387609124184,
-0.006123132538050413,
-0.04605827480554581,
0.023595759645104408,
0.013376306742429733,
0.031099796295166016,
-0.016552846878767014,
-0.010312596336007118,
-0.016137130558490753,
6.615912897194183e-33,
-0.0202578566968441,
0.0033723146189004183,
0.0032210825011134148,
-0.003058136673644185,
0.05597754940390587,
-0.03488367423415184,
0.02118111401796341,
-0.006940930150449276,
-0.035447705537080765,
0.03181365877389908,
-0.013067050836980343,
-0.010818504728376865,
-0.025490934029221535,
0.0016254016663879156,
0.04213093966245651,
-0.03946022689342499,
0.011444688774645329,
0.014358182437717915,
-0.026319341734051704,
-0.0005357019836083055,
0.023833146318793297,
-0.00024736777413636446,
0.02701987512409687,
-0.009795761667191982,
-0.0008135499083437026,
0.012533345259726048,
0.0019596002530306578,
-0.004638980142772198,
0.0019093805458396673,
0.005180516745895147,
0.038047123700380325,
-0.00017422968812752515,
-0.006139013450592756,
-0.048619549721479416,
-0.012556481175124645,
0.05122053250670433,
-0.007337327580899,
-0.017438208684325218,
-0.01423166785389185,
0.021988583728671074,
0.00402633985504508,
0.011568548157811165,
-0.0062332660891115665,
0.012142209336161613,
0.026156356558203697,
0.028785988688468933,
0.0029818606562912464,
-0.025190573185682297,
-0.011937522329390049,
0.028592731803655624,
0.016456622630357742,
0.023592937737703323,
-0.040289562195539474,
0.004506662487983704,
0.007182737812399864,
-0.006955025251954794,
-0.0073815276846289635,
-0.0107201486825943,
-0.053330279886722565,
0.01746208406984806,
-0.017898112535476685,
0.02141488716006279,
-0.05601409822702408,
0.046402037143707275,
0.012265609577298164,
0.028148306533694267,
-0.0493832528591156,
-0.02818165346980095,
-0.008877239190042019,
0.041481971740722656,
-0.023900913074612617,
-0.04780806601047516,
0.024016957730054855,
0.01411405112594366,
-0.023457543924450874,
-0.0007759940926916897,
-0.0347309410572052,
0.024283651262521744,
-0.0027943230234086514,
0.06728321313858032,
0.0029238213319331408,
-0.025577766820788383,
0.03517240658402443,
-0.0004644823493435979,
0.016908014193177223,
-0.009974176995456219,
-0.012481040321290493,
-0.000513982551638037,
0.04944983124732971,
-0.0005515361553989351,
0.0479695126414299,
-0.01660930924117565,
0.015620991587638855,
0.011947392486035824,
0.017636731266975403,
-1.2805632110257648e-8,
-0.04155467078089714,
0.024440646171569824,
-0.01641124300658703,
0.02610768936574459,
-0.008782577700912952,
0.034695059061050415,
-0.013241175562143326,
-0.04927374795079231,
-0.007223126944154501,
-0.0019226477015763521,
0.034668583422899246,
-0.0022287729661911726,
-0.011530430056154728,
0.00033962776069529355,
0.00511869927868247,
-0.03324570879340172,
-0.014923229813575745,
-0.0061875456012785435,
0.028708484023809433,
0.021589601412415504,
0.012845116667449474,
0.005273682996630669,
-0.051354363560676575,
-0.003979136236011982,
0.044254351407289505,
-0.05049067735671997,
-0.026346758008003235,
-0.07583697140216827,
-0.012311932630836964,
0.008902128785848618,
0.03757194057106972,
-0.02628864347934723,
0.011113625019788742,
0.003749801544472575,
0.016092054545879364,
-0.06513114273548126,
0.04791997745633125,
-0.00033593224361538887,
0.01993897557258606,
0.006723974831402302,
0.00054405617993325,
-0.010314350947737694,
-0.04936166852712631,
-0.029126165434718132,
0.014956696890294552,
0.020753759890794754,
-0.03251146525144577,
-0.02808462083339691,
-0.006766620557755232,
-0.06976068019866943,
0.04540574178099632,
-0.011898539029061794,
0.014093908481299877,
0.03230071812868118,
0.0676686093211174,
0.03460262343287468,
-0.028857123106718063,
-0.007770300377160311,
-0.03187573328614235,
-0.04084578529000282,
-0.01680060289800167,
0.039761982858181,
-0.017876822501420975,
-0.023361535742878914
] | r-joining-multiple-data-frames | https://markhneedham.com/blog/2014/11/07/r-joining-multiple-data-frames |
false | 2014-11-09 00:11:48 | R: Refactoring to dplyr | [
"r-2"
] | [
"R"
] | I've been looking back over some of the early code I wrote using R before I knew about the http://cran.r-project.org/web/packages/dplyr/vignettes/introduction.html[dplyr] library and thought it'd be an interesting exercise to refactor some of the snippets.
We'll use the following data frame for each of the examples:
[source,r]
----
library(dplyr)
data = data.frame(
letter = sample(LETTERS, 50000, replace = TRUE),
number = sample (1:10, 50000, replace = TRUE)
)
----
== Take \{n} rows
[source,r]
----
> data[1:5,]
letter number
1 R 7
2 Q 3
3 B 8
4 R 3
5 U 2
----
becomes:
[source,r]
----
> data %>% head(5)
letter number
1 R 7
2 Q 3
3 B 8
4 R 3
5 U 2
----
== Order by numeric value descending
[source,r]
----
> data[order(-(data$number)),][1:5,]
letter number
14 H 10
17 G 10
63 L 10
66 W 10
73 R 10
----
becomes:
[source,r]
----
> data %>% arrange(desc(number)) %>% head(5)
letter number
1 H 10
2 G 10
3 L 10
4 W 10
5 R 10
----
== Count number of items
[source,r]
----
> length(data[,1])
[1] 50000
----
becomes:
[source,r]
----
> data %>% count()
Source: local data frame [1 x 1]
n
1 50000
----
== Filter by column value
[source,r]
----
> length(subset(data, number == 1)[, 1])
[1] 4928
----
becomes:
[source,r]
----
> data %>% filter(number == 1) %>% count()
Source: local data frame [1 x 1]
n
1 4928
----
== Group by variable and count
[source,r]
----
> aggregate(data, by= list(data$number), function(x) length(x))
Group.1 letter number
1 1 4928 4928
2 2 5045 5045
3 3 5064 5064
4 4 4823 4823
5 5 5032 5032
6 6 5163 5163
7 7 4945 4945
8 8 5077 5077
9 9 5025 5025
10 10 4898 4898
----
becomes:
[source,r]
----
> data %>% count(number)
Source: local data frame [10 x 2]
number n
1 1 4928
2 2 5045
3 3 5064
4 4 4823
5 5 5032
6 6 5163
7 7 4945
8 8 5077
9 9 5025
10 10 4898
----
== Select a range of rows
[source,r]
----
> data[4:5,]
letter number
4 R 3
5 U 2
----
becomes:
[source,r]
----
> data %>% slice(4:5)
letter number
1 R 3
2 U 2
----
There's certainly more code in some of the dplyr examples but I find it easier to remember how the dplyr code works when I come back to it and hence tend to favour that approach. | null | null | [
0.03475593775510788,
-0.005597930867224932,
-0.0056488183327019215,
0.04047664254903793,
0.054699864238500595,
0.05370796471834183,
0.027018936350941658,
-0.020167488604784012,
0.003840336576104164,
-0.014699419029057026,
0.011418815702199936,
-0.0006720871897414327,
-0.07073560357093811,
0.019604720175266266,
-0.051860012114048004,
0.09209226071834564,
0.0615023598074913,
-0.005187928676605225,
0.01980252005159855,
0.010100209154188633,
0.04250355437397957,
0.05794813856482506,
0.0029068193398416042,
0.05155100300908089,
0.04789988324046135,
0.007091283332556486,
0.04321084916591644,
-0.0030791969038546085,
-0.05665900185704231,
0.022342396900057793,
0.06051518768072128,
0.023751595988869667,
-0.01736462116241455,
-0.006552953273057938,
0.025390854105353355,
-0.023599060252308846,
-0.012907884083688259,
-0.008967599831521511,
0.0029048039577901363,
-0.02284119836986065,
-0.060207247734069824,
-0.006408025976270437,
-0.017365626990795135,
0.006051843985915184,
-0.026318209245800972,
-0.0003136008745059371,
-0.061789143830537796,
0.01744897849857807,
-0.005125398747622967,
-0.0004727044142782688,
-0.05090330168604851,
0.03001588024199009,
0.0038306801579892635,
-0.05330825224518776,
-0.012241601012647152,
0.04888754338026047,
0.03826740011572838,
-0.07381895184516907,
0.03550338372588158,
-0.05769653618335724,
0.011068334802985191,
0.030352843925356865,
0.028273308649659157,
0.032794930040836334,
0.021417200565338135,
-0.01157246995717287,
-0.007372066844254732,
0.04306313395500183,
-0.03371380269527435,
-0.012364004738628864,
-0.03151937201619148,
-0.02205660194158554,
-0.03770888224244118,
-0.008448080159723759,
-0.0017352424329146743,
-0.016128845512866974,
-0.004220100119709969,
0.06382163614034653,
0.021697629243135452,
0.01931840553879738,
-0.0110860550776124,
-0.00728447362780571,
0.0011616054689511657,
-0.009257888421416283,
0.0273665189743042,
-0.02994900569319725,
-0.018448561429977417,
-0.03902599588036537,
-0.0603315494954586,
0.06809525191783905,
-0.04614917188882828,
-0.04878142103552818,
0.018304448574781418,
0.009995028376579285,
-0.032536644488573074,
0.0067214202135801315,
0.018108565360307693,
-0.012064295820891857,
0.004712309222668409,
-0.0009202900691889226,
-0.08125479519367218,
-0.005470601841807365,
0.06853307783603668,
0.003159385873004794,
-0.07042649388313293,
0.003776803147047758,
-0.020976394414901733,
-0.01790636219084263,
0.016319653019309044,
0.005017655435949564,
-0.006087963469326496,
-0.006659969221800566,
-0.02691275253891945,
0.010986967012286186,
-0.06553584337234497,
0.06459156423807144,
0.03046397678554058,
0.007752127945423126,
-0.020018110051751137,
-0.007236673962324858,
0.050885070115327835,
0.01026542391628027,
-0.0015826777089387178,
0.08001857250928879,
-0.0164097361266613,
0.05291913077235222,
0.015995757654309273,
0.04930081591010094,
-0.032632581889629364,
-0.08500787615776062,
-0.0018445689929649234,
0.06661858409643173,
-0.024235866963863373,
0.021360870450735092,
-0.019363611936569214,
-0.023629285395145416,
-0.0450928695499897,
-0.015257924795150757,
0.07032307237386703,
0.010971415787935257,
0.039298463612794876,
0.0009047069470398128,
0.0038159596733748913,
-0.031064597889780998,
0.043122969567775726,
0.03048340231180191,
0.018434619531035423,
-0.026613008230924606,
-0.05847419798374176,
0.004815118387341499,
0.03412181884050369,
0.0304697398096323,
0.0666223019361496,
-0.020091857761144638,
0.029599763453006744,
0.05119597539305687,
-0.01765403151512146,
0.011447756551206112,
-0.013624923303723335,
-0.007535886950790882,
0.03293851017951965,
0.023395342752337456,
0.025403136387467384,
0.0606502890586853,
-0.004420884884893894,
-0.044940389692783356,
0.017870131880044937,
0.03796178847551346,
-0.027379684150218964,
-0.006409128662198782,
-0.0738532692193985,
-0.06108395755290985,
0.05681712180376053,
-0.03663117066025734,
0.012747817672789097,
0.02352236583828926,
0.06619150191545486,
0.06374017894268036,
0.04227250814437866,
0.007581477519124746,
-0.07778452336788177,
0.0373549647629261,
0.0003235396579839289,
0.022239360958337784,
0.0568406768143177,
-0.05205277353525162,
0.1025724783539772,
0.026579977944493294,
0.031209120526909828,
0.06764615327119827,
-0.05859868973493576,
-0.06239652633666992,
-0.025153597816824913,
0.0022473016288131475,
0.04268195852637291,
-0.02573935128748417,
-0.019692696630954742,
0.08334524184465408,
0.0024669973645359278,
0.01567191816866398,
-0.010165554471313953,
0.037694260478019714,
0.024212827906012535,
-0.03344731777906418,
-0.01639142818748951,
-0.013645618222653866,
0.01709176041185856,
-0.006223429460078478,
-0.020768815651535988,
0.012392616830766201,
-0.023473629727959633,
0.014771988615393639,
0.0064765652641654015,
-0.02087577059864998,
0.03486759960651398,
0.03803350776433945,
0.05943845957517624,
0.02312636375427246,
0.04215801879763603,
-0.047255419194698334,
0.009245251305401325,
-0.0058624716475605965,
0.002064421074464917,
-0.03682585060596466,
-0.013092152774333954,
0.1231369897723198,
0.0548153892159462,
-0.009217842482030392,
-0.04266834259033203,
0.02327749691903591,
-0.03844514116644859,
-0.021713975816965103,
0.02750973403453827,
-0.0019181948155164719,
-0.003599742893129587,
0.017004165798425674,
-0.04104113578796387,
-0.017330491915345192,
0.028439147397875786,
-0.0478571392595768,
-0.004773584194481373,
0.059636518359184265,
-0.021379167214035988,
0.04005948454141617,
0.013038229197263718,
-0.00032319570891559124,
-0.028134746477007866,
-0.023336287587881088,
-0.07080808281898499,
0.00612232182174921,
0.03170501068234444,
-0.028717538341879845,
0.0455545149743557,
-0.0345405638217926,
-0.010851138271391392,
-0.018288401886820793,
-0.034979142248630524,
0.0050348243676126,
0.06343565881252289,
0.06676549464464188,
-0.02701888605952263,
0.016562778502702713,
0.000848952098749578,
-0.023488713428378105,
-0.005097597371786833,
-0.06583034247159958,
-0.03921559453010559,
-0.04089817404747009,
0.0041220965795218945,
0.003013380104675889,
0.008809791877865791,
0.011817941442131996,
-0.01771107129752636,
0.023026177659630775,
0.023578939959406853,
-0.037161849439144135,
0.057584621012210846,
-0.004651078023016453,
-0.028361575677990913,
-0.014853185042738914,
-0.01577584259212017,
0.040584877133369446,
0.004037996754050255,
-0.031493689864873886,
0.001233600778505206,
-0.03613225743174553,
0.0535702221095562,
-0.04601236805319786,
-0.03055034950375557,
-0.004411664791405201,
0.01572265848517418,
0.05258489400148392,
0.006042127031832933,
0.005693567451089621,
0.041883282363414764,
-0.01993185468018055,
0.015125194564461708,
0.015874279662966728,
0.005844686180353165,
0.06320639699697495,
0.017120862379670143,
0.004877037368714809,
0.03801931440830231,
0.004839903209358454,
-0.009809564799070358,
-0.0448925755918026,
0.01152458880096674,
0.007770429830998182,
-0.25286924839019775,
0.016798244789242744,
0.015518056228756905,
-0.024417443200945854,
0.024302421137690544,
-0.052957333624362946,
0.0374295599758625,
-0.03948783501982689,
-0.009578662924468517,
0.025171756744384766,
-0.003177294973284006,
-0.04255387559533119,
-0.0350724421441555,
0.04477553814649582,
0.015361890196800232,
0.03462011739611626,
-0.022045975551009178,
-0.027862736955285072,
0.009039320982992649,
0.058616314083337784,
0.04889678210020065,
-0.04958999902009964,
-0.015438482165336609,
0.04995241016149521,
-0.009731212630867958,
0.05449086055159569,
-0.05335152894258499,
0.031038714572787285,
-0.05778129771351814,
-0.03973167762160301,
0.023181842640042305,
-0.011556512676179409,
0.005471041891723871,
-0.0004699003475252539,
0.0045324102975428104,
-0.038898490369319916,
0.02657308615744114,
0.03291190043091774,
0.04235411062836647,
0.03639999032020569,
-0.029405657202005386,
-0.014905908145010471,
0.03651696443557739,
-0.026454009115695953,
0.07745001465082169,
0.03343908488750458,
-0.07086613774299622,
0.008874723687767982,
-0.02047712355852127,
0.09675759822130203,
-0.008678631857037544,
-0.009075876325368881,
-0.0009852772345766425,
0.016786780208349228,
-0.03415066376328468,
-0.021299142390489578,
-0.029875485226511955,
0.02282281406223774,
-0.017296791076660156,
-0.05550597608089447,
0.013493618927896023,
-0.008450993336737156,
-0.012977902777493,
-0.042538996785879135,
-0.007532621268182993,
-0.07019771635532379,
-0.07780750840902328,
0.008958608843386173,
0.056687235832214355,
0.031649090349674225,
-0.04566604271531105,
0.008763328194618225,
-0.008205335587263107,
-0.10008242726325989,
-0.012527434155344963,
-0.04861301928758621,
-0.0018138346495106816,
-0.028021346777677536,
-0.012745553627610207,
0.05398634448647499,
-0.028223026543855667,
-0.03624340891838074,
0.03660684823989868,
0.007280488032847643,
0.031346797943115234,
-0.0006736704963259399,
0.0059889862313866615,
0.013685200363397598,
-0.022655049338936806,
-0.04332121089100838,
0.07352302968502045,
-0.05843781307339668,
-0.02819025330245495,
0.012495446018874645,
0.002702545141801238,
0.04552773758769035,
0.01383365597575903,
0.002026208909228444,
0.042840514332056046,
0.042633406817913055,
0.04793237894773483,
-0.0389745719730854,
0.03536109998822212,
-0.07365123927593231,
-0.017188992351293564,
0.009750012308359146,
-0.08550961315631866,
0.013890573754906654,
0.00561405997723341,
0.041820019483566284,
0.004890608601272106,
-0.0369119793176651,
0.01632910966873169,
-0.03705224767327309,
-0.017358027398586273,
-0.023405173793435097,
0.00996592827141285,
0.010606261901557446,
-0.015691310167312622,
0.018100276589393616,
-0.06035299226641655,
0.006933227647095919,
-0.03720695897936821,
-0.02113169990479946,
-0.027379048988223076,
-0.024916939437389374,
0.030866222456097603,
-0.010044095106422901,
-0.00796765461564064,
0.028523307293653488,
0.011370756663382053,
-0.0030024568550288677,
0.022831009700894356,
-0.03861219808459282,
0.040764305740594864,
0.02554640918970108,
-0.05191021040081978,
-0.003079773625358939,
-0.007246579509228468,
0.041689127683639526,
-0.043006572872400284,
0.004264736548066139,
0.00822121649980545,
0.030702324584126472,
0.021139351651072502,
-0.015457929112017155,
0.06692634522914886,
-0.006464540027081966,
-0.00927736982703209,
-0.00002723785291891545,
0.02366223745048046,
0.006696190685033798,
-0.011752909049391747,
-0.041834067553281784,
-0.030991217121481895,
-0.017038490623235703,
0.06987647712230682,
-0.021509207785129547,
-0.0006896303384564817,
-0.040907394140958786,
-0.019344765692949295,
-0.03800078108906746,
-0.009937899187207222,
-0.032241757959127426,
-0.0011926853330805898,
0.051971226930618286,
-0.004312459379434586,
-0.004534292500466108,
0.02815651334822178,
-0.02128589153289795,
-0.025619719177484512,
0.01895929127931595,
-0.04043157398700714,
0.01940659061074257,
-0.017740445211529732,
-0.013738501816987991,
0.028139552101492882,
0.0031259427778422832,
0.009142796508967876,
0.004927205387502909,
-0.016859041526913643,
-0.01579182595014572,
0.02172156237065792,
-0.0029059064108878374,
0.033094990998506546,
0.023371480405330658,
-0.014733545482158661,
0.0008808355196379125,
-0.03020773082971573,
-0.04351455718278885,
-0.02479107864201069,
0.011840580962598324,
-0.002590212970972061,
0.015759849920868874,
-0.061360348016023636,
-0.06535518914461136,
-0.00046428103814832866,
0.08053968846797943,
-0.015541710890829563,
0.01268672663718462,
-0.013150310143828392,
0.0012595218140631914,
-0.04188034310936928,
0.04493335634469986,
0.06580960750579834,
-0.07919657975435257,
-0.010219099000096321,
-0.014432513155043125,
-0.0029019557405263186,
0.011398451402783394,
0.00373918772675097,
-0.0680573359131813,
-0.03136768192052841,
-0.047534722834825516,
-0.0006721513345837593,
0.0035045868717134,
-0.07101533561944962,
-0.07928041368722916,
0.02340691164135933,
-0.027823543176054955,
0.014129932038486004,
-0.04252767190337181,
-0.007863453589379787,
0.0011386899277567863,
-0.008541892282664776,
-0.002357669174671173,
-0.033660080283880234,
-0.04278960078954697,
0.023879360407590866,
-0.018382063135504723,
0.023793401196599007,
0.004690035246312618,
0.025077547878026962,
0.014262356795370579,
-0.011110860854387283,
-0.019442439079284668,
-0.04597051441669464,
0.012272538617253304,
0.02657380700111389,
0.0380680151283741,
-0.02158036269247532,
0.036682672798633575,
-0.031132850795984268,
0.007860998623073101,
-0.020859897136688232,
-0.007902066223323345,
-0.015610168687999249,
-0.0276472270488739,
0.045006684958934784,
0.05313185229897499,
0.00815634336322546,
0.003192514181137085,
-0.014531120657920837,
-0.02371808886528015,
0.07608160376548767,
-0.0094009293243289,
-0.03202664107084274,
-0.018913747742772102,
-0.04125034064054489,
0.04160076007246971,
0.018769625574350357,
0.0059272609651088715,
-0.045049037784338,
0.018168479204177856,
0.0264887697994709,
0.023814598098397255,
0.03390137478709221,
-0.006716312374919653,
0.035249873995780945,
-0.025243040174245834,
0.01802046410739422,
-0.07617822289466858,
-0.01202336885035038,
0.027725329622626305,
0.0013372553512454033,
-0.01756354421377182,
-0.030917489901185036,
-0.03998441994190216,
0.04838511720299721,
-0.045517969876527786,
-0.03765379264950752,
0.04530572146177292,
0.0008712699636816978,
0.010342645458877087,
-0.01587442308664322,
-0.035810958594083786,
-0.02016565203666687,
0.03322047367691994,
-0.0441848449409008,
0.01138004194945097,
-0.02216540277004242,
0.048070475459098816,
-0.03960959613323212,
0.023003600537776947,
-0.020026227459311485,
-0.009999723173677921,
0.04220236837863922,
0.028486480936408043,
0.0047287954948842525,
0.044320471584796906,
-0.026754526421427727,
0.022022640332579613,
0.026047606021165848,
-0.018007081001996994,
0.019802026450634003,
0.029485203325748444,
0.014899497851729393,
-0.019886808469891548,
0.004468883387744427,
0.008724500425159931,
0.005251878406852484,
-0.06097600236535072,
0.09171728044748306,
0.02230902947485447,
-0.06034855544567108,
-0.03326370567083359,
0.016667848452925682,
-0.04612342640757561,
-0.010783852078020573,
0.01804765872657299,
-0.023529386147856712,
-0.03510370850563049,
0.06171702221035957,
-0.023095086216926575,
-0.0349087230861187,
0.05581100285053253,
-0.004905975889414549,
-0.01122022420167923,
-0.02418442629277706,
0.05824117362499237,
0.08432169258594513,
0.05427397042512894,
-0.027424028143286705,
0.050243817269802094,
-0.03243301808834076,
-0.050227392464876175,
0.039279282093048096,
-0.02151201292872429,
0.00009646499529480934,
-0.03551270440220833,
0.01575503684580326,
0.0673590824007988,
-0.02223782427608967,
0.05679648369550705,
0.002754081506282091,
-0.01593233458697796,
0.0017301496118307114,
-0.015535618178546429,
0.05624106526374817,
0.04798620939254761,
0.003031567670404911,
0.03382774442434311,
0.002397805918008089,
-0.007289698347449303,
0.0185408852994442,
-0.012090852484107018,
-0.00033859224640764296,
-0.003447644878178835,
-0.02006976306438446,
0.004183355253189802,
0.012449301779270172,
0.0015766596188768744,
0.08487237989902496,
-0.04575330391526222,
-0.02051289565861225,
-0.021565621718764305,
0.057449087500572205,
0.018273519352078438,
-0.015658434480428696,
-0.012105394154787064,
-0.0396859236061573,
-0.021017013117671013,
-0.04929837957024574,
-0.044519826769828796,
0.0019760378636419773,
-0.016757452860474586,
-0.008035114035010338,
-0.024892503395676613,
-0.008530915714800358,
0.04493012651801109,
-0.01645687222480774,
-0.024584226310253143,
-0.04728798195719719,
-0.03816085681319237,
-0.07596579939126968,
-0.054277293384075165,
-0.00561783742159605,
-0.0044544413685798645,
-0.021717041730880737,
-0.03639065474271774,
-0.006765485275536776,
-0.006325686350464821,
-0.04875523969531059,
0.010889974422752857,
-0.05619972199201584,
-0.041029706597328186,
0.025805987417697906,
0.019518345594406128,
0.036718595772981644,
0.00936232041567564,
0.043309539556503296,
0.016426581889390945,
-0.014839917421340942,
-0.017685920000076294,
0.01794009655714035,
0.05635000765323639,
0.055006954818964005,
0.01573190465569496,
-0.06497561931610107,
0.005987402517348528,
0.005774076096713543,
-0.005194816272705793,
-0.0880238264799118,
0.025958536192774773,
-0.022457659244537354,
-0.012558452785015106,
0.0325160026550293,
-0.003841608529910445,
0.030797962099313736,
-0.019428355619311333,
-0.01814012974500656,
0.003998777363449335,
0.0385296568274498,
0.03276798874139786,
-0.04833575710654259,
0.06708449870347977,
0.005975270643830299,
0.004618688486516476,
-0.07597657293081284,
-0.010453715920448303,
0.004249858669936657,
-0.03552316501736641,
-0.04844336584210396,
-0.017369071021676064,
-0.025921057909727097,
-0.08673806488513947,
-0.008730540052056313,
0.020924825221300125,
-0.04977124184370041,
0.0006198452902026474,
-0.01927807368338108,
0.010769378393888474,
-0.024190595373511314,
0.040314607322216034,
-0.053090650588274,
0.03130107745528221,
-0.018009956926107407,
-0.018660547211766243,
0.01047890167683363,
0.03309087082743645,
-0.013500387780368328,
0.024284252896904945,
-0.004135495517402887,
-0.014920244924724102,
0.008899946697056293,
-0.014678901992738247,
0.03926345705986023,
0.04839569330215454,
-0.002959397155791521,
0.01943381130695343
] | [
-0.07568838447332382,
-0.008028119802474976,
-0.04181775823235512,
0.0016701605636626482,
0.0769452154636383,
0.0037365546450018883,
-0.03836135193705559,
0.04251325875520706,
0.0017754004802554846,
0.0158158577978611,
0.03755906969308853,
-0.048384103924036026,
0.020082738250494003,
-0.019134650006890297,
0.03934023156762123,
-0.007747999858111143,
-0.018784545361995697,
-0.028279708698391914,
-0.041124701499938965,
0.020851727575063705,
-0.016472866758704185,
-0.04447532072663307,
-0.035116638988256454,
-0.04973228648304939,
0.05495549365878105,
0.03422301262617111,
-0.019901437684893608,
-0.0400361530482769,
-0.002698875032365322,
-0.22378088533878326,
0.0024609423708170652,
0.04103967919945717,
0.060979463160037994,
-0.009610827080905437,
0.0017303726635873318,
0.026750558987259865,
-0.006696909200400114,
0.012938359752297401,
0.00026939864619635046,
0.02219988964498043,
0.027199817821383476,
0.001974634826183319,
-0.018908079713582993,
-0.008112841285765171,
0.006668169517070055,
0.018707988783717155,
-0.06180224567651749,
-0.016868503764271736,
0.01802978478372097,
0.01591993309557438,
-0.06722284108400345,
-0.021806128323078156,
-0.014095365069806576,
0.00784427672624588,
0.014733746647834778,
0.0273702684789896,
0.04071106016635895,
0.013148077763617039,
0.0010766745544970036,
0.03296087682247162,
0.011537381447851658,
0.0104640768840909,
-0.1698509007692337,
0.08717523515224457,
0.018656009808182716,
0.04331784322857857,
-0.03372298926115036,
0.015822695568203926,
-0.005357879679650068,
0.07689180970191956,
-0.021883374080061913,
-0.01603991724550724,
-0.034809306263923645,
0.04908394068479538,
0.000928686058614403,
-0.006576399318873882,
-0.039108894765377045,
-0.015914345160126686,
0.04882488772273064,
-0.03768153488636017,
0.010542827658355236,
0.02385762892663479,
-0.009720292873680592,
-0.023182157427072525,
-0.007616035174578428,
0.00894393865019083,
-0.022873228415846825,
0.01889897510409355,
-0.011646083556115627,
0.0027674634475260973,
0.031524647027254105,
0.03308161348104477,
0.03910975530743599,
0.023543283343315125,
-0.11164558678865433,
-0.014001506380736828,
0.03289797529578209,
0.0204885546118021,
0.010127957910299301,
0.3973405063152313,
-0.03727969527244568,
-0.048742908984422684,
0.006400540471076965,
0.054490502923727036,
0.003427232848480344,
-0.02754584699869156,
-0.005045645404607058,
-0.04214536026120186,
0.02327456884086132,
0.002768065547570586,
0.006601038388907909,
-0.021071244031190872,
0.0380062460899353,
-0.06094929575920105,
0.027169719338417053,
-0.03953252360224724,
0.008123553358018398,
0.0017363830702379346,
0.04374361038208008,
0.012386276386678219,
0.01126106921583414,
-0.015972768887877464,
0.01727425865828991,
0.010141933336853981,
0.0438840426504612,
-0.03271045535802841,
0.03490030765533447,
0.08600343018770218,
0.05669458210468292,
0.026289718225598335,
0.06652764230966568,
0.016532381996512413,
-0.07898486405611038,
-0.0015837457031011581,
-0.023750007152557373,
-0.003714591497555375,
0.04924147576093674,
-0.011549647897481918,
-0.005767054855823517,
0.010349872522056103,
-0.017127392813563347,
0.008612396195530891,
0.026144586503505707,
-0.0011873901821672916,
-0.048416174948215485,
0.1418786346912384,
0.003439932828769088,
-0.015881532803177834,
-0.031078919768333435,
-0.06702343374490738,
0.047065019607543945,
0.050515782088041306,
0.01573244482278824,
-0.027562208473682404,
-0.0028657629154622555,
0.03947047144174576,
0.05916609242558479,
-0.07337334007024765,
-0.06743000447750092,
-0.03578566014766693,
-0.023100776597857475,
-0.03820990398526192,
-0.03532091900706291,
0.02635817602276802,
0.05249740928411484,
-0.048582181334495544,
-0.012788871303200722,
0.03488953039050102,
0.030869556590914726,
-0.06342063844203949,
0.04926200956106186,
-0.02578604780137539,
-0.047183264046907425,
0.015173092484474182,
0.04455127567052841,
0.011359871365129948,
-0.024362409487366676,
0.013384152203798294,
0.046728309243917465,
0.022520052269101143,
0.010514180175960064,
-0.00551460450515151,
-0.044765274971723557,
0.02088887430727482,
-0.042949073016643524,
-0.06107497215270996,
-0.07874103635549545,
0.019169265404343605,
-0.025010714307427406,
-0.009262115694582462,
-0.00786861963570118,
-0.014346390031278133,
-0.06125687435269356,
0.06383056193590164,
-0.06606647372245789,
-0.029737180098891258,
0.03919129818677902,
0.01738228276371956,
-0.03265058994293213,
-0.053477734327316284,
-0.00023249183141160756,
0.03150661289691925,
0.05026579648256302,
0.03762003779411316,
-0.05084633827209473,
0.02579859085381031,
0.07168614119291306,
-0.04495123401284218,
0.07270877808332443,
0.03109477460384369,
0.012818362563848495,
0.005438759922981262,
0.008121991530060768,
-0.002565000206232071,
-0.03507731482386589,
0.013815523125231266,
0.005357996094971895,
-0.036672722548246384,
0.004697026684880257,
0.0386323556303978,
0.02383706532418728,
-0.059867873787879944,
-0.012907082214951515,
-0.36700639128685,
-0.04057809337973595,
0.035202573984861374,
-0.005730177741497755,
0.027904197573661804,
-0.03456145524978638,
-0.012750210240483284,
-0.008386949077248573,
0.0037259331438690424,
0.08081327378749847,
0.05117827653884888,
0.019407864660024643,
-0.02157638594508171,
-0.1078575998544693,
0.005501879379153252,
0.046464867889881134,
0.013184737414121628,
-0.027469677850604057,
-0.04032164812088013,
-0.013782942667603493,
-0.02817092277109623,
-0.02941121906042099,
-0.0007993134786374867,
-0.02505204640328884,
0.033203449100255966,
-0.020755888894200325,
0.11910978704690933,
0.0023514453787356615,
0.03244628384709358,
-0.013434628956019878,
0.0337386354804039,
-0.01629490777850151,
-0.0009798791725188494,
-0.012744131498038769,
0.04088696837425232,
-0.04322342574596405,
-0.023106178268790245,
0.03748036548495293,
-0.009975076653063297,
-0.037596866488456726,
-0.01170231495052576,
0.021447164937853813,
-0.04404637962579727,
-0.026907701045274734,
-0.047978270798921585,
0.015309816226363182,
-0.0335511788725853,
-0.00512297498062253,
-0.027967043220996857,
0.05781538784503937,
0.015681695193052292,
-0.0047232480719685555,
0.056692931801080704,
0.03965402767062187,
0.004081752151250839,
-0.00645690131932497,
-0.07742509245872498,
0.02468317747116089,
-0.004527281504124403,
-0.055009495466947556,
0.023806573823094368,
0.013471697457134724,
0.05517299100756645,
-0.07907800376415253,
-0.030888287350535393,
0.005276793614029884,
0.02257174625992775,
-0.02341238595545292,
0.02607830800116062,
0.014915606938302517,
-0.015868108719587326,
0.09831622242927551,
-0.010090618394315243,
0.04126974940299988,
0.040764618664979935,
0.037256065756082535,
-0.06305947154760361,
-0.03454484045505524,
-0.03806925192475319,
-0.008748874068260193,
0.0696372538805008,
-0.04464574158191681,
-0.003906091907992959,
-0.029919998720288277,
0.046440623700618744,
0.013979583978652954,
0.009896472096443176,
-0.02273419313132763,
0.04315980523824692,
0.060136016458272934,
0.0075714546255767345,
-0.0357624888420105,
-0.005875095259398222,
-0.05819014832377434,
0.03917407989501953,
0.013325638137757778,
-0.3083046078681946,
0.006350483279675245,
0.03195098415017128,
0.033724844455718994,
-0.024015655741095543,
0.02175263874232769,
0.022919148206710815,
-0.044156234711408615,
0.011415529064834118,
0.0029194080270826817,
0.005197012331336737,
0.05542793124914169,
0.06431708484888077,
-0.017393197864294052,
-0.0011976150562986732,
-0.01625310629606247,
0.03862809017300606,
-0.03356083482503891,
0.035262707620859146,
-0.01893829181790352,
0.01371590606868267,
-0.049068793654441833,
0.12896692752838135,
0.0002602331805974245,
-0.018736377358436584,
-0.010415150783956051,
-0.0032772948034107685,
-0.028949782252311707,
0.09178058803081512,
0.004756355192512274,
-0.008293281309306622,
0.02921101450920105,
0.060252659022808075,
0.006598363630473614,
0.02463546209037304,
0.027116326615214348,
-0.04953072965145111,
0.05175602063536644,
0.020027566701173782,
-0.018000202253460884,
-0.01443891879171133,
0.001943715033121407,
-0.03292237967252731,
0.030299538746476173,
0.08723790943622589,
-0.02232813462615013,
-0.01095584873110056,
-0.04183237627148628,
-0.03911900892853737,
-0.01849718764424324,
-0.009199313819408417,
0.013253414072096348,
-0.01859442889690399,
-0.005910793319344521,
0.0024646762758493423,
0.026368513703346252,
0.02695307694375515,
-0.010684220120310783,
0.0028979547787457705,
-0.009176729246973991,
-0.008064709603786469,
-0.07056637853384018,
0.08824211359024048,
0.015020729973912239,
0.019469046965241432
] | [
0.0071977549232542515,
0.046172235161066055,
-0.017304541543126106,
0.008897658437490463,
-0.016846217215061188,
0.0016664452850818634,
-0.0010383134940639138,
-0.03550508990883827,
-0.041538823395967484,
-0.005712813697755337,
-0.006169520318508148,
0.015852954238653183,
0.01948770135641098,
-0.01507249753922224,
-0.019544117152690887,
0.013119901530444622,
0.0032358444295823574,
0.008110015653073788,
0.016304461285471916,
-0.046751052141189575,
-0.05904374271631241,
0.06599819660186768,
0.0369986891746521,
-0.006519701797515154,
-0.009566020220518112,
0.09229700267314911,
-0.021898986771702766,
0.010436291806399822,
0.04209066927433014,
-0.1376233845949173,
0.0005648721125908196,
-0.02124805934727192,
0.010368906892836094,
0.014493880793452263,
-0.035870276391506195,
0.025104094296693802,
-0.02679024264216423,
0.0061508528888225555,
0.02688959240913391,
0.01392663549631834,
-0.037337277084589005,
0.003028413513675332,
0.01472513098269701,
0.035025909543037415,
-0.0031649265438318253,
0.010494445450603962,
-0.03722778335213661,
0.012922113761305809,
-0.014353226870298386,
-0.013961823657155037,
-0.049011293798685074,
0.03231306001543999,
0.017230961471796036,
-0.015018611215054989,
0.004471971187740564,
-0.054444532841444016,
-0.012776418589055538,
-0.03966321423649788,
-0.03399653360247612,
-0.036828793585300446,
-0.02555336430668831,
-0.023868994787335396,
-0.02840583585202694,
-0.0200941264629364,
-0.00633009010925889,
-0.019286006689071655,
-0.05628211796283722,
0.0157763734459877,
0.022092370316386223,
-0.017557349056005478,
-0.057228781282901764,
0.021677162498235703,
-0.04738634452223778,
-0.007694366853684187,
-0.028840990737080574,
-0.001765242894180119,
0.011601111851632595,
-0.05532187595963478,
0.03624289855360985,
-0.0015561243053525686,
-0.013539090752601624,
-0.014378627762198448,
-0.010227709077298641,
0.009179644286632538,
-0.017823107540607452,
-0.023079006001353264,
0.030261659994721413,
0.0027066152542829514,
-0.003225452033802867,
-0.0423414371907711,
-0.01107591763138771,
-0.009305606596171856,
0.029109487310051918,
0.02435171976685524,
-0.10123419761657715,
-0.0070528811775147915,
-0.015644576400518417,
0.02062402479350567,
0.014312281273305416,
0.8273969888687134,
0.010454917326569557,
-0.01285557635128498,
-0.01012514904141426,
0.021419640630483627,
-0.025429924950003624,
-0.023279530927538872,
0.03610556572675705,
0.012361269444227219,
-0.00524315657094121,
-0.03613319993019104,
0.019278446212410927,
0.021130427718162537,
0.023898715153336525,
0.010077076032757759,
0.0025809051003307104,
0.0150078684091568,
0.02372818998992443,
0.012257720343768597,
0.01363801397383213,
-0.02989293448626995,
-0.0008921000990085304,
-0.0068454016000032425,
-0.00004659984915633686,
0.0114178117364645,
-0.013493034988641739,
-0.17010140419006348,
-0.011826228350400925,
-6.551239402063849e-33,
0.031379181891679764,
-0.008076086640357971,
0.007686879485845566,
-0.003886331105604768,
0.03308790177106857,
-0.012762526981532574,
0.03459617868065834,
-0.0030913876835256815,
0.0019057001918554306,
-0.03168443217873573,
-0.005367180332541466,
0.003785511013120413,
0.014954952523112297,
0.008980241604149342,
-0.004666898865252733,
-0.03340698033571243,
0.008948350325226784,
0.029434747993946075,
0.0057526808232069016,
0.004485304933041334,
0.04583381861448288,
-0.0028358795680105686,
0.029100734740495682,
0.04330989718437195,
-0.008176586590707302,
0.004714110400527716,
0.011610763147473335,
-0.004557120148092508,
0.003180005121976137,
-0.06083916127681732,
-0.02848324365913868,
0.04517015442252159,
-0.007985919713973999,
0.002622694708406925,
0.013324994593858719,
-0.04065430164337158,
-0.0007774972473271191,
0.01120375283062458,
0.008834129199385643,
0.015530345030128956,
-0.0234304741024971,
0.016511185094714165,
-0.035565335303545,
0.00917208194732666,
-0.021315094083547592,
-0.005184916313737631,
0.029879851266741753,
0.10186271369457245,
-0.00605902262032032,
0.003234051400795579,
0.0030624608043581247,
0.01623339019715786,
0.01741771586239338,
0.0007386289653368294,
0.013646981678903103,
0.0018650958081707358,
0.020967915654182434,
0.023063672706484795,
0.02122422493994236,
0.029894225299358368,
-0.054128579795360565,
0.002776799723505974,
0.0005778641789220273,
0.03833220899105072,
0.01841634325683117,
-0.014558029361069202,
0.038041528314352036,
-0.01704735867679119,
0.0385630801320076,
0.024007640779018402,
-0.014018619433045387,
0.006592202931642532,
-0.01918405294418335,
-0.0028398928698152304,
0.044446758925914764,
-0.02318715490400791,
-0.02196463569998741,
-0.009630984626710415,
0.022158224135637283,
0.033338189125061035,
0.0011129772756248713,
0.019562948495149612,
-0.012060282751917839,
-0.027947675436735153,
-0.004263523034751415,
-0.04411638528108597,
0.0052785309962928295,
-0.01760876551270485,
-0.035776536911726,
-0.01719728298485279,
0.009471004828810692,
-0.004227916244417429,
0.03118196129798889,
-0.011194190010428429,
0.03394476696848869,
6.927783303410844e-33,
0.021802667528390884,
0.005350051447749138,
-0.003117011394351721,
0.019961746409535408,
0.027721066027879715,
-0.012957843020558357,
0.03355415537953377,
0.012131893076002598,
0.00020391868019942194,
0.0454510860145092,
0.003294795984402299,
0.0003462029271759093,
0.015044049359858036,
0.023528635501861572,
0.05801646411418915,
-0.002348952228203416,
0.027418946847319603,
0.02335222251713276,
-0.014379063621163368,
0.01742510311305523,
-0.0260304007679224,
0.039021849632263184,
0.017704276368021965,
0.004423034377396107,
0.029561588540673256,
0.04778657108545303,
-0.010671365074813366,
-0.011550458148121834,
-0.00147977564483881,
-0.008455094881355762,
0.019900044426321983,
-0.018759701400995255,
-0.0009433082304894924,
-0.013975409790873528,
-0.03003043867647648,
0.06797388941049576,
0.01160541083663702,
0.007393797393888235,
-0.00994154904037714,
0.002877152059227228,
0.009817241691052914,
0.021515794098377228,
-0.0037800564896315336,
0.026493409648537636,
-0.005694899708032608,
-0.010159943252801895,
-0.015119248069822788,
-0.019714822992682457,
-0.04590043053030968,
0.0010225146543234587,
-0.025480451062321663,
0.0474666953086853,
0.005191627889871597,
0.00007516684854635969,
0.014090131036937237,
-0.000386748492019251,
-0.026104232296347618,
0.01749289780855179,
-0.027909882366657257,
0.002895340323448181,
-0.031207170337438583,
-0.030603183433413506,
-0.015745285898447037,
0.03470020368695259,
-0.0399957001209259,
0.003103452967479825,
-0.016220491379499435,
-0.028967203572392464,
0.023729387670755386,
0.008070624433457851,
-0.03681262210011482,
-0.03142881020903587,
0.022367842495441437,
0.006467702332884073,
-0.0064783948473632336,
0.010594443418085575,
-0.05544126033782959,
-0.013776982203125954,
-0.01416731160134077,
0.0375925712287426,
0.012631887570023537,
-0.04478016495704651,
0.027196155861020088,
0.011303776875138283,
0.005380562506616116,
-0.0025834653060883284,
-0.03203877806663513,
-0.004287309944629669,
0.02661711722612381,
-0.023132985457777977,
0.019633082672953606,
-0.04180204123258591,
-0.02457737922668457,
0.011743845418095589,
0.011749635450541973,
-1.2267603821669582e-8,
-0.00876510702073574,
0.006623589899390936,
-0.013258600607514381,
0.016016501933336258,
0.047476258128881454,
0.04398342967033386,
-0.013883672654628754,
-0.018132517114281654,
0.009274204261600971,
0.022487424314022064,
0.06150594353675842,
-0.0071443673223257065,
-0.010382258333265781,
0.015849711373448372,
-0.00009779083484318107,
-0.04808775335550308,
0.039769094437360764,
0.010687163099646568,
0.033506136387586594,
0.01050189882516861,
0.016341781243681908,
0.05170217901468277,
-0.003662248607724905,
-0.014990460127592087,
0.022469060495495796,
-0.010932977311313152,
0.024346712976694107,
-0.07921557128429413,
0.02832738123834133,
-0.02474759705364704,
0.010244004428386688,
-0.03096167743206024,
-0.0042950124479830265,
0.004048898816108704,
-0.008467876352369785,
-0.07261255383491516,
0.032974354922771454,
0.04204753041267395,
-0.012742062099277973,
0.010251076892018318,
-0.012093390338122845,
-0.007685103919357061,
-0.05127494037151337,
-0.01314882654696703,
-0.0326726920902729,
-0.00905135739594698,
-0.05882146209478378,
-0.025059832260012627,
0.013943573459982872,
-0.036577820777893066,
0.04198392853140831,
0.00122261221986264,
0.0028773548547178507,
0.03380559757351875,
0.04523131996393204,
0.025347819551825523,
-0.012470281682908535,
-0.0051825824193656445,
-0.01914861798286438,
-0.025495238602161407,
-0.0052308510057628155,
0.028446514159440994,
-0.0187233854085207,
-0.04828466847538948
] | r-refactoring-to-dplyr | https://markhneedham.com/blog/2014/11/09/r-refactoring-to-dplyr |
false | 2014-11-09 09:30:09 | R: dplyr - Ordering by count after multiple column group_by | [
"r-2"
] | [
"R"
] | I was recently trying to group a data frame by two columns and then sort by the count using dplyr but it wasn't sorting in the way I expecting which was initially very confusing.
I started with this data frame:
[source,r]
----
library(dplyr)
data = data.frame(
letter = sample(LETTERS, 50000, replace = TRUE),
number = sample (1:10, 50000, replace = TRUE)
)
----
And I wanted to find out how many occurrences of each (letter, number) pair exist in the data set. I started with the following code:
[source,r]
----
> data %>% count(letter, number, sort = TRUE)
Source: local data frame [260 x 3]
Groups: letter
letter number n
1 A 4 205
2 A 9 201
3 A 3 197
4 A 1 195
5 A 10 191
6 A 2 189
7 A 8 184
8 A 7 183
9 A 5 181
10 A 6 173
.. ... ... ...
----
As you can see it's only showing A's which is interesting as I wouldn't expect there to be a bias towards that letter. Let's filter out the A's:
[source,r]
----
> data %>% filter(letter != "A") %>% count(letter, number, sort = TRUE)
Source: local data frame [250 x 3]
Groups: letter
letter number n
1 B 8 222
2 B 9 212
3 B 5 207
4 B 6 201
5 B 10 200
6 B 7 192
7 B 2 189
8 B 3 189
9 B 1 187
10 B 4 181
.. ... ... ...
----
Now all we see are B's and we can see that both (B,8) and (B,9) have a higher 'n' value than any of the A's.
I put the code back into the more verbose form to see if it was the +++<cite>+++count+++</cite>+++ function that behaved unexpectedly:
[source,r]
----
> data %>% group_by(letter, number) %>% summarise(n = n()) %>% arrange(desc(n))
Source: local data frame [260 x 3]
Groups: letter
letter number n
1 A 4 205
2 A 9 201
3 A 3 197
4 A 1 195
5 A 10 191
6 A 2 189
7 A 8 184
8 A 7 183
9 A 5 181
10 A 6 173
.. ... ... ...
----
Nope, still the same behaviour.
At this point I vaguely remembered there being a function called +++<cite>+++ungroup+++</cite>+++ which I hadn't used and wondered if now was the time.
[source,r]
----
> data %>% group_by(letter, number) %>% summarise(n = n()) %>% ungroup() %>% arrange(desc(n))
Source: local data frame [260 x 3]
letter number n
1 L 2 236
2 V 1 231
3 Y 8 226
4 J 4 225
5 J 10 223
6 Q 7 223
7 B 8 222
8 O 9 222
9 Q 10 221
10 Z 9 221
.. ... ... ...
----
Indeed it was and now we can go back to our original version of the code using +++<cite>+++count+++</cite>+++ and handle the sorting afterwards:
[source,r]
----
> data %>% count(letter, number) %>% ungroup() %>% arrange(desc(n))
Source: local data frame [260 x 3]
letter number n
1 L 2 236
2 V 1 231
3 Y 8 226
4 J 4 225
5 J 10 223
6 Q 7 223
7 B 8 222
8 O 9 222
9 Q 10 221
10 Z 9 221
.. ... ... ...
---- | null | null | [
0.00003062560790567659,
-0.022241707891225815,
-0.00876940693706274,
0.022962072864174843,
0.034003980457782745,
0.041503049433231354,
0.009994269348680973,
-0.02975357323884964,
-0.012960301712155342,
-0.02496265061199665,
0.012881124392151833,
0.0000432882116001565,
-0.056970756500959396,
0.05256997421383858,
-0.03241750970482826,
0.08938892185688019,
0.0625690221786499,
0.012089038267731667,
0.01487553957849741,
-0.01456186268478632,
0.06095005199313164,
0.03813808411359787,
-0.01142848003655672,
0.03352942690253258,
0.04937984421849251,
-0.001976841129362583,
0.0283197108656168,
0.004315441939979792,
-0.010099210776388645,
0.046433694660663605,
0.04698164016008377,
0.024858037009835243,
-0.0070005012676119804,
0.010461420752108097,
0.024380279704928398,
-0.01060000341385603,
-0.008376378566026688,
-0.019177807494997978,
0.028840884566307068,
-0.04285421222448349,
-0.05997956916689873,
-0.03019268810749054,
-0.03188497573137283,
0.02143552154302597,
-0.04311259463429451,
0.018963929265737534,
-0.09613350033760071,
0.020429467782378197,
-0.019627299159765244,
0.037503957748413086,
-0.0432157926261425,
0.045809272676706314,
0.03793812915682793,
-0.051151372492313385,
0.014105459675192833,
0.060098301619291306,
0.01917661353945732,
-0.04558612406253815,
0.02204303815960884,
-0.028100956231355667,
0.0253641027957201,
0.05649866908788681,
0.0016283916775137186,
0.014585672877728939,
0.02246903069317341,
-0.03469238802790642,
-0.014465593732893467,
0.04446839168667793,
-0.019954383373260498,
-0.0025995392352342606,
-0.042445629835128784,
-0.047893282026052475,
-0.0248038861900568,
-0.008132771588861942,
-0.03334427252411842,
-0.014374402351677418,
-0.018443534150719643,
0.047519877552986145,
0.015949096530675888,
0.01453903503715992,
-0.015128033235669136,
-0.020213669165968895,
-0.0032886990811675787,
0.0016960377106443048,
0.014135816134512424,
-0.018777890130877495,
-0.041644349694252014,
-0.043905772268772125,
-0.05716695263981819,
0.04337117075920105,
-0.04884124919772148,
-0.06820611655712128,
0.00963317509740591,
0.014812520705163479,
-0.06419254094362259,
-0.012183059938251972,
0.007783601060509682,
-0.018685357645154,
0.0045872339978814125,
-0.0032382949721068144,
-0.06548019498586655,
-0.008345269598066807,
0.07398541271686554,
0.029002413153648376,
-0.05984675511717796,
-0.000629317422863096,
-0.012768386863172054,
0.00388776115141809,
0.025117691606283188,
-0.0051691350527107716,
-0.0227512177079916,
0.00964510627090931,
-0.03716490417718887,
0.0054581137374043465,
-0.0455603152513504,
0.07192932069301605,
0.025806833058595657,
-0.02576643042266369,
0.0013816345017403364,
-0.01477769948542118,
0.06711024791002274,
0.02464112639427185,
-0.014620106667280197,
0.0779154896736145,
-0.04673951119184494,
0.03193795308470726,
0.031248677521944046,
0.04822099953889847,
-0.019487157464027405,
-0.07506871968507767,
-0.01190219260752201,
0.05290722846984863,
-0.03823089972138405,
0.0039176722057163715,
-0.02925434336066246,
-0.03392885625362396,
-0.07158780843019485,
-0.010021219030022621,
0.04448994994163513,
0.011642010882496834,
0.04779724404215813,
0.012797817587852478,
-0.04490374028682709,
-0.023888874799013138,
0.02143024653196335,
0.037509433925151825,
-0.009109276346862316,
-0.0846608504652977,
-0.031013449653983116,
0.0026720198802649975,
0.03740616887807846,
0.042484235018491745,
0.07189975678920746,
-0.04333403706550598,
0.020475566387176514,
0.0379185825586319,
0.005825566593557596,
0.01688496395945549,
-0.0016345693729817867,
-0.013161620125174522,
0.003934511914849281,
0.025610361248254776,
0.0339646078646183,
0.056121475994586945,
0.004601906053721905,
-0.039058856666088104,
0.04285796359181404,
0.0670354887843132,
-0.04035159945487976,
0.007800204213708639,
-0.05499103665351868,
-0.06251169741153717,
0.04027251899242401,
-0.022896552458405495,
0.01692698709666729,
-0.005883647594600916,
0.05545510724186897,
0.07074926048517227,
0.04097871482372284,
0.0007021091878414154,
-0.07581030577421188,
0.028904028236865997,
-0.016461379826068878,
0.044927652925252914,
0.04573242366313934,
-0.0210330281406641,
0.09875793009996414,
0.050040338188409805,
0.032430753111839294,
0.04101606085896492,
-0.028532063588500023,
-0.05260435864329338,
0.020814601331949234,
0.010736659169197083,
0.023831024765968323,
-0.04169275239109993,
-0.0009566634544171393,
0.08710832893848419,
0.015182367525994778,
-0.006183917634189129,
-0.009134231135249138,
0.05653941631317139,
0.010969086550176144,
-0.05111759155988693,
-0.0248152706772089,
0.024157268926501274,
0.036965373903512955,
0.0015027597546577454,
-0.005577736999839544,
0.020755726844072342,
-0.01738051138818264,
0.02841925621032715,
-0.011248460039496422,
-0.009020782075822353,
0.045775942504405975,
0.02229214273393154,
0.07222402095794678,
0.030589116737246513,
0.02523365430533886,
-0.030923904851078987,
0.0037479703314602375,
-0.01798444241285324,
-0.00007827929221093655,
-0.047596290707588196,
0.008097626268863678,
0.12803635001182556,
0.056337445974349976,
-0.0032406444661319256,
-0.037918273359537125,
0.02561354450881481,
-0.015303323045372963,
-0.0003929896338377148,
0.01493771467357874,
0.015747375786304474,
-0.03493748605251312,
0.026327962055802345,
-0.04807967320084572,
-0.02366643026471138,
0.039381131529808044,
-0.026824966073036194,
-0.00625357311218977,
0.04862658679485321,
-0.0010634626960381866,
0.03518328815698624,
0.007068665698170662,
-0.02427639253437519,
0.01733376644551754,
-0.018931034952402115,
-0.05505874752998352,
-0.007346768397837877,
0.03646685928106308,
-0.005884468089789152,
0.003966061398386955,
-0.05753055959939957,
-0.004692894872277975,
0.00020455947378650308,
-0.021830445155501366,
0.007895320653915405,
0.07966051995754242,
0.032703038305044174,
-0.011971499770879745,
0.04725247249007225,
-0.035196177661418915,
-0.03798653185367584,
-0.03368409723043442,
-0.03792732581496239,
-0.04488890618085861,
-0.016491148620843887,
-0.0035918671637773514,
-0.011605999432504177,
0.037266407161951065,
-0.01612008363008499,
-0.008973491378128529,
0.010293928906321526,
0.03732381761074066,
-0.015926137566566467,
0.047458913177251816,
0.005799741018563509,
-0.002972999820485711,
0.012924881651997566,
0.004482256714254618,
0.04783777892589569,
0.04662163183093071,
-0.03168461099267006,
-0.012673436664044857,
-0.05982820689678192,
0.05675210431218147,
-0.043271079659461975,
-0.01519208773970604,
0.02450137957930565,
0.010482924059033394,
0.02599618211388588,
0.028710152953863144,
0.000025948649636120535,
0.035388365387916565,
-0.007246094755828381,
0.01420834381133318,
0.012967268005013466,
0.014595827087759972,
0.05323970317840576,
0.025790080428123474,
3.623383690865012e-7,
0.035496633499860764,
-0.012358756735920906,
-0.03661122918128967,
-0.06545548141002655,
-0.015290404669940472,
0.008143821731209755,
-0.22788330912590027,
0.010485800914466381,
-0.009624737314879894,
-0.005057231057435274,
0.013671467080712318,
-0.06332869082689285,
0.03898351639509201,
-0.00996769592165947,
-0.013353821821510792,
0.020066365599632263,
-0.010774943046271801,
-0.020403768867254257,
-0.03126620128750801,
0.044983409345149994,
0.013448566198348999,
0.01984596997499466,
-0.02408427558839321,
-0.025867018848657608,
-0.008469223976135254,
0.07505485415458679,
0.047357767820358276,
-0.04167264327406883,
-0.04252554476261139,
0.06840052455663681,
-0.005523890722543001,
0.07725308835506439,
-0.037304800003767014,
-0.005567503627389669,
-0.036249175667762756,
-0.03998498618602753,
0.018566085025668144,
-0.021761951968073845,
0.010832875035703182,
-0.007784865330904722,
0.005956409499049187,
-0.04300667718052864,
0.03417634963989258,
0.00441874610260129,
-0.0064145782962441444,
0.053845640271902084,
-0.029579492285847664,
-0.0045134080573916435,
0.034517038613557816,
-0.025005832314491272,
0.06205759942531586,
0.02491164207458496,
-0.05029132217168808,
0.02223106473684311,
-0.03213992342352867,
0.07372983545064926,
-0.007013806141912937,
-0.006780900061130524,
-0.026569994166493416,
0.0010089986026287079,
-0.022481942549347878,
-0.0012799942633137107,
-0.051201146095991135,
0.02795596979558468,
-0.0037030940875411034,
-0.022321809083223343,
-0.0015735604101791978,
-0.017127206549048424,
0.008809112012386322,
-0.029076315462589264,
-0.031486254185438156,
-0.06064990907907486,
-0.08380397409200668,
0.02744624763727188,
0.05260760709643364,
-0.006146164145320654,
-0.030053554102778435,
-0.01561545766890049,
0.0017778817564249039,
-0.0928320661187172,
0.01737321726977825,
-0.014630088582634926,
0.0020902701653540134,
-0.02211429737508297,
0.006380989216268063,
0.06305833160877228,
-0.044566139578819275,
-0.027012888342142105,
0.023084986954927444,
0.038749247789382935,
0.036754634231328964,
-0.018071575090289116,
-0.0008592794765718281,
0.0217744130641222,
-0.05084662884473801,
-0.05769915133714676,
0.0664094090461731,
-0.04345703125,
0.003148005809634924,
0.03468283265829086,
0.0014243656769394875,
0.050871264189481735,
-0.007673787884414196,
0.017083918675780296,
0.05614104121923447,
0.05660976469516754,
0.04766521602869034,
-0.05563696101307869,
0.0031207704450935125,
-0.09212072938680649,
-0.002991465386003256,
0.024068797007203102,
-0.07787061482667923,
0.033291835337877274,
0.01417460385710001,
0.010358212515711784,
0.01777322217822075,
-0.010036934167146683,
0.045933354645967484,
-0.04345559701323509,
0.01885315775871277,
-0.021246913820505142,
-0.021833809092640877,
0.012305103242397308,
-0.016929829493165016,
0.013316974975168705,
-0.03982952609658241,
0.015932615846395493,
-0.06355114281177521,
-0.020388687029480934,
-0.05170300602912903,
-0.020230568945407867,
-0.029584206640720367,
0.0035598010290414095,
-0.031219646334648132,
0.0437440350651741,
0.023607295006513596,
-0.011469285003840923,
0.0185000728815794,
-0.03318066895008087,
0.035596027970314026,
0.03102448396384716,
-0.03782201558351517,
0.011043994687497616,
0.005308525171130896,
0.031596630811691284,
-0.0023523052223026752,
-0.010494307614862919,
-0.0033042277209460735,
0.02881186455488205,
0.020434880629181862,
-0.011841884814202785,
0.04050949215888977,
0.008484377525746822,
0.005527202971279621,
-0.004789163824170828,
0.03054381161928177,
0.005988181568682194,
-0.009434245526790619,
-0.03219873830676079,
-0.029222622513771057,
0.020953284576535225,
0.0525125153362751,
-0.003020483534783125,
-0.04641304910182953,
-0.05309746414422989,
-0.028113340958952904,
-0.012507121078670025,
-0.02242361009120941,
-0.061783567070961,
0.010326382704079151,
0.046090565621852875,
-0.014898655004799366,
0.03271695598959923,
0.028407197445631027,
0.0004562669200822711,
-0.04000452160835266,
0.0223592109978199,
-0.028248701244592667,
0.03795275092124939,
0.0041580600664019585,
0.000026130048354389146,
0.019838007166981697,
0.0021413506474345922,
-0.0012880126014351845,
0.016924668103456497,
-0.0012794561916962266,
0.0028216338250786066,
0.02707829512655735,
0.0175511222332716,
0.02735385112464428,
0.05348408222198486,
-0.013512719422578812,
-0.00007580155215691775,
-0.024566438049077988,
-0.05748838186264038,
-0.0471130833029747,
-0.01922757923603058,
-0.0092815225943923,
-0.009163392707705498,
-0.053431108593940735,
-0.08442617207765579,
-0.011821257881820202,
0.06415671855211258,
-0.04900534078478813,
-0.006280345376580954,
-0.03446080908179283,
0.010538719594478607,
-0.05020749568939209,
-0.002649216912686825,
0.07141413539648056,
-0.05349009484052658,
0.024604059755802155,
0.010277459397912025,
-0.030031299218535423,
0.007352093234658241,
-0.004245906136929989,
-0.05856092646718025,
-0.033032581210136414,
-0.065512515604496,
0.03531012311577797,
-0.006510391365736723,
-0.03886280953884125,
-0.0896623358130455,
0.021697431802749634,
-0.013960933312773705,
0.017778271809220314,
-0.027552593499422073,
0.007231451105326414,
-0.010081129148602486,
-0.019814077764749527,
-0.026051891967654228,
-0.007618124131113291,
-0.06787773966789246,
0.032326385378837585,
-0.02140107750892639,
0.014906526543200016,
-0.01815982162952423,
0.036013878881931305,
0.02671925351023674,
-0.007376011926680803,
-0.023579224944114685,
-0.05196936056017876,
-0.011335354298353195,
-0.006048981565982103,
0.03503451868891716,
-0.017672386020421982,
0.009174805134534836,
-0.04600288346409798,
-0.003160315565764904,
-0.029759356752038002,
-0.013893493451178074,
-0.0071481214836239815,
-0.019411049783229828,
0.031019601970911026,
0.06568102538585663,
-0.01181025616824627,
-0.014016994275152683,
0.008134888485074043,
0.017474329099059105,
0.06871434301137924,
-0.0063477871008217335,
-0.030449263751506805,
-0.015251302160322666,
-0.0329287089407444,
0.031315770000219345,
-0.0120221097022295,
-0.022605804726481438,
-0.0190057922154665,
0.02415740303695202,
0.00904867984354496,
0.00642931554466486,
0.010373266413807869,
0.0053518651984632015,
0.006197639275342226,
-0.03336005657911301,
0.019622579216957092,
-0.09267309308052063,
-0.01008178386837244,
0.00764379370957613,
0.008618990890681744,
0.003914253786206245,
-0.016740094870328903,
-0.04564569145441055,
0.03969675675034523,
-0.03580564633011818,
-0.02682550810277462,
0.03215682506561279,
0.03553222119808197,
0.027006788179278374,
0.019816309213638306,
-0.04177837073802948,
-0.018842028453946114,
0.020776765421032906,
-0.05312375724315643,
0.007931021973490715,
-0.017215246334671974,
0.045412514358758926,
-0.021924681961536407,
0.02082963101565838,
0.004812454804778099,
-0.03639737516641617,
0.024475060403347015,
0.028230855241417885,
-0.0018768657464534044,
0.06769540905952454,
-0.06296529620885849,
0.028442882001399994,
0.012628852389752865,
-0.013882322236895561,
0.0033254537265747786,
0.030404094606637955,
0.023544514551758766,
-0.0006978802266530693,
0.0013211361365392804,
0.004670729395002127,
0.0051140864379704,
-0.07745329290628433,
0.10330753773450851,
0.006210933905094862,
-0.07457693666219711,
-0.05256066471338272,
-0.0017624092288315296,
-0.03143163025379181,
0.009812000207602978,
0.016051117330789566,
-0.015624534338712692,
-0.02488306723535061,
0.04522047936916351,
-0.0011569468770176172,
0.011387143284082413,
0.0648689866065979,
0.004624767694622278,
0.012225496582686901,
0.026720240712165833,
0.06084287166595459,
0.11652664840221405,
0.06055528298020363,
-0.02031720243394375,
0.04464482516050339,
-0.013501466251909733,
-0.05307812988758087,
0.015614264644682407,
-0.055054716765880585,
-0.007526913192123175,
-0.026362864300608635,
0.0012414794182404876,
0.04667995497584343,
-0.023622844368219376,
0.05039438605308533,
0.0061509376391768456,
0.012160531245172024,
0.025246983394026756,
-0.009737377986311913,
0.05729708448052406,
0.06651792675256729,
-0.015260796062648296,
0.03948817402124405,
-0.017732897773385048,
0.01639546826481819,
0.00712955929338932,
0.010438034310936928,
-0.013193662278354168,
-0.013202301226556301,
-0.0220408346503973,
-0.019051870331168175,
0.00919165275990963,
0.0010927534895017743,
0.06803357601165771,
-0.015332186594605446,
-0.0397985503077507,
-0.006791167426854372,
0.04878958687186241,
-0.013742862269282341,
-0.005426861345767975,
0.02790035679936409,
-0.03477751091122627,
-0.021394353359937668,
-0.035031866282224655,
-0.028727944940328598,
-0.04422026872634888,
-0.01855204626917839,
0.01901104301214218,
-0.0429009385406971,
-0.000002736834176175762,
0.04398085176944733,
0.013237089850008488,
-0.021097740158438683,
-0.03432689979672432,
-0.0346621610224247,
-0.06664666533470154,
-0.06528213620185852,
0.02919473685324192,
0.02234356291592121,
-0.04585135728120804,
-0.022054124623537064,
-0.002060873433947563,
0.0008577057742513716,
-0.029510241001844406,
-0.01582673192024231,
-0.06928124278783798,
-0.057477183640003204,
0.026764320209622383,
0.027003485709428787,
0.03721541538834572,
0.013167324475944042,
0.028840433806180954,
-0.016047468408942223,
-0.016216348856687546,
0.003472120501101017,
0.00269999704323709,
0.02330871671438217,
0.044794466346502304,
0.00793188065290451,
-0.05408347398042679,
0.015115270391106606,
0.0025607396382838488,
-0.003134658792987466,
-0.06917187571525574,
0.04277195781469345,
0.00886799581348896,
0.0074154771864414215,
0.03601446747779846,
0.014233018271625042,
0.028059545904397964,
-0.04010898619890213,
-0.009088112972676754,
-0.00046363507863134146,
0.044923778623342514,
0.03164965286850929,
-0.04640325531363487,
0.0514647476375103,
-0.011705652810633183,
0.0004408559179864824,
-0.10304176807403564,
-0.025728093460202217,
-0.0037271741311997175,
-0.016687888652086258,
-0.05446373298764229,
-0.03859420120716095,
-0.05723531171679497,
-0.06530080735683441,
-0.011554394848644733,
0.018664229661226273,
-0.07124587148427963,
-0.0031165601685643196,
0.002376754069700837,
-0.01112061832100153,
-0.03890936076641083,
0.03044343739748001,
-0.05255771055817604,
0.03019074723124504,
-0.021249152719974518,
-0.0184913482517004,
-0.0032443723175674677,
0.03505377471446991,
-0.007528594229370356,
0.015774061903357506,
-0.0010285874595865607,
-0.026915168389678,
0.0225838553160429,
-0.021332861855626106,
0.018749700859189034,
0.03671865537762642,
0.0029099516104906797,
0.03505534306168556
] | [
-0.0677109807729721,
-0.02346799336373806,
-0.0597117654979229,
-0.01565144583582878,
0.0656527504324913,
-0.014170672744512558,
-0.021693285554647446,
0.021969961002469063,
0.03877048194408417,
0.009194238111376762,
0.04185083135962486,
-0.05745403468608856,
0.0280534066259861,
-0.0015368249733000994,
0.0043982393108308315,
-0.025273341685533524,
-0.031103787943720818,
-0.04324962943792343,
-0.05356922000646591,
-0.015301855280995369,
-0.0322532020509243,
-0.04835144057869911,
-0.047684431076049805,
-0.03833168372511864,
0.04691396281123161,
0.05675019323825836,
-0.009105955250561237,
-0.04612445458769798,
-0.018966980278491974,
-0.24245411157608032,
-0.007764632813632488,
0.02825356274843216,
0.08189736306667328,
-0.025763973593711853,
-0.01599041558802128,
0.031132377684116364,
-0.000491263868752867,
0.019853811711072922,
0.0140312435105443,
-0.000006999603101576213,
0.0004980087978765368,
0.0017258746083825827,
-0.021542511880397797,
-0.011916222050786018,
0.00343827111646533,
0.04303944110870361,
-0.06557609140872955,
-0.006396057549864054,
-0.017282182350754738,
0.011378194205462933,
-0.023188665509223938,
-0.009347973391413689,
-0.014789422042667866,
0.02786121517419815,
0.006487221457064152,
0.047688815742731094,
0.035986483097076416,
-0.009406708180904388,
-0.005337680224329233,
0.01914554089307785,
0.039195213466882706,
-0.022089095786213875,
-0.15923911333084106,
0.08096743375062943,
0.032894279807806015,
0.016614465042948723,
-0.03446530923247337,
-0.02494596131145954,
-0.013913438655436039,
0.07079916447401047,
0.007481573149561882,
0.0062709106132388115,
-0.048422813415527344,
0.06525330990552902,
0.019667701795697212,
-0.013960609212517738,
-0.03628458455204964,
-0.010318920016288757,
0.047956354916095734,
-0.021405065432190895,
-0.020392902195453644,
-0.007000120356678963,
0.0032445015385746956,
-0.01677072048187256,
-0.008895080536603928,
-0.008911065757274628,
-0.021902363747358322,
0.017627673223614693,
-0.004168344661593437,
0.0067735714837908745,
0.049445562064647675,
0.052762437611818314,
0.027022356167435646,
0.05022760108113289,
-0.08673399686813354,
-0.01108518149703741,
0.01259157620370388,
0.016297675669193268,
0.018011966720223427,
0.39110997319221497,
-0.032848455011844635,
-0.02339264750480652,
-0.005973162595182657,
0.059847451746463776,
-0.006002354901283979,
-0.024749092757701874,
-0.01083974726498127,
-0.04238734021782875,
-0.006665539927780628,
-0.007573295850306749,
0.01445082388818264,
-0.008142205886542797,
0.06030431389808655,
-0.07254309207201004,
0.03710880130529404,
-0.014617434702813625,
0.01817736029624939,
0.01950201392173767,
0.03675723820924759,
0.028450744226574898,
-0.0013792223762720823,
-0.015918264165520668,
0.030545484274625778,
0.01782572828233242,
0.039547547698020935,
-0.009471062570810318,
0.03422205522656441,
0.07801591604948044,
0.08930528163909912,
0.006054544355720282,
0.04882805421948433,
-0.003670295001938939,
-0.09552984684705734,
-0.0005486298468895257,
-0.042366959154605865,
0.008423947729170322,
0.046866364777088165,
-0.007379289250820875,
0.001088203745894134,
0.008999031968414783,
0.010859987698495388,
0.005990753881633282,
0.057255152612924576,
0.0033539568539708853,
-0.0091679273173213,
0.17002545297145844,
-0.03303289785981178,
-0.042276956140995026,
-0.04020331799983978,
-0.025093546137213707,
0.016673516482114792,
0.011740061454474926,
-0.021600307896733284,
-0.03550334274768829,
-0.010419711470603943,
0.002938712015748024,
0.06206734478473663,
-0.06111086159944534,
-0.06920367479324341,
-0.021209625527262688,
-0.02442132495343685,
-0.010389051400125027,
-0.04580473527312279,
0.03710899502038956,
0.04968099296092987,
-0.046061206609010696,
-0.04519724100828171,
0.025357278063893318,
0.005992477759718895,
-0.0778694748878479,
0.046574439853429794,
-0.004022418987005949,
-0.041167013347148895,
0.03141602873802185,
0.04753762483596802,
-0.0011388090206310153,
-0.017341462895274162,
-0.013209174387156963,
0.0584477037191391,
0.023878535255789757,
0.03528512269258499,
0.013902327977120876,
-0.0379643477499485,
0.01603243313729763,
-0.024591991677880287,
-0.04778534919023514,
-0.09307122230529785,
0.0042784493416547775,
-0.014112098142504692,
-0.01792178489267826,
-0.02071620337665081,
-0.03486198931932449,
-0.04460904002189636,
0.06776559352874756,
-0.0741390585899353,
-0.031125269830226898,
0.04634559154510498,
0.0010320398723706603,
-0.02786310762166977,
-0.025430379435420036,
0.004525633528828621,
0.014807246625423431,
0.042350683361291885,
0.041882358491420746,
-0.045199498534202576,
0.0408058688044548,
0.049113690853118896,
-0.03202390670776367,
0.05757688730955124,
-0.025673871859908104,
0.010358919389545918,
-0.012812281027436256,
-0.017014767974615097,
0.006894154939800501,
-0.014370014891028404,
0.0017153992084786296,
0.005766639020293951,
-0.026186203584074974,
0.010041903704404831,
0.026399943977594376,
0.03548981249332428,
-0.07171082496643066,
-0.010861664079129696,
-0.3638034164905548,
-0.06158136576414108,
0.03936063125729561,
-0.0031531781423836946,
0.015127835795283318,
-0.009945711120963097,
-0.0014590364880859852,
0.005709697492420673,
-0.011821442283689976,
0.09865465760231018,
0.04176582396030426,
0.025608371943235397,
-0.031787484884262085,
-0.08297410607337952,
0.003295677248388529,
0.059021640568971634,
-0.011095616035163403,
-0.03435031697154045,
-0.04646515101194382,
-0.022752337157726288,
-0.025850892066955566,
-0.019576361402869225,
-0.02610817365348339,
0.0004447928804438561,
0.05147949978709221,
-0.017825130373239517,
0.13371923565864563,
0.01603742688894272,
0.009363604709506035,
-0.0008086637826636434,
0.035067781805992126,
0.008064708672463894,
-0.011374673806130886,
0.008248279802501202,
0.055355045944452286,
-0.049527257680892944,
-0.04438135027885437,
0.009426715783774853,
-0.001937149791046977,
-0.014130324125289917,
-0.040220845490694046,
0.012781176716089249,
-0.037272896617650986,
-0.018638700246810913,
-0.03150201588869095,
0.011510931886732578,
-0.013228187337517738,
0.029527921229600906,
-0.026458395645022392,
0.03583954647183418,
0.025233177468180656,
-0.01566310226917267,
0.06957148760557175,
0.05600188300013542,
0.014296349138021469,
0.00041833030991256237,
-0.07224004715681076,
-0.004667803645133972,
-0.02021864429116249,
-0.06406590342521667,
0.040611423552036285,
0.011425246484577656,
0.07007438689470291,
-0.05860772728919983,
-0.03157152235507965,
0.020587602630257607,
-0.010732871480286121,
-0.028007471933960915,
0.014028948731720448,
0.046679817140102386,
-0.0224122554063797,
0.09288734942674637,
-0.012096582911908627,
0.03838919475674629,
0.035775452852249146,
0.033637791872024536,
-0.052048809826374054,
-0.02603156864643097,
-0.011931425891816616,
-0.025366809219121933,
0.08327942341566086,
-0.07181046158075333,
-0.0034110357519239187,
-0.0291401706635952,
0.04260842502117157,
0.008426163345575333,
0.019862540066242218,
0.006684926804155111,
0.029442941769957542,
0.045781418681144714,
-0.00030564828193746507,
-0.020983681082725525,
-0.0063142115250229836,
-0.04260086268186569,
0.049101825803518295,
0.004625303670763969,
-0.28560468554496765,
0.03544706851243973,
0.001302081160247326,
0.018747752532362938,
-0.015097901225090027,
0.014738047495484352,
0.017404165118932724,
-0.03638438135385513,
0.023436691612005234,
-0.0047342185862362385,
0.0028988956473767757,
0.08568125218153,
0.0472678579390049,
-0.030756251886487007,
-0.022436605766415596,
0.0011504747672006488,
0.0012611431302502751,
-0.03766713663935661,
0.013163446448743343,
0.003565700026229024,
0.018804294988512993,
-0.07171902805566788,
0.13863658905029297,
0.01190232578665018,
-0.024390986189246178,
-0.04068492352962494,
-0.0176651980727911,
-0.004250125959515572,
0.059015821665525436,
0.013781546615064144,
-0.0007422037306241691,
-0.0010708505287766457,
0.08088570088148117,
-0.0232094619423151,
0.016571827232837677,
0.019097615033388138,
-0.0099130654707551,
0.06739062815904617,
0.04329166188836098,
-0.009340861812233925,
-0.011454648338258266,
0.014442888088524342,
-0.043565209954977036,
0.019098402932286263,
0.08986257761716843,
-0.02399238757789135,
-0.02245681919157505,
-0.03943966329097748,
-0.02553541027009487,
0.014281346462666988,
0.000503009941894561,
0.011101176962256432,
-0.010660101659595966,
0.002109496621415019,
0.017591383308172226,
0.020723871886730194,
0.025996487587690353,
0.006369998678565025,
0.022737914696335793,
0.009285049512982368,
-0.014541841112077236,
-0.06690734624862671,
0.09163200110197067,
0.014466889202594757,
0.036749716848134995
] | [
-0.009542912244796753,
-0.012018414214253426,
-0.017145371064543724,
0.03695650398731232,
-0.017929375171661377,
0.0058731078170239925,
-0.016557684168219566,
-0.021928830072283745,
-0.021622711792588234,
-0.011235457845032215,
0.002251547761261463,
0.031981904059648514,
0.004365632310509682,
-0.008072126656770706,
-0.027865691110491753,
0.022827785462141037,
0.016099419444799423,
0.003351618768647313,
0.023908304050564766,
-0.041548289358615875,
-0.07449238747358322,
0.02810417115688324,
0.031947944313287735,
-0.021062981337308884,
-0.01262588519603014,
0.06301732361316681,
-0.05099160596728325,
-0.0014904794516041875,
0.014592290855944157,
-0.142943874001503,
-0.010000515729188919,
0.014692353084683418,
0.02775811403989792,
0.03977200761437416,
-0.03956363722681999,
0.002609978662803769,
-0.04157518595457077,
0.028150448575615883,
0.03386841341853142,
0.01647009514272213,
-0.021725408732891083,
0.026389742270112038,
0.034001510590314865,
0.03665021061897278,
-0.00586494617164135,
0.012985835783183575,
-0.013851191848516464,
0.010374168865382671,
-0.014445430599153042,
0.003401946509256959,
-0.032739728689193726,
0.059586524963378906,
-0.0024617668241262436,
-0.001153883640654385,
-0.010845500975847244,
-0.06292349100112915,
-0.004915156401693821,
-0.04232274740934372,
-0.015369988046586514,
-0.03399265184998512,
0.005056316498667002,
-0.0225664135068655,
-0.02553047612309456,
-0.023989621549844742,
-0.01253671757876873,
-0.008150220848619938,
-0.033192701637744904,
0.014994939789175987,
0.013839412480592728,
-0.024443645030260086,
-0.02846064232289791,
0.024745896458625793,
-0.026785191148519516,
-0.015004352666437626,
-0.05236735939979553,
0.030865564942359924,
0.008275139145553112,
-0.07740716636180878,
0.041525598615407944,
-0.014281916432082653,
-0.02747895009815693,
-0.007196346763521433,
0.028031999245285988,
0.021774306893348694,
0.028701961040496826,
-0.03213977441191673,
0.007412453647702932,
-0.0037533831782639027,
-0.021654706448316574,
-0.009148585610091686,
-0.021085305139422417,
0.04119543358683586,
0.01889145001769066,
0.02380726858973503,
-0.09094882756471634,
-0.011361452750861645,
-0.028008174151182175,
0.012401396408677101,
0.0026456876657903194,
0.8259429335594177,
0.008946442976593971,
0.01719537191092968,
-0.012023290619254112,
0.027958886697888374,
-0.009863346815109253,
-0.019300563260912895,
0.005562725476920605,
-0.03415617719292641,
-0.0010962876258417964,
-0.024716787040233612,
0.03539133444428444,
0.015067986212670803,
0.037473998963832855,
0.03995738923549652,
-0.007733976002782583,
0.0002489128091838211,
0.02173527330160141,
0.03739333525300026,
0.03857070952653885,
-0.040989167988300323,
-0.0021786389406770468,
-0.008734035305678844,
0.00942064356058836,
-0.012494035065174103,
-0.00049896928248927,
-0.14338257908821106,
-0.0039027994498610497,
-7.006599464949509e-33,
0.007497033569961786,
0.000005477686499943957,
0.007208883762359619,
-0.008565124124288559,
0.029831083491444588,
-0.021399667486548424,
-0.0048124901950359344,
0.010613787919282913,
0.0040795886889100075,
-0.029772095382213593,
-0.003623440396040678,
0.0297910925000906,
0.049551334232091904,
-0.007921811193227768,
0.01240275613963604,
-0.0358266681432724,
0.024316519498825073,
0.02377885766327381,
-0.019703418016433716,
-0.006511948071420193,
0.031443797051906586,
0.024831607937812805,
0.00019646623695734888,
0.026198025792837143,
-0.02910478226840496,
0.0015910385409370065,
0.014833526685833931,
-0.01113434974104166,
0.013921523466706276,
-0.06075214222073555,
-0.051357440650463104,
0.025263648480176926,
0.004163484554737806,
0.03679884225130081,
0.02316221594810486,
-0.06474294513463974,
0.0050989119336009026,
0.023962445557117462,
0.04160267859697342,
0.013160514645278454,
-0.020414862781763077,
-0.0018935364205390215,
-0.03586909547448158,
-0.032375726848840714,
-0.003914531785994768,
0.0028286660090088844,
0.04366324469447136,
0.08575516194105148,
-0.02162213996052742,
-0.007140278350561857,
0.007445316296070814,
-0.020827490836381912,
0.02871776930987835,
0.05128428712487221,
0.02757701650261879,
0.01475201454013586,
0.0194772407412529,
0.0018483764724805951,
0.04264957085251808,
0.056876711547374725,
-0.04102615639567375,
0.004750820808112621,
0.007241785991936922,
0.012627613730728626,
0.013282766565680504,
-0.03046085499227047,
0.035790205001831055,
-0.02649678848683834,
0.024196645244956017,
0.02497418411076069,
0.0038519215304404497,
0.01414946373552084,
-0.002241245238110423,
0.026171647012233734,
0.021708980202674866,
0.019156740978360176,
-0.018838316202163696,
0.004131886642426252,
0.002156138652935624,
0.009217407554388046,
0.000774968124460429,
-0.0031180144287645817,
-0.008114120922982693,
-0.024611501023173332,
-0.026913650333881378,
0.005964006297290325,
0.0037530905101448298,
-0.01633196696639061,
-0.03386068344116211,
-0.023877767845988274,
-0.002465734025463462,
-0.002813121769577265,
0.0179463978856802,
-0.015729675069451332,
0.03884291276335716,
7.41044642664626e-33,
0.01835589110851288,
0.0326714888215065,
-0.014713959768414497,
0.014992920681834221,
0.046012360602617264,
-0.0411062017083168,
0.03127710148692131,
-0.005852872040122747,
0.004830863792449236,
0.03980085626244545,
-0.025603121146559715,
-0.01653210259974003,
0.04192410036921501,
0.019837135449051857,
0.04601893201470375,
-0.009402323514223099,
0.020908333361148834,
0.05506541207432747,
-0.03819407522678375,
-0.002491292078047991,
-0.01984601840376854,
0.017631838098168373,
0.024408334866166115,
0.018554847687482834,
0.007000440265983343,
0.04440224915742874,
0.01142896618694067,
-0.026692412793636322,
-0.00615385826677084,
-0.005067793652415276,
0.018507925793528557,
-0.005711446516215801,
0.0017381255747750401,
-0.04149520397186279,
-0.01931699365377426,
0.03955589234828949,
0.020127631723880768,
-0.01758262701332569,
-0.015887726098299026,
-0.01732718199491501,
0.009233523160219193,
0.037267010658979416,
-0.03584328293800354,
0.027140451595187187,
0.02258392982184887,
0.01522994413971901,
0.027963055297732353,
-0.037518460303545,
-0.027829427272081375,
0.016447674483060837,
0.00419582286849618,
0.039075713604688644,
0.02082701586186886,
0.0012842952273786068,
0.00008511031046509743,
-0.01037940289825201,
-0.012723663821816444,
0.0185363981872797,
-0.05048442259430885,
0.01066309679299593,
-0.008905870839953423,
-0.02001337707042694,
-0.010744357481598854,
-0.0019582712557166815,
-0.06547370553016663,
0.01771879941225052,
-0.03187141939997673,
-0.023526949808001518,
0.011337180621922016,
0.02241029031574726,
-0.036694057285785675,
-0.029900453984737396,
0.008678868412971497,
0.015804313123226166,
-0.007623744197189808,
0.022807734087109566,
-0.041885875165462494,
-0.018574178218841553,
0.014022399671375751,
0.01906607486307621,
0.010532433167099953,
-0.033831190317869186,
0.0236183013767004,
0.02328391931951046,
-0.00011225389607716352,
0.011834084056317806,
-0.025605523958802223,
-0.007065862417221069,
0.022627150639891624,
-0.02692960388958454,
-0.003472061362117529,
-0.06744340062141418,
0.0021069676149636507,
0.02571805939078331,
0.00573911564424634,
-1.269565164108144e-8,
-0.020537910982966423,
0.01685633696615696,
-0.023621123284101486,
0.004914502147585154,
0.03075396828353405,
-0.00292646000161767,
-0.014870580285787582,
-0.007627580780535936,
0.006477917544543743,
0.005777382291853428,
0.03421835973858833,
-0.023518141359090805,
-0.0037180788349360228,
0.004243259318172932,
0.011593335308134556,
-0.02337532490491867,
0.04953714832663536,
-0.038057077676057816,
0.03031376749277115,
-0.007270344533026218,
0.03192580118775368,
0.03461555391550064,
-0.023749958723783493,
-0.0008762495126575232,
-0.004918006714433432,
0.011285990476608276,
0.01350360456854105,
-0.10961180925369263,
0.019405651837587357,
-0.004862213507294655,
0.038496699184179306,
-0.035516541451215744,
-0.008755435235798359,
-0.02418811246752739,
0.008840116672217846,
-0.057772181928157806,
0.016441885381937027,
0.027016546577215195,
0.03273017331957817,
-0.012478012591600418,
-0.0282688420265913,
-0.0029655080288648605,
-0.03562426194548607,
-0.002394778886809945,
-0.02368258684873581,
0.0031023812480270863,
-0.03565836697816849,
-0.013341069221496582,
-0.009699910879135132,
-0.04092898964881897,
0.033472102135419846,
-0.005809876136481762,
-0.004934919066727161,
0.04387219622731209,
0.028954241424798965,
0.01975875161588192,
-0.03258085623383522,
0.013571793213486671,
-0.0015087194042280316,
-0.022234037518501282,
-0.017106924206018448,
0.010409955866634846,
-0.03155655786395073,
-0.05874037370085716
] | r-dplyr-ordering-by-count-after-multiple-column-group_by | https://markhneedham.com/blog/2014/11/09/r-dplyr-ordering-by-count-after-multiple-column-group_by |
false | 2014-11-30 07:40:00 | Spark: Write to CSV file | [
"spark-2"
] | [
"Spark"
] | A couple of weeks ago I wrote how I'd been http://www.markhneedham.com/blog/2014/11/16/spark-parse-csv-file-and-group-by-column-value/[using Spark to explore a City of Chicago Crime data set] and having worked out how many of each crime had been committed I wanted to write that to a CSV file.
Spark provides a +++<cite>+++saveAsTextFile+++</cite>+++ function which allows us to save RDD's so I refactored my code into the following format to allow me to use that:
[source,scala]
----
import au.com.bytecode.opencsv.CSVParser
import org.apache.spark.rdd.RDD
import org.apache.spark.SparkContext._
def dropHeader(data: RDD[String]): RDD[String] = {
data.mapPartitionsWithIndex((idx, lines) => {
if (idx == 0) {
lines.drop(1)
}
lines
})
}
// https://data.cityofchicago.org/Public-Safety/Crimes-2001-to-present/ijzp-q8t2
val crimeFile = "/Users/markneedham/Downloads/Crimes_-_2001_to_present.csv"
val crimeData = sc.textFile(crimeFile).cache()
val withoutHeader: RDD[String] = dropHeader(crimeData)
val file = "/tmp/primaryTypes.csv"
FileUtil.fullyDelete(new File(file))
val partitions: RDD[(String, Int)] = withoutHeader.mapPartitions(lines => {
val parser = new CSVParser(',')
lines.map(line => {
val columns = parser.parseLine(line)
(columns(5), 1)
})
})
val counts = partitions.
reduceByKey {case (x,y) => x + y}.
sortBy {case (key, value) => -value}.
map { case (key, value) => Array(key, value).mkString(",") }
counts.saveAsTextFile(file)
----
If we run that code from the Spark shell we end up with a folder called +++<cite>+++/tmp/primaryTypes.csv+++</cite>+++ containing multiple part files:
[source,bash]
----
$ ls -lah /tmp/primaryTypes.csv/
total 496
drwxr-xr-x 66 markneedham wheel 2.2K 30 Nov 07:17 .
drwxrwxrwt 80 root wheel 2.7K 30 Nov 07:16 ..
-rw-r--r-- 1 markneedham wheel 8B 30 Nov 07:16 ._SUCCESS.crc
-rw-r--r-- 1 markneedham wheel 12B 30 Nov 07:16 .part-00000.crc
-rw-r--r-- 1 markneedham wheel 12B 30 Nov 07:16 .part-00001.crc
-rw-r--r-- 1 markneedham wheel 12B 30 Nov 07:16 .part-00002.crc
-rw-r--r-- 1 markneedham wheel 12B 30 Nov 07:16 .part-00003.crc
...
-rwxrwxrwx 1 markneedham wheel 0B 30 Nov 07:16 _SUCCESS
-rwxrwxrwx 1 markneedham wheel 28B 30 Nov 07:16 part-00000
-rwxrwxrwx 1 markneedham wheel 17B 30 Nov 07:16 part-00001
-rwxrwxrwx 1 markneedham wheel 23B 30 Nov 07:16 part-00002
-rwxrwxrwx 1 markneedham wheel 16B 30 Nov 07:16 part-00003
...
----
If we look at some of those part files we can see that it's written the crime types and counts as expected:
[source,bash]
----
$ cat /tmp/primaryTypes.csv/part-00000
THEFT,859197
BATTERY,757530
$ cat /tmp/primaryTypes.csv/part-00003
BURGLARY,257310
----
This is fine if we're going to http://stackoverflow.com/questions/23527941/how-to-write-to-csv-in-spark[pass those CSV files into another Hadoop based job] but I actually want a single CSV file so it's not quite what I want.
One way to achieve this is to force everything to be calculated on one partition which will mean we only get one part file generated:
[source,scala]
----
val counts = partitions.repartition(1).
reduceByKey {case (x,y) => x + y}.
sortBy {case (key, value) => -value}.
map { case (key, value) => Array(key, value).mkString(",") }
counts.saveAsTextFile(file)
----
part-00000 now looks like this:
[source,bash]
----
$ cat !$
cat /tmp/primaryTypes.csv/part-00000
THEFT,859197
BATTERY,757530
NARCOTICS,489528
CRIMINAL DAMAGE,488209
BURGLARY,257310
OTHER OFFENSE,253964
ASSAULT,247386
MOTOR VEHICLE THEFT,197404
ROBBERY,157706
DECEPTIVE PRACTICE,137538
CRIMINAL TRESPASS,124974
PROSTITUTION,47245
WEAPONS VIOLATION,40361
PUBLIC PEACE VIOLATION,31585
OFFENSE INVOLVING CHILDREN,26524
CRIM SEXUAL ASSAULT,14788
SEX OFFENSE,14283
GAMBLING,10632
LIQUOR LAW VIOLATION,8847
ARSON,6443
INTERFERE WITH PUBLIC OFFICER,5178
HOMICIDE,4846
KIDNAPPING,3585
INTERFERENCE WITH PUBLIC OFFICER,3147
INTIMIDATION,2471
STALKING,1985
OFFENSES INVOLVING CHILDREN,355
OBSCENITY,219
PUBLIC INDECENCY,86
OTHER NARCOTIC VIOLATION,80
NON-CRIMINAL,12
RITUALISM,12
OTHER OFFENSE ,6
NON - CRIMINAL,2
NON-CRIMINAL (SUBJECT SPECIFIED),2
----
This works but it's quite a bit slower than when we were doing the aggregation across partitions so it's not ideal.
Instead, what we can do is make use of one of http://mail-archives.apache.org/mod_mbox/spark-user/201310.mbox/%[email protected]%3E[Hadoop's merge functions] which squashes part files together into a single file.
First we import Hadoop into our SBT file:
[source,text]
----
libraryDependencies += "org.apache.hadoop" % "hadoop-hdfs" % "2.5.2"
----
Now let's bring our merge function into the Spark shell:
[source,scala]
----
import org.apache.hadoop.conf.Configuration
import org.apache.hadoop.fs._
def merge(srcPath: String, dstPath: String): Unit = {
val hadoopConfig = new Configuration()
val hdfs = FileSystem.get(hadoopConfig)
FileUtil.copyMerge(hdfs, new Path(srcPath), hdfs, new Path(dstPath), false, hadoopConfig, null)
}
----
And now let's make use of it:
[source,scala]
----
val file = "/tmp/primaryTypes.csv"
FileUtil.fullyDelete(new File(file))
val destinationFile= "/tmp/singlePrimaryTypes.csv"
FileUtil.fullyDelete(new File(destinationFile))
val counts = partitions.
reduceByKey {case (x,y) => x + y}.
sortBy {case (key, value) => -value}.
map { case (key, value) => Array(key, value).mkString(",") }
counts.saveAsTextFile(file)
merge(file, destinationFile)
----
And now we've got the best of both worlds:
[source,bash]
----
$ cat /tmp/singlePrimaryTypes.csv
THEFT,859197
BATTERY,757530
NARCOTICS,489528
CRIMINAL DAMAGE,488209
BURGLARY,257310
OTHER OFFENSE,253964
ASSAULT,247386
MOTOR VEHICLE THEFT,197404
ROBBERY,157706
DECEPTIVE PRACTICE,137538
CRIMINAL TRESPASS,124974
PROSTITUTION,47245
WEAPONS VIOLATION,40361
PUBLIC PEACE VIOLATION,31585
OFFENSE INVOLVING CHILDREN,26524
CRIM SEXUAL ASSAULT,14788
SEX OFFENSE,14283
GAMBLING,10632
LIQUOR LAW VIOLATION,8847
ARSON,6443
INTERFERE WITH PUBLIC OFFICER,5178
HOMICIDE,4846
KIDNAPPING,3585
INTERFERENCE WITH PUBLIC OFFICER,3147
INTIMIDATION,2471
STALKING,1985
OFFENSES INVOLVING CHILDREN,355
OBSCENITY,219
PUBLIC INDECENCY,86
OTHER NARCOTIC VIOLATION,80
RITUALISM,12
NON-CRIMINAL,12
OTHER OFFENSE ,6
NON - CRIMINAL,2
NON-CRIMINAL (SUBJECT SPECIFIED),2
----
The full code is available as a https://gist.github.com/mneedham/2fa4752749c8aba7f6b3[gist] if you want to play around with it. | null | null | [
0.0015937061980366707,
-0.04304704815149307,
-0.030453886836767197,
0.04849442467093468,
0.08037753403186798,
-0.013120082207024097,
0.004835458938032389,
0.023110322654247284,
0.030625777319073677,
-0.023200787603855133,
-0.0015982649056240916,
-0.019224895164370537,
-0.07452381402254105,
0.017660871148109436,
-0.01930246315896511,
0.0631338357925415,
0.05105505883693695,
-0.01894303783774376,
0.028437301516532898,
-0.006638244725763798,
0.04394516721367836,
0.0636158213019371,
-0.008310752920806408,
0.054778456687927246,
0.025111321359872818,
-0.012220093049108982,
0.008117390796542168,
0.001975125167518854,
-0.049205925315618515,
-0.001590848551131785,
0.020928505808115005,
0.024969974532723427,
0.012220887467265129,
0.010531974956393242,
-0.003714572871103883,
-0.004350893199443817,
-0.035115256905555725,
0.006527083460241556,
-0.009447641670703888,
0.015511211939156055,
-0.04222632944583893,
0.03289227932691574,
-0.025755949318408966,
0.005006516817957163,
-0.02300386130809784,
0.0024342997930943966,
-0.013059633783996105,
0.011979980394244194,
0.0006881394074298441,
-0.03142427280545235,
-0.026592642068862915,
0.006339327432215214,
-0.005130756180733442,
0.005131351295858622,
0.0029345820657908916,
0.05569245666265488,
-0.011168476194143295,
-0.0856032595038414,
0.057931166142225266,
-0.013620215468108654,
0.002096781274303794,
-0.03270866721868515,
-0.019310088828206062,
0.022806795313954353,
0.00653334753587842,
-0.05328826606273651,
-0.013932110741734505,
0.0824471265077591,
-0.031931016594171524,
-0.04087603837251663,
-0.0001874656736617908,
0.02441956102848053,
-0.01657813787460327,
-0.023506443947553635,
-0.018066231161355972,
-0.049789462238550186,
0.026902031153440475,
0.05353815481066704,
-0.0285183098167181,
0.04736146330833435,
-0.010502210818231106,
-0.017520606517791748,
-0.002535988111048937,
0.025311097502708435,
0.014583464711904526,
-0.0384962372481823,
-0.0579887330532074,
-0.022847650572657585,
-0.05348169431090355,
0.05573722720146179,
-0.0040382384322583675,
-0.022059451788663864,
-0.0008845436968840659,
0.031121965497732162,
-0.006491624750196934,
0.024870529770851135,
0.00555191095918417,
0.014997479505836964,
-0.011050374247133732,
-0.01780230551958084,
-0.042856235057115555,
-0.024703258648514748,
0.01726742647588253,
0.016163626685738564,
-0.059876564890146255,
-0.02147677354514599,
-0.009296989999711514,
-0.010867087170481682,
0.02493719570338726,
0.018471602350473404,
0.00961372721940279,
-0.024447981268167496,
-0.04212162643671036,
-0.00044839541078545153,
-0.0770745575428009,
0.054298944771289825,
0.0522940419614315,
-0.009295173920691013,
-0.0032278134021908045,
0.019195593893527985,
0.034461405128240585,
0.02041381597518921,
0.029218897223472595,
0.08119326829910278,
0.0030186043586581945,
0.023090263828635216,
0.024431170895695686,
0.0511275939643383,
0.025264922529459,
-0.07520604133605957,
-0.02527531422674656,
0.04674820974469185,
-0.008974548429250717,
-0.012658302672207355,
0.00011196588457096368,
-0.026391277089715004,
-0.0220793467015028,
0.003064660122618079,
0.03851638361811638,
0.015220212750136852,
0.022955965250730515,
-0.02259882353246212,
0.014278885908424854,
-0.003139482345432043,
0.015513664111495018,
0.016374507918953896,
-0.027507076039910316,
0.003460600273683667,
-0.01084953173995018,
0.03703053295612335,
0.01558370515704155,
0.02908933162689209,
0.0671418309211731,
-0.035365644842386246,
0.005149106960743666,
0.088334821164608,
0.031249087303876877,
0.03253248706459999,
-0.00852940697222948,
0.01889164000749588,
0.06896987557411194,
0.04333764314651489,
0.03047611005604267,
-0.003527255728840828,
-0.015328912064433098,
-0.03133777156472206,
-0.004257418680936098,
0.0025690514594316483,
-0.01833210326731205,
-0.010660639964044094,
-0.03582159802317619,
-0.018486447632312775,
0.05241824686527252,
-0.03604800999164581,
0.011014838702976704,
0.021818669512867928,
0.07516761124134064,
0.05687446892261505,
0.04866878315806389,
-0.033384695649147034,
-0.08377504348754883,
0.02682698518037796,
-0.016065390780568123,
0.035273827612400055,
0.02411738596856594,
0.010941299609839916,
0.04827410355210304,
0.05557285621762276,
0.010610444471240044,
0.03009701706469059,
-0.055922262370586395,
-0.07329341769218445,
-0.004872987046837807,
-0.021072089672088623,
0.06425681710243225,
-0.05206604674458504,
0.02675602026283741,
0.046094633638858795,
0.0034646382555365562,
0.045382317155599594,
-0.03333594277501106,
-0.0018907332560047507,
0.02910790778696537,
-0.05771220102906227,
-0.01724778115749359,
0.04162893071770668,
0.03514104336500168,
-0.014847815968096256,
-0.04797816276550293,
0.0144476518034935,
-0.03971918672323227,
0.013117516413331032,
0.04939176142215729,
-0.036852069199085236,
0.051891934126615524,
0.04939797893166542,
0.03760942444205284,
0.01437891460955143,
0.07118535786867142,
-0.044648271054029465,
0.05555785447359085,
-0.014109068550169468,
-0.04727668687701225,
0.012706778943538666,
-0.016393598169088364,
0.12409991025924683,
0.03834465518593788,
-0.024953732267022133,
-0.058344222605228424,
0.00968456082046032,
0.0008375066099688411,
-0.04148521646857262,
0.005422097630798817,
0.0018474169773980975,
-0.012397910468280315,
0.030754098668694496,
-0.0292756799608469,
-0.01950226165354252,
0.016281142830848694,
-0.014613999985158443,
0.009910176508128643,
0.04503103345632553,
0.0006073948461562395,
0.048972997814416885,
-0.009542957879602909,
-0.020193953067064285,
0.00455536087974906,
-0.03003741428256035,
-0.03513059392571449,
-0.02264256589114666,
0.010346109978854656,
-0.008980521000921726,
0.04598329961299896,
-0.04436270147562027,
-0.008416058495640755,
-0.024831313639879227,
-0.042366378009319305,
0.014059390872716904,
0.06047452241182327,
0.042137909680604935,
-0.01646973006427288,
0.038184624165296555,
-0.050444893538951874,
-0.011107275262475014,
-0.034419890493154526,
-0.015810836106538773,
-0.027890101075172424,
-0.012273303233087063,
0.004643160849809647,
0.02078232541680336,
0.0015883534215390682,
0.026863297447562218,
0.0505213625729084,
0.0443115308880806,
0.011837259866297245,
0.018953336402773857,
0.02455175668001175,
-0.02292940579354763,
0.004357375204563141,
-0.036713894456624985,
-0.015261494554579258,
0.018256401643157005,
-0.017595984041690826,
-0.01656072959303856,
0.013272286392748356,
-0.05904259905219078,
0.04944172501564026,
-0.04684915766119957,
-0.05574294179677963,
-0.003374071791768074,
0.018866924569010735,
0.014631068333983421,
0.04504651948809624,
-0.020613377913832664,
0.060131363570690155,
0.03216484561562538,
-0.01806374080479145,
0.014305620454251766,
0.020443977788090706,
0.011216859333217144,
-0.002952735871076584,
0.04765024036169052,
0.056453946977853775,
0.0032545446883887053,
-0.018326984718441963,
-0.03917836770415306,
-0.033923547714948654,
-0.014522683806717396,
-0.2752062678337097,
0.061443720012903214,
-0.052584268152713776,
-0.03095024637877941,
0.02791357971727848,
-0.020690687000751495,
-0.006537469103932381,
-0.047716736793518066,
-0.0005535015952773392,
0.018869103863835335,
-0.023790737614035606,
-0.022480381652712822,
-0.03795072063803673,
0.05037548020482063,
0.010699357837438583,
0.015462800860404968,
-0.014342871494591236,
-0.039406582713127136,
-0.010070552118122578,
0.04248342663049698,
0.036153580993413925,
-0.05262233689427376,
-0.037000562995672226,
0.04843444377183914,
0.029464971274137497,
0.05177746340632439,
-0.06426579505205154,
0.060912005603313446,
-0.05639893561601639,
-0.024543801322579384,
0.014547537080943584,
-0.06426064670085907,
0.0011750285048037767,
-0.03916335478425026,
-0.024049391970038414,
-0.027386151254177094,
0.03377411514520645,
0.03980127349495888,
-0.016298668459057808,
0.019319472834467888,
-0.02062409743666649,
-0.04707666486501694,
-0.008878818713128567,
-0.002645783592015505,
0.07907865941524506,
-0.016676373779773712,
-0.08093148469924927,
-0.005003881175071001,
-0.025699958205223083,
0.06783300638198853,
-0.021546192467212677,
-0.049249839037656784,
-0.041642334312200546,
0.03155924379825592,
-0.007924978621304035,
-0.02719687484204769,
0.0015339360106736422,
-0.000763842137530446,
-0.003157744649797678,
-0.011791275814175606,
0.0018562946934252977,
-0.05692572891712189,
0.01417025551199913,
-0.03755856305360794,
-0.012721785344183445,
-0.052180469036102295,
-0.0639479011297226,
-0.0028254364151507616,
0.05751794949173927,
0.0676293671131134,
-0.026518575847148895,
0.028896087780594826,
0.010473314672708511,
-0.10245457291603088,
-0.02839282713830471,
-0.036053095012903214,
0.005708908196538687,
-0.021707601845264435,
-0.02267639897763729,
0.057845693081617355,
-0.049161117523908615,
-0.04715506732463837,
0.03716042637825012,
-0.03136158734560013,
0.01617044396698475,
-0.00520574813708663,
0.026652054861187935,
-0.011944401077926159,
-0.024507440626621246,
-0.04484645277261734,
0.06299559026956558,
-0.05295344814658165,
0.0037231380119919777,
0.0031285500153899193,
-0.032912008464336395,
0.04736548662185669,
0.005869084037840366,
0.0019570584408938885,
-0.01853378489613533,
0.022621436044573784,
0.03155617415904999,
-0.04829391837120056,
-0.014786677435040474,
-0.06833552569150925,
-0.011568684130907059,
-0.005580575671046972,
-0.05127881094813347,
0.025520220398902893,
0.018620848655700684,
0.0034057949669659138,
0.009418568573892117,
-0.02984580770134926,
0.022172903642058372,
-0.0538022443652153,
-0.007239491678774357,
-0.02533663809299469,
0.013415568508207798,
0.0035237136762589216,
0.04512566700577736,
-0.021455708891153336,
-0.052144989371299744,
-0.005997997708618641,
0.010271897539496422,
-0.02388595975935459,
-0.06919620931148529,
-0.040621038526296616,
0.015904216095805168,
-0.026502525433897972,
0.001215907046571374,
0.004649676848202944,
-0.04432601481676102,
-0.0008953221258707345,
0.014555336907505989,
-0.014318175613880157,
0.00894192699342966,
-0.039432235062122345,
-0.0674520954489708,
-0.04772245138883591,
-0.004686290398240089,
0.039175935089588165,
0.028099358081817627,
-0.013155924156308174,
0.00579501548781991,
0.03199801221489906,
0.05294753238558769,
-0.003019651398062706,
-0.012049970217049122,
-0.0018724274123087525,
-0.00041762919863685966,
-0.0037366487085819244,
0.02870546281337738,
-0.024155188351869583,
-0.006867888383567333,
-0.0303743127733469,
-0.06575710326433182,
-0.026509147137403488,
0.039646685123443604,
-0.004174760077148676,
-0.02276765927672386,
-0.02466079220175743,
0.042905498296022415,
-0.032139021903276443,
-0.02652430161833763,
-0.011440853588283062,
0.027861973270773888,
0.058103978633880615,
-0.023368384689092636,
0.02226855419576168,
0.02251385897397995,
0.011634116061031818,
-0.03242284804582596,
-0.01956159621477127,
0.006789939012378454,
0.002970345551148057,
-0.010084283538162708,
-0.010340645909309387,
0.018881330266594887,
0.018004467710852623,
0.010095070116221905,
0.03130654618144035,
-0.010226340033113956,
-0.026312217116355896,
-0.0064584542997181416,
-0.0009632203727960587,
0.048602133989334106,
0.049709539860486984,
0.007314464543014765,
-0.0030470313504338264,
-0.010382612235844135,
-0.02024502493441105,
-0.033758316189050674,
-0.015046433545649052,
-0.03436659649014473,
0.028535842895507812,
-0.011764677241444588,
-0.09296281635761261,
0.04324860870838165,
-0.006764938123524189,
-0.011250958777964115,
0.027241354808211327,
-0.0005070653860457242,
-0.027635619044303894,
0.0074170553125441074,
0.009707793593406677,
0.053414277732372284,
-0.040396858006715775,
0.009992117062211037,
-0.01598517596721649,
0.009862101636826992,
0.014457243494689465,
0.006033777259290218,
-0.055125631392002106,
-0.02843424119055271,
-0.025289107114076614,
0.04457961022853851,
-0.028557859361171722,
0.00025498526520095766,
-0.060214512050151825,
-0.00080001080641523,
-0.00453973188996315,
0.007464439142495394,
-0.010672914795577526,
0.012564552016556263,
-0.005001929588615894,
0.0059838006272912025,
0.03378558158874512,
-0.02324545383453369,
-0.019645648077130318,
0.024620922282338142,
-0.015530840493738651,
0.0072527313604950905,
-0.006287993863224983,
0.02684163488447666,
0.03863576427102089,
-0.03746327757835388,
-0.005776121746748686,
-0.019274257123470306,
0.03004453517496586,
-0.008666245266795158,
0.09118108451366425,
0.016510484740138054,
-0.01024208776652813,
-0.0051183621399104595,
0.00880693644285202,
-0.0019152606837451458,
0.0071134851314127445,
-0.0012287094723433256,
0.008810439147055149,
0.01776907965540886,
0.07183615863323212,
-0.005217012949287891,
0.036341093480587006,
0.00419418141245842,
-0.05140285566449165,
0.06938407570123672,
-0.029203690588474274,
-0.016673609614372253,
-0.04034292697906494,
-0.03156989812850952,
0.027227845042943954,
0.013941827230155468,
0.019660813733935356,
-0.039959076792001724,
0.050374772399663925,
0.02802647091448307,
0.011280097998678684,
0.03752008080482483,
-0.021237988024950027,
0.029773812741041183,
-0.03137575462460518,
-0.0044459812343120575,
-0.07650933414697647,
0.004634134471416473,
0.056504540145397186,
0.0034629967994987965,
0.0051753101870417595,
-0.03297625854611397,
-0.041065167635679245,
0.021700963377952576,
-0.08733279258012772,
-0.03577832505106926,
0.035814058035612106,
-0.03565921261906624,
0.02582206204533577,
0.010271604172885418,
-0.01797872595489025,
0.02906239964067936,
0.0467548668384552,
-0.05034051090478897,
-0.0248133335262537,
-0.0472564697265625,
0.05794532597064972,
0.026949763298034668,
-0.012211838737130165,
0.00771173695102334,
-0.014549477957189083,
0.04523066058754921,
0.010965012945234776,
0.028475701808929443,
0.061601631343364716,
-0.006367887835949659,
0.026371797546744347,
0.017400572076439857,
-0.03397706523537636,
0.01606483943760395,
0.03664357587695122,
-0.013664113357663155,
-0.048604462295770645,
0.02042991854250431,
0.007672654930502176,
0.025713877752423286,
-0.03211165592074394,
0.08670810610055923,
0.019204748794436455,
-0.042960502207279205,
-0.04274490475654602,
0.008100386708974838,
-0.0350046344101429,
-0.056280460208654404,
-0.03638150915503502,
0.012609421275556087,
-0.027879035100340843,
0.06275777518749237,
-0.01884745992720127,
0.0001434982696082443,
0.08170606195926666,
-0.006902542430907488,
-0.0064456588588654995,
0.00567080220207572,
0.07552091777324677,
0.07781615108251572,
0.033027760684490204,
-0.03701937198638916,
0.060340382158756256,
-0.015623271465301514,
-0.0249739158898592,
0.014911457896232605,
-0.03509960323572159,
0.01042131893336773,
-0.02450096420943737,
0.028082827106118202,
0.06588514149188995,
-0.03961693122982979,
0.09058588743209839,
-0.024772798642516136,
-0.01687621884047985,
-0.00703881261870265,
0.02887025661766529,
0.04446486756205559,
0.03476046398282051,
0.01221009623259306,
0.0457218699157238,
-0.0126483840867877,
-0.025081539526581764,
0.02216491475701332,
0.015363961458206177,
-0.026262382045388222,
0.02964065596461296,
-0.03348566219210625,
0.005519523750990629,
0.020293977111577988,
0.04188549518585205,
0.10282085835933685,
-0.014514399692416191,
-0.0018443280132487416,
-0.008013974875211716,
0.01126026175916195,
-0.023770900443196297,
-0.001191880670376122,
-0.04601499065756798,
-0.036133114248514175,
-0.02280547097325325,
-0.07664903998374939,
-0.014889542944729328,
0.007763114292174578,
-0.053605880588293076,
0.010816613212227821,
-0.03073187731206417,
0.043540630489587784,
0.014960398897528648,
-0.013157603330910206,
-0.048772621899843216,
-0.06998724490404129,
-0.02477552555501461,
-0.008496472612023354,
-0.10254435986280441,
0.0055853575468063354,
0.0013046673266217113,
0.008260471746325493,
-0.05462103337049484,
-0.0329810231924057,
-0.04041005298495293,
-0.005224338732659817,
0.03471839427947998,
-0.00835985504090786,
-0.024798987433314323,
0.014172881841659546,
0.025706822052598,
0.013896268792450428,
0.04430900141596794,
0.0421438068151474,
-0.0019620254170149565,
-0.015356935560703278,
-0.0019713263027369976,
-0.01954052411019802,
0.056854698807001114,
0.007410088554024696,
0.01830563135445118,
-0.08073480427265167,
0.0369698703289032,
0.022747423499822617,
-0.027643678709864616,
-0.09097075462341309,
0.015645885840058327,
0.05499951168894768,
0.01163703203201294,
0.043648410588502884,
-0.012844224460422993,
-0.024248717352747917,
-0.03785260394215584,
-0.016215642914175987,
-0.025797104462981224,
0.034021761268377304,
0.053941626101732254,
-0.022771496325731277,
0.07156384736299515,
0.04466421902179718,
-0.011363763362169266,
-0.03405585139989853,
-0.018264509737491608,
-0.00559668755158782,
0.007544355932623148,
-0.04546909034252167,
-0.02060132659971714,
-0.03480655327439308,
-0.043622374534606934,
-0.007833710871636868,
-0.011799857020378113,
-0.0570848174393177,
-0.01405602041631937,
0.002254992490634322,
0.016239488497376442,
-0.06042204797267914,
0.005361269228160381,
-0.05349080637097359,
0.03890287131071091,
-0.025637170299887657,
-0.02460065856575966,
-0.01300083752721548,
0.03973587229847908,
0.01887255162000656,
0.015249415300786495,
-0.008992609567940235,
-0.023431479930877686,
0.0385093130171299,
-0.003831524634733796,
0.0340365394949913,
0.032876383513212204,
-0.03074682131409645,
-0.02264164388179779
] | [
-0.08161850273609161,
-0.054153550416231155,
-0.008779633790254593,
-0.02148221619427204,
0.09309624135494232,
-0.04035434126853943,
-0.012893346138298512,
0.010313067585229874,
0.0032402914948761463,
0.034593336284160614,
0.00109137874096632,
-0.04346570372581482,
-0.001976643456146121,
-0.04376906156539917,
0.04808216914534569,
-0.01077669020742178,
0.013234082609415054,
-0.05862492695450783,
-0.07050175219774246,
0.0631851851940155,
-0.026625845581293106,
-0.05165315046906471,
-0.028260672464966774,
-0.06604044139385223,
0.0028227707371115685,
0.036348868161439896,
0.032620642334222794,
-0.06319452822208405,
-0.05674082785844803,
-0.1839047372341156,
-0.005990156903862953,
-0.02571859583258629,
0.041453633457422256,
0.0021637948229908943,
-0.02252425067126751,
0.015315099619328976,
0.023096706718206406,
0.01736372709274292,
-0.0061947680078446865,
0.03668779879808426,
0.038177624344825745,
0.017630666494369507,
-0.06964881718158722,
-0.020782310515642166,
-0.00681652408093214,
0.00006884514004923403,
0.012570038437843323,
0.017631033435463905,
0.010474366135895252,
0.0037391544319689274,
-0.09253212064504623,
-0.0022023001220077276,
-0.013641581870615482,
-0.0001031927386065945,
-0.011925161816179752,
0.0019988289568573236,
0.04639260098338127,
0.0665222555398941,
0.03753461688756943,
0.025667225942015648,
-0.0007293571252375841,
0.007469015195965767,
-0.1469159573316574,
0.0628809779882431,
-0.005064553581178188,
0.06941025704145432,
-0.05705183744430542,
-0.03267287835478783,
0.0012787176528945565,
0.03527063503861427,
-0.02304256521165371,
-0.0352504588663578,
-0.05753156170248985,
0.09717854112386703,
0.001319084782153368,
-0.015812356024980545,
-0.040554217994213104,
0.026733189821243286,
0.012792306952178478,
-0.044780366122722626,
-0.09844077378511429,
0.00296158529818058,
-0.001833215355873108,
0.03141508996486664,
-0.040864042937755585,
0.017360039055347443,
0.014515490271151066,
0.04026457294821739,
0.03941773250699043,
0.006451797671616077,
0.065339095890522,
-0.024141600355505943,
0.0586865209043026,
0.03360303118824959,
-0.11296860128641129,
-0.03503156825900078,
0.008310708217322826,
0.0011257644509896636,
0.009088147431612015,
0.3748210370540619,
-0.030786514282226562,
-0.046700771898031235,
-0.007633112836629152,
0.0437188483774662,
0.021527566015720367,
-0.0006990035180933774,
0.022345231845974922,
-0.05861034244298935,
0.013469226658344269,
-0.03834594041109085,
0.02871701493859291,
-0.01818804442882538,
0.05632929131388664,
-0.08594788610935211,
0.04916558042168617,
0.0531485453248024,
0.01863620989024639,
0.011733850464224815,
-0.03508461266756058,
0.051491957157850266,
-0.002062650630250573,
-0.006820695474743843,
0.021956831216812134,
0.0009132370469160378,
0.043708596378564835,
0.023358823731541634,
0.0498502291738987,
0.050910625606775284,
0.07378236949443817,
0.01932097040116787,
0.005407026037573814,
-0.002829241333529353,
-0.09677638858556747,
-0.005368854384869337,
0.0058081853203475475,
0.032684192061424255,
0.01849680207669735,
-0.05911959335207939,
0.01203191839158535,
-0.0038412553258240223,
0.015318010002374649,
-0.0388190783560276,
0.017966527491807938,
0.0075572216883301735,
0.007628157269209623,
0.11602846533060074,
-0.0300112497061491,
-0.046654313802719116,
0.00021728080173488706,
-0.05125480890274048,
-0.0016782423481345177,
0.04643579572439194,
0.015121872536838055,
-0.06309515237808228,
0.021789193153381348,
0.017859995365142822,
0.07717994600534439,
-0.049191977828741074,
-0.07129231095314026,
0.00861090887337923,
-0.015118883922696114,
-0.04230773448944092,
-0.0068806991912424564,
0.047453366219997406,
0.027734536677598953,
-0.07016906887292862,
-0.003495042910799384,
0.016490159556269646,
0.007122434675693512,
-0.048584386706352234,
0.014454083517193794,
-0.020824963226914406,
-0.015997910872101784,
0.005261524114757776,
0.05594702064990997,
-0.036861203610897064,
-0.048877086490392685,
0.0019154445035383105,
0.02403448335826397,
0.024261653423309326,
0.001129870186559856,
0.04053455963730812,
-0.033196330070495605,
0.07023759931325912,
-0.053966134786605835,
-0.07803314179182053,
-0.056935787200927734,
0.0029279720038175583,
-0.017041560262441635,
0.004464209079742432,
-0.028116263449192047,
0.007264893501996994,
-0.018046708777546883,
0.05705919861793518,
-0.013102645054459572,
0.0013309653149917722,
0.0380202941596508,
0.012257812544703484,
-0.012817920185625553,
-0.01706952229142189,
0.012961719185113907,
0.05079374834895134,
-0.005239138379693031,
0.010877691209316254,
-0.04728422686457634,
0.009472702629864216,
0.011579295620322227,
-0.06004848703742027,
0.013103925622999668,
0.00006791544728912413,
-0.001073182444088161,
0.007928244769573212,
-0.026452599093317986,
0.02946990728378296,
-0.030637400224804878,
-0.03834153711795807,
-0.01772361993789673,
-0.006527498830109835,
0.0443480983376503,
0.04245962202548981,
-0.03546962887048721,
-0.04549292474985123,
-0.005926541052758694,
-0.3666076362133026,
-0.008203105069696903,
-0.0028926644008606672,
-0.03140619024634361,
-0.010427516885101795,
-0.05684889107942581,
-0.004281440284103155,
-0.014850214123725891,
-0.028699249029159546,
0.0530867874622345,
0.09956332296133041,
-0.0358087494969368,
-0.011195449158549309,
-0.09229344129562378,
0.026398910209536552,
0.018038511276245117,
-0.03514828160405159,
-0.025325117632746696,
-0.026216983795166016,
0.04934049770236015,
0.03038550727069378,
-0.04257344454526901,
-0.018699102103710175,
-0.02565317042171955,
0.05986496061086655,
-0.02002693898975849,
0.11742278188467026,
0.02176651731133461,
0.03268313407897949,
-0.06499350816011429,
0.04047851637005806,
0.014500858262181282,
0.0151071697473526,
-0.09826499223709106,
-0.0003211009025108069,
-0.06627049297094345,
-0.03315410017967224,
0.06536003947257996,
-0.008394279517233372,
-0.005733015015721321,
-0.04916331544518471,
0.03662676736712456,
-0.05444991961121559,
-0.02791447937488556,
-0.013581308536231518,
-0.030146269127726555,
-0.014668005518615246,
-0.015742620453238487,
0.03655792772769928,
0.07428041845560074,
-0.00034070145920850337,
0.02065378613770008,
0.053315360099077225,
0.038731638342142105,
0.05134327709674835,
-0.037522993981838226,
-0.061249278485774994,
0.048290904611349106,
0.02519298531115055,
-0.03482945263385773,
0.02251308225095272,
0.0484420470893383,
0.05614649876952171,
-0.05748523026704788,
0.015303593128919601,
0.0013235555961728096,
-0.008113785646855831,
0.0212439876049757,
0.011211606673896313,
-0.02281007543206215,
-0.06180853024125099,
0.06440836936235428,
-0.03502105548977852,
0.027610231190919876,
0.04731498658657074,
0.07977822422981262,
-0.04166530817747116,
-0.017215732485055923,
0.015600292943418026,
-0.006844621151685715,
0.050560835748910904,
-0.017456190660595894,
0.03342629224061966,
-0.008378329686820507,
0.03721386566758156,
0.09180912375450134,
0.015943139791488647,
0.008893240243196487,
0.047841135412454605,
0.020323313772678375,
-0.016351131722331047,
-0.03651265799999237,
-0.009964329190552235,
-0.03148888051509857,
0.03978610038757324,
-0.0015945412451401353,
-0.2614416480064392,
0.030437802895903587,
0.028470279648900032,
0.050842542201280594,
0.0015349743189290166,
0.002743807854130864,
0.047040317207574844,
-0.06311514973640442,
0.006909077055752277,
0.011169240809977055,
-0.00321516883559525,
0.03737290948629379,
0.01820007525384426,
-0.0025450328830629587,
0.011186270974576473,
-0.04494445025920868,
0.044152576476335526,
0.02878282591700554,
0.04388982802629471,
-0.009288121946156025,
-0.002866697497665882,
0.012344242073595524,
0.15095728635787964,
0.004361417610198259,
-0.007541518192738295,
0.041944362223148346,
0.016484638676047325,
-0.012014527805149555,
0.07467970252037048,
0.032120220363140106,
-0.008346146903932095,
-0.015088865533471107,
0.04442954808473587,
0.04384521394968033,
0.03187819570302963,
-0.05928025394678116,
-0.0032309098169207573,
0.0593709833920002,
0.019465701654553413,
-0.027644144371151924,
-0.012370074167847633,
0.01321487594395876,
-0.02559034153819084,
0.041780129075050354,
0.05106937140226364,
-0.013341359794139862,
-0.025480950251221657,
-0.06608140468597412,
-0.06120402365922928,
-0.006674968637526035,
-0.004448623862117529,
-0.009439166635274887,
-0.03247632086277008,
-0.022500542923808098,
0.03845750913023949,
0.05859733000397682,
0.018362075090408325,
-0.002138567389920354,
0.017673715949058533,
0.017661171033978462,
0.012617217376828194,
-0.05346253886818886,
0.09000957757234573,
0.016361774876713753,
-0.005023745354264975
] | [
0.019267534837126732,
0.015990000218153,
-0.024822229519486427,
0.02249741554260254,
0.0031885593198239803,
0.024073200300335884,
0.01586284302175045,
0.030356884002685547,
-0.0017513185739517212,
0.010943522676825523,
-0.024240843951702118,
0.014071101322770119,
0.009074614383280277,
-0.02967517264187336,
-0.024114757776260376,
-0.06983096152544022,
-0.041312407702207565,
0.00831433292478323,
0.0027265925891697407,
0.0029942994005978107,
-0.02298082783818245,
0.023859383538365364,
0.02877548336982727,
-0.013784807175397873,
0.004511393141001463,
0.02402523346245289,
-0.0003934872802346945,
0.012669508345425129,
0.008382380940020084,
-0.12105655670166016,
-0.0015085730701684952,
-0.018822407349944115,
0.022664882242679596,
-0.005034643225371838,
-0.03772152587771416,
-0.031384699046611786,
0.0041441540233790874,
0.03495441749691963,
-0.016631806269288063,
0.013855954632163048,
-0.008056901395320892,
-0.0303998701274395,
-0.022491227835416794,
0.007262355647981167,
0.001069586374796927,
-0.024885527789592743,
-0.012307390570640564,
-0.027353297919034958,
-0.00972388032823801,
0.016563616693019867,
-0.052207738161087036,
0.04028460383415222,
-0.0038299155421555042,
0.006589006166905165,
-0.005475425161421299,
-0.026975901797413826,
-0.012684302404522896,
-0.010552462190389633,
-0.01305333897471428,
-0.045815128833055496,
-0.001908860169351101,
-0.04160255193710327,
-0.0016182365361601114,
-0.03201507776975632,
-0.004062740132212639,
-0.005704616196453571,
-0.014949409291148186,
0.014114456251263618,
0.024001533165574074,
-0.005993163678795099,
0.02978980354964733,
0.025083504617214203,
-0.06077515333890915,
-0.031981248408555984,
-0.05799930915236473,
0.021245520561933517,
0.012648720294237137,
-0.026969997212290764,
0.013149524107575417,
0.007989034987986088,
-0.04236910119652748,
-0.002953778952360153,
-0.02860199846327305,
0.034295957535505295,
-0.03328605368733406,
-0.03730146959424019,
-0.01908843219280243,
-0.023729514330625534,
0.005702080670744181,
0.009619181975722313,
-0.015558583661913872,
0.04514234885573387,
0.05277462303638458,
-0.00661453464999795,
-0.09163106232881546,
0.024717610329389572,
-0.0010156332282349467,
0.02544325776398182,
0.00013386915088631213,
0.8244917392730713,
-0.0048162005841732025,
0.021545466035604477,
-0.025368325412273407,
0.015542363747954369,
-0.00959559716284275,
-0.014083393849432468,
0.010256734676659107,
-0.015578791499137878,
-0.03282980993390083,
-0.040111243724823,
0.059615787118673325,
0.009658490307629108,
0.03432217240333557,
0.02145143412053585,
0.03947653993964195,
0.0049203308299183846,
0.01168863195925951,
0.022387826815247536,
0.01126676332205534,
0.02785835787653923,
0.01806533709168434,
0.015316711738705635,
-0.015669671818614006,
-0.014729349873960018,
-0.003350756596773863,
-0.14477576315402985,
0.0030916405376046896,
-6.635662671655936e-33,
0.03472419083118439,
-0.018030794337391853,
0.008829792030155659,
0.011292374692857265,
0.022717926651239395,
0.0068826088681817055,
-0.026844002306461334,
0.015763135626912117,
-0.014410758391022682,
-0.031285159289836884,
-0.0071604750119149685,
0.007691818289458752,
-0.0025676158256828785,
-0.03626636788249016,
0.006894663907587528,
0.0023493829648941755,
0.012794489972293377,
0.00974716804921627,
-0.05471258610486984,
-0.02426714450120926,
0.03706084191799164,
0.037849005311727524,
0.043764639645814896,
0.055576782673597336,
0.000543014204595238,
-0.0013341163285076618,
-0.009303831495344639,
-0.011946593411266804,
-0.008638247847557068,
-0.043293245136737823,
-0.03424456715583801,
0.027491023764014244,
0.01853402890264988,
-0.016946380957961082,
0.04708828032016754,
-0.050290342420339584,
-0.020635372027754784,
0.024776937440037727,
-0.009393488056957722,
-0.01087961345911026,
-0.037234578281641006,
-0.0064361742697656155,
-0.03225424140691757,
-0.018186498433351517,
-0.02374964766204357,
-0.004302800167351961,
0.012991183437407017,
0.0539441853761673,
-0.015410050749778748,
0.043817490339279175,
0.03156406059861183,
-0.00614793598651886,
0.01267594750970602,
0.050562549382448196,
-0.01568126678466797,
0.04519801214337349,
-0.02782619744539261,
-0.002409139648079872,
0.006945430766791105,
0.04612855985760689,
0.007409787271171808,
0.017617907375097275,
0.014296391978859901,
0.011682921089231968,
0.0015047825872898102,
-0.008290067315101624,
0.06125456467270851,
0.031004173681139946,
0.011713615618646145,
-0.0013142927782610059,
-0.026325948536396027,
0.08304375410079956,
-0.009653587825596333,
-0.01879807934165001,
0.030268469825387,
-0.05559961870312691,
0.013916580937802792,
-0.002011815318837762,
0.009203442372381687,
0.010835452005267143,
-0.01671552285552025,
-0.02432665228843689,
-0.005370285827666521,
-0.013695918954908848,
-0.01412980630993843,
-0.004097918514162302,
0.04152470827102661,
0.021656587719917297,
-0.0031935470178723335,
-0.012593826279044151,
0.016767678782343864,
0.016307203099131584,
0.004994603339582682,
-0.03635524585843086,
0.0017250211676582694,
7.32906989147471e-33,
0.012660338543355465,
-0.04044439643621445,
0.002228790195658803,
0.01038894522935152,
0.04248601198196411,
0.007972442544996738,
0.04963139072060585,
0.01052131038159132,
-0.03335089236497879,
0.028546776622533798,
-0.054978497326374054,
-0.030659686774015427,
0.013665682636201382,
0.04274805635213852,
0.05083848908543587,
0.0007669153856113553,
0.018173500895500183,
-0.01301292609423399,
-0.021154256537556648,
-0.019860446453094482,
-0.015195713378489017,
-0.004702883772552013,
0.008600117638707161,
0.036466725170612335,
0.06205713003873825,
0.005595979280769825,
-0.024388378486037254,
-0.0020824314560741186,
-0.023523133248090744,
0.009243124164640903,
0.03961489722132683,
0.0031895246356725693,
-0.024332962930202484,
-0.02593841217458248,
-0.04327818751335144,
0.013059698976576328,
0.03928251937031746,
0.0029782720375806093,
0.00988365150988102,
0.01424808707088232,
-0.01712392084300518,
-0.02041717991232872,
-0.019155824556946754,
0.019648252055048943,
-0.0038067083805799484,
0.03161127120256424,
0.013444073498249054,
0.059725094586610794,
-0.020501747727394104,
0.004752395674586296,
0.005200558807700872,
0.025626979768276215,
-0.02533264085650444,
0.06986177712678909,
0.03395088016986847,
-0.03222956880927086,
-0.00048975640675053,
0.016789352521300316,
-0.04531867802143097,
0.0033901946153491735,
-0.010603195987641811,
-0.01425748411566019,
-0.01610654778778553,
0.024396808817982674,
-0.011313934810459614,
-0.04009520635008812,
-0.01096272747963667,
-0.017552630975842476,
-0.004295506048947573,
-0.013668281957507133,
0.01003565639257431,
-0.04788104072213173,
0.002807121491059661,
0.01825895719230175,
0.004563868977129459,
-0.00014494438073597848,
-0.026664381846785545,
0.02123839594423771,
0.012323379516601562,
0.02703002840280533,
0.05427422374486923,
-0.03466297313570976,
0.02264733426272869,
0.020577512681484222,
0.01539835799485445,
0.011161431670188904,
-0.007090341299772263,
-0.012881436385214329,
-0.010541572235524654,
0.031153148040175438,
-0.05527852848172188,
-0.048889704048633575,
-0.010815782472491264,
0.019802497699856758,
0.005567144136875868,
-1.2580581021381931e-8,
-0.015295838005840778,
-0.001351807964965701,
-0.05715179815888405,
0.03158432990312576,
0.04093487560749054,
0.011834051460027695,
-0.04764892905950546,
-0.008684493601322174,
-0.0009749433374963701,
-0.00016601136303506792,
0.019219547510147095,
-0.04840300604701042,
-0.003801484825089574,
-0.0019624095875769854,
0.007727912161499262,
-0.04220093786716461,
0.05057907477021217,
0.00008881026587914675,
0.019105594605207443,
0.016583982855081558,
0.024911316111683846,
0.03482390195131302,
-0.05281158909201622,
-0.0049317399971187115,
0.01860066130757332,
0.004776440095156431,
0.037749771028757095,
-0.08828088641166687,
0.0029984049033373594,
-0.022808972746133804,
0.03851182758808136,
-0.05831500515341759,
0.011914054863154888,
-0.0043565197847783566,
-0.02088083140552044,
-0.01788456365466118,
0.03726542741060257,
0.036139652132987976,
0.03163706511259079,
0.007950508035719395,
-0.02104116417467594,
-0.003295069793239236,
-0.039106015115976334,
-0.03292388096451759,
-0.04064071178436279,
-0.0019865005742758512,
-0.05281737074255943,
0.016462374478578568,
0.0019112220034003258,
-0.01109216921031475,
-0.0038450751453638077,
-0.02640601620078087,
0.045331425964832306,
0.05364123359322548,
0.02848053351044655,
0.030244572088122368,
0.04770403727889061,
0.00514341751113534,
-0.003493122523650527,
-0.01744731329381466,
0.028733741492033005,
0.009944647550582886,
-0.0339711531996727,
-0.03312572464346886
] | spark-write-to-csv-file | https://markhneedham.com/blog/2014/11/30/spark-write-to-csv-file |
false | 2014-11-30 08:21:54 | Spark: Write to CSV file with header using saveAsFile | [
"spark-2"
] | [
"Spark"
] | In my last blog post I showed http://www.markhneedham.com/blog/2014/11/30/spark-write-to-csv-file/[how to write to a single CSV file using Spark and Hadoop] and the next thing I wanted to do was add a header row to the resulting row.
Hadoop's +++<cite>+++https://hadoop.apache.org/docs/current/api/org/apache/hadoop/fs/FileUtil.html#copyMerge(org.apache.hadoop.fs.FileSystem, org.apache.hadoop.fs.Path, org.apache.hadoop.fs.FileSystem, org.apache.hadoop.fs.Path, boolean, org.apache.hadoop.conf.Configuration, java.lang.String)[FileUtil#copyMerge]+++</cite>+++ function does take a String parameter but it adds this text to the end of each partition file which isn't quite what we want.
However, if we copy that function into our own FileUtil class we can restructure it to do what we want:
[source,java]
----
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.*;
import org.apache.hadoop.io.IOUtils;
import java.io.IOException;
public class MyFileUtil {
public static boolean copyMergeWithHeader(FileSystem srcFS, Path srcDir, FileSystem dstFS, Path dstFile, boolean deleteSource, Configuration conf, String header) throws IOException {
dstFile = checkDest(srcDir.getName(), dstFS, dstFile, false);
if(!srcFS.getFileStatus(srcDir).isDir()) {
return false;
} else {
FSDataOutputStream out = dstFS.create(dstFile);
if(header != null) {
out.write((header + "\n").getBytes("UTF-8"));
}
try {
FileStatus[] contents = srcFS.listStatus(srcDir);
for(int i = 0; i < contents.length; ++i) {
if(!contents[i].isDir()) {
FSDataInputStream in = srcFS.open(contents[i].getPath());
try {
IOUtils.copyBytes(in, out, conf, false);
} finally {
in.close();
}
}
}
} finally {
out.close();
}
return deleteSource?srcFS.delete(srcDir, true):true;
}
}
private static Path checkDest(String srcName, FileSystem dstFS, Path dst, boolean overwrite) throws IOException {
if(dstFS.exists(dst)) {
FileStatus sdst = dstFS.getFileStatus(dst);
if(sdst.isDir()) {
if(null == srcName) {
throw new IOException("Target " + dst + " is a directory");
}
return checkDest((String)null, dstFS, new Path(dst, srcName), overwrite);
}
if(!overwrite) {
throw new IOException("Target " + dst + " already exists");
}
}
return dst;
}
}
----
We can then update our merge function to call this instead:
[source,scala]
----
def merge(srcPath: String, dstPath: String, header:String): Unit = {
val hadoopConfig = new Configuration()
val hdfs = FileSystem.get(hadoopConfig)
MyFileUtil.copyMergeWithHeader(hdfs, new Path(srcPath), hdfs, new Path(dstPath), false, hadoopConfig, header)
}
----
We call merge from our code like this:
[source,scala]
----
merge(file, destinationFile, "type,count")
----
I wasn't sure how to import my Java based class into the Spark shell so I compiled the code into a JAR and submitted it as a job instead:
[source,bash]
----
$ sbt package
[info] Loading global plugins from /Users/markneedham/.sbt/0.13/plugins
[info] Loading project definition from /Users/markneedham/projects/spark-play/playground/project
[info] Set current project to playground (in build file:/Users/markneedham/projects/spark-play/playground/)
[info] Compiling 3 Scala sources to /Users/markneedham/projects/spark-play/playground/target/scala-2.10/classes...
[info] Packaging /Users/markneedham/projects/spark-play/playground/target/scala-2.10/playground_2.10-1.0.jar ...
[info] Done packaging.
[success] Total time: 8 s, completed 30-Nov-2014 08:12:26
$ time ./bin/spark-submit --class "WriteToCsvWithHeader" --master local[4] /path/to/playground/target/scala-2.10/playground_2.10-1.0.jar
Spark assembly has been built with Hive, including Datanucleus jars on classpath
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.propertie
...
14/11/30 08:16:15 INFO TaskSchedulerImpl: Removed TaskSet 2.0, whose tasks have all completed, from pool
14/11/30 08:16:15 INFO SparkContext: Job finished: saveAsTextFile at WriteToCsvWithHeader.scala:49, took 0.589036 s
real 0m13.061s
user 0m38.977s
sys 0m3.393s
----
And if we look at our destination file:
[source,bash]
----
$ cat /tmp/singlePrimaryTypes.csv
type,count
THEFT,859197
BATTERY,757530
NARCOTICS,489528
CRIMINAL DAMAGE,488209
BURGLARY,257310
OTHER OFFENSE,253964
ASSAULT,247386
MOTOR VEHICLE THEFT,197404
ROBBERY,157706
DECEPTIVE PRACTICE,137538
CRIMINAL TRESPASS,124974
PROSTITUTION,47245
WEAPONS VIOLATION,40361
PUBLIC PEACE VIOLATION,31585
OFFENSE INVOLVING CHILDREN,26524
CRIM SEXUAL ASSAULT,14788
SEX OFFENSE,14283
GAMBLING,10632
LIQUOR LAW VIOLATION,8847
ARSON,6443
INTERFERE WITH PUBLIC OFFICER,5178
HOMICIDE,4846
KIDNAPPING,3585
INTERFERENCE WITH PUBLIC OFFICER,3147
INTIMIDATION,2471
STALKING,1985
OFFENSES INVOLVING CHILDREN,355
OBSCENITY,219
PUBLIC INDECENCY,86
OTHER NARCOTIC VIOLATION,80
RITUALISM,12
NON-CRIMINAL,12
OTHER OFFENSE ,6
NON - CRIMINAL,2
NON-CRIMINAL (SUBJECT SPECIFIED),2
----
Happy days!
The code is available as a https://gist.github.com/mneedham/881ee5dcb58456855174[gist] if you want to see all the details. | null | null | [
-0.003241954604163766,
-0.045387834310531616,
-0.03036455251276493,
0.057594187557697296,
0.07020894438028336,
-0.006615815218538046,
0.0074844625778496265,
0.0176516305655241,
0.017758265137672424,
-0.036247335374355316,
0.014284143224358559,
-0.0464681014418602,
-0.06422781199216843,
0.035251639783382416,
-0.031528886407613754,
0.04249152913689613,
0.06165824458003044,
-0.00014119911065790802,
0.0069569251500070095,
0.008333751931786537,
-0.010419473052024841,
0.04185130074620247,
-0.009374836459755898,
0.03802630677819252,
0.0202482957392931,
-0.022075608372688293,
-0.016606923192739487,
0.014432833530008793,
-0.041962943971157074,
-0.011892530135810375,
0.018798256292939186,
0.009848382323980331,
0.029812408611178398,
0.010792426764965057,
0.012614487670361996,
-0.031773049384355545,
-0.035464808344841,
-0.009951842948794365,
0.017100820317864418,
0.02701767347753048,
-0.0737704336643219,
0.03477561101317406,
-0.019527480006217957,
0.010229845531284809,
-0.0188683420419693,
-0.015104181133210659,
-0.020057136192917824,
0.005002844147384167,
-0.009976418688893318,
0.005259956698864698,
-0.024945704266428947,
0.010323071852326393,
-0.018170779570937157,
-0.015953458845615387,
0.01879965513944626,
0.04140216484665871,
-0.0011873061303049326,
-0.06390577554702759,
0.05359210446476936,
-0.02121373824775219,
-0.01779896207153797,
-0.02646690234541893,
-0.035967398434877396,
0.04567114636301994,
0.0043417722918093204,
-0.06451699882745743,
-0.0315602608025074,
0.05335624888539314,
-0.060011208057403564,
-0.023548554629087448,
0.0007123430259525776,
0.010343682952225208,
-0.0028787385672330856,
-0.02433125674724579,
-0.006153687834739685,
-0.059022072702646255,
-0.01347083318978548,
0.05407904461026192,
-0.00401597423478961,
0.04753970727324486,
-0.04644815996289253,
-0.012647761963307858,
0.012434465810656548,
0.018983401358127594,
0.005465389229357243,
-0.03658432140946388,
-0.05444331467151642,
-0.028254594653844833,
-0.04334987327456474,
0.07849624752998352,
-0.009864657185971737,
-0.016604602336883545,
-0.015949362888932228,
0.02120235376060009,
0.004237708635628223,
0.008958243764936924,
-0.008835356682538986,
0.014232059009373188,
-0.0007556097698397934,
0.005229080095887184,
-0.08994443714618683,
-0.0012329641031101346,
0.011618551798164845,
0.025997675955295563,
-0.05654679238796234,
-0.019304875284433365,
-0.0374591127038002,
-0.016268936917185783,
0.02856633998453617,
0.023949094116687775,
-0.00863923504948616,
-0.017908280715346336,
-0.021728672087192535,
0.004164060577750206,
-0.06530057638883591,
0.052297644317150116,
0.03764054924249649,
-0.016091547906398773,
0.0028123147785663605,
0.017136404290795326,
0.028592942282557487,
0.030530350282788277,
0.022744877263903618,
0.06966675072908401,
0.010851407423615456,
0.03232620283961296,
0.02199513278901577,
0.04695650562644005,
-0.018467465415596962,
-0.08714097738265991,
-0.031308528035879135,
0.052806153893470764,
0.012662057764828205,
0.00301242689602077,
0.00016015117580536753,
-0.009075535461306572,
-0.010260375216603279,
0.00026641125441528857,
0.05672883242368698,
0.015998292714357376,
0.0035496563650667667,
-0.030133677646517754,
0.000054038373491493985,
0.0013508122647181153,
0.022475598379969597,
0.029897913336753845,
-0.02469279244542122,
-0.024437230080366135,
-0.050690434873104095,
0.03731017932295799,
0.015306511893868446,
0.04282549396157265,
0.08082802593708038,
-0.028551623225212097,
-0.005223310552537441,
0.09973764419555664,
0.02562112733721733,
0.006746355444192886,
-0.0314178466796875,
0.047091636806726456,
0.048160430043935776,
0.03250938281416893,
0.044693149626255035,
0.008017545565962791,
-0.021625760942697525,
-0.03256715089082718,
0.016051998361945152,
0.008554331958293915,
-0.019505176693201065,
-0.011933565139770508,
-0.030912665650248528,
-0.06524474173784256,
0.02459043078124523,
-0.019886929541826248,
0.03184845298528671,
0.02007489651441574,
0.08603475987911224,
0.026056552305817604,
0.05233030766248703,
0.016459882259368896,
-0.08137812465429306,
0.03364607319235802,
-0.009240725077688694,
0.05516030266880989,
0.02544962614774704,
0.008649198338389397,
0.037641070783138275,
0.04628456011414528,
0.001225289306603372,
0.01952020265161991,
-0.059382420033216476,
-0.07984327524900436,
-0.028145359829068184,
-0.009638612158596516,
0.05730457231402397,
-0.021594665944576263,
0.03248681128025055,
0.03762061521410942,
0.012509722262620926,
0.01948811672627926,
0.016118142753839493,
-0.019433168694376945,
0.007179960608482361,
-0.07002711296081543,
-0.03610175848007202,
0.034789618104696274,
0.025537356734275818,
-0.023429999127984047,
-0.04423654451966286,
-0.0107136070728302,
-0.037982452660799026,
0.03933178633451462,
0.049991998821496964,
-0.015820283442735672,
0.05891487002372742,
0.04021979868412018,
0.03747737035155296,
0.014733443967998028,
0.05959777161478996,
-0.03850188106298447,
0.04868566617369652,
0.007329063955694437,
-0.0362347848713398,
0.006141486577689648,
0.0004849019169341773,
0.1422557532787323,
0.03259994089603424,
-0.005352763459086418,
-0.0612887479364872,
0.018572663888335228,
-0.0035325447097420692,
-0.03363892063498497,
0.013305108062922955,
0.014427317306399345,
-0.04343742877244949,
0.03815221041440964,
-0.02384141832590103,
-0.004795922432094812,
0.022425897419452667,
-0.019218556582927704,
0.001761492108926177,
0.09042546898126602,
-0.02818978577852249,
0.03268527239561081,
-0.003381693735718727,
-0.009931759908795357,
0.020258828997612,
-0.025014644488692284,
-0.045613523572683334,
-0.01818578504025936,
0.03363393247127533,
-0.01653742976486683,
0.047643762081861496,
-0.049437087029218674,
-0.015028437599539757,
-0.018928516656160355,
-0.04715971276164055,
0.003564130514860153,
0.057640183717012405,
0.042120933532714844,
-0.03129441663622856,
0.02625223807990551,
-0.031354088336229324,
-0.019380098208785057,
-0.05330273509025574,
-0.01737445779144764,
-0.016558360308408737,
0.025884732604026794,
0.01983599364757538,
0.04172241687774658,
0.012506895698606968,
0.008738888427615166,
0.028997007757425308,
-0.008152700029313564,
-0.024352356791496277,
0.01133807934820652,
0.03543143346905708,
-0.03406109660863876,
-0.004785035736858845,
-0.04436391219496727,
-0.027577156201004982,
0.05468731373548508,
-0.00871955044567585,
-0.009750070981681347,
0.03977689892053604,
-0.048802852630615234,
0.02849755808711052,
-0.05673107132315636,
-0.043183885514736176,
-0.020028695464134216,
0.0031850910745561123,
0.02918871119618416,
0.0348687618970871,
-0.010277382098138332,
0.06958730518817902,
0.048348650336265564,
-0.02017167955636978,
-0.009830515831708908,
0.02149346098303795,
0.03354136645793915,
-0.0013699856353923678,
0.019751189276576042,
0.05843917280435562,
-0.015276446007192135,
-0.021158702671527863,
-0.028081201016902924,
-0.020281771197915077,
-0.004599606618285179,
-0.26032117009162903,
0.04432611167430878,
-0.02572457306087017,
-0.030680203810334206,
0.03429513797163963,
-0.02621328830718994,
-0.016038699075579643,
-0.02875499427318573,
-0.0002507494646124542,
0.023035062476992607,
-0.042980972677469254,
-0.006423180922865868,
-0.032990485429763794,
0.03523517772555351,
0.0006858722772449255,
0.018691716715693474,
-0.009602157399058342,
-0.0413731224834919,
0.0005718024913221598,
0.021532997488975525,
0.004371077287942171,
-0.05801047757267952,
-0.009352782741189003,
0.06004127860069275,
0.031158555299043655,
0.04495526850223541,
-0.07500443607568741,
0.07553329318761826,
-0.05353070795536041,
-0.014872333034873009,
0.0018473389791324735,
-0.058732204139232635,
-0.004632406402379274,
-0.027722127735614777,
-0.03328396752476692,
-0.030217543244361877,
0.018798932433128357,
0.044040922075510025,
-0.020495353266596794,
0.0265569556504488,
-0.028328925371170044,
-0.04289766401052475,
-0.0366961769759655,
-0.019572513177990913,
0.06223996728658676,
-0.05165877938270569,
-0.05578174069523811,
0.007488945499062538,
-0.03497522696852684,
0.05952426791191101,
-0.013565952889621258,
-0.05260063335299492,
-0.023773228749632835,
0.01789802685379982,
-0.023238806053996086,
0.0019599483348429203,
0.004556527826935053,
0.007069617509841919,
-0.005926123820245266,
-0.02318722940981388,
-0.019194118678569794,
-0.07229813188314438,
-0.008876916021108627,
-0.060773544013500214,
-0.019434118643403053,
-0.04611773416399956,
-0.07924236357212067,
0.003512258641421795,
0.06453847140073776,
0.0762251541018486,
-0.014039266854524612,
0.03111959993839264,
-0.0031850270461291075,
-0.12238843739032745,
-0.013914442621171474,
-0.030218562111258507,
-0.020554624497890472,
-0.046090491116046906,
-0.047714073210954666,
0.04988985136151314,
-0.02105557732284069,
-0.04749347269535065,
0.04366692528128624,
-0.03289823606610298,
0.015039606019854546,
-0.017320025712251663,
-0.0031626129057258368,
-0.05519113317131996,
0.004137772135436535,
-0.01629076711833477,
0.06494487822055817,
-0.06748570501804352,
0.008751275017857552,
0.007680244278162718,
-0.012201622128486633,
0.06296280026435852,
0.008532380685210228,
0.007088674232363701,
-0.0029151856433600187,
0.019962362945079803,
0.01992337964475155,
-0.03926480561494827,
-0.0028219977393746376,
-0.05146627500653267,
-0.009858304634690285,
0.00020244644838385284,
-0.07034502923488617,
0.02489595115184784,
0.015316812321543694,
0.031742509454488754,
0.010859903879463673,
-0.018940992653369904,
0.03395279124379158,
-0.07315029948949814,
-0.02205061726272106,
-0.012581824325025082,
-0.004757885821163654,
0.00436839833855629,
0.03487299010157585,
-0.016386080533266068,
-0.034703247249126434,
-0.018558556213974953,
0.018563706427812576,
-0.03192541375756264,
-0.024299010634422302,
0.0034860889427363873,
0.010073280893266201,
-0.011944875121116638,
0.023951280862092972,
0.009984959848225117,
-0.02738242782652378,
-0.007508678361773491,
0.029488906264305115,
-0.004569473676383495,
0.015541591681540012,
-0.0643564909696579,
-0.05156150460243225,
-0.030092287808656693,
-0.011732402257621288,
0.02225586213171482,
0.008530751802027225,
-0.02347010374069214,
-0.002864834852516651,
0.00803322158753872,
0.0573686882853508,
-0.008147784508764744,
-0.0017469791928306222,
0.029906753450632095,
0.011204051785171032,
-0.0026406273245811462,
0.012523576617240906,
-0.03304370120167732,
-0.030292991548776627,
-0.008608936332166195,
-0.07571476697921753,
-0.021965710446238518,
0.036860380321741104,
-0.00197233771905303,
-0.020878106355667114,
-0.036287564784288406,
0.03292800113558769,
-0.03376053273677826,
-0.005244776140898466,
0.007736586034297943,
0.015178104862570763,
0.054632823914289474,
-0.02367740496993065,
0.025882810354232788,
0.0001669562770985067,
-0.008354749530553818,
-0.0005983508890494704,
-0.01812588796019554,
-0.017617683857679367,
0.011176655068993568,
-0.000918007455766201,
-0.007049847859889269,
0.05396955460309982,
0.022002965211868286,
0.015363136306405067,
0.014105290174484253,
-0.0028329535853117704,
-0.018166588619351387,
0.0029488434083759785,
-0.000017110423868871294,
0.04114820435643196,
0.021319957450032234,
0.014503301121294498,
-0.011715744622051716,
-0.013685086742043495,
-0.019035635516047478,
-0.05117759108543396,
0.0008481674012728035,
-0.01312241517007351,
0.04905908927321434,
-0.00046792978537268937,
-0.09178382158279419,
0.04386289790272713,
0.009998711757361889,
0.006120707374066114,
0.005128834396600723,
-0.026920869946479797,
0.005554147530347109,
0.0021260033827275038,
0.03368223085999489,
0.06296546012163162,
-0.04106222465634346,
0.021001707762479782,
-0.021207567304372787,
0.007967808283865452,
0.020230527967214584,
0.0065465751104056835,
-0.05415547266602516,
-0.027258779853582382,
-0.01124532613903284,
0.03433097153902054,
-0.026431595906615257,
-0.006610449403524399,
-0.0665583610534668,
-0.011880123056471348,
-0.002731075044721365,
0.01503444742411375,
0.0091597530990839,
0.01232469268143177,
-0.013735826127231121,
-0.013507640920579433,
0.02720942534506321,
-0.010448820888996124,
-0.010914284735918045,
0.029521625488996506,
-0.014662403613328934,
0.016007529571652412,
-0.018485331907868385,
0.00781954638659954,
0.051231905817985535,
-0.04469231888651848,
-0.026754112914204597,
-0.03255268931388855,
0.024087097495794296,
-0.028386550024151802,
0.06963029503822327,
0.0314253568649292,
-0.017702722921967506,
-0.02337811142206192,
-0.004973823670297861,
-0.013400312513113022,
0.007287028711289167,
-0.040621738880872726,
0.008573231287300587,
0.02573811635375023,
0.06864790618419647,
-0.00680973706766963,
0.032466448843479156,
-0.012571347877383232,
-0.039053626358509064,
0.04944676160812378,
-0.027954531833529472,
-0.049201857298612595,
-0.02424946054816246,
-0.044457096606492996,
0.0231460090726614,
0.014993497170507908,
0.032054148614406586,
-0.04257293790578842,
0.06284555792808533,
0.04022533819079399,
0.015365231782197952,
0.03149981424212456,
-0.01394906546920538,
0.04051850363612175,
-0.020146043971180916,
-0.02519163303077221,
-0.08148602396249771,
-0.019175687804818153,
0.03644954040646553,
0.00753414211794734,
0.002014178317040205,
-0.055114004760980606,
-0.016628539189696312,
0.018007246777415276,
-0.06513749063014984,
-0.03672347590327263,
0.02859029732644558,
0.009162229485809803,
0.05302129685878754,
0.00478661572560668,
-0.0011727764504030347,
0.025658370926976204,
0.012380747124552727,
-0.023800622671842575,
-0.020878756418824196,
-0.0347437746822834,
0.040189553052186966,
0.03229353576898575,
0.004628465976566076,
0.003940310329198837,
-0.03237300366163254,
0.054225385189056396,
0.023970631882548332,
0.0014911567559465766,
0.050652001053094864,
-0.020280083641409874,
0.033933307975530624,
0.017644649371504784,
-0.031880933791399,
0.02361074648797512,
0.04042159020900726,
-0.02604105696082115,
-0.04068887606263161,
-0.004425395280122757,
0.04156418889760971,
0.030337952077388763,
-0.01880316622555256,
0.06640448421239853,
0.027187295258045197,
-0.023514483124017715,
-0.06731737405061722,
0.021310586482286453,
-0.00703763123601675,
-0.002014684956520796,
-0.032055024057626724,
0.012027651071548462,
-0.06900680810213089,
0.06757960468530655,
-0.011802427470684052,
-0.012548999860882759,
0.07605579495429993,
-0.0034888535737991333,
-0.024439172819256783,
0.006956861354410648,
0.09496201574802399,
0.09027248620986938,
0.024034341797232628,
0.006524483673274517,
0.06069478392601013,
-0.010861551389098167,
-0.04121660441160202,
-0.010523641481995583,
-0.0343039408326149,
0.02455957606434822,
0.00022276821255218238,
0.015147554688155651,
0.0791354551911354,
-0.009808029048144817,
0.0909893661737442,
-0.012354401871562004,
-0.013397634960711002,
-0.00782471802085638,
0.040167585015296936,
0.02561322972178459,
0.0041564893908798695,
0.0036806261632591486,
0.04898729920387268,
-0.023795943707227707,
-0.014792685396969318,
0.016819877550005913,
0.01944456808269024,
0.017791863530874252,
0.03344776853919029,
-0.0028904248028993607,
-0.003944143652915955,
0.031008897349238396,
0.025213824585080147,
0.06726709008216858,
-0.01791396550834179,
-0.00182008754927665,
-0.009733371436595917,
0.02605222351849079,
-0.030364559963345528,
0.010295790620148182,
-0.025491300970315933,
-0.03300368785858154,
-0.01699749566614628,
-0.04130915552377701,
-0.0290355384349823,
0.01578015461564064,
-0.03198464959859848,
0.0036134568508714437,
-0.03728169947862625,
0.03550203517079353,
0.036776188760995865,
-0.008998675271868706,
-0.056870073080062866,
-0.04946374520659447,
-0.02293713390827179,
-0.03319745138287544,
-0.08374051004648209,
0.0029350484255701303,
0.00016811319801490754,
-0.002408774569630623,
-0.04911094158887863,
-0.03364291414618492,
-0.04221232980489731,
0.0066664209589362144,
0.014585870318114758,
-0.006553339306265116,
-0.030680693686008453,
0.005621885880827904,
0.022236313670873642,
0.02905697003006935,
0.05997159704566002,
0.04296215623617172,
-0.008476724848151207,
-0.0047215125523507595,
-0.00453197443857789,
-0.02664266899228096,
0.06477624177932739,
0.0041238428093492985,
0.0191448163241148,
-0.07892792671918869,
0.06147155910730362,
0.023232685402035713,
0.00919102318584919,
-0.07675027847290039,
0.015910299494862556,
0.06750453263521194,
0.013601119630038738,
0.05196591094136238,
-0.004844869486987591,
-0.012717103585600853,
-0.03501809388399124,
-0.03170792758464813,
-0.020982075482606888,
0.006296239327639341,
0.046532873064279556,
-0.009770744480192661,
0.07171808183193207,
0.06544473022222519,
0.003931280691176653,
-0.030285917222499847,
-0.003208066802471876,
-0.012518415227532387,
0.02422422729432583,
-0.06679504364728928,
-0.04661155492067337,
-0.051341891288757324,
-0.04787381365895271,
-0.0258314348757267,
0.002164953388273716,
-0.04552813246846199,
-0.017796773463487625,
-0.007504252716898918,
0.027051860466599464,
-0.07453969866037369,
0.03143350034952164,
-0.05258475989103317,
0.028522096574306488,
-0.03650915250182152,
-0.040560346096754074,
-0.024460822343826294,
0.0541171059012413,
0.020468277856707573,
0.018981240689754486,
0.03158845752477646,
-0.016720952466130257,
0.0261995866894722,
0.0033188853412866592,
0.007006708532571793,
0.043226152658462524,
-0.01938875950872898,
-0.0076699587516486645
] | [
-0.08765509724617004,
-0.05852557346224785,
-0.010917780920863152,
-0.02307869680225849,
0.06953056901693344,
-0.05258564278483391,
-0.04758189246058464,
0.003521733684465289,
0.0012898648856207728,
0.022019868716597557,
0.023373523727059364,
-0.06849861890077591,
-0.0018341222312301397,
-0.056711193174123764,
0.06145993992686272,
-0.015536869876086712,
-0.0021369936875998974,
-0.039072535932064056,
-0.06756744533777237,
0.05094672739505768,
-0.011035120114684105,
-0.05869763344526291,
-0.049951713532209396,
-0.06256946921348572,
0.023838717490434647,
0.015552252531051636,
0.011646965518593788,
-0.07406388968229294,
-0.07090487331151962,
-0.19536937773227692,
-0.0013363724574446678,
-0.018600499257445335,
0.025654306635260582,
-0.01107165589928627,
-0.0020394951570779085,
0.009050160646438599,
0.031263452023267746,
0.010045048780739307,
-0.013638724572956562,
0.031282417476177216,
0.02363593317568302,
-0.002382023958489299,
-0.0563737191259861,
-0.00036013039061799645,
-0.004730751272290945,
-0.026886142790317535,
-0.0027616270817816257,
-0.0068169464357197285,
0.007438135799020529,
0.0142747201025486,
-0.09250526130199432,
-0.010497413575649261,
-0.017021479085087776,
-0.026092180982232094,
-0.01786087267100811,
0.036742452532052994,
0.060756564140319824,
0.08082961291074753,
0.023821890354156494,
-0.004212194588035345,
0.019257016479969025,
0.005481810308992863,
-0.1612243503332138,
0.08508163690567017,
0.029849160462617874,
0.03828632831573486,
-0.05953981354832649,
-0.005472106393426657,
0.01041269302368164,
0.06894025951623917,
-0.015899192541837692,
-0.013028680346906185,
-0.04677115008234978,
0.11543411016464233,
0.011396477930247784,
-0.013567771762609482,
-0.031450096517801285,
0.03619874268770218,
0.035505663603544235,
-0.012838663533329964,
-0.10917966067790985,
-0.00391132989898324,
-0.007952108979225159,
0.027886072173714638,
-0.051114995032548904,
0.034684911370277405,
0.01303014811128378,
0.04765886813402176,
0.019054193049669266,
0.008821445517241955,
0.0431625060737133,
-0.017830733209848404,
0.041568074375391006,
0.020610762760043144,
-0.10841796547174454,
-0.03595367819070816,
0.003383427858352661,
-0.013046680949628353,
0.024034418165683746,
0.3623017370700836,
-0.045481327921152115,
-0.02665436640381813,
0.03096172772347927,
0.03411209210753441,
0.01923036016523838,
-0.0145926708355546,
-0.0026006437838077545,
-0.02558998391032219,
0.005049406550824642,
-0.033600982278585434,
0.00021625327644869685,
-0.02968607470393181,
0.030877970159053802,
-0.06690618395805359,
0.036012303084135056,
0.02398095279932022,
0.0014096020022407174,
0.009557435289025307,
-0.06481143832206726,
0.03541948273777962,
-0.005458327475935221,
-0.005323117133229971,
0.033754363656044006,
0.019568298012018204,
0.04434715956449509,
-0.006946645211428404,
0.047824155539274216,
0.05043432489037514,
0.10310609638690948,
0.020613716915249825,
0.03660135343670845,
-0.00025673690834082663,
-0.08519759029150009,
-0.02981947734951973,
0.012193975038826466,
0.04112936928868294,
0.01661544479429722,
-0.07403850555419922,
-0.006862148176878691,
-0.014633044600486755,
0.04550173133611679,
-0.017839688807725906,
0.020729398354887962,
-0.008614963851869106,
-0.006362532265484333,
0.13578927516937256,
-0.012196519412100315,
-0.022677106782794,
-0.011540972627699375,
-0.06001400202512741,
-0.005813912488520145,
0.03716349974274635,
0.012707176618278027,
-0.05732743442058563,
0.04146689176559448,
0.029678935185074806,
0.06011592596769333,
-0.026010962203145027,
-0.05044174566864967,
0.003711383556947112,
-0.04339641332626343,
-0.02954644337296486,
-0.02037128433585167,
0.037558864802122116,
0.041832126677036285,
-0.08130118250846863,
-0.02269900031387806,
0.02134189009666443,
0.013492864556610584,
-0.02395571395754814,
-0.006785111501812935,
-0.010891959071159363,
-0.014040002599358559,
-0.016101719811558723,
0.05269705131649971,
-0.022170523181557655,
-0.03074847161769867,
-0.014973386190831661,
0.030248574912548065,
0.032291121780872345,
0.024024074897170067,
0.03238082304596901,
-0.02467423491179943,
0.026905221864581108,
-0.028862617909908295,
-0.07954594492912292,
-0.07462599128484726,
0.013305055908858776,
-0.03373848646879196,
-0.007418543566018343,
-0.03168323636054993,
0.002410649787634611,
-0.015731189399957657,
0.05828347057104111,
-0.04172204062342644,
-0.025825001299381256,
0.06611679494380951,
0.026290277019143105,
0.02350602112710476,
-0.03845829516649246,
-0.0023227636702358723,
0.057511262595653534,
-0.04349559172987938,
0.0254010409116745,
-0.06869880855083466,
-0.03973415866494179,
0.03876536712050438,
-0.0439252033829689,
0.03289514407515526,
0.01052816677838564,
-0.03007238358259201,
-0.006275911815464497,
-0.023855645209550858,
0.029110552743077278,
-0.0625009685754776,
-0.013933963142335415,
-0.007266456726938486,
-0.00016452661657240242,
0.03376998379826546,
0.025917470455169678,
-0.024305380880832672,
-0.05957244709134102,
-0.012866259552538395,
-0.33795109391212463,
-0.02616206184029579,
-0.005727153271436691,
-0.05468335375189781,
-0.014326502569019794,
-0.03424789384007454,
0.004230255261063576,
0.01586543582379818,
-0.039822768419981,
0.014043725095689297,
0.10379005968570709,
-0.04837164655327797,
0.007772425189614296,
-0.13604708015918732,
0.01203132513910532,
0.01674843765795231,
-0.029104653745889664,
-0.016413984820246696,
-0.000510551908519119,
0.04001045972108841,
0.012770375236868858,
-0.002794636180624366,
0.010208871215581894,
-0.02685808204114437,
0.061739854514598846,
-0.03934711962938309,
0.09704986959695816,
0.029960835352540016,
0.0801229253411293,
-0.05619240924715996,
0.05582020804286003,
0.02757422626018524,
0.0069275833666324615,
-0.0926443487405777,
-0.013156122528016567,
-0.03394608944654465,
-0.03612378612160683,
0.03128240630030632,
0.0016208398155868053,
-0.008238076232373714,
-0.0387691855430603,
0.043353497982025146,
-0.07081225514411926,
-0.038804009556770325,
0.024510905146598816,
-0.006689389701932669,
0.003986326511949301,
-0.044000931084156036,
-0.0030953167006373405,
0.061626121401786804,
-0.014783976599574089,
-0.003058265894651413,
0.051827508956193924,
0.04784825071692467,
0.07530532032251358,
-0.03185410797595978,
-0.04981720447540283,
0.03471703082323074,
0.027608882635831833,
-0.022024139761924744,
0.02873852662742138,
0.0542832612991333,
0.04942410811781883,
-0.026764823123812675,
0.012035402469336987,
-0.011924360878765583,
-0.020079342648386955,
0.04056296497583389,
0.009493216872215271,
-0.023578498512506485,
-0.04269645735621452,
0.03489250689744949,
-0.044101063162088394,
0.06888207793235779,
0.0732697993516922,
0.06383863091468811,
-0.026049595326185226,
-0.012433378025889397,
0.015096113085746765,
-0.028797809034585953,
0.052211225032806396,
-0.03236392140388489,
0.04608335345983505,
-0.0016902616480365396,
0.027806473895907402,
0.09894368797540665,
-0.010311165824532509,
-0.0006024640752002597,
0.02278907038271427,
0.0055000800639390945,
-0.015620635822415352,
-0.027969487011432648,
-0.01788976602256298,
-0.015015157870948315,
0.06962237507104874,
-0.01099645346403122,
-0.2544473111629486,
0.040912773460149765,
0.016334256157279015,
0.038175053894519806,
-0.01595115289092064,
0.033454544842243195,
0.0300810057669878,
-0.05919206142425537,
0.005329494830220938,
0.05115592107176781,
0.0009047258063219488,
0.047115541994571686,
0.015705661848187447,
0.004847072996199131,
0.01667517051100731,
-0.0048445528373122215,
0.05410856753587723,
0.04921900853514671,
0.038513828068971634,
-0.011380446143448353,
-0.01188039593398571,
-0.03457455709576607,
0.15462267398834229,
0.00656157499179244,
-0.01282563153654337,
0.03967338800430298,
-0.00004497405461734161,
0.004336035344749689,
0.06891290098428726,
0.05624781921505928,
0.0170028954744339,
0.0037872912362217903,
0.046744924038648605,
0.03426090627908707,
0.027027692645788193,
-0.04101281985640526,
0.02632138505578041,
0.05940445140004158,
0.01924000307917595,
-0.03926727548241615,
-0.016610872000455856,
0.03736906498670578,
-0.01140492781996727,
0.04621994495391846,
0.04026526212692261,
-0.012240116484463215,
-0.005759005900472403,
-0.05773662403225899,
-0.07543222606182098,
-0.006981204729527235,
-0.0019200722454115748,
0.011645625345408916,
-0.012356424704194069,
-0.004719310440123081,
0.006491019856184721,
0.059744514524936676,
0.02779134176671505,
-0.026614051312208176,
-0.015799999237060547,
0.0007148009608499706,
0.02897237055003643,
-0.05804586783051491,
0.08693131059408188,
0.013069197535514832,
0.030447999015450478
] | [
-0.041221391409635544,
0.028966126963496208,
-0.018237486481666565,
0.02356594428420067,
0.014610355719923973,
-0.014609706588089466,
-0.02973979152739048,
0.05094408988952637,
-0.016564039513468742,
0.013561363331973553,
-0.0406980887055397,
-0.000040684230043552816,
0.037072982639074326,
-0.07474110275506973,
-0.024869080632925034,
-0.05214199796319008,
-0.03962850198149681,
0.013446974568068981,
-0.004611419979482889,
-0.029791442677378654,
-0.010993340983986855,
0.033394359052181244,
0.016623375937342644,
-0.037225790321826935,
-0.00460770120844245,
0.04535786435008049,
-0.03465115278959274,
-0.0035651042126119137,
-0.013194389641284943,
-0.1088123470544815,
0.0034547781106084585,
-0.007988296449184418,
0.02458188682794571,
0.010599737986922264,
0.006601048167794943,
0.006350525189191103,
0.014594093896448612,
0.018748512491583824,
-0.055734142661094666,
-0.02475728467106819,
0.026134392246603966,
-0.054247379302978516,
-0.02962585724890232,
-0.00481053814291954,
-0.017052149400115013,
-0.025691509246826172,
-0.014472492039203644,
-0.026878347620368004,
-0.00661458121612668,
0.03173920512199402,
-0.07046688348054886,
0.026912273839116096,
0.001624277443625033,
-0.00495423749089241,
0.006700256373733282,
0.020251033827662468,
0.04093100503087044,
0.0319388322532177,
-0.02831374667584896,
-0.012175527401268482,
-0.0033555880654603243,
-0.04635541886091232,
-0.031222352758049965,
-0.04243408888578415,
-0.005669761449098587,
-0.013171127066016197,
0.003007084596902132,
-0.003904859535396099,
0.012207591906189919,
0.0069071101024746895,
0.012137840501964092,
0.07081149518489838,
-0.05533657968044281,
-0.0020820905920118093,
-0.0355440229177475,
0.02413700707256794,
0.025430828332901,
-0.031012987717986107,
0.02034202218055725,
0.014227204024791718,
-0.042368482798337936,
0.0005739135667681694,
-0.01714627631008625,
0.01161864586174488,
-0.023826712742447853,
-0.005840446799993515,
-0.03376486152410507,
0.014152518473565578,
-0.008820673450827599,
-0.02597409300506115,
-0.028922220692038536,
0.002816705033183098,
0.020211294293403625,
0.02385781891644001,
-0.09431718289852142,
0.052915289998054504,
-0.00026571439229883254,
0.004887408576905727,
0.017778106033802032,
0.795297384262085,
-0.032734215259552,
0.009033859707415104,
0.023371849209070206,
0.0043116360902786255,
-0.0061081787571311,
-0.03494572639465332,
-0.026818735525012016,
-0.003526786109432578,
-0.03030567802488804,
-0.05716429650783539,
0.04195941984653473,
-0.016713175922632217,
0.026022376492619514,
0.04203077778220177,
0.019128991290926933,
-0.020595040172338486,
0.014438250102102757,
-0.007858972065150738,
-0.030211107805371284,
-0.00166611117310822,
0.016155889257788658,
-0.01982646808028221,
-0.004487756639719009,
-0.02267741784453392,
-0.0009833689546212554,
-0.17295904457569122,
-0.022182049229741096,
-6.302379901155078e-33,
0.030276449397206306,
-0.03754761442542076,
0.04735938832163811,
0.011613135226070881,
0.05186207592487335,
0.009685761295258999,
-0.006665745750069618,
0.05098119005560875,
-0.014506148174405098,
-0.015391060151159763,
0.014077063649892807,
-0.01859469898045063,
0.024443987756967545,
-0.04888744652271271,
0.013583093881607056,
-0.027687164023518562,
0.009350847452878952,
0.010982954874634743,
-0.024316856637597084,
-0.019045528024435043,
0.04420996084809303,
0.06004934012889862,
0.039367035031318665,
0.01180208008736372,
0.011221290566027164,
-0.01188540831208229,
0.026084912940859795,
-0.03641919791698456,
0.00976939219981432,
-0.030400127172470093,
-0.029780572280287743,
-0.014934607781469822,
-0.005921618547290564,
-0.04782044515013695,
0.05055690556764603,
-0.06602498888969421,
-0.05530930310487747,
-0.006551808677613735,
-0.05858161300420761,
-0.001984044909477234,
-0.03663622587919235,
0.0012866752222180367,
-0.029564661905169487,
-0.019160578027367592,
-0.037350788712501526,
0.02376728132367134,
0.0032177926041185856,
0.053436279296875,
-0.003194633638486266,
0.050568196922540665,
0.03631066903471947,
0.013733072206377983,
0.0412268303334713,
0.021225102245807648,
0.023790452629327774,
0.05157856270670891,
-0.003842291422188282,
-0.020715393126010895,
0.003945112228393555,
0.04866833612322807,
-0.0007524722022935748,
0.016764435917139053,
0.011231329292058945,
0.013415868394076824,
-0.0032839544583112,
-0.016366973519325256,
0.06269348412752151,
0.019577056169509888,
0.03835717588663101,
0.015204466879367828,
0.015144379809498787,
0.026738859713077545,
-0.033669598400592804,
0.005107673350721598,
0.006443599704653025,
-0.010173422284424305,
0.03322196006774902,
-0.0032017750199884176,
-0.001156042329967022,
-0.023121386766433716,
0.04233817383646965,
-0.013580347411334515,
-0.007538247853517532,
-0.046696487814188004,
-0.030483217909932137,
0.006193770561367273,
-0.02337813749909401,
0.009412999264895916,
-0.005630641710013151,
0.01585450768470764,
0.010794920846819878,
0.006343530025333166,
-0.006750654894858599,
-0.03539212793111801,
-0.034556660801172256,
6.556942753717244e-33,
-0.005931010935455561,
-0.031757332384586334,
-0.018769998103380203,
0.008444380946457386,
0.0662679448723793,
0.03204599395394325,
0.05673176050186157,
0.008843096904456615,
-0.02560955286026001,
0.019070662558078766,
-0.055712420493364334,
0.025272462517023087,
0.014942456968128681,
0.012379012070596218,
0.0456361398100853,
-0.004852077458053827,
0.03244781121611595,
-0.02987155131995678,
0.0003055996785406023,
0.006833871826529503,
0.005575795657932758,
-0.019803345203399658,
0.02823883295059204,
0.020042354241013527,
0.06656959652900696,
0.009100650437176228,
-0.044704679399728775,
0.020777473226189613,
-0.03522932901978493,
0.007193787954747677,
0.04132602736353874,
-0.014080044813454151,
0.00019930930284317583,
-0.03187193349003792,
-0.033462319523096085,
-0.013415750116109848,
0.008676586672663689,
-0.008891260251402855,
0.031142057850956917,
0.03423994779586792,
0.008020480163395405,
-0.02506294846534729,
0.02927316166460514,
0.025657841935753822,
-0.007770450785756111,
0.03894800320267677,
0.014708660542964935,
0.0432976558804512,
-0.019179051741957664,
0.009854010306298733,
0.0025542518123984337,
-0.010014393366873264,
-0.010794311761856079,
0.04696337506175041,
0.05130603164434433,
-0.04023721441626549,
0.020745230838656425,
0.019105752930045128,
-0.054661825299263,
-0.023464879021048546,
-0.009232115000486374,
-0.02357139065861702,
-0.023951979354023933,
0.031210174784064293,
-0.03700163587927818,
-0.03329499438405037,
-0.001603372162207961,
-0.041834667325019836,
-0.026579469442367554,
-0.024490388110280037,
0.02398083545267582,
-0.04524308070540428,
-0.014540715143084526,
0.05413201078772545,
0.012151896953582764,
0.007337449584156275,
-0.02046319469809532,
0.035023320466279984,
-0.0034402096644043922,
0.028070801869034767,
0.008786331862211227,
0.013902990147471428,
0.013634934090077877,
-0.017862126231193542,
0.03735387697815895,
-0.01571747474372387,
-0.025578700006008148,
-0.020804328843951225,
0.01764967292547226,
0.02622550167143345,
-0.05644763261079788,
-0.010468036867678165,
-0.02720610238611698,
0.010625272057950497,
0.00277309468947351,
-1.2172699292989364e-8,
0.02604767121374607,
-0.013186593540012836,
-0.04301668331027031,
0.031306903809309006,
0.03652084991335869,
-0.014589197933673859,
-0.017349304631352425,
0.02386414259672165,
-0.003613792359828949,
0.03322981297969818,
0.04583342745900154,
-0.04617840796709061,
-0.0023712008260190487,
0.011000093072652817,
0.015903010964393616,
-0.04324594512581825,
0.05767146125435829,
-0.011786824092268944,
0.00910529401153326,
-0.0011534554651007056,
0.019980577751994133,
0.04727697744965553,
-0.04933711886405945,
0.02539040707051754,
0.033296480774879456,
0.000583800021559,
0.04163585603237152,
-0.10377045720815659,
-0.012363716028630733,
-0.026649029925465584,
0.017287546768784523,
-0.036356471478939056,
-0.003993014805018902,
-0.016780085861682892,
-0.0312242042273283,
-0.009997835382819176,
0.04087086021900177,
0.05670472979545593,
0.027437204495072365,
0.006883054506033659,
-0.0051690624095499516,
0.042914848774671555,
-0.01919945701956749,
-0.024786191061139107,
-0.022427396848797798,
0.000768702884670347,
-0.026320120319724083,
0.041898977011442184,
-0.01363060250878334,
-0.01912556029856205,
-0.03304845467209816,
-0.00943651795387268,
0.0240633524954319,
0.03102073445916176,
0.008554777130484581,
0.013715045526623726,
0.04700285196304321,
-0.0031872540712356567,
0.000016647123629809357,
0.03928310424089432,
0.037501972168684006,
0.009338190779089928,
-0.010351771488785744,
-0.020697910338640213
] | spark-write-to-csv-file-with-header-using-saveasfile | https://markhneedham.com/blog/2014/11/30/spark-write-to-csv-file-with-header-using-saveasfile |
false | 2014-11-08 22:29:01 | R: dplyr - Group by field dynamically ('regroup' is deprecated / no applicable method for 'as.lazy' applied to an object of class "list" ) | [
"r-2"
] | [
"R"
] | A few months ago I wrote a blog http://www.markhneedham.com/blog/2014/08/29/r-dplyr-group_by-dynamic-or-programmatic-field-variable-error-index-out-of-bounds/[explaining how to dynamically/programatically group a data frame by a field using dplyr] but that approach has been deprecated in the latest version.
To recap, the original function looked like this:
[source,r]
----
library(dplyr)
groupBy = function(df, field) {
df %.% regroup(list(field)) %.% summarise(n = n())
}
----
And if we execute that with a sample data frame we'll see the following:
[source,r]
----
> data = data.frame(
letter = sample(LETTERS, 50000, replace = TRUE),
number = sample (1:10, 50000, replace = TRUE)
)
> groupBy(data, 'letter') %>% head(5)
Source: local data frame [5 x 2]
letter n
1 A 1951
2 B 1903
3 C 1954
4 D 1923
5 E 1886
Warning messages:
1: %.% is deprecated. Please use %>%
2: %.% is deprecated. Please use %>%
3: 'regroup' is deprecated.
Use 'group_by_' instead.
See help("Deprecated")
----
I replaced each of the deprecated operators and ended up with this function:
[source,r]
----
groupBy = function(df, field) {
df %>% group_by_(list(field)) %>% summarise(n = n())
}
----
Now if we run that:
[source,r]
----
> groupBy(data, 'letter') %>% head(5)
Error in UseMethod("as.lazy") :
no applicable method for 'as.lazy' applied to an object of class "list"
----
It turns out the 'group_by_' function doesn't want to receive a list of fields so let's remove the call to +++<cite>+++list+++</cite>+++:
[source,r]
----
groupBy = function(df, field) {
df %>% group_by_(field) %>% summarise(n = n())
}
----
And now if we run that:
[source,r]
----
> groupBy(data, 'letter') %>% head(5)
Source: local data frame [5 x 2]
letter n
1 A 1951
2 B 1903
3 C 1954
4 D 1923
5 E 1886
----
Good times! We get the correct result and no deprecation messages.
If we want to group by multiple fields we can just pass in the field names like so:
[source,r]
----
groupBy = function(df, field1, field2) {
df %>% group_by_(field1, field2) %>% summarise(n = n())
}
----
[source,r]
----
> groupBy(data, 'letter', 'number') %>% head(5)
Source: local data frame [5 x 3]
Groups: letter
letter number n
1 A 1 200
2 A 2 218
3 A 3 205
4 A 4 176
5 A 5 203
----
Or with this simpler version:
[source,r]
----
groupBy = function(df, ...) {
df %>% group_by_(...) %>% summarise(n = n())
}
----
[source,r]
----
> groupBy(data, 'letter', 'number') %>% head(5)
Source: local data frame [5 x 3]
Groups: letter
letter number n
1 A 1 200
2 A 2 218
3 A 3 205
4 A 4 176
5 A 5 203
----
I realised that we can actually just use the +++<cite>+++group_by+++</cite>+++ itself and pass in the field names without quotes, something I couldn't get to work in earlier versions:
[source,r]
----
groupBy = function(df, ...) {
df %>% group_by(...) %>% summarise(n = n())
}
----
[source,r]
----
> groupBy(data, letter, number) %>% head(5)
Source: local data frame [5 x 3]
Groups: letter
letter number n
1 A 1 200
2 A 2 218
3 A 3 205
4 A 4 176
5 A 5 203
----
We could even get a bit of pipelining going on if we fancied it:
[source,r]
----
> data %>% groupBy(letter, number) %>% head(5)
Source: local data frame [5 x 3]
Groups: letter
letter number n
1 A 1 200
2 A 2 218
3 A 3 205
4 A 4 176
5 A 5 203
----
And http://blog.rstudio.org/2014/10/13/dplyr-0-3-2/[as of dplyr 0.3] we can simplify our groupBy function to make use of the new +++<cite>+++count+++</cite>+++ function which combines +++<cite>+++group_by+++</cite>+++ and +++<cite>+++summarise+++</cite>+++:
[source,r]
----
groupBy = function(df, ...) {
df %>% count(...)
}
----
[source,r]
----
> data %>% groupBy(letter, number) %>% head(5)
Source: local data frame [5 x 3]
Groups: letter
letter number n
1 A 1 200
2 A 2 218
3 A 3 205
4 A 4 176
5 A 5 203
---- | null | null | [
0.02113926038146019,
-0.023018334060907364,
0.023066818714141846,
0.0003033255925402045,
0.06578657031059265,
0.03859258443117142,
0.014410998672246933,
-0.023033874109387398,
-0.006823481991887093,
-0.004188347142189741,
-0.0076795220375061035,
-0.002390154404565692,
-0.05772896856069565,
0.05439286679029465,
-0.048236701637506485,
0.10527335107326508,
0.06546806544065475,
-0.008659791201353073,
-0.004389595706015825,
0.0066268714144825935,
0.06412500143051147,
0.043918427079916,
0.00131881982088089,
0.04208431765437126,
0.04112154245376587,
0.017190728336572647,
0.014922351576387882,
-0.006169304251670837,
-0.03245365247130394,
0.019682463258504868,
0.03497308865189552,
0.03924788907170296,
0.01311470102518797,
0.04159267246723175,
-0.0001799518067855388,
-0.019579658284783363,
0.009931176900863647,
0.0006453762180171907,
-0.01573265716433525,
0.01486159861087799,
-0.06249801814556122,
-0.004607895854860544,
-0.025519704446196556,
0.01748650334775448,
-0.027764011174440384,
0.010310622863471508,
-0.06008826196193695,
0.018768586218357086,
-0.03714877367019653,
-0.01327346172183752,
-0.06645993143320084,
0.03031899221241474,
-0.004675509408116341,
-0.04067414253950119,
0.002729577012360096,
0.04046480357646942,
-0.008051777258515358,
-0.06704547256231308,
0.03027176670730114,
-0.020376790314912796,
-0.013493076898157597,
0.027340102940797806,
0.015344398096203804,
0.007301085628569126,
0.02301439456641674,
-0.01316759642213583,
-0.02353517897427082,
0.04124586656689644,
-0.04097994789481163,
-0.017799004912376404,
-0.03603345528244972,
-0.03985750302672386,
-0.023402877151966095,
-0.03684501349925995,
-0.002533176215365529,
-0.00980319269001484,
-0.016952648758888245,
0.05586908757686615,
0.03897083178162575,
0.014120213687419891,
-0.004001723136752844,
-0.028937844559550285,
-0.014458789490163326,
-0.0018435700330883265,
0.03425529971718788,
-0.037186019122600555,
-0.02612236887216568,
-0.03691638633608818,
-0.05455801635980606,
0.07248571515083313,
-0.018436137586832047,
-0.05691772326827049,
-0.013269764371216297,
0.017732523381710052,
-0.010663298889994621,
-0.009924734011292458,
0.021831195801496506,
-0.019885482266545296,
-0.012005074881017208,
-0.03049256093800068,
-0.07675648480653763,
-0.025206230580806732,
0.039269302040338516,
0.005051176995038986,
-0.07666924595832825,
-0.028412478044629097,
-0.02468079887330532,
0.004223577678203583,
0.01784294843673706,
-0.0020682448521256447,
-0.02279583364725113,
0.044958893209695816,
-0.006686016917228699,
0.014376610517501831,
-0.04610011354088783,
0.06955505162477493,
0.035378169268369675,
-0.002669357927516103,
0.014282751828432083,
-0.0014360568020492792,
0.07913954555988312,
0.01611727848649025,
-0.0017878348007798195,
0.08160050213336945,
-0.02116408199071884,
0.04427117481827736,
0.026655666530132294,
0.06214841827750206,
-0.014145364053547382,
-0.06005910038948059,
0.003688212251290679,
0.0528465136885643,
-0.058057256042957306,
-0.002967340871691704,
0.017255838960409164,
-0.028487810865044594,
-0.027452098205685616,
-0.012337920255959034,
0.071161188185215,
0.042569030076265335,
0.01856986992061138,
-0.007707477081567049,
-0.026508169248700142,
-0.009221039712429047,
0.04722924157977104,
0.026930198073387146,
0.00319832656532526,
-0.05368640273809433,
-0.04788745567202568,
0.015730038285255432,
0.024208707734942436,
0.0355488583445549,
0.07119159400463104,
-0.012068278156220913,
0.012190550565719604,
0.06832436472177505,
-0.014053244143724442,
-0.01732187159359455,
-0.019583795219659805,
0.004541121888905764,
0.03513477370142937,
0.028944261372089386,
0.00017775196465663612,
0.03503633290529251,
0.022106975317001343,
-0.046566616743803024,
0.020221397280693054,
0.045838646590709686,
-0.014013232663273811,
-0.03098824806511402,
-0.07441817969083786,
-0.08140181750059128,
0.04610789567232132,
-0.04901545122265816,
0.0058199940249323845,
0.007011796347796917,
0.07232343405485153,
0.04629538208246231,
0.036694448441267014,
0.019339682534337044,
-0.08044496178627014,
0.025383329018950462,
-0.0117721538990736,
0.015302598476409912,
0.04524574801325798,
-0.026719994843006134,
0.09329991787672043,
0.03362942487001419,
0.043835099786520004,
0.054565347731113434,
-0.06442958116531372,
-0.06355056166648865,
0.0014312652638182044,
-0.0197414793074131,
0.05255398526787758,
-0.04276210814714432,
0.012590008787810802,
0.10141441971063614,
0.010288536548614502,
0.0070236059837043285,
-0.0026647818740457296,
0.02941267378628254,
0.009871668182313442,
-0.015231162309646606,
-0.03413642570376396,
0.010275802575051785,
0.02760595828294754,
-0.010673917829990387,
-0.014656126499176025,
0.03185466304421425,
-0.014116090722382069,
0.002910482930019498,
0.028548073023557663,
-0.03592104837298393,
0.04450591653585434,
0.04050229862332344,
0.04041280224919319,
0.026447217911481857,
0.02416100911796093,
-0.03721530735492706,
0.005765643902122974,
0.015212414786219597,
-0.03661942109465599,
-0.03665626049041748,
-0.015239681117236614,
0.12711255252361298,
0.07462170720100403,
-0.00231580319814384,
-0.04074196517467499,
0.012587939389050007,
-0.012546821497380733,
-0.007173717021942139,
0.0284599456936121,
-0.03229358419775963,
-0.022800864651799202,
0.012625573202967644,
-0.040020719170570374,
-0.022025026381015778,
0.006641027517616749,
-0.03969759866595268,
-0.007222231477499008,
0.047116465866565704,
0.0027303998358547688,
0.056132130324840546,
-0.0006266713025979698,
0.006049926858395338,
-0.01210559532046318,
-0.018665486946702003,
-0.07414273172616959,
-0.006078621838241816,
0.02555324323475361,
-0.00863547995686531,
0.0406661182641983,
-0.034638889133930206,
0.00784140732139349,
-0.015172760002315044,
-0.04988507181406021,
0.016012689098715782,
0.07130355387926102,
0.04803386330604553,
-0.03224713355302811,
0.036667436361312866,
-0.02087644673883915,
-0.019861407577991486,
-0.02010226622223854,
-0.03961906582117081,
-0.040764790028333664,
-0.02260405570268631,
0.01706075295805931,
-0.0031060250476002693,
0.01166537869721651,
0.0023340301122516394,
-0.01898195408284664,
0.03823843598365784,
0.0008246922516264021,
-0.01551903784275055,
0.045516375452280045,
0.012694098055362701,
-0.03940843790769577,
-0.013863101601600647,
-0.016393018886446953,
0.05229517072439194,
0.023072602227330208,
-0.02712804265320301,
-0.010612398386001587,
-0.05065029487013817,
0.024012895300984383,
-0.04988657310605049,
-0.0349118672311306,
0.003107355209067464,
0.0343632698059082,
0.05732313543558121,
0.029429376125335693,
0.020961087197065353,
0.030182480812072754,
-0.01642964407801628,
0.008768518455326557,
-0.0061273518949747086,
0.017621664330363274,
0.03800257295370102,
-0.0033495468087494373,
0.013495801016688347,
0.035956840962171555,
-0.022719500586390495,
-0.009268083609640598,
-0.04603726416826248,
0.010525809600949287,
-0.002204179996624589,
-0.24688735604286194,
0.01907440461218357,
-0.011409143917262554,
-0.006022916175425053,
0.008129914291203022,
-0.030260877683758736,
0.020303813740611076,
-0.024486754089593887,
-0.015881279483437538,
0.009038405492901802,
0.027848418802022934,
-0.029287628829479218,
-0.01613440178334713,
0.03124348074197769,
0.02224486880004406,
0.013737775385379791,
0.0053263441659510136,
-0.02900783158838749,
0.005482860375195742,
0.05754989758133888,
0.043225813657045364,
-0.04186412692070007,
-0.016480058431625366,
0.041005369275808334,
0.028131281957030296,
0.04290604591369629,
-0.03557850047945976,
0.02049330435693264,
-0.055668577551841736,
-0.040287718176841736,
0.01293877698481083,
-0.003139584558084607,
0.025054553523659706,
0.012695945799350739,
-0.003931310027837753,
0.007561338134109974,
0.03899995610117912,
0.03317956253886223,
0.01744125224649906,
0.005040849559009075,
-0.02520759403705597,
-0.025560997426509857,
0.015569555573165417,
-0.025476695969700813,
0.06676105409860611,
0.04407182335853577,
-0.07595115154981613,
0.01681734248995781,
-0.02094266377389431,
0.08025694638490677,
0.0006705910782329738,
-0.020773781463503838,
0.0021374686621129513,
0.018040582537651062,
-0.01289582159370184,
-0.024491770192980766,
-0.03825101628899574,
0.015765130519866943,
-0.0014649764634668827,
-0.03667503222823143,
0.025367654860019684,
-0.017418308183550835,
0.017565838992595673,
-0.02653525024652481,
-0.03925103321671486,
-0.07118241488933563,
-0.07064817100763321,
-0.00001462121417716844,
0.08658028393983841,
0.03766968473792076,
-0.04600362479686737,
0.0012883833842352033,
-0.00842956081032753,
-0.10897884517908096,
-0.014729942195117474,
-0.03237685561180115,
-0.0027194495778530836,
-0.04943244904279709,
0.004853826016187668,
0.09554044157266617,
-0.03380518779158592,
-0.04353911057114601,
0.034417495131492615,
0.014681515283882618,
0.021524090319871902,
-0.02111615240573883,
-0.018842274323105812,
0.0087424973025918,
-0.0420394092798233,
-0.03977079689502716,
0.06304311007261276,
-0.04603675380349159,
-0.002510238438844681,
0.015539491549134254,
-0.009885568171739578,
0.060606181621551514,
0.011165431700646877,
0.006005867850035429,
0.023155733942985535,
0.0038002526853233576,
-0.001071019796654582,
-0.03359995782375336,
0.03676300495862961,
-0.07787756621837616,
0.0002121454308507964,
0.00814325362443924,
-0.07525230199098587,
0.013267859816551208,
-0.015900135040283203,
0.016917146742343903,
0.024369752034544945,
-0.016947269439697266,
0.04402472823858261,
-0.07611662894487381,
-0.013569047674536705,
-0.0019065371016040444,
-0.01914416067302227,
0.032601166516542435,
0.003289886051788926,
-0.02801688201725483,
-0.07290080934762955,
-0.008580577559769154,
-0.007497795391827822,
-0.022885791957378387,
-0.05238136649131775,
-0.01992732845246792,
0.02023615688085556,
0.00202818401157856,
-0.012411464937031269,
0.023408466950058937,
-0.0007835730793885887,
0.006784264929592609,
0.04883541539311409,
-0.036617081612348557,
0.048178814351558685,
-0.011632803827524185,
-0.05021937936544418,
-0.004916928708553314,
0.020457124337553978,
0.04196763411164284,
-0.0038606522139161825,
-0.04051697999238968,
0.015825210139155388,
0.016875876113772392,
0.015050874091684818,
0.01152584794908762,
0.022313956171274185,
0.01619921810925007,
-0.01655651070177555,
0.02668813243508339,
0.010047904215753078,
0.028475463390350342,
-0.012225424870848656,
-0.04748358950018883,
-0.01084396056830883,
-0.008702182210981846,
0.05053289607167244,
-0.028544321656227112,
-0.011061612516641617,
-0.06209209933876991,
-0.01370964851230383,
-0.015814589336514473,
-0.020734112709760666,
-0.040911488234996796,
0.004288713913410902,
0.04507545754313469,
-0.014407477341592312,
0.014043350704014301,
0.012710507959127426,
-0.0016456192824989557,
-0.0254345815628767,
0.017262402921915054,
-0.046857383102178574,
0.04535510390996933,
-0.00289926934055984,
0.013337436132133007,
0.04400045424699783,
-0.00738578662276268,
0.020618585869669914,
0.006581366993486881,
-0.003332371823489666,
0.0026135381776839495,
0.02154165878891945,
0.031150586903095245,
0.03934260830283165,
0.04890347644686699,
0.0006039554136805236,
0.0014218201395124197,
0.00017036798817571253,
-0.021137785166502,
-0.03435531258583069,
-0.007069495040923357,
-0.03783861920237541,
0.024862326681613922,
-0.026702148839831352,
-0.06898508220911026,
0.009901444427669048,
0.06560076028108597,
-0.012121298350393772,
0.003207931760698557,
-0.0447629913687706,
-0.005650773644447327,
-0.03959515690803528,
0.006389711517840624,
0.06750176846981049,
-0.05453556776046753,
0.01047957967966795,
-0.010912817902863026,
-0.01880008354783058,
-0.0008707629749551415,
0.01121676154434681,
-0.06173716112971306,
-0.03852657601237297,
-0.047390688210725784,
0.05458756163716316,
0.0046699694357812405,
-0.013112674467265606,
-0.06169816479086876,
0.014599407091736794,
-0.003930873703211546,
0.030972067266702652,
-0.049998991191387177,
-0.006271560210734606,
0.032363809645175934,
-0.035903118550777435,
0.008331937715411186,
-0.03162801265716553,
-0.018186723813414574,
0.02393522672355175,
0.0009116176515817642,
0.038154542446136475,
-0.015207147225737572,
0.006690158508718014,
0.033371713012456894,
-0.030991636216640472,
0.004962367471307516,
-0.04949682950973511,
0.01985267363488674,
-0.008302501402795315,
0.051677677780389786,
-0.008088342845439911,
-0.0008034319616854191,
-0.028991620987653732,
0.006713741458952427,
-0.029625538736581802,
-0.019300466403365135,
-0.01578068733215332,
-0.011045331135392189,
0.03232647851109505,
0.08777352422475815,
-0.0006476582493633032,
-0.00045171185047365725,
-0.030102476477622986,
-0.013690119609236717,
0.04165438935160637,
-0.02180878072977066,
-0.033077217638492584,
-0.007769900374114513,
-0.041863877326250076,
0.03393592685461044,
0.014363338239490986,
0.0367901474237442,
-0.03242892026901245,
0.02937709353864193,
0.021711774170398712,
0.018868867307901382,
0.037187907844781876,
0.008352224715054035,
0.028099775314331055,
-0.032097116112709045,
0.007779677398502827,
-0.07421932369470596,
-0.020798806101083755,
0.018493453040719032,
0.020409943535923958,
-0.021563837304711342,
-0.030962331220507622,
-0.049497101455926895,
0.028526514768600464,
-0.038123831152915955,
-0.04126530513167381,
0.04368787631392479,
0.008289242163300514,
-0.007080658804625273,
0.011397004127502441,
-0.06039758399128914,
0.022775398567318916,
0.0116474824026227,
-0.026004383340477943,
-0.026953037828207016,
-0.028296617791056633,
0.044535111635923386,
-0.03140643611550331,
0.011029972694814205,
-0.014766337350010872,
-0.024163365364074707,
0.037325866520404816,
0.01400249544531107,
-0.026611778885126114,
0.03700908273458481,
-0.025658782571554184,
0.02482357621192932,
0.01028827577829361,
-0.0007571994792670012,
0.00011691217514453456,
0.021290171891450882,
0.021112805232405663,
-0.04145447909832001,
0.026612158864736557,
0.004311609547585249,
0.01616571471095085,
-0.0537540540099144,
0.07960125803947449,
0.022914836183190346,
-0.05010911077260971,
-0.06636422127485275,
-0.01760757341980934,
-0.03739986941218376,
0.009316518902778625,
0.017063524574041367,
0.009131343103945255,
-0.03756335750222206,
0.05122816190123558,
-0.028340287506580353,
-0.007217157166451216,
0.07418059557676315,
-0.0009642544318921864,
-0.0013428708771243691,
0.003628755919635296,
0.05306369066238403,
0.09109771996736526,
0.054856572300195694,
0.005625700578093529,
0.0818406417965889,
-0.042053721845149994,
-0.08540689945220947,
0.03793302923440933,
-0.03493136540055275,
-0.019850196316838264,
-0.04425051063299179,
0.017885057255625725,
0.07484614104032516,
-0.011637730523943901,
0.0677931010723114,
-0.029744544997811317,
-0.012503006495535374,
-0.024569272994995117,
0.009130267426371574,
0.03443702310323715,
0.05654634162783623,
-0.006730162538588047,
0.05352626368403435,
0.004427683539688587,
-0.038676485419273376,
0.038155894726514816,
0.009260824881494045,
-0.04039236903190613,
0.012462791055440903,
-0.0020737890154123306,
0.008014347404241562,
0.025009332224726677,
0.02142244763672352,
0.047990962862968445,
-0.048396240919828415,
-0.026610445231199265,
-0.01659182272851467,
0.03954041376709938,
-0.017347922548651695,
-0.009294521994888783,
0.012860087677836418,
-0.017872095108032227,
-0.028542015701532364,
-0.04488757252693176,
-0.02640339359641075,
-0.04853038117289543,
-0.051604725420475006,
0.07349587231874466,
-0.051460929214954376,
-0.010375193320214748,
0.042660459876060486,
-0.018558353185653687,
-0.0396195687353611,
-0.051488909870386124,
-0.06821862608194351,
-0.03618235141038895,
-0.08788657933473587,
-0.006766614969819784,
0.0229900311678648,
-0.0011400212533771992,
-0.04194062948226929,
-0.012112262658774853,
-0.01925072818994522,
-0.04142412170767784,
-0.002485848031938076,
-0.05331210047006607,
-0.05640934407711029,
0.030083291232585907,
-0.007627913728356361,
0.0337740033864975,
0.0171694103628397,
0.03268929943442345,
0.005246846936643124,
-0.013638314791023731,
0.002088910434395075,
0.01839723251760006,
0.024797474965453148,
0.022485405206680298,
0.0027077188715338707,
-0.04271092638373375,
0.013245058245956898,
0.03529958799481392,
-0.0185061264783144,
-0.08370686322450638,
0.038348935544490814,
0.023771587759256363,
0.017339320853352547,
0.03049951232969761,
0.0032241393346339464,
0.03819555416703224,
-0.05562997981905937,
-0.026719583198428154,
0.02242017537355423,
0.0475105457007885,
0.018422644585371017,
-0.0322355292737484,
0.062479641288518906,
0.04644949734210968,
-0.015644345432519913,
-0.03812265023589134,
-0.041595209389925,
0.01311403512954712,
-0.04345501959323883,
-0.060010213404893875,
-0.03231869265437126,
-0.05468745902180672,
-0.06235065311193466,
-0.028101401403546333,
0.018631605431437492,
-0.06080286204814911,
-0.0010322581510990858,
-0.023524703457951546,
0.030338918790221214,
-0.01936342939734459,
0.04543375223875046,
-0.056286249309778214,
0.0377701036632061,
-0.01358397863805294,
-0.018706515431404114,
-0.017267193645238876,
0.039923470467329025,
0.014878691174089909,
0.026979051530361176,
-0.008358065970242023,
-0.031028827652335167,
0.01866201125085354,
-0.02681523747742176,
-0.002193927299231291,
0.02161996066570282,
-0.018038632348179817,
0.039927560836076736
] | [
-0.06979111582040787,
-0.015011687763035297,
-0.03035310097038746,
-0.012256419286131859,
0.08185314387083054,
-0.030523905530571938,
-0.05068184435367584,
0.011600981466472149,
0.0030464138835668564,
0.005564844235777855,
0.06667367368936539,
-0.0702294260263443,
0.042053673416376114,
-0.02969926781952381,
0.02480689436197281,
-0.030144844204187393,
-0.02986581064760685,
-0.04203704372048378,
-0.04856298491358757,
-0.017665522173047066,
-0.029823796823620796,
-0.04286525398492813,
-0.042773351073265076,
-0.016360312700271606,
0.05303443595767021,
0.053444765508174896,
-0.030964232981204987,
-0.034211672842502594,
-0.01949344575405121,
-0.21566390991210938,
0.013941535726189613,
0.02011622115969658,
0.05217989534139633,
-0.016168905422091484,
-0.007113128900527954,
0.030776824802160263,
0.026263544335961342,
0.014220657758414745,
0.015087118372321129,
0.048608724027872086,
0.0011757671600207686,
0.014097393490374088,
-0.041390471160411835,
-0.015711314976215363,
0.025017665699124336,
0.044787999242544174,
-0.08303580433130264,
-0.012753451243042946,
-0.03060382977128029,
0.027807144448161125,
-0.03388604894280434,
-0.021241918206214905,
-0.021058185026049614,
0.028276663273572922,
0.030303077772259712,
0.04676302149891853,
0.03497805446386337,
-0.00877622701227665,
0.002997667295858264,
0.00963907316327095,
0.04505950212478638,
-0.009552658535540104,
-0.14895939826965332,
0.08773154765367508,
-0.005255238153040409,
0.03547505661845207,
-0.023533623665571213,
-0.026432296261191368,
-0.0016623970586806536,
0.054617900401353836,
0.0036279228515923023,
0.007489439565688372,
-0.03062324784696102,
0.05163470283150673,
0.034261271357536316,
0.02818329818546772,
-0.04038894921541214,
0.0015877013793215156,
0.04158153757452965,
-0.042107656598091125,
-0.013659942895174026,
0.003727532224729657,
-0.010626941919326782,
-0.0387919656932354,
-0.0038725449703633785,
0.0017705539939925075,
-0.005844193510711193,
0.006001017056405544,
0.00652637705206871,
0.014983521774411201,
0.025111021474003792,
0.03126902133226395,
0.06064784154295921,
0.04902917891740799,
-0.12248901277780533,
-0.007719104643911123,
0.024129092693328857,
0.02784562110900879,
-0.01669609360396862,
0.38661953806877136,
-0.058787014335393906,
-0.011297030374407768,
0.015270650386810303,
0.06829993426799774,
-0.024242624640464783,
-0.026908058673143387,
-0.019755547866225243,
-0.043319668620824814,
0.013714269734919071,
-0.006442998070269823,
0.0005919101531617343,
-0.010291210375726223,
0.052920129150152206,
-0.06460200250148773,
0.007196918595582247,
-0.04494296386837959,
-0.006782526150345802,
0.014423979446291924,
0.010542629286646843,
0.03811826929450035,
0.019342299550771713,
-0.019557243213057518,
0.023595137521624565,
0.05985351279377937,
0.03001529909670353,
-0.0072354963049292564,
0.00882392842322588,
0.08299532532691956,
0.09525386244058609,
0.009211549535393715,
0.042119454592466354,
0.03159588575363159,
-0.09601590782403946,
-0.0074083213694393635,
0.006134869996458292,
0.016551492735743523,
0.030965697020292282,
-0.014917434193193913,
0.01577020436525345,
0.02860233001410961,
-0.023274654522538185,
-0.02308030240237713,
0.0385621078312397,
0.015127113088965416,
-0.015099231153726578,
0.1585787981748581,
-0.022386716678738594,
-0.030048778280615807,
-0.014238816685974598,
-0.016746994107961655,
0.004078289959579706,
0.031569987535476685,
-0.01990519091486931,
-0.03401784598827362,
-0.014014077372848988,
0.02706078439950943,
0.07531266659498215,
-0.043354008346796036,
-0.07703226059675217,
-0.03216862678527832,
-0.049193039536476135,
-0.022211512550711632,
-0.038495711982250214,
0.02536526322364807,
0.04418397694826126,
-0.060484591871500015,
-0.05879846215248108,
0.04058830067515373,
-0.0025673259515315294,
-0.07814536243677139,
0.022416090592741966,
-0.031091032549738884,
-0.03590886667370796,
0.036098409444093704,
0.05747932195663452,
0.020399101078510284,
-0.013999261893332005,
-0.00783651415258646,
0.05139210820198059,
0.0192758496850729,
0.04633945971727371,
0.03633250668644905,
-0.052579548209905624,
-0.004955988842993975,
-0.030693627893924713,
-0.061741698533296585,
-0.10313276946544647,
0.01833251118659973,
0.01672426611185074,
-0.026115091517567635,
-0.03363240510225296,
-0.04556182026863098,
-0.07396724075078964,
0.05419759824872017,
-0.04903879016637802,
-0.021959612146019936,
0.027226241305470467,
-0.004163827747106552,
0.010581589303910732,
-0.02908317744731903,
-0.00425697211176157,
0.04968579486012459,
0.024406081065535545,
0.019209250807762146,
-0.0521397590637207,
0.024429386481642723,
0.06514310091733932,
-0.0606197826564312,
0.05369455739855766,
0.014648725278675556,
-0.011801140382885933,
-0.033237870782613754,
-0.006158220581710339,
0.00933352205902338,
-0.03149966895580292,
0.022202620282769203,
-0.006820781622081995,
-0.0013901058118790388,
-0.008402389474213123,
0.019184831529855728,
0.02511047199368477,
-0.025042952969670296,
-0.029402613639831543,
-0.36964279413223267,
-0.03469419851899147,
0.044846467673778534,
-0.005282877013087273,
-0.03272910788655281,
-0.04907726123929024,
0.005354658234864473,
-0.01235630176961422,
-0.017804419621825218,
0.07551700621843338,
0.05722343921661377,
0.03475724160671234,
-0.0011328078107908368,
-0.0873849019408226,
0.0014917512889951468,
0.04508541524410248,
-0.01948871836066246,
-0.03676453232765198,
-0.03846801072359085,
-0.0009813904762268066,
-0.008540392853319645,
-0.022362256422638893,
0.0037776229437440634,
-0.01839515194296837,
0.06495840102434158,
-0.030283097177743912,
0.10518532991409302,
0.004373960662633181,
0.018396859988570213,
-0.008353414945304394,
0.0528276301920414,
0.026958448812365532,
-0.0077004507184028625,
-0.025711700320243835,
0.02195206843316555,
-0.05203870311379433,
-0.03373941406607628,
-0.010546420700848103,
0.00873648189008236,
-0.04435502737760544,
-0.0032489486038684845,
0.024745255708694458,
-0.030250173062086105,
-0.06366246938705444,
-0.04292977228760719,
0.02151203155517578,
-0.01974412612617016,
0.0014665776398032904,
-0.041014835238456726,
0.0660645142197609,
0.03560832142829895,
-0.021152721717953682,
0.0689532533288002,
0.04491496458649635,
0.004881345201283693,
-0.004979255609214306,
-0.07927948981523514,
0.012949761003255844,
-0.0001640283444430679,
-0.026928555220365524,
0.049840059131383896,
0.04505858197808266,
0.04249778017401695,
-0.06699256598949432,
-0.0095699243247509,
-0.02576485462486744,
-0.008556035347282887,
-0.03631287068128586,
0.023359591141343117,
0.018843406811356544,
-0.013630339875817299,
0.09682612866163254,
-0.013135872781276703,
0.047480326145887375,
0.030965110287070274,
0.03590885177254677,
-0.04917159304022789,
-0.03600439801812172,
-0.026568664237856865,
-0.03807639330625534,
0.07723027467727661,
-0.033256471157073975,
0.029737969860434532,
-0.03706774860620499,
0.033534880727529526,
0.004202617332339287,
-0.010978138074278831,
0.005416622385382652,
0.04017850384116173,
0.01779078133404255,
-0.031248711049556732,
-0.033465705811977386,
-0.04266515374183655,
-0.017862573266029358,
0.06397774815559387,
0.004696466960012913,
-0.2657442092895508,
0.009983206167817116,
0.028435764834284782,
0.0147600332275033,
0.009133410640060902,
0.053056664764881134,
0.003916546236723661,
-0.05346231162548065,
0.004005460999906063,
0.006106200627982616,
0.0013034468283876777,
0.05373124033212662,
0.038120437413454056,
-0.03273812681436539,
0.005715982988476753,
-0.018127813935279846,
0.02024836465716362,
-0.008594857528805733,
0.019206248223781586,
-0.030979054048657417,
0.014781290665268898,
-0.04561011865735054,
0.15192097425460815,
0.012609469704329967,
-0.01911316253244877,
0.009137721732258797,
-0.00027690333081409335,
-0.02153623476624489,
0.0872827097773552,
0.026026591658592224,
-0.020344626158475876,
0.005919715855270624,
0.0876399427652359,
-0.0047700293362140656,
0.017496541142463684,
-0.016180867329239845,
-0.020415624603629112,
0.003054829314351082,
0.03452138602733612,
-0.007788530085235834,
-0.031938064843416214,
0.02848356030881405,
-0.03207286819815636,
0.046948693692684174,
0.11099811643362045,
0.004168780520558357,
-0.0007560104713775218,
-0.04797163978219032,
-0.029958587139844894,
0.018742280080914497,
-0.010504215024411678,
-0.01144879125058651,
-0.013106637634336948,
0.011123999021947384,
0.01615636982023716,
0.04299924895167351,
0.028858235105872154,
-0.0021308367140591145,
0.014215938746929169,
-0.006593064405024052,
-0.0036345836706459522,
-0.03907029330730438,
0.10088634490966797,
0.03360859304666519,
0.023568730801343918
] | [
-0.009553493931889534,
0.008833998814225197,
-0.014711924828588963,
0.04772337153553963,
-0.0032687257044017315,
0.0045821405947208405,
-0.00821658130735159,
0.001032619969919324,
-0.034675054252147675,
-0.01884286105632782,
-0.0015898434212431312,
0.0432467944920063,
0.017732765525579453,
-0.028423475101590157,
-0.0035691913217306137,
-0.0045140646398067474,
-0.009623410180211067,
0.03157351538538933,
0.02047194167971611,
-0.06518390029668808,
-0.06511695683002472,
0.05270890146493912,
0.01714087650179863,
0.005694538354873657,
-0.027344224974513054,
0.05105745419859886,
-0.06699682772159576,
0.012522714212536812,
0.015793969854712486,
-0.1348392218351364,
-0.029225464910268784,
0.000288731069304049,
0.024282976984977722,
0.01646408811211586,
-0.04751581698656082,
0.023402182385325432,
-0.011773415841162205,
0.03806787356734276,
0.029913946986198425,
0.005168447270989418,
-0.033739957958459854,
0.00976389367133379,
0.003480455605313182,
0.01633002609014511,
0.0009409448248334229,
-0.0005549336783587933,
-0.023528626188635826,
-0.0018727172864601016,
-0.014994916506111622,
0.006956883706152439,
-0.014560231938958168,
0.036988358944654465,
0.014852226711809635,
0.019475284963846207,
0.009409518912434578,
-0.031086696311831474,
-0.018230976536870003,
-0.017901115119457245,
-0.037764646112918854,
-0.06033087894320488,
0.004667701665312052,
-0.031738270074129105,
-0.006933238357305527,
-0.019193878397345543,
-0.018802020698785782,
-0.01060551404953003,
-0.0005129578057676554,
0.024631623178720474,
0.023915600031614304,
-0.01679563894867897,
-0.025537995621562004,
0.03281977400183678,
-0.020400073379278183,
-0.03556162863969803,
-0.04665542021393776,
0.06552433222532272,
0.00851968489587307,
-0.057572878897190094,
0.03022824041545391,
-0.03799237683415413,
-0.024261221289634705,
-0.005772280972450972,
0.009382125921547413,
-0.0027725626714527607,
0.008453329093754292,
-0.03497697040438652,
0.034035082906484604,
-0.014347628690302372,
0.00244543026201427,
-0.025627072900533676,
-0.01961071416735649,
0.02291071228682995,
0.019284283742308617,
0.030566999688744545,
-0.09103894233703613,
0.002285968279466033,
0.011318014934659004,
-0.006083094980567694,
-0.02194336988031864,
0.830338180065155,
0.024981539696455002,
0.018008114770054817,
-0.01396996807307005,
-0.004444298800081015,
-0.026709813624620438,
-0.04643078148365021,
0.004274007864296436,
-0.014984128065407276,
-0.0020454328041523695,
-0.0167920533567667,
0.01203066948801279,
0.043364617973566055,
0.019462935626506805,
0.024352138862013817,
0.014543033204972744,
-0.013486068695783615,
0.027884466573596,
0.017141660675406456,
0.032399822026491165,
-0.008390000090003014,
0.03373727574944496,
-0.0006550555117428303,
0.04790554195642471,
0.00800457876175642,
0.01595848798751831,
-0.13885615766048431,
-0.04416457191109657,
-6.913356314306408e-33,
0.008130582049489021,
-0.006314924452453852,
0.000897621619515121,
0.00888462271541357,
0.0025900411419570446,
-0.02599504217505455,
-0.016578136011958122,
0.05977928638458252,
-0.023871243000030518,
-0.06032174825668335,
-0.002332457806915045,
0.010719808749854565,
0.040444515645504,
-0.01078044157475233,
0.051805198192596436,
-0.030881164595484734,
-0.010818209499120712,
0.022011205554008484,
0.011731058359146118,
-0.020797090604901314,
0.030178425833582878,
0.03619043901562691,
0.006617241073399782,
0.02696044184267521,
-0.004985777195543051,
0.024304283782839775,
0.0034758534748107195,
0.00019777173292823136,
-0.023374827578663826,
-0.03805113583803177,
-0.02190139889717102,
0.004207124933600426,
-0.006985027343034744,
0.009122947230935097,
0.02209867164492607,
-0.05610630661249161,
0.02354125864803791,
0.003961860667914152,
0.022798025980591774,
0.0009372879867441952,
-0.014112298376858234,
-0.016554327681660652,
-0.021639961749315262,
-0.05046485736966133,
-0.008155088871717453,
0.006932743825018406,
0.03268693387508392,
0.08958711475133896,
-0.0060119591653347015,
0.0033574942499399185,
0.007761812768876553,
-0.008625505492091179,
0.007045305799692869,
-0.0002204968623118475,
-0.0006070989184081554,
0.019875580444931984,
-0.02261190488934517,
-0.005216292571276426,
0.029963353648781776,
0.022749407216906548,
-0.012833653017878532,
0.02408250793814659,
-0.0016384304035454988,
0.012361554428935051,
0.013630393892526627,
-0.019395869225263596,
0.05631217733025551,
-0.0002684412756934762,
0.01878802850842476,
0.02169935777783394,
0.015625273808836937,
-0.0016605814453214407,
-0.018120408058166504,
0.032126475125551224,
0.034475717693567276,
-0.018721377477049828,
0.026732387021183968,
0.0000811967474874109,
0.01584365963935852,
0.029726458713412285,
0.006973674986511469,
-0.02193666435778141,
-0.0404813252389431,
-0.024566659703850746,
-0.02243615686893463,
0.006670843809843063,
0.03580217435956001,
-0.004075545817613602,
-0.049552835524082184,
-0.021770372986793518,
-0.0019765798933804035,
0.008461730554699898,
0.0328693613409996,
-0.0031006650533527136,
-0.004019283223897219,
6.773177143602912e-33,
0.023109087720513344,
0.013505930081009865,
-0.01832682080566883,
0.024047555401921272,
0.06959417462348938,
-0.02857135981321335,
0.006333860568702221,
0.00793853122740984,
-0.009828370995819569,
0.027648521587252617,
-0.031101953238248825,
-0.02055438794195652,
0.007944874465465546,
0.012503029778599739,
0.03244286775588989,
-0.01639801636338234,
-0.009498927742242813,
-0.007703613955527544,
0.010012131184339523,
0.023844823241233826,
0.014513654634356499,
0.016571473330259323,
0.02126142755150795,
0.03322610631585121,
0.020765934139490128,
0.025813212618231773,
-0.020840123295783997,
-0.03485637530684471,
-0.0225782860070467,
-0.004513517953455448,
0.029756898060441017,
-0.006974834017455578,
-0.017535682767629623,
-0.03135520964860916,
-0.05413397401571274,
0.03608804941177368,
0.0012094822013750672,
-0.022768685594201088,
-0.014995911158621311,
0.008981174789369106,
0.01707388088107109,
0.044536445289850235,
-0.01074438076466322,
0.004977632313966751,
0.01813797652721405,
-0.0016942144138738513,
0.022056451067328453,
-0.014780723489820957,
-0.018165266141295433,
0.06546256691217422,
-0.007759628817439079,
0.0090892119333148,
0.01885874755680561,
0.02644207701086998,
-0.009538264013826847,
0.0037733176723122597,
-0.0011796820908784866,
-0.03284726291894913,
-0.06832993775606155,
0.02599850669503212,
-0.015666086226701736,
-0.008438853546977043,
0.0005325184902176261,
-0.010419911704957485,
-0.04514603316783905,
-0.024052267894148827,
-0.02962452545762062,
-0.01866820454597473,
-0.008269857615232468,
0.0017727145459502935,
-0.019701151177287102,
-0.03302225098013878,
-0.002379251178354025,
0.015549464151263237,
-0.0045594582334160805,
0.02328753098845482,
-0.02002079226076603,
0.003864685306325555,
-0.018674099817872047,
0.004265769384801388,
0.011238918639719486,
-0.03769848123192787,
0.03268822282552719,
0.025668349117040634,
-0.025142714381217957,
0.006685474421828985,
-0.030818939208984375,
0.032382503151893616,
0.02188178151845932,
-0.008815525099635124,
0.004311557859182358,
-0.059151846915483475,
0.015429246239364147,
0.03730405494570732,
-0.0006533316918648779,
-1.2557590522987994e-8,
-0.031062064692378044,
0.041021257638931274,
-0.006920144893229008,
0.009705185890197754,
0.03179297596216202,
-0.02052164077758789,
-0.03247430548071861,
-0.004315349739044905,
0.030012598261237144,
0.019521955400705338,
0.027974164113402367,
-0.022631563246250153,
-0.014639448374509811,
-0.0010942973894998431,
0.008560103364288807,
-0.0009467807249166071,
0.007349175401031971,
-0.014450853690505028,
0.020594744011759758,
-0.00884850975126028,
0.02671276219189167,
-0.007685709744691849,
-0.023865893483161926,
-0.035022567957639694,
0.030003927648067474,
-0.012121050618588924,
0.014971139840781689,
-0.11534686386585236,
-0.010772563517093658,
-0.024242570623755455,
0.03853670507669449,
-0.03524100035429001,
-0.022189021110534668,
0.00312352878972888,
-0.0008355279569514096,
-0.06111600995063782,
0.023267284035682678,
0.030652020126581192,
0.01718956232070923,
0.02435973845422268,
0.007131583988666534,
0.007661756128072739,
-0.011349443346261978,
-0.0030646969098597765,
-0.012868822552263737,
-0.03024536930024624,
-0.05461985245347023,
-0.010404640808701515,
0.018469806760549545,
-0.044412970542907715,
0.052992865443229675,
-0.013073761016130447,
-0.005142008885741234,
0.045291513204574585,
0.03332484886050224,
0.0237408634275198,
-0.028093736618757248,
0.02899407036602497,
-0.0036034437362104654,
-0.03524671867489815,
3.8952620684540307e-7,
0.03084563836455345,
-0.03268479183316231,
-0.03204932063817978
] | r-dplyr-group-by-field-dynamically-regroup-is-deprecated-no-applicable-method-for-as-lazy-applied-to-an-object-of-class-list | https://markhneedham.com/blog/2014/11/08/r-dplyr-group-by-field-dynamically-regroup-is-deprecated-no-applicable-method-for-as-lazy-applied-to-an-object-of-class-list |
false | 2014-11-23 01:02:06 | R: dplyr - "Variables not shown" | [
"r-2",
"dplyr"
] | [
"R"
] | I recently ran into a problem where the result of applying some operations to a data frame wasn't being output the way I wanted.
I started with this data frame:
[source,r]
----
words = function(numberOfWords, lengthOfWord) {
w = c(1:numberOfWords)
for(i in 1:numberOfWords) {
w[i] = paste(sample(letters, lengthOfWord, replace=TRUE), collapse = "")
}
w
}
numberOfRows = 100
df = data.frame(a = sample (1:numberOfRows, 10, replace = TRUE),
b = sample (1:numberOfRows, 10, replace = TRUE),
name = words(numberOfRows, 10))
----
I wanted to group the data frame by +++<cite>+++a+++</cite>+++ and +++<cite>+++b+++</cite>+++ and output a comma separated list of the associated names. I started with this:
[source,r]
----
> df %>%
group_by(a,b) %>%
summarise(n = n(), words = paste(name, collapse = ",")) %>%
arrange(desc(n)) %>%
head(5)
Source: local data frame [5 x 4]
Groups: a
a b n
1 19 90 10
2 24 36 10
3 29 20 10
4 29 80 10
5 62 54 10
Variables not shown: words (chr)
----
Unfortunately the +++<cite>+++words+++</cite>+++ column has been excluded and I came across http://stackoverflow.com/questions/22471256/overwriting-variables-not-shown-in-dplyr[this Stack Overflow post] which suggested that the +++<cite>+++print.tbl_df+++</cite>+++ function was the one responsible for filtering columns.
Browsing the docs I found a couple of ways to overwrite this behaviour:
[source,r]
----
> df %>%
group_by(a,b) %>%
summarise(n = n(), words = paste(name, collapse = ",")) %>%
arrange(desc(n)) %>%
head(5) %>%
print(width = Inf)
----
or
[source,r]
----
> options(dplyr.width = Inf)
> df %>%
group_by(a,b) %>%
summarise(n = n(), words = paste(name, collapse = ",")) %>%
arrange(desc(n)) %>%
head(5)
----
And now we see this output instead:
[source,r]
----
Source: local data frame [5 x 4]
Groups: a
a b n words
1 19 90 10 dfhtcgymxt,zpemxbpnri,rfmkksuavp,jxaarxzdzd,peydpxjizc,trdzchaxiy,arthnxbaeg,kjbpdvvghm,kpvsddlsua,xmysfcynxw
2 24 36 10 wtokzdfecx,eprsvpsdcp,kzgxtwnqli,jbyuicevrn,klriuenjzu,qzgtmkljoy,bonbhmqfaz,uauoybprrl,rzummfbkbx,icyeorwzxl
3 29 20 10 ebubytlosp,vtligdgvqw,ejlqonhuit,jwidjvtark,kmdzcalblg,qzrlewxcsr,eckfgjnkys,vfdaeqbfqi,rumblliqmn,fvezcdfiaz
4 29 80 10 wputpwgayx,lpawiyhzuh,ufykwguynu,nyqnwjallh,abaxicpixl,uirudflazn,wyynsikwcl,usescualww,bkvsowfaab,gfhyifzepx
5 62 54 10 beuegfzssp,gfmegjtrys,wkubhvnkkk,rkhgprxttb,cwsrzulnpo,hzkvjbiywc,gbmiupnlbw,gffovxwtok,uxadfrjvdn,aojjfhxygs
----
Much better! | null | null | [
0.018002299591898918,
0.0014437773497775197,
0.0004787216894328594,
0.013422546908259392,
0.06710322946310043,
0.02215886488556862,
-0.002780795795843005,
0.000068909655965399,
-0.0002420747623546049,
-0.012039230205118656,
0.011960519477725029,
0.010920874774456024,
-0.07101166248321533,
0.014634055085480213,
-0.03487832844257355,
0.07633081823587418,
0.051946233958005905,
0.00012819918629247695,
0.031537383794784546,
-0.016178525984287262,
0.06434326618909836,
0.04379773139953613,
-0.00487881014123559,
0.026934267953038216,
0.02966342866420746,
-0.008749403059482574,
0.003937835339456797,
0.0033534453250467777,
-0.02651335299015045,
0.03245243802666664,
0.03638976439833641,
0.014235959388315678,
-0.011565330438315868,
0.007801472675055265,
0.03111732192337513,
-0.011143086478114128,
0.001902300980873406,
0.014425689354538918,
0.011862709186971188,
-0.023080196231603622,
-0.09108292311429977,
-0.009081367403268814,
-0.05395156145095825,
0.004474469926208258,
-0.02686070092022419,
0.009694859385490417,
-0.04804431274533272,
0.018010353669524193,
-0.03521769121289253,
0.015589945949614048,
-0.055733732879161835,
0.03410506993532181,
0.029252856969833374,
-0.04649725556373596,
0.02323838509619236,
0.05649842321872711,
0.02093777433037758,
-0.04374796897172928,
0.023842263966798782,
-0.0475752092897892,
-0.006331523880362511,
0.014725755900144577,
0.00011035324860131368,
0.03664027899503708,
0.01560702733695507,
-0.03217710927128792,
-0.02769586071372032,
0.03989693522453308,
-0.033796340227127075,
0.008093835785984993,
-0.03989526629447937,
-0.012942767702043056,
-0.026265962049365044,
-0.03784656524658203,
-0.013364034704864025,
-0.0219722967594862,
0.006590834353119135,
0.0405731126666069,
0.009427457116544247,
0.022543393075466156,
0.0002596637059468776,
0.010589188896119595,
0.022399544715881348,
0.011109930463135242,
0.007210147567093372,
-0.03612861409783363,
-0.030551668256521225,
-0.040537260472774506,
-0.06549861282110214,
0.03473219648003578,
-0.04969541355967522,
-0.04322238266468048,
-0.014531474560499191,
0.011269726790487766,
-0.0549953430891037,
-0.008736502379179,
0.014229848980903625,
0.0021183486096560955,
0.012064970098435879,
-0.00042669993126764894,
-0.08747711032629013,
-0.042326197028160095,
0.045865681022405624,
0.021023491397500038,
-0.09171617031097412,
0.000394440779928118,
-0.019825395196676254,
-0.000588811410125345,
0.016097739338874817,
0.0003465749614406377,
0.0002271577250212431,
0.010251875966787338,
-0.03668741509318352,
-0.010682431980967522,
-0.06560623645782471,
0.07674776762723923,
0.0374477356672287,
0.004841944668442011,
-0.001051093335263431,
-0.0032054015900939703,
0.043860990554094315,
0.038571201264858246,
0.007565694395452738,
0.07733412086963654,
0.009219050407409668,
0.023652588948607445,
0.013181650079786777,
0.06055409833788872,
-0.031155556440353394,
-0.07874231040477753,
-0.0025261533446609974,
0.06390850991010666,
-0.04090062901377678,
0.0017108307220041752,
0.00034331981441937387,
-0.019046997651457787,
-0.017484121024608612,
-0.014605363830924034,
0.048425041139125824,
0.021575212478637695,
0.038521070033311844,
-0.01480772066861391,
-0.04637821391224861,
-0.00790806207805872,
0.047211844474077225,
0.023543909192085266,
-0.017319753766059875,
-0.04154863581061363,
-0.044456321746110916,
0.01653037592768669,
0.018493104726076126,
0.027550453320145607,
0.08110862225294113,
-0.009720495902001858,
0.04403733089566231,
0.06988527625799179,
0.026855099946260452,
-0.002080869860947132,
-0.003504934022203088,
-0.008113209158182144,
0.047488898038864136,
0.04360668361186981,
0.01076323352754116,
0.04341258481144905,
-0.0010441229678690434,
-0.01974916271865368,
0.012241811491549015,
0.02220611646771431,
-0.03524672985076904,
0.008674661628901958,
-0.04603636637330055,
-0.05368390306830406,
0.045607056468725204,
-0.04565825313329697,
0.020380208268761635,
0.023098530247807503,
0.07802249491214752,
0.05703099071979523,
0.0605476014316082,
0.01835511066019535,
-0.08170235902070999,
0.05100409314036369,
-0.02792767435312271,
0.03565147891640663,
0.03239006549119949,
-0.029131732881069183,
0.09356715530157089,
0.053826406598091125,
0.0464647114276886,
0.02669704519212246,
-0.05903137847781181,
-0.09226653724908829,
-0.004265278577804565,
-0.004733183886855841,
0.04629581794142723,
-0.044172778725624084,
0.001748167909681797,
0.08707313239574432,
0.014019153080880642,
0.004207287915050983,
-0.006637249607592821,
0.03932379186153412,
0.027843212708830833,
-0.04932785779237747,
-0.045037467032670975,
0.006111146416515112,
0.018869901075959206,
-0.026742933318018913,
-0.006985968444496393,
0.04424064978957176,
-0.0009712974424473941,
0.03433093801140785,
-0.018448103219270706,
-0.018624138087034225,
0.05309421941637993,
0.023759815841913223,
0.07663550227880478,
0.029263854026794434,
0.04154420644044876,
-0.04303037002682686,
0.029230838641524315,
-0.008470790460705757,
-0.01399344764649868,
-0.023558733984827995,
0.0032668672502040863,
0.14014163613319397,
0.0674959272146225,
-0.001788315479643643,
-0.060380011796951294,
0.0010447861859574914,
-0.028303420171141624,
-0.026693670079112053,
0.04874025657773018,
0.008010267280042171,
-0.01419384777545929,
0.04744911193847656,
-0.028356168419122696,
0.017126096412539482,
0.032218124717473984,
-0.053086716681718826,
-0.01644439995288849,
0.06411386281251907,
-0.003044653218239546,
0.02348853088915348,
0.01401591394096613,
-0.010649172589182854,
0.02206864021718502,
0.008196140639483929,
-0.04803360253572464,
-0.010497145354747772,
0.051497410982847214,
-0.006468166131526232,
0.05855148658156395,
-0.05868367478251457,
-0.006618899758905172,
-0.01512880902737379,
-0.03747102990746498,
0.019035212695598602,
0.08347398787736893,
0.03825004771351814,
-0.03927383944392204,
0.0470752976834774,
-0.0004692074144259095,
-0.03397494927048683,
-0.02991541475057602,
-0.041455887258052826,
-0.03650698438286781,
-0.045099783688783646,
0.006796878296881914,
0.0033164815977215767,
0.018476035445928574,
-0.014508950524032116,
-0.017466744408011436,
0.02362159825861454,
0.023059608414769173,
-0.023708948865532875,
0.03994397073984146,
-0.029859984293580055,
-0.02755981683731079,
-0.00504422839730978,
0.006325568072497845,
0.04592118039727211,
0.02774651348590851,
-0.051229078322649,
0.012791816145181656,
-0.04574734717607498,
0.03382914513349533,
-0.048002418130636215,
-0.0382225476205349,
0.021216005086898804,
-0.012581934221088886,
0.0397837795317173,
0.010183933191001415,
-0.0023096336517482996,
0.02614239975810051,
0.03753194212913513,
0.012034357525408268,
0.015317121520638466,
0.0100706210359931,
0.024706818163394928,
0.02018803544342518,
-0.0019341749139130116,
0.0442374162375927,
-0.011368579231202602,
-0.026039214804768562,
-0.042381130158901215,
-0.02160903438925743,
-0.010440243408083916,
-0.24556900560855865,
0.006473636254668236,
-0.014635535888373852,
0.0188544150441885,
-0.008615849539637566,
-0.05483926087617874,
0.04246395081281662,
-0.022167803719639778,
-0.019756974652409554,
-0.019924720749258995,
-0.001264445367269218,
-0.03199774771928787,
-0.028726765885949135,
0.05177249759435654,
0.01697632670402527,
0.055408231914043427,
0.005470287054777145,
-0.03184472769498825,
-0.011689556762576103,
0.05508500337600708,
0.0628577396273613,
-0.05302474647760391,
-0.03946646302938461,
0.05074756592512131,
0.02156050316989422,
0.04045361280441284,
-0.054213747382164,
0.02356019616127014,
-0.06108791381120682,
-0.04846310243010521,
0.018606629222631454,
-0.01571241021156311,
-0.00817746389657259,
-0.0033922952134162188,
-0.009744888171553612,
-0.009170244447886944,
0.04238766431808472,
0.01056773029267788,
0.01834966242313385,
0.02121085114777088,
-0.01570085808634758,
-0.02569115161895752,
0.004334705416113138,
-0.021801017224788666,
0.06035846471786499,
0.012901014648377895,
-0.053959112614393234,
0.025225581601262093,
-0.037620846182107925,
0.07735179364681244,
-0.009516073390841484,
-0.01967674307525158,
-0.030737468972802162,
0.019006920978426933,
-0.03639621660113335,
-0.009812495671212673,
-0.011359657160937786,
0.00923545379191637,
-0.006141927093267441,
-0.038770269602537155,
-0.012529858388006687,
-0.036094214767217636,
-0.009482026100158691,
-0.04367070645093918,
-0.021082526072859764,
-0.06169520318508148,
-0.07607649266719818,
0.023641882464289665,
0.050438858568668365,
0.04813871532678604,
-0.04608416184782982,
0.022216567769646645,
0.0017290390096604824,
-0.09973851591348648,
-0.007960048504173756,
-0.06625290215015411,
-0.010520252399146557,
-0.011121053248643875,
-0.0006344217690639198,
0.044094283133745193,
-0.038483817130327225,
-0.023901227861642838,
0.022961191833019257,
0.001081832218915224,
0.027236798778176308,
-0.03645060956478119,
-0.001404604408890009,
-0.003677009604871273,
-0.0445084422826767,
-0.016373449936509132,
0.06527359038591385,
-0.0468958355486393,
-0.0008215709240175784,
0.02200385369360447,
-0.0041727288626134396,
0.03764637932181358,
0.004934506490826607,
0.019108589738607407,
0.05460849031805992,
0.021866165101528168,
0.023542631417512894,
-0.0342889204621315,
-0.0014572624349966645,
-0.09195435047149658,
-0.023546114563941956,
-0.0003215231990907341,
-0.09805958718061447,
0.031874362379312515,
0.0041365548968315125,
0.008903534151613712,
0.014928440563380718,
-0.007297817151993513,
0.040989942848682404,
-0.05807444453239441,
-0.011433159932494164,
-0.002691056579351425,
-0.002138875424861908,
-0.0037893045227974653,
-0.0025705297011882067,
0.00004243114381097257,
-0.056721851229667664,
0.010095891542732716,
-0.020107926800847054,
-0.03329355642199516,
-0.052461087703704834,
-0.006654501426964998,
0.00981862936168909,
-0.005250576883554459,
-0.020997799932956696,
0.04792173579335213,
-0.010229313746094704,
-0.019088229164481163,
0.04176733270287514,
-0.024053672328591347,
0.013470204547047615,
-0.02368113026022911,
-0.05051464959979057,
0.018627719953656197,
0.005229054484516382,
0.03287322446703911,
-0.009204146452248096,
0.0061129252426326275,
0.014973514713346958,
0.029350794851779938,
0.030912037938833237,
0.005040799733251333,
0.008316129446029663,
0.025301244109869003,
-0.025117293000221252,
0.03306283429265022,
0.0318991094827652,
0.01282945740967989,
-0.005710543133318424,
-0.038859039545059204,
-0.03089645877480507,
-0.008690113201737404,
0.05317423492670059,
-0.004154179710894823,
-0.029584303498268127,
-0.055303364992141724,
-0.030254026874899864,
-0.029144274070858955,
-0.010295204818248749,
-0.020875776186585426,
-0.0035935468040406704,
0.038650110363960266,
-0.025238625705242157,
0.01898784004151821,
0.01338378805667162,
0.0038373495917767286,
0.01034342497587204,
0.026306195184588432,
-0.0310450978577137,
0.013777964748442173,
-0.009129597805440426,
-0.023669447749853134,
0.04152442514896393,
-0.003169149160385132,
0.02682368829846382,
0.022036727517843246,
-0.010814152657985687,
-0.024980982765555382,
0.024601880460977554,
-0.008991195820271969,
0.06167442724108696,
0.05399010702967644,
0.008231621235609055,
-0.008155697956681252,
-0.022597623988986015,
-0.037921469658613205,
-0.01809503324329853,
-0.006422617472708225,
-0.004992971662431955,
0.0060048531740903854,
-0.019958028569817543,
-0.08602339029312134,
0.005422805901616812,
0.07486923784017563,
-0.03420574218034744,
0.004298084881156683,
-0.054218798875808716,
0.007938416674733162,
-0.05315467342734337,
0.04170053452253342,
0.04320055618882179,
-0.06891042739152908,
0.0073755946941673756,
-0.02812849171459675,
-0.0007178034284152091,
0.022932279855012894,
-0.013774141669273376,
-0.06115966662764549,
-0.05004509165883064,
-0.040245670825242996,
0.03698059916496277,
-0.004405993968248367,
-0.016796404495835304,
-0.0740087702870369,
-0.006244584918022156,
-0.006979470606893301,
0.03552967682480812,
-0.047845128923654556,
0.011604893021285534,
-0.028199102729558945,
-0.016205575317144394,
0.002365357242524624,
-0.036453377455472946,
-0.02614585869014263,
0.04082123190164566,
-0.017721980810165405,
0.01485920324921608,
-0.018807126209139824,
0.032995421439409256,
0.04259217530488968,
-0.0021749367006123066,
-0.01816742680966854,
-0.04325756058096886,
-0.005002545192837715,
0.00816823448985815,
0.022073691710829735,
0.0005645623314194381,
0.006929165683686733,
-0.054317645728588104,
0.004978946875780821,
-0.03572043776512146,
-0.0008438954246230423,
-0.030945178121328354,
-0.024152634665369987,
0.020698122680187225,
0.06872131675481796,
0.01344122551381588,
0.0001938133646035567,
-0.014401636086404324,
-0.03555573523044586,
0.05523453280329704,
-0.013176103122532368,
-0.03158301115036011,
-0.008637935854494572,
-0.033541008830070496,
0.026694411411881447,
-0.0009918191935867071,
0.013658039271831512,
-0.03134710714221001,
0.031024102121591568,
0.030373750254511833,
0.019733522087335587,
0.023715393617749214,
-0.0209659356623888,
0.02525465376675129,
-0.024055439978837967,
0.018721282482147217,
-0.10021089017391205,
-0.049243535846471786,
0.02881644479930401,
0.04027099534869194,
-0.011987712234258652,
-0.03631968796253204,
-0.03130439668893814,
0.041735392063856125,
-0.052314020693302155,
-0.029088737443089485,
0.030837932601571083,
0.01731383427977562,
0.007049211300909519,
0.016362005844712257,
-0.027114946395158768,
-0.006692175287753344,
0.0324983187019825,
-0.01685178093612194,
-0.009702201932668686,
-0.022920195013284683,
0.05711137130856514,
-0.033752236515283585,
0.000016830203094286844,
-0.009683599695563316,
-0.025698667392134666,
0.03618862107396126,
0.032477833330631256,
0.008552290499210358,
0.03100348263978958,
-0.03358915075659752,
0.0060997637920081615,
0.02858763188123703,
-0.002434032503515482,
0.013066175393760204,
0.037607137113809586,
-0.007522216532379389,
-0.03069256618618965,
-0.008338880725204945,
0.024557599797844887,
0.0181709174066782,
-0.057697199285030365,
0.0838661789894104,
-0.004813108127564192,
-0.07771488279104233,
-0.06423491984605789,
0.00026011033332906663,
-0.026113737374544144,
0.01632511243224144,
-0.008765602484345436,
0.0033316551707684994,
-0.023610517382621765,
0.0607108511030674,
-0.006604064255952835,
0.0005428845761343837,
0.09219549596309662,
-0.012330565601587296,
-0.015165564604103565,
0.0025134857278317213,
0.05038256570696831,
0.07448232173919678,
0.05949878692626953,
-0.0027814526110887527,
0.042805906385183334,
-0.03951697424054146,
-0.05645640566945076,
0.022542985156178474,
-0.02915521338582039,
0.009652829729020596,
-0.004588449373841286,
0.007780036889016628,
0.07929715514183044,
-0.01592421904206276,
0.05154350399971008,
-0.0143223712220788,
-0.0020764991641044617,
-0.014658896252512932,
0.020133841782808304,
0.03542236611247063,
0.0753774493932724,
0.009758462198078632,
0.03550867736339569,
-0.011265067383646965,
-0.01639043726027012,
0.015664691105484962,
0.02131696604192257,
0.013515118509531021,
0.0038500854279845953,
-0.009375730529427528,
0.002921003382652998,
0.009358169510960579,
0.01714073307812214,
0.07318630069494247,
-0.02774066850543022,
-0.016619548201560974,
0.008347935974597931,
0.06610546261072159,
-0.023027483373880386,
0.025391357019543648,
0.017230333760380745,
-0.03828214108943939,
-0.022451849654316902,
-0.048280198127031326,
-0.046659596264362335,
-0.03635178133845329,
-0.031311437487602234,
0.023318814113736153,
-0.04526412859559059,
0.001697662053629756,
0.01732465624809265,
-0.0036548401694744825,
-0.015550957061350346,
-0.060332875698804855,
-0.05915103480219841,
-0.06899254769086838,
-0.06810016930103302,
0.003223762847483158,
0.004331027157604694,
-0.013818381354212761,
-0.05973680317401886,
-0.02618570066988468,
-0.020078245550394058,
-0.013718031346797943,
-0.010918556712567806,
-0.02881779707968235,
-0.031954389065504074,
0.018867189064621925,
0.0433570072054863,
0.02380511537194252,
0.028166860342025757,
0.0424923412501812,
0.00491962069645524,
-0.011675965040922165,
0.022774213925004005,
0.024448968470096588,
0.03749147430062294,
0.020243413746356964,
0.013248837552964687,
-0.06781961768865585,
0.02194688655436039,
-0.018180562183260918,
0.007303634658455849,
-0.0916069969534874,
0.02641994133591652,
0.041699402034282684,
0.003995400853455067,
0.02218395099043846,
-0.018242087215185165,
0.01389772817492485,
-0.02260017581284046,
-0.02443579025566578,
0.01772843673825264,
0.04767822474241257,
0.03791794925928116,
-0.03880957141518593,
0.05497733876109123,
0.041713468730449677,
0.016269318759441376,
-0.04584379121661186,
-0.008022473193705082,
-0.01821165531873703,
-0.004997791722416878,
-0.06883856654167175,
-0.03250449150800705,
-0.05692286044359207,
-0.07072430849075317,
-0.00438473979011178,
0.011387385427951813,
-0.08048424124717712,
-0.007931121625006199,
-0.02000522054731846,
0.006708103232085705,
-0.03918449580669403,
0.045099277049303055,
-0.03282349556684494,
0.031052256003022194,
-0.01682068407535553,
-0.030498109757900238,
-0.006382431369274855,
0.03831585869193077,
0.033893778920173645,
0.023935584351420403,
0.001752846292220056,
-0.04915481060743332,
0.020781736820936203,
-0.0006142970523796976,
-0.012742427177727222,
0.037142202258110046,
-0.006733749061822891,
0.030389584600925446
] | [
-0.03936174884438515,
-0.010255963541567326,
-0.04011547937989235,
0.010296327993273735,
0.06833633780479431,
-0.0491747185587883,
-0.05029900744557381,
0.018704842776060104,
0.02996821328997612,
0.03486139699816704,
0.05343710258603096,
-0.04404831305146217,
0.04725237563252449,
-0.021696975454688072,
0.005503940861672163,
-0.030518922954797745,
-0.03752834349870682,
-0.020472371950745583,
-0.05048505961894989,
-0.00719730369746685,
-0.02314470149576664,
-0.033824797719717026,
-0.03133407235145569,
-0.03449362888932228,
0.05746522173285484,
0.059379179030656815,
-0.0077653853222727776,
-0.04447323828935623,
-0.019734805449843407,
-0.2397572249174118,
-0.009978007525205612,
0.015604040585458279,
0.03134971857070923,
-0.005679451860487461,
0.032674796879291534,
0.07767864316701889,
0.0016405499773100019,
-0.005365593358874321,
0.0022186539135873318,
0.026561666280031204,
0.017545398324728012,
0.014994760975241661,
-0.01725315861403942,
-0.010603412054479122,
0.0036571796517819166,
0.020228954032063484,
-0.062072139233350754,
-0.03218693658709526,
-0.01805916614830494,
0.02376719005405903,
-0.04856162145733833,
-0.00615348806604743,
-0.03167999908328056,
0.023617135360836983,
0.022650431841611862,
0.016305193305015564,
0.046345923095941544,
0.03406243771314621,
-0.02772311121225357,
-0.012604414485394955,
0.021131915971636772,
-0.008702882565557957,
-0.17448116838932037,
0.09636309742927551,
0.017554892227053642,
0.028401115909218788,
-0.013876548036932945,
0.0037388645578175783,
0.019990338012576103,
0.10128618031740189,
-0.0010018103057518601,
-0.018823562189936638,
-0.033480383455753326,
0.09467760473489761,
0.016710320487618446,
-0.007389269303530455,
-0.035927899181842804,
-0.016793254762887955,
0.035335056483745575,
-0.02358158491551876,
-0.015699896961450577,
-0.009217728860676289,
0.018031062558293343,
-0.018256202340126038,
-0.0035944462288171053,
-0.0011918597156181931,
-0.008033250458538532,
0.0031822281889617443,
-0.006272458005696535,
0.009975789114832878,
0.03456771373748779,
0.01742159016430378,
0.04803355038166046,
0.053385112434625626,
-0.0745185986161232,
-0.02204929292201996,
0.03581731766462326,
0.0244393739849329,
0.01857297122478485,
0.3821023106575012,
-0.044280044734478,
-0.006829613354057074,
0.009727708995342255,
0.04187256470322609,
-0.013111733831465244,
-0.03524350747466087,
-0.006546949502080679,
-0.010930543765425682,
0.0027837634552270174,
0.0017869602888822556,
-0.01782289706170559,
-0.01588059589266777,
0.05526081472635269,
-0.03630968555808067,
0.029425090178847313,
-0.01958167366683483,
0.013696406036615372,
-0.011765199713408947,
0.0022342505399137735,
0.007194034289568663,
0.016353974118828773,
-0.014678850769996643,
0.022169718518853188,
0.05301599204540253,
0.02238478884100914,
0.023930683732032776,
0.04734399914741516,
0.08245504647493362,
0.08005215972661972,
-0.0221768319606781,
0.05163467302918434,
-0.004366038832813501,
-0.07646626979112625,
-0.027525117620825768,
-0.023057516664266586,
0.005990798119455576,
0.019906099885702133,
-0.01956436224281788,
0.014056083746254444,
0.012023882009088993,
0.030018877238035202,
0.01746772974729538,
0.030271491035819054,
0.017934007570147514,
0.017023276537656784,
0.185008704662323,
-0.042966052889823914,
-0.025299882516264915,
-0.04325053095817566,
-0.035667989403009415,
0.00004968778375769034,
0.03278646245598793,
-0.013087048195302486,
-0.01759154722094536,
-0.01727241277694702,
0.015955863520503044,
0.059027060866355896,
-0.027588188648223877,
-0.06764876842498779,
-0.023856166750192642,
-0.01745920442044735,
0.00487910583615303,
-0.06749121844768524,
0.03420465439558029,
0.04781010001897812,
-0.047108277678489685,
-0.07160861790180206,
0.05383380874991417,
-0.026686478406190872,
-0.07395516335964203,
0.03153103217482567,
-0.044386811554431915,
-0.06428135931491852,
0.008230047300457954,
0.03771453723311424,
-0.0026515705976635218,
-0.024179760366678238,
-0.004458235576748848,
0.030468925833702087,
0.029458045959472656,
0.03184780851006508,
-0.002480024704709649,
-0.04963068664073944,
0.007349402643740177,
-0.023058444261550903,
-0.07941289991140366,
-0.10042961686849594,
0.017528371885418892,
0.0075912573374807835,
-0.006474277004599571,
-0.021400529891252518,
-0.03430209681391716,
-0.047192130237817764,
0.039255887269973755,
-0.07282312214374542,
-0.036057572811841965,
0.07262421399354935,
-0.01995716616511345,
-0.02770860679447651,
-0.05429036542773247,
0.01174949761480093,
0.021411022171378136,
0.02657666988670826,
0.027730010449886322,
-0.04198365658521652,
0.011570160277187824,
0.026244262233376503,
-0.04567442089319229,
0.07045300304889679,
-0.0028851197566837072,
-0.014521688222885132,
-0.0042291441932320595,
0.014789356850087643,
0.01965094543993473,
-0.04677830636501312,
0.021048622205853462,
0.008866601623594761,
-0.013311129063367844,
0.013712634332478046,
0.03033975139260292,
0.0393034890294075,
-0.05638520047068596,
-0.037494391202926636,
-0.34926360845565796,
-0.049611322581768036,
0.017398590222001076,
0.021188979968428612,
0.024040093645453453,
-0.05421777814626694,
-0.012698895297944546,
0.014822608791291714,
-0.02395099401473999,
0.0823027491569519,
0.021677223965525627,
0.0013987834099680185,
-0.022228039801120758,
-0.08780716359615326,
0.01442250981926918,
0.015473573468625546,
0.00330380373634398,
-0.029601702466607094,
-0.027015790343284607,
-0.006031455472111702,
-0.018787987530231476,
-0.012950754724442959,
-0.006593993399292231,
-0.010021661408245564,
0.042514264583587646,
-0.019695354625582695,
0.12563157081604004,
0.006689316593110561,
0.04140083119273186,
0.006261890754103661,
0.04239524155855179,
0.01402320060878992,
-0.011709559708833694,
-0.025615962222218513,
0.053063906729221344,
-0.05001584812998772,
-0.04194577783346176,
0.035729534924030304,
-0.01207320112735033,
-0.04644599184393883,
0.0061519332230091095,
0.00933607667684555,
-0.0420817993581295,
-0.017454402521252632,
-0.004815892316401005,
0.029148075729608536,
-0.02872072160243988,
-0.00808748695999384,
-0.0635092481970787,
0.056029774248600006,
0.025841666385531425,
-0.00017592572839930654,
0.07075091451406479,
0.046252474188804626,
0.039242275059223175,
-0.01157006248831749,
-0.07586152851581573,
0.002357992809265852,
-0.02746715396642685,
-0.05963520705699921,
0.023908346891403198,
0.030769353732466698,
0.0350247286260128,
-0.038277387619018555,
-0.011397715657949448,
0.0037254386115819216,
0.017212562263011932,
-0.016048476099967957,
0.010288666002452374,
0.06933724880218506,
-0.03273124247789383,
0.10348030924797058,
-0.02523411251604557,
0.025762507691979408,
0.0250265970826149,
0.04981420934200287,
-0.02702593430876732,
-0.02856168895959854,
-0.0064970445819199085,
-0.042283911257982254,
0.07181331515312195,
-0.03803601488471031,
0.014340092428028584,
-0.015014240518212318,
0.050233494490385056,
0.016741598024964333,
0.010276636108756065,
-0.013433375395834446,
0.04243450611829758,
0.04412265866994858,
-0.01845894381403923,
-0.03981569781899452,
-0.003364631673321128,
0.00008025956049095839,
0.06423190236091614,
0.00940494704991579,
-0.28605666756629944,
0.008173217996954918,
0.03283992409706116,
-0.001629185164347291,
0.0006183311343193054,
0.003308988641947508,
-0.014720617793500423,
-0.05058983713388443,
0.0019310133066028357,
0.018716732040047646,
-0.028143538162112236,
0.052179235965013504,
0.02923024445772171,
-0.03760474547743797,
-0.024512600153684616,
-0.008841033093631268,
0.014365771785378456,
-0.018373025581240654,
0.024500176310539246,
0.007362165488302708,
0.018130362033843994,
-0.06760313361883163,
0.16479896008968353,
-0.00337965227663517,
0.012489358894526958,
-0.05600038915872574,
-0.027637427672743797,
-0.05105993524193764,
0.07390327006578445,
0.01168515719473362,
0.005900063086301088,
-0.014919350855052471,
0.08703006058931351,
0.0026619737036526203,
0.02006579376757145,
-0.020126396790146828,
-0.020553534850478172,
0.07958264648914337,
0.04681392386555672,
-0.04777437448501587,
-0.021239863708615303,
0.007864794693887234,
-0.020874537527561188,
0.005561497062444687,
0.08734124153852463,
-0.0013749942881986499,
-0.0031785438768565655,
-0.036186691373586655,
-0.019269723445177078,
0.0060640485025942326,
-0.0181450005620718,
0.02424187771975994,
-0.01185914222151041,
-0.005189588759094477,
0.035426508635282516,
0.01700916513800621,
0.009478501975536346,
0.0030522842425853014,
0.016454212367534637,
0.02142977900803089,
-0.013263240456581116,
-0.06645400822162628,
0.10246816277503967,
0.02365707978606224,
0.0018890082137659192
] | [
0.0123178381472826,
0.0001072437153197825,
-0.03140060976147652,
0.017378216609358788,
-0.014768287539482117,
0.0020898832008242607,
0.0068335821852087975,
-0.024112341925501823,
-0.03785064071416855,
0.0017897028010338545,
-0.021106014028191566,
0.022193050011992455,
0.0055321636609733105,
-0.024788709357380867,
-0.020244013518095016,
0.017538629472255707,
-0.010024855844676495,
-0.0005509284674189985,
0.030124923214316368,
-0.07334475219249725,
-0.06487403064966202,
0.050488993525505066,
0.028141506016254425,
-0.02145562134683132,
0.012933610007166862,
0.07108509540557861,
-0.07497776299715042,
0.003154262201860547,
0.020037027075886726,
-0.10701056569814682,
-0.012983989901840687,
-0.005386487580835819,
0.036106690764427185,
0.030562497675418854,
-0.029641715809702873,
-0.00178223114926368,
-0.040724508464336395,
0.05906560271978378,
0.016231978312134743,
0.031145820394158363,
-0.029923679307103157,
0.011093546636402607,
0.007282195147126913,
0.026435505598783493,
0.01155764702707529,
0.012479119934141636,
-0.03815425559878349,
-0.005067538004368544,
-0.009933467954397202,
0.015844570472836494,
-0.03594823181629181,
0.01625811494886875,
-0.001126849208958447,
-0.0037469679955393076,
0.014498158358037472,
-0.06853362172842026,
0.0033788990695029497,
-0.014641589485108852,
-0.008635413832962513,
-0.025357315316796303,
-0.007146876305341721,
-0.01769137755036354,
-0.025474661961197853,
-0.009014823473989964,
-0.005388555116951466,
0.006659002974629402,
-0.051495570689439774,
0.021194295957684517,
0.014955662190914154,
-0.01848047599196434,
-0.021114351227879524,
0.022605320438742638,
-0.033673565834760666,
-0.04031206667423248,
-0.053397297859191895,
0.027063313871622086,
0.010083707049489021,
-0.0662483349442482,
0.025431491434574127,
-0.007102183066308498,
-0.023792540654540062,
0.01738508604466915,
-0.003065082710236311,
-0.0026998387183994055,
-0.009900074452161789,
-0.019345223903656006,
0.011087482795119286,
-0.005426418036222458,
-0.010358118452131748,
-0.03393891081213951,
-0.019925447180867195,
0.02286304347217083,
0.02555333822965622,
-0.0030769244767725468,
-0.07679153233766556,
-0.0011117857648059726,
-0.010087610222399235,
0.00207738415338099,
-0.0007973922765813768,
0.8396057486534119,
0.027774805203080177,
0.02535160258412361,
-0.010238026268780231,
0.000012461682672437746,
-0.03211960569024086,
0.0010478998301550746,
0.04416647553443909,
-0.0029140079859644175,
-0.01515949610620737,
-0.033588722348213196,
0.02457951381802559,
0.01831510104238987,
0.037086762487888336,
0.016070015728473663,
0.004800720140337944,
-0.0005712612182833254,
0.028750425204634666,
0.009095298126339912,
0.021799376234412193,
-0.028694460168480873,
-0.002598011866211891,
-0.010760748758912086,
0.02802324667572975,
0.01129359845072031,
-0.026911351829767227,
-0.1413867473602295,
-0.00832305382937193,
-7.393729427609629e-33,
0.01078464463353157,
-0.02551424875855446,
0.006022233050316572,
-0.0029574513901025057,
0.05767029523849487,
-0.014764578081667423,
0.0031309190671890974,
-0.01305404957383871,
0.0013588450383394957,
-0.025427430868148804,
-0.003611523425206542,
0.00705284159630537,
0.007687081582844257,
-0.022333364933729172,
0.018839063122868538,
-0.019336123019456863,
0.01912715658545494,
0.047231804579496384,
-0.00841514952480793,
-0.016183093190193176,
0.023606207221746445,
0.034400563687086105,
0.004036975093185902,
0.046078577637672424,
0.020654117688536644,
-0.007095065433532,
-0.0045487540774047375,
-0.017529070377349854,
-0.0030691628344357014,
-0.05135039985179901,
-0.05020124465227127,
0.028851548209786415,
-0.003428326454013586,
-0.006821214687079191,
0.004031866788864136,
-0.05825221911072731,
0.00038514455081894994,
0.020449019968509674,
0.03706071153283119,
-0.0040722996927797794,
-0.04655632749199867,
-0.007067039143294096,
-0.04257664456963539,
-0.025684334337711334,
-0.0070084696635603905,
-0.001303048338741064,
0.03788942098617554,
0.08517918735742569,
-0.025128062814474106,
0.011453249491751194,
0.007542201783508062,
-0.005854394752532244,
0.011138327419757843,
0.013257292099297047,
0.011994936503469944,
0.034609079360961914,
0.010964848101139069,
-0.003456504549831152,
0.025098644196987152,
0.05075910687446594,
-0.05296124145388603,
0.01364600844681263,
-0.005072559230029583,
0.02096490003168583,
0.00164814165327698,
0.0019890647381544113,
0.04198947921395302,
-0.0003652287705335766,
0.023257698863744736,
0.0074272770434618,
-0.027851425111293793,
0.02436603419482708,
-0.006983920466154814,
-0.008759234100580215,
0.032267648726701736,
-0.009768634103238583,
0.003258297685533762,
0.007638154551386833,
0.003397594438865781,
0.01932353340089321,
0.014027629047632217,
0.01920318230986595,
-0.012565969489514828,
-0.03185886889696121,
-0.01754804514348507,
-0.010924749076366425,
0.018183846026659012,
-0.006438158452510834,
-0.0666009709239006,
-0.025375256314873695,
0.02353941835463047,
-0.00001540881748951506,
0.013466568663716316,
-0.01471385546028614,
0.022138837724924088,
7.653066991288042e-33,
0.01911800727248192,
0.00023191151558421552,
-0.008860353380441666,
-0.007010563742369413,
0.033605221658945084,
-0.030077889561653137,
0.016698351129889488,
-0.010309086181223392,
-0.014873244799673557,
0.018911289051175117,
-0.022947821766138077,
-0.01396937295794487,
0.007226157002151012,
0.02308800257742405,
0.028887640684843063,
-0.02405381202697754,
0.01997021585702896,
0.05355283245444298,
-0.047142233699560165,
0.024851098656654358,
0.03409433364868164,
0.003639768110588193,
0.03486349433660507,
0.01228268165141344,
0.0162348635494709,
0.03929159790277481,
-0.02779189869761467,
-0.02493547461926937,
0.009929965250194073,
0.017941676080226898,
0.02179388701915741,
-0.008238748647272587,
-0.006459842436015606,
-0.029229287058115005,
-0.018220189958810806,
0.03918983414769173,
-0.0031584175303578377,
0.00045737222535535693,
-0.012501881457865238,
-0.008710038848221302,
0.013858117163181305,
0.05285890772938728,
-0.017973585054278374,
0.01989646814763546,
0.00795182678848505,
0.019203349947929382,
0.011675478890538216,
-0.018553804606199265,
-0.029140982776880264,
0.0056412722915410995,
-0.018759917467832565,
0.02528602071106434,
0.023014968261122704,
0.02825714647769928,
0.006204655393958092,
-0.007582273334264755,
-0.007529645226895809,
0.008209716528654099,
-0.06646963953971863,
-0.014032027684152126,
-0.0213981494307518,
0.0056935385800898075,
-0.007722392212599516,
0.00030345330014824867,
-0.03464074432849884,
0.005248661618679762,
-0.022917471826076508,
0.003688098629936576,
-0.0032538878731429577,
-0.0009899386204779148,
-0.020544569939374924,
-0.043526120483875275,
0.013956477865576744,
0.021001063287258148,
-0.0016206345753744245,
0.014897349290549755,
-0.04314521700143814,
0.0002311688440386206,
-0.01039158646017313,
0.059384770691394806,
0.04232082888484001,
-0.023184631019830704,
0.04458077251911163,
-0.005752375349402428,
-0.010076240636408329,
0.0002565107715781778,
-0.02181137166917324,
0.005600735079497099,
0.02375444397330284,
-0.004559770692139864,
-0.004550930578261614,
-0.05779116600751877,
-0.019946502521634102,
0.03714565187692642,
0.011021589860320091,
-1.2925092107707314e-8,
-0.04152626916766167,
0.0510624423623085,
-0.004021146334707737,
-0.0013212490594014525,
0.022349311038851738,
-0.010235315188765526,
-0.016756383702158928,
-0.004099337384104729,
0.007359962910413742,
-0.010446779429912567,
0.04636448621749878,
-0.02772802673280239,
-0.011329005472362041,
0.006246460601687431,
0.0008312129066325724,
-0.028995802626013756,
0.019480865448713303,
-0.03964207321405411,
0.044508930295705795,
-0.014075493440032005,
0.00763666583225131,
0.017740266397595406,
-0.01949601247906685,
-0.009836388751864433,
-0.00891945231705904,
0.011992951855063438,
0.008874884806573391,
-0.08066319674253464,
0.020470701158046722,
-0.00453443406149745,
0.04925573244690895,
-0.031862907111644745,
-0.021622532978653908,
0.022739628329873085,
0.005376015789806843,
-0.06531330943107605,
0.03231725096702576,
0.02325671724975109,
-0.009079871699213982,
0.021110277622938156,
-0.028495846316218376,
-0.0043786210007965565,
-0.010284852236509323,
-0.009858192875981331,
-0.030149755999445915,
0.006415947340428829,
-0.020782290026545525,
0.0021808852907270193,
0.011208529584109783,
-0.053362682461738586,
0.06304235011339188,
-0.014525315724313259,
0.0016707826871424913,
0.05396861955523491,
0.037478622049093246,
0.0407366007566452,
-0.008217448368668556,
0.029618052765727043,
-0.006785288918763399,
-0.01792912930250168,
-0.016526516526937485,
0.03583260625600815,
-0.0005487007438205183,
-0.027828529477119446
] | r-dplyr-variables-not-shown | https://markhneedham.com/blog/2014/11/23/r-dplyr-variables-not-shown |
false | 2014-10-20 15:53:51 | Python: Converting a date string to timestamp | [
"python"
] | [
"Python"
] | I've been playing around with Python over the last few days while cleaning up a data set and one thing I wanted to do was translate date strings into a timestamp.
I started with a date in this format:
[source,python]
----
date_text = "13SEP2014"
----
So the first step is to translate that into a Python date - the https://docs.python.org/2/library/datetime.html#strftime-strptime-behavior[strftime section of the documentation] is useful for figuring out which format code is needed:
[source,python]
----
import datetime
date_text = "13SEP2014"
date = datetime.datetime.strptime(date_text, "%d%b%Y")
print(date)
----
[source,bash]
----
$ python dates.py
2014-09-13 00:00:00
----
The next step was to translate that to a UNIX timestamp. I thought there might be a method or property on the Date object that I could access but I couldn't find one and so ended up using https://docs.python.org/2/library/calendar.html#calendar.timegm[calendar] to do the transformation:
[source,python]
----
import datetime
import calendar
date_text = "13SEP2014"
date = datetime.datetime.strptime(date_text, "%d%b%Y")
print(date)
print(calendar.timegm(date.utctimetuple()))
----
[source,text]
----
$ python dates.py
2014-09-13 00:00:00
1410566400
----
It's not too tricky so hopefully I shall remember next time. | null | null | [
0.001995617290958762,
-0.008915129117667675,
-0.03724489361047745,
0.028958283364772797,
0.07774240523576736,
0.021210860460996628,
0.014886771328747272,
0.041258081793785095,
0.04140522703528404,
-0.013899624347686768,
0.0008558210101909935,
0.005641460418701172,
-0.06179748848080635,
0.016639772802591324,
-0.01999867707490921,
0.07225773483514786,
0.08213283121585846,
-0.05025486648082733,
0.022591065615415573,
0.0021562541369348764,
0.00716931140050292,
0.03986727073788643,
-0.015720712020993233,
0.005939648021012545,
-0.0014369868440553546,
-0.0014778063632547855,
-0.014244106598198414,
0.0021271344739943743,
-0.040983568876981735,
-0.00810900516808033,
0.023390335962176323,
0.0005280302721075714,
-0.014079134911298752,
0.015334457159042358,
0.03550031781196594,
-0.0015260075451806188,
-0.034224312752485275,
-0.006679818034172058,
0.012563635595142841,
0.031106609851121902,
-0.026648588478565216,
0.018299780786037445,
-0.006984722800552845,
-0.0013885957887396216,
-0.05884029343724251,
0.010070731863379478,
-0.00666090240702033,
0.031463123857975006,
-0.01387809682637453,
0.026629364117980003,
-0.04468400403857231,
0.023639865219593048,
0.007741415407508612,
-0.021076397970318794,
-0.0021948751527816057,
0.06589146703481674,
0.02057185024023056,
-0.07373350113630295,
-0.01697230339050293,
-0.0033743258100003004,
0.029369600117206573,
-0.034691620618104935,
-0.0013222969137132168,
0.006172525230795145,
0.026086771860718727,
-0.0215360838919878,
-0.004139326047152281,
0.027626844123005867,
-0.018511483445763588,
-0.02121182531118393,
-0.017207026481628418,
0.02725042589008808,
-0.050790052860975266,
-0.010189666412770748,
-0.010448534041643143,
-0.005052259657531977,
-0.026217849925160408,
0.05592130497097969,
-0.005904559977352619,
0.077633336186409,
0.016870468854904175,
0.026174288243055344,
0.07237005978822708,
0.031922414898872375,
0.018192246556282043,
-0.012086363509297371,
-0.07387842983007431,
-0.007563917897641659,
-0.050558850169181824,
0.04128390923142433,
0.004361671861261129,
-0.05252232030034065,
0.050627514719963074,
0.010144330561161041,
0.012025183066725731,
-0.0041956668719649315,
-0.024301819503307343,
-0.009348553605377674,
0.022315165027976036,
-0.019124241545796394,
-0.05221473425626755,
-0.025466013699769974,
0.055888574570417404,
0.014391595497727394,
-0.036817554384469986,
-0.0588911771774292,
-0.04762961342930794,
-0.0437689870595932,
0.014994405210018158,
0.001207779860123992,
-0.04879239574074745,
0.005342950578778982,
0.0047547584399580956,
-0.014425219036638737,
-0.05212690308690071,
0.030319787561893463,
0.014901811257004738,
-0.07047967612743378,
-0.0451381579041481,
-0.007277199532836676,
0.042490649968385696,
0.0023900275118649006,
-0.022513628005981445,
0.062294431030750275,
0.034935057163238525,
0.05370759963989258,
0.023003505542874336,
0.08200450986623764,
-0.039623748511075974,
-0.026673022657632828,
-0.04540690779685974,
0.048700254410505295,
-0.0016807416686788201,
-0.006073485128581524,
-0.003419956425204873,
-0.04319753497838974,
-0.03912602737545967,
0.021467499434947968,
0.08420780301094055,
0.034124281257390976,
0.0017927843146026134,
0.0011345806997269392,
-0.020069366320967674,
-0.01844445988535881,
-0.013087299652397633,
0.043953895568847656,
-0.01181766577064991,
-0.055814508348703384,
-0.04760633036494255,
-0.014759881421923637,
0.012543746270239353,
-0.008392986841499805,
0.05952266603708267,
-0.01287554670125246,
-0.011178513988852501,
0.04185091704130173,
0.021359868347644806,
0.04316066578030586,
-0.03630036488175392,
-0.015774188563227654,
0.022727353498339653,
0.02283482439815998,
-0.03659352287650108,
0.03504449501633644,
0.002894112141802907,
-0.021037040278315544,
-0.001222708378918469,
0.043392423540353775,
-0.020269524306058884,
0.003970731049776077,
-0.04303429275751114,
-0.05401747301220894,
0.07026892155408859,
-0.02447725646197796,
0.002108427695930004,
0.042880427092313766,
0.0913407951593399,
0.016244102269411087,
0.03699034824967384,
-0.009447438642382622,
-0.0860176607966423,
0.05535924434661865,
-0.004848799202591181,
0.03268082067370415,
0.03316573053598404,
-0.001001968514174223,
0.06466281414031982,
-0.018111880868673325,
0.020580312237143517,
0.04002454876899719,
-0.08531694114208221,
-0.052161805331707,
-0.034275855869054794,
-0.019116505980491638,
0.05002821609377861,
-0.0865110382437706,
-0.004160402342677116,
0.0461810864508152,
-0.002147890394553542,
0.04938982054591179,
0.006180954165756702,
0.004952588118612766,
-0.010468713007867336,
-0.022793937474489212,
-0.02771192044019699,
-0.009296994656324387,
0.056462325155735016,
-0.00805202778428793,
0.023073650896549225,
0.01166301965713501,
-0.0021550306119024754,
0.025487899780273438,
0.04361937940120697,
-0.013246635906398296,
0.02632976695895195,
0.045744556933641434,
0.04876809939742088,
-0.029101138934493065,
0.025431424379348755,
-0.06507521867752075,
0.03880850598216057,
0.01785462535917759,
-0.012529534287750721,
-0.04585537314414978,
-0.003846237901598215,
0.1275629699230194,
0.061166614294052124,
-0.013410194776952267,
-0.02860632725059986,
0.006098237819969654,
-0.004359687678515911,
-0.04166600480675697,
-0.012624234892427921,
0.009432223625481129,
0.009811397641897202,
0.022793976590037346,
-0.01982983760535717,
-0.007964183576405048,
-0.022199226543307304,
-0.025878097862005234,
0.009295085445046425,
0.07954531908035278,
-0.029820455238223076,
0.04461066052317619,
-0.031276799738407135,
-0.03452849015593529,
-0.015365887433290482,
-0.027644900605082512,
-0.017997492104768753,
0.018966365605592728,
0.02616274356842041,
-0.014101741835474968,
0.06954453140497208,
-0.02136596292257309,
-0.06707969307899475,
-0.012639546766877174,
-0.05961946025490761,
0.05104866996407509,
0.0833548828959465,
0.03479759395122528,
-0.006264114286750555,
0.03831082955002785,
0.010965459980070591,
0.004054190590977669,
-0.04283783957362175,
-0.05181650072336197,
-0.05979038029909134,
-0.0004447233222890645,
-0.00505812419578433,
0.0490141361951828,
0.04418973997235298,
0.02710898406803608,
0.024601496756076813,
0.010738451033830643,
-0.03705009073019028,
-0.01880558580160141,
0.0430610217154026,
-0.015132144093513489,
-0.0014917341759428382,
-0.04552744701504707,
0.007734558079391718,
0.06332208961248398,
-0.04710669443011284,
-0.0525328554213047,
-0.006516109686344862,
-0.07396154850721359,
0.024777129292488098,
-0.02435419149696827,
-0.0020136558450758457,
-0.0172798503190279,
-0.004815985448658466,
0.04906555265188217,
-0.00039169483352452517,
0.027386395260691643,
0.06847979128360748,
0.017717117443680763,
0.02180452272295952,
-0.014798079617321491,
0.020157063379883766,
0.02918027527630329,
0.03489527478814125,
-0.010665247216820717,
0.050984032452106476,
0.01731988601386547,
-0.019508277997374535,
-0.06631563603878021,
-0.0018221797654405236,
-0.03607672080397606,
-0.266247421503067,
0.019720453768968582,
-0.051023855805397034,
-0.033789362758398056,
-0.005605287384241819,
0.002048262394964695,
0.05242062732577324,
-0.0501854307949543,
-0.020729610696434975,
0.012068630196154118,
-0.0362006351351738,
-0.06621149182319641,
-0.03744112700223923,
0.06647240370512009,
0.011264123022556305,
-0.007074201945215464,
-0.023615198209881783,
-0.03689323738217354,
0.006878467742353678,
0.031047271564602852,
0.007384157739579678,
-0.03649820387363434,
-0.0031372637022286654,
0.07260783761739731,
0.004282121080905199,
0.04745068401098251,
-0.038203079253435135,
0.027810892090201378,
-0.055581457912921906,
-0.017295533791184425,
0.007713444996625185,
-0.024869391694664955,
0.03989734128117561,
-0.03888242691755295,
0.010509335435926914,
-0.02696412242949009,
0.021378526464104652,
0.01843133009970188,
0.027044471353292465,
0.01995902881026268,
-0.06820350885391235,
-0.009360364638268948,
0.02007530815899372,
-0.014703651890158653,
0.08306589722633362,
0.013212242163717747,
-0.031341634690761566,
0.000534605875145644,
-0.009152485989034176,
0.06413214653730392,
-0.027784181758761406,
-0.02652793377637863,
-0.007326231338083744,
0.0022271720226854086,
-0.03142120689153671,
-0.010629977099597454,
-0.019032839685678482,
-0.004121270962059498,
-0.011830097064375877,
-0.0161709263920784,
0.005115095525979996,
-0.027315601706504822,
0.01034859474748373,
-0.06459647417068481,
-0.04338923096656799,
-0.04661836102604866,
-0.06495437026023865,
-0.02341618947684765,
0.03833458572626114,
0.07276594638824463,
-0.06465435773134232,
-0.002231420250609517,
-0.02631569281220436,
-0.10251887142658234,
0.023271847516298294,
-0.03335946053266525,
-0.038958411663770676,
-0.008815216831862926,
-0.012397225946187973,
0.012989213690161705,
-0.052254315465688705,
-0.06318596750497818,
0.005274922586977482,
0.011727968230843544,
0.029069408774375916,
-0.03583535924553871,
-0.0024188931565731764,
-0.025806505233049393,
-0.039173372089862823,
-0.049540672451257706,
0.05835310369729996,
-0.027412060648202896,
-0.002999049611389637,
0.02467963844537735,
-0.022458434104919434,
0.03844211995601654,
0.028454042971134186,
-0.001575998729094863,
0.033593423664569855,
0.02541913092136383,
-0.00881789531558752,
-0.05214236304163933,
-0.010276233777403831,
-0.04238666594028473,
-0.00094802730018273,
-0.03629876300692558,
-0.02832684852182865,
0.03015182353556156,
0.020210575312376022,
0.021079564467072487,
-0.007891550660133362,
-0.0032006774563342333,
-0.00913423951715231,
-0.03876952454447746,
-0.024875115603208542,
-0.025583451613783836,
0.017855128273367882,
0.012145350687205791,
0.023307664319872856,
-0.0073728482238948345,
-0.04308819770812988,
-0.00424860417842865,
-0.005825904197990894,
-0.016887351870536804,
-0.053787242621183395,
-0.015920115634799004,
-0.008716716431081295,
-0.009033932350575924,
0.044553615152835846,
0.007581108249723911,
-0.03263210877776146,
0.0255754292011261,
0.05928323417901993,
0.0006553393322974443,
0.022818559780716896,
-0.004941000137478113,
-0.000193849642528221,
-0.053305063396692276,
-0.013636412099003792,
-0.0026081663090735674,
-0.005678677465766668,
0.002948303706943989,
-0.018306700512766838,
0.000036977588024456054,
0.03693476691842079,
0.02366313338279724,
0.03942891210317612,
0.01293926127254963,
-0.0011126718018203974,
0.042060889303684235,
0.004623420536518097,
-0.04571901634335518,
0.008770650252699852,
-0.0187290757894516,
-0.05066923424601555,
0.04248668625950813,
0.01857760176062584,
0.013365291990339756,
-0.010259951464831829,
-0.006272680591791868,
0.02623056247830391,
-0.04574202001094818,
0.01661652885377407,
-0.03404514119029045,
-0.0037316831294447184,
0.03338932245969772,
-0.007332713343203068,
0.04116178676486015,
0.017723146826028824,
-0.003765649860724807,
-0.00012586338561959565,
0.01677529141306877,
-0.024939199909567833,
0.01465325802564621,
0.005060525145381689,
-0.02597104199230671,
0.03993041440844536,
0.030460156500339508,
0.002833182457834482,
-0.007812333293259144,
0.0005479431129060686,
0.012562049552798271,
-0.007536403369158506,
-0.0009483702597208321,
0.022460710257291794,
0.0348021425306797,
0.009403446689248085,
-0.03350181132555008,
-0.038436390459537506,
-0.05666279047727585,
-0.01841244287788868,
-0.015097789466381073,
-0.016805702820420265,
-0.03946657106280327,
-0.02363457717001438,
-0.0783776342868805,
0.023587286472320557,
0.0463973768055439,
0.0002990704670082778,
-0.0030287965200841427,
-0.023624064400792122,
-0.0276365764439106,
-0.0235777385532856,
0.020225251093506813,
0.01737798936665058,
-0.03808839991688728,
0.007743287365883589,
-0.022720014676451683,
0.021672483533620834,
-0.010776096023619175,
0.07084411382675171,
-0.020098110660910606,
0.003827145788818598,
-0.0041468446142971516,
-0.018197782337665558,
-0.0014272740809246898,
-0.030217723920941353,
-0.019556989893317223,
0.0023175859823822975,
-0.007547679357230663,
0.05937540531158447,
0.022413957864046097,
0.007746298797428608,
-0.006165515165776014,
-0.008330733515322208,
0.0013558503706008196,
-0.008633246645331383,
0.03797534853219986,
0.015991846099495888,
0.02063204161822796,
0.03832506015896797,
-0.05322834104299545,
0.02306751161813736,
0.004389502108097076,
-0.01927955634891987,
-0.05885450541973114,
-0.0806480348110199,
-0.0010478587355464697,
0.00012078737927367911,
0.07761455327272415,
0.005319429095834494,
-0.011391178704798222,
-0.042464762926101685,
-0.01993737183511257,
-0.03667107969522476,
0.0016405764035880566,
0.008131328038871288,
-0.032577995210886,
0.007044564001262188,
0.05239296704530716,
0.022001655772328377,
0.014133386313915253,
-0.007853073067963123,
-0.021743260324001312,
0.029585201293230057,
-0.05943620949983597,
-0.04390103369951248,
0.008820032700896263,
-0.04401290416717529,
0.019825274124741554,
0.03669443726539612,
0.002038937294855714,
-0.08163967728614807,
0.024479452520608902,
0.041890498250722885,
0.0685248076915741,
0.0870470330119133,
0.019136859104037285,
0.008842452429234982,
-0.008828903548419476,
-0.026815421879291534,
-0.09082841873168945,
0.0010160955134779215,
0.03405339643359184,
0.03304083272814751,
-0.06570426374673843,
0.005769450217485428,
0.012163515202701092,
0.026759428903460503,
-0.05787564814090729,
-0.020203983411192894,
0.07296737283468246,
0.035470910370349884,
0.008169208653271198,
0.027832886204123497,
-0.038225773721933365,
0.039505500346422195,
0.05716482922434807,
-0.04162537306547165,
-0.00040705836727283895,
0.0015627857064828277,
0.07552962005138397,
-0.032734744250774384,
0.053973253816366196,
-0.037188563495874405,
0.022580847144126892,
0.06813768297433853,
0.023014966398477554,
-0.002553231781348586,
0.051484692841768265,
-0.0043692621402442455,
0.045513469725847244,
0.03359665721654892,
-0.024877743795514107,
-0.034039754420518875,
0.015136459842324257,
-0.0026894863694906235,
-0.06690904498100281,
0.020409496501088142,
0.021947365254163742,
-0.018194762989878654,
-0.023190654814243317,
0.07712884992361069,
-0.01943919248878956,
-0.028695281594991684,
-0.03609436750411987,
0.0001345443888567388,
-0.028758946806192398,
0.0029205235186964273,
-0.008131244219839573,
-0.021491244435310364,
-0.041901588439941406,
0.05842568352818489,
-0.0037089339457452297,
0.007520472165197134,
0.0608774870634079,
-0.001584829413332045,
0.002449743915349245,
0.019125686958432198,
0.04557201638817787,
0.05573655664920807,
0.05025625601410866,
0.03048911690711975,
0.04244247078895569,
-0.009706099517643452,
-0.030575355514883995,
0.009065636433660984,
-0.034432318061590195,
0.0136746596544981,
-0.011804125271737576,
0.034571323543787,
0.08086008578538895,
-0.030331900343298912,
0.028143849223852158,
0.015179364010691643,
0.00014170056965667754,
-0.03590928390622139,
0.02374536357820034,
0.05348196253180504,
0.02107657492160797,
0.002853244775906205,
0.008631088770925999,
-0.016873102635145187,
-0.03418855741620064,
0.06403881311416626,
-0.0051980712451040745,
-0.00861770287156105,
0.0421479232609272,
-0.009887143969535828,
0.0058202194049954414,
-0.00946633331477642,
0.060472577810287476,
0.052339933812618256,
-0.004871732089668512,
-0.02311692200601101,
0.011591380462050438,
0.026020636782050133,
-0.014658110216259956,
0.029206812381744385,
-0.011910319328308105,
-0.0027350864838808775,
0.027206111699342728,
-0.05817585065960884,
0.00013608486915472895,
0.015767861157655716,
-0.053002744913101196,
0.059201326221227646,
-0.002637469908222556,
0.005683032795786858,
0.0104034673422575,
-0.02347780391573906,
-0.06327972561120987,
-0.03252502903342247,
-0.060600243508815765,
-0.023981206119060516,
-0.0632147416472435,
-0.009803539142012596,
0.06679309159517288,
-0.043054837733507156,
-0.03273305296897888,
-0.006997487973421812,
-0.014644314534962177,
-0.0039787692949175835,
-0.039579734206199646,
-0.0546674020588398,
-0.055296801030635834,
0.03618635982275009,
0.012295708060264587,
-0.01650628261268139,
0.00806145928800106,
0.05807523429393768,
-0.03354794159531593,
-0.03980240970849991,
-0.018101081252098083,
0.014687251299619675,
0.026309821754693985,
0.011194880120456219,
0.015474830754101276,
-0.06171431019902229,
0.014866753481328487,
0.03931891918182373,
-0.010012208484113216,
-0.061805080622434616,
0.04424063861370087,
0.010389686562120914,
0.008267630822956562,
0.027447978034615517,
-0.03562173992395401,
-0.0012787390733137727,
-0.005767168011516333,
-0.019859105348587036,
0.0018484214087948203,
0.027916772291064262,
0.049744270741939545,
-0.0373142808675766,
0.08019234240055084,
0.06373120099306107,
-0.008316571824252605,
-0.012130709365010262,
-0.039151083678007126,
0.007632734254002571,
0.007071082945913076,
-0.025275787338614464,
-0.03860856965184212,
-0.05845417454838753,
-0.045132555067539215,
-0.034246306866407394,
0.016895469278097153,
-0.025854481384158134,
-0.031694941222667694,
0.052360810339450836,
0.010817740112543106,
-0.004357884172350168,
0.02814379706978798,
-0.05112944915890694,
-0.02330937050282955,
-0.025187760591506958,
-0.0290522538125515,
-0.04166565462946892,
0.03926454111933708,
-0.02339782565832138,
0.008207308128476143,
-0.000802657741587609,
-0.04677340388298035,
-0.025212367996573448,
-0.006245462689548731,
0.01654854416847229,
0.03601707145571709,
-0.010044952854514122,
-0.0003800700942520052
] | [
-0.07849424332380295,
-0.025509096682071686,
-0.012702262960374355,
-0.03808826953172684,
0.04333192855119705,
-0.10661405324935913,
-0.012255608104169369,
-0.006243709474802017,
-0.0010990786831825972,
0.01633157767355442,
0.0016798562137410045,
-0.0846719890832901,
0.0025340276770293713,
-0.002197692869231105,
0.036614418029785156,
-0.026735862717032433,
-0.05414212495088577,
-0.09597545117139816,
-0.02004397101700306,
0.06204785034060478,
0.026623353362083435,
0.028599688783288002,
-0.06283538043498993,
-0.025281867012381554,
0.035884421318769455,
0.06834020465612411,
0.04553412273526192,
-0.03183235600590706,
-0.028374938294291496,
-0.16681832075119019,
0.018373720347881317,
-0.014801719225943089,
0.00008332668949151412,
-0.012973373755812645,
0.03332533687353134,
0.018533462658524513,
0.04170244559645653,
0.02087906375527382,
-0.0013368228683248162,
0.06562413275241852,
0.03878050670027733,
-0.0013904378283768892,
-0.067107655107975,
-0.039207689464092255,
0.004598953295499086,
-0.008819282054901123,
-0.01717652752995491,
0.009844761341810226,
-0.0037889827508479357,
0.043546389788389206,
-0.039421819150447845,
0.023232201114296913,
-0.007332159206271172,
-0.016147790476679802,
0.01007877103984356,
0.013711837120354176,
0.04686277359724045,
0.05208035930991173,
0.03403298184275627,
-0.027694856747984886,
-0.02790718711912632,
-0.0018854611553251743,
-0.1644309163093567,
0.12446727603673935,
-0.00669880211353302,
0.04188724607229233,
-0.03027947060763836,
0.02501492016017437,
-0.03218626230955124,
0.04989328235387802,
-0.03722560405731201,
-0.04155385494232178,
-0.04880264401435852,
0.0556437186896801,
0.02247030846774578,
-0.039380211383104324,
-0.0010042072972282767,
-0.01787673681974411,
0.05374753475189209,
-0.00587615929543972,
-0.031278204172849655,
0.022892192006111145,
0.014082981273531914,
-0.03917399048805237,
-0.005011949688196182,
-0.0018477806588634849,
-0.005839984863996506,
0.038650400936603546,
0.00958878081291914,
0.024364881217479706,
0.009281550534069538,
-0.016708413138985634,
-0.0025640176609158516,
0.02494732290506363,
-0.06179972365498543,
-0.005983298644423485,
0.05032963305711746,
0.03390427306294441,
-0.0004100233782082796,
0.3705306053161621,
-0.05573386698961258,
0.01660739630460739,
-0.00768653117120266,
0.04803483933210373,
-0.014512082561850548,
-0.010756324976682663,
-0.0011276078876107931,
-0.05930562689900398,
-0.010365817695856094,
-0.04749114811420441,
-0.030034393072128296,
-0.0004693573573604226,
0.074158675968647,
-0.08655457198619843,
0.03464428335428238,
0.02536885067820549,
0.01258427556604147,
0.02583901397883892,
0.014754775911569595,
0.035451918840408325,
0.013338410295546055,
0.0003540384932421148,
0.024947622790932655,
0.029437674209475517,
-0.01597365364432335,
0.04130256175994873,
0.05069345235824585,
0.03752865269780159,
0.015981437638401985,
0.006651492789387703,
0.07982540875673294,
-0.07582493126392365,
-0.08123606443405151,
0.016986100003123283,
0.0035621104761958122,
0.017673959955573082,
-0.012254934757947922,
-0.033958517014980316,
0.011429155245423317,
-0.024447783827781677,
-0.03477116674184799,
-0.11853490769863129,
0.015588216483592987,
0.014863777905702591,
-0.05103215202689171,
0.14059944450855255,
-0.014364155009388924,
-0.031621053814888,
-0.04981916770339012,
-0.012096048332750797,
-0.06546386331319809,
0.010505967773497105,
0.038621049374341965,
-0.06369224190711975,
0.03291148692369461,
0.017184428870677948,
0.12260071188211441,
-0.00783679448068142,
-0.07233961671590805,
-0.03591100499033928,
-0.045008569955825806,
-0.048038676381111145,
-0.045785337686538696,
0.02295411378145218,
0.06968247890472412,
-0.11945442855358124,
-0.018972940742969513,
0.022129815071821213,
0.024713851511478424,
-0.0946061983704567,
0.03255204111337662,
0.02694234438240528,
-0.018586739897727966,
-0.0010884079383686185,
0.08675150573253632,
0.006065727211534977,
0.039988450706005096,
-0.007037806790322065,
0.06431294232606888,
0.008360770530998707,
-0.013209706172347069,
0.007222633808851242,
-0.033588822931051254,
0.005129131488502026,
-0.016999294981360435,
-0.08249588310718536,
-0.03412071242928505,
-0.0018705197144299746,
0.01080277469009161,
-0.007728371303528547,
0.04290958493947983,
-0.036209918558597565,
-0.05792391300201416,
0.04770008102059364,
-0.027687374502420425,
-0.012513314373791218,
-0.002717117080464959,
0.05208981782197952,
0.009600442834198475,
-0.04587747901678085,
-0.010710562579333782,
-0.028614286333322525,
0.0006521905888803303,
0.030216731131076813,
-0.005821311380714178,
-0.012073293328285217,
0.08067043870687485,
-0.06184797361493111,
0.05378550663590431,
0.05223327502608299,
-0.00127760402392596,
-0.0023528479505330324,
0.039465662091970444,
-0.03299244865775108,
0.004029386676847935,
-0.05289093032479286,
-0.001968736294656992,
-0.009325155057013035,
0.010140705853700638,
0.025179889053106308,
-0.049937400966882706,
-0.06365727633237839,
0.02418828383088112,
-0.31934958696365356,
0.005567670799791813,
0.025286415591835976,
-0.0026828893460333347,
0.07182008773088455,
-0.038212668150663376,
-0.02093738503754139,
-0.027604836970567703,
0.01953059807419777,
0.04626123234629631,
0.06373996287584305,
-0.027077017351984978,
-0.004623934160917997,
-0.09721718728542328,
0.010757582262158394,
0.017315443605184555,
-0.03609209507703781,
-0.005290246102958918,
0.0034857189748436213,
0.0305530596524477,
-0.010955922305583954,
-0.04283065348863602,
-0.03973197564482689,
-0.0659235492348671,
-0.009085498750209808,
-0.04784347489476204,
0.1221194788813591,
0.010596463456749916,
0.049456436187028885,
-0.04265743866562843,
0.04409777373075485,
-0.03306066617369652,
0.0014402201632037759,
-0.09303215146064758,
-0.009305976331233978,
-0.03065711073577404,
0.015619376674294472,
0.05124026536941528,
0.035239845514297485,
-0.02895091101527214,
-0.007059517782181501,
0.012671047821640968,
0.009741375222802162,
0.010715855285525322,
-0.011736004613339901,
0.02764325961470604,
0.04913029819726944,
-0.02356301248073578,
0.0057280040346086025,
0.06963404268026352,
0.011725208722054958,
0.01182321086525917,
0.016752446070313454,
0.018358824774622917,
-0.0033250905107706785,
-0.031577639281749725,
-0.0685608834028244,
-0.0021563514601439238,
0.004521161317825317,
-0.017894001677632332,
-0.005319563206285238,
0.029614759609103203,
0.0269547738134861,
-0.014221834018826485,
-0.05074939876794815,
0.00559722725301981,
0.006472690962255001,
-0.03205643221735954,
-0.014636892825365067,
0.020640065893530846,
-0.0057777538895606995,
0.1029893010854721,
-0.04074978455901146,
0.003025975078344345,
0.004917277954518795,
0.05569269508123398,
-0.026098519563674927,
0.08467606455087662,
0.05109642818570137,
-0.020316163077950478,
0.01343598309904337,
0.011809547431766987,
0.07142747193574905,
0.01894599013030529,
0.056536078453063965,
0.007086433935910463,
0.004732129164040089,
-0.0010805876227095723,
0.02349998615682125,
0.01818922534584999,
-0.014606756158173084,
-0.0437672883272171,
-0.0020411587320268154,
-0.030007539317011833,
0.05509897693991661,
-0.02207830734550953,
-0.258949875831604,
0.048523858189582825,
0.06521430611610413,
0.04623709246516228,
0.0022999290376901627,
-0.00479924026876688,
-0.03178403899073601,
-0.009303144179284573,
-0.047396622598171234,
0.007368116639554501,
-0.01349831186234951,
0.004597201012074947,
0.012685590423643589,
-0.011677778325974941,
0.0029259866569191217,
0.0026667919009923935,
0.041211698204278946,
-0.012843463569879532,
-0.030793849378824234,
0.01420452632009983,
0.03797163441777229,
-0.01240633800625801,
0.14828461408615112,
0.01818978413939476,
0.036960091441869736,
0.0023606596514582634,
0.00008372735464945436,
0.024796565994620323,
0.12006400525569916,
0.027869664132595062,
0.011170479469001293,
-0.01772334799170494,
0.04232877865433693,
0.017016341909766197,
0.009938389994204044,
-0.050874680280685425,
-0.04663296788930893,
0.04143943265080452,
0.02468704991042614,
0.0019347374327480793,
-0.04120329022407532,
0.04997710883617401,
-0.05179059877991676,
-0.002509539481252432,
0.07154465466737747,
0.001711924676783383,
-0.0032588390167802572,
-0.08787133544683456,
-0.026474012061953545,
-0.011270320042967796,
-0.025426127016544342,
0.004740321077406406,
-0.035459794104099274,
0.011243470013141632,
0.0018493578536435962,
0.06903983652591705,
0.05439147725701332,
-0.029296699911355972,
0.028081800788640976,
0.04043695703148842,
-0.016298551112413406,
-0.04338701441884041,
0.10568161308765411,
0.010878103785216808,
-0.005938513204455376
] | [
0.02231067419052124,
0.0643450990319252,
-0.022109849378466606,
0.03446384519338608,
-0.0146014504134655,
-0.010286703705787659,
-0.023322032764554024,
0.027730438858270645,
0.01293175294995308,
-0.080302894115448,
-0.026710625737905502,
0.011745735071599483,
-0.03049384243786335,
-0.027561772614717484,
0.03394506871700287,
-0.04671856388449669,
0.002745038131251931,
-0.005862531252205372,
0.06280609220266342,
-0.035371869802474976,
-0.03310708329081535,
0.04141831025481224,
0.027612004429101944,
0.050104789435863495,
-0.005745416972786188,
0.03323079273104668,
-0.04944869130849838,
0.00442548980936408,
0.0018444110173732042,
-0.10201720148324966,
-0.0456741526722908,
0.001531861606054008,
-0.012323405593633652,
-0.021033696830272675,
0.056511566042900085,
0.041587915271520615,
-0.004684829153120518,
-0.0047467295080423355,
-0.003909350838512182,
-0.017823491245508194,
0.0006775989895686507,
-0.013787942007184029,
0.017492031678557396,
0.005646686069667339,
-0.037096478044986725,
0.02683151885867119,
0.05229928344488144,
0.029678748920559883,
-0.06287015229463577,
-0.010935002937912941,
-0.024741141125559807,
0.03543541952967644,
-0.04147648066282272,
0.0011508511379361153,
0.0237536933273077,
0.026931606233119965,
0.00005650884486385621,
-0.016441775485873222,
0.0032473145984113216,
-0.07029436528682709,
-0.04309574142098427,
0.02061779983341694,
-0.043868403881788254,
-0.027234898880124092,
0.014078167267143726,
-0.03018568828701973,
-0.003419824643060565,
-0.008460204117000103,
0.020107613876461983,
0.02097048982977867,
-0.023167366161942482,
0.01685035228729248,
-0.0037544220685958862,
0.009578167460858822,
-0.006657634861767292,
-0.0039992425590753555,
0.030653472989797592,
-0.03324437141418457,
0.0019464695360511541,
0.03224740922451019,
0.007979433983564377,
0.014787265099585056,
-0.0021424363367259502,
0.02725408598780632,
0.022382330149412155,
-0.042183779180049896,
-0.01937083899974823,
0.07027910649776459,
0.006709082052111626,
-0.035540126264095306,
-0.016697537153959274,
-0.014951777644455433,
-0.0018816080410033464,
0.011514508165419102,
-0.0774216502904892,
0.0024871332570910454,
-0.015251364558935165,
0.02043825387954712,
0.003110201796516776,
0.7784402966499329,
-0.00021634083532262594,
0.004060413222759962,
-0.030179554596543312,
0.06080753356218338,
0.03368130698800087,
0.0003289370215497911,
-0.009318209253251553,
-0.046263862401247025,
0.027996046468615532,
-0.029625004157423973,
0.028834015130996704,
-0.017300350591540337,
0.006315555423498154,
-0.008400815539062023,
0.07177457958459854,
0.042977962642908096,
0.003985702525824308,
0.01950366422533989,
-0.005704127252101898,
0.0050327349454164505,
-0.0027295469772070646,
0.003946376498788595,
0.011865834705531597,
-0.028230544179677963,
-0.0047693983651697636,
-0.12445919215679169,
0.046901822090148926,
-6.64203678977327e-33,
-0.0055725765414536,
0.007884097285568714,
0.04956984519958496,
-0.04028947278857231,
0.04951934888958931,
0.04446147382259369,
-0.021647876128554344,
-0.014222466386854649,
0.0726667270064354,
-0.02826201356947422,
-0.019812913611531258,
-0.03577554598450661,
0.0000696396455168724,
-0.0492003932595253,
0.04103131219744682,
-0.030883803963661194,
-0.00838422030210495,
0.055909380316734314,
0.06880925595760345,
0.019288310781121254,
0.025834694504737854,
-0.0032955931965261698,
0.017671484500169754,
0.0034790756180882454,
-0.006866978015750647,
0.0009452092344872653,
0.0020810714922845364,
0.008663604967296124,
0.00909668579697609,
-0.0471789576113224,
-0.0265647005289793,
0.023566242307424545,
-0.018607892096042633,
-0.012978248298168182,
0.0554654598236084,
-0.04805454611778259,
-0.06578421592712402,
-0.04042378440499306,
0.008973916992545128,
0.005184091627597809,
-0.03585599362850189,
-0.02852007932960987,
-0.016932159662246704,
-0.03168309107422829,
-0.022019846364855766,
0.005009903572499752,
-0.0017793281003832817,
0.03490431606769562,
0.0028450358659029007,
0.04223251715302467,
0.016042524948716164,
0.010627076961100101,
0.01965055614709854,
-0.025164226070046425,
-0.018805071711540222,
0.01223914697766304,
0.03951786085963249,
-0.005105218850076199,
0.013358650729060173,
-0.007320418022572994,
0.0182895977050066,
-0.01604539155960083,
0.04357709363102913,
-0.015153382904827595,
0.03218831121921539,
0.008291821926832199,
0.04592962935566902,
0.04821227490901947,
0.04672660678625107,
0.02316354587674141,
-0.058722540736198425,
0.0013130600564181805,
-0.03014063835144043,
-0.015171044506132603,
0.006931597366929054,
-0.0018360789399594069,
0.054314035922288895,
0.015416376292705536,
0.07949050515890121,
0.04805934056639671,
0.034112349152565,
-0.0213627852499485,
0.0010996176861226559,
-0.04791821166872978,
-0.018684133887290955,
-0.006681834813207388,
0.01751602254807949,
0.004234823398292065,
0.015700077638030052,
0.02088981121778488,
-0.0006766423466615379,
-0.04567001014947891,
-0.0031189266592264175,
0.008650836534798145,
0.0011411624727770686,
6.301206610856163e-33,
0.01587410643696785,
-0.030922144651412964,
-0.039024993777275085,
0.02258833311498165,
-0.004217850044369698,
-0.06247654929757118,
0.001804982079192996,
0.05138784646987915,
-0.018643783405423164,
0.043501753360033035,
0.026972945779561996,
-0.04914744570851326,
-0.012640519998967648,
0.014523230493068695,
0.054552219808101654,
0.020181868225336075,
0.021017201244831085,
0.029331175610423088,
0.018314523622393608,
-0.01605524681508541,
-0.041148338466882706,
0.003986005205661058,
-0.024656878784298897,
0.007931778207421303,
0.04580598324537277,
0.01754225790500641,
0.029930870980024338,
-0.01577463559806347,
0.02388741821050644,
0.007579432800412178,
-0.0025946812238544226,
-0.014956824481487274,
-0.0042986758053302765,
-0.028399808332324028,
-0.037651948630809784,
0.04055902361869812,
0.014223745092749596,
-0.02290898747742176,
0.05141603201627731,
-0.03743279352784157,
0.06165601685643196,
0.041399866342544556,
-0.027613136917352676,
0.012306783348321915,
-0.0091260289773345,
0.09598735719919205,
-0.008293167687952518,
0.03508938103914261,
0.001018490525893867,
0.02133576013147831,
-0.015417330898344517,
0.015464949421584606,
-0.005393436178565025,
-0.019934851676225662,
0.014270620420575142,
-0.031876567751169205,
0.002647403394803405,
-0.008557036519050598,
-0.07196749746799469,
-0.022762661799788475,
-0.053536657243967056,
-0.02170824445784092,
-0.03621431067585945,
0.00954685639590025,
-0.036904338747262955,
-0.06247377395629883,
-0.05303855240345001,
-0.04951844736933708,
0.025181755423545837,
-0.02117984928190708,
0.01984209381043911,
-0.05413792282342911,
-0.046425946056842804,
0.04479292407631874,
-0.018896743655204773,
0.016518229618668556,
-0.0023340443149209023,
0.04529586061835289,
-0.04240346699953079,
0.0001948331919265911,
0.012206843122839928,
0.0009221573127433658,
0.016546454280614853,
0.02893279306590557,
-0.034581512212753296,
0.03184632584452629,
-0.04363744333386421,
-0.0010126226115971804,
0.040694016963243484,
-0.0016156722558662295,
-0.029279666021466255,
0.008975250646471977,
-0.0350886732339859,
0.03505649417638779,
0.014906056225299835,
-1.210127109629866e-8,
-0.00109311961568892,
0.02900106832385063,
-0.0033908134792000055,
0.015039502643048763,
0.00022516939498018473,
0.006028458941727877,
-0.029561959207057953,
-0.03095947578549385,
0.0017569024348631501,
0.02254578098654747,
0.05318696051836014,
-0.06094183400273323,
0.007047655526548624,
-0.03727259486913681,
-0.04125482961535454,
0.03069530986249447,
-0.03648681193590164,
-0.02191116288304329,
0.02228488028049469,
-0.036908719688653946,
0.02094149962067604,
-0.0031597809866070747,
0.05150962993502617,
-0.024382805451750755,
-0.01607014797627926,
0.030053135007619858,
0.005014260299503803,
-0.03597773611545563,
0.013635520823299885,
-0.031079018488526344,
0.04235837981104851,
-0.056846167892217636,
-0.02967097982764244,
-0.022091250866651535,
-0.039365287870168686,
-0.08129476010799408,
-0.02028055116534233,
-0.020608626306056976,
0.007478523999452591,
0.06046276539564133,
0.0019724899902939796,
-0.006693452596664429,
-0.02537265606224537,
-0.01661962829530239,
-0.045900505036115646,
0.019842373207211494,
-0.03651778772473335,
-0.015332166105508804,
-0.01912054233253002,
-0.012677020393311977,
0.030907852575182915,
0.004733944311738014,
0.00142992555629462,
0.01753588765859604,
0.051477544009685516,
0.042640917003154755,
0.002248913049697876,
-0.02369832620024681,
-0.04549863934516907,
-0.00511928042396903,
-0.009502223692834377,
0.03621869161725044,
-0.019098298624157906,
-0.03688379377126694
] | python-converting-a-date-string-to-timestamp | https://markhneedham.com/blog/2014/10/20/python-converting-a-date-string-to-timestamp |
false | 2014-10-20 23:08:45 | Neo4j: Modelling sub types | [
"neo4j"
] | [
"neo4j"
] | A question which sometimes comes up when discussing http://www.infoq.com/articles/let-me-graph-that-for-you[graph data modelling] is how you go about http://www.learndatamodeling.com/dm_super_type.php[modelling sub/super types].
In my experience there are two reasons why we might want to do this:
* To ensure that certain properties exist on bits of data
* To write drill down queries based on those types
At the moment the former isn't built into Neo4j and you'd only be able to achieve it by wiring up some code in a pre commit hook of a http://docs.neo4j.org/chunked/stable/transactions-events.html[transaction event handler] so we'll focus on the latter.
The typical example used for showing how to design sub types is the animal kingdom and I managed to find a data set from http://portal.louisvilleky.gov/dataset/animaltag-data?page=16&order=tag_tail&sort=asc[Louiseville, Kentucky's Animal Services] which we can use.
In this case the sub types are used to represent the type of animal, breed group and breed. We then also have 'real data' in terms of actual dogs under the care of animal services.
We effectively end up with two graphs in one - a model and a meta model:
image::{{<siteurl>}}/uploads/2014/10/2014-10-20_22-32-31.png[2014 10 20 22 32 31,600]
The cypher query to create this graph looks like this:
[source,cypher]
----
LOAD CSV WITH HEADERS FROM "file:/Users/markneedham/projects/neo4j-subtypes/data/dogs.csv" AS line
MERGE (animalType:AnimalType {name: "Dog"})
MERGE (breedGroup:BreedGroup {name: line.BreedGroup})
MERGE (breed:Breed {name: line.PrimaryBreed})
MERGE (animal:Animal {id: line.TagIdentity, primaryColour: line.PrimaryColour, size: line.Size})
MERGE (animalType)<-[:PARENT]-(breedGroup)
MERGE (breedGroup)<-[:PARENT]-(breed)
MERGE (breed)<-[:PARENT]-(animal)
----
We could then write a simple query to find out how many dogs we have:
[source,cypher]
----
MATCH (animalType:AnimalType)<-[:PARENT*]-(animal)
RETURN animalType, COUNT(*) AS animals
ORDER BY animals DESC
----
[source,bash]
----
==> +--------------------------------+
==> | animalType | animals |
==> +--------------------------------+
==> | Node[89]{name:"Dog"} | 131 |
==> +--------------------------------+
==> 1 row
----
Or we could write a slightly more complex query to find the number of animals at each level of our type hierarchy:
[source,cypher]
----
MATCH path = (animalType:AnimalType)<-[:PARENT]-(breedGroup)<-[:PARENT*]-(animal)
RETURN [node IN nodes(path) | node.name][..-1] AS breed, COUNT(*) AS animals
ORDER BY animals DESC
LIMIT 5
----
[source,text]
----
==> +-----------------------------------------------------+
==> | breed | animals |
==> +-----------------------------------------------------+
==> | ["Dog","SETTER/RETRIEVE","LABRADOR RETR"] | 15 |
==> | ["Dog","SETTER/RETRIEVE","GOLDEN RETR"] | 13 |
==> | ["Dog","POODLE","POODLE MIN"] | 10 |
==> | ["Dog","TERRIER","MIN PINSCHER"] | 9 |
==> | ["Dog","SHEPHERD","WELSH CORGI CAR"] | 6 |
==> +-----------------------------------------------------+
==> 5 rows
----
We might then decide to add an exercise sub graph which indicates how much exercise each type of dog requires:
[source,cypher]
----
MATCH (breedGroup:BreedGroup)
WHERE breedGroup.name IN ["SETTER/RETRIEVE", "POODLE"]
MERGE (exercise:Exercise {type: "2 hours hard exercise"})
MERGE (exercise)<-[:REQUIRES_EXERCISE]-(breedGroup);
----
[source,cypher]
----
MATCH (breedGroup:BreedGroup)
WHERE breedGroup.name IN ["TERRIER", "SHEPHERD"]
MERGE (exercise:Exercise {type: "1 hour gentle exercise"})
MERGE (exercise)<-[:REQUIRES_EXERCISE]-(breedGroup);
----
We could then query that to find out which dogs need to come out for 2 hours of hard exercise:
[source,cypher]
----
MATCH (exercise:Exercise {type: "2 hours hard exercise"})<-[:REQUIRES_EXERCISE]-()<-[:PARENT*]-(dog)
WHERE NOT (dog)<-[:PARENT]-()
RETURN dog
LIMIT 10
----
[source,bash]
----
==> +-----------------------------------------------------------+
==> | dog |
==> +-----------------------------------------------------------+
==> | Node[541]{id:"664427",primaryColour:"BLACK",size:"SMALL"} |
==> | Node[542]{id:"543787",primaryColour:"BLACK",size:"SMALL"} |
==> | Node[543]{id:"584021",primaryColour:"BLACK",size:"SMALL"} |
==> | Node[544]{id:"584022",primaryColour:"BLACK",size:"SMALL"} |
==> | Node[545]{id:"664430",primaryColour:"BLACK",size:"SMALL"} |
==> | Node[546]{id:"535176",primaryColour:"BLACK",size:"SMALL"} |
==> | Node[567]{id:"613557",primaryColour:"WHITE",size:"SMALL"} |
==> | Node[568]{id:"531376",primaryColour:"WHITE",size:"SMALL"} |
==> | Node[569]{id:"613567",primaryColour:"WHITE",size:"SMALL"} |
==> | Node[570]{id:"531379",primaryColour:"WHITE",size:"SMALL"} |
==> +-----------------------------------------------------------+
==> 10 rows
----
In this query we ensured that we only returned dogs rather than breeds by checking that there was no incoming +++<cite>+++PARENT+++</cite>+++ relationship. Alternatively we could have filtered on the +++<cite>+++Animal+++</cite>+++ label\...
[source,cypher]
----
MATCH (exercise:Exercise {type: "2 hours hard exercise"})<-[:REQUIRES_EXERCISE]-()<-[:PARENT*]-(dog:Animal)
RETURN dog
LIMIT 10
----
or if we wanted to only take the dogs out for exercise perhaps we'd have +++<cite>+++Dog+++</cite>+++ label on the appropriate nodes.
People are often curious why labels don't have super/sub types between them but I tend to use labels for simple categorisation - anything more complicated and we may as well use the built in power of the graph model!
The https://github.com/mneedham/neo4j-subtypes[code is on github] should you wish to play with it. | null | null | [
0.005839635618031025,
-0.011286543682217598,
-0.027623875066637993,
0.0657665804028511,
0.10213138908147812,
0.006581099703907967,
0.04325683042407036,
0.0069953277707099915,
0.024933280423283577,
-0.029597492888569832,
0.004674219526350498,
-0.028886226937174797,
-0.08166205883026123,
0.028894620016217232,
-0.024442991241812706,
0.06523793190717697,
0.05872248858213425,
0.025925150141119957,
0.022630801424384117,
-0.01608930714428425,
-0.0007498594932258129,
0.0190361849963665,
-0.043463148176670074,
0.05156567320227623,
0.030641958117485046,
0.0009144447394646704,
0.027912216261029243,
-0.004028459079563618,
-0.052098121494054794,
-0.0027403065469115973,
0.044823307543992996,
-0.01962609589099884,
-0.0008406411507166922,
0.008574088104069233,
0.016110960394144058,
-0.011461229994893074,
-0.028132900595664978,
-0.009426561184227467,
-0.00334551720879972,
-0.010256488807499409,
-0.07930105924606323,
0.05432821437716484,
-0.012852846644818783,
0.005879008676856756,
-0.050343114882707596,
-0.03167496994137764,
-0.058312226086854935,
0.03414479270577431,
0.013102731667459011,
0.017652755603194237,
-0.07393700629472733,
0.02704976685345173,
-0.026116346940398216,
0.026020566001534462,
-0.016806919127702713,
0.06150989606976509,
-0.0028297596145421267,
-0.0696544274687767,
0.010285189375281334,
-0.04084417223930359,
0.0012564874486997724,
-0.00835280679166317,
-0.000049089598178397864,
0.0036963324528187513,
0.0001907451805891469,
-0.03242238610982895,
-0.0035881483927369118,
0.060227472335100174,
-0.0504586435854435,
-0.020424043759703636,
-0.0005682781338691711,
0.020362399518489838,
-0.01583961583673954,
0.013640605844557285,
0.026081569492816925,
-0.04670669138431549,
-0.014670107513666153,
0.0607033409178257,
0.038904737681150436,
0.058899104595184326,
-0.023514535278081894,
0.03882570192217827,
-0.00968836434185505,
0.0017350721172988415,
0.015751732513308525,
-0.04372533783316612,
-0.0062494296580553055,
-0.033601295202970505,
-0.05670144408941269,
0.05914289876818657,
0.011634561233222485,
-0.075858473777771,
-0.01622512750327587,
0.025958653539419174,
-0.0253599863499403,
0.023816796019673347,
0.005086615215986967,
-0.021207071840763092,
0.02554617077112198,
-0.016768040135502815,
-0.057251330465078354,
-0.010975492186844349,
0.017703549936413765,
0.01808035932481289,
-0.0851922333240509,
-0.036706700921058655,
-0.028671853244304657,
-0.025128917768597603,
0.010242598131299019,
-0.0007378828595392406,
-0.01756063848733902,
-0.017016340047121048,
-0.016144704073667526,
0.0274693351238966,
-0.07291156053543091,
0.07984514534473419,
0.028874648734927177,
-0.014633391983807087,
-0.008697602897882462,
0.021552424877882004,
0.05305012688040733,
0.012015213258564472,
-0.027425410225987434,
0.08019836992025375,
0.0013472075806930661,
0.020037638023495674,
-0.015096230432391167,
0.05535075068473816,
-0.039501726627349854,
-0.07879017293453217,
-0.013181203976273537,
0.064256951212883,
-0.035771116614341736,
-0.002633863128721714,
-0.012159839272499084,
-0.03119843639433384,
0.000210481186513789,
0.004814256448298693,
0.052075088024139404,
0.019563941285014153,
-0.005788029171526432,
-0.03944636136293411,
0.02565010078251362,
0.006276750471442938,
0.030033500865101814,
0.008314380422234535,
-0.01346116978675127,
-0.02762249857187271,
-0.024263901636004448,
-0.001484163454733789,
0.024976277723908424,
0.040208231657743454,
0.05573677644133568,
-0.02146017737686634,
0.016821645200252533,
0.11212753504514694,
0.02693394385278225,
-0.0046562016941607,
-0.007618514820933342,
0.022994395345449448,
0.05521635338664055,
0.028123516589403152,
0.01832992024719715,
0.043147098273038864,
0.01835237443447113,
-0.0089665362611413,
-0.007921120151877403,
0.071076400578022,
-0.0447814054787159,
-0.0013068544212728739,
-0.049964651465415955,
-0.06695500761270523,
0.06008433923125267,
-0.048367373645305634,
-0.0013911151327192783,
0.07511734217405319,
0.07087952643632889,
0.016561219468712807,
0.026515131816267967,
-0.0007874718867242336,
-0.08688987046480179,
0.042057376354932785,
0.017907390370965004,
0.00857161171734333,
0.015364119783043861,
-0.00637764623388648,
0.08402172476053238,
0.027191992849111557,
-0.008307390846312046,
0.03235604986548424,
-0.07936321198940277,
-0.08005774021148682,
-0.004241315182298422,
-0.017277207225561142,
0.07614974677562714,
-0.04580158367753029,
0.012233370915055275,
0.05131326988339424,
-0.008855406194925308,
0.04598493501543999,
0.005538381170481443,
-0.018876636400818825,
0.0319242998957634,
-0.036259617656469345,
-0.038352351635694504,
0.06118517741560936,
0.01655564270913601,
-0.03234470635652542,
-0.01968432031571865,
0.009857340715825558,
-0.011131105944514275,
0.007666794583201408,
0.042398061603307724,
-0.02927302196621895,
0.043372951447963715,
0.016659516841173172,
0.0477585569024086,
-0.010619119741022587,
0.022933946922421455,
-0.0600418858230114,
0.047047507017850876,
0.015150312334299088,
-0.030903369188308716,
-0.01016251277178526,
0.015264637768268585,
0.1124667376279831,
0.06026758998632431,
-0.028391599655151367,
-0.03142290934920311,
0.018121518194675446,
0.0346691720187664,
-0.013719148933887482,
0.03202374279499054,
0.01656206138432026,
-0.009335765615105629,
-0.02884373813867569,
-0.031431350857019424,
0.00028700122493319213,
0.023155538365244865,
-0.03788220137357712,
0.01729326695203781,
0.06951862573623657,
-0.03369949385523796,
0.05577639490365982,
-0.017087530344724655,
-0.006474131718277931,
0.001806920045055449,
-0.03046778216958046,
-0.06614040583372116,
0.003553571878001094,
0.021233513951301575,
-0.001281772623769939,
0.061972059309482574,
-0.015791473910212517,
-0.015619696117937565,
-0.03154180571436882,
-0.026090338826179504,
0.021659526973962784,
0.05557448789477348,
0.04281005635857582,
-0.005856933072209358,
0.03599753603339195,
-0.020200125873088837,
0.010921339504420757,
-0.003284536534920335,
-0.0604529045522213,
-0.044540856033563614,
-0.028329037129878998,
0.027201177552342415,
-0.007723905611783266,
0.044551268219947815,
0.0054967328906059265,
0.01857634261250496,
0.008818070404231548,
0.015045743435621262,
0.0074451398104429245,
0.018962454050779343,
-0.009548565372824669,
0.009464489296078682,
-0.018059831112623215,
-0.03889073431491852,
0.054266635328531265,
-0.04990406334400177,
-0.03661150485277176,
-0.018961017951369286,
-0.06831707805395126,
0.06263311207294464,
-0.08439599722623825,
-0.03372941538691521,
-0.015445533208549023,
0.040736038237810135,
0.05559463053941727,
0.0012751062167808414,
-0.018430309370160103,
0.04717927798628807,
-0.005829549860209227,
0.014226647093892097,
0.01429684553295374,
-0.0026198916602879763,
0.0707048624753952,
-0.008382161147892475,
0.022265614941716194,
0.07885042577981949,
-0.02751060761511326,
-0.00028726347954943776,
-0.03510899469256401,
0.016103196889162064,
-0.021956799551844597,
-0.2745616137981415,
0.012908888049423695,
-0.03987971320748329,
-0.06868916749954224,
0.01391077321022749,
-0.05017080157995224,
0.0011535114608705044,
-0.02979428879916668,
-0.04298189654946327,
0.013664026744663715,
-0.005222713109105825,
-0.06357414275407791,
-0.009440102614462376,
0.016327237710356712,
0.027279386296868324,
0.007759537547826767,
-0.0016855077119544148,
-0.038479629904031754,
-0.00851129088550806,
0.04640332609415054,
-0.0050363303162157536,
-0.03260144591331482,
-0.01015627384185791,
0.05037960410118103,
0.022150179371237755,
0.03360326960682869,
-0.09288124740123749,
0.02095593884587288,
-0.054415635764598846,
-0.035456471145153046,
0.025548193603754044,
-0.00391222583130002,
0.000323706743074581,
0.0018091293750330806,
-0.017682023346424103,
-0.021568680182099342,
0.04733344539999962,
0.01727013848721981,
0.00759383337572217,
0.012129894457757473,
-0.028477868065238,
-0.04632553830742836,
-0.01049986481666565,
-0.02427114173769951,
0.0670260339975357,
0.003060129703953862,
-0.05705271661281586,
0.006906487047672272,
-0.05099080875515938,
0.07658039033412933,
-0.043748289346694946,
0.018472665920853615,
-0.013035389594733715,
0.03880174830555916,
-0.012845631688833237,
-0.010048551484942436,
0.010092898271977901,
-0.02764519676566124,
-0.06163560971617699,
-0.037754613906145096,
-0.006213850807398558,
-0.07464383542537689,
-0.001997479936107993,
-0.06164364889264107,
0.0015338050434365869,
-0.05362134799361229,
-0.07586494088172913,
-0.03402921184897423,
0.04016480594873428,
0.025700325146317482,
-0.009458605200052261,
0.011972174048423767,
0.0004136267816647887,
-0.09232078492641449,
-0.002381612779572606,
-0.031095046550035477,
0.00969724077731371,
-0.009474094025790691,
-0.003346104174852371,
0.06651118397712708,
-0.012335013598203659,
-0.057480376213788986,
0.033629339188337326,
0.017834212630987167,
0.004198557697236538,
-0.0011130888015031815,
0.0009803095599636436,
-0.006149211898446083,
-0.034881703555583954,
-0.01303310226649046,
0.07394443452358246,
-0.00032076321076601744,
-0.008633243851363659,
-0.023651819676160812,
-0.0038023474626243114,
0.025045040994882584,
0.00963114108890295,
-0.011511889286339283,
-0.0040888371877372265,
0.03806658834218979,
0.05105064809322357,
-0.049867235124111176,
0.0002518033725209534,
-0.011978456750512123,
-0.019865095615386963,
-0.03723498061299324,
-0.03580176830291748,
0.02664157934486866,
0.03482614457607269,
0.0029604448936879635,
-0.01092327106744051,
-0.03694717586040497,
0.02779618836939335,
-0.055674754083156586,
-0.06426280736923218,
-0.019001511856913567,
0.03941936790943146,
0.03312709927558899,
0.03086257353425026,
-0.004885967820882797,
-0.04606190323829651,
0.0220654159784317,
0.010641183704137802,
-0.007685528136789799,
-0.07076416164636612,
-0.039743151515722275,
-0.01183438953012228,
-0.01872198097407818,
-0.015576507896184921,
0.030540231615304947,
-0.03589063882827759,
0.027544567361474037,
0.0014836486661806703,
-0.05638912692666054,
0.05247129127383232,
0.025473903864622116,
-0.03796166181564331,
-0.031018275767564774,
0.008159312419593334,
-0.02348986268043518,
0.0004948784480802715,
0.019133038818836212,
0.010558285750448704,
0.016456594690680504,
0.038753941655159,
0.016944505274295807,
0.022979632019996643,
0.008181612007319927,
0.029446806758642197,
0.01284091453999281,
-0.016010474413633347,
-0.024200985208153725,
0.017011646181344986,
-0.028248971328139305,
-0.017488248646259308,
-0.025772899389266968,
0.047259002923965454,
-0.014036896638572216,
-0.006542739924043417,
-0.0208060871809721,
-0.02121339924633503,
-0.0586099810898304,
-0.006041857413947582,
-0.035939402878284454,
0.00397107657045126,
0.07440981268882751,
-0.0007873299764469266,
-0.020179729908704758,
-0.017420729622244835,
-0.021488580852746964,
0.023702850565314293,
0.008170658722519875,
-0.025071503594517708,
-0.006830441299825907,
-0.007379827089607716,
-0.0013922646176069975,
0.020437555387616158,
0.01454133354127407,
0.038238562643527985,
0.02394474297761917,
-0.011564553715288639,
-0.026508064940571785,
0.01844709925353527,
0.0015099318698048592,
0.047109756618738174,
0.06242674961686134,
-0.003544603241607547,
0.009824927896261215,
-0.009357569739222527,
-0.0013228516327217221,
-0.022058309987187386,
0.004076406359672546,
-0.017369356006383896,
0.010623635724186897,
-0.05479107052087784,
-0.04216979444026947,
0.03867322951555252,
-0.002650547306984663,
0.022366011515259743,
0.015118715353310108,
0.020701168105006218,
0.007532303221523762,
-0.005326174199581146,
0.00857842992991209,
0.054002545773983,
-0.059859346598386765,
-0.021607859060168266,
0.007251717150211334,
-0.029945731163024902,
-0.004670464899390936,
0.026349151507019997,
-0.04985983669757843,
-0.042235780507326126,
-0.008378945291042328,
0.022870756685733795,
-0.036639321595430374,
-0.04080464690923691,
-0.016943737864494324,
0.00708684092387557,
0.00020217293058522046,
0.007063471712172031,
-0.005064526107162237,
-0.0047170259058475494,
-0.0075395614840090275,
-0.015265478752553463,
0.04179064929485321,
-0.029915694147348404,
0.010685970075428486,
0.043279580771923065,
-0.005032957531511784,
0.015611832961440086,
-0.019585980102419853,
0.0051492853090167046,
0.0299527570605278,
-0.02708844467997551,
0.009954001754522324,
-0.032011978328228,
0.02449202723801136,
0.014641991816461086,
0.04251829907298088,
0.03165072575211525,
0.01649838127195835,
-0.03316142037510872,
0.0008757475879974663,
-0.018631936982274055,
0.008773368783295155,
-0.014706194400787354,
-0.013689509592950344,
0.009118867106735706,
0.03199812024831772,
0.0001560929522383958,
-0.0019440152682363987,
-0.00649418868124485,
-0.02536112070083618,
0.05550293251872063,
-0.022242238745093346,
-0.03592155873775482,
-0.004670543130487204,
-0.06545133888721466,
0.019227683544158936,
0.012642073445022106,
0.023346859961748123,
-0.03217717260122299,
0.05220387876033783,
0.06132423132658005,
0.02829711139202118,
0.017856799066066742,
0.0024243060033768415,
0.03163379803299904,
-0.01961309090256691,
0.018111098557710648,
-0.06277688592672348,
0.018594345077872276,
0.025176089257001877,
-0.011185416020452976,
-0.009402865543961525,
-0.021188976243138313,
-0.028880009427666664,
0.023331424221396446,
-0.05826244503259659,
-0.014023365452885628,
0.02590562216937542,
0.0010522885713726282,
0.016857074573636055,
0.0165814571082592,
-0.057078346610069275,
0.004060901701450348,
0.010593232698738575,
-0.04158153384923935,
-0.019413018599152565,
-0.01610143855214119,
0.03550654277205467,
-0.015360688790678978,
0.03002222254872322,
-0.01578020118176937,
0.003552067093551159,
0.06664726883172989,
0.01728970743715763,
0.03704747185111046,
0.04614473506808281,
-0.012730061076581478,
0.04256714507937431,
0.028287360444664955,
-0.008626135066151619,
-0.00922995526343584,
0.03782597556710243,
-0.013863827101886272,
-0.044787291437387466,
0.03456540033221245,
0.0187859944999218,
-0.009579851292073727,
-0.0609966441988945,
0.06654095649719238,
-0.005296759307384491,
-0.02807675115764141,
-0.04560188576579094,
0.030451243743300438,
-0.03447568044066429,
0.012643758207559586,
-0.04107437655329704,
0.02031920664012432,
-0.03348472714424133,
0.05019354820251465,
-0.008454539813101292,
-0.010607685893774033,
0.05894459784030914,
-0.019306782633066177,
0.010884871706366539,
-0.00009973801934393123,
0.09312356263399124,
0.07618927955627441,
0.05968094989657402,
0.021211901679635048,
0.07953426241874695,
0.0047591691836714745,
-0.05164935812354088,
0.022169364616274834,
-0.008080449886620045,
0.00009935991693055257,
0.00868796557188034,
0.0013971737353131175,
0.03236280009150505,
-0.028893014416098595,
0.06940805912017822,
-0.020607421174645424,
-0.003805118380114436,
-0.006671152543276548,
-0.009003981947898865,
0.02996373549103737,
0.05917735397815704,
0.014927998185157776,
0.038207463920116425,
-0.019644275307655334,
-0.02225741371512413,
0.010356155224144459,
-0.01918499916791916,
-0.03769628703594208,
0.021810563281178474,
-0.003439580323174596,
0.014154440723359585,
0.0012921153102070093,
0.05410946160554886,
0.08618592470884323,
-0.0578620545566082,
-0.0010192844783887267,
0.0063667600043118,
0.026409534737467766,
0.004137878771871328,
0.0061125848442316055,
-0.01015488151460886,
-0.04933606833219528,
0.0004754557157866657,
-0.028676504269242287,
-0.013535815291106701,
-0.028437627479434013,
-0.00889310147613287,
0.02912122569978237,
-0.03474367782473564,
-0.02258526347577572,
0.022845478728413582,
-0.03105199709534645,
-0.029508838430047035,
-0.03174956887960434,
-0.05354348570108414,
-0.041329555213451385,
-0.08314850926399231,
0.00880100391805172,
-0.015156553126871586,
-0.014787279069423676,
-0.021464424207806587,
-0.0178083349019289,
-0.03136647120118141,
-0.01635376363992691,
0.05858396366238594,
-0.04467112943530083,
-0.03212582692503929,
0.010289538651704788,
0.006990592926740646,
0.009336711838841438,
0.02491752803325653,
0.049263764172792435,
0.0034902412444353104,
0.012287740595638752,
-0.03264269605278969,
0.012244520708918571,
0.014810459688305855,
0.03246011584997177,
0.01341828890144825,
-0.09524034708738327,
0.016090627759695053,
0.010665982961654663,
-0.054093196988105774,
-0.07795006036758423,
0.014918252825737,
0.05262627825140953,
0.008463210426270962,
0.025975346565246582,
-0.020737210288643837,
-0.03390511870384216,
-0.042812418192625046,
0.0050308736972510815,
-0.020662128925323486,
-0.005314594134688377,
0.03143584728240967,
-0.02558118849992752,
0.08651029318571091,
0.034591194242239,
-0.018415603786706924,
-0.02749219536781311,
-0.007285045459866524,
0.016834400594234467,
0.015363101847469807,
-0.016008790582418442,
-0.03994870185852051,
-0.03349616378545761,
-0.0965770035982132,
-0.01767028123140335,
0.02824527956545353,
-0.013526415452361107,
-0.016433609649538994,
-0.003277491545304656,
0.026354268193244934,
-0.032517701387405396,
0.0378369465470314,
-0.02605539560317993,
0.03406226262450218,
-0.006774233188480139,
-0.03502369299530983,
-0.04983728751540184,
0.018203839659690857,
-0.007858077064156532,
0.034642040729522705,
0.0058530946262180805,
-0.05972672626376152,
-0.004531807266175747,
-0.02145170047879219,
0.01923331245779991,
0.002973848255351186,
0.01588496007025242,
0.013513880781829357
] | [
-0.04445081949234009,
-0.040277693420648575,
-0.025674356147646904,
0.003390957834199071,
0.062119729816913605,
-0.00070434674853459,
-0.05453917011618614,
0.00767584890127182,
-0.003122434252873063,
0.014952821657061577,
0.0040314835496246815,
-0.062489259988069534,
0.04441843926906586,
0.008304527960717678,
0.06158982217311859,
-0.004132659174501896,
-0.024872450157999992,
-0.04925110936164856,
-0.010733220726251602,
0.082267627120018,
-0.01942157931625843,
-0.04037927836179733,
-0.038573555648326874,
-0.013951155357062817,
0.020097004249691963,
0.02410084940493107,
0.016367236152291298,
-0.010745417326688766,
-0.004637216683477163,
-0.22144293785095215,
0.016565298661589622,
0.05543222650885582,
0.02729802392423153,
0.010073133744299412,
0.004560130648314953,
0.005916717927902937,
0.06523894518613815,
-0.010168947279453278,
0.019432682543992996,
0.05458227917551994,
0.035263173282146454,
-0.004947747569531202,
-0.02129577286541462,
0.008473092690110207,
0.04443788900971413,
0.026540305465459824,
-0.04553435370326042,
-0.02762945182621479,
-0.04210532456636429,
-0.0292592104524374,
-0.006882444489747286,
-0.016498753800988197,
-0.022395793348550797,
0.00847398117184639,
0.0024130200035870075,
0.03585660457611084,
0.05052167922258377,
0.04111059755086899,
0.01772051490843296,
0.018969092518091202,
0.01564997434616089,
0.04004260525107384,
-0.11646606773138046,
0.08685915917158127,
0.010704307816922665,
0.03466232120990753,
-0.07239434868097305,
0.006480418611317873,
-0.01719510369002819,
0.0720059871673584,
-0.009844670072197914,
-0.019937580451369286,
-0.05049818009138107,
0.023734143003821373,
-0.022664617747068405,
0.03220897912979126,
0.007649959530681372,
0.02000940777361393,
0.02633627876639366,
-0.041712190955877304,
-0.06591452658176422,
0.0037103071808815002,
-0.029619013890624046,
-0.024570217356085777,
-0.03054586425423622,
0.03182792291045189,
-0.012835104949772358,
0.012751800939440727,
-0.006835674401372671,
0.055435098707675934,
0.03991655632853508,
0.01005500927567482,
0.06999298185110092,
0.007955367676913738,
-0.06425364315509796,
0.014340722933411598,
-0.002475572982802987,
-0.03165829926729202,
0.02720441296696663,
0.38019323348999023,
0.008659040555357933,
-0.030247781425714493,
0.04122879356145859,
0.02888217754662037,
-0.005228592082858086,
0.0007122408133000135,
-0.026818515732884407,
-0.05960719287395477,
0.034656208008527756,
-0.020996131002902985,
-0.011419275775551796,
-0.026925550773739815,
0.0232606939971447,
-0.09470866620540619,
-0.018917590379714966,
-0.0142368720844388,
0.01151326484978199,
0.031962014734745026,
0.010309689678251743,
-0.008043963462114334,
-0.022029312327504158,
0.008760858327150345,
0.04275311902165413,
-0.021929342299699783,
0.04617014527320862,
0.02594972774386406,
-0.0046134269796311855,
0.022200889885425568,
0.01955820620059967,
0.005799832288175821,
0.0400506816804409,
0.010668124072253704,
-0.08426245301961899,
0.0047017838805913925,
-0.01231554988771677,
-0.02468986064195633,
0.035119328647851944,
-0.021154778078198433,
-0.014822505414485931,
-0.011622368358075619,
-0.03184780478477478,
-0.02605426125228405,
0.05061369761824608,
0.008896997198462486,
-0.05727091804146767,
0.11720431596040726,
0.004379658959805965,
-0.03204025328159332,
-0.06066766753792763,
-0.017347000539302826,
-0.02453000470995903,
0.046450551599264145,
0.012712064199149609,
-0.05445292592048645,
0.0014104994479566813,
0.04623807966709137,
0.05150708556175232,
-0.01529509574174881,
-0.09655765444040298,
-0.03901210054755211,
-0.01998341642320156,
-0.01362474262714386,
-0.05659382790327072,
0.06747721880674362,
0.029071630910038948,
-0.13627241551876068,
-0.026073044165968895,
0.027960799634456635,
0.02716999500989914,
-0.07840947061777115,
0.005253305193036795,
0.032546523958444595,
-0.04547623544931412,
-0.004070366732776165,
0.04420170187950134,
-0.0028594809118658304,
-0.04634394124150276,
-0.050703875720500946,
0.04355394467711449,
0.00019505430827848613,
0.019786246120929718,
0.001127862953580916,
-0.04553031548857689,
-0.0033997949212789536,
-0.06832630187273026,
-0.050565458834171295,
-0.09638827294111252,
0.019984807819128036,
-0.036289431154727936,
-0.03245885297656059,
0.017968082800507545,
-0.00001821691148506943,
-0.03997352346777916,
0.05828719958662987,
-0.038826946169137955,
-0.018977178260684013,
-0.007653342559933662,
0.006459995172917843,
0.0005900819669477642,
-0.03208652138710022,
0.0019367350032553077,
0.02028823271393776,
0.005470764357596636,
-0.004476715344935656,
-0.05301234498620033,
0.03554196283221245,
0.09585973620414734,
-0.044732507318258286,
0.043718550354242325,
0.039067476987838745,
-0.0479230135679245,
0.039192356169223785,
-0.040298882871866226,
0.02190595306456089,
-0.0035786342341452837,
0.035251274704933167,
-0.0012035712134093046,
-0.01915735937654972,
0.03353314846754074,
0.054862767457962036,
-0.02064322866499424,
-0.0313420444726944,
-0.006473914720118046,
-0.34873610734939575,
-0.07091199606657028,
-0.007474189158529043,
-0.010275889188051224,
0.03270258381962776,
-0.047974422574043274,
0.01700199395418167,
-0.005047603975981474,
0.008924629539251328,
0.025914844125509262,
0.08161238580942154,
0.02700679562985897,
-0.013652659952640533,
-0.07960344105958939,
0.02247244492173195,
0.07366132736206055,
0.020458467304706573,
-0.038103148341178894,
-0.07020594924688339,
-0.0022122624795883894,
-0.007041859906166792,
-0.022500433027744293,
-0.0017917599761858582,
-0.045488107949495316,
0.01492066029459238,
-0.017829876393079758,
0.12551648914813995,
-0.04956386983394623,
0.06905193626880646,
-0.011322353966534138,
0.03712720423936844,
-0.01859118789434433,
-0.04015323519706726,
-0.04848519340157509,
0.02336357906460762,
-0.029628412798047066,
-0.0029216883704066277,
0.024186795577406883,
-0.0017464789561927319,
-0.026378750801086426,
-0.03795858845114708,
0.015412123873829842,
-0.049442362040281296,
-0.059385526925325394,
-0.022375233471393585,
0.028849732130765915,
-0.027696141973137856,
-0.02491641603410244,
-0.018637409433722496,
0.054524268954992294,
-0.00980469398200512,
0.059316132217645645,
0.02343456819653511,
0.060545701533555984,
-0.04028664901852608,
-0.02188916876912117,
-0.08275508135557175,
-0.03096672333776951,
0.042767927050590515,
0.008768772706389427,
0.03829989954829216,
0.020699726417660713,
0.04258924722671509,
-0.07536927610635757,
0.006238885689526796,
-0.022497862577438354,
-0.037637364119291306,
0.017408007755875587,
0.005083919502794743,
-0.05831514671444893,
-0.02132663130760193,
0.1014428585767746,
0.015473421663045883,
0.042497191578149796,
0.022198297083377838,
0.05655428767204285,
-0.027012351900339127,
-0.009627710096538067,
0.02473161742091179,
0.022085417062044144,
0.02049729973077774,
-0.06706587970256805,
0.07363810390233994,
-0.008357708342373371,
0.008124536834657192,
0.07498195022344589,
0.005265082232654095,
-0.05576708912849426,
0.09079929441213608,
0.017920901998877525,
-0.013999881222844124,
-0.011759624816477299,
-0.03372694179415703,
-0.044615983963012695,
0.04293612018227577,
0.0011961348354816437,
-0.24114638566970825,
0.03994763270020485,
0.05823225900530815,
0.048935260623693466,
-0.0098822470754385,
0.021857360377907753,
-0.003846755251288414,
-0.06628585606813431,
0.015402669087052345,
-0.02052449807524681,
0.05834617093205452,
0.07878091186285019,
0.03742431104183197,
0.014254503883421421,
-0.01900366134941578,
-0.005900227464735508,
0.04008651152253151,
-0.00563894072547555,
0.023089788854122162,
-0.026943810284137726,
0.05403938144445419,
-0.03871650993824005,
0.20573310554027557,
0.038087159395217896,
0.05508151277899742,
0.036388296633958817,
-0.05340460315346718,
-0.00795136857777834,
0.027405746281147003,
0.0016944848466664553,
0.032006219029426575,
0.017035208642482758,
0.051224786788225174,
0.018887164071202278,
0.02212207205593586,
-0.0244202371686697,
-0.02588500827550888,
0.04913108050823212,
0.009361648932099342,
-0.010144340805709362,
0.006301495712250471,
0.019148049876093864,
-0.026835022494196892,
-0.0025897223968058825,
0.08451171964406967,
-0.016507204622030258,
-0.034955333918333054,
0.005207883659750223,
-0.027934499084949493,
0.009999234229326248,
-0.03735186159610748,
-0.06664055585861206,
-0.030237950384616852,
-0.03807298466563225,
0.005531091708689928,
0.057919297367334366,
0.053714413195848465,
-0.008805088698863983,
0.005176186095923185,
0.02117854915559292,
0.021832942962646484,
-0.03472175449132919,
0.058017779141664505,
0.035051122307777405,
0.028154999017715454
] | [
0.016154369339346886,
0.04756445810198784,
0.03920041024684906,
0.03620266169309616,
-0.03598460927605629,
-0.021237459033727646,
-0.0039606173522770405,
0.014760264195501804,
0.006702698301523924,
0.0036778156645596027,
0.001782690640538931,
0.02385123074054718,
0.01861504279077053,
0.016691481694579124,
-0.006014594342559576,
0.025924650952219963,
0.0034567133989185095,
0.013101276010274887,
0.006774923298507929,
-0.0038839122280478477,
-0.03628992661833763,
-0.012262086383998394,
0.00768362358212471,
-0.009185945615172386,
-0.026118788868188858,
-0.005920723546296358,
-0.0531780868768692,
0.007913378067314625,
0.028253933414816856,
-0.11170545965433121,
-0.016870176419615746,
-0.029723048210144043,
-0.017619958147406578,
0.023808270692825317,
-0.021775217726826668,
-0.014423785731196404,
0.028407320380210876,
0.03284422680735588,
0.042597364634275436,
0.0571221299469471,
0.052917756140232086,
-0.004415626637637615,
-0.022236863151192665,
0.0014974597143009305,
0.004498646128922701,
0.004519554786384106,
-0.05095694586634636,
-0.029322460293769836,
0.015897518023848534,
-0.02236824482679367,
-0.04392026737332344,
-0.018427174538373947,
-0.009595364332199097,
0.04769325628876686,
0.007714787032455206,
-0.011663191020488739,
-0.06432601809501648,
-0.03253456577658653,
-0.016061240807175636,
-0.007141991518437862,
0.01559529174119234,
0.018494760617613792,
-0.028499754145741463,
-0.028418034315109253,
-0.008071428164839745,
0.02420271746814251,
-0.0124673368409276,
0.03644284978508949,
-0.006544237025082111,
-0.006980591453611851,
-0.0026175437960773706,
0.03746480122208595,
-0.06812909990549088,
-0.030063729733228683,
-0.027377385646104813,
0.009438276290893555,
0.024862876161932945,
-0.007141539826989174,
0.008924390189349651,
-0.019862892106175423,
-0.03784961253404617,
0.015002272091805935,
0.0038963044062256813,
-0.006884250324219465,
-0.02851034700870514,
-0.0077496799640357494,
-0.012427062727510929,
-0.025587856769561768,
-0.0017239716835319996,
0.01215012464672327,
-0.012581381015479565,
0.018006082624197006,
-0.002025802154093981,
-0.031410496681928635,
-0.0769014060497284,
0.0008297652821056545,
0.026011748239398003,
-0.023323241621255875,
0.03816825896501541,
0.8373388648033142,
0.015151778236031532,
-0.002786438213661313,
-0.0008289557881653309,
0.005634481552988291,
0.027127975597977638,
-0.014000803232192993,
-0.013526612892746925,
0.02514619007706642,
-0.01193612813949585,
0.005474735517054796,
-0.037598177790641785,
0.00818910263478756,
0.009149906225502491,
0.027122249826788902,
-0.006202436052262783,
0.06230759248137474,
-0.011713584885001183,
-0.010796909220516682,
-0.009486640803515911,
-0.011146980337798595,
0.009530730545520782,
0.025256609544157982,
-0.007390117738395929,
-0.012079581618309021,
0.006722867954522371,
-0.15332123637199402,
-0.018445104360580444,
-7.228660633395409e-33,
0.03926726430654526,
-0.024321403354406357,
0.023651640862226486,
0.006247710902243853,
0.015792064368724823,
0.009875173680484295,
-0.023967958986759186,
-0.03638455644249916,
-0.02461586706340313,
-0.010772635228931904,
-0.026305286213755608,
0.0011446792632341385,
-0.001221560756675899,
-0.036116454750299454,
0.01173911988735199,
-0.024317646399140358,
-0.0005107152392156422,
0.007541354279965162,
0.011966429650783539,
0.009982015937566757,
0.006336999125778675,
0.05241328105330467,
-0.024408724159002304,
0.040205374360084534,
0.005446793045848608,
0.03960409015417099,
-0.03824547305703163,
-0.002200643066316843,
-0.00797551404684782,
-0.044938601553440094,
-0.06201459839940071,
0.0007609316380694509,
0.005304505582898855,
-0.0227215439081192,
-0.022971967235207558,
-0.0680302307009697,
-0.03268676623702049,
-0.025019463151693344,
-0.03239426761865616,
-0.05291752517223358,
-0.01306769996881485,
-0.013981044292449951,
-0.004729599226266146,
-0.002561659086495638,
-0.04805595800280571,
0.004941648803651333,
-0.01397218182682991,
0.019152779132127762,
0.0074682519771158695,
0.010726097039878368,
0.026687677949666977,
0.016728496178984642,
0.020983586087822914,
-0.012557475827634335,
-0.049042560160160065,
0.034533046185970306,
0.01692948490381241,
-0.011128854006528854,
-0.02148643508553505,
0.02134818397462368,
0.02536778710782528,
-0.02440427988767624,
-0.010446717031300068,
0.028898905962705612,
0.03136943280696869,
-0.018787765875458717,
-0.005163783207535744,
0.025174912065267563,
-0.009627694264054298,
0.019550474360585213,
-0.041005659848451614,
0.05779443308711052,
-0.01260547898709774,
-0.024143224582076073,
0.039558302611112595,
-0.049189139157533646,
0.019347237423062325,
0.007178770378232002,
0.00889799278229475,
0.026494523510336876,
-0.009637711569666862,
0.0017625802429392934,
0.011145232245326042,
0.0032044777180999517,
0.002539724810048938,
0.0022944456432014704,
0.05255378782749176,
0.028032470494508743,
0.02990896813571453,
0.010877587832510471,
0.019749758765101433,
0.013765517622232437,
0.01559519860893488,
-0.03502184897661209,
0.013721976429224014,
6.917640256531186e-33,
-0.007508135866373777,
0.01770232804119587,
-0.017799383029341698,
0.01528383232653141,
0.006728420499712229,
0.00776269705966115,
0.006961701437830925,
0.02865084446966648,
-0.040353838354349136,
0.04183829575777054,
0.0024645354133099318,
0.00928468070924282,
-0.01782890409231186,
0.048085298389196396,
0.058673471212387085,
0.0035987067967653275,
-0.003483753651380539,
-0.05399734899401665,
0.019347794353961945,
-0.009598001837730408,
-0.02842557244002819,
0.0016188197769224644,
0.013918968848884106,
0.03799548000097275,
0.030832022428512573,
0.021191608160734177,
-0.021705156192183495,
0.007850966416299343,
-0.0013419308234006166,
-0.02391829900443554,
-0.0182028841227293,
-0.052710048854351044,
0.0015746719436720014,
-0.017710620537400246,
0.016708726063370705,
-0.006413861643522978,
0.006419735960662365,
0.005313679575920105,
0.020802143961191177,
-0.018699564039707184,
0.011723598465323448,
0.004765690770000219,
-0.0533982515335083,
0.05339659005403519,
0.020519208163022995,
0.042235132306814194,
0.013087324798107147,
-0.0033870600163936615,
0.01906496286392212,
0.045489225536584854,
-0.002124234102666378,
0.038497619330883026,
0.008936465717852116,
0.01775173842906952,
-0.006901867687702179,
-0.03177253156900406,
0.023105142638087273,
0.016377635300159454,
-0.027538493275642395,
0.007056382950395346,
-0.03376995027065277,
-0.0157944206148386,
-0.028134293854236603,
0.04150852933526039,
-0.015416555106639862,
-0.04070766270160675,
-0.04656102880835533,
-0.040665920823812485,
-0.006489400751888752,
-0.021591512486338615,
0.0032313838601112366,
0.0100721325725317,
-0.01818806678056717,
-0.0026082266122102737,
0.047245483845472336,
-0.003981100395321846,
-0.0027685933746397495,
0.003083180170506239,
-0.016804343089461327,
0.028164755553007126,
0.01155026350170374,
-0.009004808962345123,
0.039577666670084,
0.014358910731971264,
-0.0015718104550614953,
0.00000864564299263293,
-0.04856395721435547,
0.05606486648321152,
0.005833321716636419,
-0.015572945587337017,
-0.010138362646102905,
-0.036947738379240036,
-0.004913931246846914,
0.056296996772289276,
-0.03863752260804176,
-1.276329886223948e-8,
-0.03365733101963997,
0.0074850814417004585,
-0.013942901045084,
-0.002920024562627077,
0.04564676061272621,
0.03174421936273575,
-0.03915886580944061,
-0.03071575053036213,
-0.01452882681041956,
0.02115442603826523,
0.02852778136730194,
0.011102838441729546,
-0.030825156718492508,
-0.009062876924872398,
-0.00028641114477068186,
-0.05680481716990471,
0.019565369933843613,
-0.028655260801315308,
0.040422167629003525,
0.014110084623098373,
-0.0034921078477054834,
0.01756952702999115,
-0.04034005105495453,
-0.011844669468700886,
0.03528182581067085,
-0.027366969734430313,
0.030241649597883224,
-0.05035537853837013,
-0.025382831692695618,
-0.018524842336773872,
0.004992228467017412,
-0.023000946268439293,
-0.022264229133725166,
0.01578274369239807,
-0.018205245956778526,
-0.03854730352759361,
0.027458319440484047,
0.030932331457734108,
0.05172138661146164,
0.012289841659367085,
0.030934227630496025,
0.016560837626457214,
-0.039188727736473083,
-0.032998308539390564,
-0.0032405031379312277,
0.02741982229053974,
-0.025457536801695824,
0.011643588542938232,
0.05515103414654732,
-0.024213571101427078,
-0.045163750648498535,
0.005144115537405014,
0.027262145653367043,
0.023285118862986565,
0.028186829760670662,
-0.007382178213447332,
0.019821317866444588,
-0.018058598041534424,
0.024781858548521996,
-0.010951451025903225,
0.035592008382081985,
0.001722692046314478,
-0.01854201965034008,
-0.011864055879414082
] | neo4j-modelling-sub-types | https://markhneedham.com/blog/2014/10/20/neo4j-modelling-sub-types |
false | 2014-10-18 10:49:07 | Neo4j: LOAD CSV - The sneaky null character | [
"software-development"
] | [
"Software Development"
] | I spent some time earlier in the week trying to import a CSV file extracted from Hadoop into Neo4j using Cypher's http://docs.neo4j.org/chunked/stable/query-load-csv.html[LOAD CSV] command and initially struggled due to some rogue characters.
The CSV file looked like this:
[source,bash]
----
$ cat foo.csv
foo,bar,baz
1,2,3
----
I wrote the following LOAD CSV query to extract some of the fields and compare others:
[source,cypher]
----
load csv with headers from "file:/Users/markneedham/Downloads/foo.csv" AS line
RETURN line.foo, line.bar, line.bar = "2"
----
[source,text]
----
==> +--------------------------------------+
==> | line.foo | line.bar | line.bar = "2" |
==> +--------------------------------------+
==> | <null> | "2" | false |
==> +--------------------------------------+
==> 1 row
----
I had expect to see a "1" in the first column and a 'true' in the third column, neither of which happened.
I initially didn't have a text editor with hexcode mode available so I tried checking the length of the entry in the 'bar' field:
[source,cypher]
----
load csv with headers from "file:/Users/markneedham/Downloads/foo.csv" AS line
RETURN line.foo, line.bar, line.bar = "2", length(line.bar)
----
[source,text]
----
==> +---------------------------------------------------------+
==> | line.foo | line.bar | line.bar = "2" | length(line.bar) |
==> +---------------------------------------------------------+
==> | <null> | "2" | false | 2 |
==> +---------------------------------------------------------+
==> 1 row
----
The length of that value is 2 when we'd expect it to be 1 given it's a single character.
I tried trimming the field to see if that made any difference\...
[source,cypher]
----
load csv with headers from "file:/Users/markneedham/Downloads/foo.csv" AS line
RETURN line.foo, trim(line.bar), trim(line.bar) = "2", length(line.bar)
----
[source,text]
----
==> +---------------------------------------------------------------------+
==> | line.foo | trim(line.bar) | trim(line.bar) = "2" | length(line.bar) |
==> +---------------------------------------------------------------------+
==> | <null> | "2" | true | 2 |
==> +---------------------------------------------------------------------+
==> 1 row
----
\...and it did! I thought there was probably a trailing whitespace character after the "2" which trim had removed and that 'foo' column in the header row had the same issue.
I was able to see that this was the case by extracting the JSON dump of the query via the Neo4j browser:
[source,javascript]
----
{
"table":{
"_response":{
"columns":[
"line"
],
"data":[
{
"row":[
{
"foo\u0000":"1\u0000",
"bar":"2\u0000",
"baz":"3"
}
],
"graph":{
"nodes":[
],
"relationships":[
]
}
}
],
...
}
----
It turns out there were null characters scattered around the file so I needed to http://stackoverflow.com/questions/2398393/identifying-and-removing-null-characters-in-unix[pre process the file to get rid of them]:
[source,bash]
----
$ tr < foo.csv -d '\000' > bar.csv
----
Now if we process bar.csv it's a much smoother process:
[source,cypher]
----
load csv with headers from "file:/Users/markneedham/Downloads/bar.csv" AS line
RETURN line.foo, line.bar, line.bar = "2", length(line.bar)
----
[source,text]
----
==> +---------------------------------------------------------+
==> | line.foo | line.bar | line.bar = "2" | length(line.bar) |
==> +---------------------------------------------------------+
==> | "1" | "2" | true | 1 |
==> +---------------------------------------------------------+
==> 1 row
----
Note to self: *don't expect data to be clean, inspect it first!* | null | null | [
-0.00409230450168252,
-0.024766704067587852,
-0.026666028425097466,
0.029353268444538116,
0.09491325169801712,
-0.004640733823180199,
0.01618255488574505,
0.04182659089565277,
0.007935198955237865,
-0.025418251752853394,
-0.018053801730275154,
0.006351429969072342,
-0.04642943665385246,
0.004407170228660107,
0.011206323280930519,
0.059461139142513275,
0.06604619324207306,
0.019396552816033363,
0.020101260393857956,
-0.03190218284726143,
0.028813794255256653,
0.02290695533156395,
-0.00007620597170898691,
0.03858175501227379,
0.027522588148713112,
-0.02424069121479988,
-0.03426393121480942,
0.002274938626214862,
-0.0542919896543026,
0.02017405442893505,
0.07493730634450912,
-0.01583174429833889,
0.03869132697582245,
-0.020936155691742897,
0.013141855597496033,
0.006389457266777754,
-0.05880216509103775,
0.010810903273522854,
-0.014856439083814621,
-0.007034735754132271,
-0.04562510922551155,
0.03278645873069763,
-0.026054006069898605,
0.014649688266217709,
-0.03500894457101822,
-0.014326689764857292,
-0.0503031462430954,
0.045885119587183,
-0.022060386836528778,
0.003934985026717186,
-0.06048457324504852,
0.011736074462532997,
-0.02909439615905285,
-0.014591513201594353,
0.033714279532432556,
0.052113126963377,
0.010657829232513905,
-0.06436099857091904,
0.07324354350566864,
-0.013402859680354595,
-0.004204102326184511,
-0.03255060315132141,
-0.011588080786168575,
0.031179368495941162,
0.0012394747463986278,
-0.05465537682175636,
0.0007375418208539486,
0.06627453863620758,
-0.06106868013739586,
-0.03680948540568352,
0.01786225289106369,
0.045756738632917404,
-0.018037036061286926,
-0.03540993481874466,
-0.005555700045078993,
-0.04759220406413078,
-0.017022745683789253,
0.04326079413294792,
0.0309465229511261,
0.05907350406050682,
-0.04026893153786659,
0.02069396898150444,
0.00920170545578003,
0.013127786107361317,
-0.0009792319033294916,
-0.044430751353502274,
-0.024356205016374588,
-0.016441600397229195,
-0.02725943736732006,
0.039008427411317825,
0.017286861315369606,
-0.033305127173662186,
-0.009951239451766014,
-0.013438181951642036,
-0.010437536053359509,
0.02147790975868702,
-0.010480890050530434,
0.023698918521404266,
0.011996163986623287,
-0.01051612664014101,
-0.05759653076529503,
-0.012018064968287945,
0.011754575185477734,
0.027855319902300835,
-0.07526939362287521,
-0.018693093210458755,
-0.0184519961476326,
-0.019191039726138115,
0.02128896303474903,
-0.002572448458522558,
-0.025179004296660423,
-0.01858832873404026,
-0.01536174863576889,
0.006042071618139744,
-0.10278215259313583,
0.05313462018966675,
0.034965161234140396,
0.007962454110383987,
-0.003261083271354437,
0.02998344413936138,
0.025081660598516464,
0.024477621540427208,
0.019624317064881325,
0.0759364515542984,
0.017710840329527855,
0.030774125829339027,
0.008028342388570309,
0.04640143737196922,
0.004642507527023554,
-0.08757297694683075,
-0.02809073030948639,
0.07052967697381973,
0.0013680921401828527,
0.012242503464221954,
0.00046210887376219034,
-0.021869469434022903,
-0.02200496941804886,
0.011961616575717926,
0.027373185381293297,
-0.001325454213656485,
0.01272211130708456,
-0.04385972395539284,
0.03390548750758171,
0.009730796329677105,
0.020113036036491394,
0.02066601999104023,
-0.025799309834837914,
-0.0382704921066761,
-0.01702016592025757,
0.033029425889253616,
0.02482376992702484,
0.014484601095318794,
0.08744875341653824,
-0.003383644623681903,
0.002276649000123143,
0.11426075547933578,
-0.000680320430546999,
0.019417403265833855,
-0.025489266961812973,
0.005013538524508476,
0.04563038423657417,
0.03735992684960365,
0.0031094413716346025,
0.04540927708148956,
-0.020812924951314926,
-0.01013086922466755,
-0.018071936443448067,
0.03781763091683388,
-0.039872344583272934,
0.03612961992621422,
-0.028128674253821373,
-0.05611785501241684,
0.06864605844020844,
-0.033918775618076324,
0.007894014939665794,
0.020482229068875313,
0.06148960068821907,
0.039257485419511795,
0.026864195242524147,
0.00523687619715929,
-0.07424028217792511,
0.05434882640838623,
-0.003019410651177168,
0.030537452548742294,
0.009208680130541325,
0.0123772406950593,
0.06001889333128929,
0.031077727675437927,
-0.0017495732754468918,
0.021800003945827484,
-0.08524689078330994,
-0.058664143085479736,
-0.0416685976088047,
0.004663324914872646,
0.05517776310443878,
-0.020849065855145454,
0.018695857375860214,
0.05412469804286957,
-0.02192498743534088,
0.019783811643719673,
0.004758220165967941,
-0.008820030838251114,
0.031725917011499405,
-0.06484946608543396,
-0.05551401525735855,
0.04644964635372162,
0.022024108096957207,
-0.041440919041633606,
-0.026173429563641548,
0.003965185955166817,
-0.029226792976260185,
0.020920321345329285,
0.036745112389326096,
-0.021240001544356346,
0.04515847936272621,
0.04412423074245453,
0.02927359938621521,
-0.01167068537324667,
0.024235405027866364,
-0.053127188235521317,
0.03387768939137459,
0.003484871704131365,
-0.03108258545398712,
-0.011026880703866482,
-0.021782446652650833,
0.11608795076608658,
0.05360065773129463,
-0.003013546811416745,
-0.07647498697042465,
0.018552405759692192,
-0.0003850945213343948,
-0.04709135740995407,
0.030247971415519714,
-0.020175471901893616,
-0.027766123414039612,
-0.008664676919579506,
-0.03310895711183548,
-0.034080661833286285,
-0.004671711940318346,
-0.004496215842664242,
0.013900764286518097,
0.04219138249754906,
-0.00873664952814579,
0.0406794399023056,
-0.002292247023433447,
-0.013740818947553635,
0.012441002763807774,
-0.03142032399773598,
-0.04885035380721092,
0.019763333722949028,
0.03765742853283882,
0.012189769186079502,
0.049679502844810486,
-0.034132663160562515,
-0.007176527753472328,
-0.017056584358215332,
-0.06668957322835922,
0.028135225176811218,
0.05824756249785423,
0.05742476508021355,
-0.017163502052426338,
0.04899532347917557,
-0.036327749490737915,
0.005414107348769903,
-0.02221612073481083,
-0.03615180402994156,
-0.04123523458838463,
-0.015056008473038673,
0.027840841561555862,
-0.005683887284249067,
0.015946142375469208,
-0.009630782529711723,
0.011147202923893929,
-0.01853053644299507,
0.04032449424266815,
-0.025279179215431213,
0.0420772060751915,
-0.01527852937579155,
-0.0038023055531084538,
-0.056356023997068405,
-0.014039536006748676,
0.06481607258319855,
-0.07181976735591888,
-0.026961276307702065,
0.033866774290800095,
-0.03835730999708176,
0.03542369231581688,
-0.04194814711809158,
-0.025488581508398056,
-0.025678295642137527,
-0.00030631048139184713,
0.05402465909719467,
0.012505038641393185,
0.009931906126439571,
0.05746009573340416,
0.009738748893141747,
0.014915240928530693,
0.026823434978723526,
0.039910051971673965,
0.06620492786169052,
0.00634753005579114,
0.07365003973245621,
0.04132619500160217,
-0.01964630000293255,
-0.02000332437455654,
-0.022528301924467087,
-0.029332231730222702,
-0.018623020499944687,
-0.26677635312080383,
0.07494950294494629,
-0.038325898349285126,
-0.053370729088783264,
0.014193820767104626,
-0.03565557301044464,
-0.001959816785529256,
-0.03376070782542229,
-0.01616986095905304,
0.0014536225935444236,
-0.011663326062262058,
-0.023137006908655167,
-0.021176442503929138,
0.040144260972738266,
0.0027631474658846855,
0.036838240921497345,
-0.005322955083101988,
-0.0671864002943039,
0.006577820982784033,
0.03938139230012894,
0.009359806776046753,
-0.03257644549012184,
0.003513536648824811,
0.017691608518362045,
0.013888553716242313,
0.06554798781871796,
-0.08008632063865662,
0.0455857589840889,
-0.05353573337197304,
-0.055936217308044434,
-0.00044761455501429737,
-0.05194482579827309,
0.010283621959388256,
0.015754694119095802,
-0.019063441082835197,
-0.020532211288809776,
0.03900549188256264,
0.010901997797191143,
0.008564971387386322,
0.026209628209471703,
-0.037400923669338226,
-0.04998931661248207,
0.010824265889823437,
-0.03325018659234047,
0.07173126935958862,
-0.020625289529561996,
-0.06008501350879669,
-0.018537182360887527,
-0.005798691418021917,
0.06782575696706772,
-0.019548000767827034,
-0.036525700241327286,
-0.02965237945318222,
0.029706433415412903,
-0.00799032673239708,
0.007195072248578072,
-0.010846227407455444,
-0.003914492670446634,
-0.04343991354107857,
-0.028077954426407814,
-0.00970001332461834,
-0.0551004633307457,
0.016557395458221436,
-0.06518302857875824,
-0.001529982779175043,
-0.05316442623734474,
-0.07091769576072693,
-0.02809172309935093,
0.054965510964393616,
0.04621027782559395,
-0.022278480231761932,
0.027115140110254288,
0.01502484455704689,
-0.10129096359014511,
-0.028738750144839287,
-0.060576677322387695,
0.004499481059610844,
-0.009678434580564499,
-0.029656678438186646,
0.024230191484093666,
-0.05777046084403992,
-0.0511615164577961,
0.018770484253764153,
0.009486790746450424,
0.02202809415757656,
-0.005241838283836842,
0.010136148892343044,
-0.03598883002996445,
-0.03958049416542053,
-0.00016302500443998724,
0.05629477649927139,
-0.057110995054244995,
-0.016621345654129982,
0.008875258266925812,
-0.03603266924619675,
0.018335742875933647,
-0.002339844359084964,
-0.004620496183633804,
0.0052045853808522224,
0.06003333255648613,
0.05044283717870712,
-0.04296419024467468,
0.000545339600648731,
-0.05461268126964569,
-0.0221126489341259,
-0.012829291634261608,
-0.03547067195177078,
0.03220629319548607,
0.032427433878183365,
0.0334266722202301,
-0.0006110660033300519,
-0.01701083779335022,
0.015067066997289658,
-0.05124516040086746,
-0.030128464102745056,
-0.003400913905352354,
0.017468435689806938,
0.006385408341884613,
0.03466043248772621,
-0.02935105189681053,
-0.04303601384162903,
0.02059653401374817,
0.041411932557821274,
-0.021850094199180603,
-0.05701376870274544,
-0.02602626383304596,
-0.013189700432121754,
-0.013276858255267143,
-0.009233815595507622,
-0.009790843352675438,
-0.06053442135453224,
0.005488243419677019,
0.024940742179751396,
-0.020287761464715004,
0.046877119690179825,
-0.035097282379865646,
-0.052303873002529144,
-0.029490705579519272,
-0.009394781664013863,
0.011598330922424793,
-0.005551959853619337,
-0.018396439030766487,
-0.006047411356121302,
0.05172456428408623,
0.04314318671822548,
-0.009962073527276516,
0.00847869273275137,
-0.005005502142012119,
0.010992123745381832,
-0.007041921839118004,
-0.015473432838916779,
-0.033427827060222626,
0.01814834214746952,
-0.01604265533387661,
-0.052488360553979874,
-0.013124504126608372,
0.05806831270456314,
0.019379986450076103,
-0.01161590963602066,
-0.02799786813557148,
0.04752501845359802,
-0.04587637260556221,
0.03344663232564926,
-0.0033490268979221582,
-0.00904515665024519,
0.041734613478183746,
0.0037094855215400457,
0.020242294296622276,
-0.022016510367393494,
0.009414694271981716,
-0.0007388053345493972,
0.04682651534676552,
-0.03334365040063858,
0.00156713358592242,
-0.0018854840891435742,
0.016866106539964676,
0.043409522622823715,
0.026040367782115936,
0.01621670462191105,
0.04485703632235527,
-0.0033942621666938066,
-0.02157970704138279,
0.019802462309598923,
0.036226093769073486,
0.044144000858068466,
0.04994433373212814,
-0.018043138086795807,
0.017912765964865685,
-0.021870054304599762,
-0.01035463996231556,
-0.018014121800661087,
-0.009182232432067394,
-0.02511332370340824,
-0.005815793760120869,
-0.036521002650260925,
-0.048227209597826004,
0.045000109821558,
0.005328717641532421,
0.023820074275135994,
0.03897539898753166,
0.02812144160270691,
-0.021957674995064735,
-0.003338612150400877,
0.009303889237344265,
0.042238205671310425,
-0.04951583966612816,
-0.022422824054956436,
-0.020906157791614532,
-0.0026815286837518215,
0.007424915675073862,
0.02127090096473694,
-0.06606714427471161,
-0.053052157163619995,
-0.01577034778892994,
0.04330103099346161,
-0.018046380952000618,
-0.040968526154756546,
-0.02331605739891529,
0.006739439442753792,
-0.01202244684100151,
-0.0009549983660690486,
0.003857463365420699,
0.013294566422700882,
-0.024748703464865685,
0.02265220135450363,
0.025942323729395866,
-0.0029223128221929073,
-0.015194273553788662,
0.030589329078793526,
-0.012416341342031956,
0.02404213696718216,
-0.024135109037160873,
0.05379016324877739,
0.04541363567113876,
-0.008726549334824085,
-0.026878178119659424,
-0.04646870493888855,
0.004570901859551668,
-0.044905420392751694,
0.031368713825941086,
0.019794531166553497,
0.006084940396249294,
-0.01235172338783741,
0.024079009890556335,
-0.0010838162852451205,
0.010028822347521782,
-0.014082107692956924,
-0.031207138672471046,
0.001580826472491026,
0.05331771448254585,
0.001037374953739345,
0.041488565504550934,
-0.0013335964176803827,
-0.0576915517449379,
0.04984879121184349,
-0.020818868651986122,
-0.04867355898022652,
-0.006583307404071093,
-0.062135227024555206,
0.017069242894649506,
0.027894223108887672,
0.011991800740361214,
-0.041382621973752975,
0.06702236086130142,
0.04732624441385269,
0.014027171768248081,
0.03171005845069885,
0.004204950295388699,
0.053174376487731934,
-0.016590669751167297,
-0.0374135747551918,
-0.08918024599552155,
0.03497449308633804,
0.05904608964920044,
-0.01991521194577217,
-0.0028977077454328537,
-0.010092497803270817,
-0.028575317934155464,
0.015233897604048252,
-0.04754019156098366,
-0.04315292090177536,
0.0424339696764946,
-0.018580691888928413,
0.04373294487595558,
-0.00009490990487392992,
-0.05749066546559334,
0.016893045976758003,
0.04835828021168709,
-0.03173748776316643,
-0.03450821340084076,
-0.04868685081601143,
0.06889745593070984,
-0.032883018255233765,
0.030154576525092125,
-0.019423935562372208,
-0.047152675688266754,
0.06009625270962715,
0.024670056998729706,
0.04247773811221123,
0.03241652250289917,
-0.029557395726442337,
0.04233080521225929,
0.03384542837738991,
-0.03448861837387085,
0.010659836232662201,
0.033462438732385635,
-0.03579140454530716,
-0.04573723301291466,
0.00956897996366024,
0.028865549713373184,
0.01481395959854126,
-0.024554776027798653,
0.061945416033267975,
0.007932438515126705,
-0.015471589751541615,
-0.05340370908379555,
0.045426949858665466,
-0.011221257038414478,
-0.008857308886945248,
-0.046759702265262604,
0.006173138972371817,
-0.034410860389471054,
0.03852866217494011,
-0.004517539869993925,
-0.0003922324103768915,
0.08150254935026169,
-0.014230216853320599,
0.015089472755789757,
0.012207009829580784,
0.06891108304262161,
0.10017387568950653,
0.04694933816790581,
0.01670645922422409,
0.04099196568131447,
-0.017068982124328613,
-0.03805689513683319,
-0.0027517774142324924,
-0.023222899064421654,
0.014795764349400997,
-0.005576336290687323,
-0.015427688136696815,
0.06489995867013931,
-0.01988177001476288,
0.09118267893791199,
-0.02433001436293125,
0.0062327622435987,
-0.015935035422444344,
-0.01882964000105858,
0.0296471007168293,
0.04527246579527855,
0.009593180380761623,
0.0209992416203022,
-0.033478885889053345,
-0.001289951615035534,
0.022235387936234474,
0.02780570089817047,
-0.03609549626708031,
0.02816055342555046,
-0.034800153225660324,
-0.026720700785517693,
-0.004146619234234095,
0.03729650750756264,
0.09191125631332397,
-0.04276956245303154,
0.008888374082744122,
0.00856942031532526,
0.028472276404500008,
-0.010370436124503613,
0.03572866693139076,
-0.03071456030011177,
-0.023403864353895187,
-0.031892530620098114,
-0.04634862765669823,
-0.0486980602145195,
-0.006514877546578646,
-0.024785485118627548,
0.0021347887814044952,
-0.00959620252251625,
0.0036461101844906807,
0.018670368939638138,
-0.004692901857197285,
-0.022941065952181816,
-0.043152857571840286,
-0.03709902986884117,
-0.0497095063328743,
-0.08139471709728241,
-0.009136500768363476,
-0.0010990683222189546,
0.0008105990709736943,
-0.014902745373547077,
0.01853831484913826,
-0.050373487174510956,
-0.01691020466387272,
0.02809138596057892,
-0.01957634650170803,
0.006533825304359198,
-0.0018069776706397533,
0.016553465276956558,
-0.0018362852279096842,
0.030406689271330833,
0.03794114291667938,
-0.028693286702036858,
0.01763802580535412,
0.009688731282949448,
-0.009023278020322323,
0.05575868487358093,
0.019089678302407265,
0.00025723292492330074,
-0.07580821961164474,
-0.005766014102846384,
0.016580194234848022,
-0.013666183687746525,
-0.0856313705444336,
0.027206968516111374,
0.05042920634150505,
-0.02855081669986248,
0.038691312074661255,
-0.0068397559225559235,
-0.004315567668527365,
-0.02400459721684456,
-0.007567273452877998,
-0.015915263444185257,
0.006405256688594818,
0.04031723365187645,
-0.016573673114180565,
0.06848407536745071,
0.03450453281402588,
-0.017090022563934326,
-0.04201372340321541,
-0.015747012570500374,
-0.021547719836235046,
0.027016526088118553,
-0.0359865240752697,
-0.014265468344092369,
-0.061892036348581314,
-0.08476746827363968,
0.009458484128117561,
-0.006261691451072693,
-0.034432582557201385,
-0.017524031922221184,
-0.005020509473979473,
0.005671061109751463,
-0.04422473534941673,
0.021177493035793304,
-0.03175340220332146,
0.026040563359856606,
-0.023592406883835793,
-0.04729977995157242,
-0.02457566186785698,
0.02372686192393303,
-0.006205289624631405,
0.0020080339163541794,
0.02927199937403202,
-0.03538653627038002,
-0.0007110257865861058,
-0.02002538926899433,
0.004597678314894438,
0.03875236585736275,
0.027149703353643417,
0.02530406415462494
] | [
-0.05115801841020584,
-0.021243931725621223,
-0.02518276311457157,
-0.03581070527434349,
0.08208017796278,
-0.04483414068818092,
-0.036677971482276917,
0.0006228768033906817,
-0.007131308317184448,
0.00601588748395443,
0.01208773534744978,
-0.03291689604520798,
-0.014805727638304234,
-0.035644516348838806,
0.04029054567217827,
-0.029161112383008003,
-0.02346010133624077,
-0.051255714148283005,
-0.062155790627002716,
0.08964546024799347,
-0.042904481291770935,
-0.042744845151901245,
-0.033604033291339874,
-0.06792816519737244,
-0.005594079848378897,
-0.003412662772461772,
0.043028343468904495,
-0.03951297327876091,
-0.030591396614909172,
-0.22050689160823822,
-0.0138900987803936,
-0.0019533366430550814,
0.001100023160688579,
-0.00006004453098285012,
0.020844895392656326,
0.003026116406545043,
0.06800388544797897,
-0.04234090447425842,
0.00402972474694252,
0.0397246778011322,
0.048093006014823914,
-0.013852518983185291,
-0.05503581836819649,
-0.0005766974063590169,
0.01244641374796629,
-0.004929996561259031,
-0.013650190085172653,
-0.01121488120406866,
-0.005813466850668192,
0.02232510596513748,
-0.05545598641037941,
0.0019693702924996614,
0.006721166893839836,
-0.011307141743600368,
-0.014379068277776241,
0.026631765067577362,
0.05450176075100899,
0.06816416233778,
0.0126902861520648,
0.037265971302986145,
-0.009902270510792732,
0.027358802035450935,
-0.13117104768753052,
0.07527724653482437,
0.02313939854502678,
0.012984983623027802,
-0.0719752237200737,
-0.017192471772432327,
-0.031168324872851372,
0.05905941128730774,
-0.0055051883682608604,
-0.013071144931018353,
-0.06439870595932007,
0.10976573824882507,
-0.004403036553412676,
0.026904020458459854,
-0.017171619459986687,
0.019092952832579613,
0.0335615798830986,
-0.0291892122477293,
-0.06842342019081116,
-0.00006416171527234837,
-0.02987959049642086,
0.01283293403685093,
-0.04555442929267883,
0.060894086956977844,
-0.019848808646202087,
0.06953359395265579,
0.004115691874176264,
0.018383491784334183,
0.028032498434185982,
0.009677109308540821,
0.056772831827402115,
0.04271642118692398,
-0.09877512603998184,
-0.04661637917160988,
0.015938494354486465,
0.022245589643716812,
0.031526435166597366,
0.37154310941696167,
-0.019654113799333572,
-0.036065101623535156,
0.028725750744342804,
0.039377644658088684,
0.03011251986026764,
-0.0009880228899419308,
0.006869266740977764,
-0.02680106647312641,
0.04832830652594566,
-0.018848368898034096,
-0.0035428465344011784,
-0.037800341844558716,
0.036119163036346436,
-0.1016814187169075,
0.005426816642284393,
0.020440759137272835,
0.030445726588368416,
-0.013757159002125263,
-0.06062701717019081,
0.03936557471752167,
0.02187407575547695,
0.0008686053333804011,
0.041453007608652115,
0.004116424825042486,
0.04753085598349571,
0.020407089963555336,
0.023408228531479836,
0.04830207675695419,
0.05939266458153725,
0.030096398666501045,
0.058029402047395706,
-0.003073217812925577,
-0.050535865128040314,
0.01256378274410963,
-0.007294734474271536,
0.007460833061486483,
0.02708524465560913,
-0.024392586201429367,
-0.03766421973705292,
-0.010782163590192795,
0.0073125348426401615,
-0.028076186776161194,
0.04184849560260773,
0.010417127050459385,
-0.028530936688184738,
0.10363782197237015,
-0.02131667546927929,
-0.02809823676943779,
-0.031071992591023445,
-0.06295579671859741,
0.004099288955330849,
0.03899368271231651,
0.005792344454675913,
-0.04748305678367615,
0.0002423418191028759,
0.0055491868406534195,
0.06720539182424545,
-0.010411806404590607,
-0.09609752893447876,
-0.00730865215882659,
-0.008229288272559643,
-0.05662010237574577,
-0.021359926089644432,
0.06982399523258209,
0.06067328900098801,
-0.07553710043430328,
-0.024385323747992516,
0.01495501957833767,
0.041669122874736786,
-0.04679349809885025,
0.03098084218800068,
-0.019723739475011826,
-0.06229211017489433,
-0.022379901260137558,
0.04839476943016052,
-0.03454945608973503,
-0.04374779760837555,
-0.0038074704352766275,
0.04493995010852814,
0.026923010125756264,
0.0020027460996061563,
0.024947496131062508,
-0.029954342171549797,
0.027775049209594727,
-0.06678494811058044,
-0.057368937879800797,
-0.07744086533784866,
0.04021273925900459,
-0.03270963206887245,
-0.031073255464434624,
-0.013699531555175781,
0.0010129953734576702,
-0.06283525377511978,
0.049368783831596375,
-0.03483525291085243,
-0.010494602844119072,
0.007849846966564655,
0.018920624628663063,
-0.004388104192912579,
-0.052978403866291046,
0.06066043674945831,
0.03388337045907974,
-0.022947747260332108,
0.015978461131453514,
-0.04083719477057457,
-0.043439313769340515,
0.08719144761562347,
-0.059593215584754944,
0.03228826820850372,
0.031207673251628876,
-0.0409117117524147,
0.03968273475766182,
-0.019708778709173203,
0.018975108861923218,
-0.01609884947538376,
-0.030240166932344437,
0.006691372953355312,
-0.028315404430031776,
0.037579335272312164,
0.04648985713720322,
-0.04570291191339493,
-0.052993737161159515,
-0.03231516480445862,
-0.3599611818790436,
-0.028375841677188873,
0.0012697839410975575,
-0.035010598599910736,
0.018880946561694145,
0.00150973885320127,
0.002545576775446534,
-0.014325561933219433,
0.0225774385035038,
0.02402389608323574,
0.08463103324174881,
-0.0004997628275305033,
-0.0013226973824203014,
-0.10749591886997223,
0.014215766452252865,
0.034543734043836594,
0.02248154766857624,
-0.003745028516277671,
-0.015814004465937614,
0.03193151578307152,
0.008195729926228523,
-0.05255534499883652,
-0.02510417066514492,
-0.01535776536911726,
0.024748042225837708,
-0.00659532193094492,
0.099696084856987,
0.017764108255505562,
0.06370574235916138,
-0.05333159863948822,
0.04637080430984497,
0.01687103509902954,
0.006677295081317425,
-0.07299666106700897,
0.0011843382380902767,
-0.0205034539103508,
0.0035674104001373053,
0.033689018338918686,
-0.0029557242523878813,
0.02751133218407631,
-0.02373494952917099,
-0.01235492154955864,
-0.047769106924533844,
-0.040426332503557205,
0.02596401609480381,
0.005802419502288103,
-0.02314838208258152,
-0.020760420709848404,
0.0013438072055578232,
0.07034772634506226,
-0.008189485408365726,
0.02973269671201706,
0.020335134118795395,
0.0641578957438469,
0.049989160150289536,
-0.012754893861711025,
-0.052181001752614975,
0.004352501593530178,
0.03586661443114281,
0.012455159798264503,
0.0027969779912382364,
0.01819375529885292,
0.05031373351812363,
-0.09108448773622513,
0.0004443972138687968,
-0.0027212481945753098,
-0.00008035777136683464,
0.025072937831282616,
0.03237806633114815,
-0.018641579896211624,
-0.0461098849773407,
0.07105053961277008,
-0.0212674792855978,
0.047682520002126694,
0.02989249862730503,
0.06560767441987991,
-0.02465878240764141,
-0.006040072534233332,
0.03780389577150345,
0.0026161614805459976,
0.07576841115951538,
-0.006699920631945133,
0.0722600668668747,
-0.019122784957289696,
0.0013549381401389837,
0.05866223946213722,
-0.011667001992464066,
-0.016693133860826492,
0.039938390254974365,
-0.0019662166014313698,
-0.0027649367693811655,
-0.011143256910145283,
-0.013052028603851795,
-0.058345403522253036,
0.07911164313554764,
-0.032570548355579376,
-0.26824527978897095,
0.04933520406484604,
0.008911331184208393,
0.05273909121751785,
0.009450110606849194,
-0.004952685907483101,
0.03379083052277565,
-0.059711527079343796,
0.0035537313669919968,
0.03390046954154968,
0.014789770357310772,
0.034360215067863464,
-0.007641000673174858,
-0.02490111067891121,
0.0015296022174879909,
-0.00786414835602045,
0.04032682627439499,
0.030280904844403267,
0.05383332446217537,
-0.006506623700261116,
0.012120558880269527,
-0.04069772735238075,
0.15928201377391815,
0.038688354194164276,
-0.010497000068426132,
0.018584122881293297,
-0.03703039139509201,
0.01628017984330654,
0.05406462028622627,
0.022665463387966156,
-0.008822796866297722,
0.032927773892879486,
0.036612361669540405,
0.05447252467274666,
0.02111857384443283,
-0.05942715331912041,
-0.012268691323697567,
0.06349023431539536,
0.017847992479801178,
-0.04484519734978676,
-0.022805610671639442,
0.044636864215135574,
-0.053110506385564804,
0.017713777720928192,
0.03834988921880722,
-0.05234244838356972,
0.0031430006492882967,
-0.0385194830596447,
-0.048167288303375244,
-0.008071343414485455,
-0.019902285188436508,
-0.02044265903532505,
-0.016348225995898247,
-0.04463637247681618,
0.002182594034820795,
0.07780726999044418,
0.00628849770873785,
-0.032034970819950104,
0.015354737639427185,
0.016975464299321175,
0.01591772772371769,
-0.08095426112413406,
0.1026058942079544,
0.010538505390286446,
0.002100398764014244
] | [
0.002296195365488529,
0.05071393772959709,
-0.018314087763428688,
0.03517117351293564,
-0.022184129804372787,
-0.022175492718815804,
-0.03739826753735542,
0.017659198492765427,
0.009668380953371525,
0.006876124534755945,
-0.04684930667281151,
-0.03274236246943474,
0.05735870450735092,
-0.03742532804608345,
-0.010154485702514648,
-0.02684018760919571,
-0.04040323197841644,
0.033626995980739594,
0.017074231058359146,
-0.02159108780324459,
-0.023351937532424927,
0.019176200032234192,
0.014588973484933376,
-0.029584243893623352,
-0.015092257410287857,
0.02015565149486065,
-0.04385454207658768,
0.008773133158683777,
-0.007509100716561079,
-0.11945217102766037,
-0.044407859444618225,
-0.016437796875834465,
0.0025237405207008123,
0.015842396765947342,
-0.02123025618493557,
0.006581178400665522,
0.04976847395300865,
0.05617453157901764,
-0.029912028461694717,
0.016610587015748024,
0.016632992774248123,
-0.010470475070178509,
-0.01382107101380825,
0.019283216446638107,
0.00031329848570749164,
-0.019715504720807076,
-0.03698285296559334,
-0.005787993315607309,
0.004028672818094492,
0.0041875457391142845,
-0.07471449673175812,
0.0025088870897889137,
-0.002986588981002569,
0.006206385791301727,
-0.019915441051125526,
0.0023751191329210997,
-0.015480516478419304,
-0.009205775335431099,
-0.007265535648912191,
0.005056582856923342,
0.006336303893476725,
-0.0344020240008831,
-0.059856779873371124,
-0.022046416997909546,
0.026318751275539398,
-0.03213568031787872,
-0.024479523301124573,
0.03304138779640198,
0.015074295923113823,
0.002276637824252248,
-0.022400250658392906,
0.03313577175140381,
-0.10411601513624191,
0.0030936733819544315,
-0.004422205034643412,
0.02045535296201706,
0.03998888283967972,
-0.03351379558444023,
0.026865338906645775,
-0.015843337401747704,
-0.04501315951347351,
-0.010190166532993317,
-0.025757161900401115,
-0.007809420116245747,
-0.03801868110895157,
0.013758037239313126,
-0.024316079914569855,
0.008450335822999477,
-0.016147008165717125,
0.0273924320936203,
-0.0021267973352223635,
0.0028918557800352573,
0.0168167632073164,
0.012528033927083015,
-0.0763462632894516,
-0.006563827395439148,
0.02504207380115986,
0.009394317865371704,
0.018100585788488388,
0.8097453713417053,
0.021382544189691544,
-0.004558384884148836,
0.007297981064766645,
-0.003339368849992752,
-0.008125562220811844,
-0.02648692950606346,
0.04672183468937874,
0.018059413880109787,
0.010571292601525784,
-0.03783413767814636,
0.021312115713953972,
-0.018790794536471367,
0.0006826659082435071,
-0.027749067172408104,
-0.015044053085148335,
0.05536177381873131,
0.006363931577652693,
-0.001533490139991045,
-0.032840825617313385,
0.0002879483508877456,
-0.022440975531935692,
-0.004926246125251055,
-0.02247336506843567,
-0.025700710713863373,
0.0010708036134019494,
-0.17462052404880524,
0.015642555430531502,
-6.750543734561798e-33,
-0.0020907996222376823,
-0.017957281321287155,
0.05196366831660271,
0.00667537422850728,
0.033135708421468735,
0.00928328838199377,
-0.0037083125207573175,
0.04054199531674385,
-0.04431242123246193,
-0.016847694292664528,
0.017193570733070374,
-0.01831277646124363,
-0.006886247079819441,
-0.01647566817700863,
0.01870565675199032,
-0.029878532513976097,
0.022282177582383156,
-0.011350479908287525,
-0.015901459380984306,
-0.022719649598002434,
0.03256537765264511,
0.038593120872974396,
0.03700995072722435,
0.042600035667419434,
0.05098169296979904,
0.003932022023946047,
0.0015591001138091087,
-0.0074889808893203735,
-0.020403863862156868,
-0.037510551512241364,
-0.054520584642887115,
0.01191509049385786,
-0.010989108122885227,
-0.06310757249593735,
0.023992005735635757,
-0.06736694276332855,
-0.009737289510667324,
0.007698173634707928,
-0.0304031390696764,
-0.026659557595849037,
-0.014824084006249905,
0.01061371061950922,
0.008769295178353786,
0.0023018631618469954,
-0.045367319136857986,
-0.013067713938653469,
-0.015411686152219772,
0.026069140061736107,
-0.008306740783154964,
0.03171245753765106,
0.04524306580424309,
0.033775538206100464,
0.03537530452013016,
0.0000874155230121687,
-0.006008068099617958,
0.020465044304728508,
0.0106586292386055,
0.009952089749276638,
0.01327857282012701,
0.02252189815044403,
0.02608710713684559,
0.023377826437354088,
-0.012859838083386421,
0.051072005182504654,
0.026010140776634216,
0.0041603874415159225,
0.06166930869221687,
0.026698052883148193,
-0.02201150543987751,
0.04554622620344162,
-0.012134366668760777,
0.04769793897867203,
-0.00502651184797287,
-0.04410744085907936,
0.03234807774424553,
-0.02604675106704235,
-0.018067410215735435,
0.007967713288962841,
0.0464051179587841,
0.01652240753173828,
0.01180302258580923,
-0.0421002060174942,
0.007568209432065487,
-0.010336424224078655,
-0.06197991594672203,
0.014968053437769413,
0.04620741307735443,
0.0012765139108523726,
0.013723588548600674,
0.015015934593975544,
0.031684510409832,
0.026062136515975,
0.000723383913282305,
-0.03982493281364441,
-0.025447096675634384,
6.682224737575976e-33,
0.016459587961435318,
-0.012832986190915108,
-0.021278584375977516,
0.008740704506635666,
0.038291413336992264,
0.0389750599861145,
0.005905588157474995,
0.005280727054923773,
-0.023379473015666008,
0.019896624609827995,
0.000836160674225539,
0.0169077031314373,
-0.009036894887685776,
0.027099313214421272,
0.03795710951089859,
0.03599704056978226,
0.01852833852171898,
-0.032301001250743866,
-0.028026971966028214,
0.010318513959646225,
0.005892731714993715,
-0.017348092049360275,
0.008628509007394314,
0.04016285389661789,
0.04939937964081764,
-0.010338837280869484,
-0.000973281217738986,
0.01145282480865717,
-0.02456766925752163,
0.02075217105448246,
-0.006036531645804644,
-0.012567670084536076,
-0.023272816091775894,
-0.031362779438495636,
-0.041998788714408875,
0.007941213436424732,
0.01944299042224884,
0.0367913544178009,
0.04015062376856804,
0.028747867792844772,
0.006313262972980738,
0.032626792788505554,
-0.021791694685816765,
0.03732483834028244,
0.030002644285559654,
0.042799826711416245,
0.01848963089287281,
0.0280949454754591,
-0.006311279721558094,
0.036378633230924606,
0.00502746133133769,
0.03361639752984047,
-0.0032123697455972433,
0.053778067231178284,
0.05946778133511543,
-0.03304203227162361,
-0.0037481344770640135,
0.006344896741211414,
-0.036121219396591187,
-0.04518790543079376,
-0.06426654011011124,
-0.0034597166813910007,
-0.028041336685419083,
0.016836384311318398,
-0.0009469954529777169,
-0.011811930686235428,
-0.05827472731471062,
-0.003443492576479912,
-0.010962557047605515,
-0.03512769564986229,
0.021227339282631874,
-0.022011684253811836,
-0.01182041596621275,
0.01868700049817562,
-0.04131355881690979,
0.008709494955837727,
-0.020517393946647644,
-0.004630477167665958,
-0.03885890543460846,
0.04530971124768257,
0.05149286612868309,
-0.025192292407155037,
0.04293512925505638,
0.023493748158216476,
0.006523996591567993,
-0.0022632607724517584,
-0.014507444575428963,
-0.009283047169446945,
0.009918763302266598,
0.025825917720794678,
-0.009595518931746483,
-0.03745640069246292,
-0.020120203495025635,
0.031970664858818054,
-0.02759052813053131,
-1.2235774171642788e-8,
-0.01704261638224125,
-0.007806084118783474,
-0.037498146295547485,
0.007334873545914888,
0.021056197583675385,
0.03431808203458786,
-0.041941866278648376,
0.00024167459923774004,
0.0055312118493020535,
0.022136591374874115,
0.03097129799425602,
-0.034904953092336655,
0.006620337720960379,
0.02051464654505253,
0.01181492768228054,
-0.023551201447844505,
0.03632155433297157,
-0.015530146658420563,
0.02331201359629631,
-0.007444861810654402,
-0.011918459087610245,
0.06837768107652664,
-0.02196573093533516,
0.018054679036140442,
0.030352428555488586,
-0.005675165448337793,
-0.021188464015722275,
-0.08965477347373962,
0.029689550399780273,
-0.0465027317404747,
-0.007752131670713425,
-0.03109624609351158,
-0.03594734147191048,
-0.011770213022828102,
-0.008692636154592037,
-0.036280348896980286,
0.02376570738852024,
0.0280227642506361,
0.027140609920024872,
0.04184393957257271,
0.02116844616830349,
0.01994999498128891,
-0.03103068470954895,
-0.02383430488407612,
-0.032401617616415024,
-0.022260652855038643,
-0.05631043389439583,
0.00665444927290082,
0.016004469245672226,
-0.0491342730820179,
0.014765993691980839,
-0.0008934749057516456,
0.01331054512411356,
0.025804428383708,
0.033712148666381836,
0.015593250282108784,
0.012744075618684292,
0.018162038177251816,
-0.010571292601525784,
-0.013825569301843643,
0.03059302270412445,
0.0037334614899009466,
-0.025611858814954758,
-0.010438664816319942
] | neo4j-load-csv-the-sneaky-null-character | https://markhneedham.com/blog/2014/10/18/neo4j-load-csv-the-sneaky-null-character |
false | 2014-10-18 06:35:49 | R: Linear models with the lm function, NA values and Collinearity | [
"r-2",
"rstats"
] | [
"R"
] | In my continued playing around with R I've sometimes noticed 'NA' values in the linear regression models I created but hadn't really thought about what that meant.
On the http://java.dzone.com/articles/r-first-attempt-linear#comment-120879[advice of Peter Huber] I recently started working my way through https://class.coursera.org/regmods-007[Coursera's Regression Models] which has a whole slide explaining its meaning:
image::{{<siteurl>}}/uploads/2014/10/2014-10-17_06-21-07.png[2014 10 17 06 21 07,600]
So in this case 'z' doesn't help us in predicting Fertility since it doesn't give us any more information that we can't already get from 'Agriculture' and 'Education'.
Although in this case we know why 'z' doesn't have a coefficient sometimes it may not be clear which other variable the NA one is http://en.wikipedia.org/wiki/Multicollinearity[highly correlated with].
____
*Multicollinearity* (also *collinearity*) is a statistical phenomenon in which two or more predictor variables in a multiple regression model are highly correlated, meaning that one can be linearly predicted from the others with a non-trivial degree of accuracy.
____
In that situation we can make use of the +++<cite>+++http://stat.ethz.ch/R-manual/R-devel/library/stats/html/alias.html[alias]+++</cite>+++ function to explain the collinearity as http://stats.stackexchange.com/questions/112442/what-are-aliased-coefficients[suggested in this StackOverflow post]:
[source,r]
----
library(datasets); data(swiss); require(stats); require(graphics)
z <- swiss$Agriculture + swiss$Education
fit = lm(Fertility ~ . + z, data = swiss)
----
[source,r]
----
> alias(fit)
Model :
Fertility ~ Agriculture + Examination + Education + Catholic +
Infant.Mortality + z
Complete :
(Intercept) Agriculture Examination Education Catholic Infant.Mortality
z 0 1 0 1 0 0
----
In this case we can see that 'z' is highly correlated with both Agriculture and Education which makes sense given its the sum of those two variables.
When we notice that there's an NA coefficient in our model we can choose to exclude that variable and the model will still have the same coefficients as before:
[source,r]
----
> require(dplyr)
> summary(lm(Fertility ~ . + z, data = swiss))$coefficients
Estimate Std. Error t value Pr(>|t|)
(Intercept) 66.9151817 10.70603759 6.250229 1.906051e-07
Agriculture -0.1721140 0.07030392 -2.448142 1.872715e-02
Examination -0.2580082 0.25387820 -1.016268 3.154617e-01
Education -0.8709401 0.18302860 -4.758492 2.430605e-05
Catholic 0.1041153 0.03525785 2.952969 5.190079e-03
Infant.Mortality 1.0770481 0.38171965 2.821568 7.335715e-03
> summary(lm(Fertility ~ ., data = swiss))$coefficients
Estimate Std. Error t value Pr(>|t|)
(Intercept) 66.9151817 10.70603759 6.250229 1.906051e-07
Agriculture -0.1721140 0.07030392 -2.448142 1.872715e-02
Examination -0.2580082 0.25387820 -1.016268 3.154617e-01
Education -0.8709401 0.18302860 -4.758492 2.430605e-05
Catholic 0.1041153 0.03525785 2.952969 5.190079e-03
Infant.Mortality 1.0770481 0.38171965 2.821568 7.335715e-03
----
If we call alias now we won't see any output:
[source,r]
----
> alias(lm(Fertility ~ ., data = swiss))
Model :
Fertility ~ Agriculture + Examination + Education + Catholic +
Infant.Mortality
---- | null | null | [
0.03694962337613106,
0.01992735266685486,
-0.008532106876373291,
0.0182126946747303,
0.08299925178289413,
0.042641930282115936,
0.02938632108271122,
0.0034948866814374924,
0.008776811882853508,
-0.0023715889547020197,
0.002970159752294421,
0.005454284604638815,
-0.06053681671619415,
0.0427110455930233,
-0.030848611146211624,
0.06466828286647797,
0.06754511594772339,
0.02400466613471508,
-0.014100932516157627,
0.015837816521525383,
0.04880744591355324,
0.031004954129457474,
0.00943539384752512,
0.03766116872429848,
0.033344633877277374,
-0.0142874950543046,
0.04267178103327751,
0.011987397447228432,
-0.030573751777410507,
-0.004606029950082302,
0.061451636254787445,
0.04108092188835144,
-0.011295723728835583,
0.010110805742442608,
0.006251872051507235,
0.031399548053741455,
-0.017998991534113884,
0.018404262140393257,
0.0015322581166401505,
-0.019132575020194054,
-0.10884292423725128,
0.009223492816090584,
-0.017874231562018394,
0.0017895621713250875,
-0.04966401681303978,
-0.026116356253623962,
-0.05959431827068329,
0.0036569777876138687,
0.017674434930086136,
0.025457581505179405,
-0.0701235830783844,
0.030054651200771332,
-0.007413607556372881,
-0.008649005554616451,
-0.018159493803977966,
0.06000099703669548,
0.023093800991773605,
-0.06952030956745148,
0.016600115224719048,
-0.05314118042588234,
-0.0015555998543277383,
0.023793676868081093,
-0.041760168969631195,
-0.01497421320527792,
-0.0007635920192115009,
-0.03252194821834564,
0.025096500292420387,
0.01664414070546627,
-0.04892982915043831,
-0.019859053194522858,
-0.024788416922092438,
0.0035282662138342857,
-0.03407806158065796,
-0.002050501061603427,
-0.010545186698436737,
-0.027645833790302277,
-0.027952590957283974,
0.023655012249946594,
0.016171487048268318,
0.004164119716733694,
-0.038586027920246124,
-0.009569727815687656,
0.034563735127449036,
0.0006898367428220809,
-0.027204636484384537,
-0.056505534797906876,
0.018443385139107704,
-0.04178210347890854,
-0.04513826221227646,
0.06808234751224518,
-0.016333339735865593,
-0.03932160139083862,
0.01791324093937874,
0.010935029946267605,
-0.056379180401563644,
0.012717515230178833,
0.026645246893167496,
-0.03271765634417534,
-0.015068312175571918,
0.008851689286530018,
-0.03831587731838226,
-0.026762232184410095,
0.0038542572874575853,
0.04174833744764328,
-0.08836591243743896,
-0.005492929369211197,
-0.017884448170661926,
-0.015567755326628685,
-0.03374214470386505,
0.027660902589559555,
-0.030034109950065613,
0.031208213418722153,
0.005362862721085548,
0.0018630069680511951,
-0.07599011063575745,
0.07215330004692078,
0.010271407663822174,
0.0034009048249572515,
0.0200315210968256,
0.008491633459925652,
0.010183196514844894,
0.009269719012081623,
-0.05196486413478851,
0.04736992344260216,
-0.029371794313192368,
0.03611351177096367,
0.03215784206986427,
0.022478796541690826,
-0.028921911492943764,
-0.044202059507369995,
0.01295806746929884,
0.04161228612065315,
-0.003399868030101061,
0.018476905301213264,
0.016326934099197388,
-0.05585707724094391,
-0.0016638773959130049,
-0.015809813514351845,
0.06332723796367645,
0.02920720726251602,
0.02006530575454235,
-0.01282381173223257,
0.016073979437351227,
-0.0010168086737394333,
0.039409339427948,
0.016355374827980995,
0.01029766071587801,
-0.02530551701784134,
-0.032225195318460464,
-0.013435134664177895,
0.04699859023094177,
0.05079517140984535,
0.06369150429964066,
-0.03380299359560013,
0.038341883569955826,
0.04943886771798134,
0.030784282833337784,
-0.003972629550844431,
0.00046786630991846323,
0.022302504628896713,
0.03808203339576721,
0.019788146018981934,
0.03690602257847786,
0.06847981363534927,
0.02162773162126541,
-0.024592718109488487,
0.016049766913056374,
0.03092281147837639,
-0.04160137102007866,
0.01002610195428133,
-0.06790191680192947,
-0.05647824704647064,
0.06477431207895279,
-0.029434313997626305,
-0.010748188942670822,
0.03468269854784012,
0.0614427886903286,
0.019352028146386147,
0.07129250466823578,
0.011443759314715862,
-0.06879013031721115,
0.053836219012737274,
0.01596737839281559,
0.04182833433151245,
0.05798530951142311,
-0.013447888195514679,
0.08224652707576752,
0.014346780255436897,
0.01903686672449112,
0.051669295877218246,
-0.054708000272512436,
-0.07852216064929962,
-0.009486046619713306,
-0.016368169337511063,
0.043609946966171265,
-0.0429549515247345,
-0.010969716124236584,
0.0704023614525795,
0.006560512352734804,
0.012287288904190063,
-0.013925296254456043,
0.010739725083112717,
0.02939138561487198,
-0.03358758985996246,
-0.03582154959440231,
0.0327068455517292,
0.011407378129661083,
-0.021872207522392273,
-0.029993094503879547,
0.012423140928149223,
-0.01589822769165039,
0.026112888008356094,
0.022703545168042183,
-0.04250055178999901,
0.05102749168872833,
0.04077162221074104,
0.04018233343958855,
0.03045744076371193,
0.011922935955226421,
0.003171986434608698,
0.014841392636299133,
-0.026008348912000656,
-0.025487594306468964,
-0.006145613268017769,
0.012536979280412197,
0.10881569981575012,
0.06302390992641449,
-0.023530129343271255,
-0.06070055067539215,
0.03449765220284462,
-0.001768548390828073,
-0.026336783543229103,
0.04074040427803993,
0.016596689820289612,
0.0022987250704318285,
0.007640615105628967,
-0.032125528901815414,
-0.020903080701828003,
0.010952631011605263,
-0.040401656180620193,
-0.00034610266447998583,
0.09961806237697601,
-0.027595769613981247,
0.019724933430552483,
-0.04439151659607887,
0.02314668335020542,
-0.003996692132204771,
-0.04218963533639908,
-0.10741408914327621,
-0.001712651806883514,
0.020005950704216957,
0.003471378469839692,
0.03231436386704445,
-0.00909857451915741,
-0.0025209966115653515,
-0.026834076270461082,
-0.04842536151409149,
0.03005915693938732,
0.0690181702375412,
0.04046110808849335,
0.019119856879115105,
0.06475365161895752,
-0.021613512188196182,
-0.005018897820264101,
-0.0020068532321602106,
-0.06278575211763382,
-0.03982320800423622,
-0.039737552404403687,
0.016144614666700363,
0.016240650787949562,
0.026305021718144417,
-0.010047282092273235,
0.024550341069698334,
0.02090497687458992,
0.021998206153512,
-0.02863396890461445,
0.006850106175988913,
0.011267856694757938,
-0.018811702728271484,
-0.006801484618335962,
-0.00668827211484313,
0.06069387122988701,
0.0013655239017680287,
-0.029763396829366684,
-0.00999943632632494,
-0.056649599224328995,
0.04724414646625519,
-0.03076764941215515,
-0.021872300654649734,
-0.02374281734228134,
-0.013959601521492004,
0.013796601444482803,
0.0316133052110672,
-0.004783526062965393,
0.038960084319114685,
0.018627483397722244,
0.021296149119734764,
0.008021191693842411,
0.025585822761058807,
0.03565448522567749,
-0.01734645664691925,
0.013309605419635773,
0.04222371429204941,
-0.013075130991637707,
0.021665235981345177,
-0.02479061670601368,
-0.004193644970655441,
-0.038210753351449966,
-0.2689308524131775,
0.004900332074612379,
0.008703063242137432,
-0.03181253373622894,
0.03793376684188843,
-0.06318727880716324,
0.02464829385280609,
-0.030226802453398705,
-0.017077820375561714,
-0.016139959916472435,
0.028136923909187317,
-0.04427030310034752,
-0.03952674940228462,
0.05599437281489372,
0.0008535149390809238,
0.019262420013546944,
0.005906587932258844,
-0.035693421959877014,
-0.010158401913940907,
0.07025542855262756,
0.06411974132061005,
0.004212046507745981,
-0.02153944782912731,
0.0644947737455368,
0.008452345617115498,
0.0678485557436943,
-0.05777359753847122,
0.006937118712812662,
-0.06050146371126175,
-0.034703489392995834,
0.013411174528300762,
-0.011089449748396873,
-0.01325753703713417,
0.030900131911039352,
0.0010016912128776312,
-0.017371583729982376,
0.05234016850590706,
0.021125761792063713,
0.014501919969916344,
0.04158284142613411,
-0.05240518972277641,
-0.04040186107158661,
0.022766297683119774,
0.011727423407137394,
0.03944065049290657,
0.012468453496694565,
-0.05565138906240463,
0.024935182183980942,
-0.02078794129192829,
0.08985566347837448,
-0.04121089354157448,
0.0020674988627433777,
-0.021054264158010483,
0.013531850650906563,
-0.06141678988933563,
-0.04093439504504204,
0.009116769768297672,
-0.0012739038793370128,
-0.03637697547674179,
-0.039913661777973175,
-0.023249143734574318,
-0.024542706087231636,
0.00025496428133919835,
-0.07279954850673676,
-0.03718745335936546,
-0.050555601716041565,
-0.1157994493842125,
-0.007073701359331608,
0.06314537674188614,
0.008028916083276272,
-0.022122636437416077,
-0.00730080297216773,
-0.020568955689668655,
-0.1095784455537796,
-0.002233675681054592,
-0.029659243300557137,
-0.03466154634952545,
-0.024771831929683685,
-0.0059791449457407,
0.06260319799184799,
-0.03423774987459183,
-0.053411222994327545,
0.04443490877747536,
0.005196028389036655,
0.01799212582409382,
0.019506487995386124,
0.02583412267267704,
0.00455037597566843,
-0.04435036703944206,
-0.016727127134799957,
0.0670747458934784,
-0.06481551378965378,
-0.014188533648848534,
-0.03464607149362564,
0.003201382467523217,
0.03188484162092209,
-0.002446531318128109,
-0.015057284384965897,
0.040181130170822144,
0.041727352887392044,
0.0166843943297863,
-0.06504743546247482,
0.0268186517059803,
-0.04224814474582672,
-0.024572065100073814,
-0.03536701202392578,
-0.03137565776705742,
0.04241093248128891,
0.012056831270456314,
-0.007602811325341463,
0.007102258037775755,
-0.0031659011729061604,
0.0006542782066389918,
-0.024369392544031143,
-0.04241820424795151,
-0.013245690613985062,
0.00008765045640757307,
0.018963875249028206,
0.013252257369458675,
0.010060028173029423,
-0.047342270612716675,
0.025950228795409203,
0.020291047170758247,
-0.07133261114358902,
-0.044848475605249405,
-0.024080930277705193,
0.0022609401494264603,
-0.02799997106194496,
-0.01509491354227066,
0.02812000922858715,
-0.03190948814153671,
0.029421603307127953,
0.02189885824918747,
-0.06150379031896591,
0.03792385384440422,
0.017092052847146988,
-0.047839947044849396,
-0.014457287266850471,
0.006017582956701517,
-0.013482201844453812,
-0.0035416691098362207,
0.017855137586593628,
0.01740410178899765,
0.018561070784926414,
0.04227533936500549,
0.02370748482644558,
0.019384026527404785,
-0.010306967422366142,
-0.00281992694362998,
-0.016701528802514076,
0.015649152919650078,
0.013638820499181747,
0.018731623888015747,
-0.006604357622563839,
-0.020355941727757454,
-0.028900733217597008,
0.04225233197212219,
0.00005551584763452411,
-0.06636730581521988,
-0.05645415186882019,
0.02880663052201271,
-0.053474895656108856,
-0.05554985627532005,
-0.009778968058526516,
-0.007434289436787367,
0.0753491073846817,
-0.0008292145212180912,
0.016855884343385696,
0.0026040133088827133,
0.011003660969436169,
0.033703792840242386,
0.009245313704013824,
-0.016049422323703766,
-0.020529165863990784,
-0.018479611724615097,
-0.024892166256904602,
0.005463786888867617,
-0.03802495077252388,
0.04194038361310959,
-0.014961889013648033,
-0.017787573859095573,
-0.018227921798825264,
0.0266597680747509,
-0.0017347409157082438,
0.016085688024759293,
0.048492830246686935,
-0.022093506529927254,
0.007776162121444941,
-0.025004511699080467,
-0.015181567519903183,
-0.037202779203653336,
-0.0012979338644072413,
-0.03662841022014618,
0.029747413471341133,
-0.05839893966913223,
-0.031935010105371475,
0.024116041138768196,
0.003199379425495863,
-0.0077851577661931515,
0.05763751640915871,
0.003933783154934645,
-0.005371828563511372,
0.002412455389276147,
0.043067436665296555,
0.06723781675100327,
-0.06505704671144485,
0.0004409804823808372,
0.030718009918928146,
-0.05244101956486702,
-0.004101436585187912,
-0.0023316468577831984,
-0.06689943373203278,
-0.017225567251443863,
-0.0043328371830284595,
0.04569144546985626,
-0.028360871598124504,
-0.06388041377067566,
-0.013860570266842842,
-0.005169085692614317,
0.018769482150673866,
0.026905404403805733,
-0.015393183566629887,
0.016203468665480614,
-0.04380691424012184,
0.0037587303668260574,
0.008794554509222507,
0.00660449406132102,
-0.020111175253987312,
0.05213538557291031,
-0.003947662189602852,
0.0200247410684824,
-0.0034666431602090597,
0.015958158299326897,
0.02974661812186241,
0.00862549152225256,
-0.014432973228394985,
-0.022369982674717903,
0.023811928927898407,
-0.0078100585378706455,
-0.00865522027015686,
-0.018131153658032417,
0.009263655170798302,
-0.035998739302158356,
0.013952894136309624,
-0.022356567904353142,
0.0018103774636983871,
-0.012499307282269001,
0.009166778065264225,
0.014366058632731438,
0.0458931028842926,
-0.015566013753414154,
-0.0007221441483125091,
0.0004962391103617847,
0.006093143485486507,
0.05680215731263161,
-0.019353514537215233,
-0.04161052033305168,
-0.005558837205171585,
-0.045668598264455795,
0.04330248385667801,
0.02051965519785881,
0.021286645904183388,
-0.022965215146541595,
0.04741419851779938,
0.04209466278553009,
0.011099043302237988,
0.048550911247730255,
0.032960712909698486,
0.047379691153764725,
-0.041284654289484024,
0.015394413843750954,
-0.10825500637292862,
-0.012720183469355106,
0.04639538377523422,
0.017571263015270233,
-0.021521028131246567,
-0.02214755304157734,
-0.053661640733480453,
-0.007425116375088692,
-0.07902107387781143,
-0.02497745305299759,
0.008204882964491844,
-0.013562164269387722,
0.025414781644940376,
0.011062978766858578,
-0.045658085495233536,
-0.01985442079603672,
0.013716761954128742,
-0.03819722309708595,
-0.015294482931494713,
-0.04398804530501366,
0.043026965111494064,
-0.03207755461335182,
0.02171153761446476,
-0.027111688628792763,
0.032016269862651825,
0.059415869414806366,
0.018925441429018974,
-0.003006067592650652,
0.03710776939988136,
-0.016741009429097176,
0.00035912555176764727,
0.014578497968614101,
0.007195405662059784,
0.0015731327002868056,
0.0005586178740486503,
-0.006818132009357214,
-0.033250585198402405,
0.009059946052730083,
0.027369588613510132,
-0.030616072937846184,
-0.043361205607652664,
0.037963561713695526,
0.029739435762166977,
-0.025417305529117584,
-0.01916077919304371,
0.0058758994564414024,
-0.017443377524614334,
0.006206509657204151,
0.0019803810864686966,
-0.005120248068124056,
-0.02616792544722557,
0.06737007200717926,
-0.037276823073625565,
0.011643354780972004,
0.052497707307338715,
0.0435262955725193,
-0.034224435687065125,
0.004931800067424774,
0.09083104878664017,
0.07370153069496155,
0.04145175963640213,
-0.00756043242290616,
0.06660740822553635,
-0.04314587637782097,
-0.045873984694480896,
0.025345230475068092,
-0.03172812610864639,
0.0049370587803423405,
-0.019227998331189156,
0.008671572431921959,
0.06884398311376572,
-0.021392127498984337,
0.06366213411092758,
-0.016809744760394096,
-0.022448118776082993,
-0.009515514597296715,
-0.001507983193732798,
0.037186093628406525,
0.022511888295412064,
0.009086293168365955,
0.02729225531220436,
-0.014238557778298855,
-0.023395268246531487,
0.0009386903839185834,
0.000167833553859964,
-0.0011356000322848558,
-0.006903574801981449,
-0.01592990756034851,
-0.007987754419445992,
-0.016083059832453728,
0.0326632559299469,
0.08307948708534241,
-0.04695718735456467,
0.003939363639801741,
-0.01477903500199318,
0.05466277152299881,
-0.008077678270637989,
0.006926058325916529,
0.006743893027305603,
-0.02272813394665718,
-0.05182019993662834,
-0.004077492281794548,
-0.04137253388762474,
0.020293904468417168,
-0.009098057635128498,
0.012279774062335491,
-0.060952700674533844,
0.009511742740869522,
0.02826223149895668,
-0.009584867395460606,
-0.016383415088057518,
-0.06645344942808151,
-0.022550109773874283,
-0.06211566925048828,
-0.06640616804361343,
0.01489989273250103,
0.02069872058928013,
-0.009838294237852097,
-0.035927094519138336,
-0.007132305763661861,
-0.011606680229306221,
-0.03623750060796738,
0.055956240743398666,
-0.05495769530534744,
-0.006997507065534592,
0.01222280040383339,
0.03265403211116791,
0.016008250415325165,
0.006955522112548351,
0.02713971771299839,
0.016198886558413506,
-0.02028542198240757,
-0.014991509728133678,
-0.017080694437026978,
0.03831450641155243,
0.05416879057884216,
0.000657976430375129,
-0.06282803416252136,
0.0016542546218261123,
0.017158709466457367,
-0.028153369203209877,
-0.0821181982755661,
0.022788938134908676,
0.03777823597192764,
-0.04394855350255966,
0.036017321050167084,
0.011645504273474216,
0.01239761058241129,
-0.023206844925880432,
0.005517506040632725,
-0.0023832269944250584,
0.027765078470110893,
0.015697933733463287,
-0.02206411398947239,
0.06655978411436081,
0.04804203286767006,
0.006258023902773857,
-0.04213642328977585,
-0.01495211198925972,
-0.0029401935171335936,
-0.0036176193971186876,
-0.02760143391788006,
-0.03638080880045891,
-0.06400037556886673,
-0.11536198109388351,
-0.0246207807213068,
0.009508466348052025,
-0.06804755330085754,
-0.011672805063426495,
0.0006679408834315836,
0.001133186393417418,
-0.013233021833002567,
-0.017280837520956993,
-0.017188038676977158,
0.037904657423496246,
-0.0494312085211277,
0.008130094036459923,
0.0313224196434021,
0.03396926075220108,
-0.03647598996758461,
0.038086824119091034,
0.01837117038667202,
-0.05752290040254593,
-0.0033886050805449486,
-0.05454104021191597,
0.022402647882699966,
0.025002196431159973,
0.03157329931855202,
0.012882684357464314
] | [
-0.04143531620502472,
0.033648256212472916,
-0.046438563615083694,
0.03676731511950493,
0.07695522904396057,
-0.031479381024837494,
0.009619379416108131,
0.04749251902103424,
0.0046381875872612,
-0.011042864061892033,
0.050473909825086594,
-0.07636512815952301,
0.01859157904982567,
-0.010920952074229717,
0.04108550772070885,
-0.014896347187459469,
-0.03500102460384369,
-0.04252997040748596,
-0.04870235174894333,
0.04707929864525795,
0.01591683365404606,
-0.013204662129282951,
-0.0013537186896428466,
-0.03516669198870659,
0.0754801407456398,
0.021446572616696358,
0.02192898653447628,
-0.014870447106659412,
0.0036895954981446266,
-0.22690384089946747,
-0.002034792210906744,
0.06138632446527481,
0.025582866743206978,
0.011379644274711609,
-0.018258672207593918,
0.025762146338820457,
0.017050080001354218,
0.008458775468170643,
0.013564016669988632,
0.03380512446165085,
0.013806899078190327,
0.019953716546297073,
-0.040797363966703415,
-0.0016723457956686616,
0.020398622378706932,
0.0332367978990078,
-0.0343860425055027,
0.009897364303469658,
-0.048088643699884415,
0.01895303651690483,
-0.03206817805767059,
-0.015110574662685394,
-0.019975027069449425,
0.022044582292437553,
0.008951191790401936,
0.05489283427596092,
0.009774730540812016,
0.038739241659641266,
-0.011841773986816406,
0.02166975848376751,
-0.007173342164605856,
-0.01665707677602768,
-0.18317943811416626,
0.08468975126743317,
0.06980343908071518,
0.03088558092713356,
-0.03182037174701691,
-0.023365100845694542,
-0.050969209522008896,
0.017843058332800865,
0.04269413650035858,
-0.005186199676245451,
-0.024730069562792778,
0.028209539130330086,
-0.0005658662412315607,
0.01105471421033144,
-0.001276308437809348,
0.0014237494906410575,
0.02565724588930607,
-0.04546589031815529,
0.03810785338282585,
0.01717519201338291,
-0.023242978379130363,
-0.028011292219161987,
0.026246678084135056,
0.002000788925215602,
-0.017968367785215378,
-0.015566757880151272,
-0.0043172575533390045,
0.013051374815404415,
0.003288205247372389,
-0.011265442706644535,
0.028083262965083122,
0.014195946045219898,
-0.047265198081731796,
0.027589531615376472,
0.01309654489159584,
0.0020962003618478775,
-0.042240530252456665,
0.40180253982543945,
-0.017931198701262474,
-0.030658036470413208,
0.017340073361992836,
0.03440523520112038,
-0.040557581931352615,
-0.003131304867565632,
-0.024764833971858025,
-0.040170393884181976,
0.018555860966444016,
0.018334193155169487,
0.03166235610842705,
-0.014705670066177845,
0.024723155423998833,
-0.07627031207084656,
-0.0011925651924684644,
-0.05352293327450752,
0.07281245291233063,
0.007853083312511444,
0.035736992955207825,
-0.016967659816145897,
-0.0344354510307312,
0.009280767291784286,
0.02564222924411297,
-0.035451821982860565,
0.02160867676138878,
-0.03614242002367973,
0.0422455333173275,
0.08970612287521362,
0.04416549578309059,
-0.022002466022968292,
0.06584418565034866,
-0.012042113579809666,
-0.09672989696264267,
0.015284235589206219,
-0.036984823644161224,
-0.004642949439585209,
0.0419648215174675,
0.0048705944791436195,
-0.01936703361570835,
0.02895071916282177,
-0.03305547684431076,
-0.03467175364494324,
0.0058090463280677795,
-0.01288057304918766,
-0.0770835131406784,
0.1221032589673996,
0.008574957959353924,
-0.016338283196091652,
0.009086520411074162,
-0.032956186681985855,
0.0012544041965156794,
0.071160227060318,
-0.01765529438853264,
-0.018694112077355385,
-0.009572467766702175,
0.02125260978937149,
0.02370324172079563,
-0.04303792119026184,
-0.05784336477518082,
-0.03799515962600708,
-0.017656337469816208,
-0.040849000215530396,
-0.0577249638736248,
0.02438138797879219,
0.05924386531114578,
-0.06510740518569946,
-0.006831286009401083,
0.032705120742321014,
0.024458715692162514,
-0.07378850132226944,
0.04326356202363968,
0.002140541560947895,
-0.04823741689324379,
-0.006708494853228331,
0.05560537055134773,
-0.037611689418554306,
-0.03232390806078911,
0.0031710658222436905,
0.029554402455687523,
0.017062431201338768,
0.008320143446326256,
-0.010958177968859673,
-0.022182805463671684,
0.037882253527641296,
-0.03641973435878754,
-0.0394781157374382,
-0.08081616461277008,
-0.030183536931872368,
0.003986310213804245,
-0.00913909636437893,
0.009066423401236534,
-0.035073719918727875,
-0.08862225711345673,
0.0825284868478775,
-0.03362083435058594,
-0.0012367448071017861,
0.02210044302046299,
0.024986743927001953,
0.014331874437630177,
-0.039168477058410645,
-0.04381473734974861,
0.018891626968979836,
0.03782551363110542,
0.03235519304871559,
-0.0606423057615757,
0.05272733047604561,
0.08968718349933624,
-0.044902924448251724,
0.06228237971663475,
0.04632685333490372,
-0.02014208398759365,
0.01271966565400362,
-0.008950311690568924,
0.004397280048578978,
-0.03083287738263607,
0.038616571575403214,
0.02214082144200802,
-0.03800696134567261,
0.03780120611190796,
0.06353165954351425,
0.015301050618290901,
-0.0599205456674099,
-0.019880833104252815,
-0.36492305994033813,
-0.025288911536335945,
0.004609847906976938,
0.004998051095753908,
0.05992462858557701,
-0.05563361942768097,
0.008817710913717747,
-0.006244212854653597,
-0.01659785397350788,
0.04616694524884224,
0.019583890214562416,
0.040463123470544815,
-0.011098910123109818,
-0.06127725541591644,
0.019122524186968803,
0.018572652712464333,
0.008315029554069042,
-0.04429381340742111,
-0.04749004542827606,
0.02715536765754223,
-0.017510103061795235,
-0.009223022498190403,
-0.007802604231983423,
0.0016513904556632042,
0.012519548647105694,
-0.029435887932777405,
0.0706535279750824,
-0.02435716800391674,
0.06574580073356628,
-0.03540748357772827,
0.016328662633895874,
0.01203316729515791,
0.022106751799583435,
-0.01488509587943554,
-0.009234544821083546,
-0.04920414835214615,
-0.004516294691711664,
0.011700823903083801,
-0.03174283728003502,
-0.04997559264302254,
-0.041511114686727524,
-0.004633751697838306,
-0.0517452172935009,
-0.011491898447275162,
-0.05067715048789978,
0.05922792851924896,
-0.01630631648004055,
0.006361017934978008,
-0.030326753854751587,
0.08222544938325882,
0.03266260772943497,
0.03153974935412407,
0.023094255477190018,
0.013975933194160461,
-0.002349941525608301,
0.010146977379918098,
-0.11515825986862183,
0.029056113213300705,
-0.000878803082741797,
-0.0034447098150849342,
0.019742446020245552,
0.047253016382455826,
0.08675096184015274,
-0.13422703742980957,
-0.0637660026550293,
0.005399114917963743,
-0.00324296485632658,
-0.008353441022336483,
-0.025027794763445854,
0.002336595905944705,
0.0029921927489340305,
0.13393409550189972,
-0.042191892862319946,
-0.007847998291254044,
0.038405898958444595,
0.03468009829521179,
-0.04574957862496376,
0.0004925618413835764,
-0.012276549823582172,
0.037898119539022446,
0.0486600324511528,
-0.05865471437573433,
0.025688258931040764,
-0.005190467461943626,
0.04114129766821861,
0.010494486428797245,
-0.022681184113025665,
-0.0630624070763588,
0.0431491881608963,
0.07281414419412613,
-0.018953703343868256,
-0.04860934242606163,
-0.005954877007752657,
-0.07351594418287277,
0.028796255588531494,
-0.014792971312999725,
-0.2437542825937271,
0.01616980880498886,
0.035992272198200226,
0.04735426977276802,
0.0019641516264528036,
0.024905787780880928,
0.03471117839217186,
-0.06168054789304733,
-0.008372174575924873,
0.04470263421535492,
0.040784794837236404,
0.03490979224443436,
0.06422658264636993,
-0.011616761796176434,
0.029227491468191147,
-0.019559932872653008,
0.057529643177986145,
-0.012969821691513062,
0.02498346008360386,
0.008337928913533688,
0.06559186428785324,
-0.04813114553689957,
0.14485184848308563,
0.02152879908680916,
-0.0024794256314635277,
-0.013855228200554848,
-0.035100411623716354,
-0.01958240568637848,
0.035103071480989456,
-0.0154365049675107,
0.011441691778600216,
0.06837520003318787,
0.017149165272712708,
0.009318186901509762,
0.03446868434548378,
-0.01304786279797554,
-0.05183142423629761,
0.01587875746190548,
0.030239084735512733,
-0.04762771353125572,
-0.009759395383298397,
-0.017843088135123253,
-0.07587648183107376,
0.021548619493842125,
0.07673566788434982,
-0.02138102427124977,
0.02396397665143013,
-0.028664154931902885,
-0.015949074178934097,
0.005007635802030563,
-0.0004517075140029192,
-0.009292824193835258,
-0.009612725116312504,
0.006221356801688671,
-0.006565834861248732,
0.013190822675824165,
-0.014023358933627605,
-0.020877506583929062,
0.0064557213336229324,
-0.011995837092399597,
0.019522681832313538,
-0.027016643434762955,
0.06941137462854385,
0.02574344165623188,
0.01733451895415783
] | [
-0.03223210200667381,
0.036883722990751266,
-0.017568614333868027,
0.048745304346084595,
0.026977818459272385,
-0.009913788177073002,
-0.025190498679876328,
0.0024751073215156794,
-0.015019498765468597,
0.04069489240646362,
0.054854635149240494,
0.01715829037129879,
0.030141163617372513,
-0.00036153849214315414,
-0.0019744024612009525,
-0.03526696562767029,
-0.01192181371152401,
-0.015008288435637951,
0.006150434724986553,
0.031796861439943314,
0.02183162048459053,
0.041460879147052765,
-0.017158659175038338,
-0.015140877105295658,
0.033600009977817535,
0.0012006685137748718,
-0.01740149036049843,
-0.0170755572617054,
0.018015112727880478,
-0.12251868844032288,
-0.02171143889427185,
0.020634667947888374,
-0.015336310490965843,
0.0030711437575519085,
-0.05847892537713051,
-0.04771373048424721,
-0.02752394787967205,
0.027326349169015884,
0.005494600161910057,
0.03558683022856712,
0.015608170069754124,
-0.0008721941849216819,
0.028614666312932968,
-0.01649862341582775,
0.014637942425906658,
-0.030478673055768013,
-0.013989181257784367,
-0.027252178639173508,
0.007264265790581703,
-0.005056878086179495,
-0.04726680368185043,
-0.07519803196191788,
0.010868016630411148,
0.01427837647497654,
0.025160016492009163,
-0.004897058010101318,
-0.04505086690187454,
0.003741860156878829,
-0.047514162957668304,
-0.02133122645318508,
-0.00875069946050644,
0.0430731326341629,
-0.04398493096232414,
-0.012829464860260487,
0.021712005138397217,
0.009756254963576794,
-0.06294358521699905,
-0.008114482276141644,
-0.009707369841635227,
-0.013490671291947365,
0.004549010656774044,
0.01350139919668436,
-0.007003778126090765,
-0.013323243707418442,
-0.008392751216888428,
-0.007375651504844427,
0.018442705273628235,
-0.014795733615756035,
0.017823953181505203,
-0.027645569294691086,
-0.02391241304576397,
0.019051622599363327,
0.010309622623026371,
-0.03716568276286125,
0.0258649792522192,
-0.001111628138460219,
0.00896425824612379,
-0.01860887184739113,
0.016879653558135033,
-0.010962424799799919,
0.02542201802134514,
0.023889612406492233,
0.008992178365588188,
0.04701961949467659,
-0.11060306429862976,
0.015484049916267395,
0.021366648375988007,
-0.05910920351743698,
-0.014398021623492241,
0.8015608191490173,
-0.018851546570658684,
0.021844234317541122,
0.018237020820379257,
0.04431859403848648,
-0.03660038113594055,
-0.0015527980867773294,
-0.025662753731012344,
-0.019810836762189865,
-0.0021249144338071346,
0.017523886635899544,
-0.01558886468410492,
0.03342582285404205,
0.0109076127409935,
0.06239145249128342,
0.018601516261696815,
0.03295762091875076,
0.03620678186416626,
-0.056968651711940765,
0.006642922759056091,
-0.01352243684232235,
-0.012766067869961262,
0.007499078754335642,
-0.026928210631012917,
-0.016196561977267265,
0.039078231900930405,
-0.1928878277540207,
-0.008179094642400742,
-6.633379273879464e-33,
0.015813574194908142,
-0.0022078906185925007,
0.02255936712026596,
-0.00363399856723845,
0.013434411026537418,
0.03086336888372898,
-0.016517803072929382,
0.018752725794911385,
-0.004367918241769075,
-0.03138567507266998,
-0.014371171593666077,
-0.002038500038906932,
-0.02700861543416977,
-0.037442516535520554,
-0.009775848127901554,
-0.00986649189144373,
-0.001634101732634008,
0.0513535775244236,
-0.012287409044802189,
0.09009536355733871,
0.01655278168618679,
0.003768304130062461,
-0.013684703037142754,
-0.0015066292835399508,
0.010854063555598259,
0.019209161400794983,
-0.00482082087546587,
0.013491948135197163,
-0.009993266314268112,
-0.03483009710907936,
0.025825664401054382,
0.0192907452583313,
-0.027695301920175552,
-0.06391791999340057,
0.008372320793569088,
-0.05620397627353668,
-0.007364519406110048,
-0.001368847442790866,
-0.03740287572145462,
0.0023239224683493376,
-0.022412948310375214,
-0.03589200973510742,
-0.003713692305609584,
0.04929860681295395,
-0.039068933576345444,
0.03439781814813614,
0.048335734754800797,
0.0840267688035965,
-0.018480969592928886,
0.03223637863993645,
-0.017531834542751312,
-0.007814629003405571,
-0.04188006371259689,
-0.017504872754216194,
-0.04304834082722664,
0.07410288602113724,
-0.0672709196805954,
0.0021084763575345278,
-0.009248192422091961,
0.008399706333875656,
0.010123071260750294,
-0.021360373124480247,
-0.013703054748475552,
-0.0074705504812300205,
-0.009335538372397423,
-0.008622928522527218,
0.011739527806639671,
-0.05170650780200958,
0.03724946454167366,
0.020530318841338158,
-0.03779447078704834,
-0.02850376069545746,
-0.018923373892903328,
-0.01834683306515217,
0.04397333040833473,
-0.02675766870379448,
0.008702431805431843,
0.01036562118679285,
0.027310868725180626,
0.021751273423433304,
0.04052494838833809,
0.011233414523303509,
-0.028691831976175308,
-0.017459815368056297,
-0.031128982082009315,
-0.010011936537921429,
0.0186773594468832,
0.022201284766197205,
0.024425415322184563,
-0.010248850099742413,
0.043526023626327515,
0.040844984352588654,
-0.0019233730854466558,
-0.04608787223696709,
-0.014550764113664627,
6.893159117307374e-33,
0.014636793173849583,
0.007829462178051472,
-0.03595634922385216,
0.01817326247692108,
0.042004358023405075,
-0.047799937427043915,
0.04149715229868889,
0.011360193602740765,
-0.04257011041045189,
-0.008068090304732323,
0.009533688426017761,
0.008545435965061188,
0.01955549046397209,
0.02600959688425064,
0.02818535454571247,
-0.028030507266521454,
0.003088572761043906,
0.0010933970334008336,
0.01473056711256504,
0.0020327449310570955,
-0.03815261274576187,
0.010735100135207176,
0.016910728067159653,
-0.005813104100525379,
-0.02191317453980446,
0.04855012521147728,
-0.032295744866132736,
0.02384183369576931,
-0.02185334637761116,
-0.0031771021895110607,
0.0006414510426111519,
0.009517309255897999,
-0.017881125211715698,
-0.04543502256274223,
-0.03421495854854584,
0.05235688015818596,
-0.01783844269812107,
-0.022183526307344437,
-0.003943158313632011,
0.008786358870565891,
-0.002548385178670287,
-0.014388632960617542,
-0.039237894117832184,
0.009584154933691025,
0.022215602919459343,
-0.002745478879660368,
0.03276652842760086,
0.015386410988867283,
0.03519507125020027,
0.018106522038578987,
0.019385075196623802,
-0.013607358559966087,
0.003962965216487646,
0.016384964808821678,
0.05330933257937431,
-0.03203669190406799,
0.00034670630702748895,
-0.0007038558251224458,
0.003713520709425211,
0.01530671026557684,
-0.024626297876238823,
0.024682631716132164,
-0.08398417383432388,
0.04134313017129898,
-0.036951009184122086,
-0.0430920347571373,
0.03698858991265297,
-0.011186855845153332,
0.02900719828903675,
0.00297014182433486,
0.0146627863869071,
0.00853953417390585,
0.06432032585144043,
0.015046069398522377,
-0.010664790868759155,
-0.03497375547885895,
-0.013101628981530666,
-0.018755534663796425,
0.021301589906215668,
0.02219480834901333,
-0.0019628386944532394,
-0.023762866854667664,
0.04976811632514,
0.02463226579129696,
-0.009499495849013329,
-0.013900638557970524,
-0.03265896439552307,
-0.021576974540948868,
0.050143491476774216,
0.004323538392782211,
-0.04932073876261711,
-0.022798527032136917,
-0.00048155037802644074,
0.0130347590893507,
0.029317636042833328,
-1.2608973420924485e-8,
0.0049093677662312984,
0.026185384020209312,
-0.013132081367075443,
-0.03176249563694,
0.029727056622505188,
0.000382191821699962,
0.007362932898104191,
-0.020605064928531647,
0.011909808032214642,
0.04267387464642525,
0.004445941187441349,
0.06438010185956955,
0.014219923876225948,
0.007805606350302696,
0.001884718076325953,
-0.01342686079442501,
0.02961338311433792,
0.00862432736903429,
0.019928336143493652,
0.014340613968670368,
0.014721425250172615,
0.021684573963284492,
-0.0678621307015419,
-0.02081168256700039,
0.0583810918033123,
0.009689997881650925,
-0.005071509163826704,
-0.054197464138269424,
0.009424114599823952,
0.01994943432509899,
0.020943747833371162,
-0.02603342942893505,
0.02338646724820137,
-0.006529070436954498,
-0.012445803731679916,
-0.025597862899303436,
-0.013216366991400719,
0.05311866104602814,
0.04651609808206558,
0.0030724292155355215,
-0.007137002889066935,
-0.002577924868091941,
-0.030405011028051376,
-0.030267911031842232,
-0.01838427595794201,
-0.019511912018060684,
-0.03213156759738922,
-0.018992185592651367,
-0.009056060574948788,
-0.004702010191977024,
0.01211465336382389,
-0.019004985690116882,
0.006428706459701061,
0.010778062045574188,
0.03755658119916916,
-0.05785205587744713,
0.004772308748215437,
-0.02220224030315876,
-0.022071361541748047,
0.029785456135869026,
0.0030772422906011343,
0.016406480222940445,
0.0029756317380815744,
-0.037384845316410065
] | r-linear-models-with-the-lm-function-na-values-and-collinearity | https://markhneedham.com/blog/2014/10/18/r-linear-models-with-the-lm-function-na-values-and-collinearity |
false | 2014-10-27 06:55:34 | Data Modelling: The Thin Model | [
"software-development"
] | [
"Software Development"
] | About a third of the way through http://www.amazon.co.uk/Mastering-Data-Modeling-Driven-Approach/dp/020170045X/ref=sr_1_1?ie=UTF8&qid=1414364532&sr=8-1&keywords=mastering+data+modeling[Mastering Data Modeling] the authors describe common data modelling mistakes and one in particular resonated with me - '*Thin LDS, Lost Users*'.
LDS stands for 'Logical Data Structure' which is a diagram depicting what kinds of data some person or group wants to remember. In other words, a tool to help derive the http://www.markhneedham.com/blog/2014/10/06/conceptual-model-vs-graph-model/[conceptual model] for our domain.
They describe the problem that a thin model can cause as follows:
____
[\...] within 30 minutes [of the modelling session] the users were lost\...we determined that the model was too thin. That is, many entities had just identifying descriptors. While this is syntactically okay, when we revisited those entities asking, _What else is memorable here?_ the users had lots to say. When there was flesh on the bones, the uncertainty abated and the session took a positive course.
____
I found myself making the same mistake a couple of weeks ago during a graph modelling session. I tend to spend the majority of the time focused on the relationships between the bits of data and treat the meta data or attributes almost as an after thought.
image::{{<siteurl>}}/uploads/2014/10/2014-10-27_06-41-19.png[2014 10 27 06 41 19,300]
The nice thing about the graph model is that it encourages an iterative approach so I was quickly able to bring the model to life and the domain experts back onside.
We can see a simple example of adding flesh to a model with a subset of the movies graph.
We might start out with the model on the right hand side which just describes the structure of the graph but doesn't give us very much information about the entities.
I tend to sketch out the structure of all the data before adding any attributes but I think some people find it easier to follow if you add at least some flesh before moving on to the next part of the model.
In our next iteration of the movie graph we can add attributes to the actor and movie:
image::{{<siteurl>}}/uploads/2014/10/2014-10-27_06-57-32.png[2014 10 27 06 57 32,600]
We can then go on to evolve the model further but the lesson for me is *value the attributes more*, it's not all about the structure. | null | null | [
0.009617321193218231,
0.015238117426633835,
-0.008784754201769829,
0.07802624255418777,
0.08513469994068146,
0.003399610985070467,
0.029832424595952034,
0.025462491437792778,
0.02410191483795643,
-0.018259169533848763,
-0.0032030597794800997,
-0.004678803496062756,
-0.0442492738366127,
0.027281442657113075,
-0.031886640936136246,
0.07521854341030121,
0.059198033064603806,
0.018831614404916763,
0.0203535296022892,
0.013916801661252975,
0.022564269602298737,
0.03815249353647232,
-0.003931107930839062,
0.040202897042036057,
0.020601920783519745,
0.010270379483699799,
0.015711095184087753,
0.001137860701419413,
-0.05181696265935898,
0.003643794683739543,
0.03475109115242958,
-0.011243595741689205,
0.011205721646547318,
-0.0007613965426571667,
0.027923762798309326,
-0.003027937840670347,
-0.03687194362282753,
0.014657704159617424,
0.0068345400504767895,
0.014527656137943268,
-0.08171092718839645,
0.055860403925180435,
-0.011591685004532337,
0.009686427190899849,
-0.030822081491351128,
-0.009718616493046284,
-0.06537839770317078,
0.012436619959771633,
0.007410102058202028,
0.0020891972817480564,
-0.07867451012134552,
0.05025764927268028,
0.0007649979670532048,
0.011520632542669773,
-0.04184204339981079,
0.04667815566062927,
0.02229374833405018,
-0.06547772884368896,
0.02941896580159664,
-0.03465013951063156,
0.0027834365610033274,
-0.011229214258491993,
-0.016979118809103966,
0.01548136305063963,
0.009512054733932018,
-0.058279719203710556,
0.004026761744171381,
0.05932452157139778,
-0.036212820559740067,
0.005913747474551201,
-0.012935967184603214,
0.01358653325587511,
-0.01953238807618618,
-0.014488885179162025,
-0.01994503289461136,
-0.03820137679576874,
0.010181664489209652,
0.04726787284016609,
0.023906251415610313,
0.04304352402687073,
-0.048514049500226974,
0.02631312794983387,
0.011358381249010563,
0.019694507122039795,
-0.024179071187973022,
-0.0455792173743248,
-0.015352407470345497,
-0.03766215592622757,
-0.06562283635139465,
0.062437791377305984,
0.005216462071985006,
-0.07755690068006516,
0.007896263152360916,
0.028651311993598938,
-0.021353406831622124,
-0.0015102040488272905,
0.021325770765542984,
0.010236685164272785,
-0.01646239496767521,
-0.022082515060901642,
-0.016791634261608124,
-0.03871878609061241,
0.01714637130498886,
0.01846119947731495,
-0.07574649155139923,
-0.02398667484521866,
-0.025807425379753113,
-0.01026605349034071,
-0.006858007051050663,
0.0039925044402480125,
-0.03317626193165779,
0.0068366872146725655,
-0.047750554978847504,
-0.00008214467379730195,
-0.06610842049121857,
0.06178250163793564,
0.011817176826298237,
-0.03368997573852539,
-0.0015244802925735712,
0.012918087653815746,
0.047345295548439026,
-0.004136484116315842,
-0.006149700377136469,
0.06715810298919678,
0.0070669036358594894,
0.023500490933656693,
-0.0067864106968045235,
0.043435487896203995,
-0.029634499922394753,
-0.04791216552257538,
0.003930193837732077,
0.05345560237765312,
-0.0177936851978302,
-0.022861065343022346,
0.0014951156917959452,
-0.04452115297317505,
0.008743125014007092,
0.018275082111358643,
0.03098362684249878,
0.041188791394233704,
-0.002362588420510292,
-0.04119318723678589,
0.010118525475263596,
0.015698613598942757,
0.039736732840538025,
0.004374627489596605,
0.00672677019611001,
-0.023814525455236435,
-0.04088721424341202,
-0.014442806132137775,
0.0286104679107666,
0.04392865672707558,
0.01036758627742529,
-0.03587310388684273,
0.0491807758808136,
0.10886520892381668,
0.022848965600132942,
0.007536540739238262,
0.004772599786520004,
0.011474941857159138,
0.042338691651821136,
0.014670802280306816,
0.01485060341656208,
0.026312902569770813,
0.028246110305190086,
-0.030723970383405685,
-0.009524330496788025,
0.0446716770529747,
0.004549742676317692,
-0.0015432328218594193,
-0.059455908834934235,
-0.0573938824236393,
0.04679568484425545,
-0.05110425874590874,
-0.024103274568915367,
0.07105129212141037,
0.06924444437026978,
0.06132280454039574,
0.02597128227353096,
-0.00850390363484621,
-0.08248522877693176,
0.03299668803811073,
0.01511459518224001,
0.019453322514891624,
0.007356064859777689,
-0.02449428103864193,
0.07012085616588593,
0.02680475264787674,
-0.0002463177952449769,
0.04938126355409622,
-0.08589910715818405,
-0.06600382179021835,
0.012640425004065037,
-0.03484039008617401,
0.061766449362039566,
-0.03871063143014908,
0.023051725700497627,
0.07660001516342163,
0.009372765198349953,
0.03202129527926445,
0.01293281838297844,
0.02467416226863861,
0.0007023790385574102,
-0.02946489490568638,
-0.011969935148954391,
0.04401792585849762,
0.032893478870391846,
-0.017919035628437996,
-0.03599398210644722,
0.020588550716638565,
-0.005645752884447575,
-0.03513689339160919,
0.030454671010375023,
-0.02129247412085533,
0.02718362770974636,
0.009972396306693554,
0.07349785417318344,
-0.005259755998849869,
0.0452166311442852,
-0.04781130328774452,
0.026437457650899887,
0.02700628526508808,
-0.029894769191741943,
-0.01366591639816761,
-0.0069934772327542305,
0.12333190441131592,
0.0765111967921257,
0.007997540757060051,
-0.054768603295087814,
0.013535973615944386,
0.029217874631285667,
-0.020925668999552727,
0.03174354508519173,
-0.0021811998449265957,
-0.0018004643497988582,
-0.01616073213517666,
-0.053008127957582474,
-0.026997588574886322,
0.03944334387779236,
-0.04610651731491089,
0.021234480664134026,
0.048876237124204636,
-0.022896939888596535,
0.05907401815056801,
0.005062490236014128,
0.005276180803775787,
-0.017026342451572418,
-0.017732305452227592,
-0.0812247097492218,
0.01411608885973692,
0.006775313522666693,
-0.010143977589905262,
0.044510532170534134,
-0.005204861052334309,
-0.031244521960616112,
-0.03055117465555668,
-0.03859439492225647,
0.021008828654885292,
0.057658132165670395,
0.07418192923069,
-0.011458504013717175,
0.048576030880212784,
-0.01974865049123764,
0.03741820529103279,
0.004593880381435156,
-0.037349916994571686,
-0.0424397774040699,
-0.04269842430949211,
0.0166876632720232,
0.016123836860060692,
0.038074396550655365,
-0.005405270494520664,
0.014946144074201584,
0.02271999418735504,
-0.0032821146305650473,
-0.023015497252345085,
0.049819860607385635,
-0.018581364303827286,
-0.012242238968610764,
-0.008199240081012249,
-0.025745749473571777,
0.05926978588104248,
-0.021323176100850105,
-0.02789432927966118,
0.00005465177309815772,
-0.07332739233970642,
0.05736733600497246,
-0.04060100391507149,
-0.04958023875951767,
-0.021162105724215508,
0.008702278137207031,
0.03529920056462288,
0.029747476801276207,
-0.01209613773971796,
0.06300865113735199,
0.03485127165913582,
0.004316194448620081,
-0.01740896888077259,
0.003439726773649454,
0.06301449239253998,
-0.0007835220312699676,
0.0046932450495660305,
0.059128548949956894,
-0.013665875419974327,
-0.007808373309671879,
-0.03473731130361557,
0.025467166677117348,
0.004723363555967808,
-0.28740566968917847,
0.021607955917716026,
0.0027915940154343843,
-0.053807828575372696,
0.002717043738812208,
-0.04455755650997162,
0.011261427775025368,
-0.02942110225558281,
-0.024076228961348534,
-0.006658824160695076,
-0.008618874475359917,
-0.024253256618976593,
-0.010673868469893932,
0.041726477444171906,
0.03541751578450203,
0.04098634794354439,
0.03007221221923828,
-0.04908818006515503,
-0.004264171700924635,
0.050292763859033585,
0.00031065044458955526,
-0.05846579000353813,
-0.00995307695120573,
0.05387458950281143,
0.02655646577477455,
0.04428846761584282,
-0.08202708512544632,
0.00939273927360773,
-0.0665530264377594,
-0.014952180907130241,
0.029330244287848473,
-0.020714040845632553,
-0.013980316929519176,
-0.0012015823740512133,
-0.0002099719422403723,
-0.025861423462629318,
0.05525830388069153,
0.032362185418605804,
0.014057761058211327,
0.002926562214270234,
-0.020420556887984276,
-0.021604366600513458,
-0.01068806741386652,
0.012159743346273899,
0.08177242428064346,
0.013038980774581432,
-0.07383986562490463,
-0.002953085582703352,
-0.0279350858181715,
0.059631045907735825,
-0.044832825660705566,
-0.032273292541503906,
-0.010227604769170284,
0.029596595093607903,
0.007705995813012123,
-0.011886627413332462,
0.013238225132226944,
-0.017994791269302368,
-0.038714032620191574,
-0.05131910741329193,
-0.008373157121241093,
-0.04473959654569626,
0.0063726152293384075,
-0.06512810289859772,
-0.016277004033327103,
-0.04924431070685387,
-0.07528873533010483,
-0.012773118913173676,
0.05685395002365112,
0.0284196175634861,
-0.023770369589328766,
0.02551777847111225,
-0.004288455471396446,
-0.10323665291070938,
0.0026849370915442705,
-0.03105982020497322,
0.0031951447017490864,
0.009179523214697838,
0.005419973284006119,
0.04451204463839531,
-0.024735312908887863,
-0.058366887271404266,
0.015466074459254742,
0.012210117653012276,
0.024491235613822937,
-0.006284315139055252,
0.03193602338433266,
-0.008550905622541904,
-0.019387023523449898,
0.005763279274106026,
0.06414024531841278,
0.010697676800191402,
-0.02650337666273117,
-0.008998239412903786,
-0.012350394390523434,
0.025072230026125908,
0.009603748098015785,
-0.015027163550257683,
0.0106881158426404,
0.012050105258822441,
0.001901039737276733,
-0.04982757568359375,
0.03175220638513565,
-0.027992945164442062,
-0.01844773441553116,
-0.022653838619589806,
-0.04646846652030945,
0.00600447878241539,
0.02111530303955078,
-0.011228803545236588,
-0.011612177826464176,
-0.017612066119909286,
0.01924881339073181,
-0.06080387905240059,
-0.051339294761419296,
-0.02585982158780098,
-0.0049042352475225925,
0.055819280445575714,
-0.00753646669909358,
-0.019156835973262787,
-0.07663793861865997,
0.022711148485541344,
-0.002489144215360284,
-0.02297663502395153,
-0.05391598492860794,
-0.047920502722263336,
-0.004731315188109875,
-0.011943054385483265,
0.0008717791060917079,
0.02130277082324028,
-0.015179791487753391,
0.028656424954533577,
0.030032234266400337,
-0.03181898593902588,
0.017590966075658798,
-0.010714208707213402,
-0.057823508977890015,
-0.019577279686927795,
0.010703964158892632,
-0.014117749407887459,
0.004967785440385342,
0.023988109081983566,
0.008777188137173653,
0.014295046217739582,
0.05707689747214317,
0.023362070322036743,
0.03068539872765541,
-0.008485756814479828,
0.03218429535627365,
0.0072909072041511536,
-0.006595801096409559,
-0.05323900654911995,
0.036811575293540955,
-0.04181689769029617,
-0.02546827122569084,
-0.012689318507909775,
0.03218938410282135,
-0.018309829756617546,
-0.0388183519244194,
-0.014114856719970703,
-0.002687529195100069,
-0.03393358737230301,
-0.014838745817542076,
-0.02779005654156208,
-0.007219317369163036,
0.06024285405874252,
-0.025675738230347633,
0.0010881475172936916,
0.0017890060553327203,
-0.004991285037249327,
0.04048727825284004,
0.001869222498498857,
-0.03172324597835541,
0.018102139234542847,
-0.004248916637152433,
-0.026463791728019714,
0.007253699470311403,
0.011978725902736187,
0.04348607733845711,
0.023864461109042168,
-0.03974143788218498,
-0.04296109825372696,
0.011564946733415127,
0.009421312250196934,
0.0498911552131176,
0.03522093594074249,
-0.019220639020204544,
0.013757067732512951,
-0.03341343253850937,
-0.023991091176867485,
-0.01218818686902523,
-0.01873794011771679,
0.001603135489858687,
0.02362397313117981,
-0.02726159058511257,
-0.05918952822685242,
0.07672498375177383,
0.008560653775930405,
0.006258027628064156,
0.03132494539022446,
0.0064022475853562355,
-0.00040651383460499346,
-0.019478728994727135,
0.03918140381574631,
0.04941963031888008,
-0.07086706161499023,
-0.006906355731189251,
0.00202575558796525,
0.005689425393939018,
0.014384044334292412,
-0.0031779201235622168,
-0.017809640616178513,
-0.04134974628686905,
-0.04382558912038803,
0.03130926191806793,
-0.06034613400697708,
-0.011441742070019245,
-0.032052382826805115,
0.01713402010500431,
0.0054741534404456615,
0.020444480702280998,
-0.0011580224381759763,
-0.011473294347524643,
-0.006354509852826595,
-0.014748227782547474,
0.012735359370708466,
-0.011840949766337872,
0.006869480479508638,
0.006431380286812782,
-0.03464862331748009,
0.004810127895325422,
-0.014369371347129345,
-0.009175814688205719,
0.00995600875467062,
-0.037505362182855606,
-0.0011013724142685533,
-0.036911070346832275,
0.020800409838557243,
0.01747271791100502,
0.02878258004784584,
0.012162916362285614,
-0.013024704530835152,
-0.03266829252243042,
0.01069210097193718,
-0.00234583648853004,
0.008786262013018131,
-0.009757821448147297,
-0.02246006950736046,
0.026855923235416412,
0.041921183466911316,
0.0031372036319226027,
-0.0007887415122240782,
-0.01633632555603981,
-0.027117138728499413,
0.05494057014584541,
-0.039741553366184235,
-0.03196272626519203,
-0.04668501392006874,
-0.06546281278133392,
0.008613047190010548,
0.0054339515045285225,
0.020652027800679207,
-0.013588904403150082,
0.047618769109249115,
0.03849002718925476,
0.03436005488038063,
0.05486929044127464,
0.017706599086523056,
0.03482227399945259,
-0.03327561169862747,
0.01523002702742815,
-0.07232814282178879,
-0.006271342281252146,
0.013577606528997421,
-0.005048478487879038,
-0.02783077396452427,
-0.002838734071701765,
-0.03807389736175537,
0.04169364273548126,
-0.08955932408571243,
-0.04216235876083374,
0.024636222049593925,
0.0063473437912762165,
-0.001583012519404292,
0.0003109939571004361,
-0.051235415041446686,
0.017118191346526146,
0.020162776112556458,
-0.049847837537527084,
-0.0209499504417181,
-0.021744469180703163,
0.05448572710156441,
-0.013719715178012848,
0.018937217071652412,
-0.015044226311147213,
-0.00907969381660223,
0.06118560954928398,
0.021902384236454964,
0.02587870880961418,
0.03797537833452225,
0.005472222343087196,
0.04605379328131676,
0.031833287328481674,
-0.004267511889338493,
0.0036197553854435682,
0.015507525764405727,
-0.022699374705553055,
-0.056590303778648376,
0.03770884498953819,
0.005700250621885061,
-0.011911461129784584,
-0.028628408908843994,
0.07044569402933121,
0.020742563530802727,
-0.03738915175199509,
-0.07046705484390259,
0.016476863995194435,
-0.032047685235738754,
0.0009690038277767599,
-0.004124576225876808,
-0.003919939044862986,
-0.04009745642542839,
0.04289839416742325,
-0.027705658227205276,
0.01017821580171585,
0.0629483014345169,
-0.013266846537590027,
-0.02219286561012268,
-0.008467310108244419,
0.09407984465360641,
0.10850343108177185,
0.05304064601659775,
0.032073549926280975,
0.07362117618322372,
-0.013216440565884113,
-0.026992447674274445,
0.012593223713338375,
-0.009492212906479836,
-0.00687065115198493,
-0.032471731305122375,
0.007618415635079145,
0.055052708834409714,
-0.028790514916181564,
0.06313721090555191,
-0.03717578575015068,
-0.007937347516417503,
-0.003066012402996421,
0.02437582053244114,
0.022417975589632988,
0.04945597052574158,
0.0033200629986822605,
0.0038844652008265257,
-0.03430616110563278,
-0.04081973060965538,
0.005928566213697195,
-0.015785029157996178,
-0.022878428921103477,
0.03572674095630646,
-0.0130787193775177,
0.01176581159234047,
-0.008575910702347755,
0.04615788534283638,
0.10240845382213593,
-0.04251398518681526,
-0.0013967774575576186,
-0.0060676103457808495,
0.012852179817855358,
-0.007548879832029343,
0.02682390995323658,
-0.009138454683125019,
-0.04507013410329819,
0.0008894961792975664,
-0.05042346939444542,
-0.034068699926137924,
-0.027434220537543297,
-0.027817199006676674,
0.031100979074835777,
-0.04868641123175621,
-0.01987430639564991,
0.044929660856723785,
0.00008341324428329244,
-0.05282238498330116,
-0.05186578631401062,
-0.05857221782207489,
-0.009414620697498322,
-0.08370291441679001,
0.010792560875415802,
0.026976067572832108,
-0.009235416539013386,
-0.030848195776343346,
-0.020764246582984924,
-0.020931050181388855,
-0.014899817295372486,
0.0421762652695179,
-0.05486098304390907,
-0.016863606870174408,
0.006134072784334421,
0.03446356579661369,
0.028152231127023697,
0.026696667075157166,
0.02465030550956726,
0.015037981793284416,
0.005512384697794914,
-0.011240621097385883,
0.004720923490822315,
0.027469627559185028,
0.01071967463940382,
0.03575179725885391,
-0.09519290179014206,
0.0007310874061658978,
0.023580417037010193,
-0.057166777551174164,
-0.06944332271814346,
0.024255944415926933,
0.04399421811103821,
-0.001335958018898964,
0.047456979751586914,
-0.011450210586190224,
-0.005355220288038254,
-0.0424250066280365,
-0.020884685218334198,
-0.02597571536898613,
0.009200052358210087,
0.04065236076712608,
-0.02924426831305027,
0.0999675840139389,
0.04213997349143028,
-0.014248039573431015,
-0.042844634503126144,
-0.026023369282484055,
0.013687443919479847,
0.005042427685111761,
-0.049400944262742996,
-0.01933981291949749,
-0.022924844175577164,
-0.07364659756422043,
-0.03254213556647301,
0.017223313450813293,
-0.030712131410837173,
-0.03797323629260063,
0.007553235627710819,
0.011635671369731426,
-0.05074392631649971,
0.021293479949235916,
-0.04886375740170479,
0.020780807361006737,
-0.04142181575298309,
-0.0302472785115242,
-0.02107876166701317,
0.03204263374209404,
0.017776332795619965,
0.01640237867832184,
0.004350137431174517,
-0.06627745181322098,
0.013182643800973892,
-0.008197749964892864,
0.030467888340353966,
0.02672412618994713,
0.02646763063967228,
0.003400540677830577
] | [
-0.05244717746973038,
0.012756588868796825,
-0.030659738928079605,
-0.014306135475635529,
0.07048413902521133,
0.0007513313903473318,
-0.023289810866117477,
0.02268536575138569,
0.014528380706906319,
-0.013688154518604279,
0.04061818867921829,
-0.05198930948972702,
0.02388141304254532,
0.0011077984236180782,
0.07667755335569382,
0.035401858389377594,
-0.0012877887347713113,
-0.05686672031879425,
0.00028750000637955964,
0.047959230840206146,
0.027793530374765396,
-0.039444804191589355,
-0.03473411872982979,
0.01709238439798355,
0.021233197301626205,
0.008765388280153275,
0.003723529167473316,
-0.02795282192528248,
-0.006338272709399462,
-0.22455719113349915,
-0.025677258148789406,
0.0381193570792675,
0.04060904309153557,
-0.009885755367577076,
-0.014098118059337139,
0.04093839228153229,
0.046102073043584824,
-0.005825342144817114,
0.005335899535566568,
0.040596600621938705,
-0.008430493995547295,
0.005470027681440115,
-0.0028829164803028107,
-0.019861964508891106,
0.04594457894563675,
0.018913989886641502,
0.005718554370105267,
-0.007434586063027382,
-0.04825137183070183,
0.0020584375597536564,
-0.03655392676591873,
-0.023335225880146027,
-0.02375943399965763,
0.020423244684934616,
0.006412645801901817,
0.04634380713105202,
0.05590076744556427,
0.043721579015254974,
0.0034602992236614227,
0.023098979145288467,
0.01889587566256523,
0.025297114625573158,
-0.1336369514465332,
0.06985988467931747,
0.05473538860678673,
0.07598419487476349,
-0.04646928980946541,
-0.04642298072576523,
-0.044647108763456345,
0.06893233209848404,
0.011035425588488579,
0.0001454926677979529,
-0.03861072286963463,
0.022212624549865723,
-0.003033784218132496,
0.003197512123733759,
0.021393142640590668,
0.010896479710936546,
0.01763128861784935,
-0.044664330780506134,
-0.01612771861255169,
0.007729047909379005,
-0.013589328154921532,
-0.009674234315752983,
-0.016642937436699867,
0.0035909772850573063,
-0.03931943327188492,
0.02489473670721054,
0.002582159824669361,
-0.003539617406204343,
0.012393963523209095,
0.015824612230062485,
0.008565926924347878,
0.036543697118759155,
-0.06431696563959122,
-0.0106572974473238,
0.003528107888996601,
0.00468087662011385,
-0.05824286490678787,
0.4377789795398712,
-0.027867821976542473,
-0.023118140175938606,
0.06779804825782776,
0.03242773935198784,
-0.013344120234251022,
-0.007014446426182985,
-0.005005089566111565,
-0.04261231794953346,
0.015417046844959259,
-0.037445053458213806,
0.03661215305328369,
0.0023346294183284044,
0.006585527677088976,
-0.0756281390786171,
0.015777338296175003,
-0.04516226798295975,
0.03512245789170265,
0.030015038326382637,
0.014191149733960629,
-0.026222776621580124,
-0.055008478462696075,
0.03636709973216057,
0.04330497980117798,
0.0013333206297829747,
-0.027052773162722588,
-0.030500836670398712,
0.03689424693584442,
0.05111834406852722,
0.030890490859746933,
-0.00481749651953578,
0.04609699919819832,
-0.029121164232492447,
-0.08887685090303421,
-0.0005689895479008555,
-0.024649957194924355,
-0.0033435130026191473,
0.06506719440221786,
-0.019807711243629456,
0.006584987975656986,
0.023714644834399223,
0.002171152736991644,
0.014582578092813492,
0.004743746016174555,
-0.005821311846375465,
-0.0553097277879715,
0.13175226747989655,
0.02533772401511669,
-0.0343078076839447,
-0.028918743133544922,
-0.00428288197144866,
0.0071978638879954815,
0.04348158463835716,
-0.010022115893661976,
-0.05246176943182945,
0.015315966680645943,
0.017718488350510597,
0.06180160865187645,
-0.018220912665128708,
-0.057849396020174026,
-0.020068181678652763,
0.016216887161135674,
-0.023475801572203636,
-0.06536398082971573,
0.05567871779203415,
0.03825434669852257,
-0.10681817680597305,
-0.027243901044130325,
0.02027054689824581,
0.02237464301288128,
-0.05835319682955742,
0.007816328667104244,
0.027907442301511765,
-0.018848290666937828,
0.020546266809105873,
0.04549606144428253,
-0.010804202407598495,
-0.05946236476302147,
-0.037247709929943085,
0.00152522511780262,
0.02290753647685051,
-0.0045485845766961575,
-0.0051002055406570435,
-0.024136701598763466,
-0.0028695769142359495,
-0.052872464060783386,
-0.06895185261964798,
-0.0596526637673378,
0.010939788073301315,
0.000543943839147687,
-0.007713424973189831,
-0.02373758889734745,
-0.031155072152614594,
-0.05652129277586937,
0.08748084306716919,
-0.0626935064792633,
-0.030886750668287277,
-0.0001860253541963175,
-0.007687237113714218,
-0.06932589411735535,
-0.017537355422973633,
-0.04063547030091286,
0.0556185320019722,
0.002617093501612544,
0.00418222788721323,
-0.07077843695878983,
0.05281862989068031,
0.06144179776310921,
-0.013204226270318031,
0.08211436122655869,
0.05205101892352104,
-0.02921116352081299,
-0.023940958082675934,
-0.03386485204100609,
0.0011690715327858925,
0.008568101562559605,
0.025503886863589287,
0.03910243138670921,
-0.010532387532293797,
0.01439982745796442,
0.02403481863439083,
0.009469473734498024,
-0.045378249138593674,
-0.02695106342434883,
-0.3620348274707794,
-0.044487230479717255,
-0.02200162783265114,
0.004180369898676872,
0.035152025520801544,
-0.07723674923181534,
0.017577409744262695,
-0.012315256521105766,
-0.008991417475044727,
0.023457402363419533,
0.04842396825551987,
0.0004193794447928667,
-0.05542687326669693,
-0.09289272874593735,
-0.022699763998389244,
0.014576926827430725,
-0.005359211005270481,
-0.03568285331130028,
-0.07430214434862137,
0.005116729997098446,
-0.03415168449282646,
0.012144701555371284,
0.0037838725838810205,
-0.06684210896492004,
0.0034027514047920704,
-0.0336248055100441,
0.11691271513700485,
-0.031041815876960754,
0.060138557106256485,
-0.02525267004966736,
0.008195029571652412,
-0.021425195038318634,
0.0060481601394712925,
-0.05621154233813286,
0.018741145730018616,
-0.046923041343688965,
0.009099368005990982,
0.009511406533420086,
-0.0046052029356360435,
-0.05290782451629639,
-0.06799425929784775,
-0.008365551009774208,
-0.024710973724722862,
-0.03370972350239754,
-0.04609944298863411,
0.04959551617503166,
-0.005670737009495497,
-0.01778646558523178,
-0.01714378036558628,
0.07845001667737961,
0.010529682971537113,
0.02131175622344017,
0.025729646906256676,
0.035241298377513885,
-0.03119487315416336,
-0.012849673628807068,
-0.11959920823574066,
0.0070363306440413,
-0.0018701915396377444,
0.028024019673466682,
0.016844559460878372,
0.011749663390219212,
0.020967653021216393,
-0.0908699706196785,
-0.00613934313878417,
-0.02478906139731407,
-0.0006167030660435557,
-0.026205923408269882,
0.016534939408302307,
-0.037863895297050476,
-0.0093513960018754,
0.11263218522071838,
-0.0044646798633039,
-0.02022840827703476,
0.0318928100168705,
0.06156827136874199,
-0.048714227974414825,
-0.012944928370416164,
-0.026503760367631912,
0.007153878919780254,
0.038493238389492035,
-0.014014245942234993,
0.049516256898641586,
-0.014072923921048641,
0.03236900642514229,
0.03924601525068283,
0.013643283396959305,
-0.044765252619981766,
0.046639516949653625,
0.016755837947130203,
-0.045555561780929565,
-0.013168562203645706,
-0.021204814314842224,
-0.05108105391263962,
0.059355229139328,
-0.007499804720282555,
-0.24610228836536407,
0.017888296395540237,
0.05249769613146782,
0.1051626205444336,
0.005533440038561821,
0.06803485006093979,
0.020487919449806213,
-0.019575461745262146,
0.02076290361583233,
0.013184428215026855,
0.028958560898900032,
0.04441579058766365,
0.05008203163743019,
-0.017502767965197563,
0.026551900431513786,
-0.01789814606308937,
0.03323415294289589,
-0.006933640688657761,
0.02270028553903103,
0.0020595870446413755,
0.027141673490405083,
0.00185036298353225,
0.15284211933612823,
0.016845855861902237,
0.00766989029943943,
0.027335816994309425,
-0.003019868629053235,
-0.011227049864828587,
0.04366078972816467,
0.02870076708495617,
0.0003262139216531068,
0.028972376137971878,
0.023334238678216934,
0.03771395981311798,
0.0005778836784884334,
-0.048508428037166595,
-0.01658969558775425,
0.003059624694287777,
0.04905037209391594,
-0.009121745824813843,
0.045695722103118896,
0.005955833476036787,
-0.034367457032203674,
0.04446987807750702,
0.06876896321773529,
0.03722739219665527,
0.016148608177900314,
-0.014562852680683136,
-0.030098382383584976,
-0.011725002899765968,
-0.0034994808956980705,
-0.048802610486745834,
-0.01809610240161419,
0.006916448473930359,
0.0431210920214653,
0.08004879951477051,
0.017732948064804077,
0.006782736629247665,
0.004921136423945427,
-0.00865096878260374,
-0.01640220917761326,
-0.00523686408996582,
0.07131936401128769,
-0.003228413639590144,
0.020655451342463493
] | [
0.02629515901207924,
-0.010079512372612953,
0.03524536266922951,
0.024727553129196167,
-0.002092769369482994,
-0.01481611654162407,
-0.01225640531629324,
0.025488246232271194,
-0.003534110728651285,
0.02098463661968708,
0.026415910571813583,
-0.0016938374610617757,
0.017805879935622215,
0.005991669371724129,
0.04436642304062843,
0.00740261422470212,
0.026085076853632927,
-0.02510049007833004,
0.01604098454117775,
0.034812334924936295,
-0.008031296543776989,
0.008427788503468037,
-0.03083089552819729,
0.005012012552469969,
-0.0052683292888104916,
0.013288258574903011,
-0.01578620821237564,
-0.005588902626186609,
0.03702705726027489,
-0.14921687543392181,
-0.02047920972108841,
-0.0404781773686409,
-0.013514320366084576,
0.023883627727627754,
0.0019055443117395043,
0.010411977767944336,
0.004881661850959063,
0.002849994460120797,
-0.007263422477990389,
0.014594947919249535,
0.0012347061419859529,
-0.0015030431095510721,
-0.002688826061785221,
0.00700477184727788,
0.003160307416692376,
0.006575009319931269,
-0.026632070541381836,
-0.03938474878668785,
0.00038152869092300534,
-0.030501026660203934,
-0.04057009890675545,
-0.008262218907475471,
0.007208796218037605,
0.01094374991953373,
-0.011068633757531643,
-0.037802234292030334,
-0.03202298283576965,
-0.02316204085946083,
-0.026681000366806984,
0.004007590003311634,
-0.025380359962582588,
-0.00777916144579649,
-0.017834562808275223,
-0.014182519167661667,
0.018199004232883453,
0.006602142471820116,
-0.011931639164686203,
0.003643177915364504,
-0.008563847281038761,
0.009457610547542572,
0.01422273088246584,
-0.002902290318161249,
-0.034417275339365005,
-0.035067375749349594,
-0.007994967512786388,
-0.004274608101695776,
0.011170472018420696,
-0.018638115376234055,
-0.020738238468766212,
-0.028592541813850403,
-0.03875632956624031,
0.03393324837088585,
-0.003865988692268729,
0.002108247485011816,
-0.03335128352046013,
-0.0167284794151783,
-0.014771050773561,
0.0014162679435685277,
-0.02276976965367794,
0.0038394546136260033,
-0.00433495594188571,
0.013791240751743317,
0.007625754922628403,
0.020114794373512268,
-0.09035101532936096,
0.011446465738117695,
0.02751435898244381,
0.00014590266800951213,
-0.04859544709324837,
0.8528071641921997,
0.0001110262528527528,
0.03797126188874245,
0.006479356437921524,
0.013175598345696926,
-0.003939658869057894,
0.002596466103568673,
-0.022192999720573425,
0.027202865108847618,
-0.020889367908239365,
-0.024517575278878212,
0.007158276624977589,
0.023863989859819412,
0.007263689301908016,
0.028592558577656746,
0.019747748970985413,
-0.007116840220987797,
-0.013476920314133167,
-0.010099420323967934,
0.0033363227266818285,
0.014702205546200275,
-0.0041116164065897465,
0.005177898332476616,
0.006681731436401606,
-0.0006579449982382357,
0.0026203461457043886,
-0.195477694272995,
-0.014953119680285454,
-7.775844437495553e-33,
0.04478483274579048,
0.017467787489295006,
0.0080741997808218,
0.006144188344478607,
-0.0031239651143550873,
0.0005800928920507431,
-0.01915774866938591,
0.021605150774121284,
-0.016277005895972252,
-0.016970988363027573,
-0.013868661597371101,
-0.005130700767040253,
0.004626631736755371,
-0.0170021690428257,
0.028410591185092926,
0.0053321486338973045,
-0.01710069552063942,
0.04469230771064758,
0.004878020379692316,
0.005960391368716955,
0.007775440346449614,
0.024558814242482185,
0.015055336989462376,
0.012288467958569527,
-0.003966326359659433,
-0.004241625312715769,
0.0015722900861874223,
0.0001394439022988081,
-0.014321262016892433,
-0.03877250850200653,
-0.01854569837450981,
0.01962350308895111,
0.011782526969909668,
-0.023559316992759705,
-0.003935370594263077,
-0.03213664889335632,
-0.014220695942640305,
0.008542495779693127,
-0.028263645246624947,
-0.026078077033162117,
0.006244161631911993,
0.0009678140631876886,
-0.041561685502529144,
-0.01902388408780098,
-0.05426126718521118,
0.029419243335723877,
0.025230420753359795,
0.004130225162953138,
-0.004422483500093222,
0.014217758551239967,
0.018720824271440506,
0.014755460433661938,
-0.003971001133322716,
-0.0035970842000097036,
-0.02260490134358406,
0.01605742610991001,
-0.0032381245400756598,
-0.02915770560503006,
-0.0046080173924565315,
0.03218082711100578,
0.023407157510519028,
-0.0038306284695863724,
-0.0138682397082448,
0.022444134578108788,
-0.019719377160072327,
-0.0021516468841582537,
0.014308772049844265,
-0.02053658850491047,
0.027021894231438637,
-0.009121441282331944,
-0.06807541102170944,
0.03145482763648033,
0.0029616134706884623,
-0.0068695759400725365,
0.02435733564198017,
-0.040326233953237534,
0.008894848637282848,
-0.02392549067735672,
0.007497707847505808,
0.03535759076476097,
-0.012376251630485058,
-0.005295197479426861,
-0.015775416046380997,
-0.021893484517931938,
-0.032547686249017715,
-0.009742764756083488,
0.05729924887418747,
0.008312812075018883,
-0.02102605067193508,
-0.008282936178147793,
0.024472074583172798,
-0.01267650444060564,
-0.0014448408037424088,
-0.03906421735882759,
0.017451990395784378,
7.753592329434487e-33,
-0.008716780692338943,
-0.01183349173516035,
0.002401114208623767,
0.005581037141382694,
0.048242371529340744,
-0.042915601283311844,
0.006741211283951998,
0.03554673492908478,
-0.066004179418087,
0.018247948959469795,
0.0015083119506016374,
-0.015370318666100502,
-0.02250373177230358,
0.020866433158516884,
0.04520291090011597,
-0.02615923061966896,
0.017234278842806816,
-0.054686300456523895,
-0.012712208554148674,
0.03717665746808052,
0.03879226744174957,
0.000007918949449958745,
0.0038014110177755356,
0.008990191854536533,
0.0287574864923954,
0.06848207861185074,
-0.014546937309205532,
0.025427531450986862,
-0.0001149174349848181,
-0.008892037905752659,
-0.002959692385047674,
-0.003973667975515127,
0.014033151790499687,
-0.04469184949994087,
-0.036139342933893204,
0.021286670118570328,
0.0072468784637749195,
-0.011582756415009499,
-0.014423449523746967,
-0.02690957859158516,
-0.0043527549132704735,
0.043833039700984955,
-0.06048554927110672,
0.016559433192014694,
-0.007166062016040087,
0.03435869514942169,
0.003929228987544775,
0.00048786663683131337,
0.013144761323928833,
0.010485219769179821,
0.0060480027459561825,
-0.00646195188164711,
0.03743080422282219,
-0.000029043894755886868,
-0.015277359634637833,
-0.0307902991771698,
-0.013950036838650703,
0.020643368363380432,
-0.00796007551252842,
0.018104610964655876,
-0.03547467291355133,
0.01434359047561884,
-0.027411634102463722,
-0.017840635031461716,
-0.04654420539736748,
-0.012145697139203548,
0.009164035320281982,
-0.006968989502638578,
-0.024628011509776115,
0.024611763656139374,
-0.018133241683244705,
-0.0003688149154186249,
0.016826532781124115,
0.044650305062532425,
0.0459844209253788,
-0.024308908730745316,
-0.04495835304260254,
0.028445526957511902,
-0.008428636938333511,
0.03136778995394707,
0.03002459555864334,
-0.014737543649971485,
0.018366793170571327,
0.018498139455914497,
0.032267309725284576,
0.021115899085998535,
-0.006848548538982868,
0.046698931604623795,
-0.04527678340673447,
0.018297433853149414,
-0.03210100531578064,
-0.0343153178691864,
0.0033978628925979137,
0.048643458634614944,
-0.008325232192873955,
-1.346617306552389e-8,
-0.02823270671069622,
0.006818700581789017,
0.01664591394364834,
0.002956284210085869,
0.03291946277022362,
0.0038990608882158995,
0.010794376954436302,
0.014625638723373413,
0.01185248326510191,
0.0032829216215759516,
0.05550621077418327,
-0.027596082538366318,
-0.027665650472044945,
0.019888892769813538,
0.010389851406216621,
-0.02296549268066883,
-0.005399787798523903,
-0.008649533614516258,
0.04316449910402298,
-0.0024924096651375294,
0.01680183596909046,
0.016900744289159775,
0.011058920063078403,
-0.003630366176366806,
0.04872852563858032,
0.015227491036057472,
-0.007238349411636591,
-0.07866867631673813,
-0.027310365810990334,
0.013120881281793118,
0.015942569822072983,
-0.02667222172021866,
0.017584923654794693,
0.05101873725652695,
0.006985812913626432,
-0.03876783326268196,
0.021223584190011024,
0.0004835657309740782,
-0.02231753058731556,
-0.0019652494229376316,
0.019054841250181198,
0.03716888651251793,
-0.020275089889764786,
-0.027106428518891335,
0.010477814823389053,
0.02302587777376175,
0.008058572188019753,
0.009200101718306541,
0.007909090258181095,
-0.03059210814535618,
0.0034606638364493847,
-0.020507248118519783,
-0.012405806221067905,
0.04665549099445343,
0.0035838824696838856,
0.002293916651979089,
0.024170754477381706,
-0.017002062872052193,
-0.04740440472960472,
0.002556030871346593,
0.02438088320195675,
0.0034231164027005434,
-0.01798565685749054,
-0.031075861304998398
] | data-modelling-the-thin-model | https://markhneedham.com/blog/2014/10/27/data-modelling-the-thin-model |
false | 2014-10-11 10:52:01 | Lessons from running Neo4j based 'hackathons' | [
"neo4j"
] | [
"neo4j"
] | Over the last 6 months my colleagues and I have been running http://www.meetup.com/graphdb-london/[hands on Neo4j based sessions] every few weeks and I was recently asked if I could write up the lessons we've learned.
So in no particular order here are some of the things that we've learnt:
== Have a plan but don't stick to it rigidly
Something we learnt early on is that it's helpful to have a rough plan of how you're going to spend the session otherwise it can feel quite chaotic for attendees.
We show people that plan at the beginning of the session so that they know what to expect and can plan their time accordingly if the second part doesn't interest them as much.
Having said that, we've often gone off on a tangent and since people have been very interested in that we've just gone with it.
This sometimes means that you don't cover everything you had in mind but the main thing is that people enjoy themselves so it's nothing to worry about.
== Prepare for people to be unprepared
We try to set expectations in advanced of the sessions with respect to what people should prepare or have installed on their machines but despite that you'll have people in varying levels of readiness.
Having noticed this trend over a few months we now allot time in the schedule for getting people up and running and if we're really struggling then we'll ask people to pair with each other.
There will also be experience level differences so we always factor in some time to go over the basics for those who are new. We also encourage experienced people to help the others out - after all http://www.markhneedham.com/blog/2009/04/21/learning-through-teaching/[you only really know if you know something when you try to teach someone else]!
== Don't try to do too much
Our first 'hackathon'-esque event involved an attempt to build a Java application based on a https://github.com/mneedham/neo4j-bl[British Library dataset].
I thought we'd be able to model the data set, import it and then wire up some queries to an application in a few hours.
This proved to be *ever so slightly ambitious*!
It took much longer than anticipated to do those first two steps and we didn't get to build any of the application - teaching people how to model in a graph is probably a session in its own right.
== Show the end state
Feedback we got from attendees to the first few versions was that they'd like to see what the end state should have looked like if they'd completed everything.
In our Clojure Hackathon Rohit got the furthest so we https://github.com/neo4j-meetups/clojure-hackathon/commit/c17e6c9d866b50fd1255b59029bc4f21ea244077[shared his code] with everyone afterwards.
An even better approach is to have the final solution ready in advance and have it checked in on a different branch that you can point people at afterwards.
== Show the intermediate states
Another thing we noticed was that if people got behind in the first part of the session then they'd never be able to catch up.
Nigel therefore came up with the idea of snapshotting intermediate states so that people could reset themselves after each part of the session. This is something that the https://github.com/Polymer/polymer-tutorial[Polymer tutorial] does as well.
We worked out that we have two solid one hour slots before people start getting distracted by their journey home so we came up with two distinct types of tasks for people to do and then https://github.com/neo4j-meetups/python-hackathon/branches[created a branch with the solution at the end of those tasks].
No doubt there will be more lessons to come as we run more sessions but this is where we are at the moment. If you fancy joining in our next session is http://www.meetup.com/graphdb-london/events/212631122/[Java based in a couple of weeks time].
Finally, if you want to see a really slick hands on meetup then you'll want to head over to the http://londonclojurians.org/[London Clojure Dojo] - https://twitter.com/otfrom[Bruce Durling] has even http://otfrom.wordpress.com/2012/07/04/how-to-run-a-london-clojure-dojo-in-20ish-easy-steps/[written up some tips on how you run one yourself]. | null | null | [
0.027662867680191994,
-0.02869497984647751,
0.013059229589998722,
0.04243292659521103,
0.0968131497502327,
-0.00014525398728437722,
0.03639521449804306,
0.019672518596053123,
0.021626697853207588,
-0.01605929248034954,
-0.0019517167238518596,
-0.0034459615126252174,
-0.05024150386452675,
0.01581013761460781,
-0.03100900910794735,
0.05342612415552139,
0.06960456073284149,
0.0004193831991869956,
0.006166150793433189,
-0.003724585985764861,
0.020473826676607132,
0.04247022047638893,
0.013372864574193954,
0.04428316652774811,
0.02665133960545063,
0.007752989884465933,
0.002043766900897026,
-0.017949534580111504,
-0.04809510335326195,
-0.021110795438289642,
0.03181125223636627,
-0.011893066577613354,
0.021055633202195168,
-0.007254093885421753,
0.045051224529743195,
-0.011779500171542168,
-0.027910606935620308,
0.022853748872876167,
-0.004058436024934053,
0.00030583838815800846,
-0.06835775077342987,
0.050276029855012894,
-0.006096723023802042,
0.017507227137684822,
-0.02987695299088955,
-0.003364910837262869,
-0.028799504041671753,
0.027387244626879692,
0.026110874488949776,
-0.005965947173535824,
-0.08881653100252151,
0.030003193765878677,
0.021937327459454536,
0.021979819983243942,
-0.011117315851151943,
0.027821509167551994,
0.043241702020168304,
-0.0655074492096901,
0.019171005114912987,
-0.013281865045428276,
-0.015726549550890923,
-0.005023694597184658,
-0.00006662437226623297,
0.024174677208065987,
0.005276975221931934,
-0.04222334176301956,
0.026957130059599876,
0.05716249719262123,
-0.03141475096344948,
0.0074352300725877285,
-0.0017742870841175318,
0.016716979444026947,
-0.013448876328766346,
-0.017544472590088844,
0.0091866971924901,
-0.05548941344022751,
0.014516960829496384,
0.05216313526034355,
0.051371652632951736,
0.04379807785153389,
-0.028541255742311478,
0.025178087875247,
0.019232189282774925,
0.02938673458993435,
-0.006881450302898884,
-0.03066825494170189,
-0.002152305794879794,
-0.04472503811120987,
-0.07074565440416336,
0.038607172667980194,
0.02193574234843254,
-0.06976746767759323,
0.015273132361471653,
0.01933201216161251,
-0.010291875340044498,
0.02156948670744896,
0.024585234001278877,
-0.011247063986957073,
0.01014802511781454,
-0.022267309948801994,
-0.015405882149934769,
-0.02619227021932602,
-0.02003498189151287,
0.00003428415220696479,
-0.08129308372735977,
-0.005588939413428307,
-0.02853643149137497,
-0.018984496593475342,
0.009425107389688492,
-0.013852362520992756,
-0.02998656965792179,
0.017739517614245415,
0.0027257842011749744,
0.014227683655917645,
-0.08310496807098389,
0.059109851717948914,
0.01041426695883274,
-0.03890980780124664,
-0.04791688546538353,
-0.006546729244291782,
0.03608251363039017,
0.05275603383779526,
-0.008358853869140148,
0.07619280368089676,
-0.025104952976107597,
0.031199952587485313,
0.0011100464034825563,
0.05415096506476402,
-0.012119947001338005,
-0.06452082097530365,
-0.01000045333057642,
0.04874647781252861,
-0.006400578189641237,
-0.017337080091238022,
0.005036665592342615,
-0.04568172246217728,
-0.00326443649828434,
0.01844746060669422,
0.0494285449385643,
0.043059490621089935,
0.0067426287569105625,
-0.0486808717250824,
0.042247574776411057,
0.02394290082156658,
0.02431628108024597,
0.0001874417212093249,
-0.020398758351802826,
-0.03140176087617874,
-0.0418577566742897,
-0.01615973375737667,
0.011854979209601879,
0.021189814433455467,
0.0066895876079797745,
-0.039702773094177246,
0.023160915821790695,
0.1078895777463913,
0.01705804280936718,
0.0151284858584404,
-0.031131865456700325,
0.025507701560854912,
0.02400057204067707,
0.017560729756951332,
0.006439270917326212,
0.02874152548611164,
0.0013994764303788543,
-0.013718262314796448,
-0.004248100332915783,
0.04956405609846115,
-0.0006311190081760287,
0.03523235023021698,
-0.04575546830892563,
-0.028823625296354294,
0.050764162093400955,
-0.05049930140376091,
-0.02892618253827095,
0.05662236362695694,
0.06976740062236786,
0.024508561939001083,
0.018550217151641846,
-0.005062114913016558,
-0.08393474668264389,
0.043796878308057785,
0.028301643207669258,
0.023353228345513344,
0.008808388374745846,
-0.0209820419549942,
0.05852426216006279,
0.03486606478691101,
-0.012287333607673645,
0.04612601175904274,
-0.07823169976472855,
-0.08214861899614334,
-0.009027205407619476,
-0.029572462663054466,
0.05760600417852402,
-0.017850356176495552,
0.03884704411029816,
0.05463176220655441,
-0.0038778267335146666,
0.049725767225027084,
0.03790974244475365,
-0.005512040574103594,
0.015890691429376602,
-0.03568170219659805,
-0.04752068594098091,
0.061913564801216125,
0.02727709524333477,
-0.05134893208742142,
-0.039610520005226135,
-0.0027922389563173056,
-0.022320931777358055,
-0.016925260424613953,
0.037018682807683945,
-0.015400952659547329,
0.04202544689178467,
0.027408653870224953,
0.037014029920101166,
-0.017780445516109467,
0.031031766906380653,
-0.0204001497477293,
0.024960504844784737,
0.007672694977372885,
-0.021346567198634148,
0.013132475316524506,
0.010203243233263493,
0.112983338534832,
0.05272786691784859,
-0.04216700792312622,
-0.040548428893089294,
0.006405130494385958,
0.022110262885689735,
-0.03748810291290283,
0.0018871522042900324,
-0.003407657379284501,
0.024083556607365608,
-0.012650210410356522,
-0.06390673667192459,
-0.049555253237485886,
0.008355453610420227,
-0.044512610882520676,
0.016007764264941216,
0.060457743704319,
-0.03264075890183449,
0.06706524640321732,
0.00815874245017767,
0.01212394144386053,
-0.012451069429516792,
-0.025961436331272125,
-0.04629077389836311,
0.0271829254925251,
0.014879276044666767,
-0.020115695893764496,
0.06118578091263771,
-0.01578538864850998,
-0.007366633042693138,
-0.036829717457294464,
-0.022014817222952843,
0.028973164036870003,
0.051058828830718994,
0.07177276909351349,
-0.008640163578093052,
0.07437419146299362,
-0.023182129487395287,
0.024044770747423172,
-0.00042310592834837735,
-0.053868368268013,
-0.050822582095861435,
-0.06964161247015,
0.021310528740286827,
0.030371127650141716,
0.023984350264072418,
-0.017819857224822044,
0.04459184780716896,
0.010094858705997467,
-0.005802537780255079,
-0.030896149575710297,
0.04431097209453583,
0.007108855061233044,
-0.010273435153067112,
-0.044800449162721634,
-0.030622387304902077,
0.056659895926713943,
-0.05691372603178024,
-0.014656693674623966,
-0.0008017971995286644,
-0.057247672230005264,
0.04628506302833557,
-0.05389101803302765,
-0.04417562484741211,
0.0070315939374268055,
0.029454998672008514,
0.057910941541194916,
0.028744863346219063,
-0.00021664705127477646,
0.09168124198913574,
0.01493221428245306,
0.011699282564222813,
-0.015034257434308529,
-0.018768245354294777,
0.04767937585711479,
-0.011083124205470085,
0.017087213695049286,
0.019301434978842735,
-0.01134190522134304,
-0.012601323425769806,
-0.036067355424165726,
0.0337311327457428,
-0.03707675263285637,
-0.2997658848762512,
0.041899122297763824,
-0.00807089451700449,
-0.03251730278134346,
0.006810385268181562,
-0.048699233680963516,
0.010502933524549007,
-0.031258098781108856,
-0.03920198604464531,
-0.00022074906155467033,
-0.038533203303813934,
-0.03744900971651077,
-0.027874954044818878,
0.04670793190598488,
0.010560127906501293,
0.034330226480960846,
0.01656896062195301,
-0.043534040451049805,
0.012165285646915436,
0.04862140864133835,
-0.017715223133563995,
-0.04537723958492279,
0.003699380671605468,
0.034343842417001724,
0.016464723274111748,
0.056340012699365616,
-0.08825060725212097,
0.01585707627236843,
-0.060798127204179764,
-0.008339006453752518,
0.010993127711117268,
-0.0021893212106078863,
0.015183587558567524,
-0.015774276107549667,
-0.02211604081094265,
-0.008934656158089638,
0.05461496487259865,
0.014645441435277462,
0.005603489466011524,
0.005038610193878412,
-0.021949227899312973,
-0.04698420688509941,
-0.02966843917965889,
0.024850623682141304,
0.07591402530670166,
0.0073891025967895985,
-0.0733843520283699,
-0.006835948675870895,
-0.010616539046168327,
0.06316551566123962,
-0.03478139266371727,
-0.024205759167671204,
-0.005847821943461895,
0.03256354480981827,
-0.017739765346050262,
-0.023376084864139557,
-0.01907462812960148,
-0.006748278625309467,
-0.040486302226781845,
-0.030465329065918922,
-0.020216967910528183,
-0.04341541603207588,
0.014495125971734524,
-0.0569150447845459,
0.0006112256669439375,
-0.053695257753133774,
-0.06535796076059341,
-0.0372176319360733,
0.061101946979761124,
0.02869722805917263,
-0.023000074550509453,
0.034672290086746216,
0.00020774584845639765,
-0.09313757717609406,
-0.013074860908091068,
-0.0008883295813575387,
-0.0015046497574076056,
0.014727210626006126,
0.018216755241155624,
0.05918322503566742,
-0.034214604645967484,
-0.05683278664946556,
0.010798383504152298,
-0.0005717572057619691,
0.04619907960295677,
0.0003782067506108433,
0.01945623755455017,
-0.015596467070281506,
-0.03680311143398285,
0.019046640023589134,
0.04939870908856392,
0.0014542689314112067,
-0.03540927916765213,
-0.007277532014995813,
0.03165557235479355,
0.03410815820097923,
0.018565474078059196,
-0.0213484987616539,
0.00718261580914259,
0.02417706325650215,
0.014802828431129456,
-0.040603157132864,
0.02944330684840679,
-0.013526923023164272,
-0.02179606258869171,
-0.017424698919057846,
-0.05115780979394913,
0.02618570253252983,
0.03496111184358597,
0.02917064167559147,
-0.000990892294794321,
-0.02351422607898712,
0.01814546436071396,
-0.03325808420777321,
-0.035386823117733,
-0.0175761878490448,
0.015838829800486565,
0.030326679348945618,
0.009652368724346161,
-0.005251193884760141,
-0.06722549349069595,
0.017102107405662537,
0.023387880995869637,
0.0011301013873890042,
-0.046537261456251144,
-0.018839631229639053,
-0.014992897398769855,
-0.036446768790483475,
0.01677095703780651,
0.002615090226754546,
-0.019127847626805305,
0.030712969601154327,
0.025600263848900795,
-0.03187253326177597,
0.022826489061117172,
-0.012425579130649567,
-0.06976047158241272,
-0.026466747745871544,
0.01432306319475174,
-0.009696525521576405,
-0.018443603068590164,
0.03907313570380211,
-0.005704173352569342,
0.034731585532426834,
0.04049547016620636,
0.021224195137619972,
0.0023540689144283533,
-0.01827828772366047,
0.025976303964853287,
-0.013330376707017422,
0.008154585026204586,
-0.06318625062704086,
0.013710938394069672,
-0.04180699214339256,
-0.018453821539878845,
-0.01205101516097784,
0.044662799686193466,
-0.023164773359894753,
-0.01557210460305214,
-0.003804056206718087,
0.009770489297807217,
-0.07727193087339401,
-0.024644870311021805,
-0.016290809959173203,
0.024751396849751472,
0.06262281537055969,
-0.03233453631401062,
0.006426267325878143,
-0.032975129783153534,
-0.022574633359909058,
0.013137975707650185,
0.022226626053452492,
-0.055145226418972015,
0.008241234347224236,
0.03236197680234909,
-0.011467351578176022,
-0.000536852516233921,
0.018337249755859375,
0.05202462524175644,
0.006085062865167856,
-0.0172421857714653,
-0.00833578035235405,
-0.004978902637958527,
0.005462550092488527,
0.06582262367010117,
0.03244280442595482,
-0.007551182527095079,
0.003706936491653323,
-0.014569123275578022,
-0.012677807360887527,
-0.017103251069784164,
-0.008986948989331722,
0.011686401441693306,
0.011917248368263245,
-0.028976861387491226,
-0.06499297171831131,
0.06227783113718033,
0.011660687625408173,
-0.0016732035437598825,
0.029136192053556442,
0.019643448293209076,
-0.018894013017416,
-0.012854226864874363,
0.038548544049263,
0.057354915887117386,
-0.060563329607248306,
-0.02852904237806797,
-0.0022964475210756063,
0.00025867371005006135,
0.0024278343189507723,
0.005345754325389862,
-0.038583021610975266,
-0.0217305775731802,
-0.027749212458729744,
0.004361866042017937,
-0.05200084671378136,
-0.04028286412358284,
-0.013728326186537743,
0.016110310330986977,
0.0006858615088276565,
0.018525797873735428,
0.0051633985713124275,
-0.009627223946154118,
-0.035427823662757874,
-0.009965254925191402,
0.024933289736509323,
-0.04229549691081047,
0.0042229313403368,
-0.009930611588060856,
-0.04269874468445778,
-0.0062554203905165195,
-0.02193566970527172,
0.013763077557086945,
0.013765590265393257,
-0.022765139117836952,
0.006884864065796137,
-0.061688829213380814,
0.028811341151595116,
0.019820686429739,
0.051055535674095154,
-0.010224011726677418,
-0.0104121258482337,
-0.059110403060913086,
-0.011268876492977142,
-0.04946412146091461,
0.019533835351467133,
-0.032497137784957886,
0.002941465238109231,
0.02478434145450592,
0.03093744069337845,
0.03210069611668587,
0.04301152750849724,
-0.007255061063915491,
-0.02969752997159958,
0.04010296240448952,
-0.05030527338385582,
-0.03275034949183464,
-0.04339345544576645,
-0.05542359873652458,
-0.004672944080084562,
-0.0016377849970012903,
0.008045457303524017,
-0.024666188284754753,
0.03613794595003128,
0.038478609174489975,
0.027224695309996605,
0.02996106632053852,
-0.0231693834066391,
0.019145730882883072,
-0.038987524807453156,
0.0018125460483133793,
-0.07717519253492355,
-0.005620923824608326,
0.04118191450834274,
0.019938813522458076,
-0.021367916837334633,
-0.00704983901232481,
-0.028509771451354027,
0.02099793031811714,
-0.06844009459018707,
-0.02011810429394245,
0.04921581968665123,
-0.019522015005350113,
-0.0005667790537700057,
-0.00510021997615695,
-0.07727392017841339,
0.0026006288826465607,
0.04045446589589119,
-0.03579580411314964,
-0.017351238057017326,
-0.037486810237169266,
0.05309043452143669,
-0.01596427522599697,
0.044556625187397,
-0.01847759075462818,
-0.009164076298475266,
0.08454334735870361,
0.014902414754033089,
0.014168648049235344,
0.056493036448955536,
-0.008115869015455246,
0.04137808829545975,
0.03993164002895355,
-0.00586057361215353,
-0.020027030259370804,
0.032365504652261734,
-0.011320115067064762,
-0.06593455374240875,
0.02908572368323803,
0.01619032584130764,
-0.036871537566185,
-0.03148100525140762,
0.05881804972887039,
0.022191094234585762,
-0.04627278447151184,
-0.028969580307602882,
0.025703128427267075,
-0.055854082107543945,
-0.011339373886585236,
-0.033996209502220154,
0.014135546050965786,
-0.04381181299686432,
0.03160858899354935,
-0.02421027421951294,
0.005196409299969673,
0.07851547002792358,
0.007835209369659424,
-0.01729026436805725,
-0.01181743573397398,
0.0908040925860405,
0.0826714038848877,
0.06666955351829529,
0.01788516156375408,
0.07434234768152237,
-0.01624361053109169,
-0.036905329674482346,
-0.006034538149833679,
-0.01866031251847744,
-0.04491003602743149,
-0.011962256394326687,
0.031975794583559036,
0.06638874113559723,
-0.018278878182172775,
0.07608163356781006,
-0.008005023002624512,
-0.005421608220785856,
0.0061816866509616375,
0.030012978240847588,
0.03372825309634209,
0.05416654422879219,
0.024213213473558426,
0.006325240712612867,
-0.02740389294922352,
-0.049218982458114624,
0.02098177932202816,
-0.03738301619887352,
-0.008200222626328468,
0.04173329472541809,
-0.02172275446355343,
0.0007769644726067781,
0.03733855485916138,
0.028390446677803993,
0.0663701668381691,
-0.04105027765035629,
0.017373107373714447,
-0.014317922294139862,
0.019154615700244904,
-0.014157417230308056,
0.02058466151356697,
-0.0048044719733297825,
-0.010765798389911652,
0.004148626234382391,
-0.03682706505060196,
-0.028197800740599632,
-0.02047898806631565,
-0.046918999403715134,
0.020251775160431862,
-0.03727512061595917,
-0.01547679677605629,
-0.0008379297214560211,
-0.007130822166800499,
-0.021714482456445694,
-0.06295502185821533,
-0.0205328818410635,
-0.041560396552085876,
-0.07663589715957642,
-0.015774091705679893,
0.0035464386455714703,
-0.015742391347885132,
-0.026336709037423134,
0.011245563626289368,
-0.03490307927131653,
-0.02494618482887745,
0.0496000312268734,
-0.07385657727718353,
-0.01329240296036005,
0.00715276226401329,
0.01045191939920187,
0.036478620022535324,
0.015367599204182625,
0.03234502673149109,
0.009114999324083328,
0.006183486431837082,
-0.016248898580670357,
0.02301410585641861,
0.028020182624459267,
0.0008575437241233885,
-0.0024802451953291893,
-0.0950787141919136,
0.027712564915418625,
0.039200495928525925,
-0.008372818119823933,
-0.06371988356113434,
0.024451937526464462,
0.040694527328014374,
0.027333779260516167,
0.0468575619161129,
-0.011569433845579624,
-0.01309091318398714,
-0.02598399482667446,
0.011301207356154919,
-0.010169302113354206,
0.012528507970273495,
0.045462384819984436,
-0.009486517868936062,
0.07287313044071198,
0.03457336500287056,
-0.038908541202545166,
-0.039157066494226456,
-0.026052122935652733,
0.021531928330659866,
-0.005142905283719301,
-0.014817924238741398,
-0.036166440695524216,
-0.032203126698732376,
-0.0843290165066719,
-0.030618730932474136,
0.014794571325182915,
-0.010483693331480026,
-0.021563662216067314,
0.015531397424638271,
0.03132883831858635,
0.006296341773122549,
0.03981490060687065,
-0.03814064338803291,
0.03568023815751076,
-0.02020682767033577,
-0.011260648258030415,
-0.03390125185251236,
-0.01221710816025734,
-0.028360530734062195,
-0.0030745677649974823,
0.00802943017333746,
-0.060374438762664795,
-0.018778081983327866,
-0.0040816981345415115,
0.03529037535190582,
0.015420669689774513,
0.004246655385941267,
-0.0021325498819351196
] | [
-0.051023997366428375,
-0.01648724265396595,
-0.021426774561405182,
-0.028262928128242493,
0.023484736680984497,
-0.0021096295677125454,
-0.0025827859062701464,
0.015336130745708942,
0.004420115612447262,
-0.03507973998785019,
0.030870847404003143,
-0.021268373355269432,
-0.0020165173336863518,
0.009962937794625759,
0.08176515251398087,
0.004089093767106533,
-0.030664721503853798,
-0.09459397941827774,
-0.004190254490822554,
0.060350868850946426,
-0.040994688868522644,
-0.02657611295580864,
-0.013190600089728832,
-0.035316456109285355,
0.020735960453748703,
0.02418551594018936,
0.052818525582551956,
-0.04922313988208771,
-0.013751295395195484,
-0.16229373216629028,
0.021006489172577858,
0.02283569797873497,
0.035829998552799225,
0.0005389649886637926,
0.0022753102239221334,
0.056984543800354004,
0.03932791203260422,
0.0052251145243644714,
-0.00316362245939672,
0.0495758131146431,
0.008016224950551987,
-0.0012002207804471254,
-0.04826013743877411,
-0.017101770266890526,
0.058868344873189926,
0.020860210061073303,
-0.008555098436772823,
-0.03820022940635681,
-0.024985257536172867,
0.00543059129267931,
-0.03656717389822006,
-0.041193339973688126,
-0.014540217816829681,
-0.02570573426783085,
0.01044799480587244,
0.024371301755309105,
0.03044058568775654,
0.043280430138111115,
0.001523231971077621,
0.027989426627755165,
-0.0017247323412448168,
0.004813851788640022,
-0.1262773871421814,
0.08254586160182953,
0.019344447180628777,
0.013932191766798496,
-0.04568451642990112,
0.0034664596896618605,
0.008543216623365879,
0.07821257412433624,
0.028221646323800087,
-0.0023942983243614435,
-0.00815669447183609,
0.043969422578811646,
0.009361444041132927,
0.028190424665808678,
-0.003985791467130184,
0.025356438010931015,
0.03412939980626106,
-0.04590089991688728,
-0.017810747027397156,
0.019000155851244926,
-0.018307024613022804,
-0.014518027193844318,
-0.050680238753557205,
0.041409771889448166,
-0.02430938370525837,
0.05264768749475479,
-0.0019596307538449764,
0.056830551475286484,
0.03861634060740471,
0.03897479921579361,
0.0032928858418017626,
0.004038079641759396,
-0.06949479132890701,
-0.037479352205991745,
0.013666217215359211,
0.034526631236076355,
-0.030508404597640038,
0.42204776406288147,
0.002512203063815832,
0.013787620700895786,
0.0595649890601635,
0.0695689469575882,
-0.028859766200184822,
-0.045814238488674164,
0.014524668455123901,
-0.07164143025875092,
0.04564408212900162,
-0.014528881758451462,
0.005805163644254208,
-0.006159764248877764,
0.060980599373579025,
-0.0719023123383522,
0.019482286646962166,
0.04199439287185669,
0.05195893347263336,
0.025439096614718437,
-0.009338309988379478,
0.006941714324057102,
-0.016790643334388733,
0.008217671886086464,
0.0421755425632,
-0.01961488462984562,
-0.007279047276824713,
-0.015127637423574924,
0.017429474741220474,
0.062055617570877075,
0.023868175223469734,
-0.0021686162799596786,
0.07897848635911942,
-0.0007318847929127514,
-0.06804534792900085,
0.03126518428325653,
0.001142690540291369,
-0.012476007454097271,
0.01770784705877304,
-0.02707691118121147,
0.007256507407873869,
0.04072030261158943,
0.0248189065605402,
0.012056439183652401,
0.0333268977701664,
-0.030985821038484573,
-0.041444890201091766,
0.11580466479063034,
0.006599158048629761,
-0.033820126205682755,
-0.008221982978284359,
-0.027892693877220154,
-0.005185300949960947,
0.022013923153281212,
-0.0052321781404316425,
-0.07068003714084625,
0.010962939821183681,
-0.0020704425405710936,
0.12275239825248718,
-0.01122688502073288,
-0.08713480830192566,
0.002187850419431925,
-0.044812966138124466,
-0.009676245972514153,
-0.05183516442775726,
0.05467133969068527,
0.0937836766242981,
-0.11812115460634232,
-0.0006159709882922471,
-0.012810018844902515,
0.032048095017671585,
-0.06669343262910843,
0.0061124092899262905,
-0.0038937642239034176,
-0.034256186336278915,
-0.0008933491772040725,
0.08219682425260544,
-0.023663150146603584,
-0.03699072450399399,
-0.01363894622772932,
0.03602195158600807,
0.011663653887808323,
0.02188604325056076,
-0.003465237095952034,
-0.02717428281903267,
0.0017464152770116925,
-0.05824032425880432,
-0.07245275378227234,
-0.05801905691623688,
0.000017692453184281476,
-0.012974902056157589,
-0.01876705326139927,
-0.035634446889162064,
-0.03184165805578232,
-0.09715857356786728,
0.08621137589216232,
-0.05578194931149483,
-0.027115345001220703,
0.012980114668607712,
-0.01407912839204073,
-0.04688764363527298,
-0.02088122069835663,
-0.06736046075820923,
0.009219607338309288,
-0.0468781515955925,
0.03203267604112625,
-0.04686718061566353,
0.03768561780452728,
0.08336003869771957,
-0.05157134309411049,
0.12080243974924088,
0.05210421606898308,
-0.03825366124510765,
-0.025752408429980278,
0.0035420849453657866,
0.004639013670384884,
-0.0035380381159484386,
-0.01162600889801979,
0.011049122549593449,
-0.006028071511536837,
-0.014471599832177162,
0.03714779391884804,
-0.006951157934963703,
0.028469184413552284,
-0.010378504171967506,
-0.3506214916706085,
-0.02459767274558544,
-0.0029501391109079123,
-0.00026959250681102276,
0.030788259580731392,
-0.018767965957522392,
0.03739253804087639,
-0.012844895012676716,
0.008506570011377335,
0.006361126434057951,
0.07374217361211777,
-0.0023119766265153885,
0.01677972637116909,
-0.09145353734493256,
0.004953369963914156,
0.027328023687005043,
-0.028198445215821266,
0.0030974841210991144,
-0.009290194138884544,
0.013791615143418312,
-0.01699458621442318,
-0.020333530381321907,
-0.010789262130856514,
-0.06691291183233261,
-0.022306978702545166,
-0.019014960154891014,
0.10773620009422302,
0.011736737564206123,
0.03376426920294762,
-0.03858872130513191,
0.032765284180641174,
0.005296892486512661,
-0.008114667609333992,
-0.10900858044624329,
0.006789961829781532,
-0.016906797885894775,
0.042254429310560226,
-0.005597410257905722,
0.015019566752016544,
-0.03355393931269646,
-0.05548708140850067,
-0.0026211088988929987,
-0.051939647644758224,
-0.05305750295519829,
-0.0939752385020256,
0.027627799659967422,
-0.03061428852379322,
-0.01645403541624546,
-0.02229003794491291,
0.05898330733180046,
0.037912145256996155,
-0.002697011921554804,
0.010021206922829151,
-0.002121850149706006,
-0.003451288677752018,
-0.04497659578919411,
-0.09942447394132614,
0.009927147068083286,
0.005822133272886276,
0.042824406176805496,
0.007523874752223492,
0.06642543524503708,
0.016840532422065735,
-0.08664368838071823,
0.004558245185762644,
-0.0006498993607237935,
-0.007189253345131874,
0.005062392447143793,
0.04081197828054428,
-0.02424025721848011,
-0.02519780769944191,
0.09385666251182556,
0.008330096490681171,
-0.004173604771494865,
0.0377267524600029,
0.0004187985323369503,
-0.03889002650976181,
0.01264338567852974,
0.018636344000697136,
0.022635558620095253,
0.022424986585974693,
-0.0477759875357151,
0.048806969076395035,
-0.009354503825306892,
-0.026051539927721024,
0.029604151844978333,
0.007990906946361065,
-0.04599106311798096,
0.05919515714049339,
0.03315889462828636,
-0.027188830077648163,
0.015430537983775139,
-0.04381134733557701,
-0.038155581802129745,
0.06541146337985992,
-0.03331073001027107,
-0.25137707591056824,
0.02716830186545849,
0.03796711191534996,
0.06111741438508034,
0.010517245158553123,
0.02251005731523037,
0.02969265915453434,
-0.012444633059203625,
-0.005822186823934317,
0.010105387307703495,
0.04649432376027107,
0.018543018028140068,
-0.0068883709609508514,
0.003448052564635873,
0.020781053230166435,
0.013400101102888584,
0.0126258609816432,
0.011249072849750519,
-0.006914854049682617,
-0.014603267423808575,
0.036462508141994476,
0.002925238572061062,
0.15476565062999725,
0.023773647844791412,
0.016620289534330368,
0.03656706586480141,
-0.02934458665549755,
0.009274731390178204,
0.07909133285284042,
-0.043667543679475784,
-0.029322706162929535,
0.00833708792924881,
-0.010264013893902302,
0.01886221207678318,
0.03374496102333069,
-0.08086412400007248,
-0.022281819954514503,
0.014198174700140953,
0.033144574612379074,
-0.006008881144225597,
0.017665408551692963,
-0.0032200622372329235,
0.004162785597145557,
0.03208718076348305,
0.06406211107969284,
-0.0023930801544338465,
0.027478251606225967,
-0.0508221760392189,
-0.06942380219697952,
-0.02491428144276142,
-0.038452353328466415,
-0.05714495852589607,
-0.0015835667727515101,
-0.008359907194972038,
0.004003338981419802,
0.09243934601545334,
0.019268864765763283,
-0.045218996703624725,
0.015749922022223473,
0.0008012308971956372,
-0.016375454142689705,
-0.02178915962576866,
0.09810063987970352,
-0.005635621026158333,
-0.0008583796443417668
] | [
0.005933584179729223,
0.0019791743252426386,
-0.0005756463506259024,
0.02249671332538128,
-0.03172813728451729,
-0.0004130443267058581,
0.007918460294604301,
0.0002710123371798545,
-0.02823541685938835,
-0.0061377170495688915,
-0.03403663635253906,
0.033254120498895645,
0.022119414061307907,
-0.018595587462186813,
0.027225622907280922,
-0.0066774096339941025,
0.008646170608699322,
-0.019800422713160515,
0.03978708013892174,
0.014087424613535404,
-0.029348056763410568,
-0.02061000093817711,
0.014009575359523296,
-0.00848462339490652,
-0.009863819926977158,
0.02773243933916092,
0.011750667355954647,
-0.0028868468943983316,
0.02330910786986351,
-0.11272091418504715,
-0.034949447959661484,
-0.004167856182903051,
-0.022322246804833412,
0.00042345072142779827,
-0.02200951986014843,
-0.002826504409313202,
0.024626467376947403,
0.026596158742904663,
0.017635026946663857,
-0.0015952856047078967,
0.0003906305064447224,
-0.005849411711096764,
-0.0026797798927873373,
0.029834991320967674,
0.0074686044827103615,
0.010653450153768063,
-0.023330343887209892,
-0.0419449582695961,
-0.0050927116535604,
-0.016735486686229706,
-0.035682279616594315,
-0.011289547197520733,
-0.0012129453243687749,
-0.004574591759592295,
0.014782912097871304,
0.0177682526409626,
-0.009485337883234024,
-0.010133364237844944,
0.004518589470535517,
0.02630995400249958,
-0.007284530904144049,
-0.021427927538752556,
-0.05854802951216698,
-0.010863162577152252,
-0.012716565281152725,
-0.0285265501588583,
-0.012000367045402527,
0.033387403935194016,
0.022095920518040657,
-0.002710033906623721,
-0.0342196561396122,
0.027135932818055153,
-0.05114860087633133,
-0.04445342347025871,
-0.015999168157577515,
0.02365378476679325,
0.008088383823633194,
-0.012513458728790283,
0.0008306115632876754,
-0.0067474497482180595,
-0.050556331872940063,
0.027862688526511192,
-0.004171287175267935,
-0.0029425197280943394,
-0.024789566174149513,
-0.018824685364961624,
0.025598783046007156,
-0.014779407531023026,
-0.008138984441757202,
0.0049554649740457535,
-0.04392106831073761,
0.040141597390174866,
-0.0270640067756176,
-0.01070405449718237,
-0.1054331362247467,
0.011740698479115963,
0.0072607253678143024,
0.007070779334753752,
0.0155513109639287,
0.8579619526863098,
-0.024824833497405052,
0.023472661152482033,
0.0309929009526968,
0.012273532338440418,
-0.009062162600457668,
0.0032797353342175484,
-0.004426025319844484,
0.003911965526640415,
0.014019587077200413,
-0.0357176847755909,
-0.015383687801659107,
0.009025662206113338,
0.019233951345086098,
0.023494066670536995,
0.028061218559741974,
0.018935589119791985,
0.02504963055253029,
0.0040128338150680065,
-0.014233380556106567,
0.02781076356768608,
0.007581823971122503,
0.020572256296873093,
0.015424760989844799,
-0.0015221246285364032,
-0.019953550770878792,
-0.1868295818567276,
0.0006297971704043448,
-7.643767361605099e-33,
0.0562649741768837,
-0.030960148200392723,
0.04238036647439003,
-0.006166825536638498,
0.008954041637480259,
0.021960707381367683,
0.00409831665456295,
-0.005560923833400011,
0.0013833192642778158,
-0.015190471895039082,
-0.006704799830913544,
0.0009560736361891031,
0.02736537717282772,
-0.029789889231324196,
0.014620441943407059,
-0.023271707817912102,
0.009722701273858547,
0.011362573131918907,
-0.02822970598936081,
0.0291791632771492,
0.009236169047653675,
0.025663767009973526,
-0.0006686392007395625,
0.006324432324618101,
-0.02903122641146183,
0.020316049456596375,
0.01265309751033783,
0.04093300551176071,
0.02278418280184269,
-0.04475522041320801,
-0.007652607746422291,
0.016436219215393066,
-0.02264811284840107,
0.000726831320207566,
-0.004214382264763117,
-0.03392858803272247,
-0.0374794639647007,
0.005993906874209642,
0.012272362597286701,
-0.049416348338127136,
-0.04085884243249893,
0.004129933658987284,
-0.010647280141711235,
-0.031887833029031754,
-0.03629251942038536,
-0.0010262711439281702,
0.007652879226952791,
0.0033743891399353743,
-0.004920182283967733,
0.0007086159312166274,
-0.018757032230496407,
-0.009925235994160175,
-0.010863755829632282,
0.027493257075548172,
-0.03631331026554108,
0.008072023279964924,
0.025598548352718353,
0.031751133501529694,
-0.006756869610399008,
0.0352126769721508,
0.005924449767917395,
0.00689659733325243,
-0.027798008173704147,
0.021584317088127136,
-0.005113854538649321,
-0.0011167984921485186,
0.004329837393015623,
-0.0095036206766963,
-0.0010203421115875244,
-0.009482670575380325,
-0.05290800333023071,
0.04891346022486687,
-0.014368976466357708,
0.003952840808779001,
0.013155399821698666,
-0.01937299221754074,
0.002136535942554474,
0.01690717041492462,
-0.01961812563240528,
0.05390618368983269,
-0.0034876803401857615,
-0.022776389494538307,
-0.005981347057968378,
-0.03576153889298439,
-0.014601550064980984,
-0.001518252189271152,
0.03244161605834961,
-0.0028749865014106035,
-0.0007319488795474172,
0.03338250145316124,
0.030333934351801872,
0.009134889580309391,
0.0014571587089449167,
0.004266324918717146,
-0.007373878266662359,
7.592144792504769e-33,
0.02633541263639927,
0.0049674068577587605,
-0.002422622637823224,
0.0025469872634857893,
0.07314839959144592,
0.010021562688052654,
0.03085818514227867,
-0.005809493828564882,
-0.05318407341837883,
0.03454254940152168,
-0.010946478694677353,
-0.0006007059710100293,
0.01884256862103939,
0.027254637330770493,
0.03970598429441452,
-0.014631635509431362,
0.021139923483133316,
-0.040115974843502045,
0.01762395165860653,
0.012388518080115318,
-0.009370101615786552,
-0.0013810200616717339,
-0.021518824622035027,
-0.009084842167794704,
0.051428232342004776,
0.037487927824258804,
0.0037293245550245047,
0.012088228017091751,
-0.010967974551022053,
0.013946662656962872,
-0.002153649926185608,
-0.02369818463921547,
0.01254278514534235,
-0.015144290402531624,
0.007628647610545158,
0.00843085441738367,
-0.017267847433686256,
-0.016541991382837296,
-0.003579668002203107,
0.0014729014365002513,
0.01693495362997055,
0.012397196143865585,
-0.027658870443701744,
0.033791959285736084,
0.044717442244291306,
0.028547165915369987,
-0.031178021803498268,
0.017222454771399498,
-0.044162850826978683,
0.012956155464053154,
-0.01482777576893568,
0.018857378512620926,
0.001490228809416294,
-0.026934612542390823,
0.017750058323144913,
-0.04636302962899208,
-0.006173540838062763,
0.008688163943588734,
0.009834377095103264,
0.004042978398501873,
0.0019921876955777407,
-0.023076416924595833,
-0.018886342644691467,
0.01437473576515913,
-0.0370512455701828,
0.0027893425431102514,
-0.01035948283970356,
0.0072621009312570095,
0.00012496871931944042,
0.00913013145327568,
0.0006218285416252911,
-0.009739582426846027,
-0.007699528243392706,
0.012872892431914806,
0.020541159436106682,
-0.05544344335794449,
-0.05257246270775795,
0.0007464273367077112,
-0.02660933881998062,
0.03260805457830429,
0.022348502650856972,
0.03573692962527275,
0.003041183575987816,
0.005823815707117319,
0.0291755311191082,
0.0351746529340744,
0.0014458780642598867,
0.0503636933863163,
-0.032875318080186844,
-0.008785896934568882,
0.0055166324600577354,
-0.009577451273798943,
-0.00854936707764864,
0.034766945987939835,
-0.006736059207469225,
-1.328698395752781e-8,
-0.031226687133312225,
-0.009723976254463196,
-0.015244690701365471,
-0.010734065435826778,
0.046383291482925415,
0.005933057051151991,
0.0009201281936839223,
0.01694553904235363,
-0.024661418050527573,
0.043319541960954666,
0.049877192825078964,
-0.02788649871945381,
0.006390829104930162,
0.00907919742166996,
0.01021205261349678,
-0.03275131806731224,
0.005357568152248859,
-0.01277079340070486,
0.026391956955194473,
0.013319228775799274,
0.020768964663147926,
0.029261121526360512,
-0.03512638807296753,
0.023841366171836853,
0.018961742520332336,
-0.02442256174981594,
0.01837059296667576,
-0.06312978267669678,
-0.018852274864912033,
0.0032572296913713217,
-0.022437985986471176,
-0.03971977159380913,
0.019300857558846474,
0.01988343521952629,
-0.03585029020905495,
-0.03100801818072796,
0.014008712954819202,
0.031567174941301346,
0.02630956470966339,
0.012451810762286186,
-0.02788572572171688,
-0.00498442305251956,
-0.008920572698116302,
-0.03952512890100479,
-0.0181583184748888,
0.04479451850056648,
-0.021037375554442406,
0.002148096216842532,
0.013823606073856354,
-0.0530824214220047,
-0.006364657077938318,
-0.010704006999731064,
0.03779711574316025,
0.025644918903708458,
0.028191888704895973,
0.024654846638441086,
-0.015752417966723442,
-0.016370106488466263,
-0.0047642565332353115,
-0.01903245970606804,
-0.01657279022037983,
0.019879773259162903,
-0.03447901830077171,
-0.03044290840625763
] | lessons-from-running-neo4j-based-hackathons | https://markhneedham.com/blog/2014/10/11/lessons-from-running-neo4j-based-hackathons |
false | 2014-10-31 23:47:26 | R: Converting a named vector to a data frame | [
"r-2"
] | [
"R"
] | I've been playing around with http://igraph.org/r/[igraph's] http://igraph.org/r/doc/page.rank.html[page rank] function to see who the most central nodes in the London NoSQL scene are and I wanted to put the result in a data frame to make the data easier to work with.
I started off with a data frame containing pairs of people and the number of events that they'd both RSVP'd 'yes' to:
[source,r]
----
> library(dplyr)
> data %>% arrange(desc(times)) %>% head(10)
p.name other.name times
1 Amit Nandi Anish Mohammed 51
2 Amit Nandi Enzo Martoglio 49
3 louis zheng 46
4 louis Raja Kolli 45
5 Raja Kolli Enzo Martoglio 43
6 Amit Nandi Raja Kolli 42
7 zheng Anish Mohammed 42
8 Raja Kolli Rohit 41
9 Amit Nandi zheng 40
10 louis Rohit 40
----
I actually had ~ 900,000 such rows in the data frame:
[source,r]
----
> length(data[,1])
[1] 985664
----
I ran page rank over the data set like so:
[source,r]
----
g = graph.data.frame(data, directed = F)
pr = page.rank(g)$vector
----
If we evaluate +++<cite>+++pr+++</cite>+++ we can see the person's name and their page rank:
[source,r]
----
> head(pr)
Ioanna Eirini Mjay Baktash madhuban Karl Prior Keith Bolam
0.0002190 0.0001206 0.0001524 0.0008819 0.0001240 0.0005702
----
I initially tried to convert this to a data frame with the following code\...
[source,r]
----
> head(data.frame(pr))
pr
Ioanna Eirini 0.0002190
Mjay 0.0001206
Baktash 0.0001524
madhuban 0.0008819
Karl Prior 0.0001240
Keith Bolam 0.0005702
----
\...which unfortunately didn't create a column for the person's name.
[source,R]
----
> colnames(data.frame(pr))
[1] "pr"
----
http://nicolewhite.github.io/[Nicole] pointed out that I actually had a http://www.r-tutor.com/r-introduction/vector/named-vector-members[named vector] and would need to explicitly extract the names from that vector into the data frame. I ended up with this:
[source,r]
----
> prDf = data.frame(name = names(pr), rank = pr)
> head(prDf)
name rank
Ioanna Eirini Ioanna Eirini 0.0002190
Mjay Mjay 0.0001206
Baktash Baktash 0.0001524
madhuban madhuban 0.0008819
Karl Prior Karl Prior 0.0001240
Keith Bolam Keith Bolam 0.0005702
----
We can now sort the data frame to find the most central people on the NoSQL London scene based on meetup attendance:
[source,r]
----
> data.frame(prDf) %>%
+ arrange(desc(pr)) %>%
+ head(10)
name rank
1 louis 0.001708
2 Kannappan 0.001657
3 zheng 0.001514
4 Peter Morgan 0.001492
5 Ricki Long 0.001437
6 Raja Kolli 0.001416
7 Amit Nandi 0.001411
8 Enzo Martoglio 0.001396
9 Chris 0.001327
10 Rohit 0.001305
---- | null | null | [
0.017364896833896637,
-0.016660748049616814,
-0.0005801941151730716,
0.0444059781730175,
0.06644002348184586,
0.018005626276135445,
0.016443641856312752,
0.013238368555903435,
0.009713659062981606,
-0.003168233437463641,
0.013094643130898476,
-0.028019795194268227,
-0.07411068677902222,
0.015887737274169922,
0.006922642234712839,
0.0635465458035469,
0.07357388734817505,
0.0034503855276852846,
0.005602238234132528,
-0.002415380207821727,
0.05542079731822014,
0.07025986164808273,
-0.00576440803706646,
0.03813705965876579,
0.037300754338502884,
-0.001300346222706139,
0.004296457394957542,
0.008448834531009197,
-0.03957432135939598,
0.009574342519044876,
0.060676589608192444,
-0.011430076323449612,
-0.011212147772312164,
-0.01568351313471794,
0.037543509155511856,
-0.009559369646012783,
-0.03513273969292641,
0.004776927642524242,
0.007417725399136543,
-0.010752512142062187,
-0.0916399285197258,
0.0239234771579504,
-0.039308760315179825,
0.014016348868608475,
-0.024940064176917076,
-0.006819400005042553,
-0.03729679062962532,
0.050082311034202576,
0.021457422524690628,
0.03486902639269829,
-0.06740116328001022,
0.036920927464962006,
0.0009589969995431602,
-0.013467078097164631,
-0.010702955536544323,
0.03537273406982422,
0.0181106049567461,
-0.05306193232536316,
0.027720585465431213,
-0.030448274686932564,
0.009757849387824535,
-0.006230494007468224,
0.023101266473531723,
0.029941625893115997,
0.028450660407543182,
-0.03437803313136101,
-0.012521747499704361,
0.052025727927684784,
-0.028556356206536293,
0.011431438848376274,
-0.027405165135860443,
-0.0017778623150661588,
-0.019551508128643036,
-0.0010736610274761915,
-0.016560586169362068,
-0.04118039458990097,
-0.00643474655225873,
0.05040942132472992,
0.02488422580063343,
0.02402482181787491,
-0.00383731909096241,
-0.0015285741537809372,
0.015237980522215366,
0.018736304715275764,
-0.015466240234673023,
-0.03722759336233139,
-0.04583745077252388,
-0.07792140543460846,
-0.08638899773359299,
0.04266621172428131,
-0.017185023054480553,
-0.04834986478090286,
0.0016507230466231704,
0.02487260475754738,
-0.019337978214025497,
0.005441777408123016,
0.02033086121082306,
-0.013758995570242405,
-0.015019024722278118,
-0.03047223761677742,
-0.05460957810282707,
-0.031229928135871887,
0.043441105633974075,
0.020957820117473602,
-0.0749693289399147,
0.004906024318188429,
-0.022295046597719193,
-0.006288039032369852,
-0.011415533721446991,
-0.003415940096601844,
-0.024230774492025375,
0.00337218982167542,
-0.018274594098329544,
0.00596144562587142,
-0.06485619395971298,
0.06670071184635162,
0.04100314900279045,
-0.027905672788619995,
-0.0050532934255898,
0.0022413425613194704,
0.03485662117600441,
0.027322424575686455,
0.0033156771678477526,
0.07239791750907898,
-0.027071431279182434,
0.04515289142727852,
0.008915456011891365,
0.03654692322015762,
-0.010215780697762966,
-0.05388546362519264,
-0.018379870802164078,
0.07501672208309174,
-0.0406804233789444,
-0.003650096943601966,
-0.0176891777664423,
-0.04970712959766388,
0.0032690742518752813,
0.002847630763426423,
0.06081295385956764,
0.018764808773994446,
0.043870896100997925,
-0.052703533321619034,
0.002963634906336665,
-0.004666788969188929,
0.056977394968271255,
0.009984465315937996,
0.003930389881134033,
-0.04722805321216583,
-0.03610028326511383,
-0.027672944590449333,
0.02372848615050316,
0.01605730690062046,
0.06997403502464294,
-0.026761803776025772,
0.028479088097810745,
0.08277858048677444,
0.05138695612549782,
-0.0006416941760107875,
0.005469780880957842,
0.0010992849711328745,
0.05618656799197197,
0.0055121625773608685,
0.024955743923783302,
0.053763825446367264,
0.0005319586489349604,
-0.030561165884137154,
0.0042830719612538815,
0.057700399309396744,
-0.025124656036496162,
0.000964376435149461,
-0.03806512430310249,
-0.047041893005371094,
0.04878789186477661,
-0.012255597859621048,
-0.0068181464448571205,
0.049210309982299805,
0.07510180026292801,
0.04986894875764847,
0.02184934914112091,
-0.0026185037568211555,
-0.08112820982933044,
0.04613807797431946,
-0.002763504395261407,
0.03538066893815994,
0.02965201437473297,
-0.012813229113817215,
0.09345009177923203,
0.04926655814051628,
0.02839767374098301,
0.03886111080646515,
-0.06609291583299637,
-0.04916579648852348,
-0.027779677882790565,
-0.01688924804329872,
0.06730823963880539,
-0.028859838843345642,
0.02881450764834881,
0.06124243512749672,
0.008968859910964966,
0.013432352803647518,
-0.010412944480776787,
0.02319326251745224,
0.0401214174926281,
-0.023989897221326828,
-0.053756456822156906,
0.018676534295082092,
0.028769079595804214,
-0.009914021007716656,
-0.027028076350688934,
0.011924711987376213,
-0.020624902099370956,
0.019995514303445816,
0.028944682329893112,
-0.028022969141602516,
0.030700556933879852,
0.022606324404478073,
0.05368794500827789,
0.019663674756884575,
0.04853891208767891,
-0.011390769854187965,
0.049379996955394745,
0.00024300366931129247,
0.0025992642622441053,
-0.036305204033851624,
-0.014255363494157791,
0.1422581672668457,
0.05913270637392998,
-0.01278427429497242,
-0.06496471166610718,
0.017811244353652,
-0.023092839866876602,
-0.017471300438046455,
0.04083600267767906,
-0.00975008774548769,
-0.040035415440797806,
0.014307895675301552,
-0.023389503359794617,
-0.033503804355859756,
0.02464638650417328,
-0.05034880340099335,
0.01215282827615738,
0.048593658953905106,
-0.005937430541962385,
0.05754650756716728,
0.010943868197500706,
0.0012932105455547571,
0.005135082174092531,
-0.026787132024765015,
-0.06957696378231049,
0.001123553141951561,
0.037147119641304016,
-0.0043050628155469894,
0.014368824660778046,
-0.03474196791648865,
0.014743906445801258,
-0.022066395729780197,
-0.014621041715145111,
0.04263405129313469,
0.06962449848651886,
0.06966200470924377,
0.004570262040942907,
0.027454204857349396,
-0.04517856985330582,
-0.011144552379846573,
-0.02370310388505459,
-0.03737673908472061,
-0.05511116236448288,
-0.05856550112366676,
0.021153753623366356,
0.003761769738048315,
0.03078054077923298,
-0.018085617572069168,
0.00029735511634498835,
0.022044068202376366,
0.03004324808716774,
-0.011874561198055744,
0.03266143053770065,
-0.0020698101725429296,
0.015094699338078499,
-0.010675190947949886,
-0.010660114698112011,
0.03105899505317211,
0.006053373217582703,
-0.016162803396582603,
0.011783417314291,
-0.06941001862287521,
0.03420349955558777,
-0.04863297939300537,
-0.021306922659277916,
-0.004217719659209251,
0.021299945190548897,
0.06864666938781738,
0.041958458721637726,
-0.0069366986863315105,
0.022282421588897705,
0.010693071410059929,
0.014178230427205563,
0.023315852507948875,
-0.00393854221329093,
0.0399724543094635,
-0.000814500730484724,
0.03084479458630085,
0.03957502171397209,
-0.029590163379907608,
0.0038627784233540297,
-0.02200908586382866,
0.015618792735040188,
-0.014113075099885464,
-0.26141634583473206,
0.04224874824285507,
0.016225848346948624,
-0.037851400673389435,
0.004442477133125067,
-0.054598987102508545,
0.014841299504041672,
-0.03279701620340347,
-0.025895526632666588,
-0.004790095612406731,
0.0056223138235509396,
-0.021741801872849464,
-0.04087206721305847,
0.02969158999621868,
0.033002667129039764,
0.03837097808718681,
-0.01199987530708313,
-0.046439141035079956,
-0.003950292710214853,
0.06430815160274506,
0.016853339970111847,
-0.03919181600213051,
-0.021329963579773903,
0.02520342729985714,
0.024666450917720795,
0.049765586853027344,
-0.07247793674468994,
0.022716397419571877,
-0.06352634727954865,
-0.038069091737270355,
0.028593827039003372,
-0.041601166129112244,
0.023117389529943466,
-0.013995812274515629,
-0.0060385437682271,
-0.05344130098819733,
0.051760248839855194,
0.00890434067696333,
0.0026163943111896515,
0.028418581932783127,
-0.03392185643315315,
-0.018894340842962265,
-0.013022414408624172,
-0.024183984845876694,
0.09066705405712128,
0.024222584441304207,
-0.07017325609922409,
0.002793756080791354,
-0.016559692099690437,
0.06301155686378479,
-0.029090074822306633,
-0.02228344976902008,
-0.04222191497683525,
0.008947860449552536,
-0.048950426280498505,
-0.008196447975933552,
-0.03126469627022743,
0.015177355147898197,
-0.05053006485104561,
-0.05498919636011124,
-0.01568022556602955,
-0.0064303199760615826,
-0.003837642725557089,
-0.04595017805695534,
-0.0038591015618294477,
-0.07109241187572479,
-0.08124826103448868,
-0.01717584766447544,
0.044265564531087875,
0.012943564914166927,
-0.03436820209026337,
0.013459675014019012,
-0.012066696770489216,
-0.11009339243173599,
-0.01994938962161541,
-0.014759964309632778,
0.005837541539222002,
0.007872231304645538,
0.0005793860764242709,
0.04506959393620491,
-0.042682185769081116,
-0.047051820904016495,
0.010947433300316334,
0.005279732868075371,
0.027610084041953087,
0.010812409222126007,
0.00839135330170393,
0.008483115583658218,
-0.04075689986348152,
-0.030661113560199738,
0.060422707349061966,
-0.038156814873218536,
-0.02777979150414467,
0.024995476007461548,
-0.028638184070587158,
0.039494648575782776,
0.004595817532390356,
0.01390609610825777,
0.019295787438750267,
0.040722690522670746,
0.03453027829527855,
-0.037705279886722565,
0.013417248614132404,
-0.06000016629695892,
-0.038532059639692307,
0.010721624828875065,
-0.07064137607812881,
0.008905268274247646,
0.006624395959079266,
0.00024259681231342256,
-0.00366762257181108,
-0.028287086635828018,
0.051267966628074646,
-0.08575589954853058,
0.003931495826691389,
-0.011459172703325748,
0.01198581326752901,
0.0311282929033041,
0.004339931532740593,
-0.01613565906882286,
-0.05255158618092537,
0.00020960006804671139,
-0.006220375653356314,
-0.014814252033829689,
-0.050167880952358246,
-0.027904612943530083,
0.010084432549774647,
-0.028190573677420616,
0.015985198318958282,
0.0023028706200420856,
-0.023272739723324776,
0.02025224082171917,
0.03946448490023613,
-0.031937502324581146,
0.02329399064183235,
-0.00989766325801611,
-0.06795496493577957,
-0.023828135803341866,
0.04598662629723549,
0.03401867300271988,
-0.013560972176492214,
0.017665082588791847,
0.005506560672074556,
0.03824319317936897,
0.03397905454039574,
0.006850239355117083,
0.01925838738679886,
-0.01565427891910076,
0.010490973480045795,
0.011410040780901909,
-0.013022543862462044,
0.004252306185662746,
-0.023807955905795097,
-0.029798025265336037,
-0.030661828815937042,
-0.008156905882060528,
0.06548376381397247,
-0.02572106197476387,
-0.03057602420449257,
-0.042113132774829865,
0.006287064403295517,
-0.058686599135398865,
-0.0024617703165858984,
-0.026004593819379807,
0.011804583482444286,
0.048269834369421005,
0.0004775916750077158,
0.0243375226855278,
0.01607437990605831,
-0.035172026604413986,
-0.02019539661705494,
0.0027770469896495342,
-0.013697465881705284,
0.004636306315660477,
-0.020799681544303894,
-0.012291491962969303,
-0.0017351076239719987,
0.032221052795648575,
0.009496314451098442,
0.009052902460098267,
-0.03482498228549957,
-0.020623760297894478,
0.010201920755207539,
0.008256763219833374,
0.039772696793079376,
0.05948001518845558,
-0.010248092003166676,
-0.010363477282226086,
-0.002513290150091052,
-0.018786558881402016,
-0.009237218648195267,
-0.009256732650101185,
-0.021619772538542747,
0.00926986988633871,
-0.04246746376156807,
-0.07544152438640594,
0.024207020178437233,
0.007564693223685026,
-0.018935544416308403,
0.010064812377095222,
-0.022282352671027184,
0.011661364696919918,
-0.015737740322947502,
0.036662910133600235,
0.05376433953642845,
-0.05941396579146385,
-0.0280829519033432,
0.015306967310607433,
0.003668304765596986,
0.0026742438785731792,
-0.009644522331655025,
-0.060873959213495255,
-0.01424525398761034,
-0.0014455777127295732,
0.06030012294650078,
0.0025886676739901304,
-0.02502560429275036,
-0.06397578865289688,
0.003316533751785755,
-0.0011779149062931538,
0.030977414920926094,
-0.016291610896587372,
-0.00045109601342119277,
-0.017507627606391907,
0.017184462398290634,
0.033451538532972336,
-0.01739148609340191,
-0.04407411441206932,
0.02513156272470951,
-0.023760516196489334,
-0.010999898426234722,
-0.0056843082420527935,
0.02588631398975849,
0.03663147613406181,
-0.03858007490634918,
0.010974977165460587,
-0.04644327238202095,
0.004543217830359936,
0.034013114869594574,
0.045938197523355484,
-0.013527460396289825,
-0.00960390456020832,
-0.04286259040236473,
0.003066004253923893,
-0.017630454152822495,
-0.009904028847813606,
0.003101169364526868,
-0.007061983924359083,
0.05653304606676102,
0.026551520451903343,
0.007127515505999327,
-0.0019884631037712097,
-0.0035679317079484463,
-0.04895768314599991,
0.046586308628320694,
-0.025160010904073715,
-0.03796155005693436,
-0.024798043072223663,
-0.041921552270650864,
0.007052524946630001,
0.009773223660886288,
0.02251601777970791,
-0.02115517482161522,
0.04144507274031639,
0.04965734854340553,
0.025647006928920746,
0.05023328587412834,
-0.028123263269662857,
0.033686038106679916,
-0.023622913286089897,
0.02092534489929676,
-0.08381496369838715,
-0.017784668132662773,
0.009614849463105202,
-0.008917221799492836,
-0.010176250711083412,
-0.008807143196463585,
-0.014373868703842163,
0.0066109346225857735,
-0.05919334292411804,
-0.04123364016413689,
0.04506034031510353,
-0.002164819510653615,
0.003953930921852589,
0.006128369830548763,
-0.039882127195596695,
-0.007999898865818977,
0.027247346937656403,
-0.04877849295735359,
-0.007868513464927673,
-0.01438119262456894,
0.05071525648236275,
-0.03850390389561653,
0.03542181849479675,
-0.014588610269129276,
-0.04140423610806465,
0.04755152761936188,
0.03822828456759453,
0.0037783014122396708,
0.06297146528959274,
-0.01950083114206791,
0.023201022297143936,
0.0166617464274168,
-0.022290602326393127,
0.014551497995853424,
0.032395124435424805,
-0.0019465390359982848,
-0.06871740520000458,
0.040226783603429794,
-0.00026031085872091353,
-0.013537016697227955,
-0.05306928604841232,
0.08875013887882233,
-0.015000454150140285,
-0.055079273879528046,
-0.050439201295375824,
0.012795360758900642,
-0.009235991165041924,
0.013911671936511993,
0.0010421962942928076,
-0.003704075701534748,
-0.037415046244859695,
0.06374075263738632,
-0.023492181673645973,
0.003568868385627866,
0.07068696618080139,
-0.0026863643433898687,
0.005859335418790579,
-0.00663930457085371,
0.08755383640527725,
0.11742416024208069,
0.05312157794833183,
0.00859605148434639,
0.08645137399435043,
-0.017136579379439354,
-0.049981966614723206,
-0.004589912481606007,
-0.017154786735773087,
-0.024643175303936005,
-0.022350531071424484,
-0.006436700001358986,
0.06864497810602188,
-0.040726203471422195,
0.060689959675073624,
-0.017019430175423622,
-0.005785624496638775,
0.012689054012298584,
0.010515572503209114,
0.04303529113531113,
0.06740191578865051,
-0.005064085125923157,
0.04154644161462784,
-0.02432345226407051,
-0.02052331529557705,
0.028655841946601868,
0.011448333039879799,
-0.0090327775105834,
0.008834169246256351,
-0.009564001113176346,
-0.0034387116320431232,
0.013112008571624756,
0.02403557114303112,
0.08705315738916397,
-0.02831234410405159,
-0.020566843450069427,
-0.014207723550498486,
0.025409357622265816,
-0.0041839308105409145,
0.007418567780405283,
0.00259688263759017,
-0.014201140031218529,
-0.02568342350423336,
-0.06250878423452377,
-0.03929677605628967,
-0.012589498423039913,
-0.026178156957030296,
0.0032075794879347086,
-0.03969239816069603,
0.009837210178375244,
0.02649133838713169,
-0.019507996737957,
-0.029551658779382706,
-0.050233565270900726,
-0.04816277325153351,
-0.06556576490402222,
-0.08094597607851028,
-0.0304004717618227,
-0.0006245114491321146,
-0.020664149895310402,
-0.04079560562968254,
-0.03549685329198837,
-0.009033121168613434,
-0.011958843097090721,
0.007864407263696194,
-0.06635958701372147,
-0.017137842252850533,
0.018213000148534775,
0.0147374477237463,
0.025634100660681725,
0.026269974187016487,
0.04983874410390854,
-0.002000839216634631,
0.0002963248116429895,
-0.01265295036137104,
0.016680972650647163,
0.05464334785938263,
0.043100230395793915,
-0.0035730008967220783,
-0.08270855247974396,
-0.00815602857619524,
-0.016029907390475273,
-0.03718199208378792,
-0.08768720924854279,
0.01788368448615074,
0.027738533914089203,
0.032570164650678635,
0.033347271382808685,
-0.006937927100807428,
-0.004426346160471439,
-0.0326814167201519,
-0.013080151751637459,
-0.00890113040804863,
-0.00265208980999887,
0.04559476673603058,
-0.0474676676094532,
0.0781375989317894,
0.017390498891472816,
0.01120314933359623,
-0.051095545291900635,
-0.027469011023640633,
-0.0024545001797378063,
-0.01844613440334797,
-0.05828460305929184,
-0.036562684923410416,
-0.027748823165893555,
-0.08921805769205093,
-0.02228390984237194,
0.01215160172432661,
-0.04063282161951065,
-0.021985601633787155,
0.0037365469615906477,
0.04127586632966995,
-0.04000187665224075,
0.03702710568904877,
-0.03247099742293358,
0.03622652590274811,
-0.012797190807759762,
-0.01861661858856678,
-0.005070006009191275,
0.04761892557144165,
-0.004007137846201658,
0.027605703100562096,
0.00515951681882143,
-0.04758163169026375,
0.015415985137224197,
0.0008433318580500782,
0.028271552175283432,
0.04159541428089142,
0.0228339284658432,
0.012439039535820484
] | [
-0.0574047714471817,
-0.03566578030586243,
-0.04630512371659279,
-0.017869962379336357,
0.07460227608680725,
-0.021917173638939857,
-0.014138596132397652,
0.02366754785180092,
0.02645822986960411,
0.009454183280467987,
0.04384494945406914,
-0.05308634415268898,
0.03346971422433853,
0.00959822814911604,
0.045737843960523605,
0.00353888887912035,
-0.015206010080873966,
-0.059137675911188126,
-0.008845212869346142,
0.04897690191864967,
-0.039241258054971695,
-0.07061164826154709,
-0.0391354039311409,
-0.060688316822052,
0.05030380189418793,
0.020078040659427643,
0.02275814488530159,
-0.05394645035266876,
-0.009851173497736454,
-0.21593162417411804,
0.0036949110217392445,
0.010965336114168167,
0.04904139041900635,
-0.0012874406529590487,
0.016529381275177002,
0.011182197369635105,
0.055514462292194366,
0.0021844396833330393,
0.04720567166805267,
0.028162943199276924,
0.008480853401124477,
-0.0036111283116042614,
-0.02880886010825634,
0.00495988829061389,
0.0640750527381897,
0.006700974423438311,
-0.03768632188439369,
0.005829016678035259,
-0.025078201666474342,
0.02095199190080166,
-0.055436763912439346,
-0.0031096069142222404,
-0.016296861693263054,
0.014218977652490139,
0.025338586419820786,
0.04387889429926872,
0.046044353395700455,
0.014843213371932507,
0.014212628826498985,
0.04043983295559883,
0.02573772519826889,
0.013108293525874615,
-0.16289927065372467,
0.06747538596391678,
0.036479394882917404,
0.034688785672187805,
-0.05103544518351555,
-0.008767484687268734,
-0.03404371440410614,
0.08408563584089279,
0.01511008944362402,
-0.019802769646048546,
-0.035674214363098145,
0.029059965163469315,
0.004998626187443733,
-0.00009231645526597276,
-0.026615746319293976,
0.0387619286775589,
0.02697141282260418,
-0.04093244671821594,
-0.013397161848843098,
0.019163820892572403,
-0.031997308135032654,
-0.01855498179793358,
-0.00318648898974061,
0.03919653221964836,
-0.026787471026182175,
0.035205405205488205,
-0.022858159616589546,
0.023902254179120064,
0.04520179331302643,
0.037993356585502625,
0.039989154785871506,
0.0037807542830705643,
-0.07328961044549942,
-0.03511987254023552,
0.011457757093012333,
0.031077545136213303,
0.009055659174919128,
0.38985636830329895,
-0.0059251426719129086,
-0.014664467424154282,
0.029592236503958702,
0.06958987563848495,
-0.0015970371896401048,
-0.029776733368635178,
0.004597593564540148,
-0.07173721492290497,
0.00971872266381979,
-0.007813066244125366,
0.01005654875189066,
-0.036467909812927246,
0.04882590100169182,
-0.06516881287097931,
0.05961479991674423,
-0.00681212916970253,
0.02663060463964939,
0.022194430232048035,
-0.0029180936980992556,
0.01413964293897152,
-0.023913610726594925,
0.02168337255716324,
0.008006845600903034,
0.0009107206133194268,
0.025482095777988434,
-0.011041820049285889,
0.0336594395339489,
0.06621018052101135,
0.03556153178215027,
0.0061686234548687935,
0.04710641875863075,
0.003698786487802863,
-0.09617967903614044,
0.009431845508515835,
-0.05563744902610779,
-0.003580772317945957,
0.04614320769906044,
-0.008882802911102772,
-0.01318581122905016,
0.024846307933330536,
0.004960374906659126,
-0.0054243640042841434,
0.038457490503787994,
0.026839567348361015,
-0.05671751871705055,
0.1307091861963272,
-0.009204013273119926,
-0.048834025859832764,
-0.011645615100860596,
-0.04648377746343613,
0.015475312247872353,
0.041585490107536316,
0.006035355851054192,
-0.05974028259515762,
0.0034775051753968,
0.012638591229915619,
0.05437555909156799,
-0.00670859357342124,
-0.07011326402425766,
-0.02250807359814644,
-0.019781315699219704,
-0.010031112469732761,
-0.0432807132601738,
0.06451546400785446,
0.07156243175268173,
-0.11552822589874268,
-0.023819895461201668,
0.05107030272483826,
-0.0015158052556216717,
-0.06884486228227615,
0.05113828182220459,
0.014074302278459072,
-0.05323696881532669,
0.028934679925441742,
0.05526609346270561,
-0.009469487704336643,
-0.03913401812314987,
-0.013534540310502052,
0.061946801841259,
0.00990302488207817,
-0.02537377178668976,
-0.005191386677324772,
-0.0520927719771862,
-0.0005347083206288517,
-0.06446761637926102,
-0.044195082038640976,
-0.07722953706979752,
0.024023719131946564,
-0.03431840240955353,
-0.03298790007829666,
-0.022597232833504677,
-0.0037400841247290373,
-0.08586645126342773,
0.09316219389438629,
-0.048622969537973404,
-0.031074395403265953,
0.017258204519748688,
0.0133900111541152,
-0.019242634996771812,
-0.03127662092447281,
0.003115534083917737,
-0.00758585799485445,
-0.025567293167114258,
0.033396199345588684,
-0.08018819987773895,
0.024208994582295418,
0.026683775708079338,
-0.028348200023174286,
0.07657437771558762,
0.014585585333406925,
-0.0018204075749963522,
-0.021741343662142754,
-0.019108016043901443,
0.028177592903375626,
-0.0037493142299354076,
-0.0050455802120268345,
0.013534452766180038,
-0.014869633130729198,
0.037268124520778656,
0.045316580682992935,
-0.0013670248445123434,
-0.02925661951303482,
-0.03312527388334274,
-0.38703274726867676,
-0.08223889768123627,
0.006338179577142,
0.012282632291316986,
0.015278897248208523,
-0.04836704954504967,
-0.010611471720039845,
0.009698267094790936,
0.006780018098652363,
0.05835428088903427,
0.05349215865135193,
0.03433838486671448,
-0.021371548995375633,
-0.09563396126031876,
-0.024116452783346176,
0.03749650716781616,
-0.012610051780939102,
0.000913091585971415,
-0.01645389012992382,
-0.02342047542333603,
0.0023158807307481766,
-0.018162554129958153,
-0.04526021331548691,
-0.03761983662843704,
0.008924144320189953,
-0.01912963204085827,
0.15031951665878296,
0.019915616139769554,
0.02427193522453308,
-0.021268470212817192,
0.013531465083360672,
-0.004181242082268,
-0.018433773890137672,
-0.0494285449385643,
0.03978698328137398,
-0.02910677343606949,
0.009858808480203152,
0.03299284726381302,
-0.009676439687609673,
-0.01780584640800953,
-0.04221973195672035,
-0.009303353726863861,
-0.027104200795292854,
-0.03381340950727463,
-0.054829083383083344,
0.046349845826625824,
0.0027286470867693424,
0.0006522234180010855,
-0.01045956090092659,
0.06516340374946594,
0.015830133110284805,
-0.002941366285085678,
0.02731955610215664,
0.039232417941093445,
0.00434007728472352,
-0.02614610455930233,
-0.07777141034603119,
0.007835526950657368,
-0.018359577283263206,
-0.007073133252561092,
0.0058229295536875725,
0.015246756374835968,
0.01091381162405014,
-0.04777871072292328,
0.0035160519182682037,
0.004226949531584978,
0.004739969503134489,
0.009188391268253326,
0.03509192168712616,
-0.00722848903387785,
-0.007992913946509361,
0.09017093479633331,
-0.009180327877402306,
0.03818599134683609,
0.03735090419650078,
0.0445660762488842,
-0.014766290783882141,
-0.024373231455683708,
0.023022456094622612,
0.02336103282868862,
0.03426813334226608,
-0.05280023068189621,
0.050356242805719376,
-0.021421723067760468,
-0.0016078709159046412,
0.028166066855192184,
0.02273540571331978,
-0.01967381127178669,
0.05175613984465599,
0.052725303918123245,
0.005620563868433237,
-0.030031083151698112,
-0.044065237045288086,
-0.05407865718007088,
0.029099080711603165,
-0.013003049418330193,
-0.30050501227378845,
0.021274803206324577,
0.005879911594092846,
0.04680316522717476,
-0.004366056062281132,
-0.004931519273668528,
0.013740470632910728,
-0.028950227424502373,
0.011360536329448223,
0.0039969878271222115,
0.03125818818807602,
0.0594593770802021,
0.02899298258125782,
-0.035773131996393204,
-0.009045128710567951,
0.00046269327867776155,
0.001082739676348865,
-0.0008008762379176915,
0.007410183548927307,
0.02547682821750641,
0.029928235337138176,
-0.034439567476511,
0.1496744006872177,
0.017260504886507988,
0.015312264673411846,
0.0196639783680439,
-0.04765762388706207,
-0.008341604843735695,
0.04302502050995827,
-0.02108277566730976,
-0.0007182696717791259,
-0.011646797880530357,
0.047995273023843765,
0.009325374849140644,
0.028500208631157875,
0.00009588774264557287,
-0.023506585508584976,
0.061706606298685074,
0.019222257658839226,
-0.021320397034287453,
0.0011956128291785717,
0.0019092974252998829,
-0.03883298113942146,
0.01477181538939476,
0.09698689728975296,
0.009461510926485062,
-0.0025475516449660063,
-0.011589005589485168,
-0.02741071954369545,
0.0013192476471886039,
-0.027477366849780083,
-0.023225661367177963,
-0.006045953370630741,
-0.00955000426620245,
-0.0012068733340129256,
0.062265340238809586,
0.03982139378786087,
-0.02456435188651085,
-0.0027783692348748446,
0.00003708550502778962,
-0.031271327286958694,
-0.06345148384571075,
0.08077336102724075,
0.0046912916004657745,
0.025901159271597862
] | [
-0.0031794216483831406,
0.024624677374958992,
0.003585590748116374,
-0.004139716736972332,
0.005118964705616236,
0.015551508404314518,
-0.003866963554173708,
-0.007332021836191416,
-0.022223761305212975,
0.004839523229748011,
-0.019154613837599754,
0.03179793432354927,
0.032196205109357834,
-0.011574056930840015,
0.007065667305141687,
-0.007871503010392189,
-0.010848418809473515,
0.014694037847220898,
0.026811156421899796,
-0.01778915710747242,
-0.062018781900405884,
0.004065969493240118,
0.019942084327340126,
-0.012011323124170303,
-0.009552819654345512,
0.023668060079216957,
-0.0543915256857872,
0.019252046942710876,
0.030351003631949425,
-0.13848742842674255,
0.02067028358578682,
-0.033432867377996445,
0.008327201940119267,
0.012488757260143757,
-0.04433082789182663,
-0.023997416719794273,
-0.0515015535056591,
0.018003784120082855,
0.006737907882779837,
0.03516637161374092,
0.020614217966794968,
0.01297786645591259,
-0.022255199030041695,
0.009136843495070934,
0.009574909694492817,
-0.008221030235290527,
-0.03292432427406311,
-0.005049718543887138,
-0.011757584288716316,
-0.021519755944609642,
-0.05343226343393326,
0.014089313335716724,
-0.007713469211012125,
0.0030033374205231667,
0.0004689122724812478,
-0.031053049489855766,
-0.021730178967118263,
-0.04918074607849121,
-0.010732087306678295,
-0.040626779198646545,
0.008157234638929367,
0.006484931334853172,
-0.018796129152178764,
-0.021477362141013145,
-0.0021775057539343834,
-0.01143916416913271,
-0.026668671518564224,
-0.0001171944459201768,
-0.0011820869985967875,
0.01996685564517975,
-0.015096190385520458,
0.00968598946928978,
-0.022478388622403145,
-0.017195524647831917,
-0.022546686232089996,
-0.0388777032494545,
-0.030792614445090294,
-0.0371483750641346,
0.012712379917502403,
-0.007537410594522953,
-0.03019946627318859,
0.020309925079345703,
-0.0003656573826447129,
0.009299112483859062,
-0.0025664139539003372,
-0.027907399460673332,
0.03269706666469574,
0.012906264513731003,
-0.019328918308019638,
-0.0032767714001238346,
-0.004789248108863831,
0.023462515324354172,
0.014433696866035461,
0.033272966742515564,
-0.09189928323030472,
0.016728674992918968,
-0.02961188741028309,
0.01460252609103918,
0.0033742652740329504,
0.8483690619468689,
0.012655049562454224,
-0.008061941713094711,
-0.01812170073390007,
0.023284539580345154,
0.002129645785316825,
-0.011398712173104286,
-0.025066612288355827,
0.009584086947143078,
-0.025075551122426987,
-0.05205289274454117,
0.01968514546751976,
0.026086773723363876,
0.018960710614919662,
0.03452930226922035,
-0.004796463530510664,
0.036404818296432495,
0.020485009998083115,
0.03035341389477253,
0.013803469017148018,
-0.015765121206641197,
0.004482587333768606,
0.017136724665760994,
0.013238596729934216,
-0.009920703247189522,
-0.021576937288045883,
-0.1706564873456955,
0.02320096269249916,
-6.772283033212318e-33,
0.04337051883339882,
-0.016551179811358452,
0.02029266580939293,
-0.027289073914289474,
0.008437053300440311,
0.018378514796495438,
-0.03186771646142006,
-0.007811391726136208,
0.0062131392769515514,
-0.014728284440934658,
-0.021477529779076576,
0.008878765627741814,
0.023720111697912216,
-0.03271995112299919,
0.013085358776152134,
-0.00204686657525599,
0.009949540719389915,
0.038848113268613815,
-0.0075631882064044476,
-0.02363397926092148,
0.03998664394021034,
0.0451156422495842,
0.005898742936551571,
0.04425186291337013,
0.019579751417040825,
0.053835462778806686,
-0.0077492049895226955,
-0.010945156216621399,
0.009601890109479427,
-0.054973941296339035,
-0.013247261755168438,
0.0126058179885149,
0.0020756064914166927,
0.003930149134248495,
0.010883710347115993,
-0.05033772811293602,
-0.015927903354167938,
-0.0038763368502259254,
-0.0011001263046637177,
-0.05101647228002548,
-0.04676342383027077,
0.011513343080878258,
-0.024169089272618294,
-0.019811756908893585,
-0.04405059292912483,
0.008352996781468391,
0.008819459937512875,
0.05853454768657684,
-0.022229822352528572,
0.009617635048925877,
-0.010752227157354355,
-0.014842011965811253,
0.020032191649079323,
0.020398661494255066,
0.0013175131753087044,
0.025964906439185143,
0.04119298607110977,
0.009933185763657093,
0.004966339096426964,
0.024209657683968544,
-0.011474660597741604,
-0.02161378227174282,
0.011979920789599419,
0.009146127849817276,
0.01145370863378048,
-0.009661298245191574,
0.010563086718320847,
-0.033408209681510925,
0.03250360116362572,
-0.009850728325545788,
-0.02519611455500126,
0.030675077810883522,
-0.008119863457977772,
-0.01354960072785616,
0.028366323560476303,
0.003987892065197229,
-0.006331595592200756,
-0.012175111100077629,
0.01261715218424797,
0.035904619842767715,
-0.008692089468240738,
-0.0202542245388031,
0.017950106412172318,
-0.02784278430044651,
0.008556474931538105,
-0.03383773937821388,
0.016484102234244347,
0.021599076688289642,
-0.020590558648109436,
0.020106177777051926,
0.036462802439928055,
0.026016943156719208,
0.031239423900842667,
-0.020466428250074387,
0.005587616935372353,
7.884648194607664e-33,
0.005765451584011316,
0.01785658486187458,
0.02365635521709919,
-0.0012837182730436325,
0.04678792878985405,
-0.033358145505189896,
0.007026240695267916,
0.000870998133905232,
-0.04180707409977913,
0.03960905224084854,
-0.03517143055796623,
-0.03449389711022377,
0.013291713781654835,
0.012904348783195019,
0.07306112349033356,
-0.0005170152289792895,
0.014972456730902195,
0.018074151128530502,
-0.028309376910328865,
0.005675287451595068,
-0.026218481361865997,
0.025318719446659088,
0.004818384535610676,
0.011648035608232021,
0.04396427050232887,
0.03875082731246948,
0.021735167130827904,
-0.017728112637996674,
-0.007877272553741932,
-0.01606290228664875,
0.010412017814815044,
-0.005579191725701094,
-0.022259239107370377,
-0.01320498064160347,
-0.012037280946969986,
0.0321756973862648,
0.01745520904660225,
-0.02352556586265564,
0.0003358561370987445,
0.0033552886452525854,
-0.0010247466852888465,
0.03868214040994644,
-0.03636552020907402,
0.029708167538046837,
0.015981975942850113,
0.0145783806219697,
-0.022028537467122078,
0.019636966288089752,
-0.030353503301739693,
0.00046532886335626245,
-0.022273492068052292,
0.03154896944761276,
0.026486581191420555,
0.016801388934254646,
0.007870806381106377,
-0.02526375837624073,
-0.03702664375305176,
0.04409865289926529,
-0.021922368556261063,
-0.018476666882634163,
0.008526330813765526,
-0.027378061786293983,
-0.02214781753718853,
0.02459295466542244,
-0.03571126237511635,
0.010801069438457489,
-0.01943337358534336,
-0.01561914011836052,
-0.01405087485909462,
0.019838064908981323,
-0.031709376722574234,
-0.031832557171583176,
0.009883633814752102,
0.009686070494353771,
0.001710227457806468,
0.022273413836956024,
-0.018015386536717415,
0.01977400854229927,
0.023089652881026268,
0.022844579070806503,
0.034948889166116714,
-0.009917538613080978,
0.02868853695690632,
-0.010071934200823307,
-0.0034739437978714705,
0.039508894085884094,
-0.00787297636270523,
0.008451552130281925,
0.05029912665486336,
-0.01836518943309784,
-0.0010087717091664672,
-0.04503433778882027,
-0.009332170709967613,
0.03986014053225517,
0.008469685912132263,
-1.2946060223839595e-8,
-0.0563012920320034,
0.009421562775969505,
-0.002608631271868944,
0.01576763577759266,
0.0334307886660099,
0.013103148899972439,
0.023522714152932167,
-0.009999041445553303,
0.004049922805279493,
0.023576658219099045,
0.05417713150382042,
-0.027077507227659225,
0.012076308019459248,
0.003926408011466265,
0.009900376200675964,
-0.04577162489295006,
0.02579432725906372,
-0.021435771137475967,
0.03803081065416336,
-0.017651420086622238,
0.039122991263866425,
0.03805346041917801,
-0.013468111865222454,
0.018872549757361412,
0.009246690198779106,
-0.012349589727818966,
0.004877291154116392,
-0.08833563327789307,
0.00017781133647076786,
0.0031747815664857626,
0.023344941437244415,
-0.03530540317296982,
0.005484580993652344,
0.020280253142118454,
-0.023426644504070282,
-0.0269567109644413,
0.026722904294729233,
0.028782634064555168,
0.004636731930077076,
-0.009070225059986115,
0.008022884838283062,
0.008061259053647518,
-0.040574535727500916,
-0.01120970118790865,
-0.006457863375544548,
0.023523647338151932,
-0.02280312404036522,
0.005940430797636509,
0.02159246616065502,
-0.05246279388666153,
0.025322839617729187,
-0.039403028786182404,
0.02254871092736721,
-0.0009448853670619428,
0.02627602405846119,
0.004924398846924305,
0.006557874381542206,
0.029911110177636147,
-0.009923843666911125,
-0.03670252114534378,
0.006213395856320858,
0.0032867365516722202,
-0.008788387291133404,
-0.034470636397600174
] | r-converting-a-named-vector-to-a-data-frame | https://markhneedham.com/blog/2014/10/31/r-converting-a-named-vector-to-a-data-frame |
false | 2014-10-31 09:45:32 | hdiutil: could not access / create failed - Operation canceled | [
"software-development"
] | [
"Software Development"
] | Earlier in the year I wrote a http://www.markhneedham.com/blog/2014/04/07/install4j-and-applescript-creating-a-mac-os-x-application-bundle-for-a-java-application/[blog post showing how to build a Mac OS X DMG file for a Java application] and I recently revisited this script to update it to a new version and ran into a frustrating error message.
I tried to run the following command to create a new DMG file from a source folder\...
[source,text]
----
$ hdiutil create -volname "DemoBench" -size 100m -srcfolder dmg/ -ov -format UDZO pack.temp.dmg
----
\...but was met with the following error message: ~~~text \...could not access /Volumes/DemoBench/DemoBench.app/Contents/Resources/app/database-agent.jar - Operation canceled hdiutil: create failed - Operation canceled ~~~
I was initially a bit stumped and thought maybe the flags to hdiutil had changed but a quick look at the man page suggested that wasn't the issue.
I decided to go back to my pre command line approach for creating a DMG - DiskUtility - and see if I could create it that way. This helped reveal the actual problem:
image::{{<siteurl>}}/uploads/2014/10/2014-10-31_09-42-20.png[2014 10 31 09 42 20,600]
I increased the volume size to 150 MB\... ~~~text $ hdiutil create -volname "DemoBench" -size 150m -srcfolder dmg/ -ov -format UDZO pack.temp.dmg ~~~
and all was well: ~~~text \...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\.... \...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\...\..... created: /Users/markneedham/projects/neo-technology/quality-tasks/park-bench/database-agent-desktop/target/pack.temp.dmg ~~~
And this post will serve as documentation to stop it catching me out next time! | null | null | [
-0.023743407800793648,
0.015782902017235756,
-0.012497632764279842,
0.04081115871667862,
0.08378002792596817,
0.02202596701681614,
0.03635561838746071,
0.03020181506872177,
0.0007368243532255292,
-0.04463133215904236,
-0.02972422167658806,
0.004787069745361805,
-0.06337019056081772,
0.020661083981394768,
-0.026487544178962708,
0.05852040275931358,
0.07022000849246979,
0.009115643799304962,
0.027626164257526398,
0.02757616713643074,
0.03822046145796776,
0.049330975860357285,
-0.03498154506087303,
0.028900988399982452,
0.017976369708776474,
-0.003959991503506899,
0.03227344527840614,
-0.0038738513831049204,
-0.07797587662935257,
-0.016883060336112976,
0.005991829559206963,
-0.028239088132977486,
0.010055022314190865,
-0.020414916798472404,
0.011369982734322548,
0.0005154961836524308,
-0.03917527571320534,
0.007069683633744717,
0.007784338667988777,
0.03382416069507599,
-0.04867548495531082,
0.04980405420064926,
-0.0042832959443330765,
0.0009190652053803205,
-0.051270436495542526,
0.015102923847734928,
-0.029297977685928345,
-0.01044752448797226,
-0.018361924216151237,
0.0008041397668421268,
-0.050694309175014496,
0.020916465669870377,
-0.0403461717069149,
-0.015542414039373398,
0.011608734726905823,
0.046990588307380676,
0.029394790530204773,
-0.08699961751699448,
0.03779831528663635,
-0.046008408069610596,
0.0065087429247796535,
-0.018702976405620575,
-0.00946113746613264,
0.03749506175518036,
-0.017845820635557175,
-0.04344421997666359,
0.0025764252059161663,
0.04654766991734505,
-0.05050930380821228,
-0.02496134303510189,
0.0045792944729328156,
-0.003199287224560976,
-0.015540171414613724,
-0.02665284089744091,
0.034317173063755035,
-0.031572550535202026,
0.01811903342604637,
0.04023069888353348,
-0.007297283038496971,
0.045892324298620224,
-0.023056617006659508,
0.01841961033642292,
0.036806270480155945,
0.02094518393278122,
-0.0058494084514677525,
-0.025092877447605133,
-0.02931891195476055,
0.01988072507083416,
-0.049651339650154114,
0.074993796646595,
0.006120738107711077,
-0.04121386259794235,
0.022416984662413597,
0.014333055354654789,
-0.0038280736189335585,
-0.0056631481274962425,
-0.013684907928109169,
0.0058733997866511345,
-0.017281856387853622,
0.020863084122538567,
-0.04206564277410507,
0.0206528902053833,
0.0016378043219447136,
0.03320859745144844,
-0.06863880902528763,
0.02593911811709404,
-0.01889408752322197,
-0.014623192138969898,
0.013193127699196339,
-0.016784802079200745,
0.00045333110028877854,
0.048835817724466324,
-0.001394899096339941,
-0.0046579972840845585,
-0.05224239081144333,
0.0733087882399559,
0.006521467585116625,
-0.05781087651848793,
-0.0018145393114537,
0.041762322187423706,
0.051208268851041794,
0.049945052713155746,
-0.006491571664810181,
0.08254151046276093,
0.006152973044663668,
0.017522351816296577,
0.00721732759848237,
0.040579184889793396,
-0.011806927621364594,
-0.05778513476252556,
-0.03552703931927681,
0.04294176772236824,
0.027579955756664276,
-0.013767153024673462,
0.009112087078392506,
0.004184697289019823,
0.006072514690458775,
-0.01205592043697834,
0.04673221707344055,
0.008958344347774982,
-0.005049432162195444,
-0.03397739678621292,
-0.008784923702478409,
0.009244496002793312,
0.03516983240842819,
0.03127066045999527,
-0.0014717596350237727,
-0.029026353731751442,
-0.06052246689796448,
0.02052050083875656,
0.011876245960593224,
0.01694789156317711,
0.0469328947365284,
-0.002918349811807275,
0.004150772001594305,
0.13104964792728424,
0.01022607646882534,
0.019866550341248512,
-0.013990704901516438,
0.026829136535525322,
0.0404200442135334,
0.050132546573877335,
-0.011054709553718567,
0.017492620274424553,
-0.009834283031523228,
-0.006526787765324116,
0.020653724670410156,
0.03592213988304138,
-0.015801426023244858,
-0.0060393004678189754,
-0.056557610630989075,
-0.09602425247430801,
0.04073299095034599,
-0.021528305485844612,
-0.03231842443346977,
0.07059110701084137,
0.09752202033996582,
0.04336259141564369,
0.023462247103452682,
0.04565019533038139,
-0.08230577409267426,
0.03653818741440773,
0.028079405426979065,
0.030554048717021942,
0.05041215941309929,
-0.02099216915667057,
0.07796461135149002,
0.008775100111961365,
-0.0008236657013185322,
0.02717697061598301,
-0.07261445373296738,
-0.08123786747455597,
0.0072034187614917755,
0.018312592059373856,
0.06782253831624985,
-0.019398629665374756,
-0.025216195732355118,
0.055923935025930405,
0.006774036213755608,
0.026844095438718796,
0.018015695735812187,
0.015056316740810871,
0.023729056119918823,
-0.08548957109451294,
-0.04659276083111763,
0.024453813210129738,
0.03335956856608391,
-0.03114859014749527,
-0.03052065707743168,
0.02318269945681095,
-0.003971658647060394,
-0.015108514577150345,
0.045752450823783875,
-0.012796577997505665,
0.06454290449619293,
0.036025270819664,
0.03663315996527672,
-0.05192359536886215,
0.041600342839956284,
-0.052651550620794296,
0.003764183958992362,
0.01841423660516739,
-0.009323984384536743,
0.01684531569480896,
0.008073506876826286,
0.11490485072135925,
0.03695470839738846,
-0.03728342801332474,
-0.03165031224489212,
0.002642089733853936,
0.00048145963228307664,
-0.037568867206573486,
-0.008105949498713017,
0.01399173866957426,
-0.012095778249204159,
0.0165507011115551,
-0.020775645971298218,
-0.0139316963031888,
-0.0034353616647422314,
-0.024525858461856842,
0.009236739948391914,
0.05866669863462448,
-0.0040682596154510975,
0.048797450959682465,
-0.0013706224272027612,
-0.0013851233525201678,
0.02731047384440899,
-0.029985398054122925,
-0.06181671470403671,
-0.03424156829714775,
0.01758371666073799,
0.003846998792141676,
0.06375987082719803,
-0.008879002183675766,
-0.03371072933077812,
-0.013884542509913445,
-0.046722352504730225,
0.027923446148633957,
0.030354706570506096,
0.04723479598760605,
-0.01995162107050419,
0.045834019780159,
0.0021208657417446375,
0.0032299556769430637,
-0.022248907014727592,
-0.0361069031059742,
-0.05657775327563286,
0.019910454750061035,
-0.015218834392726421,
0.0036277081817388535,
-0.009183843620121479,
0.018772665411233902,
-0.005885070189833641,
0.0015250321011990309,
0.018757851794362068,
0.00034317042445763946,
0.01993732526898384,
-0.0232942346483469,
-0.010176206938922405,
-0.02689739316701889,
0.0029555445071309805,
0.025246577337384224,
-0.02457197941839695,
0.012182059697806835,
0.037550680339336395,
-0.055412959307432175,
0.047788478434085846,
-0.08403729647397995,
-0.058210909366607666,
0.006200700532644987,
0.004393847193568945,
0.03408585116267204,
0.00028014896088279784,
0.025243505835533142,
0.07298944145441055,
0.008040668442845345,
0.014370026998221874,
-0.00268303113989532,
-0.00003731467586476356,
0.05681713670492172,
0.011794167570769787,
0.014694511890411377,
0.013342907652258873,
-0.03737998008728027,
-0.008653305470943451,
-0.028994977474212646,
0.007712054532021284,
-0.0131550757214427,
-0.29076430201530457,
0.04533141851425171,
-0.0030206479132175446,
-0.044538453221321106,
0.013359449803829193,
-0.028722042217850685,
-0.01999645307660103,
-0.06951087713241577,
-0.04036249592900276,
0.024048738181591034,
-0.05027339607477188,
-0.06173881143331528,
-0.01192475762218237,
0.025641361251473427,
-0.0017910671886056662,
0.019311005249619484,
0.032149430364370346,
-0.027601804584264755,
0.021988272666931152,
0.008217048831284046,
-0.008974497206509113,
-0.06322168558835983,
0.04485039785504341,
0.050831083208322525,
0.046736545860767365,
0.04423273354768753,
-0.046383704990148544,
0.06097789481282234,
-0.05665338784456253,
-0.012719371356070042,
0.012938732281327248,
0.00042068713810294867,
-0.006405469495803118,
0.01635155640542507,
-0.03618530184030533,
-0.004283072892576456,
0.01239861361682415,
0.012363284826278687,
0.006671279203146696,
-0.008106444031000137,
0.002772511448711157,
-0.051240336149930954,
-0.011782883666455746,
0.01727956533432007,
0.059765905141830444,
-0.008653019554913044,
-0.08819812536239624,
-0.01605231501162052,
-0.04418237879872322,
0.07077939063310623,
-0.0354589968919754,
-0.04695221036672592,
-0.007581841666251421,
0.03621973469853401,
0.004340006038546562,
0.008153187111020088,
-0.021068422123789787,
0.010429512709379196,
-0.03228346258401871,
-0.025558341294527054,
0.012483460828661919,
-0.020312445238232613,
-0.04437677562236786,
-0.02160356007516384,
0.0010178342927247286,
-0.04466717690229416,
-0.05618013069033623,
-0.003291819943115115,
0.053299322724342346,
0.020996741950511932,
-0.035442885011434555,
-0.0066421302035450935,
-0.014493766240775585,
-0.10100790113210678,
-0.013769184239208698,
-0.036402322351932526,
-0.05101047456264496,
-0.0019312334479764104,
-0.05301481485366821,
0.07330352813005447,
-0.03699411451816559,
-0.005817177705466747,
0.03963181748986244,
-0.014706766232848167,
-0.004495745990425348,
-0.02504671923816204,
0.018001718446612358,
0.02098069339990616,
-0.017941823229193687,
0.004718179814517498,
0.06350139528512955,
-0.049392253160476685,
-0.035513561218976974,
-0.008185138925909996,
0.0037004800979048014,
-0.0013118685455992818,
0.00522910850122571,
-0.008319251239299774,
0.0006621733191423118,
0.03398234397172928,
0.02370401844382286,
-0.026952682062983513,
0.01114682573825121,
-0.04793925583362579,
-0.011856358498334885,
0.0018634857842698693,
-0.0615423284471035,
0.007448920514434576,
0.015724243596196175,
0.03263965621590614,
-0.013176528736948967,
-0.051626380532979965,
0.042335473001003265,
-0.0803055465221405,
-0.04075608775019646,
-0.007893724367022514,
0.002101736143231392,
0.041297782212495804,
0.02439698949456215,
-0.035861242562532425,
-0.051579926162958145,
0.008125190623104572,
0.021636461839079857,
-0.029527410864830017,
-0.0370686911046505,
-0.0019327702466398478,
0.0029761975165456533,
0.022700492292642593,
0.003285925602540374,
-0.00420627323910594,
-0.03888678550720215,
0.02396429516375065,
0.057029057294130325,
0.001497326185926795,
0.0021947352215647697,
-0.014385249465703964,
-0.055401310324668884,
-0.04847663640975952,
-0.019564367830753326,
0.0051314192824065685,
0.01441554632037878,
0.004312588833272457,
0.010177381336688995,
-0.004765021149069071,
0.05102994292974472,
-0.016673225909471512,
0.03990183398127556,
0.013952608220279217,
-0.01180071197450161,
-0.01744730956852436,
0.006369346287101507,
-0.06451741605997086,
0.051470667123794556,
-0.023616043850779533,
-0.05978206545114517,
-0.022127674892544746,
0.021288113668560982,
-0.012720737606287003,
0.002714192494750023,
-0.01468826737254858,
0.03828394040465355,
-0.04438091814517975,
-0.02140890061855316,
-0.01612585224211216,
-0.021057002246379852,
0.05984855443239212,
0.023781640455126762,
0.004869879223406315,
0.004834592342376709,
-0.0009795234072953463,
-0.0017699868185445666,
-0.003926355391740799,
-0.042910657823085785,
-0.015395238064229488,
-0.02180246077477932,
0.019677000120282173,
0.031327709555625916,
0.0005149862263351679,
0.038495536893606186,
0.04652704298496246,
0.009856822900474072,
-0.03489845246076584,
0.03901899978518486,
-0.0030301809310913086,
0.02237759344279766,
0.009843027219176292,
-0.043647922575473785,
0.013690048828721046,
-0.03413458541035652,
-0.028807507827878,
-0.03590269386768341,
-0.017790023237466812,
-0.005926303565502167,
0.024463210254907608,
-0.003848251886665821,
-0.08465594053268433,
0.04353732615709305,
0.002169097075238824,
0.014989592134952545,
0.004697688389569521,
0.006198927294462919,
0.0028878741431981325,
-0.043665677309036255,
0.04236224666237831,
0.0749606341123581,
-0.06002233549952507,
-0.009596831165254116,
-0.007585230749100447,
0.01801665686070919,
0.029228711500763893,
0.010817009955644608,
-0.04784415662288666,
-0.017538581043481827,
-0.034000463783741,
0.04521800950169563,
-0.03991830721497536,
-0.03509334474802017,
-0.03631376475095749,
0.009689107537269592,
-0.034185800701379776,
-0.00814321730285883,
0.0022029683459550142,
0.01560793723911047,
0.013844091445207596,
-0.03024539351463318,
-0.002336139790713787,
-0.023212341591715813,
0.0007084662211127579,
0.02846689708530903,
-0.039158694446086884,
0.04788646474480629,
-0.018373018130660057,
0.03081471100449562,
0.03540382161736488,
0.0010984832188114524,
-0.010237520560622215,
-0.03651747852563858,
0.012735257856547832,
-0.01779552362859249,
0.044331375509500504,
0.012537599541246891,
0.018067143857479095,
-0.03661612421274185,
0.031986698508262634,
-0.026611870154738426,
-0.00015741241804789752,
-0.04898811876773834,
-0.030777674168348312,
0.025199247524142265,
0.05378415063023567,
-0.00008860777597874403,
0.006868412252515554,
-0.02710990607738495,
-0.005901756696403027,
0.05933339521288872,
-0.05405723303556442,
-0.022599732503294945,
-0.03108692541718483,
-0.05849301442503929,
0.05005379766225815,
0.02123885042965412,
0.049066007137298584,
-0.06274484843015671,
0.04403098300099373,
0.028065990656614304,
-0.003782056737691164,
0.03139642998576164,
-0.023887844756245613,
0.035409506410360336,
-0.05259579047560692,
-0.02619997225701809,
-0.10379476100206375,
0.002192315412685275,
0.011946748942136765,
0.001431880285963416,
-0.023221097886562347,
0.024488965049386024,
-0.06638830900192261,
0.0371997095644474,
-0.043075110763311386,
-0.00924419891089201,
0.022567234933376312,
0.004492218140512705,
0.008753694593906403,
0.03220035508275032,
-0.03525655344128609,
0.028498120605945587,
0.01467945333570242,
-0.04003337398171425,
-0.008563539944589138,
-0.011967357248067856,
0.0496746189892292,
0.023483475670218468,
0.013920972123742104,
-0.033914536237716675,
-0.01879943162202835,
0.0905165746808052,
0.002929391572251916,
0.026493074372410774,
0.02324407361447811,
0.0028727150056511164,
0.04871092364192009,
0.04872428625822067,
0.017866237089037895,
0.009911258704960346,
-0.009476118721067905,
-0.04136016219854355,
-0.07544562220573425,
0.00451672961935401,
-0.003138523316010833,
-0.006943679414689541,
-0.030550094321370125,
0.03805847838521004,
-0.00023318550665862858,
-0.019679730758070946,
-0.061989035457372665,
0.020920395851135254,
-0.03380780294537544,
-0.013902044855058193,
-0.04078897833824158,
-0.0001709820789983496,
-0.020340267568826675,
0.03478793427348137,
-0.029235029593110085,
0.012543159537017345,
0.0701506957411766,
-0.0023572619538754225,
-0.010433412156999111,
-0.006452922243624926,
0.07052087783813477,
0.07226167619228363,
0.009141616523265839,
0.018704498186707497,
0.07915309071540833,
-0.00518525717779994,
-0.059623099863529205,
-0.005979364737868309,
-0.022136172279715538,
-0.0014934982173144817,
-0.04200218245387077,
-0.020446250215172768,
0.0637475848197937,
-0.023785805329680443,
0.07848935574293137,
-0.012082087807357311,
-0.00297531858086586,
-0.02901397831737995,
0.016979405656456947,
0.030856110155582428,
0.03167074918746948,
0.0063505712896585464,
0.018156377598643303,
-0.016224265098571777,
-0.021626725792884827,
-0.004723093938082457,
0.006780992727726698,
-0.027779243886470795,
0.020283786579966545,
-0.0036757963243871927,
0.013850265182554722,
-0.01845783181488514,
0.0453919842839241,
0.06589848548173904,
-0.018141569569706917,
0.0025893021374940872,
0.011302088387310505,
0.036418672651052475,
0.004413475748151541,
0.01111744437366724,
-0.011140036396682262,
-0.035179503262043,
0.017063787207007408,
-0.023075822740793228,
-0.03208882361650467,
0.0006295470520853996,
-0.021221419796347618,
0.04817378520965576,
-0.030167479068040848,
0.02253129333257675,
0.01795804500579834,
-0.011163773946464062,
-0.032165732234716415,
-0.04229534789919853,
-0.056612566113471985,
-0.03529975563287735,
-0.015351414680480957,
0.003478557802736759,
0.014721202664077282,
0.02193993702530861,
-0.039460208266973495,
-0.021283255890011787,
-0.031534481793642044,
-0.010787704028189182,
0.04612196981906891,
-0.039365120232105255,
-0.03005119413137436,
0.016465697437524796,
0.005243909545242786,
0.016822651028633118,
0.025286870077252388,
0.04790670424699783,
-0.03870043531060219,
-0.0193841140717268,
-0.021102629601955414,
0.005664600525051355,
0.05296928435564041,
0.004096367862075567,
0.04124845564365387,
-0.07873044908046722,
0.019958531484007835,
0.03375628963112831,
0.007193348370492458,
-0.04940834268927574,
0.007064047269523144,
0.043786365538835526,
-0.013528878800570965,
0.08464286476373672,
-0.0019190050661563873,
0.03668133169412613,
-0.045475803315639496,
-0.0030959309078752995,
-0.01673656515777111,
-0.006330817937850952,
0.04868185520172119,
0.006795942783355713,
0.1042109951376915,
0.036483168601989746,
-0.02997633069753647,
-0.019486170262098312,
0.00036015838850289583,
-0.004181148950010538,
-0.0009794810321182013,
-0.033549726009368896,
-0.02794557809829712,
-0.06120036914944649,
-0.07395099103450775,
-0.018806591629981995,
0.0036753190215677023,
-0.03718633949756622,
-0.021799474954605103,
0.010904459282755852,
-0.0031556496396660805,
-0.05069158971309662,
0.02134518325328827,
-0.061590440571308136,
-0.010607827454805374,
-0.02258036658167839,
-0.03672562167048454,
-0.011254941113293171,
0.027586812153458595,
0.023892754688858986,
-0.016122139990329742,
0.03696892037987709,
-0.040913596749305725,
-0.02307281270623207,
0.019670836627483368,
0.02459956519305706,
0.047842565923929214,
-0.02236560545861721,
-0.014660538174211979
] | [
-0.12311818450689316,
-0.014693496748805046,
-0.027890395373106003,
-0.05031570419669151,
0.021459730342030525,
-0.04581020027399063,
-0.047294821590185165,
0.020938217639923096,
-0.03957179933786392,
-0.03488820791244507,
0.024995211511850357,
-0.06545518338680267,
0.020291339606046677,
-0.03593187779188156,
0.10531435906887054,
0.03726520016789436,
0.01703720912337303,
-0.0814092680811882,
-0.030552711337804794,
0.035072192549705505,
0.008703718893229961,
-0.01928683929145336,
-0.011715004220604897,
-0.04362720251083374,
0.008105754852294922,
0.05613785609602928,
0.03309916332364082,
-0.01342492550611496,
-0.00534815015271306,
-0.22311978042125702,
-0.0031040161848068237,
0.0009988368256017566,
0.04845172166824341,
-0.03028540126979351,
0.005814551375806332,
0.049654245376586914,
-0.008465711958706379,
0.05155208706855774,
-0.022563597187399864,
0.04225076362490654,
0.0430486761033535,
0.017810573801398277,
-0.046576861292123795,
-0.01321486383676529,
0.04841623082756996,
-0.009719436056911945,
-0.02060025744140148,
-0.0526135116815567,
0.04058603197336197,
0.025532538071274757,
-0.05162128433585167,
-0.008800480514764786,
0.007543578278273344,
-0.047460537403821945,
-0.006513883825391531,
0.029097359627485275,
0.03424040600657463,
0.07978975027799606,
0.03039739280939102,
0.054706837981939316,
-0.005790345370769501,
-0.0050614578649401665,
-0.14091455936431885,
0.11935516446828842,
0.06685750186443329,
0.03089083917438984,
-0.01697130687534809,
-0.05962086841464043,
-0.02119992859661579,
0.05476802587509155,
0.0023661244194954634,
-0.03844912350177765,
-0.023604564368724823,
0.0705474391579628,
-0.010724077001214027,
-0.01896136999130249,
0.035458002239465714,
0.009892563335597515,
0.012227127328515053,
-0.06737729161977768,
-0.06108458340167999,
-0.03336658328771591,
-0.029274942353367805,
-0.04411234334111214,
-0.03518635779619217,
-0.02260056883096695,
0.0036709588021039963,
0.0664902999997139,
0.016379576176404953,
0.006337397266179323,
0.025600144639611244,
-0.015634644776582718,
0.08568626642227173,
-0.013188496232032776,
-0.11882276087999344,
0.007140945177525282,
0.009827247820794582,
0.008137053810060024,
-0.0492139495909214,
0.4183226525783539,
0.0034103922080248594,
-0.03547948598861694,
0.04383295401930809,
-0.007444741670042276,
0.02454892359673977,
0.024360978975892067,
0.010005544871091843,
-0.0005775607423856854,
0.02044614963233471,
-0.024306878447532654,
0.05077512934803963,
0.013854569755494595,
0.055700693279504776,
-0.042403656989336014,
0.03373212739825249,
-0.012079505249857903,
-0.012858253903687,
0.006247607059776783,
-0.029477562755346298,
0.03564012423157692,
-0.019676709547638893,
0.008052818477153778,
0.018054120242595673,
0.017698664218187332,
0.009779457002878189,
-0.02762559801340103,
0.010479799471795559,
0.04347092658281326,
0.00473849568516016,
-0.03150773420929909,
0.025868622586131096,
-0.048543781042099,
-0.07871896028518677,
-0.03268461674451828,
0.04660439118742943,
0.021339917555451393,
0.02712654136121273,
-0.05446357652544975,
0.024067124351859093,
0.012550927698612213,
-0.02375566028058529,
-0.006506382487714291,
0.007019545882940292,
0.012551696039736271,
-0.02065342850983143,
0.07252427935600281,
0.019537683576345444,
-0.012062828987836838,
-0.028013745322823524,
-0.030700981616973877,
-0.011029132641851902,
0.02389073558151722,
-0.007210657466202974,
-0.026724042370915413,
0.025301719084382057,
0.012191785499453545,
0.06496309489011765,
-0.00490039074793458,
-0.056878671050071716,
0.008159090764820576,
-0.002142702927812934,
-0.03693239018321037,
-0.043844956904649734,
0.04246879741549492,
0.04035372659564018,
-0.07932073622941971,
-0.02747608721256256,
0.041329510509967804,
0.009502917528152466,
-0.04906099662184715,
-0.021378159523010254,
0.014002515934407711,
-0.021921899169683456,
-0.012694885022938251,
0.03904664143919945,
-0.06363953649997711,
-0.018735039979219437,
0.026027243584394455,
0.031024305149912834,
0.0026292072143405676,
0.008305114693939686,
-0.0006916036945767701,
-0.041326116770505905,
-0.00950346514582634,
-0.014876402914524078,
-0.11318550258874893,
-0.039400435984134674,
-0.00943448394536972,
0.01606261171400547,
0.0030459670815616846,
-0.011854409240186214,
-0.007247562520205975,
-0.06898945569992065,
0.06051785498857498,
-0.02388913370668888,
-0.03701882064342499,
0.02008362114429474,
0.0143898855894804,
-0.0031824789475649595,
-0.03273101896047592,
0.04103360325098038,
0.0609714649617672,
-0.03291463479399681,
0.04906606301665306,
-0.0685834065079689,
0.028687819838523865,
0.0347975492477417,
-0.03293728455901146,
0.059175245463848114,
0.024405093863606453,
-0.04742840677499771,
-0.011616946198046207,
0.017609069123864174,
0.013860324397683144,
-0.02365826815366745,
-0.0001904267555801198,
-0.01459111925214529,
-0.0029377839528024197,
0.04125164821743965,
0.0084281200543046,
-0.034362878650426865,
-0.007985456846654415,
-0.02831117995083332,
-0.35046452283859253,
-0.009561561979353428,
-0.02850152738392353,
-0.018852224573493004,
-0.023048074916005135,
-0.06990272551774979,
0.04528861865401268,
-0.04169321432709694,
-0.023337867110967636,
-0.006390810944139957,
0.10120672732591629,
-0.027633164077997208,
0.030968494713306427,
-0.06766628473997116,
-0.0010777257848531008,
-0.0005047860904596746,
-0.016498245298862457,
-0.03805464878678322,
-0.008814274333417416,
0.030619215220212936,
0.0061529953964054585,
0.006017379928380251,
-0.034977659583091736,
-0.021355077624320984,
-0.00883072055876255,
-0.04429613798856735,
0.08821124583482742,
0.03322171792387962,
0.09021621197462082,
-0.057398054748773575,
0.05462852865457535,
0.037292685359716415,
0.02014903724193573,
-0.08741889894008636,
-0.043393272906541824,
0.006084830965846777,
-0.02512805536389351,
0.026989569887518883,
0.00536560220643878,
-0.005265300162136555,
-0.06334679573774338,
0.011868060566484928,
-0.054196618497371674,
-0.05177891626954079,
-0.021233072504401207,
-0.017858389765024185,
-0.01943247579038143,
0.007902887649834156,
-0.00005728176984121092,
0.052519407123327255,
0.005751970689743757,
0.01658187061548233,
0.029347287490963936,
0.010173679329454899,
0.021994156762957573,
-0.018913554027676582,
-0.07532718777656555,
0.000026063580662594177,
0.05297784134745598,
-0.036084432154893875,
0.05694204196333885,
0.05068933963775635,
0.03994708135724068,
-0.04893343523144722,
-0.03044872172176838,
0.025158708915114403,
0.003089532721787691,
-0.012662511318922043,
0.021280229091644287,
-0.04312220960855484,
-0.01874939166009426,
0.08500010520219803,
0.009330356493592262,
0.04521780088543892,
0.04591958969831467,
0.024896735325455666,
-0.028784412890672684,
-0.004310483578592539,
-0.01111569907516241,
-0.03130723908543587,
-0.005931284744292498,
0.00947464257478714,
0.06915584206581116,
-0.020304972305893898,
-0.006875648628920317,
0.0653408095240593,
-0.037087928503751755,
0.00044660596176981926,
0.048637714236974716,
-0.001554158516228199,
-0.0165870301425457,
-0.015764903277158737,
-0.005669927690178156,
-0.04250343516469002,
0.07515718787908554,
0.01235269196331501,
-0.23743487894535065,
0.014219372533261776,
0.0618632473051548,
0.07179374247789383,
-0.027044711634516716,
0.0030924545135349035,
0.05380275845527649,
-0.0388057716190815,
0.026995457708835602,
0.038593072444200516,
-0.011963266879320145,
0.02228054217994213,
-0.02142277918756008,
-0.013297784142196178,
0.04723001644015312,
-0.03831455484032631,
0.027525562793016434,
0.029201963916420937,
0.03703879565000534,
-0.001091141952201724,
0.004158133640885353,
-0.025098012760281563,
0.15249775350093842,
-0.006225639954209328,
-0.026347728446125984,
0.030128315091133118,
-0.005953789222985506,
0.04987781122326851,
0.06547579914331436,
0.020975295454263687,
-0.01234115194529295,
-0.009124583564698696,
0.036890070885419846,
0.026050545275211334,
0.03576431795954704,
-0.04529488831758499,
-0.019893668591976166,
0.01089708786457777,
0.01848631724715233,
-0.0022151628509163857,
-0.03017917089164257,
0.024944638833403587,
-0.03745172917842865,
0.041977718472480774,
0.06703522801399231,
-0.0010624232236295938,
0.012598072178661823,
-0.007429362740367651,
-0.012002529576420784,
-0.00956795271486044,
-0.03584551811218262,
-0.05340859666466713,
0.00561832170933485,
-0.006850261241197586,
0.021119410172104836,
0.06637591123580933,
0.027938148006796837,
0.013561281375586987,
0.0022162694949656725,
0.0058998470194637775,
0.0335201621055603,
-0.027792513370513916,
0.139460027217865,
0.01749124377965927,
0.033376459032297134
] | [
-0.014889917336404324,
0.0006149100372567773,
0.009974629618227482,
-0.023368412628769875,
-0.00454652588814497,
-0.03251392021775246,
0.010615766048431396,
0.05182640999555588,
-0.01947595551609993,
0.010556048713624477,
0.024540390819311142,
-0.0320710651576519,
0.03454780578613281,
0.010326982475817204,
-0.0012891965452581644,
-0.007969692349433899,
0.02194076217710972,
0.02750694938004017,
-0.005801047198474407,
0.01073248777538538,
0.0016800991725176573,
0.040431391447782516,
0.03969773277640343,
-0.030727887526154518,
0.027434300631284714,
0.038953639566898346,
-0.00774466572329402,
0.013353217393159866,
0.02262224070727825,
-0.12811680138111115,
0.011782935820519924,
-0.03574765473604202,
0.033279821276664734,
-0.02341800555586815,
0.05990421772003174,
0.014901931397616863,
0.012542158365249634,
0.020102595910429955,
-0.05108723044395447,
-0.026489851996302605,
0.0002678321034181863,
-0.01290139276534319,
0.02179929055273533,
0.03454029560089111,
-0.012432319112122059,
-0.0660223662853241,
-0.006848204415291548,
-0.017993280664086342,
0.00524809630587697,
0.015215592458844185,
-0.0333431139588356,
-0.02663075551390648,
0.00389237143099308,
0.005420949310064316,
0.00881858728826046,
0.009228784590959549,
0.006915103644132614,
0.03520543873310089,
-0.016825983300805092,
0.006265767849981785,
0.0010647730669006705,
-0.0182389747351408,
-0.05164248123764992,
-0.0427573062479496,
-0.008600087836384773,
-0.007948320358991623,
0.004782363772392273,
-0.013496584258973598,
-0.02088507078588009,
0.012795306742191315,
0.0020046450663357973,
0.018391411751508713,
-0.027912164106965065,
-0.001574853202328086,
-0.037077076733112335,
-0.012125631794333458,
0.04900067299604416,
-0.018957192078232765,
0.015163085423409939,
-0.014837170019745827,
-0.04624706134200096,
0.04570644721388817,
-0.004606969654560089,
0.003064290387555957,
-0.02183684892952442,
-0.004597687162458897,
-0.007057916838675737,
0.012165351770818233,
0.005849422886967659,
0.05434323847293854,
0.010019626468420029,
0.022652573883533478,
-0.008262057788670063,
0.027813339605927467,
-0.10854793339967728,
-0.010346993803977966,
-0.021521974354982376,
0.017817476764321327,
0.024945564568042755,
0.835328996181488,
0.001191559131257236,
0.023225819692015648,
0.003510106122121215,
-0.00040335836820304394,
0.015206954441964626,
-0.0037592179141938686,
0.010205862112343311,
-0.006189823616296053,
-0.03960685059428215,
0.007724537048488855,
0.026239173486828804,
-0.012242039665579796,
0.0442979596555233,
0.02961857058107853,
0.04103393852710724,
0.004452488385140896,
0.024501092731952667,
0.004189667291939259,
-0.032788485288619995,
0.0006367056630551815,
0.03164995461702347,
-0.014095420949161053,
0.015955261886119843,
-0.009234626777470112,
0.027294473722577095,
-0.17315401136875153,
0.01137511245906353,
-6.868186474508123e-33,
0.008121670223772526,
-0.046085696667432785,
0.05867237597703934,
0.033022888004779816,
-0.020591584965586662,
-0.016727251932024956,
-0.0008658275473862886,
0.053985994309186935,
-0.021180229261517525,
-0.013435795903205872,
-0.03243020921945572,
-0.0001749870862113312,
-0.0277716051787138,
-0.023270191624760628,
-0.0041162800043821335,
-0.04670974984765053,
0.022755106911063194,
0.0419805571436882,
-0.031114285811781883,
0.015080858953297138,
0.01541858073323965,
0.04851860925555229,
-0.0056406049989163876,
-0.012988039292395115,
-0.018664907664060593,
0.01910855621099472,
0.05857916921377182,
0.006454502698034048,
0.024555712938308716,
-0.034007277339696884,
-0.05811690539121628,
-0.021129509434103966,
-0.017397433519363403,
-0.04657385125756264,
-0.006204451434314251,
-0.044766269624233246,
-0.050930410623550415,
-0.003470377530902624,
-0.03781149163842201,
0.002077647717669606,
-0.0653291568160057,
-0.01573885977268219,
-0.04664475470781326,
0.009472143836319447,
-0.013043041341006756,
0.021951235830783844,
-0.006496647372841835,
-0.006856403313577175,
-0.02169269509613514,
0.016815349459648132,
-0.005877283867448568,
0.011075910180807114,
0.03886866196990013,
0.026096364483237267,
-0.008914425037801266,
0.044869184494018555,
-0.005743542220443487,
-0.0017764781368896365,
0.007531000766903162,
-0.008974849246442318,
-0.01144801452755928,
0.04239840433001518,
-0.00399917783215642,
0.046969421207904816,
-0.016142040491104126,
-0.0015031368238851428,
0.02145715244114399,
-0.05567548796534538,
-0.02202211320400238,
0.03445320948958397,
-0.03300224244594574,
0.009307977743446827,
-0.0070289126597344875,
-0.03181663528084755,
0.02174724079668522,
-0.049316614866256714,
-0.001093579106964171,
0.02964765764772892,
0.0012924264883622527,
0.0063803973607718945,
-0.02478071302175522,
-0.04181227833032608,
-0.03304174169898033,
-0.023834822699427605,
-0.03242063522338867,
0.031368277966976166,
0.012147858738899231,
0.0241660475730896,
-0.003522976767271757,
0.009959566406905651,
0.026600027456879616,
-0.0018777883378788829,
0.008045647293329239,
-0.040469296276569366,
-0.0016164453700184822,
7.513997928062103e-33,
0.012451364658772945,
0.009348281659185886,
-0.008569561876356602,
0.011004717089235783,
-0.005716114304959774,
0.007864723913371563,
-0.0036781830713152885,
0.025101706385612488,
-0.047113463282585144,
0.014263344928622246,
-0.02418190985918045,
0.015185370109975338,
-0.038527440279722214,
-0.011838303878903389,
0.03879484161734581,
0.002323040273040533,
0.01655907742679119,
-0.0262258630245924,
-0.015298061072826385,
0.0055555375292897224,
0.006171030458062887,
0.023757178336381912,
0.026199880987405777,
0.01656368188560009,
0.02559986524283886,
0.023763326928019524,
-0.0033731386065483093,
0.051680486649274826,
0.0002940341946668923,
0.013714607805013657,
0.020647263154387474,
0.022104689851403236,
-0.008562728762626648,
-0.05298253148794174,
-0.014810985885560513,
0.006259087473154068,
-0.008091566152870655,
-0.0001712025550659746,
-0.024239221587777138,
0.000052550527470884845,
-0.013624721206724644,
-0.016973569989204407,
0.001222834107466042,
0.025529395788908005,
-0.0018726285779848695,
0.026738649234175682,
0.0037954910658299923,
0.02522098831832409,
0.012202868238091469,
-0.019278423860669136,
0.00031746161403134465,
0.012342053465545177,
0.02125237137079239,
0.010548206977546215,
0.0335475355386734,
-0.014574240893125534,
-0.05074669420719147,
0.016752397641539574,
0.005175139755010605,
0.030659470707178116,
-0.006774130277335644,
-0.02005510963499546,
0.006400485523045063,
-0.003869717475026846,
-0.04470068961381912,
-0.014142037369310856,
-0.03058570809662342,
0.018752438947558403,
-0.0254865400493145,
0.005866370163857937,
0.027357906103134155,
-0.0031996401958167553,
0.01242746040225029,
0.03872367739677429,
0.02656334452331066,
-0.010925589129328728,
-0.024685963988304138,
-0.018207337707281113,
-0.02858613431453705,
0.03552832081913948,
0.019601648673415184,
0.04889332503080368,
0.007640172727406025,
0.03383675217628479,
-0.01633104495704174,
-0.005278842989355326,
-0.028920486569404602,
0.0035218470729887486,
-0.018831748515367508,
0.0010131498565897346,
-0.023786596953868866,
-0.01568012125790119,
-0.01594490371644497,
0.04071745276451111,
-0.03423326462507248,
-1.2615959832373846e-8,
-0.0038347230292856693,
-0.008151091635227203,
0.0016814759001135826,
-0.001415637438185513,
-0.01007296983152628,
-0.017055517062544823,
-0.024610716849565506,
0.0391676090657711,
0.01476775761693716,
0.0433136411011219,
0.06135956570506096,
-0.01702689938247204,
-0.017757825553417206,
0.041559141129255295,
-0.018929677084088326,
-0.01554151065647602,
0.04601334407925606,
0.020355312153697014,
0.024928007274866104,
-0.03617917001247406,
0.011051160283386707,
0.05958607420325279,
0.016334421932697296,
-0.009935428388416767,
0.010748033411800861,
0.024723675101995468,
0.011332168243825436,
-0.0683806762099266,
-0.012897984124720097,
0.0227483119815588,
0.027557622641324997,
-0.011812482960522175,
-0.016050957143306732,
0.035881198942661285,
-0.022200990468263626,
-0.009679107926785946,
-0.003709461772814393,
0.04040126875042915,
0.01895170472562313,
-0.014721752144396305,
-0.027628440409898758,
-0.012628345750272274,
0.005077745765447617,
-0.02192283794283867,
-0.03895827382802963,
0.011237948201596737,
-0.019063018262386322,
0.04793339595198631,
-0.016246993094682693,
-0.03374509513378143,
0.009111082181334496,
-0.010915066115558147,
-0.008916494436562061,
0.00327339768409729,
0.008660641498863697,
0.012356976978480816,
0.022324860095977783,
-0.013848451897501945,
-0.024594953283667564,
0.03101358562707901,
0.04411812126636505,
-0.012700140476226807,
-0.03216339647769928,
-0.021780148148536682
] | hdiutil-could-not-access-create-failed-operation-canceled | https://markhneedham.com/blog/2014/10/31/hdiutil-could-not-access-create-failed-operation-canceled |
false | 2014-10-06 07:11:50 | Conceptual Model vs Graph Model | [
"modeling"
] | [
"Databases"
] | We've started running some sessions on graph modelling in London and during the http://www.meetup.com/graphdb-london/events/203677112/[first session] it was pointed out that the process I'd described was very similar to that when modelling for a relational database.
I thought I better do some reading on the way relational models are derived and I came across an excellent video by Joe Maguire titled 'https://www.youtube.com/watch?v=x4Q9JeLIyNo[Data Modelers Still Have Jobs: Adjusting For the NoSQL Environment]'
Joe starts off by showing the following 'big picture framework' which describes the http://www.slideshare.net/slideshow/embed_code/23124875?startSlide=5[steps involved in coming up with a relational model]:
image::{{<siteurl>}}/uploads/2014/10/2014-10-05_19-04-46.png[2014 10 05 19 04 46,400]
A couple of slides later he points out that we often blur the lines between the different stages and end up designing a model which contains a lot of implementation details:
image::{{<siteurl>}}/uploads/2014/10/2014-10-06_23-25-22.png[2014 10 06 23 25 22,400]
If, on the other hand, we compare a conceptual model with a graph model this is less of an issue as the two models map quite closely:
* Entities \-> Nodes / Labels
* Attributes \-> Properties
* Relationships \-> Relationships
* Identifiers \-> Unique Constraints
Unique Constraints don't quite capture everything that Identifiers do since it's possible to create a node of a specific label without specifying the property which is uniquely constrained. Other than that though each concept matches one for one.
We often say that graphs are *white board friendly* by which we mean that that the model you sketch on a white board is the same as that stored in the database.
For example, consider the following sketch of people and their interactions with various books:
image::{{<siteurl>}}/uploads/2014/10/IMG_2342.jpg[IMG 2342,400]
If we were to translate that into a write query using Neo4j's cypher query language it would look like this:
[source,cypher]
----
CREATE (ian:Person {name: "Ian"})
CREATE (alan:Person {name: "Alan"})
CREATE (gg:Person:Author {name: "Graham Greene"})
CREATE (jlc:Person:Author {name: "John Le Carre"})
CREATE (omih:Book {name: "Our Man in Havana"})
CREATE (ttsp:Book {name: "Tinker Tailor, Soldier, Spy"})
CREATE (gg)-[:WROTE]->(omih)
CREATE (jlc)-[:WROTE]->(ttsp)
CREATE (ian)-[:PURCHASED {date: "05-02-2011"}]->(ttsp)
CREATE (ian)-[:PURCHASED {date: "08-09-2011"}]->(omih)
CREATE (alan)-[:PURCHASED {date: "05-07-2014"}]->(ttsp)
----
There are a few extra brackets and the 'CREATE' key word but we haven't lost any of the fidelity of the domain and in my experience a non technical / commercial person would be able to understand the query.
By contrast http://www.toadworld.com/products/toad-data-modeler/w/wiki/399.data-modeling-reality-requires-super-and-sub-types.aspx[this article] shows the steps we might take from a conceptual model describing employees, departments and unions to the eventual relational model.
If you don't have the time to read through that, we start with this initial model\...
image::{{<siteurl>}}/uploads/2014/10/2014-10-07_00-13-51.png[2014 10 07 00 13 51,400]
\...and by the time we've got to a model that can be stored in our relational database:
image::{{<siteurl>}}/uploads/2014/10/2014-10-07_00-14-32.png[2014 10 07 00 14 32,400]
You'll notice we've lost the relationship types and they've been replaced by 4 foreign keys that allow us to join the different tables/sets together.
In a graph model we'd have been able to stay much closer to the conceptual model and therefore closer to the language of the business.
I'm still exploring the world of data modelling and next up for me is to read Joe's 'http://www.amazon.co.uk/gp/product/020170045X/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1[Mastering Data Modeling]' book. I'm also curious how normal forms and data redundancy apply to graphs so I'll be looking into that as well.
Thoughts welcome, as usual! | null | null | [
0.0063847750425338745,
0.0003939661255571991,
-0.006088158115744591,
0.06492547690868378,
0.08254693448543549,
-0.0060448492877185345,
0.018926354125142097,
0.04599926993250847,
0.02213389053940773,
-0.023605067282915115,
-0.011813301593065262,
-0.01935596577823162,
-0.06638524681329727,
0.025389414280653,
-0.017424827441573143,
0.06317193061113358,
0.04346441850066185,
0.01938404142856598,
0.018075816333293915,
0.0013921356294304132,
0.027690652757883072,
0.04348457604646683,
0.0050353179685771465,
0.04094910994172096,
0.023247461766004562,
0.0025044588837772608,
0.017988553270697594,
-0.0034696892835199833,
-0.04606332257390022,
-0.011465149000287056,
0.042338185012340546,
-0.02050015889108181,
0.009646802209317684,
-0.024604640901088715,
0.03853996843099594,
-0.0008256212458945811,
-0.06238396838307381,
0.028932271525263786,
0.0019863215275108814,
-0.008265301585197449,
-0.07800900936126709,
0.07486206293106079,
0.007898935116827488,
0.030561503022909164,
-0.042448755353689194,
0.008642496541142464,
-0.0619780533015728,
0.027980191633105278,
0.0331006683409214,
0.017008101567626,
-0.092344269156456,
0.048735614866018295,
-0.01176785584539175,
0.03225795179605484,
-0.03347808122634888,
0.0308680459856987,
0.028096096590161324,
-0.06410547345876694,
0.0216775331646204,
-0.035405483096838,
0.016231130808591843,
-0.007119438145309687,
0.0015953859547153115,
0.018802164122462273,
0.007051693741232157,
-0.032347340136766434,
-0.002524021780118346,
0.0523374006152153,
-0.03688569739460945,
0.013803213834762573,
-0.002858506515622139,
0.007252507843077183,
-0.011740007437765598,
-0.01300685666501522,
-0.00015194846491795033,
-0.03392564505338669,
-0.007827234454452991,
0.037831228226423264,
0.029876982793211937,
0.0414176881313324,
-0.016423923894762993,
0.02924741432070732,
0.013165808282792568,
0.009941264986991882,
-0.015977583825588226,
-0.015755565837025642,
-0.03131826967000961,
-0.04499289393424988,
-0.0879182443022728,
0.030234044417738914,
-0.017579520121216774,
-0.07499609142541885,
-0.006591396406292915,
0.011658372357487679,
-0.03876941651105881,
0.014210309833288193,
0.025771185755729675,
0.010686630383133888,
0.019536420702934265,
-0.022383319213986397,
-0.002926492365077138,
-0.03138946369290352,
0.001428443705663085,
-0.00007680351700400934,
-0.07106994837522507,
-0.043625541031360626,
-0.015622846782207489,
-0.023408276960253716,
0.0024541239254176617,
-0.00014449155423790216,
-0.03645870462059975,
0.003196213860064745,
-0.03300884738564491,
0.009310578927397728,
-0.06123436242341995,
0.0655590370297432,
0.0062394640408456326,
-0.03314592316746712,
-0.01415935531258583,
0.031075291335582733,
0.04148752614855766,
0.00399672519415617,
-0.01187146082520485,
0.0829411968588829,
-0.011129477061331272,
0.017780153080821037,
-0.01952403038740158,
0.05323899909853935,
-0.05284346267580986,
-0.06976408511400223,
0.0038221164140850306,
0.05580032989382744,
-0.010065426118671894,
-0.020807679742574692,
-0.0061848098412156105,
-0.0525442436337471,
-0.0012536923168227077,
0.017713047564029694,
0.031393375247716904,
0.028674747794866562,
-0.010165895335376263,
-0.050363268703222275,
0.031710393726825714,
0.00381988356821239,
0.02732454612851143,
0.003265411127358675,
-0.00613050814718008,
-0.03167356923222542,
-0.019412362948060036,
-0.010441680438816547,
0.030600890517234802,
0.0435912162065506,
0.025098510086536407,
-0.04228808358311653,
0.028748782351613045,
0.10844062268733978,
0.029988326132297516,
0.01707538776099682,
-0.005816138815134764,
-0.0010669820476323366,
0.05256355181336403,
0.0021825178992003202,
0.010928895324468613,
0.04114437475800514,
0.022155506536364555,
-0.01798648200929165,
-0.006502645090222359,
0.051722895354032516,
-0.001289490726776421,
-0.01448405347764492,
-0.0466490313410759,
-0.0584929957985878,
0.05505190044641495,
-0.060468047857284546,
-0.03140584006905556,
0.06813181191682816,
0.05914423614740372,
0.04866774380207062,
0.031059924513101578,
0.008471335284411907,
-0.08259399235248566,
0.03724588453769684,
0.02125815488398075,
0.000890579482074827,
0.016354592517018318,
-0.02200649306178093,
0.07124225050210953,
0.03365511819720268,
-0.018966147676110268,
0.054705336689949036,
-0.0751558393239975,
-0.055745162069797516,
-0.002747157821431756,
-0.022182224318385124,
0.05928347632288933,
-0.03372255340218544,
0.00800740160048008,
0.06678273528814316,
0.006528911646455526,
0.04447908699512482,
0.020568707957863808,
-0.008888947777450085,
0.018556559458374977,
-0.02436298131942749,
-0.0363166406750679,
0.03230081871151924,
0.02855793759226799,
-0.045160550624132156,
-0.050738394260406494,
0.0034182153176516294,
-0.011241607367992401,
-0.03938162326812744,
0.02282211370766163,
-0.027052896097302437,
0.034003082662820816,
0.01139106322079897,
0.03393825888633728,
-0.007313819136470556,
0.04656973481178284,
-0.04381733015179634,
0.03344680741429329,
0.021050192415714264,
-0.012990902177989483,
-0.007423785515129566,
-0.008627334609627724,
0.11841760575771332,
0.05395742505788803,
-0.016237620264291763,
-0.03852877393364906,
0.03813408315181732,
0.04261177033185959,
0.0038778765592724085,
0.039815839380025864,
-0.03721043840050697,
0.022916004061698914,
-0.02203376591205597,
-0.03226528316736221,
-0.016735989600419998,
0.05137897655367851,
-0.047727663069963455,
0.00954741332679987,
0.04280123859643936,
-0.03577587008476257,
0.04898156225681305,
-0.0013749714707955718,
-0.0038786064833402634,
-0.01411567535251379,
-0.03243929147720337,
-0.06154443323612213,
0.03114095889031887,
0.009729688987135887,
0.005661017261445522,
0.04591928422451019,
-0.011874188669025898,
-0.01488254964351654,
-0.023635705932974815,
-0.00041382384370081127,
0.02088896557688713,
0.05307179316878319,
0.06669098883867264,
0.009827341884374619,
0.028116339817643166,
-0.0333780013024807,
0.03989768028259277,
-0.015516762621700764,
-0.04950875788927078,
-0.03800194337964058,
-0.05111188814043999,
0.021784944459795952,
0.032134898006916046,
0.04384862631559372,
-0.00794287770986557,
0.012934545055031776,
0.00880997534841299,
0.012016619555652142,
-0.0017101308330893517,
0.02207767963409424,
-0.008415616117417812,
-0.010203107260167599,
-0.012387947179377079,
-0.04361708089709282,
0.05017465353012085,
-0.02855333313345909,
-0.04682324826717377,
-0.0013904814841225743,
-0.06234392896294594,
0.0362832248210907,
-0.06752993166446686,
-0.04319889098405838,
0.0006163169164210558,
0.028153015300631523,
0.0538252592086792,
-0.003285438986495137,
-0.014230556786060333,
0.06575269252061844,
0.03920615464448929,
0.018651114776730537,
-0.010630405507981777,
-0.0011117575922980905,
0.04561184346675873,
-0.01461770012974739,
0.026737559586763382,
0.06476780027151108,
-0.01723479852080345,
-0.007133981678634882,
-0.018170218914747238,
0.034536633640527725,
-0.020226914435625076,
-0.2905156910419464,
0.02044912427663803,
-0.018324876204133034,
-0.06084414944052696,
-0.0014302830677479506,
-0.055947963148355484,
0.022792069241404533,
-0.03895823284983635,
-0.03697054833173752,
-0.006968266796320677,
-0.012352808378636837,
-0.03906191885471344,
-0.03383165970444679,
0.049960628151893616,
0.041152019053697586,
0.05443480610847473,
0.007762023713439703,
-0.04768722504377365,
-0.005655892193317413,
0.052617818117141724,
-0.022988658398389816,
-0.05499589815735817,
-0.04147098958492279,
0.027440274134278297,
0.013013278134167194,
0.043650541454553604,
-0.10299625247716904,
-0.0015410911291837692,
-0.051381178200244904,
-0.007025137078016996,
0.011880979873239994,
-0.024938423186540604,
-0.025428563356399536,
-0.014116203412413597,
-0.015717793256044388,
-0.03638336434960365,
0.047634247690439224,
0.0003629333805292845,
0.022249184548854828,
0.004961438477039337,
-0.025125831365585327,
-0.012830053456127644,
-0.010574284009635448,
0.02137450873851776,
0.07552102208137512,
0.004181697499006987,
-0.06249668821692467,
0.00899331085383892,
-0.028704047203063965,
0.04987497255206108,
-0.033008065074682236,
-0.018273435533046722,
0.01170021016150713,
0.046283308416604996,
-0.010853131301701069,
-0.012064659036695957,
0.01103380136191845,
-0.02437504753470421,
-0.04278666153550148,
-0.03922852501273155,
0.003302847035229206,
-0.05656905099749565,
-0.004529454745352268,
-0.06328260153532028,
0.009538929909467697,
-0.05367754399776459,
-0.08735176920890808,
-0.03475845977663994,
0.04863301292061806,
0.015870390459895134,
-0.006347552873194218,
0.02793112024664879,
-0.006895582657307386,
-0.1081412062048912,
-0.000746563368011266,
-0.019932063296437263,
0.01774832420051098,
0.0019324375316500664,
0.029270155355334282,
0.05399618297815323,
0.0037195992190390825,
-0.041484519839286804,
0.008805608376860619,
0.011439481750130653,
0.02240094728767872,
0.010459709912538528,
0.03453587368130684,
0.007658862043172121,
-0.03421308845281601,
0.0032237337436527014,
0.04728744924068451,
0.0059041655622422695,
0.0027221080381423235,
-0.019463486969470978,
0.0025539319030940533,
0.014426589012145996,
0.022517137229442596,
-0.02225896716117859,
0.0067862169817090034,
0.012205744162201881,
0.03716813400387764,
-0.04260716214776039,
0.012874258682131767,
-0.012161439284682274,
-0.016894318163394928,
-0.0022909571416676044,
-0.04265561327338219,
0.007258238270878792,
0.03316235914826393,
0.014830200932919979,
-0.043155837804079056,
-0.028727300465106964,
0.008843445219099522,
-0.06813816726207733,
-0.047962486743927,
-0.034553322941064835,
-0.00357304560020566,
0.0434093102812767,
0.003956823144108057,
-0.03634222596883774,
-0.060186538845300674,
0.04275374114513397,
0.02607571892440319,
0.0061989775858819485,
-0.07035902887582779,
-0.012217833660542965,
-0.03061305731534958,
-0.003000186523422599,
0.014320779591798782,
0.019386760890483856,
-0.015690315514802933,
0.04132986068725586,
0.01258439477533102,
-0.021130383014678955,
0.041709668934345245,
0.015624151565134525,
-0.04934752732515335,
-0.032863982021808624,
0.026196900755167007,
-0.013567357324063778,
-0.009522538632154465,
0.03407779335975647,
0.017396459355950356,
0.01965615339577198,
0.04809590056538582,
0.023851802572607994,
0.03857823461294174,
0.017821433022618294,
0.030099445953965187,
-0.0074654375202953815,
0.00913466140627861,
-0.057280782610177994,
0.02266383357346058,
-0.035488273948431015,
-0.012473756447434425,
-0.02628447860479355,
0.033372409641742706,
-0.025687571614980698,
0.00005006115679861978,
-0.028727227821946144,
0.04691341891884804,
-0.0361451581120491,
-0.006287699565291405,
-0.02508273907005787,
-0.006295632105320692,
0.06996484100818634,
-0.010214392095804214,
-0.0015205603558570147,
-0.015684716403484344,
-0.026403749361634254,
0.014159499667584896,
-0.006750046741217375,
-0.033801864832639694,
-0.000006722488706145668,
0.017127471044659615,
-0.011005193926393986,
-0.016949057579040527,
0.015323156490921974,
0.03373274207115173,
0.024418216198682785,
-0.02512572519481182,
-0.016256058588624,
0.020556988194584846,
0.0034385931212455034,
0.04523741453886032,
0.029718760401010513,
-0.012218299321830273,
0.012810884043574333,
-0.01111773680895567,
-0.003677395638078451,
0.0060523818247020245,
-0.001336446381174028,
-0.01724713295698166,
0.012351793237030506,
-0.03317450359463692,
-0.059013355523347855,
0.058943476527929306,
-0.018273036926984787,
0.008139044977724552,
0.0004097814380656928,
-0.009282678365707397,
0.0002246791700599715,
-0.031564198434352875,
0.05358065664768219,
0.06856761127710342,
-0.06024196743965149,
-0.016100527718663216,
0.01385432481765747,
-0.03335284814238548,
-0.006186042446643114,
0.017907463014125824,
-0.03284825384616852,
-0.053605735301971436,
-0.04156610742211342,
0.02688232623040676,
-0.03337378427386284,
-0.015131150372326374,
-0.04340571537613869,
0.02698199637234211,
0.04002881050109863,
0.02591533400118351,
0.00005037406663177535,
-0.020815983414649963,
-0.01129843294620514,
0.004339536186307669,
0.03473406285047531,
-0.04093877226114273,
0.02661054953932762,
-0.004324144218116999,
-0.029728684574365616,
0.023179512470960617,
-0.031826771795749664,
0.016813775524497032,
0.015177463181316853,
-0.031314391642808914,
0.028094349429011345,
-0.048062846064567566,
0.03458748012781143,
0.013148981146514416,
0.031509362161159515,
0.016865689307451248,
0.00328473630361259,
-0.021524498239159584,
0.0036576210986822844,
-0.003656221553683281,
-0.00045795514597557485,
0.014372960664331913,
0.005279581993818283,
0.014886950142681599,
0.005087655503302813,
-0.005046072881668806,
-0.0010802089236676693,
-0.0013002210762351751,
-0.020241055637598038,
0.047588102519512177,
-0.03209129348397255,
-0.01664998009800911,
-0.025247899815440178,
-0.0523996464908123,
-0.01738383248448372,
-0.026379156857728958,
0.02925739623606205,
-0.029512064531445503,
0.0460723415017128,
0.05247192829847336,
0.020707137882709503,
0.03889463469386101,
0.006464217323809862,
0.03768046572804451,
-0.02248024195432663,
0.005439654923975468,
-0.058266039937734604,
0.007107023615390062,
0.029392238706350327,
0.01664314791560173,
-0.030050003901124,
-0.013798804022371769,
-0.027617838233709335,
0.02603144757449627,
-0.08060364425182343,
-0.043997474014759064,
0.028973378241062164,
-0.0008931378251872957,
-0.0027910792268812656,
0.005638167727738619,
-0.04174860566854477,
0.014183512888848782,
0.031050408259034157,
-0.03998358175158501,
-0.04083365574479103,
-0.024175841361284256,
0.04980088025331497,
-0.010602990165352821,
0.016392873600125313,
-0.012811072170734406,
-0.0025399946607649326,
0.07490382343530655,
0.026498429477214813,
0.028369294479489326,
0.04557853937149048,
-0.0024784812703728676,
0.051217466592788696,
0.023763174191117287,
0.007493870332837105,
0.013336761854588985,
0.020626703277230263,
-0.015808312222361565,
-0.05856550484895706,
0.05795126035809517,
0.010514880530536175,
-0.014064458198845387,
-0.03895695134997368,
0.0657242015004158,
0.013702396303415298,
-0.05865205079317093,
-0.04954642429947853,
0.03880989924073219,
-0.039742469787597656,
0.01202394999563694,
-0.0226423442363739,
-0.014053303748369217,
-0.042627058923244476,
0.04762553051114082,
-0.02103867009282112,
0.01591569185256958,
0.04572438821196556,
0.0009618824115023017,
-0.006548684556037188,
-0.027352290228009224,
0.09198375046253204,
0.10785864293575287,
0.06903830915689468,
0.018201015889644623,
0.05660950765013695,
-0.022915909066796303,
-0.028868459165096283,
-0.00130824267398566,
0.002186279743909836,
-0.0328020416200161,
-0.02022097446024418,
0.0023315006401389837,
0.08219756186008453,
-0.04089650884270668,
0.05240703374147415,
-0.015426207333803177,
-0.013286048546433449,
0.02504892647266388,
0.003546265885233879,
0.009828085079789162,
0.05619007349014282,
0.01947779953479767,
0.0007981261587701738,
-0.031556881964206696,
-0.031221020966768265,
0.013842188753187656,
-0.039196185767650604,
-0.015255114994943142,
0.04135722666978836,
0.0003923140757251531,
0.01488078385591507,
-0.011470584198832512,
0.06344062834978104,
0.10744045674800873,
-0.04205220192670822,
-0.021027708426117897,
-0.001086686970666051,
-0.00022643982083536685,
-0.0034698129165917635,
0.03984185308218002,
-0.006571060977876186,
-0.0362049862742424,
-0.015030051581561565,
-0.06693064421415329,
-0.0014133102959021926,
-0.024221615865826607,
-0.02834506332874298,
-0.0013492429861798882,
-0.020784243941307068,
0.0035135054495185614,
0.026598382741212845,
0.014155949465930462,
-0.03911852836608887,
-0.0531444251537323,
-0.03797202557325363,
-0.03787733241915703,
-0.07537876814603806,
0.0058454424142837524,
0.019671548157930374,
-0.03255199268460274,
-0.029646163806319237,
-0.03131166100502014,
-0.009730186313390732,
-0.008429273031651974,
0.0612630657851696,
-0.054366983473300934,
-0.028860628604888916,
0.013729116879403591,
0.024862634018063545,
0.027209293097257614,
0.03151823207736015,
0.02940247394144535,
0.004396325442939997,
0.001911462051793933,
-0.01911027915775776,
0.02816312573850155,
0.02449331432580948,
0.01586304046213627,
0.016146842390298843,
-0.10256212204694748,
-0.0004676292883232236,
0.01130274124443531,
-0.05282079055905342,
-0.07657529413700104,
0.014812643639743328,
0.03951641172170639,
0.0065511735156178474,
0.024989362806081772,
-0.0026884512044489384,
-0.029423492029309273,
-0.03056452050805092,
-0.004003897309303284,
-0.01931178942322731,
-0.0010285810567438602,
0.03337832912802696,
-0.035800982266664505,
0.08461260795593262,
0.02796315588057041,
-0.03142496570944786,
-0.0305466465651989,
-0.027555329725146294,
0.022651568055152893,
0.010376573540270329,
-0.034367624670267105,
-0.047098562121391296,
-0.010852324776351452,
-0.08902912586927414,
-0.026485836133360863,
0.012514306232333183,
-0.01590324193239212,
-0.01735462248325348,
0.0016618822701275349,
0.022526012733578682,
-0.04176253452897072,
0.022046443074941635,
-0.05153829604387283,
0.014541220851242542,
-0.03250782936811447,
-0.014727122150361538,
-0.022188426926732063,
0.02286745049059391,
0.0058863814920187,
0.008663399145007133,
-0.00930400937795639,
-0.061693768948316574,
-0.01259700208902359,
-0.039053596556186676,
0.027541322633624077,
0.014507516287267208,
0.035491932183504105,
0.013652442954480648
] | [
-0.05685656890273094,
-0.03372612223029137,
-0.050710201263427734,
-0.016124771907925606,
0.052967868745326996,
-0.02817785181105137,
-0.03444253280758858,
0.007393876556307077,
0.005765879526734352,
-0.007195403799414635,
0.02409621700644493,
-0.06102580949664116,
0.0032788128592073917,
0.012199332006275654,
0.07236386835575104,
0.02397722750902176,
-0.0049466160126030445,
-0.05501147359609604,
0.011901870369911194,
0.01991729810833931,
-0.012936701066792011,
-0.04989234358072281,
-0.05487775430083275,
-0.0319153256714344,
0.027206165716052055,
0.03087795339524746,
0.046134550124406815,
-0.02851794846355915,
0.014083894900977612,
-0.2228909283876419,
0.0015382799319922924,
0.009447370655834675,
0.043137408792972565,
-0.014911861158907413,
0.02811780944466591,
0.007672871928662062,
0.05894584208726883,
-0.0003769434115383774,
0.006627870257943869,
0.02058234065771103,
0.005856825038790703,
-0.005540876183658838,
-0.010410977527499199,
-0.015584710985422134,
0.061618175357580185,
0.011069083586335182,
-0.01568901538848877,
0.007283652201294899,
-0.057187777012586594,
-0.016277914866805077,
-0.04665568843483925,
-0.038243599236011505,
-0.0408053994178772,
-0.006211370695382357,
0.004438984673470259,
0.04600535333156586,
0.04910074174404144,
0.05190933868288994,
-0.0011128991609439254,
0.033896103501319885,
0.015000485815107822,
0.01589108072221279,
-0.12155093252658844,
0.0889110192656517,
0.021146316081285477,
0.07101404666900635,
-0.04679792374372482,
-0.02279667928814888,
0.01707872375845909,
0.10267281532287598,
0.04103095084428787,
-0.03905092552304268,
-0.028015851974487305,
0.006112158764153719,
0.020713305100798607,
-0.008741059340536594,
0.02019197680056095,
0.03472330793738365,
0.017435863614082336,
-0.045008789747953415,
-0.03563735634088516,
0.016190649941563606,
0.0022526050452142954,
-0.01895125024020672,
-0.037959787994623184,
0.018112245947122574,
-0.03497103229165077,
0.012936357408761978,
-0.0017329843249171972,
0.026819271966814995,
0.027037322521209717,
0.016483427956700325,
0.021068809553980827,
-0.021668845787644386,
-0.05429122596979141,
-0.03298790007829666,
-0.012559853494167328,
0.004564929287880659,
-0.023013263940811157,
0.4261861741542816,
-0.009486454539000988,
-0.01942799799144268,
0.09114490449428558,
0.04482113942503929,
-0.024752618744969368,
-0.006068421993404627,
-0.01802692748606205,
-0.06414090096950531,
0.022931715473532677,
-0.024555044248700142,
-0.008587578311562538,
-0.01113944873213768,
0.02698882855474949,
-0.07056575268507004,
0.006767282262444496,
-0.005677863955497742,
0.020019832998514175,
0.031307775527238846,
0.010411451570689678,
-0.03516654670238495,
-0.030649334192276,
0.05462392419576645,
0.025529997423291206,
-0.012479214929044247,
-0.006687357556074858,
-0.02618122659623623,
0.012116248719394207,
0.03941193222999573,
0.04868195205926895,
-0.008280517533421516,
0.053087539970874786,
-0.005359000992029905,
-0.0674811378121376,
0.008326911367475986,
-0.020850807428359985,
-0.01649715006351471,
0.051336418837308884,
-0.004432367160916328,
0.008150816895067692,
0.05527332052588463,
-0.007331995293498039,
0.005552088841795921,
0.04047997668385506,
-0.011845184490084648,
-0.04785337299108505,
0.132125586271286,
0.02809399552643299,
-0.04103745147585869,
-0.035114750266075134,
-0.015788570046424866,
0.020859912037849426,
0.056193046271800995,
0.01588538847863674,
-0.05619573965668678,
0.008073137141764164,
0.039510492235422134,
0.07385360449552536,
-0.015039666555821896,
-0.09366225451231003,
-0.007613048423081636,
-0.007394388318061829,
-0.02741665579378605,
-0.05948114022612572,
0.05599705129861832,
0.04276770353317261,
-0.1515674591064453,
-0.011595290154218674,
0.009563015773892403,
0.027007874101400375,
-0.07079751789569855,
0.01657695323228836,
0.05104389414191246,
-0.041439469903707504,
0.01791529729962349,
0.047947775572538376,
-0.01647048071026802,
-0.04783432558178902,
-0.019495269283652306,
0.026442302390933037,
-0.008685407228767872,
-0.005875272676348686,
-0.003653160994872451,
-0.03496842086315155,
0.0059947846457362175,
-0.07618916034698486,
-0.08156158030033112,
-0.0535898357629776,
0.007484354544430971,
-0.03127298876643181,
-0.018630415201187134,
0.02385016344487667,
0.009895567782223225,
-0.057545825839042664,
0.09541276097297668,
-0.04342202469706535,
-0.03319978341460228,
0.018905531615018845,
-0.0006698183715343475,
-0.05019419640302658,
-0.026518169790506363,
-0.023846788331866264,
0.034312278032302856,
-0.02558198571205139,
0.02677321992814541,
-0.08675887435674667,
0.0336577370762825,
0.04186471924185753,
-0.0327293798327446,
0.06076574698090553,
0.037958040833473206,
-0.036150865256786346,
-0.02366863563656807,
-0.03812260925769806,
-0.011655949987471104,
0.0052907816134393215,
0.0037565864622592926,
0.0346849225461483,
-0.00885976105928421,
0.013102395460009575,
0.056062400341033936,
-0.014331200160086155,
-0.021398654207587242,
-0.0008193616522476077,
-0.3483339846134186,
-0.04749831557273865,
-0.023954614996910095,
0.01816065050661564,
0.027574555948376656,
-0.05939176306128502,
0.0023048981092870235,
-0.004295032471418381,
-0.018878532573580742,
0.04073527082800865,
0.053497981280088425,
0.012454883195459843,
-0.02072795107960701,
-0.0891123041510582,
-0.01901046559214592,
0.03440909460186958,
-0.018075957894325256,
-0.01665915735065937,
-0.06948471069335938,
-0.016194956377148628,
-0.024893799796700478,
0.005178488790988922,
-0.018841532990336418,
-0.07740168273448944,
0.004698742646723986,
-0.023906923830509186,
0.11367064714431763,
-0.05014802888035774,
0.05714942142367363,
-0.02835153043270111,
0.023852074518799782,
-0.016808439046144485,
-0.015594322234392166,
-0.06049833446741104,
0.026229234412312508,
-0.029676511883735657,
0.006948736496269703,
0.010129906237125397,
0.012262792326509953,
-0.05599844083189964,
-0.04715714976191521,
0.0066403234377503395,
-0.008405117318034172,
-0.04067172855138779,
-0.057884618639945984,
0.060660287737846375,
0.0024470780044794083,
-0.01132954191416502,
-0.03398473188281059,
0.09250058233737946,
-0.013152576051652431,
0.03975020349025726,
0.036177560687065125,
0.032293420284986496,
-0.03669745475053787,
-0.03571343049407005,
-0.09297497570514679,
-0.0010463543003425002,
-0.011955568566918373,
0.02074454538524151,
0.02717319130897522,
0.03156561031937599,
0.01777276024222374,
-0.06628134846687317,
0.0210829246789217,
-0.017481565475463867,
-0.006790590472519398,
-0.02182125672698021,
0.03187914192676544,
-0.026566166430711746,
-0.0035436642356216908,
0.10431347787380219,
0.015319855883717537,
-0.0017260565655305982,
0.056657541543245316,
0.048322342336177826,
-0.008161100558936596,
0.02686590515077114,
0.01350084226578474,
0.007933594286441803,
0.021538741886615753,
-0.055673375725746155,
0.045674826949834824,
-0.010771227069199085,
0.02986196242272854,
0.030235109850764275,
0.015055281110107899,
-0.05027666315436363,
0.04428033158183098,
0.038654912263154984,
-0.015737975016236305,
-0.007610806729644537,
-0.04281584545969963,
-0.05244740471243858,
0.07438628375530243,
-0.0262199267745018,
-0.24848411977291107,
0.02080041542649269,
0.041064925491809845,
0.09871751815080643,
-0.009878248907625675,
0.024228515103459358,
0.021208204329013824,
-0.0177207812666893,
0.027496829628944397,
-0.02408323436975479,
0.025088224560022354,
0.032618749886751175,
0.025688137859106064,
0.01539542991667986,
0.0034081824123859406,
-0.020709481090307236,
0.03767215460538864,
-0.008487270213663578,
0.03884318470954895,
0.006816135719418526,
0.0315718837082386,
-0.014570013619959354,
0.1650604009628296,
0.03411649912595749,
0.04072245582938194,
0.03974701464176178,
-0.01403894554823637,
-0.016596756875514984,
0.06778664886951447,
0.006387713365256786,
-0.008557330816984177,
0.004951419774442911,
0.042341459542512894,
0.014755072072148323,
0.023403188213706017,
-0.04011404141783714,
-0.017048783600330353,
0.05365191772580147,
0.024752002209424973,
-0.013162706047296524,
0.009714575484395027,
-0.006634008139371872,
-0.027272993698716164,
0.030590664595365524,
0.06188696622848511,
0.012916985899209976,
-0.0025230490136891603,
-0.012805637903511524,
-0.04132054001092911,
0.003385905409231782,
-0.0033398878294974566,
-0.05585373193025589,
-0.01715262047946453,
-0.0006505877827294171,
0.016967864707112312,
0.05444665253162384,
0.03098784200847149,
-0.00002705682345549576,
0.00477427477017045,
0.00717259431257844,
-0.00751753244549036,
-0.01642027497291565,
0.0760873407125473,
0.02079033851623535,
0.010233431123197079
] | [
0.01997668668627739,
0.006628862582147121,
0.012072471901774406,
0.015553622506558895,
-0.008158503100275993,
0.016032380983233452,
-0.0024103785399347544,
0.00619029626250267,
-0.0025750678032636642,
-0.009504897519946098,
-0.026832275092601776,
0.024787500500679016,
0.01889524608850479,
0.004882195498794317,
0.030542628839612007,
0.029859758913517,
0.04368680715560913,
-0.029180118814110756,
0.013079256750643253,
-0.006473173853009939,
-0.038221325725317,
-0.012464028783142567,
-0.011810575611889362,
-0.013895883224904537,
-0.02605493925511837,
0.008151313289999962,
-0.027293726801872253,
-0.002472685882821679,
0.05111972615122795,
-0.11878573894500732,
-0.02993706800043583,
-0.05053641274571419,
-0.020421544089913368,
0.03148908168077469,
0.014497124589979649,
0.004786285571753979,
-0.009091362357139587,
-0.00396349560469389,
0.014235889539122581,
0.002501461422070861,
0.010881517082452774,
-0.024227244779467583,
0.01412055641412735,
0.014885646291077137,
0.014323975890874863,
0.024187922477722168,
-0.029473302885890007,
-0.01795322261750698,
-0.020808354020118713,
-0.02394532784819603,
-0.05286140367388725,
-0.02475706674158573,
-0.013212167657911777,
-0.009660287760198116,
0.0112601388245821,
0.01461930014193058,
-0.013992631807923317,
-0.029329178854823112,
-0.0028227597940713167,
-0.00007859376637497917,
-0.015084370970726013,
0.02590419352054596,
-0.02714606374502182,
-0.006243815179914236,
-0.013504601083695889,
0.00034880865132436156,
-0.03081437759101391,
0.006324444431811571,
0.0016309707425534725,
0.005144606810063124,
-0.01935693994164467,
0.008782882243394852,
-0.03754455968737602,
-0.04459119215607643,
0.0076337032951414585,
-0.005230996757745743,
0.02153405174612999,
-0.016167989000678062,
0.0061331819742918015,
-0.04505130648612976,
-0.036743395030498505,
0.0033781875390559435,
0.009822221472859383,
0.0004945946857333183,
-0.011467937380075455,
-0.016430029645562172,
-0.006116922944784164,
-0.001558350631967187,
0.01937689445912838,
-0.0168088898062706,
-0.04542228952050209,
0.014910212717950344,
0.009225313551723957,
0.015683768317103386,
-0.0926101952791214,
0.019083842635154724,
0.01372024416923523,
0.006848310586065054,
-0.017284195870161057,
0.8461046814918518,
0.00009857775148702785,
0.02234566956758499,
0.03173848241567612,
0.02115628682076931,
-0.00512046879157424,
-0.0133169274777174,
0.010768038220703602,
0.022375108674168587,
-0.0016716980608180165,
-0.0441671721637249,
0.007626543287187815,
0.0269954651594162,
0.02676502801477909,
0.02136107347905636,
0.006938386708498001,
-0.005284061189740896,
0.011625868268311024,
-0.006039801519364119,
0.0004350261006038636,
-0.01120421476662159,
0.01904858648777008,
0.02738855592906475,
0.01208511646836996,
-0.004958524834364653,
-0.017191598191857338,
-0.19969116151332855,
0.015339195728302002,
-7.820396408075687e-33,
0.05772211030125618,
-0.019211819395422935,
0.034902796149253845,
-0.018828894942998886,
0.03525204956531525,
0.019508296623826027,
-0.03894183784723282,
0.0033649227116256952,
0.001447460032068193,
0.01257998961955309,
-0.02465427853167057,
0.0026176597457379103,
0.01581486314535141,
-0.01822241209447384,
0.04330877587199211,
0.02202734537422657,
0.01194782555103302,
0.04795283079147339,
-0.002907608635723591,
0.02216016873717308,
0.02374958246946335,
0.015375050716102123,
0.003455550642684102,
0.04069981724023819,
0.020902888849377632,
0.049177344888448715,
0.012002120725810528,
0.027022745460271835,
0.002994837937876582,
-0.04679184779524803,
-0.03791379556059837,
0.02633574604988098,
-0.0020891865715384483,
-0.019511763006448746,
-0.016284599900245667,
-0.04128989577293396,
-0.04491381719708443,
0.00398213742300868,
-0.012540255673229694,
-0.05542553961277008,
-0.039991315454244614,
-0.00012665256508626044,
-0.03900101035833359,
-0.030466988682746887,
-0.027826834470033646,
0.012916549108922482,
-0.005356375128030777,
0.01694030873477459,
-0.02636571414768696,
0.013486381620168686,
0.0019816712010651827,
-0.027683602645993233,
-0.023009659722447395,
0.04917481914162636,
-0.01648489013314247,
0.005748821422457695,
0.027769677340984344,
0.014104815199971199,
0.007444055750966072,
0.026180019602179527,
0.01947466842830181,
-0.019874852150678635,
-0.005492954049259424,
0.047779444605112076,
0.014549542218446732,
-0.0026341979391872883,
0.017890827730298042,
-0.007404467090964317,
0.010721458122134209,
-0.0041331946849823,
-0.07207610458135605,
0.054237980395555496,
-0.008153584785759449,
-0.039260949939489365,
0.015666833147406578,
-0.05552995204925537,
-0.003634591354057193,
0.003228534245863557,
0.007987705059349537,
0.04772408679127693,
-0.011569954454898834,
-0.012156600132584572,
0.011172586120665073,
-0.024417363107204437,
-0.01888049580156803,
-0.017466841265559196,
0.027770355343818665,
0.013602560386061668,
-0.008764673955738544,
0.012068931944668293,
0.019746975973248482,
0.019014542922377586,
0.006811651401221752,
-0.019783735275268555,
0.005848162807524204,
8.107334579111407e-33,
0.007854930125176907,
0.008827493526041508,
0.012705107219517231,
0.004966599866747856,
0.040946319699287415,
-0.04236447066068649,
0.035758405923843384,
0.01383192092180252,
-0.04317476227879524,
0.03761398047208786,
-0.00878505501896143,
-0.02919960208237171,
0.0025084561202675104,
0.032382782548666,
0.05314771458506584,
-0.03681458532810211,
0.028694551438093185,
-0.03708228841423988,
-0.01005004532635212,
0.02278759889304638,
0.025505561381578445,
0.01322797778993845,
-0.007746629882603884,
0.0012335753999650478,
0.05800849571824074,
0.0607188455760479,
0.008054804056882858,
0.007893258705735207,
-0.010910404846072197,
0.014727759175002575,
-0.04337199404835701,
0.0061485301703214645,
0.01854998990893364,
-0.03902488946914673,
-0.011295112781226635,
0.005051299463957548,
-0.007582920603454113,
-0.013609465211629868,
0.010910660959780216,
-0.014927955344319344,
0.012105503119528294,
0.027548518031835556,
-0.05836024507880211,
0.03995209187269211,
0.005603075958788395,
0.03794000297784805,
-0.02516964264214039,
-0.0019702373538166285,
-0.01120303850620985,
-0.021480176597833633,
-0.004465991165488958,
-0.0030621180776506662,
0.012256073765456676,
-0.016597812995314598,
-0.008707218803465366,
-0.030676569789648056,
-0.008822597563266754,
0.03312142565846443,
-0.00369224208407104,
-0.013611041009426117,
-0.010680862702429295,
0.005796912591904402,
-0.0441078245639801,
0.024246998131275177,
-0.019033819437026978,
-0.00941373035311699,
-0.02820512279868126,
-0.007657371461391449,
-0.006974917836487293,
-0.005921606440097094,
-0.02784086763858795,
0.009329207241535187,
0.00021184505021665245,
0.04907570034265518,
0.02478361688554287,
-0.03704483062028885,
-0.03298576548695564,
0.008418618701398373,
0.023618420585989952,
0.018600933253765106,
0.005980131682008505,
-0.0018133650301024318,
0.05080290138721466,
0.008802056312561035,
0.0131719671189785,
0.035035740584135056,
-0.027436384931206703,
0.04619584232568741,
-0.019734542816877365,
-0.0064317770302295685,
-0.027787497267127037,
-0.029775867238640785,
-0.011007263325154781,
0.03753101825714111,
0.002903857734054327,
-1.3345260008179594e-8,
-0.07075542956590652,
0.03342697396874428,
0.005086676217615604,
-0.0324532613158226,
0.03385548293590546,
0.0211402028799057,
0.022388068959116936,
0.015000706538558006,
-0.0032130659092217684,
0.0230706874281168,
0.034186866134405136,
-0.010690241120755672,
-0.0029962104745209217,
0.02745172753930092,
-0.007593289017677307,
-0.03618454560637474,
-0.002563038608059287,
-0.04129408672451973,
0.03461308032274246,
0.01690874621272087,
0.026859333738684654,
0.015020469203591347,
-0.0013892428250983357,
-0.009565578773617744,
0.013367045670747757,
-0.019970308989286423,
0.011078010313212872,
-0.060290511697530746,
-0.00294321496039629,
-0.005542951636016369,
-0.004453972447663546,
-0.02993287891149521,
0.030498040840029716,
0.026398342102766037,
-0.02492358162999153,
-0.02410033904016018,
0.02621595934033394,
0.010790447704494,
0.016780948266386986,
-0.014278688468039036,
-0.01976398006081581,
0.012817495502531528,
-0.008582365699112415,
-0.02713313139975071,
-0.01945490576326847,
0.026456985622644424,
0.018437225371599197,
0.004338147584348917,
0.013631713576614857,
-0.0317392461001873,
-0.006467518396675587,
-0.031802427023649216,
0.01708003133535385,
0.013085516169667244,
0.020376544445753098,
0.006781190633773804,
0.01040893979370594,
-0.03229628875851631,
-0.006172904744744301,
0.008977030403912067,
0.021159937605261803,
-0.0025592755991965532,
-0.017678290605545044,
-0.032120171934366226
] | conceptual-model-vs-graph-model | https://markhneedham.com/blog/2014/10/06/conceptual-model-vs-graph-model |
false | 2014-10-23 05:56:57 | Neo4j: Cypher - Avoiding the Eager | [
"neo4j"
] | [
"neo4j"
] | Although I love how easy Cypher's http://neo4j.com/docs/stable/query-load-csv.html[LOAD CSV] command makes it to get data into Neo4j, it currently breaks http://www.faqs.org/docs/artu/ch11s01.html[the rule of least surprise] in the way it eagerly loads in all rows for some queries even those using http://neo4j.com/docs/stable/query-periodic-commit.html[periodic commit].
image:{{<siteurl>}}/uploads/2014/10/neverwhere.jpg[Neverwhere]
This is something that my colleague Michael noted in the http://jexp.de/blog/2014/10/load-cvs-with-success/[second] of his blog posts explaining http://jexp.de/blog/2014/06/load-csv-into-neo4j-quickly-and-successfully/[how to use LOAD CSV successfully]:
____
The *biggest issue* that people ran into, even when following the advice I gave earlier, was that for large imports of more than one million rows, Cypher ran into an out-of-memory situation. That was *not related to commit sizes*, so it happened even with PERIODIC COMMIT of small batches.
____
I recently spent a few days importing data into Neo4j on a Windows machine with 4GB RAM so I was seeing this problem even earlier than Michael suggested.
Michael explains how to work out whether your query is suffering from unexpected eager evaluation:
____
If you profile that query you see that there is an "`Eager`" step in the query plan. That is where the "`pull in all data`" happens.
____
You can profile queries by prefixing the word 'PROFILE'. You'll need to run your query in the console of _/webadmin_ in your web browser or with the http://neo4j.com/docs/stable/shell-starting.html[Neo4j shell].
I did this for my queries and was able to identify query patterns which get evaluated eagerly and in some cases we can work around it.
We'll use the https://github.com/mneedham/neo4j-northwind/blob/master/data/customerDb.csv[Northwind data set] to demonstrate how the Eager pipe can sneak into our queries but keep in mind that this data set is sufficiently small to not cause issues.
This is what a row in the file looks like:
[source,bash]
----
$ head -n 2 data/customerDb.csv
OrderID,CustomerID,EmployeeID,OrderDate,RequiredDate,ShippedDate,ShipVia,Freight,ShipName,ShipAddress,ShipCity,ShipRegion,ShipPostalCode,ShipCountry,CustomerID,CustomerCompanyName,ContactName,ContactTitle,Address,City,Region,PostalCode,Country,Phone,Fax,EmployeeID,LastName,FirstName,Title,TitleOfCourtesy,BirthDate,HireDate,Address,City,Region,PostalCode,Country,HomePhone,Extension,Photo,Notes,ReportsTo,PhotoPath,OrderID,ProductID,UnitPrice,Quantity,Discount,ProductID,ProductName,SupplierID,CategoryID,QuantityPerUnit,UnitPrice,UnitsInStock,UnitsOnOrder,ReorderLevel,Discontinued,SupplierID,SupplierCompanyName,ContactName,ContactTitle,Address,City,Region,PostalCode,Country,Phone,Fax,HomePage,CategoryID,CategoryName,Description,Picture
10248,VINET,5,1996-07-04,1996-08-01,1996-07-16,3,32.38,Vins et alcools Chevalier,59 rue de l'Abbaye,Reims,,51100,France,VINET,Vins et alcools Chevalier,Paul Henriot,Accounting Manager,59 rue de l'Abbaye,Reims,,51100,France,26.47.15.10,26.47.15.11,5,Buchanan,Steven,Sales Manager,Mr.,1955-03-04,1993-10-17,14 Garrett Hill,London,,SW1 8JR,UK,(71) 555-4848,3453,\x,"Steven Buchanan graduated from St. Andrews University, Scotland, with a BSC degree in 1976. Upon joining the company as a sales representative in 1992, he spent 6 months in an orientation program at the Seattle office and then returned to his permanent post in London. He was promoted to sales manager in March 1993. Mr. Buchanan has completed the courses ""Successful Telemarketing"" and ""International Sales Management."" He is fluent in French.",2,http://accweb/emmployees/buchanan.bmp,10248,11,14,12,0,11,Queso Cabrales,5,4,1 kg pkg.,21,22,30,30,0,5,Cooperativa de Quesos 'Las Cabras',Antonio del Valle Saavedra,Export Administrator,Calle del Rosal 4,Oviedo,Asturias,33007,Spain,(98) 598 76 54,,,4,Dairy Products,Cheeses,\x
----
== MERGE, MERGE, MERGE
The first thing we want to do is create a node for each employee and each order and then create a relationship between them.
We might start with the following query:
[source,cypher]
----
USING PERIODIC COMMIT 1000
LOAD CSV WITH HEADERS FROM "file:/Users/markneedham/projects/neo4j-northwind/data/customerDb.csv" AS row
MERGE (employee:Employee {employeeId: row.EmployeeID})
MERGE (order:Order {orderId: row.OrderID})
MERGE (employee)-[:SOLD]->(order)
----
This does the job but if we profile the query like so\...
[source,cypher]
----
PROFILE LOAD CSV WITH HEADERS FROM "file:/Users/markneedham/projects/neo4j-northwind/data/customerDb.csv" AS row
WITH row LIMIT 0
MERGE (employee:Employee {employeeId: row.EmployeeID})
MERGE (order:Order {orderId: row.OrderID})
MERGE (employee)-[:SOLD]->(order)
----
\...we'll notice an 'Eager' lurking on the third line:
[source,text]
----
==> +----------------+------+--------+----------------------------------+-----------------------------------------+
==> | Operator | Rows | DbHits | Identifiers | Other |
==> +----------------+------+--------+----------------------------------+-----------------------------------------+
==> | EmptyResult | 0 | 0 | | |
==> | UpdateGraph(0) | 0 | 0 | employee, order, UNNAMED216 | MergePattern |
==> | Eager | 0 | 0 | | |
==> | UpdateGraph(1) | 0 | 0 | employee, employee, order, order | MergeNode; :Employee; MergeNode; :Order |
==> | Slice | 0 | 0 | | { AUTOINT0} |
==> | LoadCSV | 1 | 0 | row | |
==> +----------------+------+--------+----------------------------------+-----------------------------------------+
----
_You'll notice that when we profile each query we're stripping off the periodic commit section and adding a 'WITH row LIMIT 0'. This allows us to generate enough of the query plan to identify the 'Eager' operator without actually importing any data._
We want to split that query into two so it can be processed in a non eager manner:
[source,cypher]
----
USING PERIODIC COMMIT 1000
LOAD CSV WITH HEADERS FROM "file:/Users/markneedham/projects/neo4j-northwind/data/customerDb.csv" AS row
WITH row LIMIT 0
MERGE (employee:Employee {employeeId: row.EmployeeID})
MERGE (order:Order {orderId: row.OrderID})
----
[source,text]
----
==> +-------------+------+--------+----------------------------------+-----------------------------------------+
==> | Operator | Rows | DbHits | Identifiers | Other |
==> +-------------+------+--------+----------------------------------+-----------------------------------------+
==> | EmptyResult | 0 | 0 | | |
==> | UpdateGraph | 0 | 0 | employee, employee, order, order | MergeNode; :Employee; MergeNode; :Order |
==> | Slice | 0 | 0 | | { AUTOINT0} |
==> | LoadCSV | 1 | 0 | row | |
==> +-------------+------+--------+----------------------------------+-----------------------------------------+
----
Now that we've created the employees and orders we can join them together:
[source,cypher]
----
USING PERIODIC COMMIT 1000
LOAD CSV WITH HEADERS FROM "file:/Users/markneedham/projects/neo4j-northwind/data/customerDb.csv" AS row
MATCH (employee:Employee {employeeId: row.EmployeeID})
MATCH (order:Order {orderId: row.OrderID})
MERGE (employee)-[:SOLD]->(order)
----
[source,text]
----
==> +----------------+------+--------+-------------------------------+-----------------------------------------------------------+
==> | Operator | Rows | DbHits | Identifiers | Other |
==> +----------------+------+--------+-------------------------------+-----------------------------------------------------------+
==> | EmptyResult | 0 | 0 | | |
==> | UpdateGraph | 0 | 0 | employee, order, UNNAMED216 | MergePattern |
==> | Filter(0) | 0 | 0 | | Property(order,orderId) == Property(row,OrderID) |
==> | NodeByLabel(0) | 0 | 0 | order, order | :Order |
==> | Filter(1) | 0 | 0 | | Property(employee,employeeId) == Property(row,EmployeeID) |
==> | NodeByLabel(1) | 0 | 0 | employee, employee | :Employee |
==> | Slice | 0 | 0 | | { AUTOINT0} |
==> | LoadCSV | 1 | 0 | row | |
==> +----------------+------+--------+-------------------------------+-----------------------------------------------------------+
----
Not an Eager in sight!
== MATCH, MATCH, MATCH, MERGE, MERGE
If we fast forward a few steps we may now have refactored our import script to the point where we create our nodes in one query and the relationships in another query.
Our create query works as expected:
[source,cypher]
----
USING PERIODIC COMMIT 1000
LOAD CSV WITH HEADERS FROM "file:/Users/markneedham/projects/neo4j-northwind/data/customerDb.csv" AS row
MERGE (employee:Employee {employeeId: row.EmployeeID})
MERGE (order:Order {orderId: row.OrderID})
MERGE (product:Product {productId: row.ProductID})
----
[source,bash]
----
==> +-------------+------+--------+----------------------------------------------------+--------------------------------------------------------------+
==> | Operator | Rows | DbHits | Identifiers | Other |
==> +-------------+------+--------+----------------------------------------------------+--------------------------------------------------------------+
==> | EmptyResult | 0 | 0 | | |
==> | UpdateGraph | 0 | 0 | employee, employee, order, order, product, product | MergeNode; :Employee; MergeNode; :Order; MergeNode; :Product |
==> | Slice | 0 | 0 | | { AUTOINT0} |
==> | LoadCSV | 1 | 0 | row | |
==> +-------------+------+--------+----------------------------------------------------+------------------------------------------------------------
----
We've now got employees, products and orders in the graph. Now let's create relationships between the trio:
[source,cypher]
----
USING PERIODIC COMMIT 1000
LOAD CSV WITH HEADERS FROM "file:/Users/markneedham/projects/neo4j-northwind/data/customerDb.csv" AS row
MATCH (employee:Employee {employeeId: row.EmployeeID})
MATCH (order:Order {orderId: row.OrderID})
MATCH (product:Product {productId: row.ProductID})
MERGE (employee)-[:SOLD]->(order)
MERGE (order)-[:PRODUCT]->(product)
----
If we profile that we'll notice Eager has sneaked in again!
[source,bash]
----
==> +----------------+------+--------+-------------------------------+-----------------------------------------------------------+
==> | Operator | Rows | DbHits | Identifiers | Other |
==> +----------------+------+--------+-------------------------------+-----------------------------------------------------------+
==> | EmptyResult | 0 | 0 | | |
==> | UpdateGraph(0) | 0 | 0 | order, product, UNNAMED318 | MergePattern |
==> | Eager | 0 | 0 | | |
==> | UpdateGraph(1) | 0 | 0 | employee, order, UNNAMED287 | MergePattern |
==> | Filter(0) | 0 | 0 | | Property(product,productId) == Property(row,ProductID) |
==> | NodeByLabel(0) | 0 | 0 | product, product | :Product |
==> | Filter(1) | 0 | 0 | | Property(order,orderId) == Property(row,OrderID) |
==> | NodeByLabel(1) | 0 | 0 | order, order | :Order |
==> | Filter(2) | 0 | 0 | | Property(employee,employeeId) == Property(row,EmployeeID) |
==> | NodeByLabel(2) | 0 | 0 | employee, employee | :Employee |
==> | Slice | 0 | 0 | | { AUTOINT0} |
==> | LoadCSV | 1 | 0 | row | |
==> +----------------+------+--------+-------------------------------+-----------------------------------------------------------+
----
In this case the Eager happens on our second call to MERGE as Michael identified in his post:
____
The issue is that within a single Cypher statement you have to isolate changes that affect matches further on, e.g. when you CREATE nodes with a label that are suddenly matched by a later MATCH or MERGE operation.
____
We can work around the problem in this case by having separate queries to create the relationships:
[source,cypher]
----
LOAD CSV WITH HEADERS FROM "file:/Users/markneedham/projects/neo4j-northwind/data/customerDb.csv" AS row
MATCH (employee:Employee {employeeId: row.EmployeeID})
MATCH (order:Order {orderId: row.OrderID})
MERGE (employee)-[:SOLD]->(order)
----
[source,bash]
----
==> +----------------+------+--------+-------------------------------+-----------------------------------------------------------+
==> | Operator | Rows | DbHits | Identifiers | Other |
==> +----------------+------+--------+-------------------------------+-----------------------------------------------------------+
==> | EmptyResult | 0 | 0 | | |
==> | UpdateGraph | 0 | 0 | employee, order, UNNAMED236 | MergePattern |
==> | Filter(0) | 0 | 0 | | Property(order,orderId) == Property(row,OrderID) |
==> | NodeByLabel(0) | 0 | 0 | order, order | :Order |
==> | Filter(1) | 0 | 0 | | Property(employee,employeeId) == Property(row,EmployeeID) |
==> | NodeByLabel(1) | 0 | 0 | employee, employee | :Employee |
==> | Slice | 0 | 0 | | { AUTOINT0} |
==> | LoadCSV | 1 | 0 | row | |
==> +----------------+------+--------+-------------------------------+-----------------------------------------------------------+
----
[source,cypher]
----
USING PERIODIC COMMIT 1000
LOAD CSV WITH HEADERS FROM "file:/Users/markneedham/projects/neo4j-northwind/data/customerDb.csv" AS row
MATCH (order:Order {orderId: row.OrderID})
MATCH (product:Product {productId: row.ProductID})
MERGE (order)-[:PRODUCT]->(product)
----
[source,bash]
----
==> +----------------+------+--------+------------------------------+--------------------------------------------------------+
==> | Operator | Rows | DbHits | Identifiers | Other |
==> +----------------+------+--------+------------------------------+--------------------------------------------------------+
==> | EmptyResult | 0 | 0 | | |
==> | UpdateGraph | 0 | 0 | order, product, UNNAMED229 | MergePattern |
==> | Filter(0) | 0 | 0 | | Property(product,productId) == Property(row,ProductID) |
==> | NodeByLabel(0) | 0 | 0 | product, product | :Product |
==> | Filter(1) | 0 | 0 | | Property(order,orderId) == Property(row,OrderID) |
==> | NodeByLabel(1) | 0 | 0 | order, order | :Order |
==> | Slice | 0 | 0 | | { AUTOINT0} |
==> | LoadCSV | 1 | 0 | row | |
==> +----------------+------+--------+------------------------------+--------------------------------------------------------+
----
== MERGE, SET
I try to make LOAD CSV scripts as idempotent as possible so that if we add more rows or columns of data to our CSV we can rerun the query without having to recreate everything.
This can lead you towards the following pattern where we're creating suppliers:
[source,cypher]
----
USING PERIODIC COMMIT 1000
LOAD CSV WITH HEADERS FROM "file:/Users/markneedham/projects/neo4j-northwind/data/customerDb.csv" AS row
MERGE (supplier:Supplier {supplierId: row.SupplierID})
SET supplier.companyName = row.SupplierCompanyName
----
We want to ensure that there's only one Supplier with that SupplierID but we might be incrementally adding new properties and decide to just replace everything by using the 'SET' command. If we profile that query, the Eager lurks:
[source,bash]
----
==> +----------------+------+--------+--------------------+----------------------+
==> | Operator | Rows | DbHits | Identifiers | Other |
==> +----------------+------+--------+--------------------+----------------------+
==> | EmptyResult | 0 | 0 | | |
==> | UpdateGraph(0) | 0 | 0 | | PropertySet |
==> | Eager | 0 | 0 | | |
==> | UpdateGraph(1) | 0 | 0 | supplier, supplier | MergeNode; :Supplier |
==> | Slice | 0 | 0 | | { AUTOINT0} |
==> | LoadCSV | 1 | 0 | row | |
==> +----------------+------+--------+--------------------+----------------------+
----
We can work around this at the cost of a bit of duplication using 'ON CREATE SET' and 'ON MATCH SET':
[source,cypher]
----
USING PERIODIC COMMIT 1000
LOAD CSV WITH HEADERS FROM "file:/Users/markneedham/projects/neo4j-northwind/data/customerDb.csv" AS row
MERGE (supplier:Supplier {supplierId: row.SupplierID})
ON CREATE SET supplier.companyName = row.SupplierCompanyName
ON MATCH SET supplier.companyName = row.SupplierCompanyName
----
[source,bash]
----
==> +-------------+------+--------+--------------------+----------------------+
==> | Operator | Rows | DbHits | Identifiers | Other |
==> +-------------+------+--------+--------------------+----------------------+
==> | EmptyResult | 0 | 0 | | |
==> | UpdateGraph | 0 | 0 | supplier, supplier | MergeNode; :Supplier |
==> | Slice | 0 | 0 | | { AUTOINT0} |
==> | LoadCSV | 1 | 0 | row | |
==> +-------------+------+--------+--------------------+----------------------+
----
With the data set I've been working with I was able to avoid OutOfMemory exceptions in some cases and reduce the amount of time it took to run the query by a factor of 3 in others.
As time goes on I expect all of these scenarios will be addressed but as of Neo4j 2.1.5 these are the patterns that I've identified as being overly eager.
If you know of any others do let me know and I can add them to the post or write a second part. | null | null | [
-0.016659460961818695,
-0.029247155413031578,
-0.0015408610925078392,
0.042797308415174484,
0.08373214304447174,
-0.02290697954595089,
0.028123904019594193,
0.0316045805811882,
0.028647758066654205,
-0.02734425850212574,
-0.010364432819187641,
-0.016448166221380234,
-0.052796389907598495,
0.02032432332634926,
0.013190197758376598,
0.06296242773532867,
0.06365897506475449,
0.025874773040413857,
0.025563549250364304,
-0.019887058064341545,
0.02450133115053177,
0.04183315113186836,
-0.01225543674081564,
0.03401009738445282,
0.03333615884184837,
-0.024165282025933266,
-0.0267091803252697,
-0.020871590822935104,
-0.054810862988233566,
-0.0008942041895352304,
0.05618312582373619,
-0.009155729785561562,
0.02410759963095188,
-0.010318010114133358,
0.04876117780804634,
0.011951643973588943,
-0.047148872166872025,
0.021868743002414703,
-0.020222941413521767,
-0.013346130959689617,
-0.05618573725223541,
0.035419706255197525,
-0.008318006061017513,
0.004519653972238302,
-0.04555334523320198,
0.00665134284645319,
-0.040411923080682755,
0.041621133685112,
-0.0009353730129078031,
-0.004000738728791475,
-0.07529770582914352,
0.03106229566037655,
0.015773475170135498,
-0.0009328515734523535,
0.017136145383119583,
0.03841741010546684,
-0.010062302462756634,
-0.06666416674852371,
0.059307899326086044,
-0.010521559976041317,
-0.0050308904610574245,
-0.025017494335770607,
-0.005555244162678719,
0.023927226662635803,
-0.008193956688046455,
-0.05966584011912346,
0.000640587939415127,
0.06668144464492798,
-0.04818644002079964,
-0.0216537993401289,
0.0022453346755355597,
0.032929811626672745,
-0.0029605322051793337,
-0.01709132082760334,
-0.008111572824418545,
-0.0483238510787487,
-0.010655004531145096,
0.03467864170670509,
0.03865615651011467,
0.07824011892080307,
-0.025541620329022408,
0.02033154107630253,
0.02473394200205803,
0.03102092258632183,
0.008258285000920296,
-0.0333046093583107,
-0.023162895813584328,
-0.029987085610628128,
-0.0534675307571888,
0.0507669597864151,
0.032732944935560226,
-0.0551365464925766,
0.002399986609816551,
-0.007257795426994562,
-0.039888978004455566,
0.01952514238655567,
-0.01565752550959587,
0.013975954614579678,
0.023776846006512642,
-0.008176801726222038,
-0.03330176696181297,
-0.025670595467090607,
-0.005181015934795141,
0.006563883274793625,
-0.06987257301807404,
-0.009861869737505913,
-0.035779111087322235,
-0.027637992054224014,
0.009015996940433979,
-0.005344793200492859,
-0.03928918018937111,
-0.007527158595621586,
-0.02457621693611145,
0.015882030129432678,
-0.09710688143968582,
0.06278692185878754,
0.03383845463395119,
-0.015292434021830559,
-0.025998320430517197,
0.011289197951555252,
0.030169369652867317,
0.03293566405773163,
0.006752037443220615,
0.04473443329334259,
-0.015582251362502575,
0.0364418625831604,
0.026431795209646225,
0.023792454972863197,
-0.006971990689635277,
-0.07717582583427429,
0.004162908066064119,
0.05891085043549538,
-0.0031764493323862553,
0.01807251200079918,
-0.009303619153797626,
-0.028575455769896507,
-0.021069906651973724,
0.015226381830871105,
0.0688052847981453,
0.013019704259932041,
0.0008539278642274439,
-0.06158880889415741,
0.0384899377822876,
0.023249180987477303,
0.03221370279788971,
0.014678552746772766,
-0.026213206350803375,
-0.04269538074731827,
-0.03905092179775238,
-0.0008127139299176633,
0.06387059390544891,
0.03773602843284607,
0.05868208408355713,
-0.03331340104341507,
0.012259630486369133,
0.1259680837392807,
-0.0012452997034415603,
0.0017673121765255928,
-0.0051312935538589954,
0.008185877464711666,
0.028685826808214188,
0.0407530851662159,
0.019287457689642906,
0.041172292083501816,
-0.0007503181113861501,
-0.02232503332197666,
0.0012047166237607598,
0.04487621784210205,
-0.007208336144685745,
0.036772049963474274,
-0.04327677935361862,
-0.04832831397652626,
0.062119949609041214,
-0.026191016659140587,
-0.019916675984859467,
0.06390827149152756,
0.07960336655378342,
0.011880171485245228,
0.02090846188366413,
0.00240346253849566,
-0.06623514741659164,
0.04035700485110283,
-0.00076807796722278,
0.017064159736037254,
-0.008212128654122353,
0.023536862805485725,
0.06537748873233795,
0.005067334044724703,
0.014520742930471897,
0.02539217285811901,
-0.10869216173887253,
-0.028482642024755478,
-0.02223174087703228,
-0.010706692934036255,
0.06215020641684532,
-0.035695817321538925,
0.008543889969587326,
0.05534036085009575,
-0.012354934588074684,
0.0302533358335495,
0.028453821316361427,
0.014000260271131992,
0.03335219621658325,
-0.07141977548599243,
-0.06558617204427719,
0.03960364684462547,
0.018912842497229576,
-0.04117807745933533,
-0.04994608461856842,
0.032729990780353546,
-0.04744802415370941,
0.02339671365916729,
0.01422012597322464,
-0.011882439255714417,
0.029493244364857674,
0.029151424765586853,
0.04023541510105133,
-0.02051589824259281,
0.010944602079689503,
-0.02483157441020012,
0.061658598482608795,
-0.0001953311584657058,
-0.03160068020224571,
-0.001972635742276907,
-0.014751995913684368,
0.09624076634645462,
0.05086953938007355,
-0.011078192852437496,
-0.06300146877765656,
0.038911741226911545,
0.020117556676268578,
-0.021155621856451035,
0.013014882802963257,
-0.023815082386136055,
-0.012413141317665577,
-0.020059160888195038,
-0.019897064194083214,
-0.0009846299653872848,
-0.003417267231270671,
-0.010443915612995625,
0.0013422730844467878,
0.03986053168773651,
-0.002112751128152013,
0.03828815370798111,
0.014727077446877956,
-0.026170792058110237,
0.016427263617515564,
-0.03757626563310623,
-0.05724035203456879,
0.02704831212759018,
0.018027586862444878,
0.010132276453077793,
0.05906136706471443,
-0.02965417131781578,
-0.020799340680241585,
-0.02760438062250614,
-0.05070512369275093,
0.04391006752848625,
0.037662606686353683,
0.07151394337415695,
0.007876996882259846,
0.05276026949286461,
-0.027109555900096893,
0.0002703694917727262,
-0.003961510956287384,
-0.049279194325208664,
-0.05353205278515816,
-0.04586191102862358,
0.029340237379074097,
-0.007386398501694202,
0.018850969150662422,
-0.010863419622182846,
0.03137427195906639,
-0.024462906643748283,
0.01999242976307869,
-0.021063532680273056,
0.02239302359521389,
0.02165140211582184,
0.005224323831498623,
-0.036773014813661575,
-0.027643831446766853,
0.05986190214753151,
-0.05433841049671173,
-0.02097327448427677,
-0.015490392223000526,
-0.03820506110787392,
0.04785188287496567,
-0.05306632071733475,
-0.02679816260933876,
-0.004191741347312927,
0.03337682783603668,
0.044661372900009155,
0.017052307724952698,
0.011251556687057018,
0.06816747784614563,
0.035152122378349304,
0.005878668278455734,
0.006096148397773504,
0.009551760740578175,
0.06561066210269928,
0.006707262713462114,
0.02770569920539856,
0.04897979274392128,
-0.00947315152734518,
-0.008309250697493553,
-0.03605832904577255,
-0.007369456812739372,
-0.015573768876492977,
-0.3002939224243164,
0.07107119262218475,
-0.00872931256890297,
-0.06115425378084183,
0.014389176853001118,
-0.022437073290348053,
-0.006862985901534557,
-0.009934749454259872,
-0.029196683317422867,
0.022625135257840157,
0.0019321904983371496,
-0.001003257930278778,
-0.030998263508081436,
0.0415460504591465,
0.023785196244716644,
0.04182419180870056,
0.031649865210056305,
-0.05008738860487938,
-0.0021966705098748207,
0.03258926048874855,
0.010549253784120083,
-0.02823067456483841,
-0.004297356586903334,
0.009617162868380547,
0.020625080913305283,
0.03350754827260971,
-0.08143176138401031,
0.031081078574061394,
-0.049956392496824265,
-0.01863127388060093,
0.0032436861656606197,
-0.039872992783784866,
0.01203889586031437,
0.00682063540443778,
-0.02001110650599003,
-0.00018486529006622732,
0.05143935605883598,
0.01329568400979042,
0.01409868709743023,
0.0062460447661578655,
-0.040931522846221924,
-0.05215585231781006,
-0.02068878896534443,
0.0048013608902692795,
0.07896453142166138,
-0.01005470473319292,
-0.07211009413003922,
0.0008748532854951918,
-0.0019075258169323206,
0.04047607630491257,
-0.0362754762172699,
-0.05738314613699913,
-0.018207434564828873,
0.024937182664871216,
0.018853334710001945,
-0.01955229416489601,
-0.030022989958524704,
-0.008160808123648167,
-0.05465269088745117,
-0.031224165111780167,
-0.0005548088811337948,
-0.054926797747612,
0.0061241318471729755,
-0.06168367341160774,
-0.018003273755311966,
-0.04226943850517273,
-0.07857809215784073,
-0.03646809607744217,
0.05166718736290932,
0.04776615649461746,
-0.002095523290336132,
0.04116211459040642,
0.015775185078382492,
-0.1053544357419014,
-0.03193412348628044,
-0.03937847912311554,
0.0027519958093762398,
0.0229177288711071,
-0.0408930741250515,
0.059348445385694504,
-0.05513288825750351,
-0.0459895022213459,
0.012918969616293907,
0.021843723952770233,
0.017142878845334053,
-0.027246346697211266,
0.01995095983147621,
-0.03270480036735535,
-0.04178595170378685,
0.0217305775731802,
0.07261864840984344,
-0.03567695617675781,
-0.009235087782144547,
-0.0011947114253416657,
-0.008546805940568447,
0.006382395513355732,
-0.00849865097552538,
-0.011586838401854038,
0.028087884187698364,
0.04919914901256561,
0.0544261634349823,
-0.017477869987487793,
0.0316758006811142,
-0.042246926575899124,
-0.040514025837183,
-0.009427646175026894,
-0.03772473707795143,
0.018247704952955246,
0.011500624939799309,
0.04704112559556961,
-0.012765792198479176,
-0.013460909016430378,
0.008605857379734516,
-0.040181033313274384,
-0.022476786747574806,
0.012777991592884064,
0.01964513212442398,
0.013118722476065159,
0.021456677466630936,
-0.04396488890051842,
-0.05579152703285217,
0.03199973702430725,
0.036651380360126495,
-0.010286781936883926,
-0.054377246648073196,
-0.009678562171757221,
0.006138442549854517,
-0.005311508662998676,
-0.011607709340751171,
0.0166392233222723,
-0.07201239466667175,
0.006141833495348692,
0.013845428824424744,
-0.01869707927107811,
0.046015415340662,
-0.03683405742049217,
-0.034133121371269226,
-0.019398776814341545,
0.02087700366973877,
0.005975075997412205,
-0.031411897391080856,
0.0013970681466162205,
-0.005853781010955572,
0.07122886925935745,
0.04259265959262848,
0.04030279070138931,
0.026648715138435364,
0.019182199612259865,
0.03272309526801109,
-0.011656991206109524,
-0.023109296336770058,
-0.0522952526807785,
0.02180369757115841,
-0.025105535984039307,
-0.048708993941545486,
-0.010317903943359852,
0.04525098204612732,
-0.009036784060299397,
-0.007954737171530724,
-0.03771979734301567,
0.03138844296336174,
-0.05723847076296806,
0.02771124057471752,
0.002005483489483595,
-0.005887825507670641,
0.04670405760407448,
-0.022540323436260223,
0.025642666965723038,
-0.02132699452340603,
0.0029668293427675962,
-0.0031216638162732124,
0.04071298614144325,
-0.04072415828704834,
-0.010489528998732567,
0.010259374044835567,
0.005605580750852823,
0.0031409149523824453,
0.03611655533313751,
0.023692293092608452,
0.032519593834877014,
0.007243677042424679,
0.007633937988430262,
0.007049764506518841,
0.02583302929997444,
0.0462941899895668,
0.02698257379233837,
-0.012592717073857784,
0.018182547762989998,
-0.016094554215669632,
-0.0209332387894392,
-0.02816956304013729,
-0.006172223947942257,
-0.0039147138595581055,
-0.013884861022233963,
-0.014727608300745487,
-0.05414898693561554,
0.07353904843330383,
0.0038129875902086496,
-0.01341194473206997,
0.05282819643616676,
-0.004454505629837513,
-0.018312856554985046,
-0.030296344310045242,
0.0232780110090971,
0.018787004053592682,
-0.04481257498264313,
-0.04179651290178299,
-0.010390307754278183,
-0.01999330148100853,
-0.015460067428648472,
0.02371874637901783,
-0.057873792946338654,
-0.03740828111767769,
-0.005404993891716003,
0.023689493536949158,
-0.031828537583351135,
-0.05685781314969063,
-0.0127348517999053,
0.004274907521903515,
-0.0032437287736684084,
0.0014759809710085392,
0.0124844741076231,
0.014607285149395466,
-0.017319129779934883,
0.0133114168420434,
0.03637223690748215,
-0.00045842156396247447,
-0.0388772077858448,
0.025019600987434387,
-0.020820602774620056,
0.02539573609828949,
-0.03436589241027832,
0.0379071980714798,
0.001756994635798037,
-0.027216710150241852,
0.0027695419266819954,
-0.007946833968162537,
0.03624771162867546,
-0.017204323783516884,
0.03631296381354332,
-0.01750056818127632,
-0.00784244667738676,
-0.02203398197889328,
0.019694628193974495,
-0.012875312007963657,
0.015518657863140106,
-0.01627744361758232,
-0.006011656951159239,
0.0033286004327237606,
0.054256949573755264,
0.005298640578985214,
0.036894459277391434,
-0.002099965699017048,
-0.047097980976104736,
0.017472833395004272,
-0.045012444257736206,
-0.036339569836854935,
-0.03012654185295105,
-0.050431735813617706,
0.0041057956404984,
0.02665616385638714,
0.007773109711706638,
-0.0484035462141037,
0.056686751544475555,
0.04079987108707428,
0.022200897336006165,
0.043076127767562866,
-0.014391467906534672,
0.05259573087096214,
-0.013170139864087105,
-0.044406816363334656,
-0.09646070003509521,
-0.005342256743460894,
0.05945859104394913,
0.006627104710787535,
0.007640386465936899,
-0.025295069441199303,
-0.02030915580689907,
0.008338121697306633,
-0.04575254023075104,
-0.040967658162117004,
0.03800790384411812,
-0.021106993779540062,
0.03241051733493805,
0.009489994496107101,
-0.06306175887584686,
-0.012993891723453999,
0.0273013636469841,
-0.012684964574873447,
-0.035861384123563766,
-0.039721712470054626,
0.05612471327185631,
-0.027505889534950256,
0.01747317984700203,
-0.05587634816765785,
-0.015297574922442436,
0.06499125808477402,
-0.006751073990017176,
0.03455187380313873,
0.027563979849219322,
-0.017160747200250626,
0.03911665081977844,
0.04100305959582329,
-0.022787394002079964,
-0.0030065143946558237,
0.027953727170825005,
-0.018431605771183968,
-0.04931393638253212,
0.02736065909266472,
-0.0006763836136087775,
0.005985804833471775,
-0.03522270917892456,
0.06466566771268845,
0.03894508630037308,
-0.045700959861278534,
-0.0521342009305954,
0.035975951701402664,
-0.0181929599493742,
-0.014514783397316933,
-0.049214061349630356,
0.006604510825127363,
-0.03500211983919144,
0.029179956763982773,
-0.022431133314967155,
0.006973284762352705,
0.07155381888151169,
-0.0068139126524329185,
-0.005429751239717007,
-0.00031195979681797326,
0.06880287826061249,
0.08952049911022186,
0.03943084180355072,
-0.007426261901855469,
0.05419681593775749,
-0.000785258540417999,
-0.03480643779039383,
-0.029150808230042458,
-0.036646973341703415,
-0.011058945208787918,
-0.0026061590760946274,
-0.0008800547220744193,
0.053573377430438995,
-0.023136280477046967,
0.08433377742767334,
-0.030475113540887833,
-0.0051071979105472565,
-0.013494547456502914,
-0.036711953580379486,
0.031155800446867943,
0.06862083822488785,
0.017351225018501282,
0.030570877715945244,
-0.05573122575879097,
-0.028863148763775826,
0.014385716058313847,
0.0075168367475271225,
-0.027805892750620842,
0.029881983995437622,
-0.014742209576070309,
-0.010668868198990822,
-0.017654571682214737,
0.027995923534035683,
0.08064822107553482,
-0.03790047764778137,
0.006202853284776211,
-0.001248412299901247,
0.022954590618610382,
-0.024613210931420326,
0.029004039242863655,
0.002885189838707447,
-0.03005882352590561,
-0.0031936457380652428,
-0.035592831671237946,
-0.021365894004702568,
0.004095642361789942,
-0.05851840600371361,
-0.0024984239134937525,
-0.026804672554135323,
-0.027688469737768173,
0.00569113390520215,
-0.026342105120420456,
-0.040298208594322205,
-0.036878298968076706,
-0.038901496678590775,
-0.05076158791780472,
-0.07153770327568054,
0.0024730328004807234,
0.01252575870603323,
0.016202116385102272,
-0.009866616688668728,
0.005859480705112219,
-0.02573315054178238,
-0.024370016530156136,
0.05086538940668106,
-0.04422124847769737,
-0.008586162701249123,
0.02366059087216854,
0.02800731733441353,
0.0030266884714365005,
0.019663028419017792,
0.045773252844810486,
0.0018502480816096067,
0.013203554786741734,
-0.002061573788523674,
0.007666822988539934,
0.05666985735297203,
0.00803783442825079,
-0.009238543920218945,
-0.07660939544439316,
0.005678147543221712,
0.018657738342881203,
-0.015370792709290981,
-0.07703755050897598,
0.01286065112799406,
0.05352010205388069,
-0.019517360255122185,
0.03769482672214508,
-0.0072257909923791885,
0.003177801612764597,
-0.04501783102750778,
0.008372141979634762,
-0.006588217802345753,
0.016428537666797638,
0.016518354415893555,
-0.007280108984559774,
0.06947441399097443,
0.033915553241968155,
-0.036233797669410706,
-0.0429789274930954,
-0.027315735816955566,
-0.007842743769288063,
0.03289022296667099,
-0.02953774854540825,
-0.03836168348789215,
-0.06139090657234192,
-0.07789424806833267,
-0.04510646313428879,
0.006367384921759367,
-0.012414749711751938,
-0.008745042607188225,
0.0050524198450148106,
0.02791712060570717,
-0.056277841329574585,
0.010794833302497864,
-0.016962723806500435,
0.030658384785056114,
-0.031062966212630272,
-0.029563970863819122,
-0.003979390952736139,
0.03016946092247963,
-0.006767920218408108,
-0.0031328843906521797,
0.035116977989673615,
-0.049701083451509476,
0.016293229535222054,
-0.018530888482928276,
0.02136179432272911,
0.03418581932783127,
0.04578277841210365,
0.00019919306214433163
] | [
-0.05743509158492088,
-0.008602574467658997,
-0.03717878833413124,
-0.01791144162416458,
0.06802643090486526,
-0.026603544130921364,
-0.02844376675784588,
0.00652929674834013,
0.01857726275920868,
-0.013802685774862766,
0.015586759895086288,
-0.005499574821442366,
0.002611975185573101,
-0.0005228265072219074,
0.05973372235894203,
-0.008692916482686996,
-0.0266095157712698,
-0.062172096222639084,
-0.030605537816882133,
0.06335042417049408,
-0.05320743843913078,
-0.058485087007284164,
-0.02345460280776024,
-0.06666691601276398,
-0.012790314853191376,
0.006951325573027134,
0.03526429459452629,
-0.04644506424665451,
-0.018946517258882523,
-0.21816518902778625,
0.0038325160276144743,
0.0015018568374216557,
-0.0020406872499734163,
-0.0027704250533133745,
0.01706620492041111,
0.004819858353585005,
0.06077628582715988,
-0.038856279104948044,
0.00974760390818119,
0.03955349326133728,
0.028257125988602638,
0.021534133702516556,
-0.08156396448612213,
0.0003383883449714631,
0.034597188234329224,
0.006435629911720753,
-0.0024495332036167383,
-0.008229724131524563,
-0.012748041190207005,
0.04110085964202881,
-0.023649539798498154,
-0.0018781224498525262,
0.006893901154398918,
-0.008674316108226776,
0.00388898141682148,
0.05299821496009827,
0.04990403354167938,
0.07042373716831207,
0.019461384043097496,
0.02368711307644844,
0.01114763505756855,
0.008777937851846218,
-0.11475706845521927,
0.06893400847911835,
0.0045082890428602695,
0.004529670812189579,
-0.05533917620778084,
0.0035719769075512886,
-0.04746045917272568,
0.0722738653421402,
-0.001378693850710988,
0.006318895611912012,
-0.07458856701850891,
0.07800957560539246,
0.009506459347903728,
0.017890632152557373,
-0.0036317582707852125,
0.05026780441403389,
0.02868908829987049,
-0.03162701800465584,
-0.047535490244627,
-0.0066551030613482,
-0.030325651168823242,
-0.018791208043694496,
-0.04598253592848778,
0.03578134998679161,
-0.02115696854889393,
0.04145634546875954,
0.006419154815375805,
0.014451109804213047,
0.037991054356098175,
0.022876573726534843,
0.050934646278619766,
0.027300000190734863,
-0.0822741910815239,
-0.01854540966451168,
0.023275036364793777,
0.0391448549926281,
0.03546880558133125,
0.3880046308040619,
-0.005823273677378893,
-0.00020450339070521295,
0.03711088374257088,
0.045782141387462616,
0.0026866586413234472,
-0.011822857894003391,
-0.00294597540050745,
-0.04034344106912613,
0.03742343187332153,
-0.01880321465432644,
0.011550471186637878,
-0.04302099719643593,
0.04197915643453598,
-0.08929046988487244,
0.006983117666095495,
-0.005215953104197979,
0.04122108966112137,
0.005056445021182299,
-0.036632563918828964,
0.009756079874932766,
-0.005405794363468885,
0.011823445558547974,
0.04403788223862648,
-0.0039031568448990583,
0.04683893173933029,
-0.0003710565797518939,
0.02216292731463909,
0.04481998085975647,
0.02709641493856907,
0.00015335687203332782,
0.03714714199304581,
0.012585075572133064,
-0.07519790530204773,
0.045423123985528946,
-0.0032758156303316355,
-0.00898610521107912,
0.03965625911951065,
-0.04637320339679718,
-0.003714468330144882,
0.005671430844813585,
-0.019664140418171883,
0.001622030045837164,
0.038709670305252075,
-0.008982843719422817,
-0.03715955466032028,
0.12498392164707184,
0.010985703207552433,
-0.016352569684386253,
-0.024509914219379425,
-0.08107148110866547,
0.013487868942320347,
0.042878273874521255,
0.014734843745827675,
-0.09194621443748474,
-0.025880558416247368,
0.0077131157740950584,
0.07276145368814468,
0.013894982635974884,
-0.1172633096575737,
-0.029046503826975822,
-0.029953699558973312,
-0.026956435292959213,
-0.02613316848874092,
0.07636191695928574,
0.050878919661045074,
-0.09374817460775375,
-0.006547404453158379,
0.025982093065977097,
0.02554944157600403,
-0.05220012366771698,
0.02165832556784153,
-0.0014852953609079123,
-0.08579714596271515,
-0.022398363798856735,
0.077133409678936,
-0.03861616551876068,
-0.0488741509616375,
-0.012961057014763355,
0.04641261696815491,
0.01076502539217472,
-0.007415983825922012,
0.011942650191485882,
-0.018982410430908203,
0.015689123421907425,
-0.08131088316440582,
-0.06306745857000351,
-0.06390367448329926,
0.05671456456184387,
-0.01954423449933529,
-0.05402754992246628,
-0.01340425480157137,
-0.019746875390410423,
-0.05378401651978493,
0.07413140684366226,
-0.032535579055547714,
-0.030671892687678337,
-0.010860417038202286,
0.042035363614559174,
-0.020469631999731064,
-0.04287830367684364,
0.025005487725138664,
0.01212091464549303,
-0.03180447965860367,
0.034356601536273956,
-0.041697680950164795,
0.01331974659115076,
0.06147771328687668,
-0.03933890908956528,
0.0706096738576889,
0.02884175442159176,
-0.04386986419558525,
0.023445921018719673,
-0.030826063826680183,
0.01348123885691166,
-0.029020564630627632,
-0.023825697600841522,
-0.005677373148500919,
-0.016626158729195595,
0.031053995713591576,
0.05718883499503136,
-0.03283378481864929,
-0.025097638368606567,
-0.007948552258312702,
-0.3649284839630127,
-0.043996524065732956,
-0.02134612202644348,
-0.00021653829026035964,
0.028396114706993103,
-0.04254363104701042,
0.036947473883628845,
-0.020413527265191078,
0.01915944367647171,
0.00785083882510662,
0.06442928314208984,
0.012427750043570995,
-0.014794919639825821,
-0.10296749323606491,
0.00917152687907219,
0.03226126730442047,
-0.0012567384401336312,
-0.01124727912247181,
-0.04760691896080971,
0.008642137981951237,
0.014400563202798367,
-0.06583776324987411,
-0.030799221247434616,
-0.05071033164858818,
0.022538460791110992,
-0.017309093847870827,
0.09487275779247284,
-0.001282646437175572,
0.03328954800963402,
-0.05254054814577103,
0.04850068315863609,
-0.00041867748950608075,
-0.0063517047092318535,
-0.08193141967058182,
-0.0038223820738494396,
-0.023928847163915634,
0.019729008898139,
0.007658967282623053,
0.00010411743278382346,
0.01770230010151863,
-0.05790141224861145,
-0.015938084572553635,
-0.030349722132086754,
-0.04047395661473274,
-0.0255593191832304,
0.023563595488667488,
-0.02622203715145588,
-0.002160178031772375,
0.0005479856044985354,
0.08490706235170364,
0.0000745428042137064,
0.021625958383083344,
-0.006228484213352203,
0.04623476043343544,
0.0333024300634861,
-0.02571914717555046,
-0.05125346779823303,
-0.012378945015370846,
0.034608885645866394,
0.035553570836782455,
-0.021925486624240875,
0.020599892362952232,
0.02659732848405838,
-0.08537256717681885,
0.03200920298695564,
-0.00637391209602356,
0.0071973297744989395,
0.0034792807418853045,
0.03833717480301857,
-0.043035704642534256,
-0.03769809007644653,
0.09172572195529938,
-0.02256345935165882,
0.035857755690813065,
0.047312796115875244,
0.04093660041689873,
-0.01416613720357418,
0.008297591470181942,
0.024031447246670723,
-0.0039048187900334597,
0.06088465824723244,
-0.04252569004893303,
0.08424471318721771,
-0.03540784865617752,
-0.015484139323234558,
0.05953313410282135,
0.011910056695342064,
-0.02978982962667942,
0.033660709857940674,
0.013493693433701992,
-0.03351374343037605,
0.008253817446529865,
-0.037137050181627274,
-0.07065092772245407,
0.08397841453552246,
-0.012500458396971226,
-0.2416730374097824,
0.042300377041101456,
0.011521671898663044,
0.057440344244241714,
0.024751337245106697,
-0.004685654770582914,
0.03254781663417816,
-0.052070118486881256,
0.02175137959420681,
0.038282137364149094,
0.04051758348941803,
0.05305344611406326,
-0.005329718813300133,
-0.014090387150645256,
0.008533164858818054,
0.006116716656833887,
0.024004682898521423,
0.01737087592482567,
0.0562051460146904,
0.010854515247046947,
0.03050154820084572,
-0.029094675555825233,
0.1860199272632599,
0.033609889447689056,
0.0049657877534627914,
0.048873789608478546,
-0.03318655490875244,
0.005534276831895113,
0.010360624641180038,
0.005099304020404816,
-0.026655279099941254,
0.02783246338367462,
0.0009169592522084713,
0.037994880229234695,
0.014446494169533253,
-0.032417912036180496,
-0.021973857656121254,
0.05571773275732994,
0.03409932926297188,
-0.03427688777446747,
0.0007180887623690069,
0.02501293085515499,
-0.027111927047371864,
0.052477624267339706,
0.062247615307569504,
-0.035356245934963226,
0.008919961750507355,
-0.02358405850827694,
-0.05387403815984726,
-0.010098234750330448,
-0.04011208564043045,
-0.0512305349111557,
-0.005006433930248022,
-0.027188636362552643,
0.012334239669144154,
0.10191729664802551,
0.009099723771214485,
-0.013447782024741173,
0.03446110710501671,
0.026845185086131096,
-0.010282772593200207,
-0.0378502681851387,
0.09156470000743866,
-0.005106254946440458,
0.0007867992972023785
] | [
0.043478019535541534,
0.05863010510802269,
-0.033095359802246094,
0.04159175232052803,
-0.006381262559443712,
-0.008680010214447975,
-0.02054954506456852,
0.0019621255341917276,
-0.01071000937372446,
0.014813599176704884,
-0.018522927537560463,
-0.0022537666372954845,
0.08367998898029327,
0.002071100054308772,
-0.010693010874092579,
-0.002250086050480604,
-0.035316016525030136,
0.031154565513134003,
0.009191234596073627,
0.005895962938666344,
-0.03760959208011627,
-0.022701574489474297,
0.04633702337741852,
-0.0332740843296051,
0.0000346302185789682,
0.006685132160782814,
-0.03762534633278847,
-0.01627631112933159,
0.0122452387586236,
-0.11205395311117172,
-0.028954830020666122,
-0.00008591163350502029,
-0.01972109079360962,
0.027402028441429138,
-0.012945008464157581,
0.02539212629199028,
0.02627767249941826,
0.03245268389582634,
-0.0313003808259964,
0.047775354236364365,
0.049780867993831635,
0.01222954224795103,
-0.017386803403496742,
0.009291562251746655,
0.017414189875125885,
-0.0194267388433218,
-0.02374352142214775,
-0.03887594863772392,
0.011976851150393486,
-0.013939470052719116,
-0.04941106215119362,
-0.018453873693943024,
-0.021533112972974777,
0.0098420986905694,
-0.021344538778066635,
0.010107393376529217,
-0.01435733400285244,
-0.019735021516680717,
0.027982410043478012,
0.010641547851264477,
0.053611382842063904,
-0.023136232048273087,
-0.02317803166806698,
-0.019411813467741013,
-0.004657854326069355,
0.004777650814503431,
0.020541861653327942,
0.04253500699996948,
0.01404526550322771,
-0.0021928369533270597,
-0.03867809846997261,
0.061225131154060364,
-0.12648896872997284,
-0.01924959197640419,
-0.03165218234062195,
0.03245748206973076,
0.0461123026907444,
-0.036438655108213425,
-0.014462779276072979,
-0.014091682620346546,
-0.040562521666288376,
-0.003659959649667144,
-0.021086540073156357,
-0.01769719272851944,
-0.0471966415643692,
0.029286351054906845,
-0.00464711245149374,
-0.015114594250917435,
0.012991541065275669,
0.01681744121015072,
0.02095697820186615,
0.010704346001148224,
-0.0020379717461764812,
-0.03743862360715866,
-0.09040709584951401,
-0.017394790425896645,
0.0474947914481163,
-0.012000421062111855,
0.030013537034392357,
0.793131411075592,
0.05735740438103676,
-0.011561799794435501,
-0.0001773677213350311,
0.009378629736602306,
-0.004864736460149288,
0.012677266262471676,
0.04499441012740135,
0.025015339255332947,
-0.039275191724300385,
-0.005553217139095068,
-0.020839586853981018,
0.04865483194589615,
0.0013323199236765504,
-0.016610804945230484,
-0.0059782578609883785,
0.02475772053003311,
-0.022691112011671066,
-0.0150421392172575,
-0.03957269340753555,
0.02964768186211586,
0.016931522637605667,
0.008173970505595207,
-0.011339200660586357,
-0.008056939579546452,
-0.01956702023744583,
-0.14908304810523987,
-0.009362641721963882,
-7.016433944562076e-33,
0.05274800956249237,
-0.008634606376290321,
0.08112654089927673,
0.013526646420359612,
0.014584695920348167,
0.018064748495817184,
0.024062784388661385,
-0.01947869174182415,
-0.046078525483608246,
-0.04047754406929016,
-0.00041971929022111,
-0.010697677731513977,
-0.007226875051856041,
-0.0021090847440063953,
-0.008593693375587463,
-0.02337665855884552,
0.010686557739973068,
0.005875611212104559,
-0.00034063513157889247,
0.008466484025120735,
0.0049816397950053215,
0.04348539933562279,
-0.03351766988635063,
0.025861306115984917,
0.03363562002778053,
0.0077330744825303555,
0.00267539219930768,
0.005915048997849226,
-0.04526412487030029,
-0.049844417721033096,
-0.051757823675870895,
0.019677449017763138,
0.004681944847106934,
-0.03293526545166969,
0.026098931208252907,
-0.07304371148347855,
-0.011861871927976608,
0.0031211695168167353,
-0.03232128173112869,
-0.07685837149620056,
-0.04454006627202034,
0.0002321675419807434,
-0.008884218521416187,
-0.016555456444621086,
-0.03941734880208969,
0.0031558999326080084,
-0.018175235018134117,
-0.0026384503580629826,
-0.0018695977050811052,
0.00236011971719563,
0.02954445406794548,
0.0384860560297966,
0.008198073133826256,
0.0004914492601528764,
-0.05955004319548607,
0.014531275257468224,
0.031192971393465996,
-0.028996093198657036,
-0.017320094630122185,
0.020964238792657852,
0.048976872116327286,
0.007697984576225281,
-0.06117704138159752,
0.046058692038059235,
0.01622038148343563,
0.011884969659149647,
0.0162129458039999,
0.024712461978197098,
-0.028003277257084846,
0.04989525303244591,
-0.04538792744278908,
0.04564155265688896,
-0.02114342898130417,
-0.051799267530441284,
0.040808770805597305,
-0.03633376955986023,
-0.030242815613746643,
-0.0012446257751435041,
0.005331722553819418,
0.06365247815847397,
-0.023303300142288208,
-0.03794548660516739,
-0.006521001923829317,
-0.04066196829080582,
-0.012404483743011951,
0.02086164988577366,
0.05456888675689697,
0.032332710921764374,
0.04304507002234459,
0.012357152998447418,
0.06680138409137726,
0.02276269532740116,
0.008788248524069786,
-0.030327551066875458,
-0.03531143441796303,
6.678943638969243e-33,
-0.01017631683498621,
0.01367234904319048,
-0.01801164820790291,
0.03574231639504433,
0.0333634614944458,
0.05498703941702843,
-0.0044690025970339775,
0.010093338787555695,
-0.041881732642650604,
0.01730651594698429,
0.015198448672890663,
0.002275903010740876,
-0.00732378801330924,
0.03753894194960594,
0.047217126935720444,
0.016788670793175697,
-0.0018220908241346478,
-0.07070942968130112,
-0.01725466549396515,
0.030487019568681717,
-0.002326862420886755,
0.007773489225655794,
0.004181887488812208,
0.011396177113056183,
0.03278022259473801,
0.006141813471913338,
0.0004527045239228755,
0.011843941174447536,
-0.032449871301651,
0.023323068395256996,
-0.00851812306791544,
-0.041503965854644775,
-0.02103462629020214,
-0.017566492781043053,
-0.005194078199565411,
-0.013883108273148537,
-0.0052555641159415245,
0.013279535807669163,
-0.0016189203597605228,
0.03148871287703514,
0.007602181751281023,
0.026176540181040764,
-0.042548030614852905,
0.08249521255493164,
0.014158770442008972,
0.03258311748504639,
-0.0045081619173288345,
0.015661166980862617,
0.008562667295336723,
0.05075379088521004,
-0.003087961347773671,
0.03927323594689369,
0.001362788607366383,
0.015731489285826683,
0.046294789761304855,
-0.055294934660196304,
-0.045023709535598755,
0.013135962188243866,
-0.006714945193380117,
-0.0003563744539860636,
-0.05116662383079529,
-0.001682022586464882,
-0.018450921401381493,
0.013564489781856537,
-0.004459833260625601,
-0.012813934125006199,
-0.03033982776105404,
0.033782485872507095,
-0.034675367176532745,
-0.024416005238890648,
0.026311304420232773,
0.008033511228859425,
0.0012987651862204075,
0.011119452305138111,
0.011200870387256145,
-0.037068139761686325,
-0.025793401524424553,
-0.025943921878933907,
-0.04640599340200424,
0.030520038679242134,
0.02080896496772766,
0.044694606214761734,
0.013117121532559395,
-0.02018151618540287,
-0.01779947243630886,
-0.0017838375642895699,
-0.015203453600406647,
0.017866840586066246,
-0.025042681023478508,
0.004786583594977856,
0.01102389581501484,
-0.03672134876251221,
-0.0009253332391381264,
0.028459398075938225,
-0.025034205988049507,
-1.2391833337233038e-8,
-0.03499041870236397,
0.02199009247124195,
-0.010594996623694897,
-0.008821056224405766,
0.026065083220601082,
0.0026804236695170403,
-0.01825558766722679,
0.0030142986215651035,
0.007389737758785486,
0.03535962477326393,
0.036340005695819855,
-0.029587438330054283,
0.0029857333283871412,
-0.019970683380961418,
0.0049941930919885635,
-0.026324577629566193,
-0.01921161822974682,
-0.011998841539025307,
0.02965548448264599,
0.003362293355166912,
0.0030187431257218122,
0.03548469394445419,
-0.03854876756668091,
0.0187744852155447,
0.013167332857847214,
0.004283082205802202,
0.04031949117779732,
-0.05580383166670799,
0.008041881024837494,
-0.039178021252155304,
-0.02626471035182476,
-0.03496181592345238,
-0.0345635712146759,
0.012539351359009743,
-0.024839147925376892,
-0.021260160952806473,
0.029679007828235626,
0.039894044399261475,
0.025352075695991516,
0.027487363666296005,
-0.009921145625412464,
-0.025305692106485367,
-0.022007865831255913,
-0.030677389353513718,
-0.039220042526721954,
0.003030583495274186,
-0.04856574907898903,
-0.016267886385321617,
0.05034025013446808,
-0.03744970262050629,
-0.0009812297066673636,
-0.016456974670290947,
0.0428512766957283,
0.068601593375206,
0.05715150386095047,
-0.014872375875711441,
0.016005253419280052,
0.028668973594903946,
0.001171605195850134,
-0.020193878561258316,
0.011380171403288841,
0.00011226080823689699,
-0.024511059746146202,
-0.00858603697270155
] | neo4j-cypher-avoiding-the-eager | https://markhneedham.com/blog/2014/10/23/neo4j-cypher-avoiding-the-eager |
false | 2014-10-13 23:59:25 | The Hard Thing About Hard Things - Ben Horowitz: Book Review | [
"books",
"book-review",
"horowitz"
] | [
"Books"
] | I came across 'http://www.amazon.co.uk/The-Hard-Thing-About-Things/dp/0062273205/ref=sr_1_1?ie=UTF8&qid=1413108493&sr=8-1&keywords=hard+thing+about+hard+things[The Hard Thing About Hard Things]' while reading https://medium.com/life-learning/how-andreessen-horowitz-is-disrupting-silicon-valley-208041d6375d[an article about Ben Horowitz's venture capital firm] and it was intriguing enough that I bought it and then read through it over a couple of days.
Although the blurb suggests that it's a book about about building and running a startup I think a *lot of the lessons are applicable for any business*.
These were some of the main points that stood out for me:
* *The Positivity Delusion* - CEOs should tell it like it is.
+
____
My single biggest improvement as CEO occurred on the day when I stopped being too positive.
____
+
Horowitz suggests that he used to be too positive and would shield bad news from his employees as he thought he'd make the problem worse by transferring the burden onto them. He came to the realisation that this was counter productive since he often wasn't the best placed person to fix a problem e.g. if it was a problem with the product then the engineering team needed to know so they could write the code to fix it. He goes on to suggest that\...
+
____
A healthy company culture encourages people to share bad news. A company that discusses its problems freely and openly can quickly solve them. A company that covers up its problems frustrated everyone involved.
____
+
I've certainly worked on projects in the past where the view projected by the most senior person is overly positive and seems to ignore any problems that seem obvious to everyone else. This eventually leads to people being unsure whether to take them seriously which isn't a great situation to be in.
* Lead Bullets - *fix the problem, don't run away from it*. Horowitz describes a couple of situations where his products have been inferior to their competitors and it's been tempting to take the easy way out by not fixing the product.
+
____
There comes a time in every company's life where it must fight for its life. If you find yourself running when you should be fighting, you need to ask yourself, "If our company isn't good enough to win, then do we need to exist at all?".
____
+
I can't think of any examples around this from my experience but I really like the advice - I'm sure it'll come in handy in future.
* *Give ground grudgingly* - dealing with the company increasing in size. Horowitz suggests that the following things become more difficult as a company grows in size:
** Communication
** Common Knowledge
** Decision Making
+
but\...
+
____
If the company doesn't expand it will never be much\...so the challenge is to grow but degrade as slowly as possible.
____
+
He uses the metaphor of an offensive linesman in American football who has to stop onrushing defensive linesman but giving ground to them slowly by backing up a little at a time. I've worked in a few different companies now and noticed things become more structured (and in my eyes worse!) as the company grew over time but I hadn't really thought about why that was happening. The chapter on scaling a company does a decent job.
* *The Law of Crappy People* - people baseline against the worst person at a grade level.
+
____
For any title level in a large organisation, the talent on that level will eventually converge to the crappiest person with that title.
____
+
This is something that he's also http://www.bhorowitz.com/titles_and_promotions[written about on his blog] and certainly seems very recognisable. His suggestion for mitigating the problem is to have a "properly constructed and highly disciplined promotion process" in place. He describes this like so:
+
____
When a manager wishes to promote an employee, she will submit that employee for review with an explanation of why she believes her employee satisfies the skill criteria required for the level. The committee should compare the employee to both the level's skill description and the skills of the other employees at that level to determine whether or not to approve the promotion.
____
* *Hire people with the right kind of ambition*
+
____
The wrong kind of ambition is ambition for the executive's personal success regardless of the company's outcome.
____
+
This suggestion comes from the chapter in which Horowitz discusses how to minimise politics in an organisation. I really like this idea but it seems like a difficult thing to judge/achieve. In my experience people often have their own goals which aren't necessarily completely aligned with the company's. Perhaps complete alignment isn't as important unless you're right at the top of the company? He also has quite a neat definition of politics:
+
____
What do I mean by politics? I mean people advancing their careers or agendas by means other than merit and contribution.
____
+
He goes on to describe a few stories of how political behaviour can subtly creep into a company without the CEO meaning for it to happen. This chapter was definitely eye opening for me.
There are some other interesting chapters on the best types of CEOs for different companies, when to hire Senior external people, product management and much more.
I realise that the things I've picked out are mostly a case of http://en.wikipedia.org/wiki/Confirmation_bias[confirmation bias] so I'm sure everyone will have different things that stand out for them.
Definitely worth a read. | null | null | [
0.01529486570507288,
0.005381764844059944,
-0.007388184778392315,
0.03840300813317299,
0.09505987912416458,
0.02579619735479355,
0.002584568690508604,
0.053406815975904465,
0.028853928670287132,
-0.013284471817314625,
-0.028651613742113113,
0.005699601955711842,
-0.04776312783360481,
0.02592356503009796,
-0.05139073729515076,
0.079440638422966,
0.05455696955323219,
0.028192803263664246,
0.010480694472789764,
0.00932436902076006,
0.03271462395787239,
0.07249881327152252,
0.05438794940710068,
0.0392400398850441,
0.0417940728366375,
-0.007301363628357649,
0.025421584025025368,
-0.002022347878664732,
-0.053228944540023804,
-0.0008547539473511279,
0.03875346481800079,
0.013456293381750584,
-0.0038042624946683645,
-0.004879085812717676,
0.02255556546151638,
-0.01344260573387146,
-0.014387857168912888,
0.013543822802603245,
-0.0054456014186143875,
-0.0017655458068475127,
-0.07303805649280548,
0.05253057926893234,
-0.03542790189385414,
0.021235676482319832,
-0.04100944101810455,
0.017125118523836136,
-0.03462847322225571,
0.017793191596865654,
-0.0024650339037179947,
0.008046980947256088,
-0.05497905611991882,
0.039213765412569046,
-0.006180997472256422,
0.00031319554545916617,
-0.012741428799927235,
0.045663852244615555,
0.01057696808129549,
-0.03909631446003914,
0.008904959075152874,
-0.05086909607052803,
0.0009462989401072264,
-0.026915745809674263,
-0.004929345566779375,
0.03335374966263771,
0.03615012764930725,
-0.042093824595212936,
-0.013140274211764336,
0.03567595034837723,
-0.053613487631082535,
0.009935748763382435,
-0.0459020733833313,
-0.014407292008399963,
0.0002941498823929578,
-0.01243328396230936,
0.013499214313924313,
-0.06928645819425583,
0.010560158640146255,
0.06478980928659439,
0.00954863615334034,
0.04458514228463173,
-0.012909463606774807,
0.018658939749002457,
-0.011336623691022396,
0.03807041421532631,
-0.03661487624049187,
-0.030768832191824913,
0.019949449226260185,
-0.014959999360144138,
-0.07048116624355316,
0.059835489839315414,
0.011526964604854584,
-0.0449562668800354,
0.021273095160722733,
0.0444551445543766,
-0.004947788082063198,
-0.0045741647481918335,
0.04743121564388275,
-0.01847066730260849,
-0.01844698376953602,
-0.015726756304502487,
-0.03728591278195381,
-0.026890374720096588,
-0.012463768012821674,
0.021237922832369804,
-0.08395986258983612,
0.00836380384862423,
-0.01584414765238762,
-0.005042873788625002,
0.0033452268689870834,
0.0031481203623116016,
-0.028167270123958588,
0.021879645064473152,
-0.025471443310379982,
0.01827297732234001,
-0.07449889183044434,
0.0761777013540268,
0.020769767463207245,
-0.04205317422747612,
0.002246592426672578,
-0.0022078650072216988,
0.045797716826200485,
0.03357798233628273,
-0.008371562696993351,
0.07655015587806702,
0.009057155810296535,
0.00698564387857914,
-0.044260360300540924,
0.05805225297808647,
0.0062726461328566074,
-0.05085359513759613,
-0.01943976618349552,
0.049192458391189575,
-0.031935565173625946,
-0.011453002691268921,
-0.00880915205925703,
-0.025601621717214584,
0.005686539690941572,
0.003077354747802019,
0.005540505982935429,
0.045740898698568344,
0.0018487372435629368,
-0.055009644478559494,
0.012866929173469543,
0.015249098651111126,
0.03273814171552658,
-0.014690046198666096,
0.006113305222243071,
-0.016119204461574554,
-0.052327387034893036,
-0.024886684492230415,
0.0077946181409060955,
-0.0027820575051009655,
0.01447099819779396,
-0.04186724126338959,
0.026997679844498634,
0.08934234082698822,
0.045673634856939316,
0.011744271032512188,
-0.015186484903097153,
0.03468251973390579,
0.042624782770872116,
0.031715426594018936,
0.014730818569660187,
0.02110913209617138,
0.016253741458058357,
-0.01240009069442749,
-0.00046562502393499017,
0.038433343172073364,
-0.02512323670089245,
0.00798771996051073,
-0.049506332725286484,
-0.040816813707351685,
0.03832266479730606,
-0.04664023220539093,
-0.014042331837117672,
0.04932954162359238,
0.07572893798351288,
0.033320553600788116,
0.051395662128925323,
0.0006363684660755098,
-0.08052609860897064,
0.05250309780240059,
0.023516172543168068,
0.025257734581828117,
0.010604784823954105,
-0.02933964505791664,
0.05510967597365379,
0.02024819515645504,
0.02443927899003029,
0.056551508605480194,
-0.06419677287340164,
-0.0919622927904129,
-0.017311735078692436,
-0.013199960812926292,
0.03931063786149025,
-0.02639293298125267,
0.020127180963754654,
0.06409209221601486,
-0.0017876853235065937,
0.0563323013484478,
-0.006291610654443502,
-0.0045758206397295,
0.007973420433700085,
-0.036735307425260544,
-0.04853774979710579,
0.06625454127788544,
0.03472552448511124,
0.0034412560053169727,
-0.023843863978981972,
0.006555251311510801,
-0.008080430328845978,
-0.007969225756824017,
0.043812960386276245,
-0.026331663131713867,
0.042048968374729156,
-0.01908155344426632,
0.06428556144237518,
-0.03139859810471535,
0.026832958683371544,
-0.0075171650387346745,
0.02329118736088276,
0.011045549064874649,
-0.015633465722203255,
0.018628859892487526,
0.017406443133950233,
0.11355262249708176,
0.05600813031196594,
-0.06032637134194374,
-0.056038472801446915,
0.03779030218720436,
0.01777498424053192,
-0.030284596607089043,
-0.004937042016535997,
-0.006448956206440926,
0.010147174820303917,
-0.004609154537320137,
-0.06547240912914276,
-0.04255770146846771,
0.04175431281328201,
-0.05304736644029617,
-0.0011810227297246456,
0.04238298535346985,
-0.00026647464255802333,
0.06588485836982727,
-0.015285930596292019,
0.005938068963587284,
-0.014815889298915863,
-0.019971683621406555,
-0.05433482304215431,
-0.016716845333576202,
-0.015385717153549194,
-0.014827348291873932,
0.04010576382279396,
0.002342724706977606,
-0.029291555285453796,
-0.03530748188495636,
-0.04493144154548645,
0.038537029176950455,
0.05766410008072853,
0.0672752633690834,
-0.017252277582883835,
0.0541495606303215,
-0.03471732512116432,
0.051871877163648605,
0.006947982590645552,
-0.035415180027484894,
-0.04154614359140396,
-0.057398829609155655,
0.005939185153692961,
0.013446789234876633,
0.005823027808219194,
0.0022880027536302805,
0.006501011550426483,
0.02073165774345398,
0.017099732533097267,
-0.01870458573102951,
0.02895958162844181,
0.005602551624178886,
0.0019200535025447607,
-0.018982302397489548,
-0.0003394897503312677,
0.06116504967212677,
-0.0287415012717247,
-0.006500408984720707,
0.015595941804349422,
-0.09112562984228134,
0.03761076182126999,
-0.04990147799253464,
-0.02884111925959587,
-0.004664552863687277,
0.015109146945178509,
0.03189924359321594,
0.04234902560710907,
0.04163125529885292,
0.050404030829668045,
0.036709289997816086,
0.01080137025564909,
-0.006066367030143738,
-0.011194529011845589,
0.04345689341425896,
0.010351649485528469,
-0.0033935331739485264,
0.022941982373595238,
-0.00661225151270628,
0.0023185897152870893,
-0.05042961984872818,
0.050912514328956604,
-0.037973493337631226,
-0.25798240303993225,
0.031347863376140594,
0.020043693482875824,
-0.03298051282763481,
0.024779552593827248,
-0.0364115908741951,
-0.0074494341388344765,
-0.03564121946692467,
-0.02592528611421585,
0.019579103216528893,
-0.029172465205192566,
-0.03153295814990997,
-0.02047223411500454,
0.027628790587186813,
0.019755711778998375,
0.013366232626140118,
0.034645020961761475,
-0.03735528886318207,
0.0010438349563628435,
0.042302459478378296,
-0.021909570321440697,
-0.06774886697530746,
-0.018619051203131676,
0.040586233139038086,
0.04824136942625046,
0.06605610251426697,
-0.07372017949819565,
0.04533378779888153,
-0.07088811695575714,
-0.011062243953347206,
0.0013145223492756486,
-0.008974454365670681,
-0.009514766745269299,
-0.020193077623844147,
0.007508108392357826,
-0.018224241212010384,
0.03431849554181099,
-0.005846978630870581,
-0.003489936701953411,
0.0287490077316761,
-0.014935336075723171,
-0.023957835510373116,
-0.0020936201326549053,
0.025359980762004852,
0.06466199457645416,
0.012178806588053703,
-0.07743708789348602,
-0.022608574479818344,
-0.028930440545082092,
0.06495191156864166,
-0.024045055732131004,
-0.021895503625273705,
-0.01571706123650074,
0.032132070511579514,
0.007733487989753485,
0.01214311458170414,
-0.003320165676996112,
-0.02371874451637268,
-0.04233425855636597,
-0.0297356266528368,
-0.012427511624991894,
-0.011186997406184673,
-0.002675304189324379,
-0.03693534433841705,
-0.011805684305727482,
-0.07388655096292496,
-0.06347012519836426,
-0.030465150251984596,
0.07332183420658112,
0.005262333899736404,
-0.020750246942043304,
0.035776540637016296,
0.016104690730571747,
-0.10534612834453583,
-0.004257408902049065,
-0.020147953182458878,
-0.01792299374938011,
0.02153930813074112,
0.018103444948792458,
0.029032275080680847,
-0.03268624097108841,
-0.06669367849826813,
0.021327028051018715,
0.008273935876786709,
0.03360943868756294,
-0.025176038965582848,
0.0409337542951107,
0.03193528577685356,
-0.004010720644146204,
0.019170159474015236,
0.06611686944961548,
-0.007852340117096901,
-0.05511961132287979,
-0.027124354615807533,
0.008890606462955475,
-0.006280481815338135,
-0.007124471012502909,
-0.02240610122680664,
0.0018754838965833187,
0.039916135370731354,
-0.028185179457068443,
-0.05708957463502884,
0.009516638703644276,
-0.026097780093550682,
-0.009762448258697987,
-0.006244990509003401,
-0.046361349523067474,
0.016762306913733482,
0.02929886244237423,
0.016534680500626564,
0.03493177518248558,
-0.029890676960349083,
0.021820159628987312,
-0.05370667576789856,
-0.018267212435603142,
-0.014879072085022926,
0.013365358114242554,
0.06246411055326462,
-0.003850210690870881,
-0.006602647714316845,
-0.05375256389379501,
0.004848356358706951,
-0.015117870643734932,
-0.031186724081635475,
-0.06292776763439178,
-0.007487637456506491,
-0.0164105836302042,
-0.01252552680671215,
-0.0015017278492450714,
0.017010679468512535,
-0.014590829610824585,
0.01758929342031479,
0.028458310291171074,
-0.022701585665345192,
0.01575762964785099,
-0.04239685460925102,
-0.06688769906759262,
-0.04490649700164795,
-0.01026881579309702,
0.014093108475208282,
-0.00553187495097518,
0.030740465968847275,
-0.024162577465176582,
0.0049753147177398205,
0.03920873627066612,
0.024753322824835777,
0.008588133379817009,
-0.005761314649134874,
0.038972608745098114,
0.030069896951317787,
-0.011193424463272095,
-0.051876213401556015,
0.02581675536930561,
-0.036173902451992035,
-0.043564267456531525,
-0.012466654181480408,
0.02866368182003498,
-0.026168683543801308,
-0.0371595174074173,
-0.01300457026809454,
0.01758529804646969,
-0.03314979746937752,
-0.06091785430908203,
-0.03208908438682556,
0.0534660667181015,
0.057020336389541626,
-0.015028980560600758,
0.023535212501883507,
-0.0066542914137244225,
0.0000022488839022116736,
0.007457014638930559,
-0.001585111254826188,
-0.05198968946933746,
-0.004955679178237915,
-0.0005879469681531191,
0.00954959262162447,
-0.004130024928599596,
-0.026029763743281364,
0.04273588955402374,
0.008539878763258457,
0.0015593647258356214,
-0.04263361543416977,
-0.0019736893009394407,
0.0033385679125785828,
0.0430244617164135,
0.034073084592819214,
-0.003908950369805098,
-0.001667291740886867,
-0.015001475811004639,
-0.02572399005293846,
-0.04729924723505974,
-0.0353972427546978,
0.00813212152570486,
0.0274941585958004,
-0.033521708101034164,
-0.05344834551215172,
0.062463048845529556,
-0.007565205916762352,
0.004168875981122255,
0.035124391317367554,
-0.014490902423858643,
-0.0015177455497905612,
-0.03993140161037445,
0.02892596647143364,
0.03858952969312668,
-0.07105589658021927,
0.0009888005442917347,
0.004130376968532801,
-0.0035951535683125257,
0.03091832622885704,
-0.008105849847197533,
-0.03531932085752487,
-0.012899497523903847,
-0.029214605689048767,
0.019785547628998756,
-0.08609490096569061,
-0.022588225081562996,
-0.03717917948961258,
0.0035230086650699377,
-0.002828321186825633,
0.004184951074421406,
-0.04671042412519455,
-0.02213078923523426,
-0.02368759550154209,
-0.025920428335666656,
0.02486749365925789,
-0.033041756600141525,
0.012521890923380852,
0.016115684062242508,
-0.04775523394346237,
-0.016921140253543854,
-0.023153526708483696,
0.000907852197997272,
0.018002495169639587,
-0.02464132383465767,
0.020649349316954613,
-0.0194874070584774,
-0.00579794542863965,
-0.006168512627482414,
0.03995383903384209,
-0.008466874249279499,
-0.036687783896923065,
-0.03758244961500168,
-0.004556477535516024,
-0.026263248175382614,
0.02176510915160179,
-0.006068041548132896,
0.017536582425236702,
0.03774559870362282,
0.07350307703018188,
0.029996542260050774,
0.01207655481994152,
-0.01830597221851349,
-0.0005576084367930889,
0.029190534725785255,
-0.06504862010478973,
-0.006167110055685043,
-0.034984346479177475,
-0.059900421649217606,
0.013202685862779617,
-0.00925514753907919,
0.011865844950079918,
-0.035761065781116486,
0.04335840791463852,
0.02231680043041706,
0.04506348446011543,
0.009607557207345963,
0.03168858215212822,
0.01012601051479578,
-0.04713901877403259,
-0.0054972912184894085,
-0.0798017606139183,
-0.012416115030646324,
0.016775699332356453,
-0.016014352440834045,
0.014233262278139591,
0.0041899895295500755,
-0.0371614471077919,
0.030668050050735474,
-0.08731815218925476,
-0.0555475614964962,
0.0400293692946434,
-0.011184995993971825,
-0.01862528920173645,
0.02561820298433304,
-0.07061190158128738,
0.013925769366323948,
0.027256643399596214,
-0.058140166103839874,
-0.03046000376343727,
-0.01748877577483654,
0.06297563761472702,
0.0044121635146439075,
0.02201170288026333,
-0.049570340663194656,
-0.026913873851299286,
0.08645562082529068,
0.0004301412554923445,
0.022477660328149796,
0.04799656942486763,
-0.0008550994680263102,
0.046679407358169556,
0.032372765243053436,
0.020979205146431923,
-0.005767077673226595,
0.029563196003437042,
-0.021092763170599937,
-0.07264469563961029,
0.03301481530070305,
-0.0009960060706362128,
-0.040280021727085114,
-0.04048359394073486,
0.05529313161969185,
0.01667206548154354,
-0.008680006489157677,
-0.051759205758571625,
-0.0008798756171017885,
-0.04258882999420166,
-0.018343783915042877,
-0.026848990470170975,
-0.02152947336435318,
-0.0318649522960186,
0.04353756830096245,
-0.011941756121814251,
0.018614541739225388,
0.07133860886096954,
-0.00892771314829588,
-0.0007083402597345412,
-0.020482530817389488,
0.1067454069852829,
0.0880577564239502,
0.06514941155910492,
-0.008312512189149857,
0.07011227309703827,
-0.0056845517829060555,
-0.0462384968996048,
0.01583334244787693,
-0.0036127979401499033,
-0.01515641063451767,
-0.04291294515132904,
0.015283274464309216,
0.04167906567454338,
-0.019199050962924957,
0.06582392007112503,
-0.008575898595154285,
-0.026715148240327835,
-0.021681303158402443,
0.02967696078121662,
0.015213447622954845,
0.07900911569595337,
0.003944821190088987,
0.024539215490221977,
-0.02529982104897499,
-0.07136458158493042,
0.020883314311504364,
-0.019204430282115936,
-0.012717016041278839,
0.04004615545272827,
-0.012026926502585411,
0.03778362274169922,
0.015949366614222527,
0.010993434116244316,
0.08122839033603668,
-0.04721927270293236,
0.033565953373909,
-0.004518462345004082,
0.037411484867334366,
-0.013974502682685852,
0.02022114396095276,
-0.026107752695679665,
-0.017778271809220314,
-0.017045320942997932,
-0.03481236472725868,
-0.030089590698480606,
-0.019191589206457138,
-0.009304829873144627,
0.03378501161932945,
-0.016122274100780487,
0.0006892538513056934,
0.049739837646484375,
-0.001413198420777917,
-0.022369354963302612,
-0.06621041893959045,
-0.024727264419198036,
-0.03741167485713959,
-0.05121820792555809,
-0.02428034506738186,
0.012887325137853622,
-0.0025840403977781534,
-0.030035829171538353,
-0.01749531738460064,
-0.005228097550570965,
-0.029200242832303047,
0.06907133013010025,
-0.056890640407800674,
-0.03017050214111805,
-0.00254647433757782,
0.016717100515961647,
0.0012201801873743534,
0.02026001177728176,
0.048725370317697525,
-0.002332333941012621,
-0.019260214641690254,
0.01315209548920393,
0.04618295654654503,
0.021622076630592346,
-0.01643843576312065,
0.013099865056574345,
-0.08880645781755447,
0.016055038198828697,
0.014276068657636642,
-0.026333844289183617,
-0.06683850288391113,
0.03677292913198471,
0.024366527795791626,
0.0037282919511198997,
0.060926251113414764,
0.012627930380403996,
0.021122124046087265,
-0.051827285438776016,
-0.012220630422234535,
-0.016322685405611992,
-0.0019579147920012474,
0.05374358221888542,
-0.015017556957900524,
0.08391056209802628,
0.025965701788663864,
-0.0026373397558927536,
-0.043360643088817596,
-0.025050004944205284,
0.003175032092258334,
0.02383413352072239,
-0.02930726669728756,
-0.013885383494198322,
-0.016762221232056618,
-0.09726785868406296,
-0.009117787703871727,
0.02406458370387554,
-0.035736311227083206,
-0.040888089686632156,
0.02952253259718418,
-0.00035821011988446116,
-0.009202487766742706,
0.006536842789500952,
-0.05217950418591499,
0.024435652419924736,
-0.015917852520942688,
-0.006424630526453257,
0.012843411415815353,
0.031217152252793312,
0.006494454108178616,
-0.003178295446559787,
0.03467954695224762,
-0.035553012043237686,
0.02482382021844387,
-0.016721129417419434,
0.01762373000383377,
0.04978219419717789,
0.022130005061626434,
-0.02648690901696682
] | [
-0.05887439846992493,
-0.0050020054914057255,
-0.01547179277986288,
-0.009186271578073502,
0.03317289054393768,
-0.03230587765574455,
0.013431070372462273,
0.03149978071451187,
-0.026589244604110718,
-0.012648911215364933,
0.006726563908159733,
0.011296995915472507,
0.0007691613864153624,
-0.03682323917746544,
0.06714052706956863,
0.02451002411544323,
0.02777019701898098,
-0.11177659779787064,
-0.02241429314017296,
0.046253230422735214,
0.008965322747826576,
-0.05812916159629822,
-0.02939913049340248,
-0.025418849661946297,
0.021740369498729706,
-0.03090556524693966,
0.05714042857289314,
0.013669106177985668,
-0.013292007148265839,
-0.15406273305416107,
-0.006073354743421078,
0.017982110381126404,
0.06001020222902298,
-0.005423118360340595,
0.03130755200982094,
0.056595899164676666,
0.00718725984916091,
0.006758308038115501,
0.004498702939599752,
0.032493315637111664,
0.012834489345550537,
0.009332424029707909,
-0.03068186156451702,
-0.010628262534737587,
0.03361354395747185,
0.020517542958259583,
0.03772471100091934,
-0.02593858167529106,
-0.013759157620370388,
-0.0041934289038181305,
-0.07441607862710953,
-0.03455983102321625,
-0.013957429677248001,
-0.042617589235305786,
-0.0023861085064709187,
0.020170610398054123,
0.04541197791695595,
0.07018842548131943,
0.008085649460554123,
0.027085082605481148,
0.04322240129113197,
-0.041282374411821365,
-0.13983815908432007,
0.06945362687110901,
0.08374742418527603,
0.015889957547187805,
-0.06158512830734253,
-0.007204283960163593,
-0.039068058133125305,
0.07766658067703247,
0.039613641798496246,
-0.04652652144432068,
0.026028567925095558,
0.030450645834207535,
0.02059614658355713,
0.016282906755805016,
0.027307670563459396,
0.022244198247790337,
0.001775686047039926,
-0.04038668051362038,
0.008879885077476501,
0.025842834264039993,
-0.05126509070396423,
-0.0057973237708210945,
-0.06390246003866196,
0.034572042524814606,
0.00552712706848979,
0.035775233060121536,
0.05115961283445358,
0.04596560075879097,
0.041758228093385696,
-0.0032712684478610754,
0.034955792129039764,
-0.039169713854789734,
-0.07966825366020203,
-0.04999799653887749,
-0.021122921258211136,
0.01419795211404562,
-0.08257419615983963,
0.4312117099761963,
0.005729043856263161,
0.014323958195745945,
0.08020338416099548,
0.011468406766653061,
0.003136283718049526,
0.0009012529044412076,
0.024063944816589355,
-0.037496767938137054,
0.03343816474080086,
0.004538676701486111,
0.043404705822467804,
0.0371331125497818,
0.06697076559066772,
-0.03638468310236931,
0.019966645166277885,
0.032098475843667984,
0.028036881238222122,
-0.009056148119270802,
-0.006938613019883633,
-0.03056335262954235,
-0.013484780676662922,
0.029861202463507652,
0.0052266609854996204,
0.004217407200485468,
-0.06962812691926956,
-0.08428055793046951,
0.0425746850669384,
0.06821823120117188,
0.012603775598108768,
-0.02802184782922268,
0.029599608853459358,
-0.048514366149902344,
-0.049806009978055954,
0.027863729745149612,
-0.0038785019423812628,
0.0066369506530463696,
-0.014353247359395027,
0.013023026287555695,
0.003982944879680872,
0.07246974110603333,
-0.0050286054611206055,
-0.005236790049821138,
-0.030813926830887794,
-0.059446290135383606,
-0.04729754477739334,
0.09267274290323257,
0.05875976383686066,
-0.036592159420251846,
-0.007086287718266249,
-0.02502092905342579,
0.0263830553740263,
0.03122924268245697,
0.05049920082092285,
-0.0814581885933876,
0.04241820052266121,
-0.010006261989474297,
0.07611401379108429,
0.00298408605158329,
-0.0571310929954052,
0.002762616379186511,
0.004814706742763519,
-0.02259116806089878,
-0.06271706521511078,
0.04262254759669304,
0.0739051103591919,
-0.09360944479703903,
-0.029104815796017647,
-0.007601435296237469,
0.029628632590174675,
-0.05010533705353737,
-0.0200309157371521,
0.010601358488202095,
-0.03590257093310356,
0.011070219799876213,
0.05131432041525841,
-0.03636671602725983,
-0.02663644775748253,
0.010904999449849129,
0.02454444207251072,
0.037906713783741,
0.019321536645293236,
-0.007505608722567558,
-0.02956322208046913,
-0.0029745642095804214,
-0.038509152829647064,
-0.06300408393144608,
-0.04352642968297005,
-0.028072113171219826,
-0.03279879316687584,
0.024296246469020844,
-0.028518449515104294,
0.014339935034513474,
-0.12100493907928467,
0.12129290401935577,
-0.028555918484926224,
-0.02595195733010769,
-0.013677928596735,
0.009143644943833351,
-0.02684708498418331,
-0.013987704180181026,
-0.07816137373447418,
-0.023069199174642563,
-0.08923579752445221,
0.027350367978215218,
-0.06858918070793152,
0.049037858843803406,
0.04557954519987106,
-0.02440986968576908,
0.12824399769306183,
0.03761344775557518,
-0.005487441085278988,
-0.027254484593868256,
0.015851248055696487,
0.046337999403476715,
0.01527325063943863,
-0.0010090181604027748,
0.03291931003332138,
0.01733165793120861,
-0.028150862082839012,
0.016469327732920647,
0.008503257296979427,
0.036819830536842346,
-0.05296579748392105,
-0.3372038006782532,
-0.045808400958776474,
-0.0725952759385109,
0.004568691831082106,
-0.0047808121889829636,
-0.025028638541698456,
0.028130797669291496,
-0.01912238635122776,
-0.018774744123220444,
0.03582669794559479,
0.055727940052747726,
-0.03244918957352638,
0.03366885706782341,
-0.06843063235282898,
-0.0008124466403387487,
-0.008107761852443218,
-0.0470837764441967,
0.001515482901595533,
-0.0339212641119957,
0.006643668282777071,
-0.003312755608931184,
0.018809959292411804,
-0.031983841210603714,
-0.02327289618551731,
-0.005755734629929066,
-0.06392538547515869,
0.08161706477403641,
0.02069253660738468,
0.03964017704129219,
-0.022862032055854797,
0.03970181569457054,
0.022582562640309334,
0.04897891357541084,
-0.11188024282455444,
0.026054393500089645,
0.010504331439733505,
0.032788489013910294,
-0.044579166918992996,
-0.05091044679284096,
-0.01993849128484726,
-0.048722535371780396,
0.012252481654286385,
-0.0669400542974472,
-0.008551470935344696,
-0.08386392146348953,
0.023726753890514374,
0.0020150390919297934,
-0.021078992635011673,
-0.05147656425833702,
0.08097201585769653,
0.01550526823848486,
-0.007296075113117695,
0.02176588959991932,
0.008799380622804165,
0.032350778579711914,
-0.05016867816448212,
-0.08782447129487991,
0.031585149466991425,
0.021967504173517227,
0.00018587254453450441,
0.009676473215222359,
0.06589990854263306,
0.03591035678982735,
-0.032241322100162506,
0.006215199828147888,
-0.00984813179820776,
-0.028756942600011826,
0.0435938686132431,
0.006646341178566217,
0.001539353048428893,
-0.017888549715280533,
0.06862818449735641,
-0.0064092520624399185,
-0.031791891902685165,
0.009204533882439137,
0.009574513882398605,
-0.012250962667167187,
0.026297228410840034,
0.009537694975733757,
-0.020356183871626854,
0.036738187074661255,
0.006920133251696825,
0.027359819039702415,
-0.005760292522609234,
-0.02309867925941944,
0.014673909172415733,
-0.010182814672589302,
-0.08575764298439026,
0.0731637105345726,
0.026141725480556488,
-0.025462336838245392,
0.015333885326981544,
-0.04036527872085571,
-0.041143160313367844,
0.10711056739091873,
-0.01151794008910656,
-0.23423370718955994,
-0.0036241067573428154,
0.011751310899853706,
0.018100639805197716,
-0.020429685711860657,
0.03530050814151764,
0.006568473298102617,
-0.013405458070337772,
0.0485171377658844,
0.03871605172753334,
0.03261749818921089,
0.0052250041626393795,
0.009866203181445599,
-0.02575618214905262,
0.028126081451773643,
-0.023190444335341454,
0.024371614679694176,
0.004140793811529875,
0.020840289071202278,
0.027039069682359695,
0.027133461087942123,
0.0007994967745617032,
0.14063166081905365,
0.028256481513381004,
-0.0032607323955744505,
0.015879496932029724,
-0.019200706854462624,
0.02172780968248844,
0.026944642886519432,
-0.006227022036910057,
0.03450657054781914,
-0.00830792635679245,
0.013087344355881214,
0.006133653223514557,
0.017395595088601112,
-0.08019188791513443,
-0.042657408863306046,
0.02897156961262226,
0.02194393239915371,
0.004827337339520454,
0.008768951520323753,
0.013816047459840775,
-0.0012526268837973475,
0.03656451031565666,
0.07105524837970734,
-0.006339439190924168,
-0.033298566937446594,
-0.04911518841981888,
-0.01263557281345129,
-0.022533968091011047,
-0.04117671027779579,
-0.0567801333963871,
0.035307709127664566,
0.018853897228837013,
-0.025150548666715622,
0.05414312705397606,
0.019905271008610725,
-0.033116668462753296,
0.014424965716898441,
-0.013008940033614635,
-0.04005894064903259,
-0.018649043515324593,
0.05658332258462906,
0.04528713971376419,
0.06056201830506325
] | [
0.008441449142992496,
0.004589112475514412,
0.008222044445574284,
-0.017632419243454933,
0.005528335925191641,
0.010208256542682648,
0.013790230266749859,
0.01952923648059368,
-0.021310972049832344,
0.008882091380655766,
0.005391805432736874,
0.04793177917599678,
0.024342427030205727,
-0.03410063311457634,
0.01655014045536518,
-0.022306296974420547,
0.004519839305430651,
-0.02146787941455841,
0.021960342302918434,
0.004020631313323975,
-0.005621412303298712,
0.003900402458384633,
-0.044676292687654495,
0.0016409495146945119,
-0.022511940449476242,
0.03602161630988121,
0.0019698352552950382,
0.033438168466091156,
0.026905706152319908,
-0.15506398677825928,
-0.02759428694844246,
-0.026801330968737602,
0.009081345982849598,
0.011814938858151436,
0.007715126965194941,
0.009046781808137894,
0.006921643391251564,
0.005672533996403217,
-0.01634334586560726,
-0.013064965605735779,
0.027436010539531708,
-0.00016776876873336732,
-0.027417894452810287,
0.006858378183096647,
0.0013930081622675061,
-0.01165917981415987,
0.0041871387511491776,
-0.036528680473566055,
-0.012080056592822075,
-0.03344966843724251,
-0.05154731869697571,
-0.02066165767610073,
0.02371007762849331,
-0.021315041929483414,
0.013398222625255585,
0.005192427895963192,
0.036644477397203445,
-0.01008610613644123,
0.029590817168354988,
-0.01269637793302536,
0.032120995223522186,
-0.05604751408100128,
-0.03717193752527237,
-0.0115616200491786,
0.0007427393575198948,
-0.01320935133844614,
-0.011541598476469517,
0.004005345515906811,
-0.09577367454767227,
0.01555295567959547,
0.0011808910639956594,
0.006557865999639034,
-0.052146703004837036,
-0.01595730520784855,
-0.003104233182966709,
0.011330775916576385,
-0.00009840935672400519,
-0.0049667153507471085,
0.025002971291542053,
-0.008037864230573177,
-0.05335572361946106,
0.019696906208992004,
-0.04064784198999405,
0.017050907015800476,
-0.046136852353811264,
-0.0005882480763830245,
0.010625055059790611,
-0.014156919904053211,
0.023458147421479225,
-0.01226832065731287,
-0.017318442463874817,
0.007059904746711254,
0.013276717625558376,
0.011406099423766136,
-0.07056877017021179,
-0.02813885174691677,
-0.011512994766235352,
0.003088307334110141,
-0.02030479535460472,
0.8403000831604004,
-0.001721001579426229,
0.02489418350160122,
0.026996459811925888,
0.01820736564695835,
-0.005503418389707804,
-0.018627958372235298,
0.003994108643382788,
0.03908070549368858,
0.012685155496001244,
-0.01726693846285343,
-0.02126963809132576,
0.012643344700336456,
0.027425352483987808,
0.011151473969221115,
0.03431341424584389,
-0.009827369824051857,
0.0017293035052716732,
-0.01461236272007227,
0.008535310626029968,
-0.007544409483671188,
0.05903032422065735,
0.028640471398830414,
0.010677536949515343,
0.0002718486648518592,
-0.005913547705858946,
-0.1715358942747116,
-0.01909567229449749,
-8.21192418897582e-33,
0.046996574848890305,
0.008628255687654018,
-0.00591941038146615,
0.009226175956428051,
0.007404801901429892,
-0.01207323744893074,
0.0010658011306077242,
0.06030780449509621,
-0.006401154212653637,
-0.02247471734881401,
-0.011854061856865883,
-0.011809391900897026,
-0.004172089044004679,
-0.017057044431567192,
0.02664285898208618,
-0.027698878198862076,
0.022961802780628204,
0.023204248398542404,
-0.018296848982572556,
0.011899600736796856,
0.04920586571097374,
0.010574460960924625,
-0.010620617307722569,
0.024157725274562836,
0.027362441644072533,
-0.02392118237912655,
0.011679035611450672,
0.01486029103398323,
-0.010299148969352245,
-0.043036483228206635,
-0.014177726581692696,
0.03270130231976509,
-0.01128688920289278,
0.0017860329244285822,
-0.022569138556718826,
-0.03460513800382614,
-0.05996696278452873,
0.01247846707701683,
-0.007170310243964195,
-0.0319378636777401,
-0.03143639490008354,
0.009075087495148182,
-0.011830216273665428,
0.014496887102723122,
0.012333584018051624,
0.03405914455652237,
-0.010149069130420685,
0.004143170081079006,
0.03795260936021805,
-0.014340482652187347,
0.002292938996106386,
-0.0008979341946542263,
0.030665576457977295,
0.013192643411457539,
-0.021873487159609795,
0.010866105556488037,
-0.008657831698656082,
-0.022363299503922462,
0.005603982601314783,
0.012832523323595524,
0.015148774720728397,
0.022687025368213654,
-0.02181423269212246,
0.042145244777202606,
-0.020269347354769707,
0.006742116995155811,
0.03149423748254776,
0.031684890389442444,
-0.016519926488399506,
-0.021943746134638786,
-0.04065067321062088,
-0.019534511491656303,
-0.004245051182806492,
-0.012830449268221855,
-0.009890568442642689,
-0.0005175487021915615,
-0.019036347046494484,
0.03206980228424072,
-0.014317197725176811,
0.019792964681982994,
0.002017610240727663,
-0.005048311315476894,
-0.009404578246176243,
-0.026212960481643677,
-0.027158048003911972,
0.024060474708676338,
0.008128039538860321,
0.003711294149979949,
-0.007607028353959322,
0.015180963091552258,
0.004816763568669558,
-0.00397251732647419,
-0.005403344985097647,
0.007910497486591339,
-0.026828577741980553,
8.102106567986125e-33,
0.01342655811458826,
-0.05177159234881401,
0.006077214609831572,
0.0138460798189044,
0.03533266857266426,
0.021437019109725952,
0.01845083385705948,
0.0213150754570961,
-0.05757051333785057,
0.022470496594905853,
-0.0212844405323267,
0.0016791203524917364,
-0.04604154825210571,
-0.001970455050468445,
0.014158901758491993,
-0.01819535717368126,
0.03148457407951355,
-0.03260301426053047,
0.03374728187918663,
0.015101805329322815,
0.0015771874459460378,
0.002057613106444478,
-0.021995699033141136,
-0.00287404702976346,
0.03363122045993805,
0.073421910405159,
-0.0039056099485605955,
0.029459116980433464,
-0.006463741883635521,
-0.016129104420542717,
0.007615907583385706,
0.00920866709202528,
0.017460931092500687,
0.022462287917733192,
-0.04258853942155838,
0.002178750466555357,
-0.017322300001978874,
-0.020251819863915443,
0.021416032686829567,
-0.01774027943611145,
0.01625688187777996,
-0.012563451193273067,
0.02126956172287464,
0.01944424957036972,
0.03635586053133011,
-0.003587606130167842,
0.01888050138950348,
-0.07583631575107574,
-0.0395340695977211,
0.031532369554042816,
0.00052255904302001,
0.016237478703260422,
0.04055136442184448,
0.040695443749427795,
-0.01519727148115635,
-0.03362814337015152,
-0.02812156081199646,
0.003873477689921856,
0.010314774699509144,
0.0282275527715683,
0.0003043202159460634,
0.02530832029879093,
0.013225201517343521,
0.01140892505645752,
-0.060101646929979324,
-0.022142261266708374,
0.010741428472101688,
0.02029176987707615,
-0.022136183455586433,
-0.014614252373576164,
-0.054616522043943405,
0.02312644012272358,
0.00918427761644125,
0.024944191798567772,
-0.005850059911608696,
-0.0007292298250831664,
-0.03953242674469948,
0.004215270280838013,
-0.0434885211288929,
0.03948713466525078,
0.0006172534776851535,
0.009450439363718033,
0.00982524175196886,
0.034948695451021194,
-0.021044794470071793,
0.03235628083348274,
0.00019586530106607825,
0.014512152411043644,
0.007831437513232231,
-0.00791284628212452,
-0.03671535849571228,
-0.06717284768819809,
0.00929620023816824,
0.027424771338701248,
-0.023368727415800095,
-1.3665869325052427e-8,
-0.012363421730697155,
-0.0015076117124408484,
-0.0010290977079421282,
-0.0064731864258646965,
0.020269880071282387,
-0.03068368136882782,
-0.013637850992381573,
0.02295858785510063,
0.007965119555592537,
0.017806043848395348,
0.0352085642516613,
-0.04239412769675255,
-0.03041771426796913,
0.026149166747927666,
-0.018685203045606613,
-0.026522796601057053,
-0.008616947568953037,
0.009343457408249378,
0.03728634491562843,
0.004967046901583672,
0.03932212293148041,
0.07325504720211029,
0.007742895279079676,
0.04704579710960388,
0.029725726693868637,
-0.01121325884014368,
-0.022685637697577477,
-0.08743651211261749,
0.014293648302555084,
0.023025598376989365,
-0.019040994346141815,
-0.023112010210752487,
-0.014882250688970089,
0.03331345319747925,
-0.019784046337008476,
-0.01625050976872444,
0.03295169770717621,
-0.0006867360789328814,
-0.009559331461787224,
-0.004927509464323521,
-0.0031199022196233273,
0.006147236097604036,
-0.006074350327253342,
-0.0316365547478199,
-0.014492855407297611,
0.00734304916113615,
-0.06382706761360168,
-0.021623820066452026,
0.024081164970993996,
-0.040078140795230865,
0.029725708067417145,
0.017018690705299377,
0.029821326956152916,
0.03244554623961449,
-0.0036012912169098854,
-0.0034551869612187147,
0.00004167411316302605,
-0.019168447703123093,
-0.05358311906456947,
0.006816670764237642,
0.0219416543841362,
-0.0037477933801710606,
0.022836577147245407,
-0.012864110060036182
] | the-hard-thing-about-hard-things-ben-horowitz-book-review | https://markhneedham.com/blog/2014/10/13/the-hard-thing-about-hard-things-ben-horowitz-book-review |
false | 2014-07-02 06:30:50 | R/plyr: ddply - Renaming the grouping/generated column when grouping by date | [
"r-2"
] | [
"R"
] | On https://twitter.com/_nicolemargaret[Nicole's] recommendation I've been having a look at R's http://cran.r-project.org/web/packages/plyr/index.html[plyr] package to see if I could simplify my http://www.markhneedham.com/blog/2014/06/30/neo4jr-grouping-meetup-members-by-join-timestamp/[meetup analysis] and I started by translating my code that grouped meetup join dates by day of the week.
To refresh, the code without plyr looked like this:
[source,r]
----
library(Rneo4j)
timestampToDate <- function(x) as.POSIXct(x / 1000, origin="1970-01-01")
query = "MATCH (:Person)-[:HAS_MEETUP_PROFILE]->()-[:HAS_MEMBERSHIP]->(membership)-[:OF_GROUP]->(g:Group {name: \"Neo4j - London User Group\"})
RETURN membership.joined AS joinDate"
meetupMembers = cypher(graph, query)
meetupMembers$joined <- timestampToDate(meetupMembers$joinDate)
dd = aggregate(meetupMembers$joined, by=list(format(meetupMembers$joined, "%A")), function(x) length(x))
colnames(dd) = c("dayOfWeek", "count")
----
which returns the following:
[source,r]
----
> dd
dayOfWeek count
1 Friday 135
2 Monday 287
3 Saturday 80
4 Sunday 102
5 Thursday 187
6 Tuesday 286
7 Wednesday 211
----
We need to use http://seananderson.ca/courses/12-plyr/plyr_2012.pdf[plyr's] ddply function which takes a data frame and transforms it into another one.
To refresh, this is what the initial data frame looks like:
[source,r]
----
> meetupMembers[1:10,]
joinDate joined
1 1.376572e+12 2013-08-15 14:13:40
2 1.379491e+12 2013-09-18 08:55:11
3 1.349454e+12 2012-10-05 17:28:04
4 1.383127e+12 2013-10-30 09:59:03
5 1.372239e+12 2013-06-26 10:27:40
6 1.330295e+12 2012-02-26 22:27:00
7 1.379676e+12 2013-09-20 12:22:39
8 1.398462e+12 2014-04-25 22:41:19
9 1.331734e+12 2012-03-14 14:11:43
10 1.396874e+12 2014-04-07 13:32:26
----
Most of the examples of using ddply show how to group by a specific 'column' e.g. joined but I want to group by part of the value in that column and eventually http://stackoverflow.com/questions/18110110/r-ddply-function-applied-to-certain-months-obtained-from-date-field[came across an example] which showed how to do it:
[source,r]
----
> ddply(meetupMembers, .(format(joined, "%A")), function(x) {
count <- length(x$joined)
data.frame(count = count)
})
format(joined, "%A") count
1 Friday 135
2 Monday 287
3 Saturday 80
4 Sunday 102
5 Thursday 187
6 Tuesday 286
7 Wednesday 211
----
Unfortunately the generated column heading for the group by key isn't very readable and it took me way longer than it should have to work out how to name it as I wanted! This is how you do it:
[source,r]
----
> ddply(meetupMembers, .(dayOfWeek=format(joined, "%A")), function(x) {
count <- length(x$joined)
data.frame(count = count)
})
dayOfWeek count
1 Friday 135
2 Monday 287
3 Saturday 80
4 Sunday 102
5 Thursday 187
6 Tuesday 286
7 Wednesday 211
----
If we want to sort that in descending order by 'count' we can http://stackoverflow.com/questions/5839265/r-plyr-ordering-results-from-ddply[wrap that ddply in another one]:
[source,r]
----
> ddply(ddply(meetupMembers, .(dayOfWeek=format(joined, "%A")), function(x) {
count <- length(x$joined)
data.frame(count = count)
}), .(count = count* -1))
dayOfWeek count
1 Monday 287
2 Tuesday 286
3 Wednesday 211
4 Thursday 187
5 Friday 135
6 Sunday 102
7 Saturday 80
----
From reading a bit about ddply I gather that its slower than using some other approaches e.g. http://cran.r-project.org/web/packages/data.table/index.html[data.table] but I'm not dealing with much data so it's not an issue yet.
Once I got the hang of how it worked ddply was quite nice to work with so I think I'll have a go at translating some of my other code to use it now. | null | null | [
0.004658863414078951,
-0.024294398725032806,
-0.004446352832019329,
0.036241788417100906,
0.0435623899102211,
0.017506036907434464,
0.036706309765577316,
0.004550259094685316,
0.0035787636879831553,
0.007302212528884411,
0.001520467340014875,
-0.013166265562176704,
-0.07647103071212769,
0.020127655938267708,
-0.028665173798799515,
0.08617265522480011,
0.08165954798460007,
-0.031167540699243546,
-0.0003044807235710323,
-0.004614110104739666,
0.0318642295897007,
0.0475320927798748,
0.011120558716356754,
0.03699653595685959,
0.019543390721082687,
0.011943594552576542,
0.014724447391927242,
0.0036153553519397974,
-0.035176847130060196,
0.005535578820854425,
0.05590745434165001,
0.007855060510337353,
0.017419088631868362,
-0.002965195570141077,
0.03329518064856529,
0.0033791461028158665,
-0.0014810512075200677,
0.016014767810702324,
-0.0007189488387666643,
0.0021218128968030214,
-0.048522356897592545,
0.01694563403725624,
-0.01880635693669319,
0.011582485400140285,
-0.025794455781579018,
0.010158242657780647,
-0.04602495953440666,
0.037625256925821304,
0.004068012814968824,
0.010244057513773441,
-0.062260933220386505,
0.018686097115278244,
-0.008156843483448029,
-0.004769994877278805,
-0.021766697987914085,
0.06662867218255997,
0.01996157318353653,
-0.0673871859908104,
0.03769335150718689,
-0.029523344710469246,
-0.004305034875869751,
0.006218146998435259,
0.014835678972303867,
-0.005117554217576981,
0.0036494394298642874,
-0.013825996778905392,
-0.017361219972372055,
0.030670545995235443,
-0.02458317019045353,
-0.0025111036375164986,
-0.032119087874889374,
0.0012047098716720939,
-0.03621668741106987,
0.005003170110285282,
0.008570253849029541,
-0.033514346927404404,
-0.009378764778375626,
0.06530950218439102,
0.023316971957683563,
0.0558549128472805,
-0.02036646381020546,
0.015118463896214962,
0.022590674459934235,
0.038857992738485336,
0.003651551203802228,
-0.021889684721827507,
-0.03741871938109398,
-0.036707766354084015,
-0.053827088326215744,
0.04332507401704788,
-0.02267467975616455,
-0.06054406240582466,
0.03355411812663078,
0.02325528673827648,
-0.02089320681989193,
0.016917750239372253,
0.007431535981595516,
-0.003432187484577298,
0.0013239391846582294,
-0.010264533571898937,
-0.0661063864827156,
-0.043754760175943375,
0.03949235379695892,
0.00687405513599515,
-0.06779281049966812,
0.006314437836408615,
-0.032351020723581314,
-0.024425705894827843,
0.01324745174497366,
-0.006713684182614088,
-0.030689217150211334,
0.017815744504332542,
0.005255828611552715,
0.0028488035313785076,
-0.05789661779999733,
0.07605353742837906,
0.04369550943374634,
-0.010967249050736427,
-0.04824211448431015,
-0.02097805216908455,
0.025067267939448357,
0.03507068008184433,
0.0046982732601463795,
0.07696974277496338,
-0.03638444095849991,
0.059602025896310806,
-0.0004768095968756825,
0.03225105628371239,
-0.031509820371866226,
-0.0689910426735878,
-0.021121161058545113,
0.03888712823390961,
-0.013451505452394485,
0.00858850497752428,
-0.03563562408089638,
-0.051713306456804276,
-0.025072196498513222,
0.010534042492508888,
0.08004804700613022,
0.005604304373264313,
0.012753333896398544,
-0.02583432011306286,
0.00045562972081825137,
-0.019408555701375008,
0.04215032234787941,
0.01893661729991436,
-0.004473257344216108,
-0.06164269894361496,
-0.03686339780688286,
-0.010040991939604282,
0.03671463206410408,
0.0028270059265196323,
0.0643656924366951,
-0.02673259936273098,
0.034270673990249634,
0.0728355422616005,
0.007132791448384523,
0.013136555440723896,
-0.008368419483304024,
-0.02479269541800022,
0.024326296523213387,
0.02941575087606907,
-0.010500735603272915,
0.0609348900616169,
0.009200996719300747,
-0.028284041211009026,
0.0005671029211953282,
0.06342841684818268,
-0.01943432353436947,
0.009874490089714527,
-0.04179151728749275,
-0.06817639619112015,
0.06079176440834999,
-0.0366760678589344,
-0.0033163798507303,
0.014987416565418243,
0.07942017912864685,
0.02587238885462284,
0.016981640830636024,
0.007851204834878445,
-0.07829160988330841,
0.05294990539550781,
0.0015022811712697148,
0.019208433106541634,
0.021362828090786934,
-0.04266401007771492,
0.06739819794893265,
0.03141606226563454,
-0.009746606461703777,
0.061956897377967834,
-0.07654878497123718,
-0.06517498195171356,
-0.0026976584922522306,
-0.046499527990818024,
0.07080856710672379,
-0.05443265661597252,
0.009639926254749298,
0.06479945033788681,
0.01536548975855112,
0.01666007936000824,
-0.010264253243803978,
0.014880610629916191,
0.02654656395316124,
-0.014461624436080456,
-0.06843506544828415,
0.025078212842345238,
0.008629146963357925,
-0.015438037924468517,
-0.03309459611773491,
0.00469764182344079,
-0.020941972732543945,
0.046883389353752136,
0.01791495457291603,
-0.039714206010103226,
0.03818457946181297,
0.034228261560201645,
0.06061801686882973,
0.016452226787805557,
0.01930806040763855,
-0.026903023943305016,
0.025300897657871246,
-0.005217294674366713,
-0.015501724556088448,
-0.031479377299547195,
-0.02094065211713314,
0.10398666560649872,
0.05629671737551689,
-0.030124500393867493,
-0.06293661147356033,
0.022550838068127632,
-0.023355839774012566,
-0.023165959864854813,
0.005575619172304869,
-0.020936133340001106,
-0.0011759905610233545,
-0.017835956066846848,
-0.026933029294013977,
-0.04699322581291199,
-0.009496313519775867,
-0.03258851543068886,
0.01211749017238617,
0.06782153248786926,
0.011101099662482738,
0.032183416187763214,
-0.025834834203124046,
-0.000505369680467993,
-0.028884174302220345,
-0.04236339032649994,
-0.030957764014601707,
0.02788967452943325,
0.036474913358688354,
-0.01079644076526165,
0.0357917882502079,
-0.05138546973466873,
-0.0026022715028375387,
-0.014727960340678692,
-0.007700731977820396,
0.035527586936950684,
0.08022839576005936,
0.049611516296863556,
0.002144336001947522,
0.0356304757297039,
-0.023190628737211227,
-0.020699497312307358,
-0.03062930889427662,
-0.04733578860759735,
-0.05488760024309158,
-0.03342651203274727,
-0.003109181299805641,
-0.0027916699182242155,
0.056850701570510864,
-0.00646350858733058,
-0.024947188794612885,
0.011566225439310074,
0.00556773180142045,
-0.03713396564126015,
0.02737426571547985,
-0.015895282849669456,
-0.011880714446306229,
-0.015062564983963966,
-0.031733717769384384,
0.03863172605633736,
-0.012183967046439648,
-0.034542374312877655,
-0.02225508727133274,
-0.047060586512088776,
0.054370053112506866,
-0.05121532827615738,
-0.011077579110860825,
0.018553996458649635,
0.035628791898489,
0.06452245265245438,
0.032672133296728134,
0.007204828783869743,
0.06431004405021667,
-0.010685690678656101,
0.049631766974925995,
0.017507191747426987,
-0.00341719388961792,
0.04765493795275688,
0.007285029627382755,
0.016228366643190384,
0.02889697626233101,
-0.03337152674794197,
0.012171566486358643,
-0.05082438141107559,
-0.002390999114140868,
-0.019926920533180237,
-0.2523473799228668,
0.03626873716711998,
-0.04636933282017708,
-0.04786645993590355,
0.02403707057237625,
-0.022594593465328217,
0.046774521470069885,
-0.008700817823410034,
-0.01203830074518919,
-0.004711422137916088,
0.014983785338699818,
-0.04062780365347862,
-0.018380489200353622,
0.04430190846323967,
0.02609291858971119,
0.01435890980064869,
-0.01449668500572443,
-0.036486849188804626,
0.01378655806183815,
0.05114372819662094,
0.036254387348890305,
-0.03029536083340645,
-0.008892606012523174,
0.042661674320697784,
0.002951930509880185,
0.052942030131816864,
-0.05293627083301544,
0.0022573743481189013,
-0.060638632625341415,
-0.04765515774488449,
0.03372711315751076,
-0.017232127487659454,
0.023958725854754448,
-0.006076913792639971,
0.009822232648730278,
-0.01850583776831627,
0.0377984419465065,
0.013494466431438923,
0.004114068578928709,
0.017608677968382835,
-0.02816247195005417,
-0.021308938041329384,
0.002492070896551013,
-0.016467690467834473,
0.09676021337509155,
0.03722243756055832,
-0.07515683025121689,
0.0070459311828017235,
-0.008006715215742588,
0.09316588938236237,
-0.0052691614255309105,
-0.025418775156140327,
0.007150363642722368,
0.03173507750034332,
-0.028527328744530678,
-0.043905388563871384,
-0.03325369581580162,
0.003082414623349905,
-0.042912472039461136,
-0.03390400856733322,
0.006430264096707106,
-0.03199996054172516,
0.0022650982718914747,
-0.037946999073028564,
-0.06518939137458801,
-0.08423377573490143,
-0.10518157482147217,
-0.020142387598752975,
0.049335286021232605,
0.019526181742548943,
-0.030527381226420403,
0.022270696237683296,
-0.039521027356386185,
-0.1018127053976059,
-0.021672876551747322,
-0.016024725511670113,
-0.03174082189798355,
0.009542121551930904,
0.02074468322098255,
0.06307491660118103,
-0.04047347605228424,
-0.04885131120681763,
0.023377422243356705,
0.0014669480733573437,
0.041940849274396896,
0.026743058115243912,
0.005933126900345087,
-0.0011111438507214189,
-0.048352524638175964,
-0.03018859773874283,
0.06095336377620697,
-0.045494407415390015,
-0.030837902799248695,
0.009251710027456284,
-0.017868032678961754,
0.03207606077194214,
0.005112886428833008,
0.013173406012356281,
0.03478848934173584,
0.03831295669078827,
0.007034363225102425,
-0.03790275380015373,
0.0194935891777277,
-0.05663619935512543,
-0.03338738530874252,
-0.0383710153400898,
-0.05975168198347092,
0.02322426810860634,
0.013365533202886581,
0.03835258260369301,
0.006630385760217905,
-0.020938513800501823,
0.015579652972519398,
-0.07282648980617523,
-0.02373228594660759,
-0.017555121332406998,
0.0068495082668960094,
0.01711422950029373,
0.007853629067540169,
-0.0026937031652778387,
-0.07364106923341751,
0.021072397008538246,
-0.005915528628975153,
-0.010988688096404076,
-0.027313735336065292,
-0.02681351825594902,
0.0016343684401363134,
-0.025872208178043365,
0.019442494958639145,
0.03148430585861206,
-0.032582513988018036,
0.022477587684988976,
0.0420185923576355,
-0.042783256620168686,
0.054012198001146317,
-0.002804090268909931,
-0.03418289124965668,
-0.028099028393626213,
0.00853921752423048,
0.03178346902132034,
-0.0050365193746984005,
0.007700297050178051,
-0.02071927860379219,
0.0357351079583168,
0.02659318968653679,
0.008781559765338898,
0.03212249279022217,
0.007865714840590954,
0.005957671441137791,
0.018482716754078865,
-0.002510849619284272,
-0.005597158335149288,
0.024430612102150917,
-0.03410926088690758,
-0.020413566380739212,
-0.014589006081223488,
0.06438982486724854,
-0.00945439375936985,
-0.023753508925437927,
-0.036043375730514526,
0.008628078736364841,
-0.044165316969156265,
-0.0077005899511277676,
-0.013709092512726784,
0.018850961700081825,
0.052650824189186096,
-0.008651439100503922,
0.02599155716598034,
-0.01882890611886978,
-0.034852463752031326,
-0.036261219531297684,
0.018855158239603043,
-0.034418556839227676,
0.032522644847631454,
-0.013824772089719772,
0.00417782599106431,
0.03263270482420921,
0.0015332241309806705,
0.0447341687977314,
0.011234644800424576,
-0.022815218195319176,
-0.009129458107054234,
-0.004373056814074516,
0.008907994255423546,
0.05041907727718353,
0.07362321019172668,
0.005283328704535961,
-0.003041337477043271,
-0.024598104879260063,
-0.032595038414001465,
-0.007693352177739143,
-0.006258147303014994,
-0.04254065826535225,
-0.0035604636650532484,
-0.04843825101852417,
-0.07209070771932602,
0.031475648283958435,
0.04347318783402443,
0.004901092499494553,
0.028768490999937057,
-0.009181358851492405,
-0.008466118946671486,
-0.03530420362949371,
0.04502910375595093,
0.05000465363264084,
-0.06805139780044556,
-0.014638212509453297,
-0.005271457601338625,
-0.0037310360930860043,
0.006750880740582943,
0.0152958445250988,
-0.05334790423512459,
-0.004159984178841114,
-0.02873331494629383,
0.04740901663899422,
-0.00753737660124898,
-0.03142596036195755,
-0.04589546471834183,
0.020995382219552994,
-0.012875469401478767,
0.02022615820169449,
-0.032581787556409836,
0.0035308487713336945,
0.010690687224268913,
-0.014893296174705029,
0.03678295388817787,
-0.018777575343847275,
-0.014418568462133408,
-0.0007560537196695805,
-0.012089318595826626,
0.01520818192511797,
-0.034876830875873566,
0.0021049864590168,
0.010239331051707268,
-0.04325922951102257,
-0.0003356145170982927,
-0.07856903225183487,
0.027257494628429413,
0.008052331395447254,
0.05169602110981941,
-0.028135675936937332,
0.01332454290241003,
-0.03798459470272064,
0.009745679795742035,
-0.055205345153808594,
0.012224514037370682,
0.011722945608198643,
-0.015027307905256748,
0.026145586743950844,
0.039639394730329514,
0.032069139182567596,
-0.005787132307887077,
-0.017275899648666382,
-0.010096069425344467,
0.048308588564395905,
-0.03658367320895195,
-0.06338410079479218,
-0.005881700199097395,
-0.03918115794658661,
0.007718140259385109,
-0.007012896239757538,
-0.007628863211721182,
-0.037550702691078186,
0.046924442052841187,
0.025334108620882034,
0.05105970427393913,
0.07874352484941483,
-0.015386265702545643,
0.008488860912621021,
-0.00529157929122448,
-0.008863613940775394,
-0.0851062461733818,
-0.03212469816207886,
0.010111655108630657,
-0.011335169896483421,
-0.01898195408284664,
-0.008068464696407318,
-0.006397316697984934,
0.02210133522748947,
-0.07641847431659698,
-0.03949960693717003,
0.04512254521250725,
-0.016687950119376183,
0.04194246232509613,
0.031356073915958405,
-0.04791029170155525,
-0.0190072413533926,
0.031261444091796875,
-0.05393049865961075,
-0.0020587509498000145,
-0.01597481407225132,
0.05940166488289833,
-0.036598335951566696,
0.03226085007190704,
-0.03584446758031845,
-0.028626134619116783,
0.05721866711974144,
0.00686325877904892,
-0.004121726844459772,
0.06665512174367905,
-0.016596639528870583,
0.015817653387784958,
0.022129133343696594,
-0.027160797268152237,
-0.015361683443188667,
0.019143275916576385,
0.01448064111173153,
-0.048689719289541245,
0.027624227106571198,
0.014940069057047367,
-0.028590712696313858,
-0.045065026730298996,
0.09616713970899582,
-0.01566355489194393,
-0.0425260029733181,
-0.020326348021626472,
0.012598292902112007,
-0.03141113743185997,
-0.008661264553666115,
-0.0032132314518094063,
-0.008905879221856594,
-0.019409600645303726,
0.05675662308931351,
-0.011885305866599083,
0.011891301721334457,
0.08618469536304474,
0.01666788011789322,
-0.000008419954610872082,
0.007715972606092691,
0.08501660078763962,
0.1130359098315239,
0.03832269087433815,
0.0036376002244651318,
0.049782972782850266,
-0.03981342166662216,
-0.06071031466126442,
-0.00012247040285728872,
-0.05068362504243851,
-0.026206539943814278,
-0.015148683451116085,
0.012382417917251587,
0.07907427847385406,
-0.03257831931114197,
0.06616739183664322,
-0.0029549929313361645,
-0.034691184759140015,
-0.01363019086420536,
-0.013910745270550251,
0.043864503502845764,
0.04947161301970482,
0.018383096903562546,
0.05699734389781952,
-0.027177518233656883,
-0.017147602513432503,
0.05829356983304024,
0.010158397257328033,
-0.023843437433242798,
0.023150932043790817,
-0.0015563057968392968,
0.012519936077296734,
0.017746316269040108,
0.014749652706086636,
0.06761596351861954,
-0.03127288073301315,
-0.01985868811607361,
-0.005736494902521372,
0.034843750298023224,
0.004083380568772554,
0.010833618231117725,
0.014654365368187428,
-0.011825313791632652,
-0.007907855324447155,
-0.04009168967604637,
-0.01676030084490776,
0.010608000680804253,
-0.025936052203178406,
0.056138284504413605,
-0.03366803377866745,
0.007076846435666084,
0.003070803824812174,
-0.026613321155309677,
-0.04595385491847992,
-0.05727238580584526,
-0.028500784188508987,
-0.07281038165092468,
-0.07002440840005875,
-0.006720973644405603,
0.02269059605896473,
-0.006386942695826292,
-0.04302610084414482,
0.019678927958011627,
-0.019973641261458397,
-0.03331335261464119,
0.0017895043129101396,
-0.05063240975141525,
-0.01831546612083912,
0.009071915410459042,
-0.0105720404535532,
0.03310653567314148,
0.023230047896504402,
0.039933886379003525,
0.012331713922321796,
0.0002743221411947161,
-0.03247997909784317,
0.03208766505122185,
0.03563074767589569,
0.047093428671360016,
0.0019696494564414024,
-0.0585467666387558,
0.024412276223301888,
0.029674706980586052,
-0.022029275074601173,
-0.08400041610002518,
0.04572601616382599,
0.022964369505643845,
0.02379526011645794,
0.025576436892151833,
-0.0018019588897004724,
-0.00032651933724991977,
-0.025012750178575516,
0.015411753207445145,
0.022271469235420227,
0.05662992224097252,
0.02792586386203766,
-0.03362879529595375,
0.059798721224069595,
0.05033354461193085,
-0.027350928634405136,
-0.029722200706601143,
-0.03186086565256119,
-0.0037940647453069687,
-0.02017303556203842,
-0.04645456001162529,
-0.0354437418282032,
-0.05293257534503937,
-0.09269532561302185,
-0.042412806302309036,
0.03312171250581741,
-0.040611881762742996,
-0.005143761169165373,
0.029922351241111755,
0.02143663354218006,
-0.031374890357255936,
0.007137724664062262,
-0.02513156458735466,
0.045251958072185516,
-0.01635473035275936,
-0.02299722284078598,
-0.02161737158894539,
0.0016477415338158607,
-0.004294021520763636,
0.021150454878807068,
0.009432930499315262,
-0.04223109781742096,
0.015373485162854195,
-0.007520723156630993,
0.021337950602173805,
0.03919832408428192,
0.02455514296889305,
0.01830628514289856
] | [
-0.05921509861946106,
-0.0451444536447525,
-0.03256361186504364,
-0.01552655827254057,
0.07208947837352753,
-0.0629071593284607,
0.010754072107374668,
-0.0070437784306705,
0.004259551875293255,
-0.03060019575059414,
0.05875192582607269,
-0.006300894543528557,
0.03182792663574219,
-0.010827071033418179,
0.0443146750330925,
-0.020013125613331795,
-0.05993366613984108,
-0.03436588868498802,
-0.009888073429465294,
0.045986197888851166,
-0.08786173909902573,
-0.04234284535050392,
-0.031049435958266258,
-0.018043741583824158,
0.0544961653649807,
0.043689168989658356,
0.018398582935333252,
-0.034335389733314514,
-0.053264714777469635,
-0.20474034547805786,
-0.008570234291255474,
0.03471647948026657,
0.03644232451915741,
0.03248907998204231,
0.015297717414796352,
0.02462589368224144,
0.06821583956480026,
-0.01777714490890503,
0.007946795783936977,
0.04035850614309311,
0.007385167293250561,
0.0005956200184300542,
-0.048620037734508514,
0.009670128114521503,
0.029577698558568954,
0.029178043827414513,
-0.05212464928627014,
-0.010442903265357018,
-0.04064979404211044,
0.03447111323475838,
-0.011328405700623989,
-0.029461398720741272,
-0.0001754504191922024,
0.029338380321860313,
0.02761300839483738,
0.10812210291624069,
0.03694760799407959,
0.021845921874046326,
0.0199375431984663,
0.01657528057694435,
-0.006839809473603964,
0.005359101574867964,
-0.1762675940990448,
0.061115846037864685,
0.004841645248234272,
-0.024507271125912666,
-0.02574513666331768,
-0.00950862467288971,
-0.03200975060462952,
0.06101388484239578,
0.019500520080327988,
0.01781589537858963,
-0.045339666306972504,
0.0365278534591198,
0.020070357248187065,
0.02790546417236328,
-0.03727445378899574,
-0.012687066569924355,
0.03072102926671505,
-0.00451429421082139,
-0.045441143214702606,
0.04564264789223671,
-0.029785748571157455,
-0.029797280207276344,
-0.0016474055591970682,
0.024747423827648163,
0.015019664540886879,
0.023848822340369225,
-0.009852106682956219,
0.05034478008747101,
0.00863430555909872,
0.04364710673689842,
0.03907523304224014,
0.017135757952928543,
-0.09419281780719757,
-0.015747420489788055,
0.052828598767519,
0.04586883634328842,
0.0015986867947503924,
0.38241055607795715,
-0.0112739447504282,
0.04261593520641327,
0.010523843578994274,
0.04712437465786934,
-0.047224439680576324,
-0.019483834505081177,
0.01921478845179081,
-0.0739690363407135,
0.04229415953159332,
-0.018100688233971596,
0.003789226058870554,
-0.03231481835246086,
0.04327711462974548,
-0.10466673225164413,
0.01867198944091797,
-0.0013943983940407634,
0.06774719059467316,
0.03321419656276703,
-0.01103885006159544,
0.038596246391534805,
0.016862226650118828,
-0.02074381709098816,
0.03495585173368454,
0.030800966545939445,
0.008625752292573452,
0.04161066561937332,
0.02840353362262249,
0.04562311992049217,
0.07036121934652328,
0.07180211693048477,
0.07740423083305359,
0.02457827888429165,
-0.05883454531431198,
0.003385657910257578,
0.019494475796818733,
0.016336530447006226,
-0.0032545477151870728,
-0.027262335643172264,
-0.029168391600251198,
0.04304222762584686,
-0.034263357520103455,
-0.05164751783013344,
0.04827500507235527,
0.009721310809254646,
-0.031150231137871742,
0.14604972302913666,
-0.025873612612485886,
-0.029472816735506058,
-0.02078540064394474,
-0.011321721598505974,
-0.02604532055556774,
0.02520439587533474,
-0.024715838953852654,
-0.06047385558485985,
-0.036850228905677795,
-0.005368542391806841,
0.07411536574363708,
-0.03989885747432709,
-0.052256982773542404,
-0.004471577703952789,
-0.02636973187327385,
-0.02977166324853897,
-0.02917199581861496,
0.051358096301555634,
0.07107611000537872,
-0.1255674809217453,
0.029380200430750847,
0.018359575420618057,
-0.009059173986315727,
-0.10452470928430557,
0.03065735660493374,
-0.025327757000923157,
-0.010320550762116909,
0.01360275223851204,
0.08695559948682785,
0.008866755291819572,
0.009270227514207363,
-0.0019120980286970735,
0.06437207758426666,
0.019282450899481773,
-0.012725281529128551,
-0.0043580131605267525,
-0.051505766808986664,
-0.012012241408228874,
-0.044166598469018936,
-0.025223542004823685,
-0.08397672325372696,
0.019054995849728584,
-0.009316741488873959,
-0.004731383174657822,
-0.03654288873076439,
-0.012746162712574005,
-0.0843169242143631,
0.06104898080229759,
-0.06085312366485596,
-0.03765585273504257,
0.0058209532871842384,
-0.007387455552816391,
-0.004227627534419298,
-0.03354073315858841,
-0.007485200650990009,
0.0221545547246933,
-0.02970971167087555,
0.013242775574326515,
-0.03296411782503128,
0.04160505533218384,
0.0842553898692131,
-0.05495303124189377,
0.06872041523456573,
0.03536185994744301,
-0.019957371056079865,
0.006772961467504501,
-0.03355437144637108,
0.001758819562382996,
0.004975896794348955,
0.002440414158627391,
0.00831713154911995,
-0.03567582368850708,
-0.008343610912561417,
0.04923604428768158,
0.004677331540733576,
0.002579523716121912,
0.010249445214867592,
-0.32389241456985474,
-0.00786077044904232,
0.01048951968550682,
0.009002192877233028,
-0.015789221972227097,
-0.04001680389046669,
0.017750829458236694,
-0.035098135471343994,
0.03389015421271324,
0.08880463987588882,
0.09121670573949814,
0.048370976001024246,
-0.013228680938482285,
-0.09384187310934067,
0.01322636567056179,
0.06122644245624542,
0.009501541033387184,
0.014005317352712154,
-0.029671236872673035,
0.009624850004911423,
-0.001826501335017383,
-0.028340045362710953,
-0.020882468670606613,
-0.03912976756691933,
0.015188888646662235,
0.012334912084043026,
0.11061766743659973,
0.01695503666996956,
-0.03444790840148926,
-0.05168533697724342,
0.03477955609560013,
0.03403502702713013,
-0.05118505284190178,
-0.03809133544564247,
0.013785076327621937,
-0.003928139340132475,
0.028122348710894585,
0.004245948977768421,
0.011717449873685837,
-0.010916215367615223,
-0.04395073279738426,
0.017362026497721672,
-0.04771876707673073,
-0.06218213215470314,
-0.022424647584557533,
-0.015314445830881596,
-0.044065721333026886,
-0.019594961777329445,
-0.02719973213970661,
0.03742887079715729,
0.021740611642599106,
-0.030487388372421265,
0.018512776121497154,
0.04603511095046997,
0.013621010817587376,
-0.0345885343849659,
-0.048475414514541626,
-0.02103574387729168,
-0.0007440414046868682,
0.00575845455750823,
-0.009945046156644821,
0.03907797485589981,
0.0014144758461043239,
-0.05885428562760353,
0.023502599447965622,
-0.002799463225528598,
-0.016783060505986214,
-0.00777436001226306,
0.0015055476687848568,
-0.005154429469257593,
-0.0171955619007349,
0.07372666895389557,
-0.038889072835445404,
0.03920946642756462,
0.018901372328400612,
0.0036414642818272114,
-0.056963395327329636,
-0.03474058210849762,
0.041694674640893936,
0.03163360059261322,
0.02202475816011429,
-0.058443062007427216,
0.06007387489080429,
-0.014564034529030323,
-0.0032041382510215044,
0.04839508980512619,
-0.0006947306101210415,
0.010654561221599579,
0.05653166398406029,
0.007181406486779451,
-0.037920910865068436,
-0.02425840124487877,
-0.029961226508021355,
-0.02646004594862461,
0.035897694528102875,
-0.026750857010483742,
-0.30313703417778015,
0.05015435442328453,
0.0025501383934170008,
0.0045321048237383366,
0.027148108929395676,
0.026329465210437775,
0.017298514023423195,
-0.0034629537258297205,
-0.027097074314951897,
-0.02472578175365925,
0.05616248771548271,
0.08804801106452942,
-0.015857292339205742,
-0.007301579229533672,
0.011412251740694046,
0.03653562813997269,
0.0029141714330762625,
-0.0007680850685574114,
-0.02368750050663948,
-0.008219311013817787,
0.020106567069888115,
-0.05958214029669762,
0.17880873382091522,
0.0037518132012337446,
0.022019263356924057,
0.03586215525865555,
-0.02005116641521454,
-0.008539046160876751,
0.05124305933713913,
-0.003614310175180435,
-0.0288395993411541,
-0.011474971659481525,
0.041962746530771255,
0.007336791139096022,
0.01234118640422821,
-0.003322683507576585,
-0.03109906241297722,
0.025193991139531136,
0.028826382011175156,
-0.041892457753419876,
-0.030505672097206116,
0.014819472096860409,
0.0016937603941187263,
0.03342766687273979,
0.06224467232823372,
-0.027044594287872314,
0.0014096158556640148,
-0.04425852745771408,
-0.008025053888559341,
0.0019637057557702065,
-0.030335616320371628,
-0.03489399701356888,
-0.0380244180560112,
-0.016105541959404945,
-0.00926127191632986,
0.019972387701272964,
0.00700894370675087,
-0.011083511635661125,
0.04731474816799164,
0.03772389143705368,
-0.05367763340473175,
-0.039973001927137375,
0.080490343272686,
-0.013321028091013432,
0.02687641605734825
] | [
-0.008613456971943378,
0.04880431666970253,
0.007027005311101675,
0.014435240998864174,
0.009866135194897652,
0.010444486513733864,
-0.00002897217927966267,
-0.013241774402558804,
-0.017695553600788116,
-0.05242849141359329,
-0.03205883130431175,
0.00798882357776165,
0.02785104140639305,
-0.0278343316167593,
0.014268594793975353,
-0.011958335526287556,
-0.0179040115326643,
-0.01060484442859888,
0.04410157725214958,
-0.017799224704504013,
-0.06087621673941612,
0.005047439597547054,
0.03257577121257782,
0.007866496220231056,
-0.012950628995895386,
0.043121229857206345,
-0.007378973998129368,
0.025994809344410896,
0.022103063762187958,
-0.07984329760074615,
-0.03724774345755577,
0.0021716610062867403,
-0.01849331520497799,
0.0008541377610526979,
-0.022377468645572662,
0.033655766397714615,
-0.000030146507924655452,
0.02924814261496067,
0.030084505677223206,
0.018025703728199005,
-0.040291037410497665,
-0.01667071506381035,
0.021097661927342415,
0.008578461594879627,
-0.010878701694309711,
-0.007707423996180296,
0.005780608393251896,
-0.0019689917098730803,
-0.02773701585829258,
-0.00010844308417290449,
-0.007359512150287628,
0.010658271610736847,
-0.024447467178106308,
0.013670716434717178,
0.027634138241410255,
0.007064598612487316,
-0.06278795748949051,
-0.0072349244728684425,
-0.032417431473731995,
-0.028076333925127983,
-0.028545184060931206,
-0.0045662145130336285,
-0.03754480183124542,
-0.008346297778189182,
-0.0021939952857792377,
-0.015747997909784317,
-0.04880812019109726,
0.026980487629771233,
0.0029311480466276407,
0.024714134633541107,
-0.042878858745098114,
0.06964275985956192,
-0.03520772233605385,
-0.0315893292427063,
-0.013353838585317135,
0.019106492400169373,
0.019116120412945747,
-0.04603784158825874,
0.03969278186559677,
0.002020319225266576,
-0.029458453878760338,
0.013511307537555695,
-0.029651008546352386,
0.013249725103378296,
-0.017278006300330162,
-0.032069504261016846,
0.01728658936917782,
0.008614735677838326,
0.004869910888373852,
-0.020817147567868233,
-0.014855568297207355,
0.047799013555049896,
0.013298215344548225,
-0.0073479036800563335,
-0.1089366003870964,
0.010263665579259396,
0.015979744493961334,
0.028810760006308556,
0.02564239129424095,
0.843635618686676,
-0.005847515072673559,
0.008104287087917328,
-0.013260937295854092,
0.012119332328438759,
-0.027157166972756386,
-0.01438343059271574,
0.0013302603038027883,
0.017204811796545982,
0.00856930110603571,
-0.008581816218793392,
-0.03334661200642586,
0.03162132203578949,
0.0025626805145293474,
0.017637066543102264,
-0.0012592581333592534,
0.03872928023338318,
0.034021344035863876,
0.003548822831362486,
0.009083637036383152,
0.0162043496966362,
-0.013045784085988998,
0.025755049660801888,
0.02951732836663723,
0.012045469135046005,
0.00509108230471611,
-0.15572023391723633,
0.019119538366794586,
-6.329228926811828e-33,
0.0395602248609066,
-0.003639691509306431,
0.0549723245203495,
-0.02240992896258831,
0.03282942622900009,
-0.003740798681974411,
-0.038490086793899536,
-0.04462135210633278,
-0.0050264885649085045,
-0.031053613871335983,
-0.01310783065855503,
0.006265260744839907,
0.012585233896970749,
-0.017946401610970497,
0.01642441563308239,
-0.014791936613619328,
0.021107947453856468,
0.036208249628543854,
-0.00627496000379324,
-0.02184399589896202,
0.009816563688218594,
0.009098532609641552,
0.00952134095132351,
0.03101193532347679,
-0.024046780541539192,
0.03911053389310837,
0.017646538093686104,
0.03863385692238808,
0.00833453144878149,
-0.05931616947054863,
-0.02527383714914322,
0.03880612552165985,
-0.018688371405005455,
-0.009877331554889679,
0.02757805958390236,
-0.048931993544101715,
-0.02429433912038803,
0.002972373040392995,
-0.02416328154504299,
-0.007398511283099651,
-0.022068746387958527,
-0.004785127937793732,
-0.01944667100906372,
-0.03582310676574707,
-0.020240362733602524,
-0.020880460739135742,
-0.004090459551662207,
0.0460234172642231,
-0.004879537038505077,
0.008569931611418724,
-0.010249416343867779,
-0.020498601719737053,
0.014873900450766087,
-0.0028520761989057064,
-0.05775328353047371,
-0.006867704913020134,
0.006931563373655081,
-0.0013288665795698762,
-0.0028734912630170584,
0.022449947893619537,
0.007403371389955282,
-0.033918336033821106,
0.019837768748402596,
0.03294697403907776,
0.015530512668192387,
0.008879612199962139,
0.0051340279169380665,
-0.031083840876817703,
0.016805706545710564,
0.01977410539984703,
-0.0303048063069582,
0.04495879262685776,
-0.03935461863875389,
-0.012970631942152977,
0.049727026373147964,
-0.041856978088617325,
0.011095809750258923,
0.014895985834300518,
0.029711363837122917,
0.049659162759780884,
0.01937156543135643,
-0.020495310425758362,
0.023164425045251846,
-0.02456820197403431,
-0.03197165206074715,
-0.056189097464084625,
0.012470829300582409,
0.02357524074614048,
-0.00009071629756363109,
0.024286193773150444,
-0.00506565673276782,
0.008155721239745617,
0.020415201783180237,
-0.019324837252497673,
0.023211156949400902,
6.0134602874542524e-33,
0.006530658341944218,
-0.0010990941664204001,
-0.00014245303464122117,
-0.011370750144124031,
0.06101924926042557,
-0.01705154962837696,
0.026293080300092697,
0.02876516990363598,
-0.008165065199136734,
0.040967121720314026,
-0.010825340636074543,
-0.032805491238832474,
-0.0032227756455540657,
0.01685882918536663,
0.062328141182661057,
0.009110668674111366,
0.04360474646091461,
-0.02043582871556282,
-0.01131269708275795,
0.018306056037545204,
-0.032964326441287994,
-0.0018979369197040796,
-0.0019338453421369195,
-0.010649697855114937,
0.05602133646607399,
0.031065059825778008,
0.006461193785071373,
0.008196597918868065,
-0.00685581611469388,
-0.005844838451594114,
0.009889373555779457,
-0.037682775408029556,
-0.02361663244664669,
0.017569048330187798,
0.006197804119437933,
0.030642742291092873,
-0.004296180792152882,
-0.01617581583559513,
0.0013966626720502973,
-0.015439167618751526,
0.04706323519349098,
0.010178783908486366,
-0.021953703835606575,
0.04939506947994232,
0.019356170669198036,
0.01437592413276434,
-0.009970112703740597,
0.004324459936469793,
-0.054820626974105835,
0.02163173444569111,
-0.01132203172892332,
0.009629805572330952,
0.0018145875073969364,
-0.018312908709049225,
0.042134881019592285,
-0.025020798668265343,
0.000403938174713403,
-0.00476691173389554,
-0.0018003758741542697,
0.00439763767644763,
-0.014172551222145557,
-0.029808562248945236,
-0.06243586540222168,
0.0566367581486702,
-0.026441305875778198,
-0.03784151375293732,
-0.039053983986377716,
-0.019818754866719246,
-0.008555435575544834,
0.029561560600996017,
-0.023080384358763695,
-0.04813312366604805,
-0.01429889164865017,
0.018071584403514862,
0.009022070094943047,
-0.019467022269964218,
-0.02459726482629776,
0.015855370089411736,
-0.026382749900221825,
0.022807195782661438,
0.005657073110342026,
-0.01187965925782919,
0.023292463272809982,
-0.006444166414439678,
-0.018718278035521507,
0.015669813379645348,
-0.033430181443691254,
0.046453576534986496,
0.002700977958738804,
-0.013764056377112865,
0.03961136192083359,
-0.05167203024029732,
-0.006155015900731087,
0.06332674622535706,
-0.006237289402633905,
-1.24633858789025e-8,
-0.029721612110733986,
-0.0009055312257260084,
-0.013512210920453072,
-0.013264722190797329,
0.03531089052557945,
0.0004514912434387952,
0.006974902935326099,
-0.00941031239926815,
0.001883386867120862,
0.023235531523823738,
0.021252814680337906,
-0.029031381011009216,
0.018232781440019608,
-0.002928901696577668,
-0.016560504212975502,
-0.05062432214617729,
-0.01348219532519579,
-0.013863657601177692,
0.017563145607709885,
-0.0007363550248555839,
-0.004210106562823057,
0.005919192917644978,
-0.02402029000222683,
-0.012162189930677414,
0.03382481262087822,
0.03501464053988457,
0.021649649366736412,
-0.028484947979450226,
-0.0010774882975965738,
-0.011626791208982468,
0.0017843855312094092,
-0.025092950090765953,
-0.02982851304113865,
-0.0013504748931154609,
-0.04155537486076355,
-0.047332312911748886,
0.009362175129354,
0.034360289573669434,
0.017107460647821426,
0.02711479179561138,
0.010553758591413498,
0.02375815622508526,
-0.016542399302124977,
-0.020751655101776123,
-0.022748133167624474,
0.03191151097416878,
-0.026984520256519318,
-0.025075990706682205,
0.024987705051898956,
-0.040484778583049774,
0.009577021934092045,
-0.01136955339461565,
0.022547263652086258,
-0.006136517971754074,
0.01601111702620983,
0.02819528430700302,
0.00568019226193428,
-0.019455740228295326,
-0.010342847555875778,
-0.05943312495946884,
-0.010533956810832024,
0.00914719793945551,
-0.014152135699987411,
-0.04614695906639099
] | rplyr-ddply-renaming-the-groupinggenerate-column-when-grouping-by-date | https://markhneedham.com/blog/2014/07/02/rplyr-ddply-renaming-the-groupinggenerate-column-when-grouping-by-date |
false | 2014-07-20 15:13:00 | Neo4j 2.1.2: Finding where I am in a linked list | [
"neo4j"
] | [
"neo4j"
] | I was recently asked how to calculate the position of a node in a linked list and realised that as the list increases in size this is one of the occasions when we should write an http://docs.neo4j.org/chunked/stable/server-unmanaged-extensions.html[unmanaged extension] rather than using cypher.
I wrote a quick bit of code to create a linked list with 10,000 elements in it:
[source,java]
----
public class Chains
{
public static void main(String[] args)
{
String simpleChains = "/tmp/longchains";
populate( simpleChains, 10000 );
}
private static void populate( String path, int chainSize )
{
GraphDatabaseService db = new GraphDatabaseFactory().newEmbeddedDatabase( path );
try(Transaction tx = db.beginTx()) {
Node currentNode = null;
for ( int i = 0; i < chainSize; i++ )
{
Node node = db.createNode();
if(currentNode != null) {
currentNode.createRelationshipTo( node, NEXT );
}
currentNode = node;
}
tx.success();
}
db.shutdown();
}
}
----
To find our distance from the end of the linked list we could write the following cypher query:
[source,cypher]
----
match n where id(n) = {nodeId} with n
match path = (n)-[:NEXT*]->()
RETURN id(n) AS nodeId, length(path) AS length
ORDER BY length DESC
LIMIT 1;
----
For simplicity we're finding a node by it's internal node id and then finding the 'NEXT' relationships going out from this node recursively. We then filter the results so that we only get the longest path back which will be our distance to the end of the list.
I noticed that this query would sometimes take 10s of seconds so I wrote a version using the http://docs.neo4j.org/chunked/stable/tutorial-traversal-java-api.html[Java Traversal API] to see whether I could get it any quicker.
This is the Java version:
[source,java]
----
try(Transaction tx = db.beginTx()) {
Node startNode = db.getNodeById( nodeId );
TraversalDescription traversal = db.traversalDescription();
Traverser traverse = traversal
.depthFirst()
.relationships( NEXT, Direction.OUTGOING )
.sort( new Comparator<Path>()
{
@Override
public int compare( Path o1, Path o2 )
{
return Integer.valueOf( o2.length() ).compareTo( o1 .length() );
}
} )
.traverse( startNode );
Collection<Path> paths = IteratorUtil.asCollection( traverse );
int maxLength = traverse.iterator().next().length();
System.out.print( maxLength );
tx.failure();
}
----
This is a bit more verbose than the cypher version but computes the same result. We've sorted the paths by length using a comparator to ensure we get the longest path back first.
I created a little program to warm up the caches and kick off a few iterations where I queried from different nodes and returned the length and time taken. These were the results:
[source,text]
----
--------
(Traversal API) Node: 1, Length: 9998, Time (ms): 15
(Cypher) Node: 1, Length: 9998, Time (ms): 26225
(Traversal API) Node: 456, Length: 9543, Time (ms): 10
(Cypher) Node: 456, Length: 9543, Time (ms): 24881
(Traversal API) Node: 761, Length: 9238, Time (ms): 9
(Cypher) Node: 761, Length: 9238, Time (ms): 9941
--------
(Traversal API) Node: 1, Length: 9998, Time (ms): 9
(Cypher) Node: 1, Length: 9998, Time (ms): 12537
(Traversal API) Node: 456, Length: 9543, Time (ms): 8
(Cypher) Node: 456, Length: 9543, Time (ms): 15690
(Traversal API) Node: 761, Length: 9238, Time (ms): 7
(Cypher) Node: 761, Length: 9238, Time (ms): 9202
--------
(Traversal API) Node: 1, Length: 9998, Time (ms): 8
(Cypher) Node: 1, Length: 9998, Time (ms): 11905
(Traversal API) Node: 456, Length: 9543, Time (ms): 7
(Cypher) Node: 456, Length: 9543, Time (ms): 22296
(Traversal API) Node: 761, Length: 9238, Time (ms): 8
(Cypher) Node: 761, Length: 9238, Time (ms): 8739
--------
----
Interestingly when I reduced the size of the linked list to 1000 the difference wasn't so pronounced:
[source,text]
----
--------
(Traversal API) Node: 1, Length: 998, Time (ms): 5
(Cypher) Node: 1, Length: 998, Time (ms): 174
(Traversal API) Node: 456, Length: 543, Time (ms): 2
(Cypher) Node: 456, Length: 543, Time (ms): 71
(Traversal API) Node: 761, Length: 238, Time (ms): 1
(Cypher) Node: 761, Length: 238, Time (ms): 13
--------
(Traversal API) Node: 1, Length: 998, Time (ms): 2
(Cypher) Node: 1, Length: 998, Time (ms): 111
(Traversal API) Node: 456, Length: 543, Time (ms): 1
(Cypher) Node: 456, Length: 543, Time (ms): 40
(Traversal API) Node: 761, Length: 238, Time (ms): 1
(Cypher) Node: 761, Length: 238, Time (ms): 12
--------
(Traversal API) Node: 1, Length: 998, Time (ms): 3
(Cypher) Node: 1, Length: 998, Time (ms): 129
(Traversal API) Node: 456, Length: 543, Time (ms): 2
(Cypher) Node: 456, Length: 543, Time (ms): 48
(Traversal API) Node: 761, Length: 238, Time (ms): 0
(Cypher) Node: 761, Length: 238, Time (ms): 12
--------
----
which is good news as most linked lists that we'll create will be in the 10s - 100s range rather than 10,000 which was what I was faced with.
I'm sure cypher will reach parity for this type of query in future which will be great as I like writing cypher much more than I do Java. For now though it's good to know we have a backup option to call on when necessary.
The code is https://gist.github.com/mneedham/33d42fa1edca604946ec[available as a gist] if you want to play around with it further. | null | null | [
0.002808855613693595,
-0.048332441598176956,
-0.02230658009648323,
0.0305195115506649,
0.0752020850777626,
-0.021361535415053368,
0.012854127213358879,
0.02646143175661564,
-0.0037616733461618423,
-0.021717427298426628,
0.004919225815683603,
-0.003751960815861821,
-0.07141511887311935,
0.030261831358075142,
0.014866006560623646,
0.0486423522233963,
0.06985528767108917,
-0.013805083930492401,
0.015402077697217464,
-0.0344659760594368,
-0.017670491710305214,
0.0324384905397892,
-0.00821384321898222,
0.033949024975299835,
0.05302058160305023,
0.037044789642095566,
-0.0224924236536026,
-0.0008306237286888063,
-0.03251834958791733,
0.013748673722147942,
0.060706961899995804,
-0.013629880733788013,
0.025464652106165886,
-0.014038695022463799,
0.019716184586286545,
-0.028201671317219734,
-0.0441315658390522,
-0.004866470582783222,
-0.011296573095023632,
-0.015755387023091316,
-0.06653831154108047,
0.03553646430373192,
-0.010442908853292465,
0.020629901438951492,
-0.03172291815280914,
-0.007406259886920452,
-0.05323667824268341,
0.031425174325704575,
0.00022488957620225847,
0.01954313926398754,
-0.09874230623245239,
0.006281081587076187,
-0.03584333509206772,
0.02798481099307537,
0.011239226907491684,
0.048096440732479095,
0.03805847465991974,
-0.07141544669866562,
0.0449531264603138,
-0.041027337312698364,
0.02136286161839962,
-0.024967577308416367,
0.010866239666938782,
0.02371327206492424,
-0.00007943333184812218,
-0.053302276879549026,
-0.008635321632027626,
0.06490744650363922,
-0.04947629198431969,
-0.01323196105659008,
0.0016505576204508543,
0.021872594952583313,
-0.025081412866711617,
0.0001990709570236504,
-0.007680082228034735,
-0.027593962848186493,
-0.019845088943839073,
0.03101401776075363,
0.033151544630527496,
0.06125021353363991,
-0.020755263045430183,
0.016349639743566513,
-0.0005594397080130875,
0.009394818916916847,
0.009229248389601707,
-0.021005474030971527,
-0.03390047699213028,
-0.013077309355139732,
-0.03892605006694794,
0.04414893686771393,
-0.0008442350663244724,
-0.034215494990348816,
-0.042359609156847,
0.022077856585383415,
-0.038389842957258224,
-0.013533331453800201,
-0.0035677659325301647,
0.0039858766831457615,
0.0038561734836548567,
-0.003424782771617174,
-0.017528776079416275,
-0.04014186933636665,
0.009778793901205063,
-0.01934206113219261,
-0.0729031041264534,
-0.021323179826140404,
-0.019862806424498558,
-0.01802329160273075,
0.025752829387784004,
-0.0024727322161197662,
-0.0681597888469696,
0.002661684062331915,
-0.03741847723722458,
0.019157251343131065,
-0.0769377201795578,
0.06189367547631264,
0.020634125918149948,
0.005916216876357794,
-0.014730862341821194,
0.01694415509700775,
0.028918592259287834,
0.015490809455513954,
0.02326691336929798,
0.0735861286520958,
-0.01600632816553116,
0.046582918614149094,
0.00559618417173624,
0.04240484908223152,
-0.004904404282569885,
-0.07908746600151062,
-0.015608821995556355,
0.052138734608888626,
0.022457554936408997,
-0.005392215680330992,
-0.022859297692775726,
-0.025311745703220367,
-0.010166920721530914,
0.03777926787734032,
0.03356849029660225,
0.0031925488729029894,
0.004473092500120401,
-0.05670637637376785,
0.050668865442276,
-0.008228396065533161,
0.020487261936068535,
0.011290905997157097,
-0.03147553652524948,
-0.03661506250500679,
-0.0005071815103292465,
0.03890429064631462,
-0.018552938476204872,
0.0468573123216629,
0.024058282375335693,
-0.028998099267482758,
0.006640609819442034,
0.11064041405916214,
-0.005684145260602236,
-0.0006254739128053188,
0.002972508082166314,
0.024478809908032417,
0.06459072232246399,
0.00335908611305058,
0.006157710216939449,
0.05624169483780861,
0.006592700723558664,
-0.000795045227278024,
0.0036611324176192284,
0.06233258172869682,
-0.026122573763132095,
-0.004005815833806992,
-0.028955159708857536,
-0.027234559878706932,
0.044388897716999054,
-0.05049796402454376,
-0.039483923465013504,
0.006827531848102808,
0.04278312996029854,
-0.0090106762945652,
-0.004244361538439989,
0.0017878678627312183,
-0.06491093337535858,
0.05141959339380264,
0.029329927638173103,
0.017366843298077583,
-0.012035053223371506,
-0.002479759743437171,
0.09101937711238861,
0.04306509345769882,
-0.022768672555685043,
-0.0213774461299181,
-0.06510007381439209,
-0.06635412573814392,
-0.007626421749591827,
-0.0038364804349839687,
0.08319063484668732,
-0.03760819882154465,
0.00841215904802084,
0.030460195615887642,
0.006238181609660387,
0.010951307602226734,
0.005287609063088894,
0.0027452297508716583,
0.021286722272634506,
-0.046610359102487564,
-0.03715300187468529,
0.044153615832328796,
0.036163151264190674,
-0.05485732480883598,
-0.0524706095457077,
0.022616302594542503,
-0.005604585167020559,
0.008664160035550594,
0.017019882798194885,
-0.03033205308020115,
0.017667897045612335,
0.03905005753040314,
0.0390426330268383,
-0.005000235978513956,
0.05936861038208008,
-0.04558492451906204,
0.023095427080988884,
0.036956850439310074,
-0.04442733898758888,
-0.002827257616445422,
-0.017259061336517334,
0.10530640184879303,
0.06111364811658859,
-0.03558741882443428,
-0.0765065848827362,
0.04064925014972687,
0.013672475703060627,
-0.0441800057888031,
0.029011500999331474,
-0.013083207421004772,
-0.00624720798805356,
-0.012042789719998837,
-0.04305974394083023,
-0.024967428296804428,
0.011882237158715725,
-0.024251770228147507,
0.01637996733188629,
0.049326177686452866,
-0.028280530124902725,
0.06836620718240738,
0.02500898391008377,
-0.0015782804694026709,
0.017961163073778152,
-0.06016143411397934,
-0.04332536458969116,
0.02267824299633503,
0.01205900777131319,
-0.009115153923630714,
0.09049777686595917,
-0.006559822242707014,
-0.002381239552050829,
-0.03171199932694435,
-0.013916084542870522,
0.007804006338119507,
0.04187251254916191,
0.058036528527736664,
0.0007442546193487942,
0.06039729714393616,
0.008675619959831238,
-0.007290249690413475,
-0.041979335248470306,
-0.07112298160791397,
-0.016116807237267494,
-0.018586913123726845,
0.04462090879678726,
0.017243243753910065,
0.0038900405634194613,
-0.025186846032738686,
0.03671608865261078,
-0.007121358998119831,
0.00945255346596241,
-0.02664942666888237,
0.04953383654356003,
-0.02150776796042919,
-0.030854633077979088,
-0.04161269962787628,
-0.026900993660092354,
0.050828807055950165,
-0.04495531693100929,
-0.06592462956905365,
0.01630844920873642,
-0.030073311179876328,
0.07157203555107117,
-0.0475294329226017,
-0.02409161999821663,
0.010854617692530155,
0.03240559250116348,
0.04607192054390907,
-0.010021341033279896,
0.012642577290534973,
0.09551309794187546,
0.004382963292300701,
0.016555586829781532,
0.005392261315137148,
0.00002620204395498149,
0.021208202466368675,
-0.005901865195482969,
0.053201522678136826,
0.01029099803417921,
-0.01596193015575409,
-0.013404544442892075,
0.003442769404500723,
0.007536891382187605,
0.014367055147886276,
-0.24577738344669342,
0.07505526393651962,
-0.044251084327697754,
-0.054809797555208206,
0.017174767330288887,
-0.02386246621608734,
0.012061262503266335,
-0.048527542501688004,
-0.013376894406974316,
0.01767696812748909,
-0.026498733088374138,
-0.005281518679112196,
-0.028500590473413467,
0.05169272795319557,
0.00331733631901443,
0.020627999678254128,
-0.02327042818069458,
-0.041485559195280075,
-0.011283833533525467,
0.05480043217539787,
0.01465119980275631,
-0.0716169998049736,
-0.02171788178384304,
0.006141424644738436,
0.01715979352593422,
0.03442873805761337,
-0.09653055667877197,
0.028402727097272873,
-0.04633926600217819,
-0.02260817214846611,
-0.0008806256810203195,
-0.03908541426062584,
0.03015773557126522,
-0.021326635032892227,
-0.0297078974545002,
-0.02979237399995327,
0.007317325100302696,
0.02374155819416046,
-0.005462146829813719,
0.035854537039995193,
-0.04808187484741211,
-0.08544110506772995,
-0.00037782356957904994,
0.01394302025437355,
0.06739532202482224,
-0.010586048476397991,
-0.041514892131090164,
-0.023554809391498566,
0.0008638480212539434,
0.06736914813518524,
-0.010794087313115597,
-0.04772990942001343,
0.00009316606883658096,
-0.009991779923439026,
-0.00882700365036726,
-0.05279258266091347,
0.001703923218883574,
-0.006444681901484728,
-0.06429972499608994,
-0.024390945211052895,
-0.002564807655289769,
-0.050175584852695465,
0.02065943367779255,
-0.06708382815122604,
-0.0207285787910223,
-0.050346799194812775,
-0.06323450058698654,
0.003623478813096881,
0.030026089400053024,
0.007686950732022524,
0.006611090153455734,
0.03593502193689346,
-0.010397505015134811,
-0.10881075263023376,
-0.045971281826496124,
-0.04162312299013138,
-0.0014107614988461137,
-0.012572341598570347,
-0.030451877042651176,
0.042379070073366165,
-0.06586499512195587,
-0.02600240334868431,
-0.008743383921682835,
0.040707286447286606,
0.04688378795981407,
-0.02015097253024578,
0.005438989959657192,
-0.04650858789682388,
-0.030970238149166107,
0.00469773868098855,
0.067611463367939,
-0.00713516678661108,
-0.01171682495623827,
-0.0032768785022199154,
0.01982603594660759,
0.04852910339832306,
0.0007465600501745939,
0.010024397633969784,
0.01448998786509037,
0.028613653033971786,
0.08236196637153625,
0.004822682123631239,
0.0023483657278120518,
-0.03557108715176582,
-0.012852420099079609,
-0.015358185395598412,
-0.04544083774089813,
0.04091835021972656,
0.020230162888765335,
0.028466757386922836,
-0.006182377692312002,
0.00866569671779871,
0.00880512036383152,
-0.05896930769085884,
-0.04040225222706795,
-0.018091751262545586,
-0.007756177801638842,
0.013883348554372787,
0.033884309232234955,
-0.04806999862194061,
-0.04855410009622574,
0.020191429182887077,
0.033081427216529846,
-0.007371911313384771,
-0.05317448452115059,
-0.048829950392246246,
-0.04311780631542206,
-0.030067775398492813,
0.011948160827159882,
0.025306904688477516,
-0.034407082945108414,
0.059818461537361145,
0.021124543622136116,
0.003986218944191933,
0.026609407737851143,
-0.02857682853937149,
-0.03571780025959015,
-0.03450404852628708,
0.011114371940493584,
-0.012421532534062862,
-0.0032392465509474277,
0.004353944677859545,
-0.006999649573117495,
0.049890775233507156,
0.048005443066358566,
0.006696557626128197,
0.03461562842130661,
0.00033924198942258954,
0.011651108972728252,
-0.003055148757994175,
-0.011814489960670471,
-0.044803034514188766,
0.016168251633644104,
-0.0417383536696434,
-0.02997579611837864,
-0.024096297100186348,
0.05235041677951813,
-0.021796735003590584,
-0.0492730550467968,
-0.048445526510477066,
0.0244465172290802,
-0.06172153726220131,
0.03821634501218796,
-0.020249158143997192,
-0.0068566869013011456,
0.05838906764984131,
-0.006548290140926838,
0.07061272114515305,
-0.019215935841202736,
-0.028806231915950775,
-0.005607618484646082,
0.001398191088810563,
-0.045003827661275864,
0.022963661700487137,
0.011450633406639099,
0.00359670864418149,
0.020977158099412918,
0.03879132866859436,
-0.003914954140782356,
0.03674236685037613,
0.012440230697393417,
-0.010172205977141857,
0.02752142958343029,
0.01003926619887352,
0.04429928585886955,
0.04296306148171425,
-0.015319841913878918,
0.031832993030548096,
-0.03395587205886841,
0.0066646793857216835,
0.0028623328544199467,
-0.012121139094233513,
-0.019072072580456734,
0.03546375036239624,
-0.01101012248545885,
-0.07399436086416245,
0.03464137762784958,
-0.00478071765974164,
0.021254919469356537,
0.043785933405160904,
0.02690691128373146,
-0.008882630616426468,
-0.007229025475680828,
0.04291490092873573,
0.057135023176670074,
-0.03955746442079544,
0.0035241299774497747,
0.01841363124549389,
0.0187434833496809,
0.01164077129215002,
0.0009178604232147336,
-0.04994259029626846,
-0.02105770818889141,
-0.0164884552359581,
0.010192629881203175,
0.01193037535995245,
-0.04042830690741539,
-0.018017997965216637,
-0.0018261155346408486,
-0.020354818552732468,
0.013947895728051662,
0.01809607818722725,
-0.007467824965715408,
-0.050792813301086426,
0.0028282220009714365,
0.02307749167084694,
-0.013990652747452259,
-0.0339498333632946,
-0.0002727987302932888,
-0.034599460661411285,
0.010894275270402431,
-0.02061798796057701,
0.03622408211231232,
0.01943126507103443,
0.003446170361712575,
0.0015989562962204218,
-0.0682784765958786,
0.034082695841789246,
0.0059446897357702255,
0.082184799015522,
0.002687728265300393,
0.002621262101456523,
-0.019509300589561462,
0.01892148330807686,
-0.038749031722545624,
0.006671089679002762,
-0.009061465971171856,
-0.01401444710791111,
0.004184042569249868,
0.029546136036515236,
-0.00383321032859385,
0.041130322962999344,
0.010292218066751957,
-0.023581456393003464,
0.07239963859319687,
-0.018319569528102875,
-0.05735841393470764,
-0.03885858133435249,
-0.06036931648850441,
0.010288195684552193,
0.00947308074682951,
0.02691768668591976,
-0.031248612329363823,
0.06431186199188232,
0.0469403974711895,
0.0498364083468914,
0.008806370198726654,
-0.025707175955176353,
0.05387077480554581,
-0.025728672742843628,
-0.005963232833892107,
-0.08473293483257294,
-0.0030741135124117136,
0.03033214434981346,
0.0014368478441610932,
0.004512493032962084,
-0.022457700222730637,
-0.006140703801065683,
0.0016551715089008212,
-0.05111291632056236,
-0.0290693249553442,
0.044771961867809296,
0.009079359471797943,
0.013045157305896282,
0.0014441480161622167,
-0.03957264497876167,
-0.0016374305123463273,
0.03842845931649208,
-0.023601533845067024,
-0.024562882259488106,
-0.0424652174115181,
0.05167461186647415,
-0.017269602045416832,
0.02250942401587963,
-0.03556587174534798,
-0.012865543365478516,
0.07023554295301437,
0.027190186083316803,
0.04106663540005684,
0.05959109216928482,
-0.03181494027376175,
0.026937460526823997,
0.06396467983722687,
-0.03550703078508377,
-0.015515310689806938,
0.011704417876899242,
-0.026416489854454994,
-0.042603831738233566,
0.000938788871280849,
0.013481495901942253,
-0.014416588470339775,
-0.028718093410134315,
0.05819445475935936,
0.03170492500066757,
-0.050938136875629425,
-0.06265059113502502,
0.027101747691631317,
-0.013994947075843811,
-0.0003112643025815487,
-0.05602108687162399,
-0.0036299184430390596,
-0.024856287986040115,
0.06330427527427673,
-0.005720742512494326,
0.005526143126189709,
0.086019366979599,
-0.0052711996249854565,
-0.010136171244084835,
0.004420020617544651,
0.0799102783203125,
0.0897073820233345,
0.0505976565182209,
0.002802817849442363,
0.05930677056312561,
-0.012437297962605953,
-0.027267783880233765,
-0.02419620007276535,
-0.05799279361963272,
-0.0072188894264400005,
0.0039143371395766735,
0.024203965440392494,
0.06179305166006088,
-0.041508957743644714,
0.07759754359722137,
-0.057240065187215805,
0.01906677708029747,
0.00887999963015318,
0.01463969238102436,
0.033023424446582794,
0.062362976372241974,
0.016327617689967155,
0.0231770109385252,
-0.03653188794851303,
-0.017006758600473404,
0.007368739228695631,
0.015264872461557388,
-0.00990347657352686,
0.035837478935718536,
-0.003865170292556286,
-0.011128408834338188,
0.007163006346672773,
0.04156816750764847,
0.09201894700527191,
-0.03066864050924778,
0.0022330908104777336,
-0.014462263323366642,
0.0039687687531113625,
-0.02360864169895649,
0.005891329143196344,
0.00588133092969656,
-0.013758553192019463,
-0.015739811584353447,
-0.03516977280378342,
-0.033165205270051956,
-0.02231217920780182,
-0.03024696558713913,
-0.00748101994395256,
-0.02608616277575493,
0.005643709562718868,
-0.011430848389863968,
-0.015665968880057335,
-0.04413565620779991,
-0.04213603958487511,
-0.029910147190093994,
-0.047019120305776596,
-0.07757008075714111,
0.0008184741018339992,
0.011103426106274128,
-0.004235903266817331,
-0.019848782569169998,
0.025385526940226555,
-0.020220376551151276,
0.0016004199860617518,
0.03493277728557587,
-0.013239392079412937,
0.005811209324747324,
0.017105717211961746,
0.01950017549097538,
0.025167599320411682,
0.048815883696079254,
0.04191130772233009,
-0.02630067802965641,
0.027769368141889572,
-0.009758422151207924,
-0.016432616859674454,
0.0662364587187767,
0.033325567841529846,
-0.01048088725656271,
-0.07321170717477798,
0.0073049976490437984,
0.008189058862626553,
-0.008457997813820839,
-0.0787493959069252,
-0.013825385831296444,
0.03415146842598915,
0.004766413010656834,
0.03760780394077301,
-0.007719547022134066,
-0.019553614780306816,
-0.022841380909085274,
0.001016500755213201,
0.022526687011122704,
-0.02716802805662155,
0.03564213588833809,
-0.03653821349143982,
0.06534578651189804,
0.025836365297436714,
-0.01731489598751068,
-0.04078413173556328,
0.010459729470312595,
-0.012209446169435978,
0.01732521876692772,
-0.047869015485048294,
-0.039080679416656494,
-0.04609805345535278,
-0.06567224115133286,
0.007179269567131996,
0.015802109614014626,
-0.018549781292676926,
-0.028694139793515205,
0.008473465219140053,
0.05526549741625786,
-0.0477638840675354,
0.0265401229262352,
-0.03538194298744202,
0.05561085045337677,
-0.024568546563386917,
-0.04865916073322296,
-0.010556093417108059,
-0.009689196944236755,
-0.02347538247704506,
-0.00018588492821436375,
0.02711593732237816,
-0.04322110861539841,
-0.012597310356795788,
-0.022781409323215485,
0.034450944513082504,
0.04432572424411774,
0.01813752017915249,
0.0020067773293703794
] | [
-0.07576202601194382,
-0.04055636003613472,
-0.033433958888053894,
-0.004502108786255121,
0.030753184109926224,
-0.030061833560466766,
-0.026567531749606133,
0.013787878677248955,
0.034110087901353836,
-0.01980428397655487,
0.05176063999533653,
-0.035933446139097214,
0.03535262867808342,
0.03360874950885773,
0.04786546900868416,
-0.012484722770750523,
-0.03570408746600151,
-0.01946554146707058,
-0.004420958459377289,
0.03425047919154167,
0.020813433453440666,
-0.05171883851289749,
-0.004648709669709206,
-0.04465567320585251,
0.058477744460105896,
0.0558464452624321,
0.04074589163064957,
-0.039615027606487274,
0.01742863655090332,
-0.2076219916343689,
0.0024752572644501925,
-0.016303952783346176,
0.01732860691845417,
-0.009560419246554375,
-0.007685852702707052,
0.021886363625526428,
0.05872989445924759,
-0.034153182059526443,
0.014285563491284847,
0.035186607390642166,
0.03779785707592964,
0.06991118937730789,
-0.061951663345098495,
-0.01542475912719965,
0.041083596646785736,
0.01742813177406788,
-0.01006230991333723,
-0.030938545241951942,
-0.024594459682703018,
0.03184922784566879,
-0.05409736931324005,
-0.023666299879550934,
0.005337353330105543,
0.015461182221770287,
0.03523280471563339,
0.044208526611328125,
0.02903246320784092,
0.060414332896471024,
0.02787117287516594,
0.045502182096242905,
0.02025996707379818,
0.002636251738294959,
-0.102332204580307,
0.07178345322608948,
0.02602049894630909,
0.00408456614241004,
-0.046216823160648346,
0.001648999867029488,
-0.034796200692653656,
0.08481892198324203,
0.05917792767286301,
-0.0059496741741895676,
-0.024730348959565163,
0.07861800491809845,
-0.013642396777868271,
0.012538647279143333,
0.012350032106041908,
0.020819097757339478,
0.06873191148042679,
-0.034075554460287094,
-0.06194048747420311,
-0.009610490873456001,
-0.009537618607282639,
-0.007625402882695198,
-0.01878051646053791,
0.03809094429016113,
-0.022630825638771057,
0.048938341438770294,
0.005955579690635204,
0.045806966722011566,
0.034091826528310776,
-0.0066919405944645405,
0.03518271446228027,
0.010955323465168476,
-0.06601671874523163,
-0.020681923255324364,
-0.009834617376327515,
0.01214947272092104,
-0.005377184133976698,
0.3699502944946289,
-0.000933359086047858,
0.03690401837229729,
0.0039277332834899426,
0.04713720455765724,
-0.010226364247500896,
-0.006118535529822111,
-0.0056996457278728485,
-0.0473858043551445,
0.005684311967343092,
0.013520730659365654,
-0.026245784014463425,
-0.04717324301600456,
0.01313235517591238,
-0.09781283885240555,
0.0018798739183694124,
0.0018053794046863914,
0.05721088871359825,
0.021920152008533478,
-0.052066657692193985,
0.03453962132334709,
-0.027276933193206787,
0.046570535749197006,
0.025681478902697563,
0.013870893977582455,
0.02502182312309742,
0.022221392020583153,
-0.011422829702496529,
0.03400574252009392,
0.021028492599725723,
0.058324359357357025,
0.06572239100933075,
-0.017006080597639084,
-0.06839695572853088,
0.022684914991259575,
-0.008298144675791264,
0.015879636630415916,
0.034939125180244446,
-0.06528303027153015,
-0.014556742273271084,
-0.00587811041623354,
-0.007209285628050566,
-0.03811571002006531,
0.044082481414079666,
-0.00040325766894966364,
-0.04512844234704971,
0.15723484754562378,
-0.004553544335067272,
-0.014523888006806374,
-0.05828208476305008,
-0.05858173221349716,
-0.026976440101861954,
0.027759471908211708,
-0.03179289773106575,
-0.07671904563903809,
-0.036344654858112335,
0.017662908881902695,
0.04429404065012932,
0.006645046174526215,
-0.06103586405515671,
-0.011684415861964226,
-0.04389757290482521,
-0.007571612950414419,
-0.03150234371423721,
0.05710113048553467,
0.06159932538866997,
-0.11494190245866776,
0.0022956898901611567,
0.04677994176745415,
-0.0010001070331782103,
-0.07306363433599472,
0.00616465276107192,
0.04586288332939148,
-0.044977132230997086,
-0.04673626273870468,
0.06055128574371338,
-0.022124387323856354,
-0.04478450492024422,
-0.0335354208946228,
0.04606045037508011,
0.017560357227921486,
0.01857917755842209,
-0.0036963894963264465,
-0.026924381032586098,
-0.018123039975762367,
-0.04910888150334358,
-0.04727116599678993,
-0.08081963658332825,
0.044168777763843536,
-0.037222858518362045,
-0.017408158630132675,
-0.02325477823615074,
-0.026063093915581703,
-0.018829498440027237,
0.07443670183420181,
-0.06816143542528152,
-0.05241992324590683,
0.01866891048848629,
0.01261155866086483,
-0.0019479934126138687,
-0.007754561025649309,
0.08078942447900772,
0.005638170521706343,
-0.009822136722505093,
0.021639574319124222,
-0.09806899726390839,
-0.01372352335602045,
0.07108898460865021,
-0.03876328095793724,
0.04859001934528351,
0.02709577977657318,
-0.07333314418792725,
-0.005130924750119448,
-0.01507329847663641,
0.006215726491063833,
-0.005947107914835215,
-0.0480518564581871,
0.012785224243998528,
0.022249024361371994,
0.04031403735280037,
0.04902428388595581,
-0.02222800813615322,
-0.05886722356081009,
-0.01594856008887291,
-0.33810415863990784,
-0.0479838065803051,
-0.01301632635295391,
0.01678360626101494,
0.040091656148433685,
-0.029112182557582855,
0.0072906059212982655,
-0.022851843386888504,
-0.013904695399105549,
-0.007116496562957764,
0.08913225680589676,
-0.012013757601380348,
-0.0213724747300148,
-0.10244111716747284,
-0.03536451235413551,
0.029512139037251472,
-0.006096810568124056,
0.00450036721304059,
-0.006680343300104141,
0.02644909732043743,
0.003484938060864806,
-0.042824532836675644,
-0.05428402125835419,
-0.06249569356441498,
-0.014647959731519222,
-0.01443530898541212,
0.11154893785715103,
-0.05077296495437622,
0.014036267064511776,
-0.04647712782025337,
0.039673201739788055,
-0.005432441830635071,
-0.032453473657369614,
-0.047884371131658554,
-0.03539410978555679,
-0.019908146932721138,
-0.011154782958328724,
0.0024435087107121944,
-0.00020315288566052914,
-0.021100029349327087,
-0.07275483012199402,
-0.0013513772282749414,
-0.030646419152617455,
-0.039535630494356155,
-0.003141995519399643,
0.015419265255331993,
-0.024106169119477272,
-0.03925233334302902,
0.0780470073223114,
0.07570487260818481,
0.00842528510838747,
0.023644380271434784,
0.02159692905843258,
0.020550278946757317,
0.024581043049693108,
-0.036248497664928436,
-0.03553837165236473,
-0.047377072274684906,
0.011497313156723976,
0.03318333253264427,
-0.01681276597082615,
0.013347565196454525,
0.006219780538231134,
-0.03617125004529953,
0.014412821270525455,
-0.002590451156720519,
0.003565784776583314,
0.005968069192022085,
0.01720597594976425,
-0.061201486736536026,
-0.010948557406663895,
0.09462984651327133,
0.012588472105562687,
0.0017881181556731462,
0.05573109909892082,
0.017876261845231056,
-0.025508899241685867,
0.019358744844794273,
0.04523029178380966,
-0.010446532629430294,
0.02082446590065956,
-0.030745018273591995,
0.0830424502491951,
-0.0006853110389783978,
-0.0415225476026535,
0.04323660582304001,
0.034321676939725876,
-0.00741936219856143,
0.024966033175587654,
0.00574332382529974,
-0.007067645899951458,
-0.00003567151725292206,
-0.027579359710216522,
-0.05030018463730812,
0.035996511578559875,
-0.029623452574014664,
-0.28430792689323425,
0.04867256060242653,
0.023489929735660553,
0.029552802443504333,
-0.018777381628751755,
0.03517892584204674,
0.05339823290705681,
-0.008574999868869781,
0.014462313614785671,
0.0021986057981848717,
0.0039313798770308495,
0.06288279592990875,
0.0026870055589824915,
-0.018409209325909615,
-0.013481324538588524,
0.0009014256647787988,
0.021620169281959534,
-0.0044242278672754765,
0.02762475237250328,
0.02682024985551834,
0.06014363467693329,
-0.009128564968705177,
0.2129424810409546,
0.0386526845395565,
0.0314057320356369,
0.051861248910427094,
-0.044027239084243774,
0.0037505743093788624,
0.065413698554039,
-0.010661805979907513,
-0.008008410222828388,
0.04062861204147339,
0.010080287232995033,
0.003092799801379442,
0.005566504318267107,
-0.03583872318267822,
0.013869127258658409,
0.06289242953062057,
0.017577627673745155,
-0.029196199029684067,
0.01649879850447178,
-0.009667006321251392,
-0.026428481563925743,
0.03028510883450508,
0.11181666702032089,
0.0034711265470832586,
-0.014623916707932949,
-0.02779420278966427,
-0.03606181591749191,
0.004315418656915426,
-0.0760330930352211,
-0.018873590975999832,
-0.017598776146769524,
-0.011710941791534424,
0.011280965991318226,
0.05880773812532425,
0.0017503084382042289,
-0.031500544399023056,
-0.04082299396395683,
-0.012952272780239582,
-0.004514037631452084,
-0.024716854095458984,
0.08718827366828918,
-0.006579482927918434,
0.05718909576535225
] | [
-0.002387874061241746,
0.04195418208837509,
-0.006297397892922163,
0.023856963962316513,
-0.0036651601549237967,
-0.017589086666703224,
-0.03261476382613182,
0.032691311091184616,
-0.043365951627492905,
0.020475750789046288,
-0.017252692952752113,
0.02109564282000065,
0.04889192059636116,
-0.03454843536019325,
-0.0028776617255061865,
0.013877242803573608,
0.006051178090274334,
0.053486164659261703,
0.05391335487365723,
-0.033213336020708084,
-0.03470207378268242,
0.023808926343917847,
0.01784777268767357,
-0.0018988752271980047,
0.0006707228603772819,
-0.0007211369811557233,
-0.020255183801054955,
-0.014847991988062859,
-0.0050299945287406445,
-0.12725204229354858,
-0.007768970914185047,
-0.009346441365778446,
-0.029352260753512383,
0.016043327748775482,
-0.03882192447781563,
0.029767746105790138,
0.028571709990501404,
0.02518180012702942,
0.01150305476039648,
0.0032872797455638647,
0.03867844119668007,
0.02716037444770336,
-0.011341358534991741,
0.004456637892872095,
-0.003196032252162695,
-0.00815240852534771,
-0.05398556962609291,
-0.008531087078154087,
-0.004847564734518528,
-0.012737264856696129,
-0.05084920674562454,
-0.032382115721702576,
0.015379343181848526,
0.014456583186984062,
0.029592378064990044,
0.016863692551851273,
-0.045013874769210815,
-0.017707470804452896,
0.0006870350916869938,
0.014216672629117966,
0.04557136446237564,
-0.01621033437550068,
-0.029202846810221672,
-0.020042311400175095,
-0.020737143233418465,
-0.016225596889853477,
0.034945737570524216,
0.01875278353691101,
-0.00831381231546402,
-0.00008428467845078558,
0.005235633812844753,
0.022558074444532394,
-0.08964166790246964,
-0.007542702369391918,
-0.038851458579301834,
0.04361134395003319,
0.0215225238353014,
0.0009039852884598076,
-0.03367562219500542,
-0.014257636852562428,
-0.026446646079421043,
0.015544208697974682,
0.000948312459513545,
-0.0069824447855353355,
-0.07460636645555496,
0.022442791610956192,
-0.0011605448089540005,
0.010356329381465912,
-0.006817047484219074,
0.029235826805233955,
-0.008813676424324512,
0.008815070614218712,
-0.0012312890030443668,
-0.04133383929729462,
-0.09412895888090134,
0.012197673320770264,
-0.0026453600730746984,
-0.003256469266489148,
-0.0021938509307801723,
0.8122626543045044,
0.029374072328209877,
0.030466608703136444,
0.017157716676592827,
0.011204209178686142,
-0.0010140333324670792,
0.013239182531833649,
-0.004547998774796724,
-0.010287067852914333,
-0.0017077636439353228,
-0.012201606296002865,
-0.018452024087309837,
0.017104046419262886,
-0.013228174299001694,
0.004597150254994631,
-0.01244056224822998,
0.010182289406657219,
0.012464120984077454,
-0.021416468545794487,
0.025166139006614685,
0.032064810395240784,
0.02091280370950699,
-0.012132421135902405,
-0.007977974601089954,
-0.012791391462087631,
-0.008611844852566719,
-0.13525350391864777,
-0.02900129370391369,
-7.907066341245783e-33,
0.007918452844023705,
-0.026003733277320862,
0.05960959196090698,
-0.001242101308889687,
0.039036594331264496,
0.010944606736302376,
-0.012270926497876644,
-0.0005186700145713985,
-0.016826750710606575,
-0.02499600686132908,
-0.018055781722068787,
-0.031484004110097885,
0.028026429936289787,
-0.036773890256881714,
0.01629967987537384,
-0.019974686205387115,
0.0074257091619074345,
0.03578736260533333,
-0.02931114099919796,
-0.021272966638207436,
-0.003385909367352724,
0.021268460899591446,
-0.003999227192252874,
0.03102337382733822,
0.022930394858121872,
0.02148813009262085,
-0.01956368237733841,
0.015167164616286755,
-0.023744134232401848,
-0.05288495495915413,
-0.04364757612347603,
-0.02030138671398163,
-0.001504954299889505,
0.02198515087366104,
0.008123716339468956,
-0.04463009536266327,
-0.012366416864097118,
-0.015167959034442902,
-0.02561630867421627,
-0.09791580587625504,
-0.039045292884111404,
0.004335210658609867,
0.006630925461649895,
0.006575536448508501,
-0.04660135507583618,
-0.012337693013250828,
-0.013884754851460457,
0.0005576699040830135,
0.009638764895498753,
0.05793074145913124,
0.008277480490505695,
0.03733360394835472,
-0.02206072211265564,
-0.004787969868630171,
-0.03294737637042999,
-0.0037862767931073904,
0.03305115923285484,
0.013584723696112633,
-0.00333630689419806,
0.07028055191040039,
-0.0012361097615212202,
0.005606272257864475,
-0.014229231514036655,
0.02322458103299141,
-0.00288014835678041,
0.029245706275105476,
-0.04515145346522331,
0.005674154497683048,
0.013497267849743366,
0.02597411908209324,
-0.011875239200890064,
0.030596554279327393,
0.019078366458415985,
0.019086569547653198,
0.028482504189014435,
-0.03479751572012901,
-0.03249744325876236,
-0.0795348733663559,
-0.015943581238389015,
0.010825908742845058,
-0.013771707192063332,
-0.056538261473178864,
-0.004147806670516729,
0.012452449649572372,
0.01652408204972744,
0.0036840387620031834,
0.03322229161858559,
0.005683135241270065,
0.027745500206947327,
0.02700735814869404,
0.058049172163009644,
0.0355084203183651,
-0.003968522418290377,
0.002048884052783251,
-0.015425796620547771,
7.440682345401317e-33,
-0.0014037743676453829,
0.000774169631768018,
0.02639073319733143,
-0.025248980149626732,
0.027208391577005386,
0.008255545049905777,
-0.020441601052880287,
0.03087608888745308,
-0.05125628784298897,
0.036421846598386765,
-0.024664757773280144,
0.013107831589877605,
-0.008298518136143684,
0.009570089168846607,
0.07142754644155502,
-0.03240840882062912,
0.0394275039434433,
-0.03957074135541916,
0.0005286798113957047,
0.012885759584605694,
0.011139877140522003,
-0.003605297999456525,
0.007524678949266672,
0.023826394230127335,
0.04415522888302803,
0.02444174699485302,
0.0013807208742946386,
0.009294710122048855,
-0.008846511133015156,
0.009962907060980797,
0.017027944326400757,
-0.04500513896346092,
-0.0030277115292847157,
-0.0014421578962355852,
0.033243995159864426,
-0.012730689719319344,
-0.003691159887239337,
0.029745886102318764,
0.03877744823694229,
-0.014542961493134499,
-0.0018610880943015218,
0.010556059889495373,
-0.04422366991639137,
0.0556911937892437,
0.025422895327210426,
0.005589422769844532,
-0.024072466418147087,
0.048291049897670746,
0.016901828348636627,
0.022445620968937874,
0.005338960327208042,
0.03294452652335167,
0.03292462229728699,
0.04827481508255005,
0.025334252044558525,
-0.007194488774985075,
-0.0399857833981514,
0.06885528564453125,
0.026716258376836777,
-0.021060196682810783,
-0.01938134990632534,
-0.029172644019126892,
-0.03645293042063713,
0.030589360743761063,
-0.000510775891598314,
-0.04923749715089798,
-0.015572646632790565,
-0.02252364531159401,
-0.04112197086215019,
0.00431140698492527,
-0.025157395750284195,
0.036883074790239334,
-0.0501670278608799,
0.03776458650827408,
0.03998958319425583,
-0.04121389985084534,
-0.025432275608181953,
-0.023568706586956978,
-0.024014828726649284,
0.031382497400045395,
0.029436511918902397,
0.04017948359251022,
-0.004197750240564346,
-0.02868962474167347,
0.018185745924711227,
-0.04276806488633156,
-0.004141496028751135,
0.0321936197578907,
-0.005747588351368904,
-0.001828301465138793,
0.009741789661347866,
-0.028278091922402382,
-0.03400736674666405,
0.025543445721268654,
-0.030453741550445557,
-1.2785240421919752e-8,
-0.045260608196258545,
-0.020462283864617348,
-0.004876452963799238,
-0.0027698399499058723,
0.03552980348467827,
0.021088846027851105,
-0.0033344978000968695,
0.008915581740438938,
0.003795846365392208,
0.04106612876057625,
0.021332386881113052,
-0.0019085059175267816,
0.02012276090681553,
0.02707304246723652,
0.017024649307131767,
-0.05312659218907356,
0.005372676067054272,
-0.026138659566640854,
0.03672846406698227,
0.054602086544036865,
-0.02498484030365944,
0.017140647396445274,
-0.04995531588792801,
0.013733078725636005,
-0.0024234550073742867,
-0.0549866147339344,
0.06374894827604294,
-0.03860141336917877,
-0.003538432065397501,
-0.009937244467437267,
-0.009712550789117813,
-0.013666226528584957,
-0.01920163258910179,
0.02444046176970005,
-0.05517788231372833,
-0.004743827041238546,
0.013935788534581661,
0.04612062871456146,
0.028692826628684998,
0.039417002350091934,
-0.03705713152885437,
0.02164655551314354,
-0.03059505857527256,
-0.012311284430325031,
-0.007130968850106001,
-0.037920575588941574,
-0.03851315751671791,
0.017158400267362595,
0.03871765732765198,
-0.043481484055519104,
-0.0010573967592790723,
-0.012641876004636288,
0.0483522042632103,
-0.05928168073296547,
0.04616829752922058,
-0.024082833901047707,
0.008528686128556728,
-0.016242507845163345,
-0.004854839760810137,
0.013932607136666775,
0.033238451927900314,
-0.01294166874140501,
0.008076596073806286,
-0.03827321529388428
] | neo4j-2-1-2-finding-where-i-am-in-a-linked-list | https://markhneedham.com/blog/2014/07/20/neo4j-2-1-2-finding-where-i-am-in-a-linked-list |
false | 2014-07-20 16:50:55 | R: ggplot - Plotting back to back bar charts | [
"r-2"
] | [
"R"
] | I've been http://www.markhneedham.com/blog/2014/07/20/r-ggplot-dont-know-how-to-automatically-pick-scale-for-object-of-type-difftime-discrete-value-supplied-to-continuous-scale/[playing around with R's ggplot library] to explore the Neo4j London meetup and the next thing I wanted to do was plot back to back bar charts showing 'yes' and 'no' RSVPs.
I'd already done the 'yes' bar chart using the following code:
[source,r]
----
query = "MATCH (e:Event)<-[:TO]-(response {response: 'yes'})
RETURN response.time AS time, e.time + e.utc_offset AS eventTime"
allYesRSVPs = cypher(graph, query)
allYesRSVPs$time = timestampToDate(allYesRSVPs$time)
allYesRSVPs$eventTime = timestampToDate(allYesRSVPs$eventTime)
allYesRSVPs$difference = as.numeric(allYesRSVPs$eventTime - allYesRSVPs$time, units="days")
ggplot(allYesRSVPs, aes(x=difference)) + geom_histogram(binwidth=1, fill="green")
----
image::{{<siteurl>}}/uploads/2014/07/2014-07-20_01-15-391.png[2014 07 20 01 15 39,580]
The next step was to create a similar thing for people who'd RSVP'd 'no' having originally RSVP'd 'yes' i.e. people who dropped out:
[source,r]
----
query = "MATCH (e:Event)<-[:TO]-(response {response: 'no'})<-[:NEXT]-()
RETURN response.time AS time, e.time + e.utc_offset AS eventTime"
allNoRSVPs = cypher(graph, query)
allNoRSVPs$time = timestampToDate(allNoRSVPs$time)
allNoRSVPs$eventTime = timestampToDate(allNoRSVPs$eventTime)
allNoRSVPs$difference = as.numeric(allNoRSVPs$eventTime - allNoRSVPs$time, units="days")
ggplot(allNoRSVPs, aes(x=difference)) + geom_histogram(binwidth=1, fill="red")
----
image::{{<siteurl>}}/uploads/2014/07/2014-07-20_17-25-03.png[2014 07 20 17 25 03,570]
As expected if people are going to drop out they do so a day or two before the event happens. By including the need for a 'NEXT' relationship we only capture the people who replied 'yes' and changed it to 'no'. We don't capture the people who said 'no' straight away.
I thought it'd be cool to be able to have the two charts back to back using the same scale so I could compare them against each other which led to my first attempt:
[source,r]
----
yes = ggplot(allYesRSVPs, aes(x=difference)) + geom_histogram(binwidth=1, fill="green")
no = ggplot(allNoRSVPs, aes(x=difference)) + geom_histogram(binwidth=1, fill="red") + scale_y_reverse()
library(gridExtra)
grid.arrange(yes,no,ncol=1,widths=c(1,1))
----
+++<cite>+++http://ggplot.yhathq.com/docs/scale_y_reverse.html[scale_y_reverse()]+++</cite>+++ flips the y axis so we'd see the 'no' chart upside down. The http://stackoverflow.com/questions/24765686/plotting-2-different-ggplot2-charts-with-the-same-y-axis[last line] plots the two charts in a grid containing 1 column which forces them to go next to each other vertically.
image::{{<siteurl>}}/uploads/2014/07/2014-07-20_17-29-271.png[2014 07 20 17 29 27,570]
When we compare them next to each other we can see that the 'yes' replies are much more spread out whereas if people are going to drop out it nearly always happens a week or so before the event happens. This is what we thought was happening but it's cool to have it confirmed by the data.
One annoying thing about that visualisation is that the two charts aren't on the same scale. The 'no' chart only goes up to 100 days whereas the 'yes' one goes up to 120 days. In addition, the top end of the 'yes' chart is around 200 whereas the 'no' is around 400.
Luckily we can solve that problem by http://stackoverflow.com/questions/3606697/how-to-set-limits-for-axes-in-ggplot2-r-plots[fixing the axes] for both plots:
[source,r]
----
yes = ggplot(allYesRSVPs, aes(x=difference)) +
geom_histogram(binwidth=1, fill="green") +
xlim(0,120) +
ylim(0, 400)
no = ggplot(allNoRSVPs, aes(x=difference)) +
geom_histogram(binwidth=1, fill="red") +
xlim(0,120) +
ylim(0, 400) +
scale_y_reverse()
----
Now if we re-render it looks much better:
image::{{<siteurl>}}/uploads/2014/07/2014-07-20_17-42-40.png[2014 07 20 17 42 40,573]
From having comparable axes we can see that a lot more people drop out of an event (500) as it approaches than new people sign up (300). This is quite helpful for working out how many people are likely to show up.
We've found that the number of people RSVP'd 'yes' to an event will drop by 15-20% overall from 2 days before an event up until the evening of the event and the data seems to confirm this.
The only annoying thing about this approach is that the axes are repeated due to them being completely separate charts.
I expect it would look better if I can work out how to combine the two data frames together and then pull out back to back charts based on a variable in the combined data frame.
I'm still working on that so suggestions are most welcome. The https://github.com/mneedham/neo4j-meetup/blob/master/rScripts/rsvps.R[code is on github] if you want to play with it. | null | null | [
-0.0014624925097450614,
-0.041399694979190826,
0.026520749554038048,
0.03625054284930229,
0.0627463087439537,
-0.0034345705062150955,
0.029369279742240906,
0.02620934508740902,
-0.0035440854262560606,
-0.0010028013493865728,
-0.006825929973274469,
0.00557304173707962,
-0.05257980525493622,
0.02453993819653988,
-0.00641982676461339,
0.07627365738153458,
0.07164940983057022,
-0.016334637999534607,
-0.007736871484667063,
-0.0017293378477916121,
0.060602735728025436,
0.011400360614061356,
-0.008299276232719421,
0.028473705053329468,
0.020448122173547745,
-0.01949945092201233,
-0.006211891304701567,
0.014998399652540684,
-0.05243572220206261,
0.009170508943498135,
0.04321158677339554,
0.019524510949850082,
0.017047498375177383,
-0.005169040523469448,
0.024211950600147247,
-0.011100524105131626,
-0.03984856978058815,
0.01719372719526291,
0.0021977864671498537,
-0.0158232394605875,
-0.06180327385663986,
0.0146377207711339,
-0.024444881826639175,
0.007086081895977259,
-0.009205436334013939,
0.0064008599147200584,
-0.03801313787698746,
0.043833330273628235,
0.02220594510436058,
0.034550853073596954,
-0.0748414546251297,
0.04176655411720276,
0.0028266056906431913,
0.007686096243560314,
-0.0194984283298254,
0.025341924279928207,
0.028791310265660286,
-0.06113390251994133,
0.02207116410136223,
-0.03376108407974243,
-0.014187035150825977,
-0.0018816424999386072,
-0.02143722027540207,
0.0277426578104496,
-0.006885828450322151,
-0.02562633343040943,
0.014234967529773712,
0.045795563608407974,
-0.015145142562687397,
0.005623402073979378,
-0.018546152859926224,
0.018418477848172188,
0.005883915349841118,
0.015679096803069115,
0.002686830935999751,
-0.04148999974131584,
-0.004376680590212345,
0.05445926636457443,
0.007035656366497278,
0.03267694264650345,
-0.006178397219628096,
-0.014327443204820156,
0.03654024377465248,
0.018595408648252487,
-0.015822311863303185,
-0.02772575058043003,
-0.015226923860609531,
-0.05958045274019241,
-0.0593661405146122,
0.04938223585486412,
-0.015355748124420643,
-0.06307210773229599,
0.030023636296391487,
0.016751663759350777,
0.0025477588642388582,
0.013621553778648376,
0.003643954172730446,
-0.005946257151663303,
-0.0032043259125202894,
-0.021181989461183548,
-0.07167337834835052,
-0.06137784570455551,
0.028768977150321007,
0.032979004085063934,
-0.06860176473855972,
-0.038173213601112366,
-0.014740235172212124,
-0.028225818648934364,
-0.022930808365345,
0.01716344617307186,
-0.06693591922521591,
0.008635868318378925,
-0.0021442468278110027,
0.012716218829154968,
-0.0686490461230278,
0.0702824741601944,
0.04764557257294655,
-0.019276151433587074,
-0.009827665984630585,
-0.01847126893699169,
0.04843733087182045,
0.02532147616147995,
-0.006190587300807238,
0.0776156485080719,
-0.02008103020489216,
0.05726255849003792,
0.008252370171248913,
0.03956743702292442,
-0.028740882873535156,
-0.062219347804784775,
-0.0012339330278337002,
0.050583772361278534,
-0.05105491355061531,
-0.009057867340743542,
-0.0017346862005069852,
-0.030432352796196938,
-0.009369617328047752,
-0.008249230682849884,
0.055484965443611145,
0.046911273151636124,
0.04048581048846245,
-0.04993759095668793,
0.03374100476503372,
0.004038626793771982,
0.047209251672029495,
0.009619672782719135,
-0.01148283202201128,
-0.04413897544145584,
-0.054710883647203445,
-0.010588395409286022,
0.02495773509144783,
0.013079438358545303,
0.044547948986291885,
-0.0239489134401083,
0.016618669033050537,
0.09749111533164978,
0.024016719311475754,
0.003612356260418892,
-0.00359894847497344,
0.005629139486700296,
0.05501992627978325,
0.03741973638534546,
0.023447679355740547,
0.07817550003528595,
0.0038104350678622723,
-0.009023824706673622,
0.006705460604280233,
0.06588330119848251,
-0.04796769842505455,
-0.0013512218138203025,
-0.03966083005070686,
-0.023131823167204857,
0.05056789889931679,
-0.030391758307814598,
-0.005053386092185974,
0.060004279017448425,
0.08233364671468735,
0.035298291593790054,
0.01568685472011566,
-0.011064539663493633,
-0.07196099311113358,
0.04771453142166138,
0.04551877826452255,
0.01838572882115841,
0.012166610918939114,
-0.02490347810089588,
0.07759027928113937,
0.004091567359864712,
0.028240317478775978,
0.05629599839448929,
-0.06038037687540054,
-0.04537117853760719,
-0.019051656126976013,
-0.023474939167499542,
0.054663773626089096,
-0.024921558797359467,
0.010764221660792828,
0.05110947787761688,
-0.013141685165464878,
0.03674880415201187,
-0.008800762705504894,
-0.0017906969878822565,
0.0391995832324028,
-0.018129555508494377,
-0.05277770757675171,
0.01284643542021513,
0.02628142014145851,
-0.029137341305613518,
-0.022254159674048424,
-0.004584097769111395,
-0.024470731616020203,
0.033498615026474,
0.04899616166949272,
-0.011205242946743965,
0.04732402414083481,
0.03448609262704849,
0.0861811414361,
0.011026010848581791,
0.012258603237569332,
-0.04271680861711502,
0.0346742682158947,
0.006779233925044537,
-0.008479909971356392,
-0.04377451166510582,
-0.013002259656786919,
0.12711268663406372,
0.08018819242715836,
-0.015256274491548538,
-0.0640537291765213,
0.010786200873553753,
-0.01707780919969082,
-0.008099078200757504,
0.028730537742376328,
-0.011446945369243622,
-0.010355422273278236,
0.003485738066956401,
-0.0261171106249094,
-0.031032340601086617,
-0.019670352339744568,
-0.03899738937616348,
0.01433553360402584,
0.04900433123111725,
-0.007667690981179476,
0.06307407468557358,
-0.03500467538833618,
0.0057581220753490925,
-0.012515226379036903,
-0.018434077501296997,
-0.0827028751373291,
0.015281644649803638,
0.02425188571214676,
0.002693789079785347,
0.0605713427066803,
-0.03005322813987732,
0.00812302716076374,
-0.004282775800675154,
-0.03638797625899315,
0.016471249982714653,
0.04101964086294174,
0.054769039154052734,
0.025728855282068253,
0.02163844183087349,
-0.010270949453115463,
0.002267845906317234,
-0.00522594666108489,
-0.06424244493246078,
-0.08006460964679718,
-0.01604519784450531,
0.013599133118987083,
0.010561241768300533,
0.03533418849110603,
-0.03129876032471657,
0.006350148003548384,
0.0106889046728611,
0.01033806148916483,
-0.02204994671046734,
0.023505745455622673,
-0.004586035385727882,
0.0003621829382609576,
-0.03193184360861778,
-0.0017968560568988323,
0.033108338713645935,
-0.03968869522213936,
-0.011871472001075745,
0.0062826890498399734,
-0.049999888986349106,
0.04568348824977875,
-0.04705946147441864,
-0.03050379268825054,
-0.008683223277330399,
0.023454202339053154,
0.0529080331325531,
0.03972340747714043,
0.012894991785287857,
0.03368806093931198,
0.006309164222329855,
0.01399078220129013,
0.036089617758989334,
-0.02437451481819153,
0.07436729222536087,
0.0009839581325650215,
0.033281080424785614,
0.054855264723300934,
-0.036997321993112564,
-0.016380006447434425,
-0.04292982816696167,
0.019121086224913597,
-0.03711730241775513,
-0.2661088705062866,
0.03580910339951515,
-0.021134862676262856,
-0.02913437969982624,
-0.013182084076106548,
-0.06640475243330002,
0.03146407753229141,
-0.01866844668984413,
-0.02396419458091259,
-0.01245133951306343,
0.008951162919402122,
-0.0638560950756073,
-0.034895990043878555,
0.05646631866693497,
0.03435356169939041,
0.013665350154042244,
0.012728936970233917,
-0.06204109266400337,
0.015790650621056557,
0.05026770010590553,
0.025007808580994606,
-0.05229070782661438,
0.022890359163284302,
0.04157770052552223,
0.016789842396974564,
0.07019944489002228,
-0.08667222410440445,
0.04074212163686752,
-0.058468714356422424,
-0.026995526626706123,
0.03067636862397194,
-0.023379160091280937,
0.022124474868178368,
0.0050897784531116486,
0.0039192503318190575,
-0.03603242710232735,
0.027984188869595528,
0.008682086132466793,
0.004698354285210371,
0.03784310817718506,
-0.032356299459934235,
-0.03579679876565933,
-0.004345247056335211,
-0.009493584744632244,
0.09097057580947876,
0.02909691073000431,
-0.053195856511592865,
-0.0033357907086610794,
-0.006929299794137478,
0.061580590903759,
-0.011632723733782768,
-0.005793283693492413,
-0.029818691313266754,
-0.00018490436195861548,
-0.0759967565536499,
-0.017838720232248306,
-0.02580430544912815,
-0.010392745025455952,
-0.04381851851940155,
-0.04069814831018448,
-0.024275360628962517,
-0.019820868968963623,
0.011680240742862225,
-0.03863626718521118,
-0.02885037288069725,
-0.05661514401435852,
-0.09272924065589905,
-0.03222635015845299,
0.06299851834774017,
0.02154349908232689,
-0.02884647622704506,
-0.014444862492382526,
-0.01837749034166336,
-0.10453468561172485,
-0.030464012175798416,
-0.021088117733597755,
-0.00937121082097292,
-0.025389833375811577,
0.011581807397305965,
0.03468665853142738,
-0.05276145413517952,
-0.06580966711044312,
0.025892456993460655,
-0.007230465766042471,
0.03739689663052559,
0.029293783009052277,
-0.03637608140707016,
-0.009174922481179237,
-0.04700211435556412,
0.004799949005246162,
0.04559596627950668,
-0.033280473202466965,
-0.03195073455572128,
-0.004925278481096029,
-0.02247508615255356,
0.02363913506269455,
0.04266328364610672,
-0.006543394178152084,
0.03949993848800659,
0.026687415316700935,
0.03306668624281883,
-0.06598873436450958,
0.025714481249451637,
-0.04071030020713806,
-0.012512282468378544,
-0.025181375443935394,
-0.04300544783473015,
0.01283491775393486,
0.024454891681671143,
0.011190030723810196,
0.019234055653214455,
-0.009686516597867012,
0.02265448495745659,
-0.05805519223213196,
-0.017663612961769104,
-0.009806852787733078,
0.025418000295758247,
0.015007246285676956,
0.041367996484041214,
-0.021024469286203384,
-0.049513157457113266,
0.00071925442898646,
-0.00213342672213912,
-0.006676135119050741,
-0.03273221477866173,
-0.020056644454598427,
-0.011068228632211685,
-0.0186746995896101,
0.015219133347272873,
0.011243334971368313,
-0.01685228757560253,
0.029307521879673004,
0.0562485046684742,
-0.04113970324397087,
0.06122293323278427,
-0.008054382167756557,
-0.04453010857105255,
-0.011699381284415722,
0.0201477762311697,
0.005479458253830671,
-0.026612045243382454,
-0.0011580981081351638,
-0.01685325987637043,
0.04542131349444389,
0.024992015212774277,
0.006331274285912514,
0.031597819179296494,
-0.018586717545986176,
0.004642557818442583,
0.0031454525887966156,
-0.006127511151134968,
-0.01264770794659853,
-0.017641177400946617,
-0.027425048872828484,
-0.019366109743714333,
-0.02493974007666111,
0.059109658002853394,
0.004198240581899881,
-0.00250182650052011,
-0.050591349601745605,
0.0379788763821125,
-0.07299546897411346,
-0.01499391719698906,
-0.013393629342317581,
-0.0025624686386436224,
0.04295075312256813,
-0.014876598492264748,
0.012058896012604237,
-0.010992592200636864,
-0.025670822709798813,
0.0005030293250456452,
0.022371290251612663,
-0.028143595904111862,
0.012703248299658298,
-0.034164875745773315,
-0.014272119849920273,
0.01093990821391344,
0.0017539836699143052,
0.05278681963682175,
0.009328215382993221,
0.002122084144502878,
-0.005565016530454159,
0.0227036252617836,
-0.02139239013195038,
0.025528358295559883,
0.056031037122011185,
-0.02068261057138443,
-0.004912983626127243,
-0.0032598574180155993,
-0.028167836368083954,
-0.015197904780507088,
-0.004408278968185186,
-0.020539380609989166,
0.00015476094267796725,
-0.040663376450538635,
-0.06422152370214462,
0.006457475014030933,
-0.0054581318981945515,
0.020271191373467445,
0.018453042954206467,
-0.003289646003395319,
0.021287748590111732,
-0.033553365617990494,
0.027359183877706528,
0.06752930581569672,
-0.05228036642074585,
0.006874001119285822,
0.00999208353459835,
0.0008037671213969588,
-0.007724741008132696,
0.030452685430645943,
-0.05930321291089058,
-0.034874435514211655,
0.009838616475462914,
0.02696278691291809,
-0.014235032722353935,
-0.05288390815258026,
-0.05683888867497444,
-0.007669325452297926,
0.010470733977854252,
0.031121322885155678,
0.006119815167039633,
-0.00997664500027895,
-0.010618920437991619,
0.007487359922379255,
0.036478158086538315,
-0.016221731901168823,
-0.03128235042095184,
0.04295925423502922,
-0.020237524062395096,
0.017967110499739647,
-0.009771320968866348,
0.0091937817633152,
0.025667402893304825,
-0.0457715168595314,
0.0023848037235438824,
-0.07792847603559494,
-0.001582843018695712,
0.016146965324878693,
0.048992764204740524,
-0.010950896888971329,
0.00893779844045639,
-0.02902957610785961,
0.010563915595412254,
0.005346267018467188,
-0.013738510198891163,
0.0075531452894210815,
-0.006044192239642143,
0.024257853627204895,
0.017096927389502525,
0.019355129450559616,
-0.019929617643356323,
0.007617657538503408,
-0.03869881108403206,
0.04044000804424286,
-0.058795079588890076,
-0.05003223568201065,
0.0020410374272614717,
-0.06430227309465408,
0.00742727005854249,
0.0014297968009486794,
0.005344610195606947,
-0.055529121309518814,
0.05539600923657417,
0.0483069084584713,
0.0360228456556797,
0.06701941788196564,
0.007200200576335192,
0.0006254055770114064,
-0.021387159824371338,
0.01048049796372652,
-0.07993365079164505,
-0.0072942557744681835,
0.02948111481964588,
0.015161499381065369,
-0.0289189163595438,
0.014823872596025467,
-0.04678971692919731,
0.0393318347632885,
-0.0678117498755455,
-0.03586626052856445,
0.046775639057159424,
-0.002533835591748357,
0.012034867890179157,
0.0032338693272322416,
-0.0736338198184967,
-0.001982118934392929,
0.04924821853637695,
-0.058156028389930725,
0.002615121193230152,
-0.019786207005381584,
0.06278882920742035,
-0.03132578730583191,
0.04123291000723839,
-0.03487199917435646,
-0.006200020667165518,
0.08006192743778229,
0.021525155752897263,
0.011635715141892433,
0.0677829310297966,
-0.039314694702625275,
0.029636448249220848,
0.028429919853806496,
-0.015214641578495502,
-0.011341266334056854,
0.012661043554544449,
0.02184988185763359,
-0.04813118278980255,
0.018680253997445107,
0.011048922315239906,
0.00206198007799685,
-0.05009319633245468,
0.07657527178525925,
-0.009088545106351376,
-0.03445345163345337,
-0.02253309264779091,
0.024665648117661476,
-0.00809828843921423,
0.016642343252897263,
-0.01018758025020361,
0.018750621005892754,
-0.014339935034513474,
0.06736042350530624,
-0.03646807745099068,
0.015421743504703045,
0.05524398759007454,
0.0008062445558607578,
0.019492607563734055,
0.01858478970825672,
0.0844840332865715,
0.09461723268032074,
0.05511561781167984,
0.01835130900144577,
0.07029511034488678,
-0.039531297981739044,
-0.04460657387971878,
-0.010909520089626312,
-0.011105687357485294,
-0.038006097078323364,
-0.02425365336239338,
0.014704725705087185,
0.06222471222281456,
-0.03778280317783356,
0.04668775945901871,
0.006812535226345062,
-0.039379674941301346,
-0.019833507016301155,
-0.020599834620952606,
0.022831184789538383,
0.057518452405929565,
0.0046255080960690975,
0.0479690283536911,
-0.015606498345732689,
-0.03227122128009796,
0.02369222790002823,
-0.02049015462398529,
-0.02095869928598404,
0.02180938981473446,
-0.01605476625263691,
-0.00672709196805954,
0.007555623073130846,
0.008580068126320839,
0.0779283419251442,
-0.025113997980952263,
-0.000545586459338665,
0.029269041493535042,
0.03863561525940895,
0.009937689639627934,
0.0185063648968935,
-0.005183654371649027,
-0.01256521139293909,
-0.015771066769957542,
-0.046909451484680176,
-0.018827609717845917,
-0.03104783408343792,
-0.034122761338949203,
0.015516909770667553,
-0.03648760914802551,
0.014512567780911922,
0.020152008160948753,
-0.05656855180859566,
-0.04683583602309227,
-0.04716305807232857,
-0.03639150783419609,
-0.06166670843958855,
-0.08514264971017838,
-0.009843356907367706,
0.019257569685578346,
-0.0321611687541008,
-0.02399272285401821,
-0.0019818516448140144,
-0.015417837537825108,
-0.035444680601358414,
0.00155616772826761,
-0.053179509937763214,
-0.013282629661262035,
0.022390978410840034,
-0.005155805964022875,
0.010113455355167389,
0.018108883872628212,
0.043622538447380066,
0.020614147186279297,
-0.01118365116417408,
-0.03764188289642334,
0.030836274847388268,
0.04212513193488121,
0.041956737637519836,
0.019369397312402725,
-0.08254674822092056,
0.005512228701263666,
-0.005851841066032648,
-0.028538363054394722,
-0.08223787695169449,
0.03630084916949272,
0.014739302918314934,
-0.00642870320007205,
0.03008362464606762,
-0.005496293772011995,
-0.008268157951533794,
-0.01641981117427349,
-0.014513115398585796,
-0.022924842312932014,
0.02990567870438099,
0.03441917523741722,
-0.023066697642207146,
0.03990521654486656,
0.04738425090909004,
-0.02848682925105095,
-0.011538336053490639,
-0.021024838089942932,
0.008708568289875984,
-0.022244611755013466,
-0.03989878296852112,
-0.035111572593450546,
-0.04754913970828056,
-0.1060505285859108,
-0.015533319674432278,
0.004251337144523859,
-0.03131646290421486,
-0.010863973759114742,
-0.006598970852792263,
0.03610697016119957,
-0.01005418598651886,
0.02994629368185997,
-0.021431926637887955,
0.01210952177643776,
-0.009552983567118645,
-0.015070374123752117,
-0.014004657976329327,
0.006391937844455242,
-0.023275412619113922,
0.01746562495827675,
0.002520140027627349,
-0.037623222917318344,
-0.00705702556297183,
-0.017325568944215775,
0.02752339094877243,
0.04001305624842644,
0.0340893380343914,
0.035875312983989716
] | [
-0.05860408395528793,
-0.03036230243742466,
-0.023057952523231506,
-0.005018892697989941,
0.07855846732854843,
-0.016045207157731056,
-0.0172918438911438,
0.010154368355870247,
0.025864358991384506,
-0.0094427689909935,
0.018154693767428398,
-0.026050331071019173,
0.025479480624198914,
0.024180181324481964,
0.036161839962005615,
-0.02325405739247799,
-0.026074852794408798,
-0.051928211003541946,
-0.008623020723462105,
0.05840807035565376,
-0.04371244087815285,
-0.04079653322696686,
-0.026413049548864365,
-0.03148956969380379,
0.058522485196590424,
0.024604804813861847,
0.04354498162865639,
-0.00896077137440443,
-0.029915636405348778,
-0.21911965310573578,
0.004799532238394022,
0.016597962006926537,
0.013083864003419876,
-0.01820671744644642,
-0.02792353555560112,
0.0349862165749073,
0.03738243132829666,
-0.005086829420179129,
0.04501984268426895,
0.032585661858320236,
0.019733324646949768,
-0.0050118654035031796,
-0.04368147999048233,
-0.019358519464731216,
0.03929191827774048,
0.005821479018777609,
-0.042316172271966934,
0.0014563524164259434,
-0.0388496033847332,
0.013530684635043144,
-0.03569310903549194,
-0.016861382871866226,
0.0008515815134160221,
0.0024062381125986576,
-0.0062286448664963245,
0.053824443370103836,
0.055119581520557404,
0.024752773344516754,
0.030561434105038643,
0.02776203490793705,
-0.019269457086920738,
-0.0020470772869884968,
-0.18474993109703064,
0.066334567964077,
0.0035138712264597416,
0.01754407025873661,
-0.024767901748418808,
0.020355544984340668,
-0.03484795615077019,
0.06334998458623886,
0.01905462145805359,
0.014925128780305386,
-0.04593159258365631,
0.03415271267294884,
-0.01761019229888916,
0.01036177296191454,
-0.033582430332899094,
0.00024170201504603028,
0.011043054051697254,
-0.023479850962758064,
-0.008807195350527763,
0.04577367752790451,
-0.02983931265771389,
-0.010672066360712051,
0.025582877919077873,
0.02668071538209915,
-0.023488692939281464,
0.05382312834262848,
0.01899486780166626,
0.0329103022813797,
0.03805099055171013,
0.012304221279919147,
0.03047891892492771,
0.01210260484367609,
-0.08821296691894531,
-0.015932181850075722,
0.01671026460826397,
0.013524037785828114,
0.006358362268656492,
0.4283420741558075,
-0.007248046807944775,
0.01042448915541172,
0.008679185062646866,
0.07904081791639328,
0.024548295885324478,
-0.058143604546785355,
-0.0070418622344732285,
-0.08401878923177719,
0.05207524448633194,
-0.001690348843112588,
0.027579057961702347,
-0.056525178253650665,
0.06929173320531845,
-0.07946789264678955,
-0.0160489734262228,
-0.00869978778064251,
0.04491624981164932,
0.006737233605235815,
0.008844762109220028,
0.02000787854194641,
-0.021347377449274063,
0.010230422019958496,
0.021423298865556717,
-0.0006277909269556403,
0.04835658520460129,
-0.0004109846195206046,
0.034885186702013016,
0.05458148568868637,
0.03446580842137337,
-0.0005941070266999304,
0.05843883752822876,
-0.03005913645029068,
-0.07657035440206528,
0.03441046178340912,
-0.026660483330488205,
0.007131792139261961,
0.032739751040935516,
-0.021106449887156487,
-0.019030841067433357,
0.02105293795466423,
-0.015778953209519386,
-0.01394773367792368,
0.02241843193769455,
-0.000802018097601831,
-0.012646809220314026,
0.14083106815814972,
-0.02214711159467697,
-0.03823317959904671,
-0.013721762225031853,
-0.060093145817518234,
-0.009229605086147785,
0.014349350705742836,
0.003937794826924801,
-0.07273358106613159,
-0.01396632194519043,
0.035777583718299866,
0.06971709430217743,
-0.007518562022596598,
-0.06491679698228836,
-0.0032983459532260895,
-0.010136508382856846,
-0.03308294713497162,
-0.02788885124027729,
0.05774730443954468,
0.04049820452928543,
-0.12292681634426117,
-0.01994462125003338,
0.02750827558338642,
0.013625728897750378,
-0.05750606581568718,
0.03580540791153908,
0.0012355551589280367,
-0.0022177211940288544,
-0.008983391337096691,
0.0945243388414383,
-0.002152117667719722,
-0.023161742836236954,
0.00028786950861103833,
0.05639219656586647,
0.010148978792130947,
-0.008551035076379776,
-0.027168404310941696,
-0.03472670912742615,
0.005385012831538916,
-0.06457382440567017,
-0.044204242527484894,
-0.07982231676578522,
0.00737153273075819,
-0.02409648522734642,
-0.02088841050863266,
0.0025871535763144493,
-0.0634789764881134,
-0.06193653494119644,
0.0673627182841301,
-0.04398578777909279,
-0.02466415800154209,
-0.03264038637280464,
0.007484044414013624,
0.005821314174681902,
-0.03866621479392052,
0.006702898070216179,
-0.0112808458507061,
0.015070103108882904,
0.021706903353333473,
-0.04271674156188965,
0.041893720626831055,
0.05452168732881546,
-0.03745074197649956,
0.07189785689115524,
0.0558638796210289,
-0.004985290113836527,
0.005020685028284788,
-0.015025071799755096,
0.025153931230306625,
0.005070790648460388,
0.0075398762710392475,
0.00036179955350235105,
-0.02957775630056858,
-0.0191456638276577,
0.04967113211750984,
0.002296108053997159,
0.011178738437592983,
-0.003427221206948161,
-0.347545862197876,
-0.03902626037597656,
0.007919740863144398,
0.029588226228952408,
0.0336749441921711,
-0.042200058698654175,
0.018437260761857033,
-0.03477294743061066,
0.032381460070610046,
0.0482030026614666,
0.08547491580247879,
0.02244679071009159,
-0.016295507550239563,
-0.08232223987579346,
0.00961417518556118,
0.04980314150452614,
-0.024404749274253845,
0.008939782157540321,
-0.03625333681702614,
-0.014038434252142906,
-0.026539646089076996,
-0.021221060305833817,
-0.035397954285144806,
-0.022901000455021858,
0.023534715175628662,
-0.010779114440083504,
0.13716480135917664,
0.014206819236278534,
-0.002302131848409772,
-0.0362837016582489,
0.01256403885781765,
-0.0049309395253658295,
-0.019364573061466217,
-0.03016236051917076,
0.025916026905179024,
-0.0037625906988978386,
0.053282931447029114,
0.01993677392601967,
-0.008325477130711079,
-0.0413953959941864,
-0.05303918570280075,
0.006451696157455444,
-0.03773222491145134,
-0.044827017933130264,
-0.05229193717241287,
0.03071756660938263,
-0.008075278252363205,
0.015301624312996864,
-0.00828371662646532,
0.06563898175954819,
0.018787266686558723,
-0.02189190685749054,
0.02148689329624176,
0.024926286190748215,
0.024651329964399338,
-0.0276001188904047,
-0.06000109016895294,
-0.024063613265752792,
0.005763861816376448,
-0.007020955439656973,
-0.009348084218800068,
0.03430299088358879,
0.027314789593219757,
-0.08260919898748398,
0.002297811210155487,
0.007916201837360859,
-0.02359796315431595,
-0.02790353074669838,
0.02535366266965866,
0.002437678864225745,
-0.034058667719364166,
0.07834766060113907,
-0.019672999158501625,
0.03850910812616348,
0.04452589899301529,
0.03934139758348465,
-0.040645014494657516,
0.008180005475878716,
0.023369628936052322,
0.01754557155072689,
0.03504299744963646,
-0.04321882501244545,
0.056082773953676224,
0.004925054498016834,
-0.015920370817184448,
0.031827401369810104,
-0.011970826424658298,
-0.02706916630268097,
0.0666603222489357,
0.04400477558374405,
-0.006721836514770985,
-0.02832152508199215,
-0.015475969761610031,
-0.03963334113359451,
0.060934510082006454,
-0.021890927106142044,
-0.29552406072616577,
0.04887435585260391,
0.011595181189477444,
0.051840391010046005,
-0.01649324968457222,
0.00029222352895885706,
0.02671607956290245,
-0.02078329585492611,
-0.024358903989195824,
-0.011097344569861889,
0.005495254881680012,
0.06059754639863968,
0.019819175824522972,
-0.021431049332022667,
0.003899531438946724,
-0.003789437236264348,
0.024272119626402855,
-0.012845817022025585,
0.02925317920744419,
-0.006846199277788401,
0.063618503510952,
-0.04095969721674919,
0.1527371108531952,
0.036546073853969574,
0.010501177050173283,
0.036500830203294754,
-0.04880932345986366,
-0.04078086093068123,
0.06587351113557816,
-0.0257327351719141,
-0.014420237392187119,
0.022987419739365578,
0.012780467979609966,
0.008313138037919998,
0.022549711167812347,
-0.012500090524554253,
-0.045881081372499466,
0.03094949945807457,
0.008342538960278034,
-0.03478112444281578,
0.01670825481414795,
0.0046295407228171825,
-0.031047869473695755,
0.027262132614850998,
0.0754832997918129,
-0.03820335865020752,
0.0018090412486344576,
-0.02353721857070923,
-0.0309470035135746,
0.012736175209283829,
-0.02491937018930912,
-0.02860070951282978,
-0.05043303593993187,
-0.011201559565961361,
-0.007966004312038422,
0.06900608539581299,
0.017755119130015373,
-0.0031943318899720907,
0.05174432694911957,
0.018646901473402977,
-0.03142724186182022,
-0.04884647950530052,
0.08315125852823257,
-0.0429266020655632,
-0.02388211339712143
] | [
0.013480222783982754,
0.03697865083813667,
0.06199966371059418,
0.022618485614657402,
0.0007005482912063599,
0.0033233347348868847,
0.001807975466363132,
0.006918523460626602,
0.001560898614116013,
-0.00467518949881196,
-0.013195794075727463,
-0.006435459014028311,
0.004544911440461874,
0.014669489115476608,
0.014443282037973404,
-0.010523516684770584,
0.02510235831141472,
-0.010465698316693306,
0.04132341220974922,
-0.015230878256261349,
-0.05444222688674927,
0.007021910510957241,
0.024334676563739777,
-0.008692965842783451,
0.0074724238365888596,
0.025436164811253548,
-0.026529960334300995,
0.032943062484264374,
0.037526097148656845,
-0.11169955134391785,
-0.018346790224313736,
-0.043481651693582535,
-0.01204585749655962,
0.0006835771491751075,
-0.07425881177186966,
-0.007819455116987228,
0.026441793888807297,
0.04158724099397659,
0.021975671872496605,
0.03216442093253136,
0.00862804614007473,
-0.017897402867674828,
-0.022853216156363487,
0.006984845269471407,
0.019401010125875473,
-0.00789965596050024,
-0.016676180064678192,
-0.012803690508008003,
-0.029721330851316452,
-0.02198653668165207,
-0.010173828341066837,
0.0037384824827313423,
-0.029526323080062866,
-0.020427998155355453,
0.017160629853606224,
0.013647313229739666,
-0.05735329911112785,
-0.024946218356490135,
0.008785278536379337,
-0.043422501534223557,
0.0002683631028048694,
0.0029547251760959625,
-0.07502733170986176,
-0.011888003908097744,
0.01104503683745861,
-0.0029361385386437178,
0.010753486305475235,
0.01605135016143322,
0.029222194105386734,
0.023671278730034828,
-0.00790983997285366,
0.03883805498480797,
-0.054328709840774536,
-0.011133616790175438,
-0.029694052413105965,
0.018062811344861984,
0.01717580482363701,
-0.016963396221399307,
-0.01874484494328499,
-0.003413603873923421,
-0.004970602225512266,
0.01758805848658085,
-0.014968067407608032,
0.039518993347883224,
-0.0174604170024395,
-0.05515437200665474,
0.007624048739671707,
0.033921267837285995,
0.02411336451768875,
-0.009359365329146385,
-0.03349951654672623,
0.052612025290727615,
-0.005975361447781324,
0.004246306139975786,
-0.08706514537334442,
-0.014432815834879875,
0.0028981505893170834,
-0.003297520335763693,
0.02316182665526867,
0.8090407252311707,
0.020601829513907433,
-0.020437071099877357,
0.0005471032927744091,
0.01826356165111065,
-0.00998020637780428,
0.001007185084745288,
-0.023963700979948044,
0.0023099284153431654,
-0.012184102088212967,
0.004370260052382946,
-0.01822824776172638,
0.02128291130065918,
0.006022677291184664,
0.04821441322565079,
0.004194310400635004,
0.05060781165957451,
-0.006778591778129339,
0.009397394023835659,
-0.03821389004588127,
0.003989196382462978,
-0.011035552248358727,
0.028471507132053375,
-0.004655322525650263,
-0.004813146311789751,
-0.023629268631339073,
-0.16424275934696198,
0.042534176260232925,
-6.700616816062529e-33,
0.032800834625959396,
-0.029012179002165794,
0.0441482774913311,
-0.03397681191563606,
0.012579035013914108,
0.042929600924253464,
-0.048352815210819244,
-0.02058095484972,
0.008984546177089214,
-0.03603231906890869,
-0.005306053441017866,
-0.009570215828716755,
0.012252695858478546,
-0.017946757376194,
0.0015326441498473287,
0.018082845956087112,
0.014145269058644772,
0.03559985011816025,
-0.015578048303723335,
-0.009116371162235737,
-0.022955244407057762,
0.028566502034664154,
-0.01219717413187027,
0.07066822052001953,
0.008324196562170982,
0.04514909163117409,
0.021827762946486473,
0.00446100952103734,
0.004989976063370705,
-0.05372991785407066,
-0.03303741663694382,
0.006391908973455429,
-0.013523812405765057,
-0.0042008524760603905,
0.01737508922815323,
-0.05723940581083298,
-0.04691120609641075,
0.005234895274043083,
-0.025332476943731308,
-0.034819088876247406,
-0.03343214839696884,
-0.014446382410824299,
-0.0437176488339901,
-0.006363492459058762,
-0.03733200579881668,
-0.0017506767762824893,
-0.013264190405607224,
0.02240714058279991,
-0.03354527801275253,
0.023271173238754272,
0.012581043876707554,
0.02071157470345497,
-0.02421990968286991,
-0.03440460190176964,
-0.026176203042268753,
0.024386394768953323,
0.04057450592517853,
0.05155795440077782,
-0.013812997378408909,
-0.007861597463488579,
0.03186989948153496,
-0.024711063131690025,
0.020120296627283096,
0.029053496196866035,
0.02494889497756958,
0.022658279165625572,
-0.029535192996263504,
-0.011280279606580734,
-0.006607211660593748,
0.049459703266620636,
-0.04590275138616562,
0.04980941861867905,
-0.0045638661831617355,
-0.010755377821624279,
0.06736595928668976,
-0.04935969412326813,
-0.004321288783103228,
-0.01853657327592373,
0.019313426688313484,
0.06346321851015091,
-0.04115549474954605,
-0.04683098569512367,
0.018773065879940987,
-0.043895699083805084,
0.011635717004537582,
-0.06144281104207039,
0.07060258090496063,
0.0323144756257534,
-0.017677441239356995,
0.0167512409389019,
0.004166407510638237,
-0.004597614053636789,
0.014686011709272861,
-0.012560361064970493,
0.013957545161247253,
7.070746191673881e-33,
0.008988671936094761,
0.0221102312207222,
0.010286928154528141,
0.03395958989858627,
0.029314057901501656,
-0.012508666142821312,
0.0073520164005458355,
0.05698912963271141,
-0.016675006598234177,
0.030470967292785645,
-0.019789308309555054,
-0.03145265951752663,
-0.0061905113980174065,
0.04750628396868706,
0.060782600194215775,
0.020951414480805397,
0.027082281187176704,
-0.021159261465072632,
-0.05102032423019409,
0.008923429995775223,
0.009010862559080124,
-0.0021634490694850683,
0.0005601620068773627,
0.028176311403512955,
0.02918618731200695,
0.03698503598570824,
0.025755006819963455,
-0.0038090378511697054,
-0.008260739035904408,
-0.010121777653694153,
-0.009183119051158428,
-0.015501989051699638,
-0.006050586700439453,
-0.05038277059793472,
0.039324335753917694,
0.035221830010414124,
0.036786504089832306,
-0.014141027815639973,
-0.024152090772986412,
0.003322615986689925,
0.0013038618490099907,
0.03350359573960304,
-0.03146287798881531,
0.03302190452814102,
0.008127538487315178,
0.03949162736535072,
0.00917082093656063,
0.01975472830235958,
-0.031224092468619347,
0.029901552945375443,
0.004356781020760536,
0.025918321684002876,
0.00758198369294405,
0.032413601875305176,
0.03525200113654137,
-0.013170176185667515,
-0.005915154702961445,
0.03388906270265579,
-0.020045068114995956,
-0.023685500025749207,
-0.028499381616711617,
-0.053472280502319336,
0.007011981215327978,
0.01800152100622654,
-0.009830200113356113,
-0.014978674240410328,
0.021284377202391624,
-0.0020194342359900475,
-0.016049059107899666,
0.008555268868803978,
0.01514922920614481,
-0.031929027289152145,
-0.014871515333652496,
0.007713246624916792,
0.03175480291247368,
0.002839704742655158,
-0.016697324812412262,
-0.019010156393051147,
-0.032902494072914124,
-0.0028019503224641085,
0.03924569860100746,
-0.01701311394572258,
0.04975021257996559,
0.027752134948968887,
-0.015334989875555038,
0.02116098627448082,
-0.056755200028419495,
0.03993728756904602,
0.03476124256849289,
0.02284979447722435,
0.02231411077082157,
-0.01437360793352127,
-0.03638757765293121,
0.07340944558382034,
0.013224906288087368,
-1.2383335246113347e-8,
-0.027290811762213707,
-0.0009006570326164365,
-0.02327042631804943,
0.017321230843663216,
0.021235253661870956,
0.01633496582508087,
-0.014674685895442963,
-0.028850704431533813,
-0.01354528684169054,
0.007320255972445011,
0.054427649825811386,
-0.0370672307908535,
0.0064556291326880455,
0.021920232102274895,
0.0009531875257380307,
-0.07093381136655807,
0.014301575720310211,
-0.023540623486042023,
0.036108165979385376,
0.014968885108828545,
-0.015835266560316086,
0.020550958812236786,
-0.024457722902297974,
-0.01291982177644968,
0.02796332538127899,
-0.013326494954526424,
0.013641225174069405,
-0.06945514678955078,
-0.0012569068931043148,
-0.04784374311566353,
0.009199891239404678,
-0.02017853781580925,
-0.014048922806978226,
0.030821485444903374,
-0.05515832081437111,
-0.06382960826158524,
0.02365465648472309,
0.04738722741603851,
0.032712772488594055,
0.008301869034767151,
0.013404236175119877,
-0.019534597173333168,
-0.022996632382273674,
-0.020462341606616974,
-0.019272606819868088,
0.03205393627285957,
-0.024187011644244194,
0.004526689648628235,
0.0027205380611121655,
-0.010475832968950272,
-0.019440539181232452,
-0.03567065671086311,
0.018182000145316124,
0.015001894906163216,
0.04083060100674629,
-0.014236959628760815,
-0.006269483361393213,
0.0016177874058485031,
-0.010846787132322788,
-0.07230009883642197,
-0.005877906922250986,
-0.017044370993971825,
-0.035219546407461166,
-0.04923298954963684
] | r-ggplot-plotting-back-to-back-bar-charts | https://markhneedham.com/blog/2014/07/20/r-ggplot-plotting-back-to-back-bar-charts |
false | 2014-07-20 00:21:17 | R: ggplot - Don't know how to automatically pick scale for object of type difftime - Discrete value supplied to continuous scale | [
"r-2"
] | [
"R"
] | While reading 'http://www.fastcolabs.com/3030063/why-the-r-programming-language-is-good-for-business[Why The R Programming Language Is Good For Business]' I came across Udacity's 'https://www.udacity.com/course/viewer#!/c-ud651/l-685569241/e-824578546/m-824578547[Data Analysis with R]' courses - part of which focuses exploring data sets using visualisations, something I haven't done much of yet.
I thought it'd be interesting to create some visualisations around the times that people RSVP 'yes' to the http://www.meetup.com/graphdb-london/[various Neo4j events that we run in London].
I started off with the following query which returns the date time that people replied 'Yes' to an event and the date time of the event:
[source,r]
----
library(Rneo4j)
query = "MATCH (e:Event)<-[:TO]-(response {response: 'yes'})
RETURN response.time AS time, e.time + e.utc_offset AS eventTime"
allYesRSVPs = cypher(graph, query)
allYesRSVPs$time = timestampToDate(allYesRSVPs$time)
allYesRSVPs$eventTime = timestampToDate(allYesRSVPs$eventTime)
> allYesRSVPs[1:10,]
time eventTime
1 2011-06-05 12:12:27 2011-06-29 18:30:00
2 2011-06-05 14:49:04 2011-06-29 18:30:00
3 2011-06-10 11:22:47 2011-06-29 18:30:00
4 2011-06-07 15:27:07 2011-06-29 18:30:00
5 2011-06-06 20:21:45 2011-06-29 18:30:00
6 2011-07-04 19:49:04 2011-07-27 19:00:00
7 2011-07-05 16:40:10 2011-07-27 19:00:00
8 2011-08-19 07:41:10 2011-08-31 18:30:00
9 2011-08-24 12:47:40 2011-08-31 18:30:00
10 2011-08-18 09:56:53 2011-08-31 18:30:00
----
I wanted to create a bar chart showing the amount of time in advance of a meetup that people RSVP'd 'yes' so I added the following column to my data frame:
[source,r]
----
allYesRSVPs$difference = allYesRSVPs$eventTime - allYesRSVPs$time
> allYesRSVPs[1:10,]
time eventTime difference
1 2011-06-05 12:12:27 2011-06-29 18:30:00 34937.55 mins
2 2011-06-05 14:49:04 2011-06-29 18:30:00 34780.93 mins
3 2011-06-10 11:22:47 2011-06-29 18:30:00 27787.22 mins
4 2011-06-07 15:27:07 2011-06-29 18:30:00 31862.88 mins
5 2011-06-06 20:21:45 2011-06-29 18:30:00 33008.25 mins
6 2011-07-04 19:49:04 2011-07-27 19:00:00 33070.93 mins
7 2011-07-05 16:40:10 2011-07-27 19:00:00 31819.83 mins
8 2011-08-19 07:41:10 2011-08-31 18:30:00 17928.83 mins
9 2011-08-24 12:47:40 2011-08-31 18:30:00 10422.33 mins
10 2011-08-18 09:56:53 2011-08-31 18:30:00 19233.12 mins
----
I then tried to use ggplot to create a bar chart of that data:
[source,r]
----
> ggplot(allYesRSVPs, aes(x=difference)) + geom_histogram(binwidth=1, fill="green")
----
Unfortunately that resulted in this error:
[source,r]
----
Don't know how to automatically pick scale for object of type difftime. Defaulting to continuous
Error: Discrete value supplied to continuous scale
----
I couldn't find anyone who had come across this problem before in my search but I did find the http://stat.ethz.ch/R-manual/R-devel/library/base/html/difftime.html[as.numeric] function which seemed like it would put the difference into an appropriate format:
[source,r]
----
allYesRSVPs$difference = as.numeric(allYesRSVPs$eventTime - allYesRSVPs$time, units="days")
> ggplot(allYesRSVPs, aes(x=difference)) + geom_histogram(binwidth=1, fill="green")
----
that resulted in the following chart:
image::{{<siteurl>}}/uploads/2014/07/2014-07-20_01-15-39.png[2014 07 20 01 15 39,580]
We can see there is quite a heavy concentration of people RSVPing yes in the few days before the event and then the rest are scattered across the first 30 days.
We usually announce events 3/4 weeks in advance so I don't know that it tells us anything interesting other than that it seems like people sign up for events when an email is sent out about them.
The date the meetup was announced (by email) isn't currently exposed by the API but https://groups.google.com/forum/#!topic/meetup-api/3kcvh4ye-O0[hopefully one day it will be].
The https://github.com/mneedham/neo4j-meetup/blob/master/rScripts/memberOverlap.R#L290[code is on github] if you want to have a play - any suggestions welcome. | null | null | [
0.01985730230808258,
-0.021984199061989784,
0.006403997540473938,
0.047043487429618835,
0.071409672498703,
0.006558746099472046,
0.03285650536417961,
0.04771372675895691,
0.006858055479824543,
0.007014403119683266,
0.005340812262147665,
-0.005738822277635336,
-0.07219944894313812,
0.017803341150283813,
-0.002311411313712597,
0.07906468212604523,
0.060521602630615234,
-0.02010696567595005,
0.029402758926153183,
-0.0006158765172585845,
0.02152203768491745,
0.048270151019096375,
-0.0081939697265625,
0.04047958925366402,
0.03096381388604641,
0.006874444894492626,
-0.013096748851239681,
-0.0040965331718325615,
-0.05769864469766617,
-0.007170855533331633,
0.059320442378520966,
0.029636772349476814,
0.002803004579618573,
0.005558197386562824,
0.01988968811929226,
-0.0004646116867661476,
-0.032166801393032074,
0.012675443664193153,
-0.0021169031970202923,
-0.003202590625733137,
-0.07671431452035904,
0.01609208807349205,
-0.017549341544508934,
0.014590930193662643,
-0.0385625921189785,
0.01819581165909767,
-0.03943517431616783,
0.03746870905160904,
0.020769234746694565,
0.030522065237164497,
-0.07726995646953583,
0.021417751908302307,
0.0003486514324322343,
0.02588653564453125,
-0.028894653543829918,
0.04114612191915512,
0.03384500369429588,
-0.06165564805269241,
0.03172621876001358,
-0.03667911887168884,
0.0202821996062994,
-0.016522319987416267,
-0.017972420901060104,
0.012595025822520256,
0.0029592181090265512,
-0.023603174835443497,
-0.008267817087471485,
0.036983806639909744,
-0.015444501303136349,
0.01735282503068447,
-0.027953380718827248,
0.029759518802165985,
-0.02940329909324646,
0.01406063698232174,
0.0013977981870993972,
-0.05025564134120941,
0.008896073326468468,
0.04511301591992378,
0.02916450798511505,
0.04288797453045845,
-0.012100422754883766,
0.007875255309045315,
0.03643997013568878,
0.03524930030107498,
0.01425417885184288,
-0.02439374290406704,
-0.03458422049880028,
-0.046085111796855927,
-0.053766749799251556,
0.029829155653715134,
0.00023192747903522104,
-0.07758615911006927,
0.023012841120362282,
0.01491993572562933,
-0.01802612654864788,
0.012634233571588993,
0.012372199445962906,
-0.012316453270614147,
0.016091981902718544,
-0.031470682471990585,
-0.05353332310914993,
-0.046509336680173874,
0.0205539483577013,
0.024414632469415665,
-0.06660795956850052,
-0.00553849758580327,
-0.0338839590549469,
-0.02843254990875721,
-0.005103325005620718,
0.017030073329806328,
-0.04419678449630737,
0.028879346325993538,
-0.010826685465872288,
0.003822593716904521,
-0.06810312718153,
0.054907310754060745,
0.027334848418831825,
-0.004759961273521185,
-0.013665205799043179,
-0.026561345905065536,
0.03094426728785038,
0.019171331077814102,
-0.009066283702850342,
0.07037226855754852,
0.003243079874664545,
0.06094297766685486,
-0.014478219673037529,
0.019090507179498672,
-0.023429082706570625,
-0.051130399107933044,
-0.0007648635655641556,
0.042357269674539566,
-0.031961556524038315,
-0.002268481533974409,
-0.005395981483161449,
-0.02129928395152092,
-0.002544174902141094,
0.03387272357940674,
0.04746626317501068,
0.036654822528362274,
0.03681053966283798,
-0.04981912672519684,
0.03360240161418915,
-0.0014331528218463063,
0.0337761826813221,
0.011670400388538837,
-0.016233665868639946,
-0.028957368806004524,
-0.0320935919880867,
-0.02215481922030449,
0.019096851348876953,
0.01990319974720478,
0.018115149810910225,
-0.021630950272083282,
0.03132958710193634,
0.11133696138858795,
0.03173622861504555,
0.010201445780694485,
-0.02623848058283329,
0.002967000240460038,
0.035716164857149124,
0.04173034057021141,
-0.002012950135394931,
0.04997938126325607,
0.0025454461574554443,
-0.009592902846634388,
-0.005064866971224546,
0.029030373319983482,
-0.024878043681383133,
0.005510889925062656,
-0.057464249432086945,
-0.03622949495911598,
0.08150508254766464,
-0.061086513102054596,
-0.022014619782567024,
0.06955864280462265,
0.09268499910831451,
0.025883611291646957,
0.035866737365722656,
-0.017329085618257523,
-0.07763238996267319,
0.03510655090212822,
0.009618482552468777,
0.01417491864413023,
0.022349614650011063,
-0.03572196140885353,
0.08923491835594177,
0.0201265886425972,
-0.006543941330164671,
0.05059714615345001,
-0.08089560270309448,
-0.08333604037761688,
-0.027237873524427414,
-0.029361851513385773,
0.055918268859386444,
-0.03752388060092926,
0.01804288662970066,
0.04953518137335777,
-0.01612193137407303,
0.05808909237384796,
-0.007594256196171045,
0.015112850815057755,
0.0007022516219876707,
-0.029182221740484238,
-0.056104257702827454,
0.038963574916124344,
0.02707694098353386,
-0.03466393053531647,
-0.053160347044467926,
0.007616478018462658,
-0.026730632409453392,
0.02586198039352894,
0.020100506022572517,
-0.016290314495563507,
0.07198133319616318,
0.05040308088064194,
0.05356406047940254,
0.006800034549087286,
0.01911282353103161,
-0.04116736724972725,
0.05018281191587448,
0.0037187510170042515,
-0.007279915735125542,
-0.013339986093342304,
0.01460981834679842,
0.11502771824598312,
0.06818166375160217,
-0.02603120356798172,
-0.029427487403154373,
0.024416986852884293,
0.01146345492452383,
-0.02452261745929718,
0.0010696847457438707,
-0.03524736315011978,
0.017567476257681847,
0.0016780139412730932,
-0.03134267032146454,
-0.02247694879770279,
-0.0025631210301071405,
-0.021326491609215736,
0.03181286156177521,
0.05821804329752922,
-0.02764502540230751,
0.0583377443253994,
-0.022183945402503014,
-0.0075386385433375835,
-0.013412270694971085,
-0.03484288603067398,
-0.056432850658893585,
0.00900687649846077,
0.003567891428247094,
-0.005329661071300507,
0.058071691542863846,
-0.027265196666121483,
0.005787151865661144,
-0.036797162145376205,
-0.019229533150792122,
0.027852274477481842,
0.05897708982229233,
0.05039125680923462,
0.010828658007085323,
0.03691297024488449,
-0.028526054695248604,
0.020602455362677574,
0.006153732538223267,
-0.054927993565797806,
-0.0628071054816246,
-0.03701053187251091,
0.012212270870804787,
0.01899237371981144,
0.025117293000221252,
-0.0269344300031662,
0.00980518851429224,
0.006060617510229349,
0.010318581946194172,
-0.025615567341446877,
0.032625872641801834,
-0.0022586744744330645,
-0.022642040625214577,
-0.020187964662909508,
-0.026984546333551407,
0.03846314921975136,
-0.049745142459869385,
-0.04606182873249054,
-0.023074781522154808,
-0.047686513513326645,
0.0402534082531929,
-0.06862249970436096,
-0.04869822412729263,
0.0021316276397556067,
0.010380689986050129,
0.047889791429042816,
0.022324655205011368,
0.02371187135577202,
0.07671728730201721,
0.030365215614438057,
0.01433593314141035,
0.004105067811906338,
-0.0176291074603796,
0.046133238822221756,
0.010418631136417389,
0.023041699081659317,
0.05347621440887451,
-0.013255185447633266,
-0.003975179046392441,
-0.05985855311155319,
0.02977483905851841,
-0.03662700578570366,
-0.27221524715423584,
0.029774369671940804,
-0.021896447986364365,
-0.04593745991587639,
0.0008976459503173828,
-0.032413482666015625,
0.0423208512365818,
-0.007375298533588648,
-0.03742212429642677,
-0.028805390000343323,
0.0012842813739553094,
-0.053643301129341125,
-0.036160871386528015,
0.048850346356630325,
0.03053216263651848,
0.010782127268612385,
0.014252770692110062,
-0.041056908667087555,
-0.004061501007527113,
0.04114031791687012,
0.017088299617171288,
-0.03971365839242935,
-0.0025280537083745003,
0.03430502489209175,
0.028061367571353912,
0.05262750759720802,
-0.07078056037425995,
0.014746755361557007,
-0.06022036448121071,
-0.02033357322216034,
0.03914632275700569,
-0.010735120624303818,
0.022992191836237907,
-0.01573318988084793,
0.014154575765132904,
-0.016915395855903625,
0.032968997955322266,
0.007690278347581625,
0.017461087554693222,
0.024101538583636284,
-0.012721553444862366,
-0.05375242605805397,
0.008223015815019608,
0.0013595010386779904,
0.08156725019216537,
0.032684728503227234,
-0.07922269403934479,
-0.011214072816073895,
-0.0009884146274998784,
0.06799796223640442,
-0.031131139025092125,
-0.03243275731801987,
-0.03642033040523529,
0.005498526617884636,
-0.04945225268602371,
-0.05155808851122856,
-0.027471037581562996,
-0.01629124954342842,
-0.013047277927398682,
-0.018771644681692123,
-0.005784918088465929,
-0.018946638330817223,
0.027674078941345215,
-0.05207504332065582,
-0.038708463311195374,
-0.05588751286268234,
-0.08752530813217163,
-0.03660432994365692,
0.07232344895601273,
0.01502544991672039,
-0.02814304642379284,
0.029189376160502434,
-0.02620280534029007,
-0.1085725724697113,
-0.03215515613555908,
-0.005294441245496273,
-0.023373808711767197,
-0.003957926761358976,
0.03241841122508049,
0.06066027283668518,
-0.0382162481546402,
-0.061080824583768845,
0.01938645914196968,
0.0015888416673988104,
0.040873367339372635,
-0.015188515186309814,
0.005686652380973101,
0.0027512458618730307,
-0.029993297532200813,
-0.008470265194773674,
0.053896501660346985,
-0.020487532019615173,
-0.039533354341983795,
-0.005310244858264923,
0.008139039389789104,
0.01428283378481865,
0.011140630580484867,
-0.016088927164673805,
0.033458683639764786,
0.022317087277770042,
-0.0034790756180882454,
-0.05908465385437012,
0.02709590643644333,
-0.04582289978861809,
-0.020525293424725533,
-0.0236299317330122,
-0.024209417402744293,
0.006957936566323042,
0.03185689449310303,
0.010346701368689537,
0.018222952261567116,
-0.01950281858444214,
0.009924273937940598,
-0.04103571176528931,
-0.014972084201872349,
-0.019965779036283493,
0.029845071956515312,
0.02457483857870102,
0.030699128285050392,
-0.020378578454256058,
-0.0670647993683815,
0.013968348503112793,
0.015016854740679264,
-0.0017457116628065705,
-0.051496170461177826,
-0.01234226394444704,
-0.02059832774102688,
-0.04885562136769295,
0.013490943238139153,
0.022950824350118637,
-0.007848302833735943,
0.011695433408021927,
0.042859844863414764,
-0.017353380098938942,
0.03419915959239006,
-0.021737992763519287,
-0.04088333249092102,
-0.034197062253952026,
-0.009892952628433704,
0.006264689844101667,
0.0008535434026271105,
0.02696767821907997,
-0.00133290805388242,
0.01684933714568615,
0.024588344618678093,
0.01318273227661848,
0.009429799392819405,
-0.007060276344418526,
0.02886820398271084,
0.008831906132400036,
-0.0021260667126625776,
-0.042361557483673096,
0.01342920120805502,
-0.04227688908576965,
-0.01677745021879673,
-0.01690726727247238,
0.06777513772249222,
-0.0021924078464508057,
-0.01649797335267067,
-0.032829828560352325,
0.03397698700428009,
-0.07679304480552673,
-0.0048789819702506065,
-0.011008774861693382,
0.015224953182041645,
0.05360179394483566,
-0.016747063025832176,
0.027426987886428833,
-0.011276232078671455,
-0.029978269711136818,
-0.020725324749946594,
0.015220100991427898,
-0.03440547734498978,
0.00958207342773676,
0.0004958268254995346,
-0.00919680017977953,
0.015166128985583782,
0.007121288683265448,
0.038484346121549606,
-0.016589803621172905,
-0.008423232473433018,
-0.014851956628262997,
-0.011676721274852753,
0.004375995136797428,
0.03787118196487427,
0.05382401868700981,
-0.015268529765307903,
-0.0028916632290929556,
-0.03312232345342636,
-0.021962929517030716,
0.0011702507035806775,
0.008568781428039074,
-0.017330747097730637,
-0.0041962130926549435,
-0.028680438175797462,
-0.09321817755699158,
0.03869269788265228,
0.012065071612596512,
0.006805695593357086,
0.0017272409750148654,
0.015099992044270039,
0.017139790579676628,
-0.02493414282798767,
0.03728584945201874,
0.05328173562884331,
-0.07290028780698776,
-0.005553132388740778,
0.0016161731909960508,
-0.0005238227313384414,
0.019817020744085312,
0.016112495213747025,
-0.02367444708943367,
-0.015213132835924625,
-0.020231852307915688,
0.021072542294859886,
-0.021567292511463165,
-0.03844957798719406,
-0.031042402610182762,
0.013046796433627605,
0.015828559175133705,
0.02770010568201542,
0.0006628974224440753,
-0.03172152861952782,
-0.0149936992675066,
0.004315933678299189,
0.0496065579354763,
-0.018156563863158226,
-0.026564057916402817,
0.000627185741905123,
-0.004989107605069876,
0.00995706021785736,
-0.03842860460281372,
-0.005410784389823675,
0.021481145173311234,
-0.03492637723684311,
-0.0030720375943928957,
-0.06266919523477554,
0.0097496397793293,
0.01721121184527874,
0.06166546046733856,
-0.011508164927363396,
-0.003631745697930455,
-0.024651581421494484,
0.010233677923679352,
-0.026020918041467667,
0.01332033146172762,
-0.0037930880207568407,
0.02811928279697895,
0.005372743587940931,
0.031237227842211723,
0.007499232888221741,
0.01288420520722866,
-0.011610201559960842,
-0.033643901348114014,
0.04171661660075188,
-0.062474239617586136,
-0.041999924927949905,
-0.010605582036077976,
-0.05933355167508125,
-0.0062036835588514805,
0.0010142441606149077,
-0.014049110002815723,
-0.03252072259783745,
0.044441353529691696,
0.020489538088440895,
0.04840248078107834,
0.06611304730176926,
0.008553354069590569,
0.027437200769782066,
-0.02150559425354004,
-0.0024341794196516275,
-0.0898640975356102,
-0.007410210091620684,
0.03341082111001015,
0.02518303319811821,
-0.02428554929792881,
0.001527707907371223,
-0.043362442404031754,
0.04630741477012634,
-0.06485626846551895,
-0.04686003178358078,
0.04047023132443428,
-0.014844976365566254,
0.004943303298205137,
0.009272960014641285,
-0.0677681416273117,
0.02221265248954296,
0.04727881774306297,
-0.05560111626982689,
-0.01070950087159872,
-0.033720601350069046,
0.04994351044297218,
-0.03704173117876053,
0.04515901580452919,
-0.04271288216114044,
-0.01116956863552332,
0.08007559180259705,
0.01801685243844986,
-0.0041855801828205585,
0.06218210235238075,
-0.00836350116878748,
0.01913134753704071,
0.0455390103161335,
-0.007462494075298309,
0.0014485912397503853,
0.017591608688235283,
-0.01653669960796833,
-0.05232761427760124,
0.029595913365483284,
-0.006494565866887569,
-0.010417926125228405,
-0.025136113166809082,
0.08975618332624435,
0.016922039911150932,
-0.04497285559773445,
-0.015872320160269737,
0.0046987454406917095,
-0.029037432745099068,
0.004131435416638851,
-0.015037924982607365,
-0.012216119095683098,
-0.042472027242183685,
0.06356409192085266,
-0.0071203457191586494,
0.03065243922173977,
0.0705379843711853,
0.025434643030166626,
0.006168026942759752,
0.005200596060603857,
0.08745298534631729,
0.08253152668476105,
0.05639711767435074,
0.014969566836953163,
0.07094945758581161,
-0.045758575201034546,
-0.03627030923962593,
0.008234497159719467,
-0.03507871553301811,
-0.03572646528482437,
-0.012929637916386127,
0.021923759952187538,
0.0793536826968193,
-0.02419750951230526,
0.03661784529685974,
-0.02374471351504326,
-0.007527435198426247,
0.003513508941978216,
0.011091973632574081,
0.037151336669921875,
0.05245010927319527,
0.022023677825927734,
0.026219317689538002,
-0.013272394426167011,
-0.03640272840857506,
0.03190559893846512,
-0.030971292406320572,
-0.007924791425466537,
0.05211520940065384,
-0.0027437612880021334,
-0.012271568179130554,
0.005496634636074305,
0.038330238312482834,
0.09054194390773773,
-0.013066419400274754,
-0.003969159908592701,
0.003278064774349332,
0.01632673665881157,
0.013300956226885319,
0.02122972346842289,
-0.019940128549933434,
-0.006771180313080549,
-0.025664404034614563,
-0.04026111587882042,
-0.019204990938305855,
-0.010744457133114338,
-0.04783700034022331,
0.03891533613204956,
-0.039636850357055664,
0.008859523572027683,
0.017232082784175873,
-0.05282217264175415,
-0.01886570267379284,
-0.05294359475374222,
-0.03069967031478882,
-0.03658061847090721,
-0.055724333971738815,
-0.0110618332400918,
0.008981864899396896,
-0.02352149225771427,
-0.023923790082335472,
-0.003844489576295018,
-0.0014223388861864805,
-0.015656741335988045,
0.011161054484546185,
-0.06178688257932663,
-0.014645494520664215,
0.007256629411131144,
-0.013997450470924377,
0.02679452858865261,
0.02855919674038887,
0.053043898195028305,
-0.0017183612799271941,
-0.0021922944579273462,
-0.04431699588894844,
0.013638230040669441,
0.02438163198530674,
0.033372826874256134,
-0.0005680151516571641,
-0.08664512634277344,
0.024716274812817574,
0.021956034004688263,
-0.04281090945005417,
-0.08883263915777206,
0.025734661146998405,
0.026315215975046158,
-0.00650067301467061,
0.025942407548427582,
-0.0019031971460208297,
0.000939220713917166,
-0.004857610445469618,
0.0014276278670877218,
-0.008021343499422073,
0.038902588188648224,
0.03191866725683212,
-0.035044241696596146,
0.06012743338942528,
0.0662122294306755,
-0.014943349175155163,
-0.03619573637843132,
-0.0346544049680233,
0.004023146815598011,
-0.018522806465625763,
-0.03610691428184509,
-0.027217255905270576,
-0.04538244754076004,
-0.11360326409339905,
-0.04624634608626366,
0.004803227260708809,
-0.030830368399620056,
-0.032919224351644516,
0.0402265265583992,
0.04005787521600723,
-0.02317430078983307,
0.002898405771702528,
-0.039622712880373,
0.013802782632410526,
-0.008825825527310371,
-0.02170570380985737,
-0.025876041501760483,
0.0031929316464811563,
-0.034283190965652466,
0.0003159938787575811,
-0.012134683318436146,
-0.04300704970955849,
0.002872107783332467,
-0.03749546408653259,
0.033069171011447906,
0.03765647113323212,
0.04263845831155777,
0.010608627460896969
] | [
-0.07204362004995346,
-0.037547413259744644,
-0.03888730704784393,
-0.00860513187944889,
0.07382948696613312,
-0.024774719029664993,
-0.04346360266208649,
0.029643192887306213,
0.01545732095837593,
-0.007866796106100082,
0.025173667818307877,
-0.01750681735575199,
0.01653384044766426,
0.016242800280451775,
0.07416623830795288,
-0.00045744318049401045,
-0.011674857698380947,
-0.1036386787891388,
0.00907642487436533,
0.0447445772588253,
-0.011854083277285099,
-0.020647427067160606,
-0.037916671484708786,
-0.04427797347307205,
0.030176926404237747,
0.037755146622657776,
0.019518250599503517,
-0.03152687847614288,
-0.01722508855164051,
-0.20679335296154022,
-0.005044185556471348,
0.006275770254433155,
0.04703694209456444,
-0.009779435582458973,
0.01177635882049799,
0.03692839294672012,
0.051433265209198,
-0.0038578438106924295,
0.02652158960700035,
0.035412102937698364,
-0.008850437588989735,
-0.01216901931911707,
-0.036918532103300095,
-0.01673651486635208,
0.023481737822294235,
-0.00766658503562212,
-0.019647888839244843,
0.0007441653870046139,
-0.04749906808137894,
0.019309839233756065,
-0.0642748698592186,
-0.009012015536427498,
0.001666750875301659,
-0.01547813881188631,
0.004487152677029371,
0.045358795672655106,
0.0458625890314579,
0.05892292037606239,
0.0004796782450284809,
-0.014719225466251373,
0.010127832181751728,
-0.012046944350004196,
-0.17154276371002197,
0.10296212136745453,
-0.0025825046468526125,
0.03116852045059204,
-0.01819032058119774,
0.006010912824422121,
0.001905929297208786,
0.05715807154774666,
-0.006853049620985985,
-0.023282552137970924,
-0.056848637759685516,
0.03606254234910011,
0.005070818122476339,
-0.015175829641520977,
-0.013383198529481888,
0.011603024788200855,
0.03613306209445,
-0.02975299023091793,
-0.0035248170606791973,
0.026061030104756355,
-0.008816985413432121,
-0.02456735260784626,
-0.019048184156417847,
0.01294698566198349,
-0.025012750178575516,
0.061461057513952255,
0.005834394600242376,
0.04413042962551117,
0.028463831171393394,
0.01974523440003395,
0.024554356932640076,
0.007894070819020271,
-0.0829581469297409,
-0.0017532625934109092,
0.021179992705583572,
0.0371360145509243,
-0.01537397038191557,
0.41889888048171997,
-0.02579384483397007,
0.0104230847209692,
0.02496623806655407,
0.052334848791360855,
-0.00008490803884342313,
-0.028292037546634674,
0.014302553609013557,
-0.07572663575410843,
0.03318707272410393,
-0.018764762207865715,
0.017317485064268112,
-0.021783918142318726,
0.08055778592824936,
-0.06598261743783951,
0.02527751587331295,
0.03253142163157463,
0.05960148200392723,
0.018061330541968346,
0.013594073243439198,
0.020888181403279305,
-0.034882787615060806,
0.010115510784089565,
0.014824493788182735,
-0.017741283401846886,
-0.007499234285205603,
-0.03749336674809456,
0.05011650547385216,
0.06941767781972885,
0.010891820304095745,
-0.003140096552670002,
0.0817721039056778,
-0.02466750703752041,
-0.08177202939987183,
0.013590156100690365,
-0.013986713252961636,
-0.0063434564508497715,
0.029985545203089714,
-0.026655027642846107,
0.01945258490741253,
0.027397727593779564,
-0.026318199932575226,
-0.0257723368704319,
0.0172332264482975,
-0.006777900271117687,
-0.04928393289446831,
0.13131020963191986,
0.011014369316399097,
-0.038573890924453735,
-0.01843787543475628,
-0.03829628601670265,
-0.002806983655318618,
0.030569670721888542,
0.021400535479187965,
-0.08363743871450424,
-0.0010818439768627286,
0.020913051441311836,
0.11268682777881622,
-0.03331470862030983,
-0.0673593208193779,
-0.02576301433146,
-0.026876064017415047,
-0.031949423253536224,
-0.020967893302440643,
0.06998458504676819,
0.04445011541247368,
-0.1336498260498047,
0.008361265994608402,
0.02635173685848713,
0.03915822505950928,
-0.07578159868717194,
-0.004972983617335558,
0.008539577014744282,
0.003607603721320629,
-0.005642952863126993,
0.08124342560768127,
-0.0005219143931753933,
-0.026761461049318314,
0.0017162899021059275,
0.042262088507413864,
0.011041869409382343,
0.009348868392407894,
-0.022071341052651405,
-0.021326713263988495,
0.006608558818697929,
-0.05187138915061951,
-0.050154104828834534,
-0.061866626143455505,
0.013929075561463833,
0.0123294061049819,
-0.00783383846282959,
-0.006010522600263357,
-0.06963744759559631,
-0.0862121433019638,
0.09297183156013489,
-0.037575289607048035,
-0.0274089053273201,
0.01907520182430744,
-0.0008371833246201277,
-0.005572072230279446,
-0.03138551861047745,
-0.03867367282509804,
-0.012807671912014484,
-0.02068948745727539,
0.01943579688668251,
-0.041012998670339584,
0.03569364547729492,
0.0397624671459198,
-0.027604589238762856,
0.08130756765604019,
0.04011329263448715,
-0.023640671744942665,
-0.011815411038696766,
-0.003563500940799713,
0.0011301636695861816,
0.004536844324320555,
-0.008167036809027195,
0.006930601317435503,
-0.014365985058248043,
-0.01851384900510311,
0.026722213253378868,
-0.013274131342768669,
0.023366808891296387,
0.010964213870465755,
-0.3403301239013672,
-0.016085974872112274,
-0.02451338991522789,
0.009931888431310654,
0.031396061182022095,
-0.0480797253549099,
-0.001785801025107503,
-0.010433643124997616,
0.021194688975811005,
0.060883305966854095,
0.0779881700873375,
0.028220346197485924,
-0.004474143963307142,
-0.10816051065921783,
0.0021107476204633713,
0.034710418432950974,
-0.05100885406136513,
-0.0021783229894936085,
-0.022411471232771873,
-0.023806681856513023,
-0.011074562557041645,
-0.02353239245712757,
-0.010327722877264023,
-0.05208278074860573,
0.003863393561914563,
-0.031846076250076294,
0.12703143060207367,
0.01584004983305931,
0.03389395773410797,
-0.05423462390899658,
0.03673292323946953,
-0.021674515679478645,
-0.001979184104129672,
-0.08969128131866455,
-0.0036045070737600327,
-0.015419933013617992,
0.033604636788368225,
0.030209245160222054,
0.007627687882632017,
-0.03424066677689552,
-0.04148213937878609,
0.004248826298862696,
-0.02730533666908741,
-0.02756224200129509,
-0.048957936465740204,
0.02901991829276085,
0.016252703964710236,
-0.02535557560622692,
-0.01925349049270153,
0.07848949730396271,
0.003345731645822525,
-0.01873602531850338,
0.020293354988098145,
0.05660570040345192,
-0.0005072483909316361,
-0.012463443912565708,
-0.07455366104841232,
0.000490013393573463,
0.004459220916032791,
0.0038865595124661922,
0.01687045209109783,
0.03812851011753082,
0.024588728323578835,
-0.05786937475204468,
-0.011117830872535706,
0.007576874922960997,
-0.0054146056063473225,
-0.020973239094018936,
0.00495687173679471,
-0.0033389173913747072,
-0.03847913816571236,
0.10927225649356842,
-0.03550998494029045,
0.03025086596608162,
0.0292267594486475,
0.030440187081694603,
-0.013129373081028461,
0.018330929800868034,
0.025255335494875908,
0.017115043476223946,
0.028293699026107788,
-0.03778837248682976,
0.05416430905461311,
-0.02005232684314251,
0.016874752938747406,
0.013661338947713375,
0.010669106617569923,
-0.03559460863471031,
0.04243136942386627,
0.056706465780735016,
-0.013696638867259026,
-0.04296746850013733,
-0.039851631969213486,
-0.06573839485645294,
0.06037173792719841,
-0.005304434336721897,
-0.27968740463256836,
0.03869205340743065,
0.05349571257829666,
0.035432133823633194,
0.003854642855003476,
0.01276956032961607,
0.020116746425628662,
-0.04249166324734688,
-0.03276577219367027,
0.008199349977076054,
0.028206391260027885,
0.054622262716293335,
0.012843332253396511,
-0.02320968545973301,
0.017374878749251366,
0.01470895390957594,
0.03629742190241814,
-0.019132358953356743,
0.014495433308184147,
0.004310594405978918,
0.032689742743968964,
-0.014634860679507256,
0.1418081670999527,
0.036510102450847626,
0.011707423254847527,
0.04045486822724342,
-0.03377055749297142,
-0.01984155736863613,
0.06352256238460541,
-0.005207603331655264,
-0.006034824065864086,
0.015360044315457344,
0.011581432074308395,
0.008101645857095718,
0.010354257188737392,
-0.017551161348819733,
-0.03157753497362137,
0.0507720410823822,
0.029069695621728897,
-0.01346229575574398,
0.0008387114503420889,
0.021227164193987846,
-0.023451222106814384,
0.021414317190647125,
0.056906573474407196,
0.02013299986720085,
0.02150728739798069,
-0.07615548372268677,
-0.03759540244936943,
-0.02250613272190094,
-0.011270065791904926,
-0.06815151870250702,
-0.02281223051249981,
0.0043395389802753925,
-0.010772328823804855,
0.08790215104818344,
0.019425010308623314,
-0.04211218282580376,
0.03895134478807449,
0.0017334114527329803,
-0.020726274698972702,
-0.04218437895178795,
0.08861268311738968,
-0.012644059956073761,
0.0069296713918447495
] | [
0.021099261939525604,
0.02800082601606846,
0.015481054782867432,
0.013779723085463047,
-0.006516053806990385,
-0.008719469420611858,
-0.005369799677282572,
0.011602639220654964,
0.0018514951225370169,
-0.009791073389351368,
-0.03429405763745308,
0.0076591637916862965,
0.015117394737899303,
0.006571928039193153,
0.02213018760085106,
-0.027597321197390556,
0.016799280419945717,
-0.013865886256098747,
0.035946208983659744,
-0.020397264510393143,
-0.021995997056365013,
-0.0007024400983937085,
0.013822760432958603,
-0.01576516404747963,
0.017422426491975784,
0.03517749533057213,
0.00019859849999193102,
0.025047391653060913,
0.02561292238533497,
-0.11182724684476852,
-0.022494157776236534,
-0.03768261522054672,
-0.030183300375938416,
0.005981452763080597,
-0.019321784377098083,
-0.013694852590560913,
0.007577160838991404,
0.013009132817387581,
0.01651887595653534,
0.027719344943761826,
0.012671868316829205,
-0.013080093078315258,
-0.016007287427783012,
0.011226795613765717,
0.001873526256531477,
-0.005243699066340923,
-0.022095797583460808,
-0.020709706470370293,
-0.011856356635689735,
-0.01269716490060091,
-0.0417708121240139,
-0.014085735194385052,
-0.02775486744940281,
-0.0030490951612591743,
0.008326969109475613,
0.019663039594888687,
-0.047115180641412735,
-0.008515642024576664,
-0.004155629780143499,
-0.02815340645611286,
0.0033429667819291353,
-0.009251772426068783,
-0.04290706291794777,
-0.0021404181607067585,
-0.02944556064903736,
0.011505267582833767,
-0.009291674010455608,
0.026288464665412903,
-0.00012104991765227169,
0.01509858202189207,
-0.02382124587893486,
0.03331728279590607,
-0.0768393874168396,
-0.020525919273495674,
-0.024938153102993965,
0.010819569230079651,
0.020757222548127174,
-0.036364391446113586,
-0.012502807192504406,
-0.027015283703804016,
-0.014411329291760921,
0.019762098789215088,
-0.012413976714015007,
0.0359683558344841,
-0.006895580794662237,
-0.009451298043131828,
0.021833354607224464,
0.017741922289133072,
0.01497028861194849,
0.003459332277998328,
-0.020238962024450302,
0.02229093573987484,
-0.019053304567933083,
-0.0024518168065696955,
-0.09768065065145493,
-0.0006082320469431579,
0.005427189636975527,
0.018377000465989113,
0.005079268477857113,
0.8556837439537048,
-0.0008627462084405124,
0.010766714811325073,
-0.01887432113289833,
0.01864832639694214,
-0.024176476523280144,
0.010132450610399246,
-0.01507935393601656,
0.0008637098362669349,
-0.020122285932302475,
-0.027438146993517876,
-0.006182546261698008,
0.024907110258936882,
0.004811431746929884,
0.01847749575972557,
0.00539905671030283,
0.04804886877536774,
-0.0017477499786764383,
-0.006256053689867258,
-0.012877864763140678,
0.022218629717826843,
-0.0020975160878151655,
0.03500385209918022,
0.0014566165627911687,
-0.0014699662569910288,
-0.0019276348175480962,
-0.17836524546146393,
0.031285494565963745,
-6.7715520226629e-33,
0.03307444974780083,
-0.011602945625782013,
0.016446413472294807,
-0.034374676644802094,
0.019522638991475105,
0.041412387043237686,
-0.002848510630428791,
-0.025540171191096306,
0.009461561217904091,
-0.00918203592300415,
-0.0009911017259582877,
-0.00007299705612240359,
0.019874725490808487,
-0.03438869118690491,
0.009475736878812313,
-0.013023189269006252,
0.031355082988739014,
0.0363137349486351,
-0.02763623744249344,
0.0013356218114495277,
-0.0009602954378351569,
0.03204440325498581,
0.023975254967808723,
0.01874173991382122,
0.010164453648030758,
0.018434394150972366,
0.0066645946353673935,
0.03219445049762726,
0.007641850039362907,
-0.04403624311089516,
-0.028539417311549187,
0.02060607448220253,
-0.03726377710700035,
-0.00609219167381525,
0.04058622196316719,
-0.04814481362700462,
-0.05613372474908829,
-0.019685499370098114,
-0.0012526403879746795,
-0.02730240486562252,
-0.03673163056373596,
0.02209324575960636,
-0.02551760897040367,
-0.025069797411561012,
-0.045236341655254364,
0.0270044207572937,
-0.015642819926142693,
0.005487982649356127,
-0.00045091353240422904,
0.009360961616039276,
-0.001241385703906417,
0.005027666687965393,
-0.009163681417703629,
0.0020326527301222086,
-0.005679647903889418,
0.008000916801393032,
0.027977250516414642,
0.025856902822852135,
-0.026784861460328102,
0.024886075407266617,
0.03429798781871796,
0.00414379732683301,
0.013688018545508385,
0.033136721700429916,
0.005233549512922764,
0.007830583490431309,
0.006544466596096754,
0.005636113230139017,
0.01261204108595848,
-0.0021611968986690044,
-0.04119378700852394,
0.041118938475847244,
0.0028828734066337347,
-0.018047038465738297,
0.04122371971607208,
-0.020739469677209854,
0.020030803978443146,
-0.0013679201947525144,
0.026114927604794502,
0.03260795772075653,
-0.02272890880703926,
-0.03352171555161476,
0.04034462943673134,
-0.033735569566488266,
0.023171577602624893,
-0.02574438601732254,
0.036861106753349304,
0.029801752418279648,
0.007255316246300936,
0.006479261443018913,
0.021107830107212067,
0.010790135711431503,
0.0048361411318182945,
-0.006665760651230812,
-0.035546548664569855,
7.242378652469505e-33,
0.0028491399716585875,
-0.00048322894144803286,
-0.0017370481509715319,
0.018377669155597687,
0.006441236939281225,
-0.025496549904346466,
0.012742577120661736,
0.02446260116994381,
-0.03686589002609253,
0.054167378693819046,
0.00072001718217507,
-0.027392324060201645,
-0.010056141763925552,
0.02896903268992901,
0.07478669285774231,
-0.017332548275589943,
0.050911180675029755,
-0.025624293833971024,
-0.02485324628651142,
0.007619307842105627,
-0.0025970495771616697,
-0.005865878891199827,
-0.017035407945513725,
0.0036701152566820383,
0.06388293951749802,
0.02952452003955841,
0.010099663399159908,
0.009697762317955494,
-0.007305644918233156,
-0.0011815563775599003,
-0.00447201170027256,
0.0031589397694915533,
-0.01687455177307129,
-0.03630068525671959,
-0.006109350826591253,
0.030266154557466507,
0.018225625157356262,
-0.018615946173667908,
0.013229946605861187,
-0.0024472479708492756,
0.026221882551908493,
0.009348920546472073,
-0.046202003955841064,
0.04208149388432503,
0.005359060596674681,
0.035833779722452164,
-0.01539582945406437,
0.016969293355941772,
-0.014967583119869232,
0.019902419298887253,
-0.009665349498391151,
0.014304567128419876,
0.01075788214802742,
0.027613040059804916,
0.012274893000721931,
-0.03078990988433361,
0.01015473436564207,
0.020721368491649628,
-0.0050068199634552,
-0.01231501717120409,
-0.023805128410458565,
-0.01893586665391922,
-0.0232087392359972,
0.015406575985252857,
0.0005586454062722623,
-0.01103840209543705,
-0.012901285663247108,
-0.03358548879623413,
0.0038242738228291273,
-0.012624896131455898,
0.017418961971998215,
-0.032891612499952316,
-0.037073709070682526,
0.019592681899666786,
0.016036950051784515,
-0.010196919552981853,
-0.018589245155453682,
0.020212912932038307,
-0.02944052964448929,
0.03508956357836723,
0.02235531434416771,
0.012166682630777359,
0.016548573970794678,
0.03575346618890762,
-0.011600407771766186,
0.044812023639678955,
-0.03138468787074089,
0.018422435969114304,
0.0022852441761642694,
-0.007443172391504049,
0.010723280720412731,
-0.037038326263427734,
-0.030663419514894485,
0.06662248820066452,
0.013376292772591114,
-1.2823002215611723e-8,
-0.04383048787713051,
-0.004447781015187502,
-0.019543873146176338,
-0.002042893785983324,
0.021063771098852158,
-0.002403820864856243,
0.001531311427243054,
-0.004352619871497154,
-0.018955912441015244,
0.029746007174253464,
0.052506256848573685,
-0.04587091505527496,
0.0013310565846040845,
0.0035791737027466297,
0.02541300468146801,
-0.019191386178135872,
-0.009396135807037354,
-0.0258911345154047,
0.028138654306530952,
0.015238801017403603,
0.05042969435453415,
0.03413151949644089,
-0.016606517136096954,
0.007404110860079527,
0.006422019097954035,
-0.004774235188961029,
0.014336111955344677,
-0.06471243500709534,
-0.015267249196767807,
-0.033732619136571884,
0.02112499065697193,
-0.032086148858070374,
0.00812232494354248,
0.018848976120352745,
-0.05135828256607056,
-0.05503537133336067,
0.0036287817638367414,
0.01879647560417652,
0.022800680249929428,
0.032504431903362274,
-0.021317845210433006,
0.0021309719886630774,
-0.019591253250837326,
-0.01858890801668167,
-0.03188769146800041,
0.018356958404183388,
-0.03476231172680855,
-0.021338902413845062,
0.01862231269478798,
-0.055614396929740906,
-0.014437400735914707,
-0.000011741875823645387,
0.014183217659592628,
0.017793083563447,
0.03038984350860119,
0.009202089160680771,
0.020939581096172333,
-0.03336066007614136,
-0.02261504717171192,
-0.00855483952909708,
-0.013731961138546467,
-0.00043002128950320184,
-0.023358341306447983,
-0.04001305252313614
] | r-ggplot-dont-know-how-to-automatically-pick-scale-for-object-of-type-difftime-discrete-value-supplied-to-continuous-scale | https://markhneedham.com/blog/2014/07/20/r-ggplot-dont-know-how-to-automatically-pick-scale-for-object-of-type-difftime-discrete-value-supplied-to-continuous-scale |
false | 2014-07-29 19:07:11 | 4 types of user | [
"software-development"
] | [
"Software Development"
] | I've been working with Neo4j full time for slightly more than a year now and from interacting with the community I've noticed that while using different features of the product people fall into 4 categories.
These are as follows:
image::{{<siteurl>}}/uploads/2014/07/4types.jpg[4types,400]
On one axis we have 'loudness' i.e. how vocal somebody is either on twitter, StackOverflow or by email and on the other we have 'success' which is how well a product feature is working for them.
The people in the top half of the diagram will get the most attention because they're the most visible.
Of those people we'll tend to spend more time on the people who are unhappy and vocal to try and help them solve the problems their having.
When working with the people in the top left it's difficult to understand how representative they are for the whole user base.
It could be the case that they aren't representative at all and actually there is a quiet majority who the product is working for and are just getting on with it with no fuss.
However, it could equally be the case that they are *absolutely representative* and there are a lot of users quietly suffering / giving up using the product.
I haven't come up with a good way to come across the less vocal users but in my experience they'll often be passive users of the user group or Stack Overflow i.e. they'll read existing issues but not post anything themselves.
Given this uncertainty I think it makes sense to assume that the silent majority suffer the same problems as the more vocal minority.
Another interesting thing I've noticed about this quadrant is that the people in the top right are often the best people in the community to help those who are struggling.
It'd be interesting to know whether anyone has noticed a similar thing with the products they worked on, and if so what approach do you take to unveiling the silent majority? | null | null | [
0.03361278399825096,
-0.015560315921902657,
0.01703348569571972,
0.022518247365951538,
0.07312323153018951,
0.006293240003287792,
0.03673877939581871,
0.020822446793317795,
0.016462991014122963,
0.0007748272037133574,
-0.015911608934402466,
-0.005354470107704401,
-0.048741694539785385,
0.034384723752737045,
-0.02948274277150631,
0.07254254817962646,
0.06815347075462341,
0.03685661032795906,
-0.0016288768965750933,
0.00006931811367394403,
0.032428842037916183,
0.042127612978219986,
0.010131030343472958,
0.027644241228699684,
0.039529021829366684,
-0.011132610030472279,
0.019093822687864304,
-0.011413061060011387,
-0.049700070172548294,
-0.016807980835437775,
0.03599591925740242,
0.004677477292716503,
0.01904648169875145,
-0.015187771990895271,
0.03332017362117767,
-0.016276497393846512,
-0.04828784987330437,
0.03013392724096775,
0.0023569439072161913,
-0.0069529106840491295,
-0.07089102268218994,
0.03745710849761963,
-0.015328720211982727,
0.03231247887015343,
-0.054596319794654846,
0.01397960539907217,
-0.053951993584632874,
0.01882755570113659,
0.017025750130414963,
0.013665962032973766,
-0.09508629143238068,
0.02005903422832489,
-0.00895400159060955,
0.019548941403627396,
0.008176852017641068,
0.016514820978045464,
0.007249169982969761,
-0.03800371661782265,
0.024619871750473976,
-0.028695689514279366,
-0.0015136912697926164,
-0.0114424554631114,
-0.019812967628240585,
0.007125199772417545,
0.0005678883753716946,
-0.03818707540631294,
0.01174614205956459,
0.05372624844312668,
-0.03735453635454178,
0.013169604353606701,
0.005657794885337353,
-0.00490695470944047,
0.007671423256397247,
-0.01339286845177412,
-0.009417026303708553,
-0.06209130585193634,
0.006637660786509514,
0.0664277896285057,
0.029905464500188828,
0.03970720246434212,
-0.02578728273510933,
0.028585858643054962,
0.007120066788047552,
0.03166751563549042,
-0.005288923624902964,
-0.04784639924764633,
0.021719103679060936,
-0.029707904905080795,
-0.046619873493909836,
0.04567673057317734,
0.009280865080654621,
-0.06740539520978928,
0.036310624331235886,
0.01285577192902565,
-0.011949829757213593,
0.014872192405164242,
0.02733711153268814,
-0.005934134591370821,
0.002081614686176181,
-0.029987776651978493,
-0.02584492787718773,
-0.03010621666908264,
-0.013440688140690327,
-0.0007533691241405904,
-0.0741998553276062,
-0.025429952889680862,
-0.01854804903268814,
0.006018847692757845,
0.0017536854138597846,
-0.00032276377896778286,
-0.03439236059784889,
0.00800471194088459,
-0.02280678041279316,
0.01572715863585472,
-0.07206487655639648,
0.07193583995103836,
-0.00022450045798905194,
-0.012805433943867683,
-0.011505831964313984,
0.008906527422368526,
0.06821558624505997,
0.04238671436905861,
-0.0255935937166214,
0.07858361303806305,
-0.03359444439411163,
0.029480857774615288,
-0.010422020219266415,
0.045735038816928864,
-0.009275421500205994,
-0.07041040807962418,
-0.011068710125982761,
0.06329895555973053,
-0.02625482715666294,
0.01172375027090311,
-0.008405148051679134,
-0.04198586568236351,
0.003960954491049051,
0.012494773603975773,
0.0456947423517704,
0.010703245177865028,
0.013396721333265305,
-0.04657440632581711,
0.013847354799509048,
0.0207064189016819,
0.02956717647612095,
-0.010653809644281864,
-0.012708105146884918,
-0.024150362238287926,
-0.04386209696531296,
-0.028607377782464027,
0.012960796244442463,
0.024147873744368553,
0.024124709889292717,
-0.03589562699198723,
0.028177952393889427,
0.09366313368082047,
0.06172019615769386,
-0.018825707957148552,
0.0018780232639983296,
0.03881150111556053,
0.04523039981722832,
0.020139530301094055,
0.029133545234799385,
0.03436293080449104,
0.020878061652183533,
-0.02265150286257267,
-0.019729632884263992,
0.06389310956001282,
-0.004154370632022619,
0.027690675109624863,
-0.0520332008600235,
-0.04326476529240608,
0.04297928884625435,
-0.040398970246315,
-0.012332976795732975,
0.05490155145525932,
0.08287885785102844,
0.0408644862473011,
0.02611563540995121,
0.015227759256958961,
-0.0771431177854538,
0.046619072556495667,
-0.0025723781436681747,
0.00898832269012928,
0.019922934472560883,
0.007279831916093826,
0.06401624530553818,
0.03690804913640022,
0.01558554545044899,
0.025485113263130188,
-0.07728930562734604,
-0.08182895183563232,
-0.007334399037063122,
-0.005711910780519247,
0.05757005512714386,
-0.028836457058787346,
0.01446528546512127,
0.05672011524438858,
0.012305808253586292,
0.030768003314733505,
0.0136178620159626,
0.0016214975621551275,
0.025818845257163048,
-0.050457026809453964,
-0.06883501261472702,
0.06887369602918625,
0.02885853499174118,
-0.04311559721827507,
-0.031955353915691376,
0.013378839939832687,
-0.025983359664678574,
-0.011224008165299892,
0.03812680020928383,
-0.03719433397054672,
0.03262080252170563,
0.02204016037285328,
0.0550902895629406,
-0.01996847800910473,
0.023875033482909203,
-0.0326327420771122,
0.02766563929617405,
0.003572009736672044,
-0.015379898250102997,
0.019680285826325417,
0.00034452552790753543,
0.10791837424039841,
0.06725013256072998,
-0.044810447841882706,
-0.065099336206913,
0.05074336752295494,
0.020241577178239822,
-0.016672126948833466,
0.02005186676979065,
0.0019377655116841197,
-0.013340126723051071,
-0.018805813044309616,
-0.047194838523864746,
-0.03183472901582718,
0.01853306032717228,
-0.050607435405254364,
-0.001354855834506452,
0.05536552518606186,
-0.03067849762737751,
0.06724268198013306,
-0.01953582465648651,
0.01649239845573902,
-0.00901555735617876,
-0.022518878802657127,
-0.051976513117551804,
0.03715147450566292,
0.015660282224416733,
0.0013568688882514834,
0.0613018237054348,
-0.02801787480711937,
0.0006185289239510894,
-0.02350037358701229,
0.00018575217109173536,
0.04232833534479141,
0.044545017182826996,
0.05300084874033928,
-0.007687035948038101,
0.06064339354634285,
-0.03783724829554558,
0.017507405951619148,
0.0002308766561327502,
-0.04574889317154884,
-0.057920221239328384,
-0.04511468857526779,
0.00847406405955553,
0.006042701657861471,
0.03529001399874687,
-0.014689741656184196,
0.013286013156175613,
0.004944279789924622,
0.025149954482913017,
-0.00576698686927557,
0.030833305791020393,
-0.010971932671964169,
0.017344452440738678,
-0.04081323742866516,
-0.021025491878390312,
0.07241751998662949,
-0.033904507756233215,
-0.034819476306438446,
-0.0042334506288170815,
-0.06784798949956894,
0.066424660384655,
-0.07182203233242035,
-0.051944319158792496,
0.01699109561741352,
0.03776876628398895,
0.04074806347489357,
0.0407794751226902,
0.00048045063158497214,
0.0695580393075943,
0.01889643631875515,
0.00993465818464756,
0.013478189706802368,
-0.007052214350551367,
0.05602168291807175,
-0.004275005776435137,
0.02572185918688774,
0.04235336557030678,
-0.01687890663743019,
-0.000834133941680193,
-0.03886737301945686,
0.03235238417983055,
-0.028804682195186615,
-0.2955115735530853,
0.040522944182157516,
-0.001108011114411056,
-0.0499514602124691,
-0.0016668630996719003,
-0.05586192384362221,
0.006068789400160313,
-0.012588449753820896,
-0.030314188450574875,
0.005187904927879572,
-0.008866198360919952,
-0.030816636979579926,
-0.010843897238373756,
0.034948136657476425,
0.01871391199529171,
0.02456972375512123,
0.013017471879720688,
-0.054260436445474625,
0.01387542113661766,
0.0435502715408802,
-0.019531922414898872,
-0.05559391528367996,
-0.015857867896556854,
0.020924784243106842,
0.036722999066114426,
0.03555641695857048,
-0.0826837569475174,
0.0345429927110672,
-0.07027770578861237,
-0.011418609879910946,
-0.005506420042365789,
-0.010335579514503479,
-0.01938512921333313,
-0.0028576639015227556,
-0.012979559600353241,
-0.029643436893820763,
0.03928937390446663,
0.014528324827551842,
0.0007997938082553446,
0.029559940099716187,
-0.01868612691760063,
-0.047136690467596054,
-0.012803671881556511,
0.012365663424134254,
0.07620138674974442,
0.011465235613286495,
-0.09993971139192581,
-0.000351269991369918,
-0.032323699444532394,
0.07258144021034241,
-0.01707703061401844,
-0.039636436849832535,
-0.020755255594849586,
0.03372999653220177,
-0.015331117436289787,
-0.026256009936332703,
-0.02649874798953533,
-0.00854529533535242,
-0.03852306678891182,
-0.0130689712241292,
-0.04464986175298691,
-0.047358717769384384,
0.005855794530361891,
-0.04305536299943924,
-0.0174778513610363,
-0.054173462092876434,
-0.10626223683357239,
-0.03343360126018524,
0.07735097408294678,
-0.014424143359065056,
-0.02110978774726391,
0.03194264695048332,
-0.016971036791801453,
-0.1032571867108345,
-0.02954591065645218,
-0.024504387751221657,
-0.006486681755632162,
0.019333982840180397,
0.004207444377243519,
0.057850178331136703,
-0.02965768240392208,
-0.05913766473531723,
0.014289085753262043,
0.001853858819231391,
0.013995886780321598,
-0.013038103468716145,
0.03140419349074364,
0.025997107848525047,
-0.029856720939278603,
0.025140203535556793,
0.07577873021364212,
-0.002094453200697899,
-0.042335763573646545,
-0.020280906930565834,
0.021616188809275627,
0.003947902470827103,
0.005221653264015913,
-0.025585850700736046,
-0.004445536062121391,
0.04728848114609718,
0.034669920802116394,
-0.057609934359788895,
0.017248740419745445,
-0.002313928445801139,
-0.028984978795051575,
-0.0025376901030540466,
-0.0463528074324131,
0.01692051626741886,
0.04470806196331978,
0.0047681028954684734,
-0.0019510952988639474,
-0.035850346088409424,
0.025115851312875748,
-0.03335259109735489,
-0.023473069071769714,
-0.0056870002299547195,
0.0025153046008199453,
0.026055794209241867,
0.03213249519467354,
-0.01273070927709341,
-0.020832132548093796,
0.0399884358048439,
0.01602720469236374,
0.009381367824971676,
-0.07282748818397522,
-0.009184712544083595,
-0.04094170033931732,
-0.03708132356405258,
0.013976291753351688,
0.005592685658484697,
-0.018671665340662003,
0.032294366508722305,
0.017375802621245384,
-0.051855217665433884,
0.040906187146902084,
-0.004630501847714186,
-0.054788511246442795,
-0.022040465846657753,
0.0009996438166126609,
-0.012862061150372028,
-0.01214391365647316,
0.014155132696032524,
-0.011137639172375202,
0.03376063331961632,
0.0400882363319397,
0.01643098145723343,
0.011844323016703129,
-0.015045206993818283,
0.020345885306596756,
-0.005293440539389849,
0.005900139454752207,
-0.04300423711538315,
0.005946303717792034,
-0.02615920640528202,
-0.01858350820839405,
-0.031110575422644615,
0.04338317736983299,
-0.010885429568588734,
-0.05134343355894089,
-0.02228752337396145,
0.010952807031571865,
-0.06578197330236435,
-0.024738524109125137,
-0.008663462474942207,
0.03286981210112572,
0.04329480230808258,
-0.037935771048069,
0.0051825568079948425,
-0.003953211009502411,
-0.013919194228947163,
0.025747908279299736,
0.028034424409270287,
-0.036472421139478683,
-0.0071707493625581264,
0.009032605215907097,
0.01059185341000557,
-0.005279308184981346,
0.016922520473599434,
0.0375312976539135,
0.00987139344215393,
-0.011318699456751347,
-0.004195746500045061,
0.006049544550478458,
0.009328043088316917,
0.0576150007545948,
0.04674585163593292,
-0.017672760412096977,
-0.00903776939958334,
-0.008751445449888706,
0.004981814883649349,
-0.03545624390244484,
0.004450905602425337,
-0.01802796684205532,
0.00990042183548212,
-0.03340392932295799,
-0.05734356865286827,
0.04516579210758209,
-0.0031709519680589437,
-0.0018885742174461484,
0.02822546660900116,
0.0008979760459624231,
0.005302692297846079,
-0.023862449452280998,
0.028977589681744576,
0.06774891167879105,
-0.07466121017932892,
0.010245922952890396,
-0.006194073706865311,
-0.03422308340668678,
0.015094947069883347,
0.009313978254795074,
-0.05404413118958473,
-0.036478038877248764,
-0.02934260480105877,
0.01912258006632328,
-0.06417912989854813,
-0.05671005696058273,
-0.018574612215161324,
0.0030851319897919893,
0.00020853160822298378,
-0.00680866464972496,
-0.01604278013110161,
-0.011863596737384796,
-0.011895065195858479,
-0.024009112268686295,
0.04970727860927582,
-0.041176263242959976,
0.004369988106191158,
0.0025152505841106176,
-0.03460448607802391,
-0.0035463408567011356,
-0.011202692054212093,
0.023008964955806732,
0.01666679047048092,
-0.044047385454177856,
0.012448456138372421,
-0.046330880373716354,
0.009245678782463074,
-0.0015668137930333614,
0.04003509134054184,
-0.014618237502872944,
-0.014111640863120556,
-0.04694391041994095,
-0.01349139679223299,
-0.03194396197795868,
-0.00038112959009595215,
-0.0030231771524995565,
-0.021102482452988625,
0.005901211407035589,
0.04002464562654495,
0.01643824577331543,
0.01850038208067417,
-0.022802891209721565,
-0.005920520517975092,
0.04874018207192421,
-0.044403400272130966,
-0.03637247160077095,
-0.030602524057030678,
-0.05017323046922684,
0.01213771477341652,
0.008831164799630642,
0.013277226127684116,
0.002717074705287814,
0.03267673775553703,
0.044209327548742294,
0.029851485043764114,
0.014512281864881516,
-0.009756510145962238,
0.02924972213804722,
-0.03945867344737053,
-0.0024128356017172337,
-0.08473363518714905,
0.006572439800947905,
0.03616713732481003,
0.023379972204566002,
0.00814389530569315,
-0.009234902448952198,
-0.049271777272224426,
0.010826927609741688,
-0.06682160496711731,
-0.027762355282902718,
0.020038826391100883,
-0.010945023968815804,
0.027923500165343285,
0.008026855066418648,
-0.07055122405290604,
0.021533265709877014,
0.018849162384867668,
-0.04983140900731087,
-0.04231013357639313,
-0.03772871568799019,
0.059971366077661514,
-0.0063978685066103935,
0.02875019982457161,
-0.029228094965219498,
-0.026421038433909416,
0.06761031597852707,
0.010989482514560223,
0.022635454311966896,
0.05660809203982353,
-0.016468582674860954,
0.034550853073596954,
0.04682533070445061,
0.01862044259905815,
-0.015235698781907558,
0.03405829146504402,
0.004620703402906656,
-0.05947747454047203,
0.03405671566724777,
0.00949353538453579,
-0.026603225618600845,
-0.05844926834106445,
0.06478509306907654,
0.022171281278133392,
-0.016340631991624832,
-0.04684386029839516,
0.04039119929075241,
-0.03451862558722496,
0.008059605024755001,
-0.042144302278757095,
0.00019730684289243072,
-0.046006955206394196,
0.038810133934020996,
-0.012127618305385113,
0.009981623850762844,
0.06359710544347763,
-0.012841242365539074,
-0.006683596409857273,
0.010869182646274567,
0.08595892041921616,
0.08656984567642212,
0.08250845968723297,
0.01103482861071825,
0.06962386518716812,
-0.010514918714761734,
-0.03557839244604111,
0.003520250553265214,
-0.005657091736793518,
-0.04568803310394287,
0.007270291447639465,
0.009146120399236679,
0.03612827509641647,
-0.032570626586675644,
0.07582905888557434,
-0.009712801314890385,
-0.00909889955073595,
0.00004534891922958195,
0.0010585639392957091,
0.017627205699682236,
0.08248072862625122,
0.021310340613126755,
0.029126649722456932,
-0.03780493140220642,
-0.019436724483966827,
0.011105645447969437,
-0.014440064318478107,
-0.01846005953848362,
0.04575011879205704,
-0.00629580719396472,
0.0064038303680717945,
0.024269483983516693,
0.03610067814588547,
0.08223747462034225,
-0.04811645299196243,
-0.0032409687992185354,
-0.005720925983041525,
0.021030571311712265,
-0.0181573573499918,
0.00904756784439087,
0.0028408069629222155,
-0.007945943623781204,
-0.023265967145562172,
-0.019764360040426254,
-0.02396765537559986,
-0.015032337978482246,
-0.026672760024666786,
0.0366177000105381,
-0.03700031340122223,
-0.013203825801610947,
0.013654856942594051,
-0.006607117597013712,
-0.02099595218896866,
-0.04222673550248146,
-0.01732502691447735,
-0.05098666995763779,
-0.06938903033733368,
-0.0037626742850989103,
0.01062858011573553,
-0.010061266832053661,
-0.030011385679244995,
-0.015798380598425865,
-0.020656658336520195,
-0.030309665948152542,
0.05620703473687172,
-0.053750332444906235,
-0.008782717399299145,
0.004751862492412329,
0.02553260698914528,
0.020197510719299316,
0.007159668952226639,
0.05760365352034569,
0.026498885825276375,
0.01250538881868124,
-0.012642594054341316,
0.0145160723477602,
0.048938751220703125,
0.010737965814769268,
-0.02015383169054985,
-0.08070574700832367,
0.003051931271329522,
0.000187200159416534,
-0.01589483581483364,
-0.06757409125566483,
0.004663585685193539,
0.048795975744724274,
0.007872181944549084,
0.04021928459405899,
-0.0076510407961905,
-0.022919977083802223,
-0.033791206777095795,
0.01717229001224041,
-0.018989069387316704,
-0.001848746556788683,
0.02967035211622715,
-0.015190720558166504,
0.08568672835826874,
0.034064970910549164,
-0.04892638698220253,
-0.0186610147356987,
0.0034416853450238705,
0.005203047767281532,
0.00352026941254735,
-0.035428013652563095,
-0.02996932901442051,
-0.03126882016658783,
-0.09862145781517029,
-0.02230307273566723,
0.003719340544193983,
-0.021359724923968315,
-0.030123800039291382,
0.014397496357560158,
0.007714416831731796,
-0.007397789042443037,
0.028258513659238815,
-0.03893492370843887,
0.03236975148320198,
-0.021183261647820473,
-0.0011339302873238921,
-0.02319358102977276,
0.004866782110184431,
-0.01608884334564209,
-0.004920234903693199,
0.023219922557473183,
-0.04947187751531601,
0.007633972447365522,
-0.01632283814251423,
0.02249058708548546,
0.030636576935648918,
0.03103187307715416,
-0.005672164727002382
] | [
-0.03803414851427078,
-0.02107134833931923,
-0.05157021805644035,
-0.01421734131872654,
0.042264752089977264,
-0.01918506808578968,
-0.00007754938997095451,
0.03847593814134598,
0.016790010035037994,
-0.03242120146751404,
0.0329291857779026,
-0.016614343971014023,
-0.002291664481163025,
-0.004895342048257589,
0.09033594280481339,
0.0214700885117054,
0.024170685559511185,
-0.09065191447734833,
-0.0020819525234401226,
0.06163858249783516,
-0.03371615707874298,
-0.04171694070100784,
-0.003057294525206089,
-0.01822718232870102,
0.013820823282003403,
-0.0005421334062702954,
0.03372274711728096,
-0.01589580811560154,
-0.027049610391259193,
-0.19743448495864868,
0.013306953944265842,
0.019600771367549896,
0.05643000081181526,
-0.008805004879832268,
0.022734565660357475,
0.03559340164065361,
0.031390465795993805,
-0.003393551567569375,
0.0007426399388350546,
0.03157992660999298,
-0.0014825139660388231,
-0.0012590768747031689,
-0.03687738627195358,
-0.014500644989311695,
0.0456964448094368,
0.0392160639166832,
-0.018591439351439476,
-0.016942748799920082,
-0.04651113227009773,
0.004794638138264418,
-0.032454852014780045,
-0.04062628373503685,
-0.015354051254689693,
0.012429173104465008,
0.0020663251634687185,
0.04453364387154579,
0.03426532447338104,
0.05621524155139923,
0.023728838190436363,
0.01907442696392536,
0.022132746875286102,
0.009095990099012852,
-0.12189048528671265,
0.06446459889411926,
0.014219522476196289,
0.03171959146857262,
-0.040575820952653885,
-0.026107879355549812,
-0.031088490039110184,
0.07128270715475082,
0.04012615233659744,
-0.008532000705599785,
-0.0306467916816473,
0.02808678150177002,
0.00011034093768103048,
0.025723889470100403,
0.01945621706545353,
0.03398529812693596,
0.00873588491231203,
-0.04535946995019913,
-0.030035825446248055,
0.03662733733654022,
-0.03989448770880699,
-0.026403335854411125,
-0.04849140718579292,
0.032788388431072235,
0.0002661005419213325,
0.056682709604501724,
0.005073733162134886,
0.04006023705005646,
0.037067584693431854,
0.04326576739549637,
0.03272558003664017,
-0.007360208313912153,
-0.07752575725317001,
-0.03282187506556511,
-0.004032464697957039,
0.015808386728167534,
-0.014880185946822166,
0.46866098046302795,
0.02178238146007061,
-0.013629878871142864,
0.06945998966693878,
0.018244940787553787,
-0.01922629401087761,
-0.0036242457572370768,
0.0017550066113471985,
-0.05364296957850456,
0.04043952748179436,
0.0039336238987743855,
0.0057486724108457565,
-0.020256025716662407,
0.05058898776769638,
-0.08185227960348129,
0.02504703961312771,
-0.0018228411208838224,
0.04725976288318634,
0.026895999908447266,
-0.0040304106660187244,
-0.009638054296374321,
-0.035607751458883286,
0.01445519458502531,
0.03341161832213402,
-0.006738580297678709,
0.028462998569011688,
-0.01375698670744896,
0.019966138526797295,
0.049788299947977066,
0.029742203652858734,
0.015009268186986446,
0.043369896709918976,
-0.0012931178789585829,
-0.08299720287322998,
0.022165052592754364,
-0.007399827241897583,
-0.010195735841989517,
0.0042415885254740715,
-0.014018338173627853,
-0.0057726954109966755,
0.05329698324203491,
0.00293250591494143,
-0.015651455149054527,
0.017806565389037132,
-0.015915237367153168,
-0.04082368314266205,
0.12886662781238556,
-0.006827558856457472,
-0.03407980874180794,
-0.0007286972249858081,
-0.0043569207191467285,
0.008456741459667683,
0.03402334824204445,
-0.032829686999320984,
-0.07549113035202026,
0.010573351755738258,
0.02393665909767151,
0.07286643981933594,
-0.017902426421642303,
-0.08508064597845078,
0.005820651538670063,
0.015285404399037361,
-0.01824951358139515,
-0.03872817009687424,
0.05361887067556381,
0.04394584149122238,
-0.09705165028572083,
-0.01155957579612732,
0.00550328753888607,
0.024830887094140053,
-0.05592849478125572,
0.01207155454903841,
0.007836042903363705,
-0.03264487907290459,
-0.01590682938694954,
0.059555310755968094,
-0.015173939056694508,
-0.041347358375787735,
-0.01788264885544777,
0.0313224196434021,
0.011045900173485279,
0.014950122684240341,
0.019334960728883743,
-0.03243604302406311,
0.003244783729314804,
-0.07745327055454254,
-0.06406255066394806,
-0.07371517270803452,
0.011457881890237331,
-0.028355436399579048,
-0.017794176936149597,
-0.003303023288026452,
-0.02482224814593792,
-0.10754910111427307,
0.10873492807149887,
-0.05449945107102394,
-0.027080850675702095,
-0.007218276150524616,
0.011453105136752129,
-0.049410540610551834,
0.0024258429184556007,
-0.030567267909646034,
0.027836229652166367,
-0.04541439563035965,
0.021450959146022797,
-0.04581986367702484,
0.06277866661548615,
0.0736243724822998,
-0.04161325469613075,
0.11652429401874542,
0.03018871881067753,
-0.03362344577908516,
-0.007086760830134153,
-0.00956286583095789,
0.0196374598890543,
0.009288647212088108,
-0.011065921746194363,
0.012121480889618397,
-0.011378047056496143,
0.01920453831553459,
0.03661249205470085,
-0.0015040767611935735,
0.01672595553100109,
-0.046307336539030075,
-0.33632054924964905,
-0.05608725920319557,
-0.009854041039943695,
0.0045958166010677814,
0.032473474740982056,
-0.040087997913360596,
0.03933977335691452,
-0.017237093299627304,
0.0045915450900793076,
0.020832322537899017,
0.06633508205413818,
0.0008443472906947136,
-0.008302866481244564,
-0.06965552270412445,
0.014747340232133865,
0.04204262048006058,
-0.04286031052470207,
0.008726745843887329,
-0.023119108751416206,
-0.010905234143137932,
-0.007599994540214539,
-0.04031609371304512,
-0.017670786008238792,
-0.052695102989673615,
0.0117636201903224,
-0.009487246163189411,
0.09616415202617645,
0.024937845766544342,
0.01220888551324606,
-0.020885318517684937,
0.028759494423866272,
-0.01901233196258545,
-0.02844836935400963,
-0.08919285237789154,
0.013851629570126534,
0.0074940333142876625,
0.01705966517329216,
-0.03680902719497681,
-0.020912596955895424,
-0.0027752334717661142,
-0.05123577639460564,
-0.024869509041309357,
-0.06360744684934616,
-0.03216627985239029,
-0.06841649115085602,
0.030515428632497787,
-0.019867515191435814,
0.015336657874286175,
-0.04093321040272713,
0.08217120915651321,
0.018324201926589012,
0.007216485217213631,
0.010005560703575611,
0.05815080180764198,
0.01786581240594387,
-0.044663019478321075,
-0.083132304251194,
0.003272821195423603,
0.02228114753961563,
0.04626975581049919,
0.018296275287866592,
0.06887573003768921,
0.0355268269777298,
-0.08717287331819534,
-0.00419855210930109,
0.019138067960739136,
-0.05334090068936348,
0.020986702293157578,
0.030168140307068825,
-0.011465897783637047,
-0.025192704051733017,
0.11035341024398804,
-0.03644520416855812,
0.011367876082658768,
0.03303981199860573,
0.02148672193288803,
-0.03888406604528427,
0.01676192879676819,
0.011763916350901127,
0.01458634901791811,
0.040971726179122925,
-0.03564399853348732,
0.04714955389499664,
-0.022870521992444992,
-0.03773104026913643,
0.03793979063630104,
-0.011567539535462856,
-0.06282767653465271,
0.05321379005908966,
0.016853487119078636,
-0.014432469382882118,
0.02347571961581707,
-0.0366847962141037,
-0.05583736672997475,
0.04742182046175003,
-0.0292354766279459,
-0.2422890067100525,
0.0027703638188540936,
0.03309372812509537,
0.07984843850135803,
0.0016198616940528154,
0.02449735999107361,
0.006870887707918882,
-0.01218612864613533,
-0.013983371667563915,
-0.002277324441820383,
0.029480235651135445,
0.08017357438802719,
-0.016349097713828087,
-0.01208485383540392,
-0.0011560545535758138,
-0.013265457935631275,
-0.0009319638484157622,
-0.007080358918756247,
0.010480834171175957,
0.0008970774943009019,
0.023537926375865936,
-0.04281938448548317,
0.1599225103855133,
0.03593132272362709,
-0.0038118907250463963,
0.0033640877809375525,
-0.01608779840171337,
0.016956454142928123,
0.00798115599900484,
-0.02486666664481163,
-0.030690981075167656,
0.029591452330350876,
-0.0010530363069847226,
0.02409638650715351,
0.007619028445333242,
-0.07714132964611053,
-0.02000502124428749,
0.010329126380383968,
0.037869032472372055,
-0.0166646558791399,
0.032848283648490906,
0.014040233567357063,
-0.0176796056330204,
0.041634686291217804,
0.058572232723236084,
-0.023603152483701706,
0.012753359042108059,
-0.03182213753461838,
-0.054282501339912415,
-0.015567921102046967,
-0.02555164322257042,
-0.04618959128856659,
-0.02390468120574951,
0.014345371164381504,
-0.004716724622994661,
0.06923927366733551,
0.014118680730462074,
-0.01869821548461914,
0.061811525374650955,
-0.004470569081604481,
-0.0343092642724514,
-0.02397345006465912,
0.09137694537639618,
-0.006060656160116196,
0.027049295604228973
] | [
0.03342379257082939,
0.023260226473212242,
0.010067561641335487,
-0.0010608455631881952,
-0.0023433035239577293,
-0.008803926408290863,
-0.001268056919798255,
-0.0019927171524614096,
-0.014478771947324276,
-0.040141649544239044,
-0.02098427340388298,
0.0207756869494915,
0.05294731259346008,
-0.0016640262911096215,
0.0004412938724271953,
0.028382938355207443,
0.014902709051966667,
0.023542143404483795,
0.017151376232504845,
-0.02980233170092106,
-0.025265099480748177,
-0.035962771624326706,
0.02732844650745392,
-0.0003306817961856723,
-0.030201591551303864,
0.022327551618218422,
-0.01526520773768425,
-0.0372929647564888,
0.028785720467567444,
-0.1382603645324707,
-0.002288011135533452,
-0.019595833495259285,
0.017071347683668137,
-0.011897636577486992,
-0.004723552148789167,
-0.011362477205693722,
0.038604043424129486,
0.017761852592229843,
0.01913991943001747,
0.0013660169206559658,
0.04494720324873924,
-0.017365334555506706,
-0.034876421093940735,
0.009425422176718712,
0.0054273419082164764,
-0.03341754153370857,
-0.02901316061615944,
-0.026344723999500275,
0.03827166557312012,
-0.03979993611574173,
-0.02896856889128685,
-0.02000410109758377,
-0.012823526747524738,
0.02940216474235058,
-0.03798704221844673,
-0.015111505053937435,
0.007853342220187187,
0.00017844011017587036,
0.03340117633342743,
0.039707571268081665,
0.0442841574549675,
-0.058934569358825684,
-0.030585767701268196,
-0.01913193054497242,
0.0018709554569795728,
0.016017787158489227,
-0.007491432595998049,
-0.0004128411237616092,
-0.054409824311733246,
0.01678433082997799,
-0.01643151044845581,
0.0659579336643219,
-0.06021612882614136,
-0.02669588290154934,
-0.017222315073013306,
0.003640978131443262,
0.023453818634152412,
-0.048998262733221054,
0.013758115470409393,
0.04569399356842041,
-0.02239706926047802,
0.046727798879146576,
-0.01785626821219921,
-0.04444284737110138,
-0.015638533979654312,
-0.0038770113606005907,
-0.01061082724481821,
-0.03807400166988373,
-0.001144210109487176,
0.027829812839627266,
-0.04105077683925629,
0.015897197648882866,
-0.014080196619033813,
-0.017493227496743202,
-0.08374490588903427,
-0.02613260969519615,
0.0008800361538305879,
-0.02220754139125347,
0.020640792325139046,
0.8396572470664978,
0.001485380344092846,
-0.03262632340192795,
0.0005471665062941611,
-0.016127239912748337,
-0.00775372888892889,
0.0007107143756002188,
-0.018567144870758057,
0.038954317569732666,
-0.011179600842297077,
0.027188213542103767,
-0.05401327461004257,
0.005800546612590551,
-0.009998560883104801,
0.055213812738657,
0.011247080750763416,
-0.014118332415819168,
0.008460741490125656,
-0.00731582660228014,
-0.021526163443922997,
0.012354811653494835,
0.011853368021547794,
0.04958992823958397,
0.036346666514873505,
-0.0313478522002697,
0.034045737236738205,
-0.1028362363576889,
-0.02206425741314888,
-7.290496779036446e-33,
0.033773720264434814,
0.012010895647108555,
0.06187831610441208,
0.015907838940620422,
-0.030351370573043823,
0.030679743736982346,
0.03541380539536476,
-0.015286780893802643,
-0.018591463565826416,
-0.031340327113866806,
0.008728466928005219,
-0.01726364530622959,
-0.014031403698027134,
-0.004724917467683554,
0.03182324767112732,
-0.04009513929486275,
0.014037422835826874,
0.0033319590147584677,
-0.0053772530518472195,
-0.01778700016438961,
0.007948468439280987,
0.05388171970844269,
-0.05083955079317093,
0.054364871233701706,
0.017543956637382507,
0.0016181509708985686,
0.005326671991497278,
0.01698279194533825,
-0.005342036951333284,
-0.033250097185373306,
-0.017880460247397423,
0.029364952817559242,
-0.017498264089226723,
-0.029714588075876236,
-0.0017658190336078405,
-0.05299685522913933,
-0.040403708815574646,
0.010364976711571217,
0.008750404231250286,
-0.06465764343738556,
-0.04065840691328049,
-0.00770922563970089,
-0.016984112560749054,
-0.021194230765104294,
-0.027157971635460854,
0.024256104603409767,
-0.01979195326566696,
-0.0008327515097334981,
0.007515118923038244,
-0.007544228341430426,
-0.03203098848462105,
0.0350944884121418,
0.03324965387582779,
0.013145484030246735,
-0.01390996016561985,
-0.05267797410488129,
0.012483078986406326,
-0.04864999279379845,
-0.0018487329361960292,
-0.013447008095681667,
0.008467180654406548,
0.01841839775443077,
-0.014420267194509506,
0.019927043467760086,
0.003417190397158265,
0.018209639936685562,
0.006817522458732128,
-0.015442037023603916,
-0.007439418695867062,
0.04901372268795967,
-0.011725649237632751,
0.02043374441564083,
0.0037657904904335737,
-0.0009678528876975179,
0.011134217493236065,
-0.02809615060687065,
-0.022778844460844994,
0.027464088052511215,
0.01067050639539957,
0.03678041696548462,
-0.015894915908575058,
0.012413371354341507,
0.013087806291878223,
-0.015152924694120884,
-0.001839660806581378,
-0.021256225183606148,
0.016322659328579903,
0.03109351545572281,
0.02386295050382614,
0.042176201939582825,
0.014066793955862522,
0.03441181406378746,
-0.016421204432845116,
0.03151456266641617,
-0.030717656016349792,
7.31126335611166e-33,
-0.00036342517705634236,
0.00033798679942265153,
-0.0160045325756073,
0.026059404015541077,
0.0159453172236681,
0.022793352603912354,
-0.002519025932997465,
0.003902904922142625,
-0.05020582303404808,
0.046028342097997665,
0.025641975924372673,
-0.009697764180600643,
-0.015609477646648884,
0.03525961935520172,
0.047544125467538834,
0.004816292319446802,
0.022433210164308548,
-0.06351927667856216,
0.007468119263648987,
0.019057506695389748,
0.011183206923305988,
0.0027948711067438126,
-0.014166682958602905,
0.030853964388370514,
0.012752597220242023,
0.018735989928245544,
0.03186804801225662,
0.00796771701425314,
0.018604110926389694,
-0.007642029318958521,
-0.018668875098228455,
-0.030780276283621788,
0.006725612562149763,
0.003499426180496812,
-0.01606610417366028,
-0.011115934699773788,
-0.016022996976971626,
-0.013175291009247303,
0.030781371518969536,
-0.027012940496206284,
0.020250745117664337,
0.018237367272377014,
-0.008142700418829918,
0.07911058515310287,
-0.008395494893193245,
-0.013630816712975502,
0.03583817556500435,
-0.040734607726335526,
0.010770335793495178,
0.009517795406281948,
-0.009622698649764061,
0.03387189656496048,
0.029622050002217293,
0.028369853273034096,
-0.008377407677471638,
-0.05913746729493141,
-0.00652239378541708,
-0.008741086348891258,
-0.011152172461152077,
0.01769845373928547,
-0.04915419965982437,
-0.021396515890955925,
0.011796296574175358,
-0.01570533961057663,
-0.02476349100470543,
-0.036057692021131516,
0.012799476273357868,
0.008690517395734787,
-0.005507149267941713,
-0.028847433626651764,
0.020679011940956116,
-0.004985795356333256,
-0.0108100064098835,
0.014546012505888939,
0.028790496289730072,
-0.02171194553375244,
-0.04406753182411194,
0.007571977563202381,
-0.0570107139647007,
-0.0034133659210056067,
0.008332738652825356,
0.01944912225008011,
0.013929218053817749,
-0.007160333450883627,
0.027420958504080772,
0.013285080902278423,
-0.002906620968133211,
0.026132697239518166,
-0.01173485442996025,
-0.006966257002204657,
0.017066635191440582,
0.023581400513648987,
-0.013934608548879623,
0.056383050978183746,
-0.015155164524912834,
-1.2935036153294277e-8,
-0.013081200420856476,
-0.011700392700731754,
0.017279870808124542,
-0.00485795084387064,
0.0030324251856654882,
-0.02071407064795494,
-0.012034584768116474,
-0.000015824445654288866,
-0.025509309023618698,
0.024524139240384102,
0.03168980032205582,
-0.015436855144798756,
-0.014567513018846512,
0.013492511585354805,
0.03036203607916832,
-0.03435496985912323,
-0.039416950196027756,
-0.010754126124083996,
0.040648024529218674,
0.0016217941883951426,
0.01413408201187849,
0.05853825435042381,
-0.0057070194743573666,
0.021708257496356964,
0.028300652280449867,
-0.013869556598365307,
0.007255354430526495,
-0.0648508071899414,
-0.010018632747232914,
-0.020466430112719536,
-0.012530572712421417,
-0.0029666742775589228,
-0.04275819659233093,
0.003119200933724642,
-0.014954197220504284,
-0.045691244304180145,
0.02207811176776886,
0.021924901753664017,
-0.012324242852628231,
0.02581120654940605,
-0.02081351913511753,
0.02351861260831356,
-0.014359080232679844,
-0.031779974699020386,
-0.021974796429276466,
0.029984448105096817,
-0.03814750909805298,
-0.02452809177339077,
0.05066661909222603,
-0.023327358067035675,
-0.022029181942343712,
0.006815332919359207,
-0.0019059103215113282,
0.06132175028324127,
0.0025712146889418364,
-0.01863795705139637,
0.030774664133787155,
-0.005554690025746822,
0.00291458866558969,
-0.016449132934212685,
0.03434259817004204,
0.006416112184524536,
-0.01375153474509716,
-0.0012066439958289266
] | 4-types-of-user | https://markhneedham.com/blog/2014/07/29/4-types-of-user |
false | 2014-07-16 05:04:46 | R: Apply a custom function across multiple lists | [
"r-2"
] | [
"R"
] | In my continued playing around with http://www.r-project.org/[R] I wanted to map a custom function over two lists comparing each item with its corresponding items.
If we just want to use a built in function such as subtraction between two lists it's quite easy to do:
[source,r]
----
> c(10,9,8,7,6,5,4,3,2,1) - c(5,4,3,4,3,2,2,1,2,1)
[1] 5 5 5 3 3 3 2 2 0 0
----
I wanted to do a slight variation on that where instead of returning the difference I wanted to return a text value representing the difference e.g. '5 or more', '3 to 5' etc.
I spent a long time trying to figure out how to do that before finding http://nsaunders.wordpress.com/2010/08/20/a-brief-introduction-to-apply-in-r/[an excellent blog post which describes all the different 'apply' functions available in R].
As far as I understand 'apply' is the equivalent of 'map' in Clojure or other functional languages.
In this case we want the +++<cite>+++http://stat.ethz.ch/R-manual/R-patched/library/base/html/mapply.html[mapply]+++</cite>+++ variant which we can use like so:
[source,r]
----
> mapply(function(x, y) {
if((x-y) >= 5) {
"5 or more"
} else if((x-y) >= 3) {
"3 to 5"
} else {
"less than 5"
}
}, c(10,9,8,7,6,5,4,3,2,1),c(5,4,3,4,3,2,2,1,2,1))
[1] "5 or more" "5 or more" "5 or more" "3 to 5" "3 to 5" "3 to 5" "less than 5"
[8] "less than 5" "less than 5" "less than 5"
----
We could then pull that out into a function if we wanted:
[source,r]
----
summarisedDifference <- function(one, two) {
mapply(function(x, y) {
if((x-y) >= 5) {
"5 or more"
} else if((x-y) >= 3) {
"3 to 5"
} else {
"less than 5"
}
}, one, two)
}
----
which we could call like so:
[source,r]
----
> summarisedDifference(c(10,9,8,7,6,5,4,3,2,1),c(5,4,3,4,3,2,2,1,2,1))
[1] "5 or more" "5 or more" "5 or more" "3 to 5" "3 to 5" "3 to 5" "less than 5"
[8] "less than 5" "less than 5" "less than 5"
----
I also wanted to be able to compare a list of items to a single item which was much easier than I expected:
[source,r]
----
> summarisedDifference(c(10,9,8,7,6,5,4,3,2,1), 1)
[1] "5 or more" "5 or more" "5 or more" "5 or more" "5 or more" "3 to 5" "3 to 5"
[8] "less than 5" "less than 5" "less than 5"
----
If we wanted to get a summary of the differences between the lists we could plug them into ddply like so:
[source,r]
----
> library(plyr)
> df = data.frame(x=c(10,9,8,7,6,5,4,3,2,1), y=c(5,4,3,4,3,2,2,1,2,1))
> ddply(df, .(difference=summarisedDifference(x,y)), summarise, count=length(x))
difference count
1 3 to 5 3
2 5 or more 3
3 less than 5 4
---- | null | null | [
0.02157227322459221,
-0.020814359188079834,
0.019363129511475563,
0.009437104687094688,
0.08937438577413559,
0.05248080939054489,
0.018308905884623528,
-0.02100764587521553,
0.005150134209543467,
-0.01126897893846035,
0.016822997480630875,
0.009339779615402222,
-0.052043404430150986,
0.014184180647134781,
-0.013353773392736912,
0.07387054711580276,
0.07266075909137726,
-0.026240896433591843,
0.019500549882650375,
0.017382174730300903,
0.05294165760278702,
0.06986811012029648,
-0.007581803016364574,
0.013991624116897583,
0.025016620755195618,
0.01927001029253006,
0.039410315454006195,
0.005501383915543556,
-0.05931644141674042,
-0.003124179784208536,
0.06113635003566742,
0.04616539180278778,
-0.018344301730394363,
-0.022268816828727722,
0.017306482419371605,
-0.01122885849326849,
-0.0024761406239122152,
-0.016608377918601036,
-0.010874821804463863,
-0.016390640288591385,
-0.0512467697262764,
0.013437097892165184,
-0.02461654506623745,
0.013525175862014294,
-0.013074907474219799,
0.02042507193982601,
-0.06685623526573181,
0.014262763783335686,
-0.02118416503071785,
0.005610831547528505,
-0.05237907916307449,
0.045379914343357086,
0.0107535095885396,
-0.03166220337152481,
-0.025912949815392494,
0.047879658639431,
0.005680673755705357,
-0.07618020474910736,
0.03073674812912941,
-0.0211754459887743,
-0.012879626825451851,
0.01547091081738472,
0.01079222746193409,
0.03753107786178589,
-0.008436756208539009,
-0.012882786802947521,
-0.04361352324485779,
0.03891453519463539,
-0.05054586008191109,
-0.018284302204847336,
-0.036675531417131424,
-0.02140670083463192,
-0.01404763013124466,
-0.031040415167808533,
-0.005127476993948221,
-0.018953552469611168,
-0.009656253270804882,
0.06457959115505219,
-0.002980549121275544,
0.015700869262218475,
-0.022203590720891953,
0.01346303429454565,
0.02250492200255394,
0.012090109288692474,
0.027612263336777687,
-0.01830201782286167,
-0.03577612712979317,
-0.012975743040442467,
-0.03957424312829971,
0.043516695499420166,
0.00315908994525671,
-0.056879349052906036,
0.011422748677432537,
0.02736879698932171,
0.03161080926656723,
-0.011273698881268501,
-0.02176312543451786,
-0.016904016956686974,
-0.007329792715609074,
0.008284264244139194,
-0.0649033710360527,
-0.0315333791077137,
0.03746865689754486,
-0.021747982129454613,
-0.0795469805598259,
-0.007567035965621471,
-0.003596219001337886,
-0.01564601995050907,
0.009397719986736774,
0.021006444469094276,
-0.02109813690185547,
0.02547861635684967,
-0.008761677891016006,
0.007278850302100182,
-0.05638410896062851,
0.05083880573511124,
0.006077882368117571,
0.0000965522340266034,
-0.019682133570313454,
0.005987188313156366,
0.03852838650345802,
0.029232140630483627,
0.0004761582531500608,
0.07772380113601685,
0.027918390929698944,
0.04199463874101639,
0.026621932163834572,
0.04441527649760246,
-0.005912989377975464,
-0.048554301261901855,
-0.003731129225343466,
0.05013017728924751,
-0.029841262847185135,
0.000822479254566133,
-0.0023132427595555782,
-0.038634203374385834,
-0.03202270343899727,
-0.012630697339773178,
0.06814872473478317,
0.0383262000977993,
0.035904500633478165,
-0.0046707140281796455,
0.027205966413021088,
-0.04687804356217384,
0.05830543115735054,
-0.0015063669998198748,
-0.006007255055010319,
-0.02027534320950508,
-0.0395481176674366,
0.009110050275921822,
0.016409067437052727,
0.018440403044223785,
0.05125686898827553,
-0.0011731827398762107,
0.032863982021808624,
0.07650693506002426,
0.00434581283479929,
0.015330085530877113,
-0.00132103415671736,
-0.007685933727771044,
0.014106975868344307,
0.024796534329652786,
0.002191689098253846,
0.05648232623934746,
-0.022000810131430626,
-0.022931206971406937,
-0.016258379444479942,
0.07626836001873016,
-0.003283851081505418,
-0.043226804584264755,
-0.04813987761735916,
-0.07746240496635437,
0.08416518568992615,
-0.018261779099702835,
0.018054107204079628,
-0.003070476930588484,
0.10068392008543015,
0.03798721730709076,
0.055756598711013794,
0.010006110183894634,
-0.06727225333452225,
0.06824374198913574,
0.03220648691058159,
0.020844489336013794,
0.02567511424422264,
-0.02552465908229351,
0.07983469218015671,
0.01852566935122013,
0.011344490572810173,
0.050961412489414215,
-0.06210735812783241,
-0.0762314647436142,
-0.016468720510601997,
-0.022949954494833946,
0.054777905344963074,
-0.02093525230884552,
-0.05962001904845238,
0.07650315016508102,
0.007667511235922575,
0.013019131496548653,
-0.013356402516365051,
0.009083274751901627,
0.0288389939814806,
-0.007446540519595146,
-0.03369536250829697,
-0.0012116472935304046,
0.015580111183226109,
-0.013640079647302628,
-0.025695638731122017,
0.017853396013379097,
0.005265703424811363,
0.035380810499191284,
0.014190757647156715,
-0.042770013213157654,
0.0526081882417202,
0.05371028557419777,
0.04456682130694389,
-0.009493966586887836,
0.04238731786608696,
-0.034722890704870224,
0.017860399559140205,
-0.0034362757578492165,
0.002246607793495059,
-0.004470445681363344,
0.0013464728835970163,
0.13984929025173187,
0.07056303322315216,
-0.02298593707382679,
-0.06188324838876724,
0.013124153017997742,
-0.04026762396097183,
-0.029886621981859207,
0.012740610167384148,
0.0020323912613093853,
0.00823215488344431,
0.019137198105454445,
-0.0016355268890038133,
-0.00009303329716203734,
-0.008927327580749989,
-0.034333739429712296,
-0.03965494781732559,
0.08989201486110687,
-0.009626885876059532,
0.04887451231479645,
-0.005406114738434553,
-0.01424331683665514,
-0.025087624788284302,
-0.03761798143386841,
-0.053465552628040314,
0.003946323879063129,
0.017307667061686516,
-0.003340254770591855,
0.07515576481819153,
-0.03513392433524132,
0.01542574167251587,
-0.02359873615205288,
-0.024985220283269882,
0.040108196437358856,
0.064190573990345,
0.06053270772099495,
-0.02635912410914898,
0.051091376692056656,
-0.005190946627408266,
0.018320709466934204,
-0.01842903159558773,
-0.046028021723032,
-0.04738948121666908,
-0.029669584706425667,
-0.004541088826954365,
0.020806998014450073,
0.019120998680591583,
-0.0007271741051226854,
0.005479501560330391,
-0.010172157548367977,
0.0016940563218668103,
-0.049714021384716034,
0.017622612416744232,
-0.004303773865103722,
-0.03900351747870445,
-0.05053891986608505,
-0.0025493905413895845,
0.05582069233059883,
0.0038281017914414406,
-0.030831487849354744,
-0.016381995752453804,
-0.037653520703315735,
0.03880910947918892,
-0.06528887152671814,
-0.019889939576387405,
0.009284465573728085,
0.02629493921995163,
0.04125971347093582,
-0.0018517287680879235,
0.024786660447716713,
0.055739108473062515,
0.020662855356931686,
0.008442146703600883,
0.028017420321702957,
-0.002748640952631831,
0.035767871886491776,
-0.004196742083877325,
0.035051099956035614,
0.03953737020492554,
0.006264972034841776,
-0.012090873904526234,
-0.04459167271852493,
-0.014680907130241394,
-0.019082624465227127,
-0.2664445638656616,
0.03239457309246063,
-0.015131514519453049,
-0.005311521235853434,
0.01677243411540985,
-0.06919720768928528,
-0.0005622933385893703,
-0.04421495273709297,
0.012610333040356636,
0.017663711681962013,
0.003929740749299526,
-0.012359188869595528,
-0.0723256766796112,
0.060464899986982346,
0.013505861163139343,
-0.0009772349148988724,
-0.00818824116140604,
-0.026706838980317116,
-0.023176919668912888,
0.05298062041401863,
0.027759315446019173,
-0.061450690031051636,
0.03815082833170891,
0.007590006105601788,
0.03584354370832443,
0.055568259209394455,
-0.06830362230539322,
0.040970999747514725,
-0.06568074226379395,
-0.04563455283641815,
-0.0011934563517570496,
-0.0040391054935753345,
0.010915754362940788,
-0.0015345104038715363,
0.003971564583480358,
-0.008068128488957882,
0.026484085246920586,
0.030979499220848083,
0.044427476823329926,
0.028267083689570427,
-0.033930789679288864,
-0.019892819225788116,
0.03533771634101868,
-0.02646549791097641,
0.052532438188791275,
-0.013568304479122162,
-0.07034819573163986,
0.01945628970861435,
-0.0481177493929863,
0.08678015321493149,
0.003621339099481702,
-0.04585500434041023,
-0.00748360576108098,
0.04842742159962654,
-0.01560945250093937,
-0.042350705713033676,
-0.026886580511927605,
-0.011088642291724682,
-0.01637248881161213,
-0.043524857610464096,
-0.002464094664901495,
-0.0342782586812973,
-0.02589835599064827,
-0.015341629274189472,
-0.00571441650390625,
-0.057384733110666275,
-0.10096178203821182,
-0.03876364976167679,
0.0578761100769043,
0.03118019364774227,
-0.029424190521240234,
-0.03328331932425499,
-0.040141746401786804,
-0.10699355602264404,
-0.039429813623428345,
-0.055044662207365036,
-0.039893630892038345,
-0.025080779567360878,
0.0335860550403595,
0.05203323811292648,
-0.05082811415195465,
-0.060687482357025146,
0.015317383222281933,
0.014433245174586773,
0.021457817405462265,
0.006277730688452721,
-0.02583826333284378,
-0.008427184075117111,
-0.016790980473160744,
-0.014037418179214,
0.03961598128080368,
-0.04101569950580597,
-0.044953905045986176,
-0.011212353594601154,
0.002553798258304596,
0.006022854708135128,
0.029006052762269974,
0.004197872709482908,
0.024422965943813324,
0.02342286892235279,
0.016493551433086395,
-0.0424513965845108,
0.03938911482691765,
-0.041575003415346146,
-0.012942320667207241,
-0.0029508539009839296,
-0.05659957602620125,
0.018806934356689453,
0.013541940599679947,
0.008349373005330563,
-0.029810309410095215,
-0.018103118985891342,
0.007549592759460211,
-0.0746627226471901,
-0.0243616234511137,
0.01673792488873005,
0.007986780256032944,
-0.005674989428371191,
0.023271644487977028,
-0.013739232905209064,
-0.06030409410595894,
0.013909872621297836,
-0.015200555324554443,
-0.05531958490610123,
-0.029512690380215645,
-0.009808535687625408,
-0.0026825913228094578,
-0.034302178770303726,
0.01738600805401802,
0.030936473980545998,
-0.011749951168894768,
0.013279656879603863,
0.010125306434929371,
-0.036936573684215546,
0.048967037349939346,
-0.037763480097055435,
-0.008307179436087608,
0.013409193605184555,
-0.022924279794096947,
-0.0008363917004317045,
0.0028962858486920595,
-0.012875542044639587,
0.048320919275283813,
0.04019410163164139,
-0.005138856824487448,
-0.005669365171343088,
0.01719401404261589,
0.01823093183338642,
-0.029715079814195633,
0.037419747561216354,
-0.0074773249216377735,
-0.019739894196391106,
-0.0008335909224115312,
-0.0355827696621418,
0.013414470478892326,
-0.011478284373879433,
0.050152476876974106,
-0.02551158517599106,
-0.030837807804346085,
-0.06487906724214554,
0.041106656193733215,
-0.035715267062187195,
-0.01188378594815731,
-0.014229506254196167,
-0.000036057484976481646,
0.044575028121471405,
-0.010448170825839043,
0.038298629224300385,
-0.007543601095676422,
0.009358132258057594,
0.019988276064395905,
-0.004836990963667631,
-0.029406070709228516,
0.014480451121926308,
-0.03347979113459587,
0.013712112791836262,
0.01355751696974039,
-0.0038359181489795446,
0.02921549789607525,
-0.010690676048398018,
-0.001180106308311224,
-0.036896295845508575,
0.026274392381310463,
0.0020774502772837877,
0.038094375282526016,
-0.005890964530408382,
-0.02047339640557766,
-0.003097246866673231,
-0.01472177542746067,
-0.02441556751728058,
-0.0395561121404171,
-0.0016367464559152722,
-0.0381583608686924,
0.007479993626475334,
-0.0395047701895237,
-0.07873880863189697,
0.0008015364874154329,
0.03776402398943901,
-0.029090141877532005,
-0.005094345659017563,
-0.004921518731862307,
-0.00664094602689147,
-0.013202587142586708,
0.02050854079425335,
0.09351696819067001,
-0.05949428305029869,
0.0020626459736377,
0.0035631582140922546,
0.00815586093813181,
0.009536951780319214,
0.011394270695745945,
-0.061788104474544525,
-0.004677882883697748,
-0.0007215844234451652,
0.011982386000454426,
-0.0056512667797505856,
-0.03493070602416992,
-0.02188701555132866,
0.013711881823837757,
-0.020520392805337906,
-0.004665702115744352,
-0.03308580443263054,
-0.009234326891601086,
-0.029272617772221565,
0.004864736460149288,
0.014342263340950012,
-0.039312828332185745,
-0.028938155621290207,
0.02544657699763775,
-0.011081638745963573,
0.04425431415438652,
-0.026862721890211105,
0.035660166293382645,
0.03405097872018814,
0.020463673397898674,
-0.00035935788764618337,
-0.07738755643367767,
0.02766422927379608,
-0.02377549186348915,
0.016575077548623085,
-0.03892732411623001,
0.0006689533474855125,
-0.04052563011646271,
0.04226764664053917,
-0.009070214815437794,
0.018167052417993546,
-0.01818838156759739,
-0.010630299337208271,
0.005208546295762062,
0.058898795396089554,
-0.03452322259545326,
0.00645286962389946,
0.003634257707744837,
-0.022105606272816658,
0.06670494377613068,
-0.02265258878469467,
-0.06294457614421844,
0.00837365910410881,
-0.024003515020012856,
0.035584405064582825,
0.00014454462507274002,
0.009700022637844086,
-0.031469300389289856,
0.038898810744285583,
0.049371104687452316,
0.014096997678279877,
0.0545012392103672,
-0.012505942024290562,
0.004266568459570408,
-0.03236375004053116,
0.005590436980128288,
-0.09863083809614182,
-0.0214215237647295,
0.029157983139157295,
-0.00558825209736824,
-0.03579368814826012,
-0.01310062687844038,
-0.03253762423992157,
0.043400660157203674,
-0.044555265456438065,
-0.007001981604844332,
0.049190908670425415,
0.007551275193691254,
0.011392335407435894,
-0.0014607723569497466,
-0.036511827260255814,
0.004702551756054163,
0.018269073218107224,
-0.03382343798875809,
0.0065504759550094604,
-0.022665582597255707,
0.043953344225883484,
-0.022071925923228264,
0.04873419180512428,
0.0011469952296465635,
0.020211827009916306,
0.03659100458025932,
0.02143046073615551,
-0.010461379773914814,
0.08420898765325546,
-0.033671069890260696,
-0.008979054167866707,
0.039153341203927994,
0.004642772488296032,
-0.0005978456465527415,
0.03485291451215744,
0.007775807287544012,
-0.03145540878176689,
0.031039195135235786,
0.01167207956314087,
-0.034045662730932236,
-0.03807452693581581,
0.07524807006120682,
0.020979762077331543,
-0.033949121832847595,
-0.033180639147758484,
0.00839008204638958,
-0.060697488486766815,
0.019721422344446182,
0.019561944529414177,
-0.018064523115754128,
-0.03667495399713516,
0.06213781237602234,
-0.031516678631305695,
0.0014040317619219422,
0.09131334722042084,
0.03800380229949951,
-0.028588755056262016,
-0.002427361672744155,
0.07262295484542847,
0.07460616528987885,
0.07148633152246475,
-0.004237436689436436,
0.05141386389732361,
-0.022444188594818115,
-0.038785744458436966,
-0.0040167029947042465,
-0.012682651169598103,
-0.006191144697368145,
-0.0027599281165748835,
0.03910062462091446,
0.08269479125738144,
-0.030546268448233604,
0.0568181537091732,
-0.0020564503502100706,
-0.026024816557765007,
0.006439762189984322,
-0.01126756053417921,
0.03882722929120064,
0.06944406777620316,
0.020620107650756836,
0.06611651182174683,
-0.007245086599141359,
0.006058583967387676,
0.02777736820280552,
-0.03212151676416397,
-0.008812720887362957,
0.001606327947229147,
-0.00821049977093935,
-0.014167794026434422,
0.0291949063539505,
0.02879350818693638,
0.0719769224524498,
-0.025162817910313606,
-0.0024704630486667156,
-0.002869226271286607,
0.04111148416996002,
-0.016736431047320366,
0.0023632992524653673,
0.008532501757144928,
-0.02234790474176407,
-0.00855256523936987,
-0.010618205182254314,
-0.017230277881026268,
-0.001443596207536757,
-0.007826863788068295,
0.03851744905114174,
-0.035962436348199844,
-0.009097500704228878,
0.01731422170996666,
-0.013842287473380566,
-0.0539725236594677,
-0.04366624727845192,
-0.05930663272738457,
-0.0679740160703659,
-0.08867242932319641,
0.006191097665578127,
-0.006752451416105032,
-0.0329301543533802,
-0.048240844160318375,
-0.01821828819811344,
-0.015044081024825573,
-0.014756092801690102,
0.0077775344252586365,
-0.04259588569402695,
0.006829212419688702,
0.00008404890832025558,
0.006292794831097126,
0.02701951377093792,
0.02811373956501484,
0.03239738196134567,
0.009062451310455799,
-0.01275747362524271,
-0.017491457983851433,
0.0018172910204157233,
0.050775375217199326,
0.04889446869492531,
0.0008639259031042457,
-0.070384681224823,
-0.003145491471514106,
0.009583988226950169,
0.021332532167434692,
-0.09734698385000229,
-0.00033878753311000764,
-0.0136244622990489,
-0.017844829708337784,
0.046318452805280685,
-0.023237762972712517,
0.0010154952760785818,
-0.032318923622369766,
0.005975103005766869,
0.0027048124466091394,
0.03730618953704834,
0.03151358291506767,
-0.03379199281334877,
0.04667310789227486,
0.005814889911562204,
-0.01782744750380516,
-0.04452386870980263,
-0.028368040919303894,
-0.01654350385069847,
-0.026491159573197365,
-0.0678110122680664,
-0.02129407785832882,
-0.012010048143565655,
-0.08879169076681137,
-0.018957771360874176,
0.004692553076893091,
-0.04567087069153786,
-0.021686233580112457,
-0.006605504546314478,
0.0580623634159565,
-0.05413070321083069,
0.06089749559760094,
-0.03143804520368576,
0.056654348969459534,
-0.02293139137327671,
-0.015842672437429428,
0.008846020326018333,
0.024371327832341194,
-0.0020987719763070345,
0.01354347262531519,
0.011009356006979942,
-0.03395513445138931,
0.007315509021282196,
-0.03425469622015953,
0.009150166064500809,
0.02992013841867447,
-0.0029791160486638546,
0.04229283705353737
] | [
-0.07314695417881012,
-0.024528931826353073,
-0.02547646127641201,
-0.017948631197214127,
0.03438524529337883,
-0.0328817181289196,
0.012822719290852547,
0.05389827489852905,
0.016154451295733452,
-0.021211301907896996,
0.0045794411562383175,
-0.06866280734539032,
0.030800582841038704,
0.013188807293772697,
0.08176164329051971,
-0.030327768996357918,
-0.03709521144628525,
-0.0006889926153235137,
-0.04568541422486305,
0.00012433278607204556,
0.03342501446604729,
-0.00575218303129077,
-0.06390663236379623,
-0.052335407584905624,
0.06354409456253052,
0.030681956559419632,
0.004706115461885929,
-0.025833534076809883,
-0.003204600652679801,
-0.23005203902721405,
0.004510275553911924,
-0.0035208952613174915,
0.039859648793935776,
-0.03340776264667511,
-0.010495842434465885,
0.040558118373155594,
-0.0033858867827802896,
0.03475712239742279,
0.006650546099990606,
0.02976672351360321,
0.037991058081388474,
0.004538214299827814,
-0.026978852227330208,
0.008990898728370667,
0.011287122964859009,
-0.0068010566756129265,
-0.03946097940206528,
-0.0047348677180707455,
-0.03139890730381012,
0.017293816432356834,
-0.061962615698575974,
-0.005319311749190092,
-0.001797386328689754,
-0.0027541937306523323,
0.011709877289831638,
0.028524981811642647,
0.030787551775574684,
0.09608855843544006,
0.031919583678245544,
0.0341203436255455,
0.009870047681033611,
-0.00042179826414212584,
-0.1589793711900711,
0.11037926375865936,
0.004729329142719507,
0.04578033834695816,
-0.010255512781441212,
-0.03418493643403053,
-0.02575618028640747,
0.09989139437675476,
0.01789500191807747,
-0.030383972451090813,
-0.02029726840555668,
0.08324254304170609,
0.022028665989637375,
-0.04127662628889084,
-0.04753638803958893,
0.017799153923988342,
0.05018987879157066,
-0.03802379593253136,
-0.016093915328383446,
-0.0002540969871915877,
-0.01006813533604145,
-0.013880991376936436,
0.016244910657405853,
0.018419655039906502,
-0.030311640352010727,
0.03797563165426254,
0.014448577538132668,
0.020849499851465225,
0.0330512672662735,
0.01927689090371132,
0.04926174879074097,
0.015728354454040527,
-0.10513308644294739,
-0.004469987936317921,
-0.004106174688786268,
0.008362307213246822,
-0.03485530614852905,
0.3904222249984741,
-0.03906029835343361,
-0.01247277483344078,
0.02423935942351818,
0.04409158229827881,
-0.01948140561580658,
-0.02332024835050106,
-0.019855104386806488,
-0.061149224638938904,
0.0002892999036703259,
-0.03106624446809292,
-0.014211764559149742,
-0.05637850612401962,
0.05301738902926445,
-0.07569132000207901,
-0.027241669595241547,
-0.01387815922498703,
0.04590356722474098,
0.031738582998514175,
0.02760435827076435,
0.004125310108065605,
-0.012678055092692375,
-0.003935596439987421,
0.01826474815607071,
-0.004033706150949001,
0.008079084567725658,
0.01021285355091095,
0.034954797476530075,
0.07269462943077087,
0.03683314472436905,
0.023305725306272507,
0.04502643272280693,
-0.027230672538280487,
-0.07258085906505585,
0.026027143001556396,
0.010073651559650898,
0.024891406297683716,
0.01337288599461317,
-0.020031722262501717,
0.03214958310127258,
0.03451091796159744,
-0.006040013395249844,
-0.0034031763207167387,
0.02164001762866974,
-0.015504417009651661,
-0.019413862377405167,
0.13634590804576874,
-0.018122714012861252,
-0.040359675884246826,
-0.021187635138630867,
-0.048736073076725006,
-0.003056008368730545,
0.040963586419820786,
0.008732427842915058,
-0.03513416647911072,
-0.006917404010891914,
0.06061164289712906,
0.08337456732988358,
-0.06857442110776901,
-0.057212382555007935,
-0.012051367200911045,
-0.044208064675331116,
-0.016748478636145592,
-0.0353279709815979,
0.040517378598451614,
0.018611937761306763,
-0.0680946484208107,
-0.01511275302618742,
0.00009127004159381613,
0.003921547904610634,
-0.08633869141340256,
0.026418523862957954,
0.028336133807897568,
0.005720636807382107,
-0.0029256220441311598,
0.051578961312770844,
-0.0030307481065392494,
-0.03195210546255112,
-0.025427302345633507,
0.052952107042074203,
0.019475378096103668,
-0.005572581198066473,
0.0001227600732818246,
-0.056867457926273346,
0.0015550288371741772,
-0.05362926796078682,
-0.053619008511304855,
-0.06941792368888855,
0.03777613118290901,
-0.010945873335003853,
0.007250702939927578,
0.009156554937362671,
-0.022815583273768425,
-0.06794273108243942,
0.05861667916178703,
-0.03418290242552757,
-0.023547763004899025,
0.034428950399160385,
-0.01656913012266159,
0.0012114205164834857,
-0.01437690295279026,
0.0033234066795557737,
0.03984149172902107,
0.0032678875140845776,
0.00499005289748311,
-0.05549637973308563,
0.0043044062331318855,
0.06434807181358337,
-0.06036750227212906,
0.04004617780447006,
0.04950889199972153,
-0.021870436146855354,
0.002185777062550187,
-0.02484206110239029,
0.01413616444915533,
-0.01709417626261711,
-0.004217846319079399,
-0.007731548510491848,
-0.02655109576880932,
0.023724805563688278,
0.0358348973095417,
-0.03348490595817566,
-0.06456927955150604,
-0.014082361944019794,
-0.3777429163455963,
-0.053268104791641235,
0.0012431098148226738,
0.009463619440793991,
0.01922978088259697,
-0.06102635711431503,
-0.027543408796191216,
0.009316249750554562,
-0.05874330922961235,
0.0659407302737236,
0.06000618636608124,
-0.003884947160258889,
-0.028496256098151207,
-0.05559251829981804,
0.0022636065259575844,
0.025186827406287193,
-0.016128720715641975,
-0.036750856786966324,
-0.017617598176002502,
0.009006793610751629,
-0.011047140695154667,
-0.009409056045114994,
0.006849000230431557,
-0.04136947914958,
0.03444382920861244,
-0.012498453259468079,
0.09940394759178162,
0.0006704517873004079,
0.047887176275253296,
-0.03462609276175499,
0.04422047734260559,
-0.030140595510601997,
0.010120189748704433,
-0.02512757107615471,
-0.020455526188015938,
-0.03958522155880928,
-0.005237318575382233,
0.0019467271631583571,
0.003947260789573193,
-0.04509562999010086,
-0.026889540255069733,
0.03731360286474228,
-0.05874890834093094,
-0.038142189383506775,
-0.03650273010134697,
0.040338266640901566,
-0.013434325344860554,
-0.03709351643919945,
-0.003962037619203329,
0.09806498885154724,
-0.006613168865442276,
-0.0012385816080495715,
0.011332480236887932,
0.006521958392113447,
0.0322822742164135,
-0.0008410631562583148,
-0.062092218548059464,
-0.011133762076497078,
-0.021810060366988182,
-0.05136900022625923,
0.006043226923793554,
0.026779575273394585,
0.04172951728105545,
-0.014860977418720722,
-0.010129197500646114,
0.01242110226303339,
0.02805539406836033,
-0.016037123277783394,
0.022248893976211548,
-0.0008627309580333531,
-0.04606742039322853,
0.08561069518327713,
0.0018320369999855757,
0.02993258647620678,
0.04910007119178772,
0.05263355374336243,
0.004264295566827059,
0.045231692492961884,
0.02965342439711094,
0.025253409519791603,
0.028987610712647438,
-0.011187809519469738,
0.019988643005490303,
-0.03595738857984543,
0.00024587035295553505,
-0.0026318072341382504,
-0.011600449681282043,
-0.037518586963415146,
0.02321780100464821,
0.02564605139195919,
-0.004947090521454811,
-0.027050303295254707,
0.019137684255838394,
-0.036221858114004135,
0.07252862304449081,
-0.004705554805696011,
-0.2541586458683014,
0.02759951911866665,
0.07737897336483002,
0.050891853868961334,
-0.04048113897442818,
0.0021498720161616802,
0.04753432050347328,
-0.06377869844436646,
-0.03398032486438751,
-0.01656651683151722,
0.009564398787915707,
0.0784548744559288,
0.04490604251623154,
0.0046196263283491135,
0.01955322176218033,
-0.023214811459183693,
0.0494404137134552,
-0.03325705602765083,
0.0443105474114418,
0.003929920494556427,
0.04361538961529732,
-0.010723943822085857,
0.19813121855258942,
-0.006741168908774853,
0.022458506748080254,
0.007298216689378023,
-0.006679891142994165,
-0.029339343309402466,
0.09018480032682419,
0.005033546593040228,
-0.004411982372403145,
0.01902383379638195,
0.04035659506917,
-0.018634386360645294,
0.041442692279815674,
-0.018312886357307434,
-0.05385024473071098,
0.053393084555864334,
0.026223866268992424,
-0.007479050196707249,
-0.017388347536325455,
0.009586681611835957,
-0.051223624497652054,
0.030756697058677673,
0.07952370494604111,
0.018610099330544472,
0.01182827353477478,
-0.04075471684336662,
-0.04784108325839043,
0.006538659334182739,
-0.005022193770855665,
0.004318931605666876,
-0.023336773738265038,
-0.008023441769182682,
0.0029997951351106167,
0.059610433876514435,
-0.00507949385792017,
-0.04634847864508629,
-0.0010619147215038538,
0.00950914341956377,
-0.002562477719038725,
-0.053267963230609894,
0.1180620938539505,
-0.005864968057721853,
0.001469854498282075
] | [
0.0261185634881258,
0.05504724383354187,
-0.012248698621988297,
0.0067912740632891655,
0.011802619323134422,
-0.015644703060388565,
-0.010261954739689827,
0.016564877703785896,
-0.024235127493739128,
0.022107526659965515,
-0.032613880932331085,
0.019655028358101845,
0.01603182964026928,
-0.00037038553273305297,
0.030118120834231377,
0.0009552237461321056,
-0.013401040807366371,
0.028844287618994713,
-0.0025527921970933676,
-0.03236694633960724,
-0.017221683636307716,
0.024457234889268875,
0.02281450293958187,
-0.0038512118626385927,
-0.00744533259421587,
0.05480742081999779,
-0.024868041276931763,
0.015571365132927895,
0.000289274932583794,
-0.13609811663627625,
-0.027169911190867424,
-0.033846501260995865,
-0.008896885439753532,
0.010861262679100037,
-0.037245411425828934,
0.02037191204726696,
-0.027166375890374184,
0.016507983207702637,
0.04611174762248993,
0.00795781146734953,
-0.022016484290361404,
0.00567662762477994,
-0.01005612127482891,
0.005589561071246862,
-0.01412358321249485,
0.01038895919919014,
-0.03201479837298393,
-0.008334171958267689,
-0.006669259630143642,
0.004904111381620169,
-0.03650311753153801,
-0.005245327018201351,
-0.011151682585477829,
-0.026446416974067688,
0.025021804496645927,
-0.026844777166843414,
-0.036748163402080536,
-0.0633675754070282,
-0.0173866618424654,
-0.048151031136512756,
0.004118038807064295,
-0.021801389753818512,
-0.033896688371896744,
-0.01896851323544979,
-0.015765422955155373,
-0.04726702347397804,
-0.019471613690257072,
0.013506357558071613,
0.027312692254781723,
0.0067679728381335735,
-0.012431182898581028,
0.016471626237034798,
-0.018763134256005287,
-0.03882550448179245,
0.017168736085295677,
0.01498742401599884,
0.002370380098000169,
-0.022306689992547035,
-0.017244894057512283,
-0.007261019200086594,
-0.014264083467423916,
0.008177658542990685,
-0.01341699156910181,
0.031174886971712112,
-0.04209050536155701,
-0.02980952151119709,
0.028202218934893608,
-0.01633957214653492,
0.026112405583262444,
-0.03210504725575447,
-0.006539100781083107,
0.005053727421909571,
0.017538370564579964,
0.014335570856928825,
-0.11331173032522202,
-0.01916697807610035,
-0.002287976909428835,
0.006217087619006634,
-0.028200862929224968,
0.8295841813087463,
0.002967435633763671,
-0.0007223437423817813,
0.012876591645181179,
-0.030518997460603714,
-0.013117912225425243,
-0.03189300000667572,
-0.02139320969581604,
-0.012851395644247532,
-0.0037348808255046606,
-0.06834162026643753,
0.0038030489813536406,
0.01157489512115717,
0.008595014922320843,
0.01208021491765976,
-0.0004252611252013594,
0.0009465311304666102,
0.04145534336566925,
-0.0018410023767501116,
0.011616947129368782,
0.0043261400423944,
0.026880646124482155,
0.012911391444504261,
0.01079692505300045,
-0.001007530838251114,
-0.015110842883586884,
-0.1922564059495926,
-0.02796916477382183,
-7.352570227599556e-33,
0.026003293693065643,
0.01351622398942709,
0.025257520377635956,
-0.022006822749972343,
0.050820328295230865,
-0.006046805065125227,
0.03046627901494503,
-0.014405082911252975,
-0.024487467482686043,
-0.010476652532815933,
0.048195451498031616,
0.022600727155804634,
0.009395923465490341,
-0.0014268368249759078,
0.01759449765086174,
-0.021933991461992264,
-0.02569780871272087,
0.03611954301595688,
-0.008305438794195652,
0.0038068676367402077,
-0.00471076974645257,
-0.005605457350611687,
0.0032955845817923546,
0.04726484417915344,
0.03034299612045288,
0.011829748749732971,
0.0028653896879404783,
-0.004731563851237297,
-0.024481231346726418,
-0.05999857559800148,
-0.0043088523671031,
0.04820052906870842,
0.006629467476159334,
-0.006806967779994011,
0.08453064411878586,
-0.03146052360534668,
0.026265636086463928,
0.024030691012740135,
-0.02637467347085476,
-0.05455317348241806,
-0.013376325368881226,
-0.01201695017516613,
-0.020183632150292397,
0.026716962456703186,
-0.000670148350764066,
-0.0393684096634388,
0.03982101008296013,
0.05962984636425972,
0.01304745115339756,
0.038079243153333664,
0.025684306398034096,
-0.000642589817289263,
0.008476011455059052,
0.022314155474305153,
0.013613873161375523,
0.0019439951283857226,
-0.03089652769267559,
0.02939823642373085,
0.024055661633610725,
0.03852793574333191,
-0.03474945202469826,
0.016328785568475723,
-0.0016434319550171494,
0.012616540305316448,
-0.015529886819422245,
0.006101419683545828,
0.012368294410407543,
-0.014123381115496159,
0.025675153359770775,
0.056333549320697784,
-0.02701297588646412,
0.01769396848976612,
-0.008448680862784386,
0.004983110353350639,
0.05524603649973869,
-0.0010219071991741657,
-0.019345050677657127,
-0.01125978771597147,
0.0291275791823864,
0.022820651531219482,
0.005731096491217613,
-0.005856376141309738,
0.01863827370107174,
-0.006627149414271116,
-0.013245350681245327,
-0.013892488554120064,
0.03149092197418213,
0.02871069684624672,
-0.020092375576496124,
-0.004998922348022461,
0.03216838836669922,
0.0004159458912909031,
-0.011840767227113247,
-0.024384882301092148,
0.006181797012686729,
7.289036961989519e-33,
-0.004417902324348688,
-0.033895596861839294,
0.01754964515566826,
0.029358919709920883,
0.0032929759472608566,
-0.03964037448167801,
0.047053296118974686,
-0.032422155141830444,
-0.00800350122153759,
0.045334506779909134,
0.004369956906884909,
0.006617254577577114,
-0.002074154792353511,
0.022797953337430954,
0.05705719813704491,
-0.032542288303375244,
0.02221827022731304,
0.010614697821438313,
0.009632456116378307,
0.01769128069281578,
0.0004370925889816135,
0.01654551364481449,
0.027673400938510895,
-0.003851549467071891,
0.012379352003335953,
0.04249337315559387,
-0.003866557264700532,
-0.028744474053382874,
0.01111211534589529,
-0.028307728469371796,
-0.0008413417381234467,
-0.0020663507748395205,
-0.009350314736366272,
-0.025801559910178185,
-0.009062902070581913,
0.046775802969932556,
0.02304942160844803,
0.008648841641843319,
0.02460094727575779,
-0.015690917149186134,
-0.0023083039559423923,
0.029350003227591515,
0.018227972090244293,
-0.0016576162306591868,
-0.0022739446721971035,
-0.00724001694470644,
-0.0270396675914526,
0.017990663647651672,
-0.009965622797608376,
0.015759281814098358,
0.007817484438419342,
-0.009142477996647358,
-0.010979706421494484,
0.011433597654104233,
0.016935622319579124,
-0.01751779578626156,
-0.04439294710755348,
0.003591813612729311,
-0.01775943674147129,
0.010675447061657906,
-0.022963643074035645,
-0.022945698350667953,
-0.006594528444111347,
0.024280527606606483,
-0.013549521565437317,
0.015383086167275906,
-0.012654649093747139,
-0.00526433764025569,
0.007817494682967663,
0.02251465432345867,
-0.018677115440368652,
-0.022652124986052513,
0.03178391605615616,
0.026219602674245834,
-0.03262585774064064,
-0.034183070063591,
-0.014226160943508148,
0.019453348591923714,
0.01940920017659664,
0.048920538276433945,
0.026958655565977097,
-0.015065446496009827,
0.02065952867269516,
0.0017352791037410498,
0.005256665404886007,
0.017113516107201576,
-0.0059884944930672646,
0.013637920841574669,
0.027904020622372627,
0.0007857927121222019,
0.012361564673483372,
-0.009591200388967991,
-0.0061191655695438385,
0.036370787769556046,
0.03148159384727478,
-1.268170368717847e-8,
-0.024585843086242676,
0.002711019478738308,
-0.008099115453660488,
-0.013134333305060863,
0.06511270999908447,
0.00992194190621376,
-0.04545558989048004,
-0.035739753395318985,
0.023910580202937126,
0.021395063027739525,
0.04364461824297905,
-0.015087061561644077,
0.014549856074154377,
0.0014846872072666883,
0.004134202376008034,
-0.05089511349797249,
0.04080219194293022,
0.007346226833760738,
0.05076539143919945,
-0.0012233237503096461,
-0.04624312371015549,
0.03471831604838371,
-0.009714865125715733,
-0.010440685786306858,
0.05114806815981865,
-0.009009324014186859,
0.04228809103369713,
-0.09586255997419357,
-0.01091255433857441,
-0.023990880697965622,
0.033761415630578995,
-0.01881648227572441,
-0.018155215308070183,
0.01854630373418331,
-0.022641703486442566,
-0.05965140834450722,
0.02810092456638813,
0.010615753941237926,
-0.021137649193406105,
0.010179798118770123,
-0.03820899873971939,
0.006256255321204662,
-0.029340432956814766,
-0.020462417975068092,
-0.010481908917427063,
-0.028355984017252922,
-0.027301620692014694,
-0.017227457836270332,
0.005678653717041016,
-0.07355653494596481,
0.019941404461860657,
-0.009101428091526031,
0.013733739964663982,
0.007168605923652649,
0.044816505163908005,
-0.002342824824154377,
0.012297175824642181,
-0.03359528258442879,
-0.05469919368624687,
-0.00916325580328703,
-0.01668558269739151,
0.002289780415594578,
-0.0061546373181045055,
-0.026287663727998734
] | r-apply-a-custom-function-across-multiple-lists | https://markhneedham.com/blog/2014/07/16/r-apply-a-custom-function-across-multiple-lists |
false | 2014-07-10 14:54:25 | Neo4j: LOAD CSV - Processing hidden arrays in your CSV documents | [
"neo4j"
] | [
"neo4j"
] | I was recently asked how to process an 'array' of values inside a column in a CSV file using http://docs.neo4j.org/chunked/stable/query-load-csv.html[Neo4j's LOAD CSV] tool and although I initially thought this wouldn't be possible as every cell is treated as a String, https://twitter.com/mesirii[Michael] showed me a way of working around this which I thought was pretty neat.
Let's say we have a CSV file representing people and their friends. It might look like this:
[source,bash]
----
name,friends
"Mark","Michael,Peter"
"Michael","Peter,Kenny"
"Kenny","Anders,Michael"
----
And what we want is to have the following nodes:
* Mark
* Michael
* Peter
* Kenny
* Anders
And the following friends relationships:
* Mark \-> Michael
* Mark \-> Peter
* Michael \-> Peter
* Michael \-> Kenny
* Kenny \-> Anders
* Kenny \-> Michael
We'll start by loading the CSV file and returning each row:
[source,cypher]
----
$ load csv with headers from "file:/Users/markneedham/Desktop/friends.csv" AS row RETURN row;
+------------------------------------------------+
| row |
+------------------------------------------------+
| {name -> "Mark", friends -> "Michael,Peter"} |
| {name -> "Michael", friends -> "Peter,Kenny"} |
| {name -> "Kenny", friends -> "Anders,Michael"} |
+------------------------------------------------+
3 rows
----
As expected the 'friends' column is being treated as a String which means we can use the http://docs.neo4j.org/chunked/stable/query-functions-string.html#functions-split[split] function to get an array of people that we want to be friends with:
[source,cypher]
----
$ load csv with headers from "file:/Users/markneedham/Desktop/friends.csv" AS row RETURN row, split(row.friends, ",") AS friends;
+-----------------------------------------------------------------------+
| row | friends |
+-----------------------------------------------------------------------+
| {name -> "Mark", friends -> "Michael,Peter"} | ["Michael","Peter"] |
| {name -> "Michael", friends -> "Peter,Kenny"} | ["Peter","Kenny"] |
| {name -> "Kenny", friends -> "Anders,Michael"} | ["Anders","Michael"] |
+-----------------------------------------------------------------------+
3 rows
----
Now that we've got them as an array we can use http://docs.neo4j.org/chunked/stable/query-unwind.html[UNWIND] to get pairs of friends that we want to create:
[source,cypher]
----
$ load csv with headers from "file:/Users/markneedham/Desktop/friends.csv" AS row
WITH row, split(row.friends, ",") AS friends
UNWIND friends AS friend
RETURN row.name, friend;
+-----------------------+
| row.name | friend |
+-----------------------+
| "Mark" | "Michael" |
| "Mark" | "Peter" |
| "Michael" | "Peter" |
| "Michael" | "Kenny" |
| "Kenny" | "Anders" |
| "Kenny" | "Michael" |
+-----------------------+
6 rows
----
And now we'll introduce some http://docs.neo4j.org/chunked/stable/query-merge.html[MERGE] statements to create the appropriate nodes and relationships:
[source,cypher]
----
$ load csv with headers from "file:/Users/markneedham/Desktop/friends.csv" AS row
WITH row, split(row.friends, ",") AS friends
UNWIND friends AS friend
MERGE (p1:Person {name: row.name})
MERGE (p2:Person {name: friend})
MERGE (p1)-[:FRIENDS_WITH]->(p2);
+-------------------+
| No data returned. |
+-------------------+
Nodes created: 5
Relationships created: 6
Properties set: 5
Labels added: 5
373 ms
----
And now if we query the database to get back all the nodes + relationships\...
[source,cypher]
----
$ match (p1:Person)-[r]->(p2) RETURN p1,r, p2;
+------------------------------------------------------------------------+
| p1 | r | p2 |
+------------------------------------------------------------------------+
| Node[0]{name:"Mark"} | :FRIENDS_WITH[0]{} | Node[1]{name:"Michael"} |
| Node[0]{name:"Mark"} | :FRIENDS_WITH[1]{} | Node[2]{name:"Peter"} |
| Node[1]{name:"Michael"} | :FRIENDS_WITH[2]{} | Node[2]{name:"Peter"} |
| Node[1]{name:"Michael"} | :FRIENDS_WITH[3]{} | Node[3]{name:"Kenny"} |
| Node[3]{name:"Kenny"} | :FRIENDS_WITH[4]{} | Node[4]{name:"Anders"} |
| Node[3]{name:"Kenny"} | :FRIENDS_WITH[5]{} | Node[1]{name:"Michael"} |
+------------------------------------------------------------------------+
6 rows
----
\...you'll see that we have everything.
If instead of a comma separated list of people we have a literal array in the cell\...
[source,text]
----
name,friends
"Mark", "[Michael,Peter]"
"Michael", "[Peter,Kenny]"
"Kenny", "[Anders,Michael]"
----
\...we'd need to tweak the part of the query which extracts our friends to strip off the first and last characters:
[source,cypher]
----
$ load csv with headers from "file:/Users/markneedham/Desktop/friendsa.csv" AS row
RETURN row, split(substring(row.friends, 1, length(row.friends) -2), ",") AS friends;
+-------------------------------------------------------------------------+
| row | friends |
+-------------------------------------------------------------------------+
| {name -> "Mark", friends -> "[Michael,Peter]"} | ["Michael","Peter"] |
| {name -> "Michael", friends -> "[Peter,Kenny]"} | ["Peter","Kenny"] |
| {name -> "Kenny", friends -> "[Anders,Michael]"} | ["Anders","Michael"] |
+-------------------------------------------------------------------------+
3 rows
----
And then if we put the whole query together we end up with this:
[source,cypher]
----
$ load csv with headers from "file:/Users/markneedham/Desktop/friendsa.csv" AS row
WITH row, split(substring(row.friends, 1, length(row.friends) -2), ",") AS friends
UNWIND friends AS friend
MERGE (p1:Person {name: row.name})
MERGE (p2:Person {name: friend})
MERGE (p1)-[:FRIENDS_WITH]->(p2);;
+-------------------+
| No data returned. |
+-------------------+
Nodes created: 5
Relationships created: 6
Properties set: 5
Labels added: 5
---- | null | null | [
0.004206471145153046,
-0.018935302272439003,
-0.015251854434609413,
0.023168427869677544,
0.09503739327192307,
-0.007631396874785423,
0.015758179128170013,
0.014974880963563919,
0.02539634518325329,
-0.014897385612130165,
-0.01017875224351883,
-0.02255885675549507,
-0.06018895283341408,
0.020156649872660637,
0.010693902149796486,
0.06502868235111237,
0.06720436364412308,
0.01997067965567112,
0.02326289936900139,
-0.029014073312282562,
0.005608341656625271,
0.03315485641360283,
-0.0035129738971590996,
0.03294971212744713,
0.035316307097673416,
-0.026391521096229553,
-0.021866604685783386,
0.013178716413676739,
-0.03603670373558998,
0.028382161632180214,
0.04085584357380867,
0.0007326957420445979,
0.02053934521973133,
-0.010332509875297546,
0.01987738534808159,
-0.010721104219555855,
-0.04303242266178131,
-0.0012778351083397865,
-0.027356989681720734,
-0.009661255404353142,
-0.0445273332297802,
0.025921417400240898,
-0.02205146662890911,
0.021574242040514946,
-0.024940643459558487,
-0.011257817968726158,
-0.044410914182662964,
0.046282827854156494,
-0.0022526495158672333,
0.020752396434545517,
-0.07243393361568451,
0.014042350463569164,
-0.004556932486593723,
-0.043947622179985046,
0.037868909537792206,
0.03488072380423546,
-0.00824948213994503,
-0.0505867525935173,
0.04917995259165764,
-0.024079078808426857,
-0.010714325122535229,
-0.02425300143659115,
0.00084292097017169,
0.01986774429678917,
0.008314435370266438,
-0.04947895556688309,
-0.003268752945587039,
0.07594819366931915,
-0.058199524879455566,
-0.03960670530796051,
-0.001155670965090394,
0.03216908499598503,
-0.011658539064228535,
-0.0267473291605711,
0.011146600358188152,
-0.04708751663565636,
-0.010273155756294727,
0.04087020084261894,
0.017586058005690575,
0.06249884516000748,
-0.05092157796025276,
0.036238495260477066,
-0.013489521108567715,
0.0035502605605870485,
0.011185673996806145,
-0.05076426640152931,
-0.03566763922572136,
-0.019686464220285416,
-0.04301229864358902,
0.04956354945898056,
0.0075567313469946384,
-0.030915461480617523,
-0.015255529433488846,
0.0076385363936424255,
-0.008875633589923382,
0.027868876233696938,
0.0007928448030725121,
0.02215607464313507,
0.016772832721471786,
0.009958690032362938,
-0.07276242971420288,
-0.026793479919433594,
0.021716253831982613,
-0.009679535403847694,
-0.06843586266040802,
-0.017697596922516823,
-0.01875719241797924,
-0.01848546415567398,
0.02083112858235836,
-0.012425001710653305,
-0.03848477080464363,
-0.041423045098781586,
-0.008709073998034,
0.002030470408499241,
-0.1000199019908905,
0.04067010432481766,
0.02930087223649025,
0.009840667247772217,
-0.032188497483730316,
0.027275238186120987,
0.03415873274207115,
0.04033920168876648,
0.012771259061992168,
0.06584469974040985,
-0.0010632999474182725,
0.01664482057094574,
0.018862081691622734,
0.05534891411662102,
-0.008670821785926819,
-0.08677144348621368,
-0.04271832853555679,
0.06501518189907074,
0.0014190442161634564,
0.02263885736465454,
-0.01809254102408886,
-0.03873831033706665,
-0.031098077073693275,
0.009984136559069157,
0.04683160036802292,
0.028004515916109085,
0.02124263159930706,
-0.04771706461906433,
0.045092321932315826,
0.010159555822610855,
0.045270342379808426,
0.009659470990300179,
-0.03093687817454338,
-0.028379205614328384,
-0.005809950176626444,
0.02554222010076046,
0.02855272777378559,
0.03014589473605156,
0.09190436452627182,
-0.037206798791885376,
0.0049154856242239475,
0.12290165573358536,
0.017267417162656784,
0.02913493476808071,
-0.012052538804709911,
0.006364425644278526,
0.0431511290371418,
0.031623922288417816,
0.028093654662370682,
0.05053069815039635,
-0.006265029776841402,
-0.016306564211845398,
0.013394084759056568,
0.04990542307496071,
-0.020389661192893982,
0.012770961038768291,
-0.025469858199357986,
-0.045175161212682724,
0.059846431016922,
-0.03947658836841583,
0.007247266825288534,
0.019010772928595543,
0.04948897659778595,
0.008855383843183517,
0.04043629392981529,
-0.02119937725365162,
-0.07305648922920227,
0.05579368397593498,
-0.01080367248505354,
0.0035956662613898516,
0.007271303795278072,
0.028678765520453453,
0.061657778918743134,
0.026555242016911507,
0.023673810064792633,
0.031539153307676315,
-0.07552840560674667,
-0.05466951057314873,
-0.04288482666015625,
-0.006293298676609993,
0.040016379207372665,
-0.03377178683876991,
0.0047346497885882854,
0.05070461705327034,
-0.004883184097707272,
0.022292867302894592,
0.021550096571445465,
-0.00920664519071579,
0.03089044988155365,
-0.04306506738066673,
-0.06166597455739975,
0.027308102697134018,
0.02356148511171341,
-0.05647559091448784,
0.0008785628015175462,
0.01466151513159275,
-0.03986931964755058,
0.01534205675125122,
0.04555689916014671,
-0.023206278681755066,
0.048515770584344864,
0.03300200402736664,
0.02572985552251339,
0.002170736435800791,
0.012398229911923409,
-0.06338068097829819,
0.034827254712581635,
0.006882639601826668,
-0.01701684296131134,
-0.00808229111135006,
-0.006059630773961544,
0.1384190171957016,
0.05117327719926834,
0.009265303611755371,
-0.07929438352584839,
0.008102289400994778,
0.018345139920711517,
-0.03213416039943695,
0.025133691728115082,
-0.004071223549544811,
-0.027189310640096664,
0.02016761153936386,
-0.03520335257053375,
-0.021881379187107086,
-0.006027428898960352,
-0.011134683154523373,
0.003700155531987548,
0.05800199881196022,
-0.013652646914124489,
0.03307667747139931,
0.022721033543348312,
-0.013274765573441982,
0.0021636695601046085,
-0.0650271624326706,
-0.04213487356901169,
0.035053737461566925,
0.030302686616778374,
-0.005618903320282698,
0.04222267493605614,
-0.02987205795943737,
-0.010080823674798012,
-0.018984032794833183,
-0.04699990153312683,
0.029892152175307274,
0.057801321148872375,
0.05697155371308327,
-0.00984151940792799,
0.05930395424365997,
-0.056081049144268036,
-0.009020575322210789,
-0.020781809464097023,
-0.04595382511615753,
-0.033840667456388474,
-0.04416101053357124,
0.040333330631256104,
0.019707391038537025,
0.025220230221748352,
-0.013476021587848663,
0.014905782416462898,
0.013265651650726795,
0.016693508252501488,
-0.026376117020845413,
0.017939096316695213,
-0.01508997566998005,
0.021436087787151337,
-0.04622165486216545,
-0.0323486402630806,
0.0552387535572052,
-0.06637655943632126,
-0.02234824374318123,
0.005950157530605793,
-0.05072465166449547,
0.03960307687520981,
-0.03337521106004715,
-0.024083763360977173,
-0.02802608534693718,
0.023877263069152832,
0.042010076344013214,
0.01908852718770504,
-0.013610992580652237,
0.049465227872133255,
0.013367688283324242,
0.01788480579853058,
0.020785903558135033,
-0.0016431324183940887,
0.051721204072237015,
-0.019262995570898056,
0.03868038207292557,
0.06671058386564255,
-0.029251666739583015,
-0.020006949082016945,
-0.02049759402871132,
-0.01544591411948204,
-0.028644254431128502,
-0.27251556515693665,
0.05679591745138168,
-0.045320235192775726,
-0.04463693127036095,
0.033221255987882614,
-0.04927625134587288,
0.0016798581928014755,
-0.02964145876467228,
-0.008166827261447906,
-0.006083478685468435,
-0.019492406398057938,
-0.019659772515296936,
-0.03356977552175522,
0.029314253479242325,
0.01879732310771942,
0.004677227232605219,
-0.00974312610924244,
-0.053388919681310654,
0.0195453017950058,
0.02878723479807377,
-0.000028856360586360097,
-0.030106257647275925,
0.0097154276445508,
0.04334261268377304,
0.007376786321401596,
0.06702904403209686,
-0.08627454191446304,
0.034917112439870834,
-0.04529454559087753,
-0.0391007661819458,
-0.015100863762199879,
-0.05025489255785942,
0.01621219702064991,
0.0033672512508928776,
-0.02873651310801506,
-0.03029571659862995,
0.062058813869953156,
0.010049434378743172,
0.01675029844045639,
0.011434199288487434,
-0.04824433848261833,
-0.04796582832932472,
-0.005581653211265802,
-0.03875361382961273,
0.06919371336698532,
-0.0020542070269584656,
-0.06076594069600105,
-0.010854075662791729,
-0.023311736062169075,
0.05840859189629555,
-0.019160129129886627,
-0.03009394370019436,
0.0002910196199081838,
0.026404988020658493,
-0.015076370909810066,
-0.019159894436597824,
0.01021741796284914,
0.008829353377223015,
-0.05277856066823006,
-0.03105941042304039,
-0.007905931212008,
-0.0747230127453804,
0.012155001983046532,
-0.0727362334728241,
-0.018407443538308144,
-0.043000441044569016,
-0.09596241265535355,
-0.029808631166815758,
0.06280769407749176,
0.057269059121608734,
-0.02387792430818081,
0.024719810113310814,
0.0028991620056331158,
-0.1010618582367897,
-0.022241415455937386,
-0.04272569715976715,
0.014958036132156849,
-0.004383472725749016,
-0.021658798679709435,
0.047297023236751556,
-0.044444650411605835,
-0.0556831955909729,
0.020405255258083344,
0.013911222107708454,
0.020577365532517433,
-0.012966177426278591,
-0.006585150957107544,
-0.02397599071264267,
-0.030349696055054665,
-0.014286704361438751,
0.06050052121281624,
-0.03211941197514534,
0.0034633504692465067,
0.017892098054289818,
-0.007423661649227142,
0.05284392833709717,
-0.010731897316873074,
-0.014955412596464157,
0.028833802789449692,
0.03040621243417263,
0.06270565092563629,
-0.03211572766304016,
0.009583148173987865,
-0.040893930941820145,
-0.02515118196606636,
-0.011632679961621761,
-0.04818064346909523,
0.03637385740876198,
0.02401343360543251,
0.05351788550615311,
-0.0059550125151872635,
-0.00684185279533267,
0.024769341573119164,
-0.05486202985048294,
-0.005540258251130581,
0.013922186568379402,
0.016887912526726723,
-0.0012614561710506678,
0.04879853129386902,
-0.020671702921390533,
-0.05082844942808151,
0.007349381223320961,
0.03810179606080055,
-0.011934742331504822,
-0.06356939673423767,
-0.02543875388801098,
0.006608105264604092,
-0.021577464416623116,
-0.0199003703892231,
-0.01365804485976696,
-0.031359802931547165,
-0.00574715668335557,
0.006613788194954395,
-0.04138579219579697,
0.040012162178754807,
-0.013704810291528702,
-0.03128577768802643,
-0.026936743408441544,
-0.012932876124978065,
0.009538249112665653,
0.020810123533010483,
-0.015713006258010864,
-0.0071985856629908085,
0.04471256211400032,
0.018991021439433098,
0.026618778705596924,
-0.004827769938856363,
0.023684227839112282,
0.014398409985005856,
-0.00656096963211894,
-0.03841987997293472,
-0.022686192765831947,
-0.0015779463574290276,
-0.029814939945936203,
-0.06430768966674805,
-0.016080915927886963,
0.0575997456908226,
-0.00964471697807312,
-0.012585367076098919,
-0.04057773947715759,
0.029722552746534348,
-0.03791419789195061,
0.01229516975581646,
-0.014797631651163101,
-0.016678927466273308,
0.054146796464920044,
-0.01641051098704338,
0.019952604547142982,
-0.009482529945671558,
0.032951947301626205,
0.005519052501767874,
0.024448346346616745,
-0.031178951263427734,
-0.011431974358856678,
0.0015381289413198829,
-0.001982524525374174,
0.04291364178061485,
0.032520294189453125,
0.01999342255294323,
0.043119657784700394,
0.010960934683680534,
-0.029907654970884323,
0.008943254128098488,
0.033273786306381226,
0.05416351929306984,
0.043630342930555344,
-0.017104066908359528,
0.007160961162298918,
-0.011724051088094711,
-0.015736011788249016,
-0.03677184134721756,
-0.006525905337184668,
-0.009834193624556065,
-0.023777564987540245,
-0.02898583561182022,
-0.03507249802350998,
0.038851045072078705,
-0.006813508924096823,
0.0019505368545651436,
0.02296544797718525,
0.017731130123138428,
-0.01562451757490635,
-0.02398737333714962,
0.016503121703863144,
0.03411053866147995,
-0.04854457825422287,
-0.018745211884379387,
-0.005794853437691927,
-0.007221708539873362,
0.007779635954648256,
0.03941764682531357,
-0.08120685070753098,
-0.010942702181637287,
-0.0016423698980361223,
0.024545690044760704,
-0.024287942796945572,
-0.03879927471280098,
-0.03194849565625191,
-0.02173185907304287,
-0.02201681397855282,
-0.001496966928243637,
0.015151504427194595,
0.030320337042212486,
-0.01907004974782467,
0.007395259104669094,
0.030497737228870392,
-0.008777091279625893,
-0.03201267495751381,
0.0326196663081646,
-0.009411267004907131,
0.00970917847007513,
-0.012863476760685444,
0.041379526257514954,
0.02627071924507618,
-0.025909045711159706,
-0.02007480151951313,
-0.044365134090185165,
0.008400059305131435,
0.005172746255993843,
0.05124759301543236,
0.010709981434047222,
0.009917854331433773,
-0.026451583951711655,
0.012276682071387768,
-0.00627815630286932,
-0.0032195274252444506,
-0.013944648206233978,
-0.028553592041134834,
0.01630808785557747,
0.06178131699562073,
0.019901495426893234,
0.02794184349477291,
-0.0030529997311532497,
-0.058482229709625244,
0.04312670975923538,
-0.021503400057554245,
-0.05075014382600784,
-0.011449402198195457,
-0.0453515462577343,
0.00377447041682899,
0.021050767973065376,
0.004928291775286198,
-0.03813913092017174,
0.06676367670297623,
0.06190326437354088,
0.022558175027370453,
0.027403317391872406,
-0.003832126036286354,
0.05288482457399368,
0.003123097587376833,
-0.011681743897497654,
-0.0777752622961998,
0.009122154675424099,
0.06187089532613754,
0.003057825844734907,
0.007778977043926716,
-0.018368404358625412,
-0.007489562034606934,
0.006458664312958717,
-0.044594574719667435,
-0.03809976205229759,
0.046918634325265884,
-0.0307574775069952,
0.03701237961649895,
-0.0038400390185415745,
-0.06272079050540924,
-0.0030879946425557137,
0.0534185990691185,
-0.0385313406586647,
-0.037800222635269165,
-0.043970827013254166,
0.05104542151093483,
-0.03643190115690231,
0.03947044163942337,
-0.00968499481678009,
-0.018355729058384895,
0.05408145487308502,
0.027321700006723404,
0.02926105260848999,
0.03563171625137329,
-0.03311264514923096,
0.05205175653100014,
0.025398043915629387,
-0.04313717409968376,
-0.0013453195570036769,
0.040842488408088684,
-0.016201531514525414,
-0.04536057636141777,
-0.004681536927819252,
0.031427860260009766,
0.0006696321652270854,
-0.043903667479753494,
0.08529859781265259,
0.005620884709060192,
-0.014257170259952545,
-0.02470596507191658,
0.03307684510946274,
-0.02514714002609253,
-0.002598495688289404,
-0.044761355966329575,
0.018352720886468887,
-0.033964093774557114,
0.03744174912571907,
-0.03349476680159569,
-0.012686533853411674,
0.07755114883184433,
-0.01574896275997162,
0.009894317016005516,
-0.015851035714149475,
0.08449878543615341,
0.1124868392944336,
0.046440646052360535,
0.004113841336220503,
0.05451296269893646,
0.0010816202266141772,
-0.04183360934257507,
-0.015265845693647861,
-0.01265895739197731,
0.01574111543595791,
0.022903990000486374,
0.007375852670520544,
0.06439967453479767,
-0.02098623290657997,
0.07810059934854507,
0.00718252919614315,
-0.015147645957767963,
-0.011865567415952682,
-0.010634411126375198,
0.036994900554418564,
0.04156794399023056,
0.013534139841794968,
0.04701464995741844,
-0.03400285169482231,
-0.011774811893701553,
0.020696476101875305,
0.009352442808449268,
-0.01738869398832321,
0.05367973446846008,
-0.0028269116301089525,
0.0032199968118220568,
-0.01909337192773819,
0.04282717406749725,
0.0746798887848854,
-0.023731062188744545,
-0.002403660910204053,
-0.0028288376051932573,
0.015081953257322311,
-0.03266520798206329,
0.0054220110177993774,
0.0042853509075939655,
-0.03337322920560837,
-0.024883540347218513,
-0.03678242862224579,
-0.041099272668361664,
-0.0273732952773571,
-0.03477155417203903,
-0.019871938973665237,
-0.0036665545776486397,
-0.022420266643166542,
0.0008149332134053111,
-0.007964691147208214,
-0.04845709726214409,
-0.04507860168814659,
-0.05163051187992096,
-0.07151199877262115,
-0.09348912537097931,
-0.018309103325009346,
0.01483204122632742,
0.0008398417849093676,
-0.008493443951010704,
0.007662392221391201,
-0.039436593651771545,
-0.007257417310029268,
0.03643137589097023,
-0.0354425422847271,
0.020685862749814987,
-0.011924728751182556,
0.03918297216296196,
0.024575304239988327,
0.028122197836637497,
0.03630718216300011,
0.0021703029051423073,
-0.004817076493054628,
0.012174969539046288,
-0.007330640219151974,
0.05825461447238922,
0.01230540405958891,
-0.0038539725355803967,
-0.0840366929769516,
-0.008024456910789013,
0.04191294685006142,
-0.02142830565571785,
-0.08315975964069366,
0.02475700154900551,
0.05915321409702301,
0.019739780575037003,
0.026036174967885017,
-0.004347578156739473,
-0.01687789522111416,
-0.020387541502714157,
-0.016649406403303146,
-0.00922693032771349,
-0.004974279552698135,
0.04139271005988121,
-0.01024156529456377,
0.07399830967187881,
0.041784901171922684,
-0.020274726673960686,
-0.052192553877830505,
-0.027611928060650826,
-0.001662729075178504,
0.0247492715716362,
-0.05063581094145775,
-0.028443174436688423,
-0.048919789493083954,
-0.06442632526159286,
-0.02654828503727913,
0.004251272417604923,
-0.02718810737133026,
-0.01625283993780613,
0.008100722916424274,
0.015483405441045761,
-0.03447973355650902,
0.02209325321018696,
-0.020442957058548927,
0.04594412073493004,
-0.026902368292212486,
-0.030523790046572685,
-0.03907446935772896,
0.013566803187131882,
-0.00015553760749753565,
-0.007011844776570797,
0.036926768720149994,
-0.040843505412340164,
-0.003844268387183547,
-0.02240779995918274,
-0.0036101213190704584,
0.044705893844366074,
0.015633637085556984,
0.044140372425317764
] | [
-0.04306098073720932,
-0.004441192839294672,
-0.031056992709636688,
-0.036093324422836304,
0.06949995458126068,
-0.0405900664627552,
0.0022804660256952047,
0.0020053524058312178,
0.030444340780377388,
-0.009504953399300575,
0.0260720644146204,
-0.02725939080119133,
-0.002938572783023119,
-0.022796835750341415,
0.04101799800992012,
-0.01063328143209219,
-0.026166580617427826,
-0.0220335703343153,
-0.07162898033857346,
0.08520185202360153,
-0.04378023371100426,
-0.0496082678437233,
-0.04100100323557854,
-0.06278278678655624,
0.0034041821490973234,
0.005096111912280321,
0.03382857143878937,
-0.06349556148052216,
-0.024858003482222557,
-0.22498533129692078,
0.0013775571715086699,
0.02043701335787773,
0.005851649679243565,
-0.0070082019083201885,
0.022081181406974792,
-0.002349182264879346,
0.05427457392215729,
-0.028277777135372162,
0.012245343998074532,
0.04023415967822075,
0.03363267704844475,
-0.025423366576433182,
-0.06887425482273102,
-0.011202706955373287,
0.03670594096183777,
0.023972198367118835,
-0.03141598775982857,
-0.024177026003599167,
0.0008085950394161046,
0.02686026133596897,
-0.06370846927165985,
-0.0007141337264329195,
-0.009950998239219189,
-0.004972039256244898,
-0.005332735367119312,
0.0460113100707531,
0.0372157096862793,
0.056762728840112686,
0.007579599041491747,
0.04797239229083061,
-0.004815859720110893,
0.00859056506305933,
-0.11530964076519012,
0.07990344613790512,
0.002919311635196209,
0.010654006153345108,
-0.05728725716471672,
-0.0019637232180684805,
-0.028538020327687263,
0.0797736793756485,
0.015910865738987923,
-0.011259404942393303,
-0.03153963387012482,
0.1033434048295021,
0.018986839801073074,
0.010364135727286339,
-0.02953280508518219,
0.00877049658447504,
0.022401059046387672,
-0.022238029167056084,
-0.07967697829008102,
-0.0074076722376048565,
-0.009641429409384727,
0.006342650856822729,
-0.05251136049628258,
0.05964221432805061,
-0.04431958869099617,
0.024990307167172432,
0.0020484088454395533,
0.03288142383098602,
0.017233852297067642,
0.015319603495299816,
0.040050193667411804,
0.050813980400562286,
-0.08282758295536041,
-0.06873232871294022,
0.009801388718187809,
0.008432661183178425,
0.012486783787608147,
0.3877716362476349,
-0.021641766652464867,
-0.019794948399066925,
0.05043189972639084,
0.03159148246049881,
-0.01446877233684063,
-0.008647327311336994,
0.0026902002282440662,
-0.0506536029279232,
0.030375437811017036,
-0.008855650201439857,
-0.019507979974150658,
-0.04292191565036774,
0.017353728413581848,
-0.12247339636087418,
0.009253138676285744,
0.020853426307439804,
0.041616085916757584,
-0.008298930712044239,
-0.03982166573405266,
0.0037765465676784515,
0.020771093666553497,
0.015808217227458954,
0.03572780266404152,
0.014920525252819061,
0.03767447546124458,
0.022474704310297966,
0.024424396455287933,
0.051150690764188766,
0.05578822270035744,
0.05673837661743164,
0.0735272616147995,
0.030093755573034286,
-0.056013766676187515,
0.03151584416627884,
-0.016911404207348824,
0.01808868534862995,
0.027799565345048904,
-0.04891393706202507,
-0.026051392778754234,
0.008591754361987114,
-0.0029060188680887222,
-0.0384184904396534,
0.037247542291879654,
0.00024270119320135564,
-0.02779078483581543,
0.1232324168086052,
-0.03594040125608444,
-0.02575933001935482,
-0.012911483645439148,
-0.055104974657297134,
0.00026516965590417385,
0.06543084979057312,
0.005483577959239483,
-0.06292552500963211,
-0.026112031191587448,
0.010249285027384758,
0.05038052052259445,
-0.044429924339056015,
-0.0979449450969696,
0.004041094798594713,
-0.026813747361302376,
-0.030116064473986626,
-0.030746765434741974,
0.0694093108177185,
0.05258916690945625,
-0.09560845047235489,
-0.028196420520544052,
0.006033620797097683,
0.0378764271736145,
-0.07882800698280334,
0.04622616246342659,
-0.009073476307094097,
-0.0746469721198082,
-0.026775984093546867,
0.06860635429620743,
-0.006758629344403744,
-0.036034196615219116,
-0.026602089405059814,
0.04497730731964111,
0.018247360363602638,
-0.011284907348453999,
0.027247726917266846,
-0.029038475826382637,
0.03179327771067619,
-0.07908210903406143,
-0.04418778046965599,
-0.06752900034189224,
0.014271880500018597,
-0.033362146466970444,
-0.044994696974754333,
-0.012713230215013027,
-0.007873112335801125,
-0.0721452534198761,
0.05028887093067169,
-0.05014193430542946,
-0.024742377921938896,
0.03078286163508892,
0.010237415321171284,
-0.008690827526152134,
-0.016261538490653038,
0.028857333585619926,
0.008665623143315315,
-0.0007445600349456072,
0.03878642991185188,
-0.026018908247351646,
-0.015718599781394005,
0.049666233360767365,
-0.05018800497055054,
0.053245991468429565,
0.03114737756550312,
-0.030042851343750954,
0.026768019422888756,
-0.008165036328136921,
-0.001543767866678536,
-0.01365508884191513,
-0.026207009330391884,
0.00028833947726525366,
-0.011584299616515636,
0.05842300131917,
0.0526299811899662,
-0.023835457861423492,
-0.07115332782268524,
-0.019890209659934044,
-0.34226682782173157,
-0.033080682158470154,
0.00723614078015089,
-0.026467513293027878,
-0.016936132684350014,
-0.001921892398968339,
-0.015148094855248928,
-0.01782156713306904,
-0.029435764998197556,
0.011522043496370316,
0.06701865047216415,
-0.006638995837420225,
-0.0010891041019931436,
-0.1042661964893341,
-0.003777274861931801,
0.03758524730801582,
0.01663382537662983,
-0.010030337609350681,
-0.006540225353091955,
0.0468541719019413,
0.01609031669795513,
-0.03672391176223755,
-0.009893338195979595,
-0.03499753028154373,
0.02098006196320057,
-0.010995222255587578,
0.10611443221569061,
0.01649850234389305,
0.04320438206195831,
-0.03438426926732063,
0.044409919530153275,
0.007271579932421446,
-0.030233561992645264,
-0.047878991812467575,
-0.0009035793482325971,
-0.02101643942296505,
-0.004698751959949732,
0.04764861613512039,
-0.001616903580725193,
0.030884427949786186,
-0.035629816353321075,
-0.012041972018778324,
-0.04098125919699669,
-0.054940808564424515,
0.01596301794052124,
0.004765476565808058,
0.0003587552928365767,
-0.00842839851975441,
0.014871214516460896,
0.05696413293480873,
0.0020615593530237675,
0.016661930829286575,
0.0063478946685791016,
0.055003877729177475,
0.05026213452219963,
-0.012597254477441311,
-0.05931276082992554,
0.0018064420437440276,
0.006037566810846329,
0.013683829456567764,
0.008844331838190556,
0.017783766612410545,
0.053037818521261215,
-0.07621179521083832,
0.010036495514214039,
0.0024456477258354425,
0.0014398365747183561,
0.02255699224770069,
0.016981471329927444,
-0.02671530842781067,
-0.024844415485858917,
0.09566622227430344,
-0.0008013881742954254,
0.027517490088939667,
0.06278512626886368,
0.048860516399145126,
-0.059056952595710754,
-0.014355725608766079,
0.03299025446176529,
0.00908514205366373,
0.0500061959028244,
-0.029917988926172256,
0.06785473227500916,
-0.02193259820342064,
0.023078780621290207,
0.05807051435112953,
0.013555603101849556,
-0.011507945135235786,
0.029563475400209427,
0.0034136525355279446,
-0.001459449646063149,
-0.021129125729203224,
-0.006070655304938555,
-0.027562011033296585,
0.06443020701408386,
-0.026745248585939407,
-0.2829798460006714,
0.045797187834978104,
0.014028781093657017,
0.05437224730849266,
0.016144072636961937,
0.00014997267862781882,
0.00873618945479393,
-0.04929019510746002,
-0.013724115677177906,
0.03403976187109947,
0.032197486609220505,
0.049127236008644104,
0.027956146746873856,
-0.03198689594864845,
-0.012091491371393204,
-0.001495902775786817,
0.05040685087442398,
0.022381601855158806,
0.03440284729003906,
0.017100512981414795,
0.040535908192396164,
-0.034579284489154816,
0.1833268404006958,
0.025018993765115738,
0.004482475575059652,
0.008161609061062336,
-0.042180873453617096,
0.011172614060342312,
0.057933200150728226,
0.0188282523304224,
-0.0012765328865498304,
0.03297088295221329,
0.028746020048856735,
0.06437798589468002,
0.02950703725218773,
-0.059857770800590515,
-0.023268265649676323,
0.062397751957178116,
0.019486021250486374,
-0.053883351385593414,
-0.022999346256256104,
0.038798555731773376,
-0.0656590685248375,
0.009009693749248981,
0.04091302305459976,
-0.028623118996620178,
0.0028931223787367344,
-0.028271427378058434,
-0.04229646176099777,
-0.011121027171611786,
-0.03502378240227699,
-0.00948655977845192,
-0.023716460913419724,
-0.0221503097563982,
0.006140978075563908,
0.054027359932661057,
-0.002849600277841091,
-0.04000965133309364,
0.034402862191200256,
0.028094517067074776,
0.0008335917955264449,
-0.05772123858332634,
0.10571164637804031,
0.04336780682206154,
0.001508873887360096
] | [
0.00822636391967535,
0.08576659113168716,
-0.03706798329949379,
0.023550720885396004,
-0.03428991138935089,
-0.0034565296955406666,
-0.006660510320216417,
-0.026026325300335884,
0.008900067768990993,
-0.015965068712830544,
-0.05345980450510979,
-0.014924457296729088,
0.04652417451143265,
-0.0440162755548954,
0.01999589055776596,
-0.018415270373225212,
-0.017825555056333542,
0.02390265464782715,
0.012769411318004131,
-0.03210693597793579,
-0.03670104965567589,
-0.005812468938529491,
-0.0041967094875872135,
-0.035934727638959885,
-0.0034625232219696045,
0.03368709608912468,
-0.028211895376443863,
0.0006598287727683783,
0.0008236434659920633,
-0.09872361272573471,
-0.031027840450406075,
-0.0397527813911438,
-0.02406766079366207,
0.032776907086372375,
-0.04491405561566353,
0.011349085718393326,
-0.002359930193051696,
0.04454745352268219,
-0.004852255806326866,
0.03260611370205879,
0.021567873656749725,
0.006041170097887516,
-0.026314813643693924,
0.004714468959718943,
0.01497113797813654,
-0.008322535082697868,
-0.03160259872674942,
-0.00048059606342576444,
-0.025964194908738136,
0.0015243437374010682,
-0.07025687396526337,
-0.019005805253982544,
0.014638537541031837,
0.010376130230724812,
-0.002691400470212102,
-0.023005934432148933,
-0.015830492600798607,
-0.011466125957667828,
0.011558929458260536,
0.020829103887081146,
-0.002670391695573926,
-0.036837708204984665,
-0.05594762787222862,
-0.02474912628531456,
0.00364102516323328,
-0.02078033611178398,
-0.029726874083280563,
0.04704270139336586,
0.01685345359146595,
0.01292505208402872,
-0.024889469146728516,
0.026263311505317688,
-0.08679431676864624,
0.004900976084172726,
-0.016247285529971123,
0.0180125143378973,
0.02126850001513958,
-0.05304295942187309,
0.034114956855773926,
-0.00783523079007864,
-0.05867776647210121,
0.01810857094824314,
0.00033907635952346027,
-0.009412400424480438,
-0.038153260946273804,
0.026188962161540985,
-0.002893501427024603,
-0.01103008072823286,
-0.02028770186007023,
0.010639671236276627,
-0.02911088988184929,
0.01797221042215824,
0.008441902697086334,
0.002521735383197665,
-0.08020421862602234,
0.01222473569214344,
0.015576203353703022,
-0.01623823493719101,
0.0017816763138398528,
0.8098795413970947,
-0.004962467122823,
0.005032236222177744,
0.008831304498016834,
0.009349546395242214,
-0.0264769047498703,
-0.022263193503022194,
0.024517275393009186,
0.02888643555343151,
-0.010714367963373661,
-0.012024398893117905,
-0.006376469042152166,
0.00706289941444993,
0.00639330642297864,
-0.022610818967223167,
-0.013408949598670006,
0.034882787615060806,
0.028317023068666458,
-0.01175590232014656,
-0.00856212992221117,
-0.01863234117627144,
-0.0013941193465143442,
-0.011890163645148277,
-0.02927672304213047,
-0.029189106076955795,
-0.012831462547183037,
-0.17227943241596222,
0.01573074236512184,
-7.588044521272307e-33,
0.027555981650948524,
-0.012248245067894459,
0.05929160118103027,
0.012111115269362926,
0.036672163754701614,
0.015105522237718105,
-0.004099367186427116,
0.014605719596147537,
-0.0196614321321249,
-0.01870635710656643,
0.028593288734555244,
0.0006107339868322015,
0.007020172663033009,
-0.010302831418812275,
0.005983330309391022,
-0.018713518977165222,
0.01733347214758396,
0.011796805076301098,
-0.010804427787661552,
-0.010881423018872738,
0.035589948296546936,
0.03797063231468201,
0.034956011921167374,
0.044762518256902695,
-0.016121376305818558,
0.007933982647955418,
-0.01417914591729641,
0.0009334314381703734,
-0.01508578471839428,
-0.05175776407122612,
-0.03957533836364746,
0.0497063510119915,
-0.011401157826185226,
-0.07469631731510162,
0.049901846796274185,
-0.0671655461192131,
0.023109188303351402,
0.004776314832270145,
-0.028300467878580093,
-0.01895798183977604,
-0.04378452152013779,
0.00008835819608066231,
0.018081508576869965,
0.015601621940732002,
-0.04269912466406822,
-0.024407997727394104,
-0.0006593053694814444,
0.008390989154577255,
0.0038600792177021503,
0.013633876107633114,
0.03263656422495842,
0.03483380004763603,
0.02684665285050869,
0.014575998298823833,
-0.03896388038992882,
0.01558096893131733,
-0.0014815365429967642,
0.0014243791811168194,
-0.0129238935187459,
0.020584357902407646,
0.05278922989964485,
-0.01561898272484541,
-0.00406905822455883,
0.02679855190217495,
0.011679093353450298,
0.01837366633117199,
0.050512898713350296,
0.026110265403985977,
0.019142476841807365,
0.015037307515740395,
-0.01454874500632286,
0.06677082180976868,
-0.00015395352966152132,
-0.0569133423268795,
0.04509653151035309,
-0.012425553984940052,
-0.014661934226751328,
-0.0037734436336904764,
0.04079700633883476,
0.0017615874530747533,
-0.005250890739262104,
-0.011519241146743298,
0.01203558687120676,
-0.005254721734672785,
-0.0491759330034256,
-0.010815833695232868,
0.004007605370134115,
0.014830176718533039,
0.004299150314182043,
0.008249330334365368,
0.04026152938604355,
0.04984769970178604,
0.013102478347718716,
-0.023913146927952766,
-0.03298158198595047,
7.093495680782139e-33,
0.04201246052980423,
-0.0002656120341271162,
-0.03055914305150509,
-0.0017270224634557962,
0.05292124301195145,
0.013413145206868649,
0.002551592653617263,
0.000250574346864596,
-0.021386753767728806,
0.040017686784267426,
0.012065880000591278,
-0.005908273160457611,
-0.006203917320817709,
0.05051284283399582,
0.04673061892390251,
0.03682679682970047,
-0.010618692263960838,
-0.018826236948370934,
-0.026234611868858337,
-0.020158756524324417,
-0.012623148038983345,
-0.005435182247310877,
0.005333056673407555,
0.037633299827575684,
0.060552310198545456,
-0.010903053916990757,
-0.021249782294034958,
-0.012070129625499249,
-0.014713099226355553,
0.015026099979877472,
-0.02009369060397148,
-0.020102553069591522,
-0.010395283810794353,
-0.011987120844423771,
-0.011924432590603828,
0.02347991243004799,
0.00014980936248321086,
0.0309861171990633,
0.04727445915341377,
-0.0008416472119279206,
0.006644712295383215,
0.021966300904750824,
-0.021777654066681862,
0.06583748012781143,
0.04382265359163284,
0.033726103603839874,
0.007303716614842415,
0.030168287456035614,
-0.0031614911276847124,
0.03843769058585167,
0.008907422423362732,
0.015436086803674698,
-0.005137794651091099,
0.0016958656487986445,
0.04800326004624367,
-0.0634903758764267,
-0.018723102286458015,
0.020635973662137985,
-0.04067084565758705,
-0.033330097794532776,
-0.07654377073049545,
-0.022527365013957024,
-0.013328185304999352,
0.051470521837472916,
0.007247804664075375,
0.00763260293751955,
-0.07223992794752121,
-0.016370784491300583,
0.030650924891233444,
-0.018865404650568962,
-0.014265165664255619,
-0.021034762263298035,
0.004893627017736435,
0.0009649759158492088,
-0.004780157934874296,
-0.03459753096103668,
-0.015605711378157139,
-0.024608051404356956,
-0.035703785717487335,
0.06348658353090286,
0.034870848059654236,
-0.015397687442600727,
0.04026507958769798,
-0.010509952902793884,
0.016488801687955856,
0.0267895869910717,
-0.018012218177318573,
-0.022751182317733765,
0.0014704264467582107,
0.03542688488960266,
0.003981098532676697,
-0.037552498281002045,
-0.0023041958920657635,
0.006718665827065706,
-0.0473528616130352,
-1.2716076192020864e-8,
-0.024413758888840675,
0.039169151335954666,
-0.0269793588668108,
-0.024968115612864494,
0.023080531507730484,
0.042916439473629,
-0.005123306065797806,
-0.009559998288750648,
0.004223273601382971,
0.0338311493396759,
0.0218947883695364,
-0.036060117185115814,
0.04334554076194763,
0.027816925197839737,
0.007797430735081434,
-0.04122956842184067,
0.019289346411824226,
-0.028069382533431053,
0.018779678270220757,
-0.0015134398126974702,
-0.015180250629782677,
0.058020561933517456,
-0.04390570893883705,
0.030527455732226372,
0.03768789395689964,
-0.015263088047504425,
-0.031083969399333,
-0.07119421660900116,
0.01548800803720951,
-0.014740712009370327,
0.013272681273519993,
-0.036128103733062744,
-0.025096332654356956,
0.00045081452117301524,
0.0007125186384655535,
-0.022569885477423668,
0.003455532481893897,
0.03314484283328056,
0.027091659605503082,
0.049095552414655685,
0.030232464894652367,
0.005189079325646162,
-0.013375556096434593,
-0.021521059796214104,
-0.02445707842707634,
-0.0044342633336782455,
-0.045647185295820236,
0.010419565252959728,
0.016088053584098816,
-0.07099774479866028,
0.025415165349841118,
-0.010534357279539108,
0.01880819723010063,
0.016612811014056206,
0.03824261948466301,
-0.00700528034940362,
0.006013070698827505,
0.011270521208643913,
0.036833424121141434,
-0.03171389922499657,
0.01526302844285965,
0.018274540081620216,
-0.023106245324015617,
-0.015668999403715134
] | neo4j-load-csv-processing-hidden-arrays-in-your-csv-documents | https://markhneedham.com/blog/2014/07/10/neo4j-load-csv-processing-hidden-arrays-in-your-csv-documents |
false | 2014-07-07 06:07:29 | R/plyr: ddply - Error in vector(type, length) : vector: cannot make a vector of mode 'closure'. | [
"r-2"
] | [
"R"
] | In my continued playing around with plyr's http://www.inside-r.org/packages/cran/plyr/docs/ddply[ddply] function I was trying to group a data frame by one of its columns and return a count of the number of rows with specific values and ran into a strange (to me) error message.
I had a data frame:
[source,r]
----
n = c(2, 3, 5)
s = c("aa", "bb", "cc")
b = c(TRUE, FALSE, TRUE)
df = data.frame(n, s, b)
----
And wanted to group and count on column 'b' so I'd get back a count of 2 for TRUE and 1 for FALSE. I wrote this code:
[source,r]
----
ddply(df, "b", function(x) {
countr <- length(x$n)
data.frame(count = count)
})
----
which when evaluated gave the following error:
[source,r]
----
Error in vector(type, length) :
vector: cannot make a vector of mode 'closure'.
----
It took me quite a while to realise that I'd just made a typo in assigned the count to a variable called 'countr' instead of 'count'.
As a result of that typo I think the R compiler was trying to find a variable called 'count' somwhere else in the lexical scope but was unable to. If I'd defined the variable 'count' outside the call to ddply function then my typo wouldn't have resulted in an error but rather an unexpected resulte.g.
[source,r]
----
> count = 10
----
[source,r]
----
> ddply(df, "b", function(x) {
+ countr <- length(x$n)
+ data.frame(count = count)
+ })
b count
1 FALSE 4
2 TRUE 4
----
Once I spotted the typo and fixed it things worked as expected:
[source,r]
----
> ddply(df, "b", function(x) {
+ count <- length(x$n)
+ data.frame(count = count)
+ })
----
[source,r]
----
b count
1 FALSE 1
2 TRUE 2
---- | null | null | [
0.0037593040615320206,
1.5636138073205075e-7,
-0.0015960531309247017,
0.015537312254309654,
0.03349955752491951,
0.050526686012744904,
0.012058446183800697,
-0.02733445167541504,
-0.02256004326045513,
-0.003938424866646528,
0.01752281002700329,
0.0057121701538562775,
-0.05719293653964996,
0.033812977373600006,
-0.036156147718429565,
0.07472062855958939,
0.06712549924850464,
-0.04250340908765793,
0.02830290049314499,
0.007409612648189068,
0.044877730309963226,
0.026692522689700127,
-0.024277538061141968,
0.030732393264770508,
0.03813289850950241,
0.021726859733462334,
0.0231328085064888,
0.023572297766804695,
-0.03686415031552315,
-0.001705376897007227,
0.06662353873252869,
0.03150763735175133,
0.005582086276262999,
-0.00605720654129982,
0.02283826284110546,
0.02318541891872883,
0.010173065587878227,
-0.006424148567020893,
-0.02103167213499546,
0.009679644368588924,
-0.07091282308101654,
-0.023486457765102386,
-0.05056121200323105,
-0.007107217330485582,
-0.025162892416119576,
0.011774937622249126,
-0.0729960948228836,
-0.0025066090747714043,
-0.004480296280235052,
0.007087075151503086,
-0.06462748348712921,
0.029570555314421654,
-0.006814027205109596,
-0.03741064295172691,
-0.006456579547375441,
0.052816785871982574,
0.030958613380789757,
-0.08488533645868301,
0.024844666942954063,
-0.04231129214167595,
-0.010438895784318447,
0.029438376426696777,
0.02159098908305168,
0.024138769134879112,
0.03563294932246208,
0.007187590003013611,
-0.01596681959927082,
0.03143874555826187,
-0.0554378367960453,
-0.022112345322966576,
-0.07362432032823563,
-0.020590825006365776,
-0.020186804234981537,
-0.0020678662694990635,
-0.011428531259298325,
-0.022960269823670387,
-0.0031230715103447437,
0.031782764941453934,
0.024981750175356865,
0.04255297780036926,
0.0017422408564016223,
0.0059869177639484406,
0.016222696751356125,
-0.0035708658397197723,
0.017128054052591324,
-0.018905995413661003,
-0.03493241220712662,
-0.04980945214629173,
-0.010972262360155582,
0.058022189885377884,
-0.02411334030330181,
-0.050486642867326736,
0.008901219815015793,
0.013145014643669128,
-0.01496726181358099,
-0.006370891351252794,
-0.01120300218462944,
0.0005095536471344531,
-0.0274787787348032,
0.002398550743237138,
-0.09545577317476273,
-0.024613136425614357,
0.04446214437484741,
0.00044341397006064653,
-0.08246839791536331,
0.00701979361474514,
-0.043028220534324646,
0.016634546220302582,
0.0037486939691007137,
0.014208340086042881,
-0.012330099008977413,
0.03915205970406532,
-0.01464147586375475,
0.002222007140517235,
-0.04734283685684204,
0.07497656345367432,
0.03371557593345642,
0.01657766103744507,
-0.00635339692234993,
0.017402715981006622,
0.05050356686115265,
0.029106440022587776,
-0.018912887200713158,
0.07131778448820114,
-0.02080361731350422,
0.055227477103471756,
0.009356820955872536,
0.011186070740222931,
-0.006543838419020176,
-0.06081705167889595,
-0.009016597643494606,
0.04553912952542305,
-0.031750086694955826,
-0.007126455195248127,
-0.020289354026317596,
-0.05051778629422188,
-0.006755379494279623,
-0.019659843295812607,
0.041303735226392746,
0.015504660084843636,
0.017178066074848175,
-0.008979135192930698,
-0.024988895282149315,
-0.028609570115804672,
0.07001020759344101,
0.04264434427022934,
0.00811726413667202,
-0.045582111924886703,
-0.033416252583265305,
0.015418305061757565,
0.05947529152035713,
0.03766688331961632,
0.09482556581497192,
-0.02429722622036934,
0.041176777333021164,
0.034554965794086456,
-0.00043117263703607023,
0.04022441431879997,
-0.008700006641447544,
-0.008637860417366028,
0.02750382013618946,
0.004225773271173239,
-0.014597502537071705,
0.05341768264770508,
0.0021767907310277224,
-0.033059801906347275,
0.0386308990418911,
0.0550822988152504,
-0.0365319587290287,
-0.023464327678084373,
-0.06280584633350372,
-0.07622279971837997,
0.04197511449456215,
-0.033324893563985825,
0.017700307071208954,
-0.00969812273979187,
0.06188628450036049,
0.0459364652633667,
0.034611787647008896,
0.008497951552271843,
-0.0633227601647377,
0.03331552445888519,
-0.017016950994729996,
0.02176578901708126,
0.015687260776758194,
-0.03355831280350685,
0.10906805843114853,
0.03497454524040222,
0.014504694379866123,
0.05660344660282135,
-0.0440342016518116,
-0.06299486756324768,
0.010198751464486122,
-0.0005435618222691119,
0.03444952145218849,
-0.0527210533618927,
-0.03957461193203926,
0.07427618652582169,
0.01581561379134655,
0.011686084792017937,
-0.013576352037489414,
0.06330762058496475,
0.00023984460858628154,
-0.01740926317870617,
-0.04004839062690735,
0.010462376289069653,
0.02513018622994423,
0.020409611985087395,
-0.02237211912870407,
0.008421596139669418,
0.015471817925572395,
0.045207034796476364,
0.011119184084236622,
-0.002853645011782646,
0.038929667323827744,
0.03573243319988251,
0.028717515990138054,
0.012518663890659809,
0.03296634554862976,
-0.051488377153873444,
0.02095596119761467,
-0.0009287670254707336,
-0.009293437004089355,
-0.016871530562639236,
-0.0013739457353949547,
0.13241524994373322,
0.06121356040239334,
0.00003888303035637364,
-0.04796213284134865,
-0.003078273730352521,
-0.06396885961294174,
0.006757956463843584,
0.023376107215881348,
0.009137077257037163,
-0.055241331458091736,
0.055537834763526917,
-0.04740903526544571,
-0.018200866878032684,
0.0381225124001503,
-0.02384144254028797,
0.0010093480814248323,
0.055155545473098755,
-0.013974275439977646,
0.03175630420446396,
-0.006627243012189865,
-0.002623537788167596,
-0.0028673361521214247,
-0.03758011385798454,
-0.05668829381465912,
0.009317686781287193,
0.0442642867565155,
-0.006965293549001217,
0.01902652345597744,
-0.006838463246822357,
0.012389346025884151,
-0.022646302357316017,
-0.023030797019600868,
-0.002547379583120346,
0.08408775180578232,
0.0549657940864563,
-0.017481591552495956,
0.05094512552022934,
0.01118350401520729,
-0.06840594112873077,
-0.007076045963913202,
-0.05331360548734665,
-0.04936451092362404,
0.007462633308023214,
0.010967505164444447,
0.0010482539655640721,
0.030294228345155716,
-0.027270816266536713,
-0.06705798953771591,
-0.005101529881358147,
0.016761792823672295,
-0.03547466918826103,
0.038738396018743515,
-0.03429365158081055,
-0.02029217965900898,
-0.0028958385810256004,
-0.01201898604631424,
0.020212681964039803,
0.02975032478570938,
-0.024531841278076172,
-0.00013395611313171685,
-0.011418107897043228,
0.0220552459359169,
-0.07593992352485657,
-0.02221529558300972,
0.020134905353188515,
-0.006399355363100767,
0.028808100149035454,
0.007737336214631796,
0.03554127737879753,
0.024403097108006477,
-0.0283966064453125,
0.04299492761492729,
0.021583955734968185,
0.024835560470819473,
0.02142213098704815,
-0.003727435367181897,
0.016176102682948112,
0.03097146563231945,
-0.007970624603331089,
-0.0013481725472956896,
-0.03188347443938255,
-0.04451539367437363,
0.008697506040334702,
-0.2472892701625824,
0.00008489577885484323,
-0.010413525626063347,
-0.0014869589358568192,
0.037732675671577454,
-0.04277125000953674,
0.004944282583892345,
0.007599338889122009,
-0.009598304517567158,
-0.009650135412812233,
0.01278037391602993,
-0.04253420606255531,
-0.011947862803936005,
0.03334309533238411,
0.03279350325465202,
0.035227321088314056,
0.026880741119384766,
-0.030463112518191338,
0.007491884287446737,
0.040839530527591705,
0.05296885222196579,
-0.035712845623493195,
-0.016980303451418877,
0.025552349165081978,
0.03257093206048012,
0.043574512004852295,
-0.04318675026297569,
0.030851934105157852,
-0.07820526510477066,
-0.03230149671435356,
0.00520748645067215,
0.006768527906388044,
0.00867826770991087,
-0.010243170894682407,
-0.004846337251365185,
-0.028185833245515823,
0.02666488289833069,
0.007891391403973103,
0.011585701256990433,
0.01271738950163126,
-0.0037983094807714224,
-0.03675571829080582,
0.019970297813415527,
-0.032186269760131836,
0.04265126958489418,
0.0212854016572237,
-0.06154205650091171,
0.03169415518641472,
-0.05066002532839775,
0.08967267721891403,
0.0012521264143288136,
-0.049705661833286285,
0.0036186627112329006,
-0.00026947128935717046,
-0.019567731767892838,
-0.0033039122354239225,
-0.03910847380757332,
0.016924457624554634,
-0.021550070494413376,
-0.021584562957286835,
0.029810776934027672,
-0.03298681601881981,
-0.01380296889692545,
-0.03691941127181053,
-0.021354718133807182,
-0.061676524579524994,
-0.07639450579881668,
-0.01832624338567257,
0.054360561072826385,
0.03601808473467827,
-0.045329026877880096,
-0.0014269906096160412,
-0.04401440545916557,
-0.10504937171936035,
-0.0175242368131876,
-0.021067311987280846,
-0.028647687286138535,
-0.01864064484834671,
0.034998971968889236,
0.03444579616189003,
-0.023611823096871376,
-0.03638852387666702,
0.04449331760406494,
0.022067369893193245,
0.01991993375122547,
0.004631543066352606,
-0.005923610180616379,
-0.006504006218165159,
-0.04569130763411522,
-0.03847475349903107,
0.06930777430534363,
-0.030999787151813507,
-0.007221970707178116,
0.011791667900979519,
-0.024697573855519295,
0.018772313371300697,
0.0025489013642072678,
0.039357930421829224,
0.02902691438794136,
0.019720276817679405,
0.0024972925893962383,
-0.041632235050201416,
0.016923220828175545,
-0.07436002045869827,
-0.03266197070479393,
-0.00925314612686634,
-0.10525906085968018,
-0.008869989775121212,
-0.011639246717095375,
0.00041522938408888876,
0.007860212586820126,
-0.0033074503298848867,
0.05269262194633484,
-0.07143091410398483,
-0.017633453011512756,
-0.014632021076977253,
-0.0015367371961474419,
0.02642768621444702,
0.007825305685400963,
-0.016011249274015427,
-0.08581516891717911,
0.006124661769717932,
-0.015335428528487682,
-0.014961625449359417,
-0.004114230163395405,
-0.027782205492258072,
0.03141767531633377,
0.019467584788799286,
-0.027665702626109123,
0.04335448145866394,
-0.002343092579394579,
0.02354208007454872,
0.06031567230820656,
-0.020683618262410164,
0.002557536121457815,
-0.00417728628963232,
-0.060870494693517685,
0.013362965546548367,
-0.011091809719800949,
0.029763029888272285,
-0.014152894727885723,
0.003968874458223581,
0.02068333327770233,
0.004905268549919128,
0.04905368387699127,
-0.01893182285130024,
0.01737714372575283,
0.035985369235277176,
-0.014166549779474735,
0.019382990896701813,
0.018167618662118912,
-0.01022286619991064,
0.019836382940411568,
-0.05800648406147957,
0.0014227454084903002,
-0.008139822632074356,
0.08708573877811432,
-0.02678481489419937,
-0.006451095454394817,
-0.04570923000574112,
0.0033237352035939693,
-0.018274249508976936,
0.005793868098407984,
-0.03632396087050438,
-0.006099381484091282,
0.041444435715675354,
-0.003097356529906392,
0.05471130460500717,
0.0068277535028755665,
-0.008274675346910954,
-0.03731100261211395,
0.016380298882722855,
-0.03407010808587074,
0.0420963428914547,
-0.013829526491463184,
0.025443000718951225,
0.010608969256281853,
-0.013024422340095043,
0.014676394872367382,
0.009470201097428799,
-0.007712772581726313,
-0.015440365299582481,
0.026616957038640976,
0.057321060448884964,
0.04600841552019119,
0.00938791036605835,
-0.01940426416695118,
-0.008246149867773056,
-0.036558832973241806,
-0.010155869647860527,
-0.028144702315330505,
-0.02748737670481205,
-0.0002940970007330179,
0.033271994441747665,
-0.05489690601825714,
-0.07725802809000015,
0.016316799446940422,
0.09292478859424591,
-0.03237851336598396,
0.00763330701738596,
-0.003461851505562663,
-0.008551683276891708,
-0.036241695284843445,
0.03524250537157059,
0.06468764692544937,
-0.05075216293334961,
0.0009417306864634156,
0.01140863448381424,
0.02515394799411297,
0.03997127711772919,
-0.014086230657994747,
-0.05769133195281029,
-0.010515726171433926,
-0.049570370465517044,
0.039510153234004974,
0.005280335899442434,
-0.04195369780063629,
-0.07149216532707214,
0.01646893098950386,
-0.013185732066631317,
0.021659964695572853,
-0.03700391948223114,
0.00485663628205657,
-0.029731113463640213,
-0.030643818899989128,
0.02973106876015663,
-0.0423714742064476,
-0.05781799554824829,
0.043568842113018036,
-0.019764220342040062,
0.023353438824415207,
-0.03039432317018509,
0.019827304407954216,
0.018947049975395203,
-0.02209465205669403,
-0.01757451705634594,
-0.07216078042984009,
0.029848264530301094,
-0.0019220495596528053,
0.011295720003545284,
-0.011036611162126064,
0.024284761399030685,
-0.014154644683003426,
0.01900654286146164,
-0.014032925479114056,
-0.015955626964569092,
-0.006607706192880869,
-0.0438796803355217,
0.022074813023209572,
0.07556597143411636,
-0.002568113850429654,
0.02156464383006096,
-0.031084425747394562,
0.0018124072812497616,
0.0807889848947525,
-0.009545342065393925,
-0.03817921504378319,
-0.016145439818501472,
-0.014888837933540344,
0.05258539691567421,
-0.009461559355258942,
0.007473766803741455,
-0.018971404060721397,
0.04418305307626724,
0.02928857132792473,
0.04426306113600731,
0.045627616345882416,
-0.035455018281936646,
0.044506195932626724,
-0.00409803818911314,
0.031118685379624367,
-0.09607642143964767,
-0.018377557396888733,
0.013620052486658096,
-0.02426365576684475,
-0.027174247428774834,
-0.031268294900655746,
-0.001596977119334042,
0.06438738852739334,
-0.04057469964027405,
-0.04759473726153374,
0.021843476220965385,
0.010446447879076004,
0.04288451746106148,
0.02181134931743145,
-0.035933494567871094,
-0.05146179348230362,
0.033307310193777084,
-0.040056243538856506,
-0.010007043369114399,
-0.009257297031581402,
0.028178438544273376,
-0.004500770475715399,
0.0013255131198093295,
-0.03230351209640503,
-0.0018932133680209517,
0.019351335242390633,
0.020614536479115486,
-0.010393746197223663,
0.06501724570989609,
-0.05296120047569275,
0.020740924403071404,
0.036365583539009094,
-0.03312782570719719,
-0.004393883049488068,
0.02860664390027523,
-0.005997134372591972,
-0.03649887070059776,
-0.005020882934331894,
0.02139606885612011,
0.003063133219256997,
-0.05725867673754692,
0.06609636545181274,
0.003510564798489213,
-0.03800869360566139,
-0.042084794491529465,
-0.003984037786722183,
-0.025449538603425026,
0.004459265153855085,
0.021176762878894806,
-0.022095397114753723,
-0.015209168195724487,
0.06914879381656647,
-0.006141935009509325,
0.007288836874067783,
0.07141817361116409,
0.01442707609385252,
-0.0016292114742100239,
-0.011778916232287884,
0.052766669541597366,
0.09981197118759155,
0.014046533964574337,
-0.008954538032412529,
0.047610487788915634,
-0.0506342351436615,
-0.06332793086767197,
0.021790338680148125,
-0.05537216737866402,
0.007456890307366848,
-0.027255317196249962,
-0.012247571721673012,
0.054008472710847855,
0.03285811468958855,
0.0625472292304039,
-0.05543288588523865,
-0.004457504954189062,
-0.003986742813140154,
0.002367018023505807,
0.04279506579041481,
0.05456067994236946,
0.0058065312914550304,
0.05040707811713219,
0.013433939777314663,
0.003807289991527796,
-0.00319266295991838,
0.011141341179609299,
-0.017881762236356735,
-0.025149192661046982,
0.010505164042115211,
-0.026744380593299866,
0.025130262598395348,
-0.009236172772943974,
0.0748593881726265,
-0.05444738641381264,
-0.03819882497191429,
-0.034314438700675964,
0.07963113486766815,
0.019389646127820015,
-0.011123969219624996,
0.059110693633556366,
-0.030033228918910027,
0.005630549509078264,
-0.020581593737006187,
-0.025764169171452522,
-0.03287709876894951,
-0.04201871529221535,
0.039352040737867355,
-0.02921849489212036,
-0.00033019157126545906,
0.030574895441532135,
-0.027213983237743378,
-0.029281707480549812,
-0.059605661779642105,
-0.031852010637521744,
-0.05222191661596298,
-0.06528382003307343,
0.0128880450502038,
0.020472805947065353,
-0.011868156492710114,
-0.05639189854264259,
-0.01692597195506096,
0.02129281684756279,
-0.024693302810192108,
0.00047749385703355074,
-0.02919519506394863,
-0.03365663066506386,
0.030790602788329124,
-0.01628616824746132,
0.036466989666223526,
0.029643354937434196,
0.011437904089689255,
0.0030146550852805376,
-0.009516596794128418,
0.002237668028101325,
0.02080480009317398,
0.027516068890690804,
0.037323493510484695,
0.03605916351079941,
-0.042910847812891006,
-0.0066914428025484085,
0.002487968420609832,
-0.010881129652261734,
-0.09356064349412918,
0.03939308971166611,
-0.011244567111134529,
0.004498646594583988,
0.03836824744939804,
0.005098422989249229,
0.030992917716503143,
-0.05712788552045822,
-0.006327248644083738,
0.02091042511165142,
0.04619918763637543,
0.02697489783167839,
-0.03410200774669647,
0.03397746384143829,
0.03359873220324516,
-0.0004290158685762435,
-0.06375183910131454,
-0.018049636855721474,
-0.03096340037882328,
-0.0314662866294384,
-0.055718809366226196,
-0.04747333750128746,
-0.05076513811945915,
-0.07932057231664658,
-0.024517808109521866,
0.015760648995637894,
-0.06102672219276428,
0.005335668101906776,
0.0026681527961045504,
0.02768356166779995,
-0.051249198615550995,
0.019227823242545128,
-0.010578006505966187,
0.031441181898117065,
-0.024380838498473167,
-0.029243770986795425,
0.004731656517833471,
0.000414406880736351,
0.010876093059778214,
-0.007154336664825678,
0.021880051121115685,
-0.0163221824914217,
0.010387923568487167,
-0.00964984018355608,
0.002515167463570833,
0.02868453785777092,
-0.006949718575924635,
0.060208436101675034
] | [
-0.06897303462028503,
-0.03900942951440811,
-0.04123689606785774,
0.00022010819520801306,
0.028444888070225716,
-0.055964916944503784,
-0.00909702479839325,
0.023692229762673378,
0.0401126854121685,
-0.004488565027713776,
0.032193731516599655,
-0.05030767619609833,
0.024347975850105286,
0.0041875955648720264,
0.014444953761994839,
-0.028501296415925026,
-0.07076975703239441,
-0.016091937199234962,
-0.024530338123440742,
-0.00849995668977499,
-0.017631659284234047,
-0.05970063805580139,
-0.04278004169464111,
-0.05426410958170891,
0.05959184095263481,
0.043672893196344376,
-0.026122648268938065,
-0.055674225091934204,
-0.015268445946276188,
-0.23149354755878448,
-0.01090994942933321,
0.014690378680825233,
0.024023111909627914,
-0.01523139700293541,
0.01327787060290575,
0.0031069722026586533,
-0.02670256793498993,
-0.024179240688681602,
0.01729760691523552,
0.045885223895311356,
-0.018624311313033104,
0.01696726679801941,
-0.014978122897446156,
-0.0021294455509632826,
0.017298763617873192,
0.02812727354466915,
-0.08172017335891724,
-0.02022368088364601,
-0.008811989799141884,
0.014395148493349552,
-0.05620911344885826,
-0.0002794841711875051,
-0.01737315021455288,
0.04108089953660965,
0.01930377446115017,
0.06231360137462616,
0.014683740213513374,
0.021715901792049408,
0.017612634226679802,
-0.0025052435230463743,
0.0017387832049280405,
-0.002119668060913682,
-0.17036575078964233,
0.06841574609279633,
0.016890421509742737,
0.021128639578819275,
-0.02782587520778179,
-0.0181110929697752,
-0.013003841042518616,
0.06822289526462555,
-0.004227286204695702,
-0.00618607085198164,
-0.02242560312151909,
0.06753352284431458,
-0.005806980188935995,
-0.014560848474502563,
-0.052931077778339386,
-0.0035367594100534916,
0.06279756128787994,
-0.009444215334951878,
0.02120593748986721,
0.008351989090442657,
0.000010495478818484116,
-0.029755396768450737,
0.01723085343837738,
-0.002450657542794943,
-0.00034717118251137435,
0.01104685477912426,
0.008152143098413944,
0.020727146416902542,
0.038784950971603394,
0.06540858000516891,
0.04120582342147827,
0.04705192521214485,
-0.09364006668329239,
0.007648163475096226,
0.06888861954212189,
0.012179450131952763,
-0.001906844787299633,
0.3605489432811737,
-0.009062184020876884,
-0.02234329655766487,
-0.010601386427879333,
0.042850613594055176,
-0.02777521312236786,
0.002760263392701745,
-0.022231902927160263,
-0.0193776972591877,
0.01893891952931881,
-0.014488139189779758,
0.028249746188521385,
-0.05726826936006546,
0.06878404319286346,
-0.0853562206029892,
0.02261427976191044,
-0.042877886444330215,
0.017586108297109604,
0.007171561010181904,
-0.019270919263362885,
0.02639116533100605,
0.047207657247781754,
-0.035914771258831024,
0.02811591885983944,
0.02771509438753128,
0.013768709264695644,
0.013018985278904438,
0.016398828476667404,
0.10631614923477173,
0.05953699350357056,
0.03753585368394852,
0.03335295617580414,
0.014649447053670883,
-0.08504705876111984,
-0.004700678866356611,
0.0069076986983418465,
0.011892344802618027,
0.0371236652135849,
-0.0018672595033422112,
0.03769322484731674,
0.022750690579414368,
-0.033355873078107834,
-0.026739630848169327,
0.05467607080936432,
0.017523836344480515,
-0.0024465075694024563,
0.11525064706802368,
-0.00559056643396616,
-0.020897142589092255,
-0.01680261269211769,
-0.0040740156546235085,
0.01131556648761034,
0.03472469002008438,
-0.009075227193534374,
-0.02540973201394081,
-0.008391047827899456,
0.02359471656382084,
0.05031871423125267,
-0.052672211080789566,
-0.058898016810417175,
-0.03576026111841202,
-0.027904631569981575,
0.010352522134780884,
-0.03727896139025688,
0.013447711244225502,
0.03164857253432274,
-0.07671584188938141,
-0.040260374546051025,
0.05300985276699066,
-0.025273310020565987,
-0.08734647929668427,
0.02547110989689827,
-0.04409661889076233,
-0.07114394754171371,
0.006056950893253088,
0.06930322200059891,
-0.01174088567495346,
-0.016560088843107224,
0.010281362570822239,
0.07402278482913971,
0.047223616391420364,
0.04008950665593147,
0.025578143075108528,
-0.013024386018514633,
0.008056812919676304,
-0.0464143343269825,
-0.06405197829008102,
-0.08720919489860535,
-0.007323979865759611,
0.033027831465005875,
-0.03458066284656525,
-0.026936443522572517,
-0.01627662219107151,
-0.04605335369706154,
0.04583479464054108,
-0.07561580836772919,
-0.02840418741106987,
0.05076032504439354,
-0.0047318157739937305,
0.007064910605549812,
0.01080705039203167,
0.025814298540353775,
0.026112305000424385,
0.031913917511701584,
0.034805115312337875,
-0.04550444334745407,
0.038097985088825226,
0.027008727192878723,
-0.03570367768406868,
0.009879983961582184,
0.013763024471700191,
-0.0020191152580082417,
0.02652394212782383,
-0.025809217244386673,
0.00855806190520525,
-0.06136232241988182,
0.035476237535476685,
-0.0009993024868890643,
-0.008386324159801006,
-0.01832479052245617,
0.007012777030467987,
0.036963868886232376,
-0.07436122000217438,
-0.025788769125938416,
-0.3588992655277252,
-0.04853462800383568,
0.01992209441959858,
-0.02964327111840248,
0.015561457723379135,
-0.0369495265185833,
-0.005333590786904097,
0.03679148852825165,
-0.042991314083337784,
0.07151387631893158,
0.029594477266073227,
0.051450323313474655,
-0.03968794643878937,
-0.13156136870384216,
0.001193904085084796,
0.03162148967385292,
-0.0019430776592344046,
-0.05551859736442566,
-0.041024595499038696,
-0.017738059163093567,
-0.01918265037238598,
-0.023904019966721535,
-0.01006015483289957,
-0.04429172724485397,
0.056612808257341385,
-0.020336808636784554,
0.1339668333530426,
0.025178395211696625,
0.020491652190685272,
-0.01264146063476801,
0.045081645250320435,
0.014510280452668667,
-0.02323232963681221,
0.002216452034190297,
0.05445561930537224,
-0.07628143578767776,
-0.04294002056121826,
0.0601954385638237,
0.008539566770195961,
-0.031814005225896835,
0.002170393243432045,
0.0004090518341399729,
-0.04900670424103737,
-0.017886890098452568,
-0.03225211054086685,
0.002831089776009321,
-0.017054548487067223,
-0.01956879533827305,
-0.04176364466547966,
0.046589817851781845,
0.019636163488030434,
0.009976743720471859,
0.05824323743581772,
0.07163862884044647,
0.026756929233670235,
0.019462093710899353,
-0.07292313873767853,
0.0013463252689689398,
-0.01398836076259613,
-0.05175596475601196,
0.011492020450532436,
0.020943328738212585,
0.05231986567378044,
-0.05035428702831268,
-0.0243578739464283,
0.025343332439661026,
0.022433675825595856,
0.0011295703006908298,
-0.002854353981092572,
0.02755403332412243,
-0.026049936190247536,
0.12135019898414612,
-0.003683469258248806,
0.05217931047081947,
0.013069162145256996,
0.020066482946276665,
-0.03195090591907501,
-0.040741562843322754,
-0.024545585736632347,
0.00985963549464941,
0.05044427886605263,
-0.07557296752929688,
0.007881714962422848,
-0.008783096447587013,
0.029415566474199295,
0.008900381624698639,
-0.009082495234906673,
0.024539422243833542,
0.01097090169787407,
0.00914839468896389,
-0.002545833121985197,
-0.031270887702703476,
0.006650774274021387,
-0.036117274314165115,
0.05185793712735176,
0.01313460897654295,
-0.297408789396286,
0.018599696457386017,
0.02052171528339386,
0.011436732485890388,
-0.004503763280808926,
-0.0023836102336645126,
0.04196005314588547,
-0.03482803702354431,
-0.017450956627726555,
-0.022710425779223442,
-0.011918943375349045,
0.06329257041215897,
0.05340997129678726,
-0.0030834386125206947,
0.013334357179701328,
-0.0013911264250054955,
0.003675283631309867,
-0.020094821229577065,
0.042303506284952164,
-0.005715921055525541,
0.021202124655246735,
-0.03489026799798012,
0.1499059647321701,
-0.007348664570599794,
0.006618189159780741,
-0.004663633182644844,
0.00946052372455597,
-0.022235708311200142,
0.04874815791845322,
0.035926107317209244,
-0.013766607269644737,
0.0006658433703705668,
0.08404723554849625,
-0.025789111852645874,
0.01843510940670967,
0.030669528990983963,
-0.014850487001240253,
0.03272750601172447,
0.0630902498960495,
-0.041207898408174515,
-0.014860762283205986,
0.020041586831212044,
-0.005462778266519308,
0.08048594743013382,
0.09149441868066788,
0.0004404156352393329,
0.03349613398313522,
-0.054317452013492584,
-0.00026390954735688865,
-0.009218988008797169,
0.0011908065062016249,
0.025225816294550896,
-0.0314466655254364,
-0.01562882587313652,
0.009554385207593441,
0.021739425137639046,
0.04425428807735443,
-0.013106917962431908,
0.0012981320032849908,
0.016624044626951218,
-0.01583133637905121,
-0.08918149769306183,
0.10670284181833267,
0.0011713013518601656,
0.027047302573919296
] | [
0.003925938159227371,
-0.020869813859462738,
-0.039593033492565155,
0.01169076468795538,
0.010522090829908848,
-0.009804196655750275,
-0.010228660888969898,
-0.00679031852632761,
-0.011184737086296082,
-0.02353772334754467,
0.0009583074715919793,
0.009763620793819427,
0.013838063925504684,
-0.018340131267905235,
0.005546903237700462,
-0.016454704105854034,
-0.01603562757372856,
0.01506898459047079,
0.035180509090423584,
-0.028424041345715523,
-0.024833742529153824,
0.027731265872716904,
0.03336404263973236,
0.000915332289878279,
0.008172777481377125,
0.047474395483732224,
-0.07240677624940872,
0.003109726822003722,
0.03136564418673515,
-0.17020680010318756,
0.025476809591054916,
-0.005279595032334328,
0.018774546682834625,
0.041202545166015625,
-0.014408662915229797,
0.010329189710319042,
-0.035344090312719345,
0.024274665862321854,
-0.009386065416038036,
0.012348843738436699,
-0.004697058349847794,
-0.015179837122559547,
0.032186105847358704,
0.028630675747990608,
0.0011607345659285784,
0.0038530624005943537,
-0.022700825706124306,
-0.0168853048235178,
-0.0015339154051616788,
-0.0057207029312849045,
-0.007379600778222084,
0.04809416085481644,
-0.0007229631301015615,
0.00865884032100439,
0.03079540841281414,
-0.035122331231832504,
-0.011354472488164902,
-0.021847667172551155,
-0.015403062105178833,
-0.03538424149155617,
-0.016970407217741013,
-0.026950601488351822,
-0.0201847143471241,
-0.02412590943276882,
-0.004327417816966772,
0.005340649280697107,
-0.03409328684210777,
0.015050271525979042,
-0.0017017257632687688,
-0.00259811501018703,
-0.034503016620874405,
0.017643576487898827,
-0.015209506265819073,
-0.019430184736847878,
-0.036872539669275284,
0.01864098757505417,
0.017211338505148888,
-0.039899833500385284,
0.0359494611620903,
-0.011113024316728115,
-0.008689848706126213,
0.008573724888265133,
-0.00045455084182322025,
0.0011086664162576199,
-0.016407065093517303,
-0.02550293318927288,
0.021503781899809837,
-0.019293012097477913,
0.01499994657933712,
-0.02991550602018833,
0.009582437574863434,
0.06233300268650055,
0.0064646112732589245,
0.038320355117321014,
-0.09665150940418243,
0.004886183422058821,
0.004153307992964983,
-0.002738774986937642,
0.00617930619046092,
0.8410032987594604,
0.027650441974401474,
0.006157717201858759,
-0.010329356417059898,
0.0257751252502203,
-0.05625993758440018,
-0.025299878790974617,
-0.02795015089213848,
0.00412030890583992,
-0.010263939388096333,
-0.038985997438430786,
0.013102153316140175,
0.047267548739910126,
0.03291193023324013,
0.03404870629310608,
0.01156130526214838,
-0.01644160971045494,
0.039858315140008926,
0.004740585573017597,
0.030591683462262154,
-0.02399061992764473,
0.0030515529215335846,
-0.002756564412266016,
0.05481555685400963,
-0.004055162891745567,
0.0255366712808609,
-0.18153060972690582,
-0.013668211176991463,
-7.030621426692532e-33,
-0.02066824398934841,
-0.01864285208284855,
0.023662684485316277,
-0.007943275384604931,
0.027433695271611214,
-0.02795133925974369,
-0.009609839878976345,
0.04531649127602577,
-0.0029271128587424755,
-0.019579723477363586,
-0.013951321132481098,
-0.00403258204460144,
0.014133081771433353,
-0.005961750168353319,
0.020922165364027023,
-0.025427743792533875,
0.013032006099820137,
0.031769998371601105,
-0.012309806421399117,
-0.002221331698819995,
0.014843923039734364,
0.01937722973525524,
0.02376364916563034,
0.04949593544006348,
-0.00915457122027874,
-0.009344068355858326,
0.02847840078175068,
-0.0019086073152720928,
0.0025895664002746344,
-0.048366520553827286,
-0.016472401097416878,
0.0019388357177376747,
-0.013181324116885662,
0.016728168353438377,
0.04010926932096481,
-0.06013849005103111,
-0.005969115067273378,
0.0225630272179842,
-0.0035352809354662895,
0.012547699734568596,
-0.028787314891815186,
-0.007069877348840237,
-0.04328066110610962,
0.0015831129858270288,
-0.025404954329133034,
0.002161403652280569,
0.05002501606941223,
0.07561268657445908,
-0.022140957415103912,
0.010294048115611076,
0.009889880195260048,
0.0018120824825018644,
0.016811717301607132,
0.01450294442474842,
0.03026764839887619,
0.008783032186329365,
-0.02977611869573593,
-0.026146935299038887,
0.012612945400178432,
0.021323509514331818,
-0.029485883191227913,
0.01789083331823349,
-0.011393212713301182,
-0.012310181744396687,
-0.0018863508012145758,
-0.016861600801348686,
0.007258595433086157,
-0.013819624669849873,
0.03603138029575348,
0.010763527825474739,
0.005148156546056271,
-0.003350957529619336,
-0.017863983288407326,
0.0004309944633860141,
0.037628814578056335,
0.0035452048759907484,
-0.016653651371598244,
-0.01122676208615303,
0.021081581711769104,
0.038759466260671616,
0.023467179387807846,
0.0023041842505335808,
-0.0008741830824874341,
-0.02399256080389023,
-0.025700388476252556,
-0.01338688749819994,
-0.007248338777571917,
-0.01694071851670742,
-0.04391215741634369,
0.0026384200900793076,
0.02155611850321293,
-0.029479870572686195,
0.023323582485318184,
-0.03217745199799538,
-0.01046678051352501,
7.284787549911296e-33,
-0.016946936026215553,
0.02461477927863598,
-0.020349787548184395,
0.026408758014440536,
0.0618511363863945,
-0.048448074609041214,
0.024482229724526405,
0.0064999740570783615,
0.004947481211274862,
0.02981676533818245,
-0.005431067664176226,
0.0046415687538683414,
0.007864016108214855,
0.02659917064011097,
0.05200136452913284,
-0.025493936613202095,
0.014546466991305351,
0.005017113871872425,
-0.023341376334428787,
0.03394821286201477,
0.0011744173243641853,
0.01789930649101734,
0.013982158154249191,
0.01848914660513401,
0.01067721750587225,
0.06444832682609558,
-0.009168109856545925,
-0.025666195899248123,
0.006202151998877525,
0.012725362554192543,
0.03009405918419361,
0.00029314938001334667,
0.010442295111715794,
-0.015947826206684113,
0.00307446182705462,
0.027798306196928024,
0.019419660791754723,
-0.007656788919121027,
-0.02041560783982277,
-0.02850857563316822,
0.005080086179077625,
0.02173200435936451,
-0.01335151121020317,
0.007584083825349808,
0.014326113276183605,
0.0018219847697764635,
-0.000029444692700053565,
0.003944107331335545,
-0.016889741644263268,
0.027296893298625946,
-0.03292504698038101,
0.011718068271875381,
0.027784375473856926,
0.011337466537952423,
0.025912847369909286,
-0.03197377175092697,
-0.021625669673085213,
0.005756318103522062,
-0.03370470553636551,
0.0020915858913213015,
-0.01657583750784397,
-0.04084581881761551,
-0.021502366289496422,
0.010412336327135563,
-0.0271084476262331,
-0.013384311459958553,
-0.026268288493156433,
-0.03009898029267788,
-0.00448112515732646,
0.032079726457595825,
-0.026373477652668953,
-0.030084284022450447,
0.008722599595785141,
0.03710521012544632,
-0.023680338636040688,
0.015331337228417397,
-0.031482331454753876,
-0.002192807849496603,
-0.0015439547132700682,
0.027438998222351074,
-0.007487140595912933,
-0.02643129788339138,
0.03562405705451965,
0.00029425747925415635,
-0.009629135020077229,
0.015169604681432247,
-0.013499973341822624,
-0.004769804421812296,
0.015014941804111004,
-0.009508638642728329,
0.006822163239121437,
-0.05538890138268471,
-0.005981228314340115,
0.03572647646069527,
0.014466770924627781,
-1.2753837097534415e-8,
-0.020128797739744186,
0.007203120272606611,
-0.0022670694161206484,
-0.02920464798808098,
0.05374569073319435,
0.008262451738119125,
-0.022679824382066727,
0.0012825872981920838,
0.02453380823135376,
0.014926093630492687,
0.030398491770029068,
-0.007866794243454933,
0.008678438141942024,
0.000034622404200490564,
0.003941043745726347,
-0.017117932438850403,
0.016244100406765938,
-0.00039847876178100705,
0.024789629504084587,
-0.0350143127143383,
0.01774764433503151,
0.02844829484820366,
-0.0302676260471344,
-0.010672287084162235,
0.02016148716211319,
0.0015384112484753132,
0.017209913581609726,
-0.07723711431026459,
0.03056267648935318,
-0.022262239828705788,
0.018550919368863106,
-0.02939392626285553,
-0.012791912071406841,
0.02427891083061695,
-0.0014687447110190988,
-0.03495205193758011,
0.018186746165156364,
0.03657625615596771,
0.039347581565380096,
-0.005897508468478918,
-0.019290998578071594,
0.00019166299898643047,
0.007242836523801088,
0.0025043312925845385,
-0.019405608996748924,
0.004491281230002642,
-0.036985766142606735,
0.003828964661806822,
-0.0050103142857551575,
-0.059740446507930756,
0.05434547737240791,
-0.014387873001396656,
-0.03167017549276352,
0.04146483913064003,
0.024610398337244987,
0.0023078876547515392,
-0.0328027717769146,
0.00029976500081829727,
-0.007742275483906269,
-0.03804447129368782,
-0.02079136110842228,
0.027572695165872574,
-0.04124920815229416,
-0.03681189566850662
] | rplyr-ddply-error-in-vectortype-length-vector-cannot-make-a-vector-of-mode-closure | https://markhneedham.com/blog/2014/07/07/rplyr-ddply-error-in-vectortype-length-vector-cannot-make-a-vector-of-mode-closure |
false | 2014-07-23 22:20:25 | Java: Determining the status of data import using kill signals | [
"java"
] | [
"Java"
] | A few weeks ago I was working on the initial import of ~ 60 million bits of data into Neo4j and we kept running into a problem where the import process just seemed to freeze and nothing else was imported.
It was very difficult to tell what was happening inside the process - taking a thread dump merely informed us that it was attempting to process one line of a CSV line and was somehow unable to do so.
One way to help debug this would have been to print out every single line of the CSV as we processed it and then watch where it got stuck but this seemed a bit over kill. Ideally we wanted to only print out the line we were processing on demand.
As luck would have it we can do exactly this by sending a kill signal to our import process and have it print out where it had got up to. We had to make sure we picked a signal which wasn't already being handled by the JVM and decided to go with 'SIGTRAP' i.e. kill -5 [pid]
We came across http://www.javawebdevelop.com/300909/[a neat blog post that explained how to wire everything up] and then created our own version:
[source,java]
----
class Kill3Handler implements SignalHandler
{
private AtomicInteger linesProcessed;
private AtomicReference<Map<String, Object>> lastRowProcessed;
public Kill3Handler( AtomicInteger linesProcessed, AtomicReference<Map<String, Object>> lastRowProcessed )
{
this.linesProcessed = linesProcessed;
this.lastRowProcessed = lastRowProcessed;
}
@Override
public void handle( Signal signal )
{
System.out.println("Last Line Processed: " + linesProcessed.get() + " " + lastRowProcessed.get());
}
}
----
We then wired that up like so:
[source,java]
----
AtomicInteger linesProcessed = new AtomicInteger( 0 );
AtomicReference<Map<String, Object>> lastRowProcessed = new AtomicReference<>( );
Kill3Handler kill3Handler = new Kill3Handler( linesProcessed, lastRowProcessed );
Signal.handle(new Signal("TRAP"), kill3Handler);
// as we iterate each line we update those variables
linesProcessed.incrementAndGet();
lastRowProcessed.getAndSet( properties ); // properties = a representation of the row we're processing
----
This worked really well for us and we were able to work out that we had a slight problem with some of the data in our CSV file which was causing it to be processed incorrectly.
We hadn't been able to see this by visual inspection since the CSV files were a few GB in size. We'd therefore only skimmed a few lines as a sanity check.
I didn't even know you could do this but it's a neat trick to keep in mind - I'm sure it shall come in useful again. | null | null | [
0.0022923278156667948,
-0.020573783665895462,
-0.014496050775051117,
0.016267115250229836,
0.08174828439950943,
-0.00622528837993741,
0.03462771698832512,
0.04118554666638374,
0.003232040209695697,
-0.014941474422812462,
0.00885729305446148,
-0.02732948027551174,
-0.08313817530870438,
0.03647565841674805,
0.012508725747466087,
0.06734376400709152,
0.05987682193517685,
-0.0030444380827248096,
0.03879394009709358,
-0.010086116380989552,
0.019096897915005684,
0.042063672095537186,
0.004110368900001049,
0.042140454053878784,
0.020324012264609337,
0.005425095092505217,
-0.0333588533103466,
-0.012092327699065208,
-0.05050467327237129,
0.002106765750795603,
0.055672936141490936,
-0.0024593614507466555,
0.005393525119870901,
-0.01698475144803524,
0.03149927780032158,
-0.01733921840786934,
-0.032178446650505066,
0.03064829483628273,
-0.022079437971115112,
0.0022184494882822037,
-0.08070820569992065,
0.027705565094947815,
-0.038180697709321976,
0.010720538906753063,
-0.04594852775335312,
0.003342029172927141,
-0.0076124281622469425,
0.033889662474393845,
-0.003475267207249999,
-0.010940315201878548,
-0.1050645112991333,
0.016818007454276085,
-0.0056640454567968845,
-0.0014568300684913993,
0.01688464544713497,
0.04931248351931572,
0.014795211143791676,
-0.07817930728197098,
0.050479281693696976,
-0.03459571301937103,
0.005056507419794798,
-0.037844520062208176,
-0.015663620084524155,
0.010975790210068226,
0.0019250650657340884,
-0.038444723933935165,
0.031559526920318604,
0.07864592969417572,
-0.03607933595776558,
-0.024429501965641975,
-0.004558160435408354,
0.0023458513896912336,
-0.01699710823595524,
-0.008370690979063511,
0.003313360968604684,
-0.05995414778590202,
0.009788652881979942,
0.04631977155804634,
0.023595912382006645,
0.05945417284965515,
-0.030147595331072807,
-0.006397766526788473,
0.03886560723185539,
0.009756282903254032,
0.03097640536725521,
-0.027384217828512192,
-0.028545143082737923,
-0.029928909614682198,
-0.03936556726694107,
0.030714724212884903,
0.01017371378839016,
-0.038684483617544174,
-0.03025788441300392,
0.008615249767899513,
-0.05868514999747276,
0.024033725261688232,
-0.012401663698256016,
0.02525414526462555,
0.01228727400302887,
-0.006321210414171219,
-0.027383090928196907,
-0.021596232429146767,
0.008059929125010967,
0.0479593351483345,
-0.06657364964485168,
-0.05935569852590561,
-0.014840835705399513,
-0.04291294142603874,
0.00007693484803894535,
0.0022753127850592136,
-0.03672855347394943,
-0.011342010460793972,
-0.0393926240503788,
-0.000685479084495455,
-0.10422339290380478,
0.07922416925430298,
0.011317030526697636,
-0.01875847764313221,
0.020961208269000053,
0.0201497133821249,
0.032052189111709595,
0.0535026416182518,
0.007044401951134205,
0.09096241742372513,
-0.013749184086918831,
0.036036208271980286,
-0.0028428526129573584,
0.0352640338242054,
-0.0033266209065914154,
-0.06483224034309387,
0.008213230408728123,
0.08192095905542374,
0.012919784523546696,
0.015982849523425102,
0.01933712512254715,
-0.013602588325738907,
0.0036202503833919764,
0.011363879777491093,
0.03814290463924408,
0.03150072321295738,
0.015149969607591629,
-0.032241061329841614,
0.03549749404191971,
-0.006297968793660402,
0.013742391020059586,
0.020792538300156593,
-0.009276213124394417,
-0.02983805350959301,
0.007290330715477467,
0.043407611548900604,
0.017235254868865013,
0.029332464560866356,
0.059189703315496445,
0.0006474514375440776,
0.0242924764752388,
0.1066654697060585,
-0.011759579181671143,
0.005977791268378496,
-0.0433381050825119,
0.01925969310104847,
0.04813432693481445,
0.030631761997938156,
0.017950693145394325,
0.03057573363184929,
-0.006190222688019276,
-0.018170375376939774,
0.00027359710657037795,
0.02984924241900444,
-0.03544629365205765,
0.017337795346975327,
-0.046906065195798874,
-0.04994816333055496,
0.0445372611284256,
-0.03546486794948578,
0.016858307644724846,
0.02391626313328743,
0.07656830549240112,
-0.0034175149630755186,
0.018796391785144806,
-0.005056471098214388,
-0.07231226563453674,
0.03574031963944435,
-0.020469456911087036,
0.011000653728842735,
-0.01935628615319729,
0.024858761578798294,
0.06217319890856743,
0.01454292330890894,
-0.007632553577423096,
-0.01402059942483902,
-0.06790220737457275,
-0.05605606362223625,
-0.022144921123981476,
-0.008734477683901787,
0.057216718792915344,
-0.032904937863349915,
-0.012884948402643204,
0.03511451929807663,
0.01407710649073124,
0.027644548565149307,
0.011481917463243008,
-0.029484357684850693,
0.026127854362130165,
-0.05451536923646927,
-0.06093057245016098,
0.05428292974829674,
0.03413631021976471,
-0.03115062415599823,
-0.043691590428352356,
0.024164598435163498,
-0.0170795526355505,
0.000586788053624332,
0.028188852593302727,
-0.018311411142349243,
0.06960991024971008,
0.04220106080174446,
-0.003191723022609949,
-0.03404112532734871,
0.03821483999490738,
-0.05260709673166275,
0.00753960432484746,
-0.009399933740496635,
-0.023098066449165344,
-0.01206306554377079,
-0.008140762336552143,
0.10741516202688217,
0.046639472246170044,
-0.01942841149866581,
-0.07200297713279724,
0.05059071630239487,
0.016190560534596443,
-0.03463997691869736,
0.0005138165433891118,
-0.03895389288663864,
-0.01155900489538908,
0.006772317457944155,
-0.03819698095321655,
-0.007788209710270166,
-0.01903940550982952,
-0.023809317499399185,
-0.012771645560860634,
0.04098429158329964,
-0.002968799090012908,
0.06016094237565994,
0.02824830450117588,
-0.02065134607255459,
0.03353329747915268,
-0.02294144220650196,
-0.04506208747625351,
0.02765786461532116,
0.018136845901608467,
0.010818804614245892,
0.06569770723581314,
-0.04616592824459076,
-0.01899591274559498,
-0.022822730243206024,
-0.04224700480699539,
0.01902339793741703,
0.046347275376319885,
0.07965405285358429,
-0.0026856509502977133,
0.02884562499821186,
-0.03592626750469208,
-0.009582078084349632,
-0.021919656544923782,
-0.041925814002752304,
-0.01377873308956623,
-0.012163476087152958,
0.05172557011246681,
0.018193721771240234,
-0.006403892766684294,
-0.014305315911769867,
0.05229747295379639,
0.00897209346294403,
-0.0007875874289311469,
-0.03421281278133392,
0.017501166090369225,
-0.004266197793185711,
-0.010521836578845978,
-0.03516431525349617,
-0.023619962856173515,
0.0609101876616478,
-0.07225488126277924,
-0.024924101307988167,
0.00583125464618206,
-0.05059189721941948,
0.059530217200517654,
-0.04466751217842102,
-0.04543062299489975,
0.007224619388580322,
0.021004460752010345,
0.024698380380868912,
-0.016161896288394928,
0.004654504358768463,
0.08541897684335709,
0.030166277661919594,
0.012593787163496017,
0.0035476507619023323,
0.013049570843577385,
0.0038341025356203318,
0.008090200833976269,
0.040643833577632904,
0.007455384824424982,
-0.008656682446599007,
-0.030525434762239456,
-0.03398234397172928,
0.016555853188037872,
-0.04043057933449745,
-0.2788960039615631,
0.05772963911294937,
0.0012758125085383654,
-0.04780204966664314,
0.020739231258630753,
-0.03144681453704834,
0.033281080424785614,
-0.030509555712342262,
-0.01725621335208416,
0.016339268535375595,
-0.021163251250982285,
-0.0344163216650486,
-0.029854167252779007,
0.058377455919981,
-0.013816621154546738,
0.015356497839093208,
0.014963057823479176,
-0.04163096845149994,
-0.0047411005944013596,
0.04989853501319885,
0.01938786171376705,
-0.02635769173502922,
0.01197284460067749,
0.016164341941475868,
0.008958213962614536,
0.050927549600601196,
-0.09401977062225342,
0.06735093146562576,
-0.04510590434074402,
-0.015050681307911873,
0.016649069264531136,
-0.046440962702035904,
-0.0027259516064077616,
-0.02175811678171158,
-0.019479770213365555,
-0.022750912234187126,
0.00976751372218132,
0.023643720895051956,
-0.02344810590147972,
0.026242977008223534,
-0.042782872915267944,
-0.06631875038146973,
-0.03809105232357979,
-0.008513382636010647,
0.06108608469367027,
0.02873094007372856,
-0.04235219955444336,
-0.03361550346016884,
-0.011282055638730526,
0.07357583940029144,
-0.016895027831196785,
-0.03016444481909275,
-0.0038645390886813402,
0.002237140666693449,
-0.03842910751700401,
-0.008407704532146454,
-0.030612267553806305,
0.01127113588154316,
-0.05783601477742195,
-0.012107746675610542,
-0.001022003241814673,
-0.0583469420671463,
0.0220552496612072,
-0.04218101128935814,
-0.0211882796138525,
-0.03933245316147804,
-0.0643167644739151,
-0.012113283388316631,
0.06379079073667526,
0.029738901183009148,
0.0028146894183009863,
0.03941300883889198,
0.02012011967599392,
-0.10746515542268753,
-0.03135552257299423,
-0.045836761593818665,
-0.01905483566224575,
-0.012288711033761501,
-0.013429254293441772,
0.05656004697084427,
-0.05255058407783508,
-0.02678806334733963,
0.028277844190597534,
0.009092208929359913,
0.03337736800312996,
-0.025089479982852936,
-0.0015225873794406652,
-0.032844178378582,
-0.039634764194488525,
0.0086158886551857,
0.07624185085296631,
-0.024418840184807777,
-0.00534810870885849,
-0.03341347724199295,
0.004555735271424055,
0.04206916689872742,
0.01328275166451931,
0.00048212791443802416,
0.013024556450545788,
0.027161212638020515,
0.05854795500636101,
-0.0452396497130394,
0.017658647149801254,
-0.035524655133485794,
-0.010428321547806263,
-0.03803997486829758,
-0.06063712760806084,
0.03258559852838516,
0.023735037073493004,
0.015160205774009228,
-0.014487768523395061,
0.0025137225165963173,
0.026323219761252403,
-0.056208159774541855,
-0.01074913702905178,
0.012884014286100864,
0.015642885118722916,
0.01812474988400936,
0.025874854996800423,
-0.05815819650888443,
-0.04826484993100166,
0.01107031386345625,
0.047484368085861206,
0.0014518116367980838,
-0.04630275443196297,
-0.054624855518341064,
-0.025206981226801872,
-0.014830892905592918,
0.002298440784215927,
0.012447438202798367,
-0.027240565046668053,
0.0319194532930851,
0.027604661881923676,
0.004169905558228493,
0.021094510331749916,
-0.014063885435461998,
-0.040302079170942307,
-0.04975765943527222,
0.02804705500602722,
0.017452619969844818,
-0.007645058445632458,
0.02079024165868759,
-0.014045693911612034,
0.03356334939599037,
0.04570449888706207,
0.026567913591861725,
0.03976403921842575,
-0.002445641905069351,
0.02268652431666851,
-0.01755605638027191,
0.0015383008867502213,
-0.057384103536605835,
-0.0026252716779708862,
-0.02601621486246586,
-0.05759357288479805,
-0.017209554091095924,
0.046766769140958786,
-0.019998585805296898,
-0.03336396440863609,
-0.03668982908129692,
0.018165355548262596,
-0.043331924825906754,
0.013624249957501888,
-0.012065612711012363,
-0.02194596827030182,
0.051188286393880844,
0.002969753695651889,
0.03262566402554512,
0.0024943917524069548,
-0.0358659066259861,
0.0028373398818075657,
0.00761620094999671,
-0.019478313624858856,
0.02505524642765522,
0.0365702286362648,
0.01651696115732193,
0.005282460246235132,
0.011380153708159924,
0.012650629505515099,
0.023117857053875923,
0.01315633486956358,
0.0005763424560427666,
0.006917999591678381,
0.004505157470703125,
0.04693308845162392,
0.023489056155085564,
0.006115192547440529,
-0.004020975902676582,
-0.015614126808941364,
-0.017726760357618332,
-0.0272520799189806,
-0.016238108277320862,
-0.03742614760994911,
0.017977405339479446,
-0.012486818246543407,
-0.0766526609659195,
0.028141355141997337,
0.027231691405177116,
0.005089497193694115,
0.02544146403670311,
0.03276877850294113,
0.012676810845732689,
-0.02240409143269062,
0.03491613268852234,
0.047263577580451965,
-0.03231912478804588,
-0.02328556589782238,
0.007694005500525236,
0.020472368225455284,
0.026381567120552063,
0.004892777651548386,
-0.06362348049879074,
-0.00768057769164443,
0.013533275574445724,
0.015337974764406681,
-0.003650943748652935,
-0.04119925945997238,
-0.0291865486651659,
-0.011563031002879143,
-0.013315942138433456,
-0.014279748313128948,
0.012797041796147823,
0.01677936129271984,
-0.038529399782419205,
0.010747312568128109,
0.03257956728339195,
-0.012083593755960464,
-0.02029564417898655,
0.04482240974903107,
-0.009713143110275269,
0.00827382504940033,
-0.009560460224747658,
0.05076341703534126,
0.023867273703217506,
-0.012782271951436996,
-0.030735168606042862,
-0.042654942721128464,
0.025119204074144363,
-0.012231417931616306,
0.05826803669333458,
-0.0020425321999937296,
0.0008134790696203709,
-0.015662744641304016,
0.011215693317353725,
-0.016458556056022644,
0.02443579211831093,
-0.021842433139681816,
-0.023004895076155663,
0.012113872915506363,
0.05740025267004967,
0.00714863883331418,
0.0710979476571083,
0.019830934703350067,
-0.052680812776088715,
0.0546138696372509,
-0.06107369810342789,
-0.047755420207977295,
-0.0004620733670890331,
-0.04968457669019699,
0.020543623715639114,
0.02044874243438244,
0.0056884377263486385,
-0.041898004710674286,
0.05981092527508736,
0.06596682220697403,
0.026157107204198837,
0.015173654071986675,
0.0069769760593771935,
0.04356987029314041,
-0.03694535046815872,
-0.018737513571977615,
-0.09826517850160599,
0.007900330238044262,
0.0650138258934021,
0.008917039260268211,
0.0177730992436409,
-0.04338590055704117,
-0.025969022884964943,
-0.01281856931746006,
-0.06862492114305496,
-0.02855747379362583,
0.03226882591843605,
-0.011516565456986427,
0.005233841482549906,
0.0027131226379424334,
-0.062112875282764435,
0.0311847236007452,
0.02737751416862011,
-0.03327532857656479,
-0.025644782930612564,
-0.045759230852127075,
0.04262930154800415,
0.029177192598581314,
0.02182425558567047,
-0.03961453214287758,
-0.03136727958917618,
0.0574229434132576,
0.01787026971578598,
0.01915263757109642,
0.038030363619327545,
-0.032071348279714584,
0.040001969784498215,
0.02873826213181019,
-0.03825943171977997,
-0.018938960507512093,
0.031082946807146072,
-0.024276508018374443,
-0.04697614908218384,
0.006910099182277918,
0.011877481825649738,
-0.0058653573505580425,
-0.048926327377557755,
0.059343237429857254,
0.00893416441977024,
-0.04250971972942352,
-0.0315462127327919,
0.019414497539401054,
-0.02494734339416027,
-0.004687565844506025,
-0.05371387302875519,
0.01593686267733574,
-0.051867563277482986,
0.04967338591814041,
-0.035079143941402435,
-0.014405764639377594,
0.08405667543411255,
-0.010048756375908852,
0.01403926033526659,
-0.005350916646420956,
0.0846085250377655,
0.07442495971918106,
0.008824838325381279,
0.012664487585425377,
0.04372620955109596,
-0.0010849602986127138,
-0.015781201422214508,
0.02008356899023056,
-0.03838406875729561,
-0.037213291972875595,
0.007520358543843031,
0.017808768898248672,
0.08135975152254105,
-0.027679242193698883,
0.08206552267074585,
-0.026469027623534203,
-0.0031929113902151585,
-0.003777693025767803,
-0.0046997410245239735,
0.02746087871491909,
0.05007172003388405,
0.011934425681829453,
0.042332567274570465,
-0.004992604721337557,
-0.011458001099526882,
-0.0020060117822140455,
-0.011859030462801456,
-0.01212621945887804,
0.0379972942173481,
-0.007498136255890131,
-0.0008336404571309686,
0.04577168449759483,
0.04234253615140915,
0.08238057047128677,
-0.005379767622798681,
-0.010807073675096035,
-0.004237229935824871,
0.03839894384145737,
-0.0107267452403903,
-0.015931088477373123,
-0.006748146377503872,
-0.02137114852666855,
-0.02286512218415737,
-0.030132129788398743,
-0.026477977633476257,
-0.03436749428510666,
-0.06315895915031433,
0.006415644660592079,
-0.02822323888540268,
0.019244961440563202,
0.011299839243292809,
-0.008226110599935055,
-0.054753031581640244,
-0.048949629068374634,
-0.04924624040722847,
-0.04767199978232384,
-0.06022113934159279,
-0.013424909673631191,
0.009505187161266804,
0.007149748969823122,
-0.01874389871954918,
-0.0034827932249754667,
-0.033728502690792084,
-0.03481074422597885,
0.050449371337890625,
-0.04812050610780716,
0.010179399512708187,
0.03063875623047352,
0.022462790831923485,
0.0036895060911774635,
0.03639906272292137,
0.030902322381734848,
0.02394741028547287,
-0.0005905113648623228,
-0.004892769735306501,
-0.010365301743149757,
0.05167290195822716,
-0.0010376833379268646,
-0.02718879096210003,
-0.09889339655637741,
0.02227267436683178,
0.02218705788254738,
-0.021989069879055023,
-0.07745479792356491,
0.01077455747872591,
0.052119091153144836,
-0.01017837692052126,
0.03769930079579353,
-0.012208343483507633,
-0.0031189913861453533,
-0.03418819606304169,
-0.014779637567698956,
-0.009738191030919552,
0.011614011600613594,
0.04466066136956215,
-0.02448219433426857,
0.06250447034835815,
0.05585576221346855,
-0.024644555523991585,
-0.033275309950113297,
0.0004178584204055369,
-0.02793571911752224,
0.020891934633255005,
-0.04771018400788307,
-0.025738270953297615,
-0.030894571915268898,
-0.060544125735759735,
-0.02462201565504074,
0.005714941769838333,
-0.015883387997746468,
-0.025395691394805908,
0.03140490874648094,
0.056087810546159744,
-0.024833280593156815,
0.027041200548410416,
-0.025701940059661865,
0.028753461316227913,
-0.04761557653546333,
-0.050156086683273315,
0.00129493058193475,
0.022350791841745377,
-0.011973251588642597,
-0.0043214173056185246,
0.005761384032666683,
-0.032309144735336304,
-0.004892538767307997,
-0.0071392180398106575,
0.04451105743646622,
0.02568890154361725,
0.0009657808113843203,
-0.010478687472641468
] | [
-0.07906829565763474,
-0.02841521054506302,
-0.025328027084469795,
-0.04050819203257561,
0.05757612735033035,
-0.055796291679143906,
-0.009055779315531254,
0.03690570592880249,
0.016947217285633087,
-0.014052444137632847,
0.03131783753633499,
-0.01937565580010414,
-0.02075619250535965,
-0.007079999428242445,
0.05924573913216591,
-0.00708821602165699,
-0.035316601395606995,
-0.07982698827981949,
-0.025476040318608284,
0.02766856551170349,
-0.019935404881834984,
-0.04185260459780693,
-0.029924878850579262,
-0.04258819669485092,
0.004153480753302574,
0.04719251021742821,
0.0530470572412014,
-0.029311824589967728,
-0.020857132971286774,
-0.2408287525177002,
-0.0117868110537529,
0.001761063700541854,
0.0050105927512049675,
-0.011014237068593502,
0.02726012095808983,
0.0453234501183033,
0.019004682078957558,
-0.014009802602231503,
0.00876025389879942,
0.03168105706572533,
0.01929706148803234,
0.018034959211945534,
-0.09042360633611679,
-0.029216058552265167,
0.031740907579660416,
-0.00478327926248312,
-0.00622310396283865,
-0.015311989933252335,
0.02444637008011341,
0.024456286802887917,
-0.0670599490404129,
0.002352334326133132,
0.026532888412475586,
-0.030762309208512306,
0.013810195028781891,
0.007530947215855122,
0.07272300869226456,
0.07294488698244095,
0.0364350788295269,
0.023738132789731026,
0.006009378004819155,
-0.013890963979065418,
-0.1320318728685379,
0.05779599770903587,
0.03666317090392113,
0.010816776193678379,
-0.04681292921304703,
-0.03729483112692833,
-0.01122127566486597,
0.08889330923557281,
0.001398585271090269,
-0.02252592332661152,
-0.034148700535297394,
0.0871536061167717,
0.007670983672142029,
-0.001653940067626536,
0.006980635691434145,
0.016841480508446693,
0.011290198192000389,
-0.03662057965993881,
-0.06494427472352982,
-0.012141242623329163,
-0.029643142595887184,
-0.010928350500762463,
-0.06587345153093338,
0.050136301666498184,
-0.014615127816796303,
0.0856318399310112,
0.02358265034854412,
0.02704860456287861,
0.02852891944348812,
0.01179562322795391,
0.05734090879559517,
0.022917022928595543,
-0.09348991513252258,
-0.007642579264938831,
0.020833702757954597,
0.022164955735206604,
0.0173531211912632,
0.4230865240097046,
0.00939695443958044,
-0.02215443179011345,
0.05431251972913742,
0.059260930866003036,
-0.006767569109797478,
0.005175595171749592,
-0.009665696881711483,
-0.03391570225358009,
0.02401548996567726,
-0.015442508272826672,
0.012427904643118382,
0.00340317958034575,
0.054578471928834915,
-0.08842093497514725,
0.029251979663968086,
0.01635758765041828,
0.042350463569164276,
0.0017056972719728947,
-0.046384215354919434,
0.029232051223516464,
0.0041500660590827465,
0.01387032400816679,
0.033586952835321426,
0.003948603291064501,
0.031649090349674225,
-0.018140964210033417,
0.012881851755082607,
0.05122911557555199,
0.025206947699189186,
0.009506737813353539,
0.05552826076745987,
-0.01781686395406723,
-0.0746316984295845,
0.026668988168239594,
0.011406811885535717,
0.0049580796621739864,
0.022907638922333717,
-0.029829705134034157,
-0.023306433111429214,
-0.0056227450259029865,
-0.02906929701566696,
-0.014714100398123264,
0.010383443906903267,
-0.02597586065530777,
-0.03483279421925545,
0.1047046110033989,
-0.001666563213802874,
-0.01825512759387493,
0.0012731454335153103,
-0.08089518547058105,
-0.014831590466201305,
0.04662761092185974,
-0.001527749584056437,
-0.06566089391708374,
0.017677702009677887,
0.006084254942834377,
0.06844232976436615,
-0.010803645476698875,
-0.08022752404212952,
0.004804128780961037,
-0.03463815525174141,
-0.02506449818611145,
-0.033659569919109344,
0.0694907084107399,
0.04619739577174187,
-0.07285069674253464,
-0.02625255100429058,
0.0052854823879897594,
0.04311497136950493,
-0.05833788588643074,
-0.01381323579698801,
0.013340592384338379,
-0.036053553223609924,
-0.048213109374046326,
0.0398298054933548,
-0.015925616025924683,
-0.017628511413931847,
-0.015528314746916294,
0.037191182374954224,
0.021559694781899452,
0.006667638197541237,
0.014283901080489159,
-0.04317281395196915,
0.0063239578157663345,
-0.032155316323041916,
-0.09730085730552673,
-0.07664284855127335,
0.03871597722172737,
-0.027484459802508354,
0.0018729232251644135,
-0.033389657735824585,
-0.009380646981298923,
-0.05907449498772621,
0.09005565196275711,
-0.02758367359638214,
-0.028422720730304718,
-0.02094745822250843,
0.02734108828008175,
-0.026854151859879494,
-0.043792176991701126,
0.050534237176179886,
0.03085644170641899,
-0.023613886907696724,
0.028577936813235283,
-0.056903909891843796,
0.03403517231345177,
0.05551561713218689,
-0.026003092527389526,
0.07534108310937881,
0.03752470761537552,
-0.04128435254096985,
0.010993752628564835,
0.0013341079466044903,
0.01599915884435177,
-0.012449026107788086,
-0.039990976452827454,
-0.006812484003603458,
0.013878042809665203,
0.04030582681298256,
0.03636587783694267,
-0.035710349678993225,
-0.0015805794391781092,
-0.021440407261252403,
-0.3392869532108307,
-0.044379230588674545,
0.003621946554630995,
-0.006942078471183777,
0.02883070893585682,
-0.04033414646983147,
0.018305888399481773,
-0.04122480750083923,
0.023101305589079857,
0.0011534186778590083,
0.0743202418088913,
-0.005628598853945732,
0.020640311762690544,
-0.09479326009750366,
0.02142404206097126,
0.03680502623319626,
-0.010936873964965343,
0.014474224299192429,
-0.03737357631325722,
0.02613290399312973,
-0.02120358496904373,
-0.043349649757146835,
-0.043809909373521805,
-0.028733113780617714,
-0.01591772958636284,
-0.05277431011199951,
0.10974032431840897,
-0.007514249999076128,
0.0709371492266655,
-0.04772191122174263,
0.03236238658428192,
0.010032868012785912,
-0.016541065648198128,
-0.08301612734794617,
-0.018273264169692993,
-0.01895850896835327,
0.008490975946187973,
0.017625179141759872,
0.0015868995105847716,
0.022011833265423775,
-0.045161642134189606,
-0.02574264071881771,
-0.0510687418282032,
-0.033477574586868286,
0.012009955942630768,
0.01368548534810543,
-0.037711381912231445,
-0.02649577707052231,
0.005084230098873377,
0.06086937338113785,
0.009560109116137028,
0.005187489558011293,
0.007718042004853487,
0.03212142363190651,
0.050829265266656876,
-0.015257895924150944,
-0.04313070699572563,
0.01177461352199316,
0.03650019317865372,
0.0018628963734954596,
0.020481202751398087,
0.06406889855861664,
0.031666018068790436,
-0.061252497136592865,
0.01619911752641201,
0.023812521249055862,
0.010813306085765362,
0.007322708610445261,
0.0460684709250927,
-0.03059486113488674,
-0.036441829055547714,
0.12725159525871277,
-0.013851897791028023,
-0.001264754100702703,
0.03313632681965828,
0.04962053522467613,
-0.019029704853892326,
-0.01775590516626835,
0.028153369203209877,
0.012074404396116734,
0.03847946226596832,
-0.004787492100149393,
0.05483274534344673,
-0.02747337706387043,
-0.03417973965406418,
0.06714332848787308,
-0.0024600238539278507,
-0.0319606214761734,
0.04405483603477478,
0.009109173901379108,
-0.011013426817953587,
-0.009675172157585621,
-0.02177738957107067,
-0.05097748339176178,
0.07284795492887497,
-0.012683860026299953,
-0.2506202757358551,
0.007720406167209148,
0.03786353021860123,
0.045344457030296326,
-0.007253435906022787,
0.0016841539181768894,
0.01686909981071949,
-0.03341979160904884,
0.0037435642443597317,
0.033061590045690536,
0.010473356582224369,
0.012373678386211395,
-0.011614364571869373,
-0.0014184918254613876,
0.02792532555758953,
0.0029963755514472723,
0.02064250037074089,
0.002305587287992239,
0.03716886416077614,
0.010019692592322826,
0.0050661563873291016,
-0.03632801026105881,
0.17554707825183868,
0.04171731695532799,
0.004541570786386728,
0.041564665734767914,
-0.016366058960556984,
0.036274660378694534,
0.0643530860543251,
-0.009637490846216679,
-0.021912623196840286,
0.029175253584980965,
0.004906196612864733,
0.02622038871049881,
0.03780614212155342,
-0.06791385263204575,
-0.033276744186878204,
0.07137719541788101,
0.018780507147312164,
-0.010903510265052319,
-0.007718314882367849,
0.016612229868769646,
-0.02697533741593361,
0.00964816939085722,
0.05038437247276306,
-0.018091466277837753,
-0.023310132324695587,
-0.03778740018606186,
-0.07072456926107407,
0.002245021751150489,
-0.037704791873693466,
-0.044099267572164536,
-0.003857001895084977,
-0.03291957080364227,
-0.015890369191765785,
0.07265956699848175,
0.009238850325345993,
-0.03588630259037018,
0.009580305777490139,
0.021521372720599174,
0.012842088006436825,
-0.05359140783548355,
0.09931232035160065,
0.018661541864275932,
-0.001624022494070232
] | [
0.00891770888119936,
0.008238554932177067,
-0.04332141950726509,
0.003570579458028078,
-0.0209742970764637,
-0.004839727655053139,
-0.005365929566323757,
0.03591357171535492,
-0.036518584936857224,
0.005082136020064354,
-0.024196604266762733,
-0.011809424497187138,
0.004865736234933138,
-0.0213762279599905,
-0.027128826826810837,
-0.03691800311207771,
-0.002750132465735078,
-0.0025960723869502544,
0.016910964623093605,
-0.021419748663902283,
-0.042165424674749374,
0.006438781972974539,
0.04945167899131775,
-0.03757767379283905,
0.004857330583035946,
0.033318959176540375,
-0.0017431701999157667,
-0.014935731887817383,
0.002815255429595709,
-0.11029531806707382,
-0.016526075080037117,
-0.00615276163443923,
-0.015947731211781502,
0.01244401652365923,
0.005990631878376007,
0.006818234454840422,
-0.004255190026015043,
0.010525807738304138,
-0.0191093310713768,
-0.014317424967885017,
0.03266654536128044,
0.00007268689660122618,
-0.03842601180076599,
0.030894339084625244,
-0.0014082362176850438,
-0.020955657586455345,
-0.04961532726883888,
-0.04516298323869705,
0.007732471451163292,
-0.007230927236378193,
-0.04529886692762375,
-0.005917753558605909,
-0.013846190646290779,
0.021392658352851868,
-0.00996995996683836,
-0.01804664358496666,
0.03281254693865776,
0.006831577979028225,
-0.0033561582677066326,
0.012519256211817265,
0.012859988026320934,
0.002160371281206608,
-0.02157594822347164,
-0.026883440092206,
-0.003092377446591854,
0.011506290175020695,
0.019937224686145782,
0.012347949668765068,
0.022870656102895737,
0.017058122903108597,
-0.04239107295870781,
0.033182911574840546,
-0.07223992794752121,
-0.01540367491543293,
-0.0626174584031105,
0.006901474203914404,
0.014485946856439114,
-0.042669977992773056,
0.0007200381951406598,
-0.0014229918597266078,
-0.04685818776488304,
0.00430750846862793,
-0.018480008468031883,
0.0014074182836338878,
-0.02666766382753849,
0.05838518589735031,
-0.007993481121957302,
-0.022942710667848587,
0.04216780513525009,
0.012885186821222305,
-0.03482581675052643,
0.05485140159726143,
0.01181818824261427,
0.007956038229167461,
-0.09353954344987869,
0.04429059103131294,
-0.010715221986174583,
-0.020171402022242546,
-0.007494401186704636,
0.8245599865913391,
0.03422260284423828,
0.0157913938164711,
0.0038144083227962255,
0.0490642674267292,
-0.004919147584587336,
0.00016818009316921234,
0.007842529565095901,
0.0063268220983445644,
-0.0353175550699234,
-0.03197939321398735,
0.01833183504641056,
-0.01059705764055252,
0.019714010879397392,
0.01964259147644043,
0.03486068174242973,
0.010168634355068207,
0.02902590110898018,
0.03392419219017029,
0.02312340773642063,
0.033686235547065735,
-0.007665581535547972,
-0.008624664507806301,
-0.02877638302743435,
0.0024014327209442854,
0.01523829810321331,
-0.1281239539384842,
0.01518079824745655,
-6.902554255906321e-33,
0.016851510852575302,
-0.03349582478404045,
0.04001910984516144,
0.016757693141698837,
0.03127641603350639,
-0.00838251318782568,
-0.018084611743688583,
0.024719247594475746,
-0.00934348814189434,
-0.020303647965192795,
-0.017494702711701393,
-0.05755991488695145,
-0.0035702402237802744,
-0.02248532325029373,
0.03717339038848877,
-0.010020866058766842,
0.011830246075987816,
0.020762616768479347,
-0.03620906546711922,
0.016277633607387543,
-0.009561838582158089,
0.03017173893749714,
0.00880306214094162,
0.024591613560914993,
0.034469835460186005,
0.043756935745477676,
-0.017163073644042015,
0.029795190319418907,
-0.01250315923243761,
-0.050983794033527374,
-0.0411711260676384,
0.0069837127812206745,
-0.0026883678510785103,
-0.02629825286567211,
0.009794902056455612,
-0.07946108281612396,
-0.007377770729362965,
0.0025901084300130606,
-0.034796230494976044,
-0.0168903861194849,
-0.04154738038778305,
-0.0004507497069425881,
-0.019595665857195854,
-0.009415439330041409,
-0.008733741007745266,
-0.019971705973148346,
-0.021039973944425583,
0.04686206951737404,
-0.0037925951182842255,
0.01249609049409628,
0.04527859389781952,
0.02578822337090969,
0.014156492426991463,
-0.045864708721637726,
-0.0316569022834301,
0.031612880527973175,
0.028694676235318184,
0.01990445703268051,
-0.00982124637812376,
0.04882026091217995,
0.007476466707885265,
0.002934499178081751,
-0.00036242324858903885,
0.0650758296251297,
0.020264621824026108,
0.016237059608101845,
-0.005861558951437473,
-0.005482477135956287,
-0.0035131326876580715,
0.022208649665117264,
-0.08021310716867447,
0.03287424147129059,
-0.0002842916001100093,
-0.026841970160603523,
0.04103972762823105,
-0.008788133971393108,
-0.021386267617344856,
-0.0008779940544627607,
0.033405330032110214,
0.02528802491724491,
0.0167965330183506,
-0.019501741975545883,
-0.006115206517279148,
-0.060053110122680664,
0.005133813712745905,
-0.006175588816404343,
0.0015835020458325744,
-0.019790470600128174,
0.043887682259082794,
0.04980022460222244,
0.02307305857539177,
0.02635134942829609,
0.0078352065756917,
0.0008988855988718569,
-0.06833284348249435,
6.5343196302517e-33,
-0.024584529921412468,
0.0036816780921071768,
-0.038386277854442596,
0.018608015030622482,
-0.0005624154582619667,
0.02052808739244938,
0.014135642908513546,
0.024046894162893295,
-0.04707875847816467,
0.04702761769294739,
0.013057881966233253,
0.02264009788632393,
0.009801113978028297,
0.071321040391922,
0.07050734758377075,
-0.0031490998808294535,
0.04334653541445732,
0.009286084212362766,
-0.01565813645720482,
0.016271131113171577,
0.02702142484486103,
-0.015301882289350033,
0.013293490745127201,
-0.00977717898786068,
0.06161407381296158,
0.015285535715520382,
-0.006668749265372753,
0.02159787155687809,
-0.025111788883805275,
0.009673235937952995,
0.025176284834742546,
-0.012236732058227062,
-0.0029341646004468203,
-0.0185259822756052,
-0.022303076460957527,
0.01462783943861723,
0.004195350222289562,
0.02195904217660427,
0.030430618673563004,
-0.0011090990155935287,
0.0030723882373422384,
0.017419373616576195,
-0.011254500597715378,
0.0690511018037796,
-0.018713191151618958,
0.021734634414315224,
0.010283058509230614,
0.02949351631104946,
-0.032266296446323395,
-0.007346654776483774,
-0.037261899560689926,
0.017534416168928146,
-0.0032256771810352802,
0.022360539063811302,
0.0351567417383194,
-0.01710510067641735,
-0.023169608786702156,
0.006868185009807348,
-0.020449604839086533,
-0.04057254642248154,
-0.04003646969795227,
-0.044780414551496506,
-0.00453578308224678,
0.008517381735146046,
0.029806403443217278,
0.009704896248877048,
0.00892201904207468,
-0.0028012453112751245,
-0.025184711441397667,
-0.026678049936890602,
0.042158808559179306,
0.007146106567233801,
-0.047083333134651184,
0.0421103835105896,
0.0044662198051810265,
-0.012692546471953392,
-0.01802714169025421,
-0.020277300849556923,
-0.06223705783486366,
0.035950250923633575,
0.04087147116661072,
0.01829388737678528,
-0.02432066760957241,
-0.012762757018208504,
0.011045926250517368,
0.022011470049619675,
-0.04085704684257507,
0.012730082497000694,
0.008852689526975155,
-0.015551270917057991,
-0.023710131645202637,
0.002144020516425371,
-0.02640940435230732,
-0.004040801431983709,
-0.023001525551080704,
-1.2222600709321796e-8,
-0.005147761199623346,
0.00692781014367938,
-0.020906778052449226,
-0.0021177558228373528,
0.04242821782827377,
0.005830741487443447,
-0.028162820264697075,
0.009884212166070938,
0.012439875863492489,
0.029317984357476234,
0.003408019198104739,
-0.02795235998928547,
-0.01866232417523861,
0.02112843468785286,
0.02848006971180439,
-0.037253059446811676,
-0.003726832801476121,
-0.018438221886754036,
0.019405856728553772,
-0.0020372802391648293,
0.005946205463260412,
0.032010696828365326,
-0.03684744983911514,
0.03313373774290085,
-0.0052464185282588005,
-0.028462370857596397,
0.053863704204559326,
-0.06084592267870903,
0.027102483436465263,
-0.02968919463455677,
-0.014748846180737019,
-0.03286172077059746,
0.02062392048537731,
0.01880320906639099,
-0.035706158727407455,
-0.07098304480314255,
0.05124267190694809,
0.01986372284591198,
0.042271725833415985,
0.04478241875767708,
-0.03719019144773483,
0.0026764720678329468,
-0.046675361692905426,
-0.026409801095724106,
-0.013067034073174,
0.014236073940992355,
-0.047196999192237854,
-0.02786702662706375,
-0.006878885440528393,
-0.009526063688099384,
-0.007666542194783688,
-0.003992331679910421,
0.009630637243390083,
0.03665940463542938,
0.03022182546555996,
0.012196032330393791,
0.018642302602529526,
-0.017577936872839928,
-0.025091908872127533,
0.03781838342547417,
0.02577023394405842,
0.012316880747675896,
-0.028388483449816704,
-0.02658005803823471
] | java-determining-the-status-of-data-import-using-kill-signals | https://markhneedham.com/blog/2014/07/23/java-determining-the-status-of-data-import-using-kill-signals |
false | 2014-07-25 21:57:24 | R: ggplot - Plotting back to back charts using facet_wrap | [
"r-2"
] | [
"R"
] | Earlier in the week I showed a way to http://www.markhneedham.com/blog/2014/07/20/r-ggplot-plotting-back-to-back-bar-charts/[plot back to back charts using R's ggplot library] but looking back on the code it felt like it was a bit hacky to 'glue' two charts together using a grid.
I wanted to find a better way.
To recap, I came up with the following charts showing the RSVPs to Neo4j London meetup events https://github.com/mneedham/neo4j-meetup/blob/master/rScripts/rsvps.R[using this code]:
image::{{<siteurl>}}/uploads/2014/07/2014-07-20_17-42-401.png[2014 07 20 17 42 40,573]
The first thing we need to do to simplify chart generation is to return 'yes' and 'no' responses in the same cypher query, like so:
[source,cypher]
----
timestampToDate <- function(x) as.POSIXct(x / 1000, origin="1970-01-01", tz = "GMT")
query = "MATCH (e:Event)<-[:TO]-(response {response: 'yes'})
WITH e, COLLECT(response) AS yeses
MATCH (e)<-[:TO]-(response {response: 'no'})<-[:NEXT]-()
WITH e, COLLECT(response) + yeses AS responses
UNWIND responses AS response
RETURN response.time AS time, e.time + e.utc_offset AS eventTime, response.response AS response"
allRSVPs = cypher(graph, query)
allRSVPs$time = timestampToDate(allRSVPs$time)
allRSVPs$eventTime = timestampToDate(allRSVPs$eventTime)
allRSVPs$difference = as.numeric(allRSVPs$eventTime - allRSVPs$time, units="days")
----
The query is a bit verbose because we want to capture the 'no' responses when they initially said yes which is why we check for a 'NEXT' relationship when looking for the negative responses.
Let's inspect allRSVPs:
[source,r]
----
> allRSVPs[1:10,]
time eventTime response difference
1 2014-06-13 21:49:20 2014-07-22 18:30:00 no 38.86157
2 2014-07-02 22:24:06 2014-07-22 18:30:00 yes 19.83743
3 2014-05-23 23:46:02 2014-07-22 18:30:00 yes 59.78053
4 2014-06-23 21:07:11 2014-07-22 18:30:00 yes 28.89084
5 2014-06-06 15:09:29 2014-07-22 18:30:00 yes 46.13925
6 2014-05-31 13:03:09 2014-07-22 18:30:00 yes 52.22698
7 2014-05-23 23:46:02 2014-07-22 18:30:00 yes 59.78053
8 2014-07-02 12:28:22 2014-07-22 18:30:00 yes 20.25113
9 2014-06-30 23:44:39 2014-07-22 18:30:00 yes 21.78149
10 2014-06-06 15:35:53 2014-07-22 18:30:00 yes 46.12091
----
We've returned the actual response with each row so that we can distinguish between responses. It will also come in useful for pivoting our single chart later on.
The next step is to get ggplot to generate our side by side charts. I started off by plotting both types of response on the same chart:
[source,r]
----
ggplot(allRSVPs, aes(x = difference, fill=response)) +
geom_bar(binwidth=1)
----
image::{{<siteurl>}}/uploads/2014/07/2014-07-25_22-14-28.png[2014 07 25 22 14 28,519]
This one stacks the 'yes' and 'no' responses on top of each other which isn't what we want as it's difficult to compare the two.
What we need is the +++<cite>+++http://docs.ggplot2.org/0.9.3.1/facet_wrap.html[facet_wrap]+++</cite>+++ function which allows us to generate multiple charts grouped by key. We'll group by 'response':
</p>
[source,r]
----
ggplot(allRSVPs, aes(x = difference, fill=response)) +
geom_bar(binwidth=1) +
facet_wrap(~ response, nrow=2, ncol=1)
----
image::{{<siteurl>}}/uploads/2014/07/2014-07-25_22-34-46.png[2014 07 25 22 34 46,522]
The only thing we're missing now is the red and green colours which is where the +++<cite>+++http://docs.ggplot2.org/0.9.3.1/scale_manual.html[scale_fill_manual] function comes in handy:+++</cite>+++ ~~~r ggplot(allRSVPs, aes(x = difference, fill=response)) + scale_fill_manual(values=c("#FF0000", "#00FF00")) + geom_bar(binwidth=1) + facet_wrap(~ response, nrow=2, ncol=1) ~~~
image::{{<siteurl>}}/uploads/2014/07/2014-07-25_22-39-56.png[2014 07 25 22 39 56,519]
If we want to show the 'yes' chart on top we can pass in an extra parameter to +++<cite>+++facet_wrap+++</cite>+++ to change where it places the highest value: ~~~r ggplot(allRSVPs, aes(x = difference, fill=response)) + scale_fill_manual(values=c("#FF0000", "#00FF00")) + geom_bar(binwidth=1) + facet_wrap(~ response, nrow=2, ncol=1, as.table = FALSE) ~~~
image::{{<siteurl>}}/uploads/2014/07/2014-07-25_22-43-29.png[2014 07 25 22 43 29,519]
We could go one step further and group by response and day. First let's add a 'day' column to our data frame: ~~~r allRSVPs$dayOfWeek = format(allRSVPs$eventTime, "%A") ~~~
And now let's plot the charts using both columns: ~~~r ggplot(allRSVPs, aes(x = difference, fill=response)) + scale_fill_manual(values=c("#FF0000", "#00FF00")) + geom_bar(binwidth=1) + facet_wrap(~ response + dayOfWeek, as.table = FALSE) ~~~
image::{{<siteurl>}}/uploads/2014/07/2014-07-25_22-49-57.png[2014 07 25 22 49 57,600]
The distribution of dropouts looks fairly similar for all the days - Thursday is just at an order of magnitude below the other days because we haven't run many events on Thursdays so far.
At a glance it doesn't appear that so many people sign up for Thursday events on the day or one day before.
One potential hypothesis is that people have things planned for Thursday whereas they decide more last minute what to do on the other days.
We'll have to run some more events on Thursdays to see whether that trend holds out.
The https://github.com/mneedham/neo4j-meetup/blob/master/rScripts/rsvpsTake2.R[code is on github] if you want to play with it | null | null | [
0.015856953337788582,
-0.0350259467959404,
0.019529985263943672,
0.06923884153366089,
0.06314187496900558,
0.005650621838867664,
0.02365444041788578,
0.025209149345755577,
-0.00010219508112641051,
-0.011298933997750282,
0.0021382702980190516,
0.00047387456288561225,
-0.05533870682120323,
0.03154518082737923,
-0.0086435005068779,
0.08356224000453949,
0.06086493283510208,
-0.023790709674358368,
-0.0013290336355566978,
0.01384717132896185,
0.03167511150240898,
0.013328975066542625,
-0.0002983763988595456,
0.02975684590637684,
0.04140288755297661,
-0.01832016557455063,
-0.019836995750665665,
-0.0027593844570219517,
-0.04990856721997261,
0.003721602726727724,
0.06223791837692261,
0.0247561763972044,
0.011369067244231701,
-0.016274642199277878,
0.032402876764535904,
-0.02024044655263424,
-0.041884999722242355,
0.014075776562094688,
-0.0027503513265401125,
-0.02169913426041603,
-0.060595374554395676,
0.019979329779744148,
-0.022595981135964394,
-0.010671516880393028,
-0.014833655208349228,
0.01143595576286316,
-0.02764720655977726,
0.03673676773905754,
0.00503976084291935,
0.037795841693878174,
-0.08939780294895172,
0.035483572632074356,
0.013276376761496067,
0.010984506458044052,
-0.042655277997255325,
0.022110888734459877,
0.016308618709445,
-0.046900633722543716,
0.017426662147045135,
-0.03853686526417732,
-0.01085806917399168,
-0.005770823452621698,
-0.008380124345421791,
0.03274926915764809,
-0.011169987730681896,
-0.030236778780817986,
0.014223054051399231,
0.04605734720826149,
-0.02417123131453991,
-0.0015973363770172,
-0.01965540647506714,
0.01889786310493946,
0.006828827317804098,
0.00664479611441493,
-0.005698746535927057,
-0.03294684737920761,
-0.012310207821428776,
0.044456541538238525,
0.01859111152589321,
0.035345133394002914,
-0.005552483256906271,
-0.010814068838953972,
0.028234753757715225,
0.014981263317167759,
-0.00022863327467348427,
-0.03431542590260506,
-0.02698284573853016,
-0.057478103786706924,
-0.05545811355113983,
0.05420009046792984,
-0.006906291004270315,
-0.07043232023715973,
0.020128116011619568,
0.010324431583285332,
-0.0023383693769574165,
0.0182191114872694,
-0.011248544789850712,
-0.006077632308006287,
0.00640333816409111,
-0.017730940133333206,
-0.06440776586532593,
-0.04892049357295036,
0.03490755334496498,
0.028173867613077164,
-0.07524041831493378,
-0.034245215356349945,
-0.03496462106704712,
-0.03780616074800491,
-0.017966095358133316,
0.016198575496673584,
-0.055283091962337494,
-0.0005154801183380187,
-0.012551834806799889,
0.007513801567256451,
-0.07079175114631653,
0.07142012566328049,
0.04077407717704773,
-0.01693316362798214,
-0.01795653998851776,
-0.01464015245437622,
0.0524735189974308,
0.01992577500641346,
-0.013570977374911308,
0.06959355622529984,
-0.005996240768581629,
0.06715024262666702,
0.012533175759017467,
0.03809982165694237,
-0.026038847863674164,
-0.054071225225925446,
-0.013857530429959297,
0.055120810866355896,
-0.043530263006687164,
-0.0005688144592568278,
-0.011551822535693645,
-0.021920988336205482,
-0.007281049154698849,
-0.012328033335506916,
0.04853666573762894,
0.044487081468105316,
0.030706720426678658,
-0.03433459252119064,
0.03286482393741608,
0.0027441808488219976,
0.04534657672047615,
0.028270430862903595,
-0.026189016178250313,
-0.050089750438928604,
-0.04079863429069519,
0.004916850943118334,
0.024552449584007263,
0.012269674800336361,
0.050232354551553726,
-0.02147713117301464,
0.0069527896121144295,
0.10502102971076965,
0.025644177570939064,
0.015032095834612846,
-0.010099029168486595,
-0.007759137079119682,
0.05167863145470619,
0.0263931043446064,
0.011060332879424095,
0.0795876756310463,
-0.015049940906465054,
-0.002480017952620983,
-0.0028070558328181505,
0.060481999069452286,
-0.03716021403670311,
-0.008225344121456146,
-0.046481240540742874,
-0.021155154332518578,
0.05183212459087372,
-0.03622914478182793,
0.005001910030841827,
0.05863696709275246,
0.08609665930271149,
0.03157705068588257,
0.02058829553425312,
0.005148584954440594,
-0.07495702803134918,
0.05212097987532616,
0.02847050502896309,
0.006934631150215864,
0.02148021012544632,
-0.021722814068198204,
0.08736099302768707,
0.004996681120246649,
0.022547613829374313,
0.05361403524875641,
-0.07605092972517014,
-0.04532308131456375,
-0.010229213163256645,
-0.029753785580396652,
0.053614918142557144,
-0.023196063935756683,
0.021131303161382675,
0.05422348156571388,
-0.008438359946012497,
0.0383504219353199,
0.008755246177315712,
0.00212487974204123,
0.015619153156876564,
-0.01631673239171505,
-0.04605763033032417,
0.01380628440529108,
0.02678089775145054,
-0.03187605366110802,
-0.032808925956487656,
-0.01746261492371559,
-0.018924105912446976,
0.05548737198114395,
0.04213947430253029,
-0.00492955232039094,
0.06583019345998764,
0.04349398612976074,
0.07880376279354095,
0.013926725834608078,
0.012480895966291428,
-0.05077030882239342,
0.0486384779214859,
0.012252924032509327,
-0.006170633714646101,
-0.03191733732819557,
-0.021117430180311203,
0.1243736669421196,
0.07261697202920914,
-0.008207764476537704,
-0.06264376640319824,
0.020525921136140823,
-0.01950897090137005,
-0.01301478035748005,
0.017769573256373405,
-0.030476940795779228,
-0.010607059113681316,
0.004145561717450619,
-0.02579154260456562,
-0.03241235390305519,
-0.026835978031158447,
-0.03344334289431572,
0.020639624446630478,
0.053837455809116364,
-0.01202499121427536,
0.051672689616680145,
-0.02274206280708313,
0.0036862161941826344,
-0.02125450409948826,
-0.024648061022162437,
-0.0706462636590004,
0.018701300024986267,
0.017486752942204475,
0.010079342871904373,
0.0600937120616436,
-0.02521146833896637,
0.004483944736421108,
-0.011305570602416992,
-0.031284116208553314,
0.004150614142417908,
0.04315584897994995,
0.06640040874481201,
0.022644242271780968,
0.019558865576982498,
-0.014558332040905952,
-0.0004887055256403983,
-0.011318249627947807,
-0.0732390433549881,
-0.07049957662820816,
-0.009404545649886131,
0.011108499951660633,
0.020541878417134285,
0.028594447299838066,
-0.02553478069603443,
-0.006280975416302681,
0.014177748933434486,
0.00613959226757288,
-0.03074696660041809,
0.01578550972044468,
0.005613840185105801,
-0.011965160258114338,
-0.020585009828209877,
-0.003695463063195348,
0.0430699922144413,
-0.040604159235954285,
-0.022369908168911934,
-0.01715681701898575,
-0.04028456285595894,
0.04266111180186272,
-0.06483647972345352,
-0.0214692372828722,
-0.008012236095964909,
0.034029774367809296,
0.057450518012046814,
0.02849467471241951,
0.026720905676484108,
0.04725588485598564,
0.01610373519361019,
0.02649279497563839,
0.02881391905248165,
-0.014495009556412697,
0.05948222801089287,
0.0018566374201327562,
0.039575837552547455,
0.051966212689876556,
-0.029555873945355415,
-0.017056487500667572,
-0.04651295021176338,
0.011124608106911182,
-0.048375170677900314,
-0.27448469400405884,
0.028090866282582283,
-0.022820625454187393,
-0.03627971187233925,
-0.001024841796606779,
-0.04146930202841759,
0.04245343804359436,
-0.028087401762604713,
-0.025683635845780373,
-0.02514469064772129,
0.022572671994566917,
-0.06018412485718727,
-0.04012160748243332,
0.056023359298706055,
0.03946562483906746,
0.012030569836497307,
0.012171517126262188,
-0.060687240213155746,
0.02559611387550831,
0.04441611096262932,
0.024992244318127632,
-0.05173685774207115,
0.017031634226441383,
0.03266933560371399,
0.021572912111878395,
0.05628696456551552,
-0.082694411277771,
0.02449987456202507,
-0.05814183130860329,
-0.034615643322467804,
0.02013060264289379,
-0.020353326573967934,
0.013005811721086502,
-0.0040388102643191814,
-0.0006269881268963218,
-0.035104576498270035,
0.034359224140644073,
0.013106174767017365,
0.020575035363435745,
0.035605717450380325,
-0.029257439076900482,
-0.040143586695194244,
-0.006199553143233061,
-0.010765301994979382,
0.08161036670207977,
0.02302571013569832,
-0.043384525924921036,
-0.004698979668319225,
-0.009109645150601864,
0.0684957429766655,
-0.02622721903026104,
-0.011229969561100006,
-0.02080051228404045,
-0.005264373496174812,
-0.08233445137739182,
-0.03643198683857918,
-0.03263821080327034,
-0.010468301363289356,
-0.03689096122980118,
-0.03884240612387657,
-0.009933384135365486,
-0.02732139639556408,
0.015780173242092133,
-0.027679914608597755,
-0.030581172555685043,
-0.05873098596930504,
-0.09076689928770065,
-0.042432866990566254,
0.07363755255937576,
0.032369621098041534,
-0.0285993292927742,
-0.009524749591946602,
-0.018055329099297523,
-0.10718441754579544,
-0.021548865363001823,
-0.024624168872833252,
-0.009155168198049068,
-0.024763451889157295,
0.015191872604191303,
0.02787627838551998,
-0.05577186867594719,
-0.06613689661026001,
0.02168448269367218,
0.006146072410047054,
0.026714425534009933,
0.03791580721735954,
-0.04511743038892746,
-0.017517145723104477,
-0.035223573446273804,
-0.0023995533119887114,
0.06532881408929825,
-0.039134036749601364,
-0.02053448185324669,
0.005090982653200626,
-0.015014895237982273,
0.040252603590488434,
0.0416417233645916,
-0.011796209029853344,
0.03644244372844696,
0.021915454417467117,
0.02921472303569317,
-0.05868540331721306,
0.03966124728322029,
-0.042649369686841965,
-0.018011603504419327,
-0.028216032311320305,
-0.031976182013750076,
0.016254210844635963,
0.031020572409033775,
0.026829812675714493,
-0.008598674088716507,
-0.005828881170600653,
0.026075568050146103,
-0.0628383606672287,
-0.01645541377365589,
0.00030039725243113935,
0.030509712174534798,
0.008807416073977947,
0.04584544152021408,
-0.03441287577152252,
-0.03891921415925026,
-0.0014628886710852385,
0.00006633611337747425,
-0.00903306808322668,
-0.03250699117779732,
-0.023638883605599403,
-0.005780404433608055,
-0.0242467001080513,
0.010811970569193363,
0.02223423309624195,
-0.024977680295705795,
0.021099070087075233,
0.04649601876735687,
-0.04580375552177429,
0.05949493125081062,
-0.0002043806598521769,
-0.03785855323076248,
-0.022727293893694878,
0.017885293811559677,
0.003777591045945883,
-0.008215613663196564,
0.012500906363129616,
-0.009609145112335682,
0.040157251060009,
0.019241634756326675,
-0.00193033367395401,
0.02725863829255104,
-0.010859793052077293,
0.01269538514316082,
0.0029126645531505346,
-0.01690170355141163,
-0.018299268558621407,
-0.01579706370830536,
-0.02583179995417595,
-0.010017450898885727,
-0.021246638149023056,
0.049934398382902145,
-0.002297832863405347,
0.005438409745693207,
-0.042836837470531464,
0.04163233935832977,
-0.07751279324293137,
-0.013176954351365566,
-0.024492407217621803,
0.010442233644425869,
0.03409823775291443,
-0.012507859617471695,
0.015342759899795055,
-0.012822628021240234,
-0.021403875201940536,
0.004249260760843754,
0.01572810299694538,
-0.021692635491490364,
0.023745235055685043,
-0.022491270676255226,
0.009777531959116459,
0.01888447254896164,
0.002703169360756874,
0.044242456555366516,
-0.002343144966289401,
0.017963621765375137,
-0.005558319389820099,
0.019759608432650566,
-0.007162186317145824,
0.031831927597522736,
0.05143260210752487,
-0.019174156710505486,
-0.0023148790933191776,
-0.014768284745514393,
-0.005267749074846506,
-0.005195042584091425,
-0.012663633562624454,
-0.03215545043349266,
0.018004227429628372,
-0.03935661166906357,
-0.0763925239443779,
-0.005087549798190594,
0.007409058511257172,
0.017461635172367096,
0.019528735429048538,
-0.012089530006051064,
0.018968738615512848,
-0.007242532446980476,
0.021617727354168892,
0.055479634553194046,
-0.039067793637514114,
-0.009641378186643124,
0.008740189485251904,
0.0035630555357784033,
-0.0038168318569660187,
0.03370339050889015,
-0.05298089608550072,
-0.03407379984855652,
0.01741155982017517,
0.026476062834262848,
-0.012040633708238602,
-0.04238637536764145,
-0.049938395619392395,
-0.002979762852191925,
0.016295021399855614,
0.034695494920015335,
-0.0006619450286962092,
-0.013580801896750927,
-0.01644073612987995,
0.009222759865224361,
0.039079658687114716,
-0.022947074845433235,
-0.037422459572553635,
0.0315774530172348,
-0.021440153941512108,
0.017114337533712387,
-0.01615334115922451,
0.008605257607996464,
0.025247739627957344,
-0.03551014885306358,
0.0021993250120431185,
-0.07392912358045578,
0.010003995150327682,
0.003620989853516221,
0.048162199556827545,
-0.0020453715696930885,
-0.00839579850435257,
-0.015972290188074112,
0.01621631160378456,
-0.0024308147840201855,
-0.007221710402518511,
0.014645040035247803,
-0.008508928120136261,
0.027623901143670082,
0.02958914451301098,
0.023503746837377548,
0.006676289718598127,
0.0029833612497895956,
-0.03859088942408562,
0.04136618971824646,
-0.05702321231365204,
-0.053680259734392166,
-0.007293762639164925,
-0.056947678327560425,
-0.00637657567858696,
-0.0034148762933909893,
-0.0007241388084366918,
-0.03630392998456955,
0.058932267129421234,
0.04393375292420387,
0.04112451523542404,
0.07001625746488571,
0.005945224780589342,
0.003354268614202738,
-0.02109951712191105,
0.010969244875013828,
-0.07572214305400848,
-0.0035143159329891205,
0.03677208349108696,
0.016484634950757027,
-0.0336645133793354,
-0.007680105976760387,
-0.048442039638757706,
0.035727497190237045,
-0.05016457661986351,
-0.030961494892835617,
0.0438862219452858,
0.001253445167094469,
0.018989458680152893,
0.004499239847064018,
-0.06951890885829926,
-0.002200958551838994,
0.054321229457855225,
-0.04437632113695145,
-0.010579398833215237,
-0.0212453193962574,
0.05504246801137924,
-0.027500102296471596,
0.03257637098431587,
-0.04603937640786171,
-0.023069947957992554,
0.06886720657348633,
0.0115019790828228,
0.0006427370244637132,
0.07069148868322372,
-0.03696458414196968,
0.025368614122271538,
0.03096509352326393,
-0.02220814675092697,
0.00003687965727294795,
0.029306279495358467,
0.013934167101979256,
-0.0516963005065918,
0.030690649524331093,
0.0073546478524804115,
-0.01721169240772724,
-0.05009206384420395,
0.07087396085262299,
-0.02219902165234089,
-0.042602721601724625,
-0.040468979626894,
0.013362737372517586,
-0.014681486412882805,
0.009011218324303627,
-0.0069716088473796844,
0.009347899816930294,
-0.01990685984492302,
0.07296720892190933,
-0.04547228291630745,
0.012554976157844067,
0.0653541088104248,
0.008606679737567902,
0.012856470420956612,
0.020867636427283287,
0.087534599006176,
0.0958666130900383,
0.05520237237215042,
0.009917325340211391,
0.06543860584497452,
-0.04568614065647125,
-0.0312683992087841,
-0.008902102708816528,
-0.02417181245982647,
-0.03436640650033951,
-0.012490308843553066,
0.018900999799370766,
0.0585644505918026,
-0.023800240829586983,
0.04693252965807915,
-0.006633780896663666,
-0.03950192779302597,
-0.005704299081116915,
-0.020216017961502075,
0.029100043699145317,
0.05409535393118858,
0.02168962173163891,
0.02771766670048237,
-0.012030491605401039,
-0.027061717584729195,
0.026489311829209328,
-0.03888082131743431,
-0.00946752168238163,
0.01976703107357025,
-0.003938843030482531,
-0.0056963455863296986,
0.009684482589364052,
0.0070982566103339195,
0.06651780754327774,
-0.019411442801356316,
-0.009873734787106514,
0.03386636823415756,
0.04794513061642647,
0.019454848021268845,
0.018164638429880142,
-0.015641581267118454,
-0.014696849510073662,
-0.018796797841787338,
-0.06304167211055756,
-0.009675061330199242,
-0.02902417816221714,
-0.029852233827114105,
0.024023601785302162,
-0.032318856567144394,
0.014549044892191887,
0.028527140617370605,
-0.06005105376243591,
-0.045485109090805054,
-0.056996315717697144,
-0.04403533786535263,
-0.06773919612169266,
-0.07422580569982529,
-0.02509610541164875,
0.007858289405703545,
-0.017499851062893867,
-0.041132621467113495,
-0.004793283063918352,
-0.015568220056593418,
-0.031417377293109894,
0.0020168523769825697,
-0.027996918186545372,
-0.0113613810390234,
0.019364183768630028,
-0.007439785171300173,
0.006173715926706791,
0.026807162910699844,
0.04636756330728531,
0.02267024666070938,
-0.004851030185818672,
-0.05255777761340141,
0.026631230488419533,
0.04397311061620712,
0.0486169308423996,
0.010802384465932846,
-0.07815847545862198,
0.005889798514544964,
-0.003882509656250477,
-0.01857905648648739,
-0.09082824736833572,
0.015879733487963676,
0.006833631545305252,
-0.017903251573443413,
0.029187187552452087,
-0.012324489653110504,
-0.007225425448268652,
-0.021896015852689743,
-0.019108805805444717,
-0.004087056033313274,
0.04037731885910034,
0.043034426867961884,
-0.03354334831237793,
0.03659292683005333,
0.05879891291260719,
-0.01472027599811554,
-0.01186218298971653,
-0.02400597557425499,
-0.00038225730531848967,
-0.0240382831543684,
-0.03399112448096275,
-0.04105988144874573,
-0.04111657291650772,
-0.09912360459566116,
-0.03615875914692879,
-0.002024177461862564,
-0.030140193179249763,
-0.004320378880947828,
0.008621635846793652,
0.04034363478422165,
-0.021384824067354202,
0.02558007463812828,
-0.040756914764642715,
0.022444186732172966,
-0.010539183393120766,
-0.012503323145210743,
-0.009579446166753769,
0.022229790687561035,
-0.01811361499130726,
0.02092329040169716,
-0.0008256891160272062,
-0.04500066116452217,
0.006148016545921564,
-0.030562210828065872,
0.0315135158598423,
0.04892762750387192,
0.041328202933073044,
0.030119281262159348
] | [
-0.050056248903274536,
-0.009848308749496937,
-0.048302389681339264,
-0.007035267073661089,
0.07662368565797806,
-0.024714458733797073,
-0.06039445847272873,
0.0017061368562281132,
0.022663410753011703,
-0.0187260489910841,
-0.004192352294921875,
-0.027652747929096222,
0.03618212416768074,
0.02457648515701294,
0.045091528445482254,
-0.015997568145394325,
-0.05263420194387436,
-0.032694581896066666,
-0.018854673951864243,
0.042261622846126556,
-0.03776228055357933,
-0.04101140424609184,
-0.04326734319329262,
-0.03776364400982857,
0.07356399297714233,
0.0427430085837841,
0.013526014052331448,
-0.03740854188799858,
-0.0275281835347414,
-0.20688657462596893,
0.015185837633907795,
0.01339374203234911,
-0.00956881232559681,
-0.0020505774300545454,
-0.025355158373713493,
0.03245887532830238,
0.051757704466581345,
0.006917715538293123,
0.041807495057582855,
0.02998003363609314,
0.01527799479663372,
-0.005362730007618666,
-0.049774229526519775,
-0.004982589744031429,
0.04419499635696411,
0.011768822558224201,
-0.04260614514350891,
0.00002299222251167521,
-0.006126691121608019,
0.01749270409345627,
-0.009332510642707348,
-0.017539214342832565,
-0.020434195175766945,
0.0010010554688051343,
0.005836335010826588,
0.05732258781790733,
0.042695093899965286,
0.02925814315676689,
0.03193835914134979,
0.031058423221111298,
-0.026215070858597755,
-0.002496319590136409,
-0.1812942922115326,
0.06666914373636246,
0.013384398072957993,
0.018255485221743584,
-0.051143888384103775,
0.024581830948591232,
-0.029183195903897285,
0.0881207063794136,
0.013223634101450443,
-0.0021154144778847694,
-0.04542306065559387,
0.03196362778544426,
-0.023737601935863495,
0.00879469234496355,
-0.04542657732963562,
0.01615670882165432,
0.019315939396619797,
-0.03248174488544464,
-0.019127480685710907,
0.05142940208315849,
-0.029452195391058922,
-0.0020268855150789022,
0.025281965732574463,
0.02229759469628334,
-0.019918790087103844,
0.041625674813985825,
0.021685242652893066,
0.03683410584926605,
0.04472882300615311,
0.0033849989995360374,
0.05521971359848976,
0.005911251995712519,
-0.10650751739740372,
-0.020164864137768745,
0.020352745428681374,
0.012476117350161076,
0.019413789734244347,
0.37744852900505066,
-0.005175282713025808,
-0.00248263799585402,
0.04286270961165428,
0.08187254518270493,
0.007259256672114134,
-0.04776129499077797,
-0.009340415708720684,
-0.07049159705638885,
0.03688961640000343,
-0.0072353738360106945,
0.013849868439137936,
-0.063168004155159,
0.052340783178806305,
-0.07858041673898697,
-0.008159461431205273,
-0.025093812495470047,
0.022669432684779167,
0.027744295075535774,
0.015355492010712624,
-0.0033106934279203415,
-0.008817548863589764,
0.0009726659627631307,
0.029713932424783707,
0.001738143851980567,
0.06107780337333679,
0.01807018741965294,
0.0393521822988987,
0.043470412492752075,
0.04916591942310333,
0.011105936020612717,
0.06911837309598923,
-0.014811997301876545,
-0.06420866400003433,
0.024196192622184753,
-0.025050709024071693,
0.0012288938742130995,
0.050348639488220215,
-0.03656872361898422,
0.025756172835826874,
0.03111131116747856,
-0.014101020991802216,
0.0015429339837282896,
0.03277179226279259,
-0.00843349564820528,
-0.02012002281844616,
0.1489238739013672,
-0.009390302933752537,
-0.04665756970643997,
-0.021167952567338943,
-0.053918998688459396,
-0.027195312082767487,
0.026770181953907013,
0.022774385288357735,
-0.07088534533977509,
-0.0031287006568163633,
0.04144668206572533,
0.0622321292757988,
0.004394497722387314,
-0.05658750981092453,
0.013530083000659943,
-0.0058615971356630325,
-0.03299789875745773,
-0.05364391207695007,
0.052564192563295364,
0.06522559374570847,
-0.12083691358566284,
-0.009164239279925823,
0.030845999717712402,
0.003989160992205143,
-0.0735708549618721,
0.01284234318882227,
0.009381384588778019,
0.004235350992530584,
-0.03093857504427433,
0.08590105921030045,
-0.00163017469458282,
-0.03306680917739868,
-0.002353071700781584,
0.05607451871037483,
0.01109711267054081,
0.0013554050819948316,
-0.03755616396665573,
-0.04989560320973396,
0.008567456156015396,
-0.07871919125318527,
-0.04484695568680763,
-0.07659284770488739,
0.026242205873131752,
-0.03881943225860596,
-0.0361151397228241,
0.010137084871530533,
-0.058288946747779846,
-0.055092453956604004,
0.08143926411867142,
-0.04225406423211098,
-0.03473009914159775,
-0.016102487221360207,
-0.006521672010421753,
0.0033750017173588276,
-0.039450496435165405,
0.004263204988092184,
-0.022254934534430504,
0.003588339313864708,
0.032352808862924576,
-0.05876512452960014,
0.022781506180763245,
0.056529100984334946,
-0.03724505379796028,
0.05708387494087219,
0.05903961509466171,
-0.003419127082452178,
0.004165151622146368,
-0.026332823559641838,
0.011870934627950191,
-0.006588560063391924,
-0.00852350052446127,
-0.007378062233328819,
-0.011877232231199741,
-0.016369393095374107,
0.0403255932033062,
-0.0018112137913703918,
-0.017170170322060585,
0.005965964403003454,
-0.3497636020183563,
-0.02896169200539589,
0.01327386312186718,
0.01942901313304901,
0.03777873516082764,
-0.03560784086585045,
0.01679115556180477,
-0.010837888345122337,
0.0017076419899240136,
0.04517669230699539,
0.09078150987625122,
0.03294458985328674,
-0.011146307922899723,
-0.12156330794095993,
-0.01032349094748497,
0.027382317930459976,
-0.016525788232684135,
0.007391688879579306,
-0.034801241010427475,
-0.022160604596138,
-0.01929384283721447,
-0.020912915468215942,
-0.026734624058008194,
-0.02394377440214157,
0.02280198223888874,
-0.0018934113904833794,
0.13514797389507294,
0.00247776135802269,
0.02177347056567669,
-0.042023781687021255,
0.021411804482340813,
0.0019846586510539055,
0.008123679086565971,
-0.038084857165813446,
0.004608058370649815,
0.0019581387750804424,
0.054906461387872696,
0.03754640743136406,
-0.01846870221197605,
-0.03176790848374367,
-0.05469609797000885,
0.0028478067833930254,
-0.03139881417155266,
-0.04701460152864456,
-0.04277190566062927,
0.02088412083685398,
-0.017026735469698906,
-0.010182722471654415,
0.013073467649519444,
0.0731753408908844,
0.012146047316491604,
-0.03254970908164978,
0.005851026624441147,
0.01776047982275486,
0.018975378945469856,
0.003531058318912983,
-0.07422972470521927,
-0.032093849033117294,
0.010770347900688648,
-0.004174439236521721,
-0.007169303018599749,
0.04988971725106239,
0.04997525364160538,
-0.10470381379127502,
0.008804937824606895,
0.03268302604556084,
0.0015011470532044768,
-0.01237870380282402,
0.0290983896702528,
0.005252992734313011,
-0.03737134486436844,
0.08249302208423615,
-0.031245926395058632,
0.052480317652225494,
0.048423293977975845,
0.06093967705965042,
-0.04636255279183388,
0.016170818358659744,
0.02737065590918064,
0.020487725734710693,
0.028951847925782204,
-0.04551093652844429,
0.05246995761990547,
0.004143860191106796,
0.0004155962378717959,
0.024568166583776474,
-0.013685225509107113,
-0.05739225447177887,
0.051852401345968246,
0.02482563629746437,
-0.007728827651590109,
-0.018506193533539772,
-0.013088854029774666,
-0.02110816352069378,
0.07021764665842056,
-0.0037081341724842787,
-0.28527674078941345,
0.048107732087373734,
0.009735611267387867,
0.05469797924160957,
-0.017715146765112877,
0.012323522008955479,
0.025334816426038742,
-0.011244663037359715,
-0.01626710407435894,
-0.0030855664517730474,
0.01351943053305149,
0.06452061980962753,
0.007099738344550133,
-0.01113609503954649,
-0.0006119883619248867,
-0.008283821865916252,
0.05721418559551239,
-0.015102199278771877,
0.03514006733894348,
-0.014278904534876347,
0.0647217333316803,
-0.036722928285598755,
0.15561895072460175,
0.04954366758465767,
0.0020650201477110386,
0.028336670249700546,
-0.055162474513053894,
-0.0350826121866703,
0.0818755254149437,
-0.02368002012372017,
-0.01036350429058075,
0.03096879832446575,
0.0052734604105353355,
0.009384277276694775,
0.02253275364637375,
-0.009631484746932983,
-0.044797755777835846,
0.044116731733083725,
0.015284055843949318,
-0.025530923157930374,
-0.006505351513624191,
0.00848971027880907,
-0.037675708532333374,
0.02816026471555233,
0.0744965597987175,
-0.026726795360445976,
-0.00016314239474013448,
-0.029182814061641693,
-0.051435500383377075,
0.0024975610431283712,
-0.035189416259527206,
-0.03700067475438118,
-0.049214884638786316,
-0.004083831328898668,
-0.023681093007326126,
0.05544658750295639,
0.013103744015097618,
-0.009989840909838676,
0.03912808746099472,
0.024153318256139755,
-0.01665673777461052,
-0.06521248817443848,
0.08179996907711029,
-0.03849577531218529,
-0.010319415479898453
] | [
0.018690742552280426,
0.046768657863140106,
0.0400114469230175,
0.01425070222467184,
0.007175874430686235,
-0.003132263198494911,
-0.016003532335162163,
-0.00376598397269845,
-0.0009492705576121807,
-0.002331055933609605,
-0.016468461602926254,
0.023734556511044502,
0.02455918677151203,
0.007839920930564404,
0.01635172963142395,
-0.0039023268036544323,
0.016081323847174644,
-0.007760212756693363,
0.04234956204891205,
-0.007366635370999575,
-0.05313682183623314,
-0.015596089884638786,
0.029634641483426094,
-0.0194254033267498,
0.009224441833794117,
0.020467516034841537,
-0.04465705528855324,
0.047029029577970505,
0.03346572443842888,
-0.10848423838615417,
-0.01047105249017477,
-0.044395532459020615,
-0.02600051276385784,
0.013014008291065693,
-0.04199777543544769,
0.0010339741129428148,
0.025495029985904694,
0.033330485224723816,
0.006537844892591238,
0.02817266434431076,
0.01338352169841528,
-0.018500225618481636,
-0.027075251564383507,
-0.004397554788738489,
0.02218114584684372,
-0.008274886757135391,
-0.030830902978777885,
-0.0208519846200943,
-0.016136912629008293,
-0.007934873923659325,
-0.031751085072755814,
-0.008637219667434692,
-0.014270602725446224,
-0.005870121065527201,
0.021856877952814102,
0.033289212733507156,
-0.07401005923748016,
-0.0393247976899147,
0.006668133195489645,
-0.02941593900322914,
0.012355735525488853,
0.0007468650001101196,
-0.07205726206302643,
-0.009978855960071087,
-0.00026154369697906077,
-0.014846833422780037,
0.005215954966843128,
0.02553235925734043,
0.008944493718445301,
0.02101074531674385,
-0.023195279762148857,
0.04852224141359329,
-0.0628909021615982,
-0.025967083871364594,
-0.029805941507220268,
0.0364176444709301,
0.00550695788115263,
-0.03327224776148796,
-0.02094535529613495,
-0.0130862882360816,
-0.01389120053499937,
0.02358371391892433,
-0.04222621023654938,
0.05160868540406227,
-0.014857349917292595,
-0.0449371263384819,
-0.003806852735579014,
0.020100485533475876,
0.009096737951040268,
-0.022914309054613113,
-0.027729855850338936,
0.028746472671628,
0.005524605046957731,
0.028939662501215935,
-0.08933274447917938,
-0.00036138214636594057,
0.010312254540622234,
0.0031080597545951605,
0.021419813856482506,
0.8191733956336975,
0.016544463112950325,
-0.01808258704841137,
0.01068201195448637,
0.0073394798673689365,
0.00406415481120348,
0.002466110046952963,
-0.03400221839547157,
0.0025369110517203808,
-0.025388570502400398,
-0.003291055327281356,
-0.026613343507051468,
0.02874566987156868,
0.004794251173734665,
0.04296346381306648,
0.005111935548484325,
0.05752599611878395,
-0.003705020761117339,
0.010207410901784897,
-0.03029223531484604,
0.0006182724609971046,
-0.008104419335722923,
0.028775613754987717,
-0.00722641684114933,
0.003664792748168111,
-0.0025360703002661467,
-0.1843048483133316,
0.016894802451133728,
-6.760299602989654e-33,
0.03740878775715828,
-0.009387881495058537,
0.05590520054101944,
-0.028247516602277756,
0.01590106450021267,
0.04589597508311272,
-0.02805839665234089,
-0.03703279793262482,
-0.0045300861820578575,
-0.016265390440821648,
-0.006712312810122967,
0.01638619415462017,
0.015952004119753838,
-0.01408357359468937,
0.01343793049454689,
0.0003384125011507422,
0.017111634835600853,
0.04770069196820259,
-0.018975118175148964,
-0.014933224767446518,
-0.03194603696465492,
0.046650480479002,
-0.0015381298726424575,
0.04832323268055916,
0.017289573326706886,
0.05272456258535385,
0.016727615147829056,
-0.0020054930355399847,
-0.005819246638566256,
-0.05227235332131386,
-0.021301645785570145,
0.02083270065486431,
-0.01606108248233795,
-0.00788099505007267,
0.024154575541615486,
-0.06338789314031601,
-0.041674088686704636,
-0.01001924928277731,
-0.034083593636751175,
-0.03707539290189743,
-0.03323379531502724,
-0.011743118055164814,
-0.0422171875834465,
0.0025763066951185465,
-0.04991689696907997,
-0.0107186958193779,
-0.00815308466553688,
0.018696913495659828,
-0.0035561423283070326,
0.012431874871253967,
0.008114942349493504,
0.032962314784526825,
-0.026199903339147568,
-0.027615929022431374,
-0.023083645850419998,
0.009132017381489277,
0.03881623595952988,
0.03934626281261444,
-0.014302349649369717,
0.0014320636400952935,
0.026578499004244804,
-0.023807989433407784,
0.021863605827093124,
0.028918432071805,
0.018390316516160965,
0.009179781191051006,
-0.008461792953312397,
-0.009597433730959892,
-0.019807880744338036,
0.046836353838443756,
-0.036268897354602814,
0.04455963149666786,
-0.027313344180583954,
-0.029524879530072212,
0.07456281781196594,
-0.06034292280673981,
-0.00707676587626338,
-0.011356771923601627,
0.0425119511783123,
0.04309643432497978,
-0.028481915593147278,
-0.02671283669769764,
0.004763914737850428,
-0.03884114325046539,
-0.001730809803120792,
-0.04310835897922516,
0.02447521686553955,
0.04920835793018341,
-0.007238706108182669,
0.02306324616074562,
0.014388727024197578,
0.005079770460724831,
0.0060411072336137295,
-0.02567511610686779,
-0.00781417265534401,
6.863826859834511e-33,
-0.007926486432552338,
0.02728825993835926,
-0.007652592845261097,
0.030118927359580994,
0.00925242155790329,
-0.0008044015266932547,
0.02084268070757389,
0.0304519422352314,
-0.026107585057616234,
0.036786943674087524,
-0.01286761462688446,
-0.03339657187461853,
0.0036359645891934633,
0.041528645902872086,
0.0569855235517025,
0.02495098114013672,
0.030017729848623276,
-0.0032230294309556484,
-0.043063703924417496,
-0.0023509215097874403,
-0.003557330695912242,
0.013913219794631004,
0.00994853861629963,
0.0388680174946785,
0.029188621789216995,
0.03569918870925903,
0.017658179625868797,
-0.012340889312326908,
-0.008668186143040657,
-0.01278512179851532,
-0.0027180423494428396,
-0.0365491658449173,
-0.015176505781710148,
-0.030446307733654976,
0.046852029860019684,
0.0359015092253685,
0.021950654685497284,
-0.02235771156847477,
-0.008953804150223732,
-0.005403121467679739,
-0.008839085698127747,
0.026986028999090195,
-0.016307596117258072,
0.04802404344081879,
0.007104893215000629,
0.01917983405292034,
-0.008158284239470959,
0.02905283495783806,
-0.009973490610718727,
0.025191333144903183,
-0.011314614675939083,
0.028712356463074684,
0.007871787995100021,
0.014172450639307499,
0.03983338549733162,
-0.03236311301589012,
-0.02651863358914852,
0.03108942322432995,
-0.002867260482162237,
-0.04209936782717705,
-0.024027686566114426,
-0.029480289667844772,
-0.01751280575990677,
0.02052602730691433,
0.0005977465771138668,
0.00016796965792309493,
-0.005559258162975311,
-0.022452937439084053,
-0.0010901479981839657,
0.008085671812295914,
0.010658277198672295,
-0.024482909590005875,
-0.00986215379089117,
0.004590244963765144,
0.035882264375686646,
0.011832482181489468,
-0.010704174637794495,
-0.011665450409054756,
-0.02226957120001316,
0.00658176327124238,
0.02838803455233574,
-0.015329807065427303,
0.045723456889390945,
0.023241223767399788,
0.00018156185979023576,
0.023104192689061165,
-0.032555218786001205,
0.04040270298719406,
0.021746264770627022,
0.01925978809595108,
0.03368138149380684,
-0.019954223185777664,
-0.03175893798470497,
0.08635930716991425,
0.014213606715202332,
-1.2369945068257948e-8,
-0.013609129004180431,
-0.006841905415058136,
-0.012905169278383255,
-0.010485920123755932,
0.021159451454877853,
0.010999958962202072,
-0.007763722445815802,
-0.01581399329006672,
-0.01968332938849926,
0.01446661539375782,
0.05744244158267975,
-0.03642687574028969,
0.006824329495429993,
0.011454248800873756,
0.00677510816603899,
-0.054521191865205765,
0.0053321849554777145,
-0.010204474441707134,
0.028660956770181656,
0.020342862233519554,
-0.009055724367499352,
0.025076624006032944,
-0.020272253081202507,
0.009775226935744286,
0.02592526376247406,
-0.0034721940755844116,
0.01260601356625557,
-0.08294209837913513,
0.00429154047742486,
-0.05060143023729324,
0.014193736016750336,
-0.023063573986291885,
-0.018722062930464745,
0.040489330887794495,
-0.04926000162959099,
-0.04848874360322952,
0.03467677906155586,
0.0394318513572216,
0.03671695664525032,
0.01780322566628456,
0.0015969299711287022,
-0.0023616994731128216,
-0.015752773731946945,
-0.02143201418220997,
-0.023095693439245224,
0.03494682535529137,
-0.03516199067234993,
-0.024032805114984512,
-0.005830141715705395,
-0.02047286555171013,
-0.021529074758291245,
-0.02868799678981304,
0.016668930649757385,
0.012755692936480045,
0.019001539796590805,
-0.01680496335029602,
0.008484326303005219,
-0.00279666087590158,
0.010292560793459415,
-0.04754877835512161,
-0.020294928923249245,
-0.01445913314819336,
-0.036349400877952576,
-0.044132404029369354
] | r-ggplot-plotting-back-to-back-charts-using-facet_wrap | https://markhneedham.com/blog/2014/07/25/r-ggplot-plotting-back-to-back-charts-using-facet_wrap |
false | 2014-09-29 05:46:43 | R: Filtering data frames by column type ('x' must be numeric) | [
"r-2",
"rstats"
] | [
"R"
] | I've been working through the exercises from http://www-bcf.usc.edu/~gareth/ISL/[An Introduction to Statistical Learning] and one of them required you to create a pair wise correlation matrix of variables in a data frame.
The exercise uses the 'Carseats' data set which can be imported like so:
[source,r]
----
> install.packages("ISLR")
> library(ISLR)
> head(Carseats)
Sales CompPrice Income Advertising Population Price ShelveLoc Age Education Urban US
1 9.50 138 73 11 276 120 Bad 42 17 Yes Yes
2 11.22 111 48 16 260 83 Good 65 10 Yes Yes
3 10.06 113 35 10 269 80 Medium 59 12 Yes Yes
4 7.40 117 100 4 466 97 Medium 55 14 Yes Yes
5 4.15 141 64 3 340 128 Bad 38 13 Yes No
6 10.81 124 113 13 501 72 Bad 78 16 No Yes
----
filter the categorical variables from a data frame and
If we try to run the 'http://www.statmethods.net/stats/correlations.html[cor]' function on the data frame we'll get the following error:
[source,r]
----
> cor(Carseats)
Error in cor(Carseats) : 'x' must be numeric
----
As the error message suggests, we can't pass non numeric variables to this function so we need to remove the categorical variables from our data frame.
But first we need to http://r.789695.n4.nabble.com/Find-classes-for-each-column-of-a-data-frame-td2339918.html[work out which columns those are]:
[source,r]
----
> sapply(Carseats, class)
Sales CompPrice Income Advertising Population Price ShelveLoc Age Education
"numeric" "numeric" "numeric" "numeric" "numeric" "numeric" "factor" "numeric" "numeric"
Urban US
"factor" "factor"
----
We can see a few columns of type 'factor' and luckily for us there's a function which will help us identify those more easily:
[source,r]
----
> sapply(Carseats, is.factor)
Sales CompPrice Income Advertising Population Price ShelveLoc Age Education
FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE
Urban US
TRUE TRUE
----
Now we can remove those columns from our data frame and create the correlation matrix:
[source,r]
----
> cor(Carseats[sapply(Carseats, function(x) !is.factor(x))])
Sales CompPrice Income Advertising Population Price Age Education
Sales 1.00000000 0.06407873 0.151950979 0.269506781 0.050470984 -0.44495073 -0.231815440 -0.051955242
CompPrice 0.06407873 1.00000000 -0.080653423 -0.024198788 -0.094706516 0.58484777 -0.100238817 0.025197050
Income 0.15195098 -0.08065342 1.000000000 0.058994706 -0.007876994 -0.05669820 -0.004670094 -0.056855422
Advertising 0.26950678 -0.02419879 0.058994706 1.000000000 0.265652145 0.04453687 -0.004557497 -0.033594307
Population 0.05047098 -0.09470652 -0.007876994 0.265652145 1.000000000 -0.01214362 -0.042663355 -0.106378231
Price -0.44495073 0.58484777 -0.056698202 0.044536874 -0.012143620 1.00000000 -0.102176839 0.011746599
Age -0.23181544 -0.10023882 -0.004670094 -0.004557497 -0.042663355 -0.10217684 1.000000000 0.006488032
Education -0.05195524 0.02519705 -0.056855422 -0.033594307 -0.106378231 0.01174660 0.006488032 1.000000000
---- | null | null | [
0.041334353387355804,
0.02304302528500557,
-0.017303388565778732,
0.06047031655907631,
0.07257072627544403,
0.05016843229532242,
0.019465724006295204,
0.013454858213663101,
0.026799429208040237,
-0.006140465848147869,
-0.0046087163500487804,
0.010534565895795822,
-0.05504582077264786,
0.017521090805530548,
-0.04818509891629219,
0.07417343556880951,
0.0719875916838646,
0.014299700036644936,
0.014759202487766743,
0.026465725153684616,
0.01636427827179432,
0.0711299255490303,
-0.011453637853264809,
0.039358727633953094,
0.017705081030726433,
0.004751415923237801,
0.03430895134806633,
0.024409523233771324,
-0.045552752912044525,
0.018102290108799934,
0.04541937634348869,
0.01573771797120571,
-0.0014546524034813046,
0.014569483697414398,
0.049649354070425034,
0.012817701324820518,
0.015837598592042923,
0.0067262910306453705,
0.012581915594637394,
-0.014362919144332409,
-0.07312323898077011,
0.0046213106252253056,
-0.025211187079548836,
0.014580692164599895,
-0.042777080088853836,
-0.002152849454432726,
-0.04347722604870796,
0.014477191492915154,
-0.003216008422896266,
-0.01498567033559084,
-0.05033031105995178,
0.029621224850416183,
-0.020211555063724518,
-0.01758432388305664,
0.00015167443780228496,
0.05070096626877785,
0.004513395484536886,
-0.07041216641664505,
0.03423335775732994,
-0.07516706734895706,
0.015487855300307274,
0.023314490914344788,
-0.009108911268413067,
-0.006951082497835159,
0.020546868443489075,
-0.01692504994571209,
-0.009633330628275871,
0.044855065643787384,
-0.05822843685746193,
-0.00046099713654257357,
-0.04514612257480621,
-0.013012081384658813,
-0.022312132641673088,
-0.005619392730295658,
-0.010987206362187862,
-0.031108438968658447,
-0.01173833105713129,
0.05592987313866615,
-0.0010083509841933846,
-0.015299029648303986,
-0.010350999422371387,
0.018283260986208916,
0.022380320355296135,
0.011514737270772457,
-0.011814664117991924,
-0.04956960305571556,
-0.009823465719819069,
-0.03901254013180733,
-0.0699324905872345,
0.045308154076337814,
-0.006273217033594847,
-0.03713541477918625,
0.009242233820259571,
0.020320400595664978,
-0.028209948912262917,
-0.015872487798333168,
0.03848307207226753,
-0.037010643631219864,
0.004124404396861792,
-0.009960846044123173,
-0.07228250056505203,
-0.020726105198264122,
0.03198568522930145,
0.03427955135703087,
-0.08896280825138092,
0.021319717168807983,
0.004472925327718258,
0.017608828842639923,
-0.01881703920662403,
0.01873483695089817,
-0.020137548446655273,
-0.002183336764574051,
-0.02120068296790123,
-0.010539883747696877,
-0.07679341733455658,
0.06583524495363235,
0.025067823007702827,
-0.0028775387909263372,
-0.020014792680740356,
-0.0006451332592405379,
0.0568774938583374,
0.011358593590557575,
-0.010617167688906193,
0.06706766039133072,
0.002552481135353446,
0.05538244545459747,
0.01593828573822975,
0.048626720905303955,
-0.004950047470629215,
-0.04567970708012581,
-0.012435057200491428,
0.03484959155321121,
-0.0330645851790905,
0.004255868960171938,
0.004454880487173796,
-0.022568969056010246,
-0.010583282448351383,
0.007351161912083626,
0.0483090803027153,
0.03303276002407074,
0.03591223433613777,
-0.03669629618525505,
0.021054133772850037,
0.008964243344962597,
0.049975402653217316,
0.007023280020803213,
0.009685691446065903,
-0.02668161690235138,
-0.0366334542632103,
-0.02031712606549263,
0.041358787566423416,
0.023984920233488083,
0.07835879176855087,
-0.030391665175557137,
0.01368893962353468,
0.08608071506023407,
0.02078883722424507,
-0.0028706523589789867,
-0.01792372763156891,
0.02831409126520157,
0.05350460484623909,
0.015229574404656887,
0.004012895282357931,
0.023645026609301567,
-0.00561912776902318,
-0.017943890765309334,
0.011176005005836487,
0.04408617317676544,
-0.030885813757777214,
0.01086275465786457,
-0.07077813893556595,
-0.07298382371664047,
0.051180075854063034,
-0.046917062252759933,
-0.033139001578092575,
0.02494223229587078,
0.07107097655534744,
0.02141845040023327,
0.03176122158765793,
-0.008311880752444267,
-0.08615778386592865,
0.047712188214063644,
0.006905648857355118,
0.03516077622771263,
0.06396973133087158,
-0.023722805082798004,
0.09315544366836548,
0.017322232946753502,
0.019062083214521408,
0.038418423384428024,
-0.036373320966959,
-0.08564494550228119,
-0.01920488104224205,
-0.016860084608197212,
0.02963697910308838,
-0.03536820039153099,
-0.005854754708707333,
0.05706145986914635,
0.0031443762127310038,
-0.00034790716017596424,
-0.04004038870334625,
0.019911495968699455,
0.04592875763773918,
-0.014089597389101982,
-0.01897268183529377,
0.03107592649757862,
0.02778482437133789,
0.017507251352071762,
-0.02088193967938423,
0.009675968438386917,
-0.012411948293447495,
0.012643893249332905,
0.02095235139131546,
-0.02964603155851364,
0.04867010563611984,
0.013335492461919785,
0.08593936264514923,
0.04429474472999573,
0.030684728175401688,
-0.032377783209085464,
0.03143728896975517,
-0.006202699150890112,
-0.028487423434853554,
-0.03285788372159004,
-0.018376797437667847,
0.13232551515102386,
0.08242899179458618,
-0.004108120687305927,
-0.04559636116027832,
0.04617918282747269,
-0.002476324327290058,
-0.040070489048957825,
0.045848991721868515,
-0.0027466323226690292,
-0.02016938477754593,
0.037459686398506165,
-0.040893010795116425,
-0.0170332919806242,
0.01819990947842598,
-0.07050300389528275,
0.005226087290793657,
0.08357792347669601,
-0.023211633786559105,
0.05380035936832428,
-0.005977743770927191,
-0.007587605621665716,
-0.0074510457925498486,
0.0045091575011610985,
-0.08422399312257767,
-0.012237325310707092,
0.01766301691532135,
-0.005290948320180178,
0.031470492482185364,
-0.020836828276515007,
-0.007482306100428104,
-0.030798591673374176,
-0.048557400703430176,
0.03248011693358421,
0.09575696289539337,
0.04101207107305527,
0.018695710226893425,
0.043168239295482635,
-0.02796277217566967,
0.015006345696747303,
-0.022848309949040413,
-0.030907562002539635,
-0.046439096331596375,
-0.023213455453515053,
0.014862892217934132,
0.018004445359110832,
0.028003260493278503,
-0.018662046641111374,
-0.010667596943676472,
0.03364881873130798,
0.020620163530111313,
0.013266743160784245,
0.03391672670841217,
-0.014519919641315937,
-0.004648292437195778,
-0.01564096473157406,
0.0024407533928751945,
0.05523841455578804,
-0.000607825699262321,
-0.022537486627697945,
0.025842951610684395,
-0.06801562011241913,
0.03311016783118248,
-0.04994015768170357,
-0.032056551426649094,
0.010562595911324024,
-0.002930649556219578,
0.060616474598646164,
0.036724019795656204,
-0.01852642185986042,
0.036737337708473206,
-0.004568303935229778,
0.01914609968662262,
0.009441426955163479,
0.012811820022761822,
0.06443269550800323,
0.01064381469041109,
0.02972245216369629,
0.03168696165084839,
-0.0030420972034335136,
0.0038285532500594854,
-0.04303755238652229,
0.002337672747671604,
-0.03127606213092804,
-0.27515944838523865,
0.01949005201458931,
-0.021231740713119507,
-0.03752964362502098,
0.03471563011407852,
-0.058198776096105576,
0.030449271202087402,
-0.0349600650370121,
-0.026238420978188515,
0.006404433865100145,
0.009358352050185204,
-0.023591898381710052,
-0.03465195745229721,
0.04384564235806465,
0.024263210594654083,
0.0120726078748703,
0.010775947012007236,
-0.04769817367196083,
0.0015273761237040162,
0.058750513941049576,
0.03464625030755997,
-0.056910499930381775,
-0.001916210283525288,
0.05335954204201698,
0.014920962043106556,
0.06459901481866837,
-0.05340152233839035,
0.03348772972822189,
-0.07122896611690521,
-0.04520081728696823,
0.018144790083169937,
-0.019632665440440178,
0.022461283951997757,
-0.015255380421876907,
-0.005730899050831795,
-0.024874087423086166,
0.03615520894527435,
-0.008137372322380543,
0.00906409416347742,
0.01721050962805748,
-0.04862768575549126,
-0.011877931654453278,
0.024760812520980835,
0.0004030768759548664,
0.07384153455495834,
0.0176275335252285,
-0.05075502023100853,
0.016642238944768906,
-0.035174157470464706,
0.07052023708820343,
-0.035392533987760544,
-0.024288125336170197,
-0.021086866036057472,
0.03374043479561806,
-0.03438447043299675,
-0.00399103993549943,
-0.01839049905538559,
0.00505424290895462,
-0.02847895398736,
-0.04492880031466484,
0.010087656788527966,
-0.01730300672352314,
-0.01727871224284172,
-0.041174694895744324,
-0.008671698160469532,
-0.08037210255861282,
-0.07496937364339828,
-0.011927776969969273,
0.06861142814159393,
0.030746012926101685,
-0.04752304404973984,
-0.01126156933605671,
-0.009156374260783195,
-0.10783359408378601,
0.0046729943715035915,
-0.017643190920352936,
-0.015882039442658424,
-0.020588107407093048,
-0.017562033608555794,
0.058417726308107376,
-0.024091100320219994,
-0.06801187247037888,
0.034083861857652664,
-0.002190292812883854,
0.03760260343551636,
-0.022424442693591118,
0.008349426090717316,
0.02087123692035675,
-0.032232947647571564,
-0.005561945494264364,
0.07916927337646484,
-0.031383123248815536,
-0.011785878799855709,
-0.006839020177721977,
-0.021538011729717255,
0.044483769685029984,
-0.012938616797327995,
0.021137988194823265,
0.021568821743130684,
0.02054945006966591,
0.019009524956345558,
-0.042116060853004456,
0.02905607409775257,
-0.03694096952676773,
-0.01666967011988163,
-0.0143752945587039,
-0.051892608404159546,
0.022450707852840424,
0.010203291662037373,
0.0011643869802355766,
0.0056184278801083565,
-0.011749397963285446,
0.0076959640718996525,
-0.06503821909427643,
-0.012903552502393723,
-0.007364918012171984,
0.00019472411077003926,
0.01351305190473795,
-0.008138438686728477,
0.000879767641890794,
-0.04768676310777664,
-0.007234374526888132,
-0.008772745728492737,
-0.027358831837773323,
-0.05116996914148331,
-0.023585399612784386,
0.007333706598728895,
-0.047328852117061615,
-0.0014924682909622788,
0.017775986343622208,
-0.01750030554831028,
0.02403249777853489,
0.05384151265025139,
-0.028757579624652863,
0.030872559174895287,
-0.007930446416139603,
-0.06030501797795296,
0.005131890531629324,
0.004792775958776474,
0.0025728202890604734,
0.026129988953471184,
0.0032833111472427845,
0.008647114969789982,
0.03323604539036751,
0.02196022868156433,
0.012308570556342602,
0.022922435775399208,
-0.013752629980444908,
-0.014614352956414223,
0.02115517668426037,
-0.0009016235708259046,
0.003994161728769541,
0.002141277538612485,
-0.016490548849105835,
-0.057125069200992584,
-0.011183289811015129,
0.051882676780223846,
0.003340872237458825,
-0.039717283099889755,
-0.05282426252961159,
0.002165072364732623,
-0.02258545719087124,
-0.0388169139623642,
-0.03263203427195549,
-0.0008857242646627128,
0.05738215148448944,
0.02415142022073269,
-0.012851247563958168,
0.015670718625187874,
0.009863686747848988,
0.006583733018487692,
-0.003876184346154332,
-0.024849819019436836,
-0.004769098944962025,
-0.03380255773663521,
-0.033473480492830276,
0.011026646941900253,
-0.0284409262239933,
0.030397620052099228,
-0.01196976937353611,
-0.03591454029083252,
-0.007593831513077021,
0.02634430304169655,
-0.015952294692397118,
0.03833816573023796,
0.03885257989168167,
-0.03651656210422516,
-0.013430491089820862,
-0.002668399130925536,
-0.02659594640135765,
-0.03449530899524689,
-0.01611308753490448,
-0.004144253209233284,
0.03728039935231209,
-0.06052448973059654,
-0.05092727765440941,
0.004926737863570452,
0.023890847340226173,
-0.014162592589855194,
0.026976609602570534,
0.001374801155179739,
0.017200106754899025,
-0.004412856884300709,
0.06014817953109741,
0.047999534755945206,
-0.06499798595905304,
0.011344484984874725,
0.005907042417675257,
-0.009165095165371895,
0.027286386117339134,
-0.011098268441855907,
-0.05941347777843475,
-0.026754025369882584,
-0.028154386207461357,
0.024300282821059227,
-0.024753250181674957,
-0.041670408099889755,
-0.08227702975273132,
0.00396239198744297,
-0.003951734397560358,
0.006707728374749422,
-0.014659663662314415,
0.007546583190560341,
-0.040578726679086685,
-0.0028774680104106665,
0.0061317854560911655,
-0.04090382903814316,
-0.030557706952095032,
0.04295191541314125,
-0.020118389278650284,
0.004368080757558346,
-0.01587618514895439,
0.025866864249110222,
0.024472814053297043,
-0.010715139098465443,
-0.02584507130086422,
-0.036492787301540375,
0.0027146763168275356,
0.030318371951580048,
0.03697758913040161,
-0.025639057159423828,
-0.0013066637329757214,
-0.04478350654244423,
-0.003032190492376685,
-0.008990397676825523,
0.0003462271124590188,
0.008564992807805538,
-0.025992097333073616,
0.056673645973205566,
0.03932064026594162,
-0.00740398233756423,
-0.032634250819683075,
-0.008473917841911316,
-0.03651857748627663,
0.05633839592337608,
-0.002904268680140376,
-0.05707627907395363,
-0.009454791434109211,
-0.015910997986793518,
0.024717267602682114,
0.013112424872815609,
0.029319321736693382,
-0.028844177722930908,
0.06256605684757233,
0.007130103651434183,
0.017576083540916443,
0.04729095473885536,
-0.0008982696454040706,
0.0526425801217556,
-0.04065254330635071,
0.00556170754134655,
-0.09203176945447922,
-0.012449518777430058,
0.019957490265369415,
0.010776704177260399,
-0.027485361322760582,
-0.013939899392426014,
-0.06079070642590523,
0.017781734466552734,
-0.06404094398021698,
-0.04651385918259621,
0.037301357835531235,
0.0016241491539403796,
0.00030307038105092943,
-0.0037731879856437445,
-0.026234805583953857,
-0.007904287427663803,
0.009452467784285545,
-0.04482751712203026,
0.0005243537598289549,
-0.02227754518389702,
0.06954362988471985,
-0.028237003833055496,
0.022518783807754517,
-0.023850146681070328,
-0.0011739885667338967,
0.07053868472576141,
0.03237752988934517,
0.0005537981633096933,
0.03630799055099487,
-0.04170207306742668,
0.025663994252681732,
0.02216973528265953,
0.0023125801235437393,
-0.009997277520596981,
0.012398800812661648,
0.020846623927354813,
-0.06222829595208168,
0.011244849301874638,
0.00842319242656231,
0.00699618412181735,
-0.05263744294643402,
0.06281372159719467,
0.019809769466519356,
-0.039620719850063324,
-0.03566260635852814,
0.021007660776376724,
-0.03878292441368103,
0.016021981835365295,
0.019663820043206215,
-0.025243189185857773,
-0.03038106858730316,
0.056759223341941833,
-0.04101044312119484,
-0.006048592738807201,
0.05391000956296921,
-0.0212545245885849,
0.005978728644549847,
-0.0013265592278912663,
0.061384279280900955,
0.07233761250972748,
0.03834402561187744,
0.03048584796488285,
0.07621286064386368,
-0.015809785574674606,
-0.05461297184228897,
0.03147030249238014,
-0.05544346570968628,
-0.0129198944196105,
-0.039952781051397324,
-0.031952325254678726,
0.058989472687244415,
-0.009175345301628113,
0.06630725413560867,
-0.006504464894533157,
0.010515538975596428,
-0.0009154128492809832,
-0.013498284853994846,
0.028198234736919403,
0.051083795726299286,
0.0012167360400781035,
0.04082813858985901,
-0.024932080879807472,
-0.019204381853342056,
0.01991853676736355,
0.0006165517843328416,
-0.003980501089245081,
0.0050941393710672855,
-0.0344398207962513,
0.025661693885922432,
0.009595390409231186,
0.031362514942884445,
0.09555070102214813,
-0.04151555150747299,
-0.0024009100161492825,
-0.001997950952500105,
0.06480927765369415,
-0.005391192156821489,
0.022707024589180946,
0.010727226734161377,
-0.04270622506737709,
-0.021674903109669685,
-0.06946992874145508,
-0.042111657559871674,
-0.021490268409252167,
-0.014503235928714275,
0.013349971733987331,
-0.015471975319087505,
0.013931979425251484,
0.04105667397379875,
0.002201306400820613,
-0.04285421594977379,
-0.06386560946702957,
-0.04004710912704468,
-0.032513003796339035,
-0.08582587540149689,
-0.014160043559968472,
0.000033562115277163684,
-0.03411145880818367,
-0.03597769886255264,
-0.028755174949765205,
-0.007841954939067364,
-0.015827685594558716,
0.006212735082954168,
-0.048749279230833054,
-0.0326433964073658,
0.02524515800178051,
0.017457494512200356,
0.032330892980098724,
0.00006073930853744969,
0.044673122465610504,
0.007349594496190548,
-0.031220456585288048,
-0.012631719931960106,
0.004506340716034174,
0.03940637782216072,
0.043816518038511276,
0.03124915063381195,
-0.06751874089241028,
-0.009902098216116428,
-0.02696068212389946,
-0.005987667478621006,
-0.08169278502464294,
0.00824933685362339,
0.022211603820323944,
0.015050881542265415,
0.05193792283535004,
-0.024065397679805756,
-0.007296587340533733,
-0.03448621928691864,
-0.02380041591823101,
0.00545335141941905,
0.016685649752616882,
0.022671328857541084,
-0.039955396205186844,
0.08004143834114075,
0.0314609669148922,
0.0074900295585393906,
-0.053116362541913986,
-0.022132782265543938,
-0.007157536223530769,
-0.003433915786445141,
-0.07447965443134308,
-0.03929881379008293,
-0.027747470885515213,
-0.10274277627468109,
-0.01939096301794052,
0.0011921852128580213,
-0.023748455569148064,
-0.0064906952902674675,
0.013161532580852509,
0.012392779812216759,
-0.0219605453312397,
0.01988115906715393,
-0.009120435453951359,
0.02307438664138317,
-0.04537786915898323,
-0.012537469156086445,
0.02011735551059246,
0.04355918988585472,
0.0009111640392802656,
0.013294230215251446,
-0.006392533425241709,
-0.03845107927918434,
0.016808515414595604,
-0.020968319848179817,
0.027021056041121483,
0.044908542186021805,
0.006143347825855017,
0.028976185247302055
] | [
-0.05059485509991646,
-0.010926015675067902,
-0.04589521884918213,
-0.005814954172819853,
0.0672500804066658,
-0.00951601192355156,
0.0024736400227993727,
0.0424717552959919,
0.010742363519966602,
-0.025204354897141457,
0.028578219935297966,
-0.07354086637496948,
0.025007620453834534,
0.007207282818853855,
0.0581681951880455,
0.008791006170213223,
0.010559861548244953,
-0.025037607178092003,
-0.04966770112514496,
0.02585655450820923,
-0.0043993787840008736,
-0.046496495604515076,
-0.04740552604198456,
-0.042991358786821365,
0.045711033046245575,
0.009645082987844944,
0.014492548070847988,
-0.018412785604596138,
0.0029923864640295506,
-0.19591684639453888,
0.015603259205818176,
0.01520119234919548,
0.06541932374238968,
0.0018449216149747372,
0.010106070898473263,
0.03563587740063667,
0.008874235674738884,
0.017131926491856575,
0.00603738846257329,
0.013596070930361748,
0.00925254076719284,
0.01570802740752697,
-0.025070877745747566,
-0.003960721660405397,
0.037562668323516846,
0.031243490055203438,
-0.04923488572239876,
0.006509978789836168,
-0.024824226275086403,
0.006436582189053297,
-0.07598259299993515,
-0.02606639266014099,
-0.025666944682598114,
0.01932378113269806,
-0.0042224847711622715,
0.04317639768123627,
0.03154129534959793,
0.01635616086423397,
-0.0025037170853465796,
0.03807849436998367,
0.00912933424115181,
-0.012450400739908218,
-0.187131866812706,
0.07931134849786758,
0.038456991314888,
0.029669824987649918,
-0.0201175045222044,
-0.007265458349138498,
-0.01483528595417738,
0.06359709799289703,
0.005398265086114407,
-0.011344864033162594,
-0.023924950510263443,
0.04323587566614151,
0.021003765985369682,
-0.005383455194532871,
0.0004382787737995386,
0.002482023788616061,
0.03130117431282997,
-0.029493771493434906,
0.005439436063170433,
0.01475239172577858,
-0.027635885402560234,
-0.015647219493985176,
-0.005372329149395227,
-0.014150874689221382,
-0.04153282567858696,
0.026608150452375412,
0.010752604342997074,
0.0013444360811263323,
0.012975405901670456,
0.008273868821561337,
0.02086176909506321,
-0.0056379567831754684,
-0.07398196309804916,
-0.002098781755194068,
0.015602474100887775,
-0.007996559143066406,
-0.021340686827898026,
0.4224720299243927,
-0.040294814854860306,
-0.017189588397741318,
0.06094757840037346,
0.020469432696700096,
-0.028462132439017296,
-0.022911353036761284,
-0.018305014818906784,
-0.050181981176137924,
0.03798985481262207,
-0.013189883902668953,
0.03651794418692589,
-0.0024062443990260363,
0.03306015580892563,
-0.05316535383462906,
-0.001996499951928854,
-0.011729519814252853,
0.00868978351354599,
0.007892102003097534,
0.049876607954502106,
-0.01482299156486988,
-0.016185399144887924,
-0.01903717778623104,
0.017430379986763,
0.01597142219543457,
0.010434971190989017,
-0.04381329193711281,
0.03563171252608299,
0.07447635382413864,
0.04726244881749153,
0.0062242187559604645,
0.06811350584030151,
-0.025046704337000847,
-0.09755365550518036,
0.0074118636548519135,
-0.020275074988603592,
-0.009149755351245403,
0.04053101688623428,
0.01809846982359886,
0.008739584125578403,
0.07289338111877441,
-0.0014687184011563659,
-0.032068923115730286,
0.03600030019879341,
-0.008064279332756996,
-0.016242707148194313,
0.14555984735488892,
0.011602171696722507,
-0.027965612709522247,
-0.007886628620326519,
-0.022409280762076378,
0.017590388655662537,
0.04967239499092102,
-0.011081164702773094,
-0.05589325353503227,
-0.017049944028258324,
0.025949673727154732,
0.07476489990949631,
-0.048845306038856506,
-0.05388882756233215,
-0.02039203606545925,
-0.036219123750925064,
-0.04394545033574104,
-0.04430614784359932,
0.012743107043206692,
0.09506494551897049,
-0.07397274672985077,
-0.01849452033638954,
0.03666052967309952,
0.0066184429451823235,
-0.04410395398736,
0.026593754068017006,
0.016637304797768593,
-0.07546063512563705,
0.02315833978354931,
0.07456071674823761,
-0.011350715532898903,
-0.017018064856529236,
0.04136200249195099,
0.04004136845469475,
0.004774173256009817,
0.008529562503099442,
-0.003203623229637742,
-0.04481479153037071,
0.005238793790340424,
-0.045744240283966064,
-0.04458116367459297,
-0.08537645637989044,
-0.014866572804749012,
-0.02858106419444084,
-0.04853099212050438,
0.0021663345396518707,
-0.031981997191905975,
-0.10472346097230911,
0.07812416553497314,
-0.050491057336330414,
-0.02467617206275463,
0.04140057787299156,
-0.0008164206519722939,
-0.02740231715142727,
-0.02082866244018078,
-0.016129691153764725,
-0.00026430736761540174,
0.004544657655060291,
0.054833345115184784,
-0.07103390991687775,
0.031143764033913612,
0.049268607050180435,
-0.016296997666358948,
0.11670684069395065,
0.031224597245454788,
0.03722440451383591,
-0.03891175240278244,
0.006898126099258661,
0.01615680567920208,
-0.0018043130403384566,
0.01188113633543253,
0.008230462670326233,
0.00040042222826741636,
0.016332566738128662,
0.05070703104138374,
0.009480893611907959,
-0.025819336995482445,
-0.003989257849752903,
-0.3805336058139801,
-0.04885413497686386,
0.014667131938040257,
0.007854773662984371,
0.023248519748449326,
-0.03103792853653431,
0.008765477687120438,
0.014793644659221172,
-0.024487895891070366,
0.08707258105278015,
0.0456942580640316,
0.044415827840566635,
-0.003918807487934828,
-0.10281457006931305,
-0.013968611136078835,
0.03820902481675148,
-0.04535863548517227,
-0.0183170847594738,
-0.03622439131140709,
0.002600390464067459,
-0.036377113312482834,
-0.014480807818472385,
-0.010333421640098095,
-0.017800623551011086,
0.041193876415491104,
-0.05105409771203995,
0.12064087390899658,
-0.012934854254126549,
0.04127829894423485,
-0.026021098718047142,
0.02563622035086155,
-0.004756320267915726,
0.006696413736790419,
-0.02629905194044113,
0.04471351206302643,
-0.05678316950798035,
-0.02902890369296074,
0.005442011635750532,
-0.020640041679143906,
-0.06251676380634308,
-0.037998050451278687,
0.0030075698159635067,
-0.021563732996582985,
-0.0037466990761458874,
-0.057243701070547104,
0.030725600197911263,
-0.009421814233064651,
0.024023884907364845,
-0.03535794839262962,
0.09118852764368057,
0.03289197385311127,
0.01995154656469822,
0.05964881181716919,
0.002019079402089119,
-0.007061297539621592,
-0.034689970314502716,
-0.0850200280547142,
0.0062583740800619125,
-0.00926581583917141,
-0.03600167855620384,
0.025888875126838684,
0.03074178844690323,
0.055752117186784744,
-0.06432224065065384,
-0.027313753962516785,
-0.015685634687542915,
-0.01675564981997013,
-0.04539557546377182,
0.007879501208662987,
0.013775295577943325,
-0.0055190990678966045,
0.09676026552915573,
0.0009970514802262187,
0.01331112440675497,
0.014097806997597218,
0.017815757542848587,
-0.031077370047569275,
0.02407805435359478,
0.022814631462097168,
0.013325667940080166,
0.05746123194694519,
-0.04696270823478699,
0.022145478054881096,
-0.010967975482344627,
0.03454684838652611,
0.0013914161827415228,
0.011133627966046333,
-0.037452638149261475,
0.05421065539121628,
0.043018776923418045,
-0.006212172098457813,
-0.012044818140566349,
-0.01385523285716772,
-0.03868477791547775,
0.042019739747047424,
-0.005678372457623482,
-0.2797810435295105,
-0.012099379673600197,
0.029197020456194878,
0.038196370005607605,
-0.012387599796056747,
-0.02294808439910412,
0.025758272036910057,
-0.03848612308502197,
0.010449492372572422,
0.000628720095846802,
0.013445748947560787,
0.04296272620558739,
0.04153160750865936,
-0.010052203200757504,
0.018893806263804436,
-0.0344189815223217,
0.03318847343325615,
-0.015033275820314884,
0.051443152129650116,
0.01901867985725403,
0.02643612213432789,
-0.04224010929465294,
0.13850556313991547,
0.010665635578334332,
0.01658942550420761,
-0.009843098931014538,
-0.039235882461071014,
-0.016265133395791054,
0.08658112585544586,
-0.003592083230614662,
0.00833306834101677,
0.03272470086812973,
0.03533385321497917,
-0.012495245784521103,
0.0073555344715714455,
-0.016106758266687393,
-0.04369532689452171,
0.01919407770037651,
0.03827812895178795,
0.0010879074689000845,
0.014379389584064484,
0.013277527876198292,
-0.06962333619594574,
0.02099379152059555,
0.09684836119413376,
0.00557791767641902,
0.023122679442167282,
-0.04819539189338684,
-0.01675996370613575,
0.011302011087536812,
-0.016990793868899345,
-0.009629791602492332,
-0.02105826511979103,
-0.012062957510352135,
0.0037598074413836002,
0.024617601186037064,
0.00215543364174664,
0.0000034450183648004895,
0.007006402593106031,
-0.03228810802102089,
-0.043327149003744125,
-0.04004132002592087,
0.0345320999622345,
0.02711031213402748,
0.02488132193684578
] | [
0.016658516600728035,
0.007847010158002377,
-0.03329397365450859,
0.0023380855564028025,
-0.01618771068751812,
0.020342368632555008,
-0.0203071478754282,
0.0018080294830724597,
-0.0343608520925045,
-0.004147042986005545,
0.024896962568163872,
0.004135802388191223,
0.015027816407382488,
0.00955259520560503,
0.005004390142858028,
-0.03133263811469078,
0.009883499704301357,
-0.003967441618442535,
0.0034246318973600864,
-0.008229578845202923,
-0.019227666780352592,
0.04445859044790268,
-0.012175632640719414,
-0.012846386060118675,
-0.0314931720495224,
0.025556879118084908,
-0.025443686172366142,
0.009233316406607628,
0.028509262949228287,
-0.11318226158618927,
-0.0428675040602684,
-0.012692190706729889,
-0.00028329226188361645,
0.02693549357354641,
-0.02983519248664379,
-0.054768431931734085,
0.025353997945785522,
0.0005022751865908504,
-0.0058089797385036945,
0.011267506517469883,
-0.04523686692118645,
-0.02543707937002182,
-0.005727030802518129,
0.0034513380378484726,
0.001739267841912806,
-0.0119522325694561,
-0.006535528227686882,
-0.021918321028351784,
-0.0010377843864262104,
-0.01067432202398777,
-0.06414268165826797,
0.026483390480279922,
-0.026127569377422333,
-0.020875804126262665,
-0.009494147263467312,
-0.011146885342895985,
-0.03733424097299576,
-0.024687189608812332,
-0.022773779928684235,
-0.03634839132428169,
-0.009571576490998268,
0.0019041552441194654,
-0.02611253596842289,
-0.007993300445377827,
-0.005757476668804884,
0.018908903002738953,
-0.10745559632778168,
-0.012080064043402672,
-0.032050829380750656,
0.006614753510802984,
-0.028575241565704346,
-0.029680848121643066,
-0.03770570456981659,
-0.0342220701277256,
-0.0029580695554614067,
0.034938614815473557,
0.01006261445581913,
-0.05568387359380722,
0.05470024794340134,
-0.013123057782649994,
-0.03017464652657509,
0.03160800784826279,
0.0063030170276761055,
-0.023964598774909973,
0.021481379866600037,
-0.05081580951809883,
0.028370516374707222,
-0.014822586439549923,
0.007672741077840328,
0.02067635953426361,
-0.020707033574581146,
0.008600565604865551,
0.025304684415459633,
0.02182513289153576,
-0.10659032315015793,
-0.015364554710686207,
0.03064112365245819,
0.010648698545992374,
0.006895126774907112,
0.8281949162483215,
-0.00588649557903409,
0.012276056222617626,
0.0009425324387848377,
0.05453157052397728,
-0.07660582661628723,
0.001927001983858645,
0.02720041014254093,
0.02636328898370266,
0.031195612624287605,
-0.04120577126741409,
-0.009389840997755527,
0.0036110554356127977,
0.006929251365363598,
0.018904659897089005,
0.0050116959027945995,
0.05342651158571243,
0.0018432741053402424,
0.025111019611358643,
0.02512620948255062,
-0.001597654540091753,
-0.0000498740810144227,
0.008879022672772408,
0.01326051913201809,
0.005877921357750893,
0.007031511049717665,
-0.18844321370124817,
-0.005208172369748354,
-6.201222734795066e-33,
0.008158467710018158,
0.006242669653147459,
0.027714204043149948,
-0.009171546436846256,
-0.012925980612635612,
-0.003529606619849801,
-0.007547724060714245,
-0.005695711821317673,
0.03837520629167557,
-0.01519368402659893,
0.05436902865767479,
0.037273090332746506,
-0.013718981295824051,
-0.025110764428973198,
0.03050205484032631,
-0.007218867540359497,
0.0027420443948358297,
0.007960962131619453,
-0.022641532123088837,
0.01227054838091135,
0.041427019983530045,
0.04475678876042366,
0.03269675001502037,
0.03534755855798721,
0.021984441205859184,
0.011536916717886925,
0.005667878780514002,
0.01300385408103466,
0.009685332886874676,
-0.03359328955411911,
-0.01965649425983429,
0.01745651476085186,
-0.008083252236247063,
0.015996677801012993,
-0.0287113469094038,
-0.07102975249290466,
-0.01331768836826086,
-0.009323789738118649,
-0.019105147570371628,
-0.005291988141834736,
-0.03149830549955368,
0.013453242368996143,
0.017937704920768738,
0.0015403249999508262,
-0.021087996661663055,
0.014775877818465233,
0.04833889380097389,
0.09463131427764893,
-0.022247761487960815,
0.01950930990278721,
-0.02076765149831772,
0.002362677361816168,
0.013647287152707577,
0.014153068885207176,
-0.008007066324353218,
0.02773752249777317,
0.006353433709591627,
-0.03859274461865425,
-0.031587205827236176,
-0.03492536395788193,
-0.022312620654702187,
-0.009951607324182987,
0.0170570258051157,
-0.01485139224678278,
-0.012612102553248405,
0.005959194153547287,
0.030211057513952255,
-0.05000544711947441,
0.027728114277124405,
0.018789568915963173,
-0.018598156049847603,
-0.011798908933997154,
-0.013868574984371662,
-0.04134272038936615,
0.046050116419792175,
-0.0018197227036580443,
0.011783563531935215,
0.01135620754212141,
0.021463077515363693,
-0.017465556040406227,
0.01717810519039631,
0.019537748768925667,
-0.005189493764191866,
-0.036794617772102356,
-0.01789654977619648,
-0.0008444564882665873,
0.011700580827891827,
-0.0030943809542804956,
-0.0028693939093500376,
0.027878813445568085,
0.00943092443048954,
0.04766421020030975,
-0.008241002447903156,
-0.037446312606334686,
0.006423333194106817,
5.830731159986866e-33,
0.0008444979903288186,
-0.0034901583567261696,
-0.002924832981079817,
0.003933711443096399,
0.025927536189556122,
-0.023737452924251556,
0.007744822651147842,
-0.02328062616288662,
0.009641160257160664,
0.0008118604891933501,
-0.03663838282227516,
-0.04385439679026604,
0.010812954045832157,
0.011684538796544075,
0.071104034781456,
0.026297591626644135,
0.026183800771832466,
0.012202923186123371,
-0.029481949284672737,
-0.006635140627622604,
0.0028365436010062695,
0.005827552638947964,
0.041470881551504135,
0.0022112764418125153,
0.030886927619576454,
0.036118075251579285,
-0.009365907870233059,
-0.0010755878174677491,
-0.002916546305641532,
-0.00003105838914052583,
0.0023678557481616735,
-0.007345954887568951,
-0.021838337182998657,
-0.017692670226097107,
-0.027519572526216507,
0.03585941717028618,
0.004631496965885162,
-0.03839731961488724,
-0.02912587858736515,
-0.026545116677880287,
-0.0034351875074207783,
-0.026760783046483994,
0.0007921308861114085,
0.01645996794104576,
0.021617071703076363,
0.00913507305085659,
0.01737852767109871,
-0.007034394424408674,
-0.0016230471665039659,
0.023542208597064018,
0.027945293113589287,
0.026242488995194435,
-0.024263830855488777,
0.015405973419547081,
0.0031041947659105062,
0.007759950123727322,
0.01883905753493309,
0.02985692024230957,
-0.04494435340166092,
0.021053647622466087,
0.021728985011577606,
0.02580484002828598,
-0.03984679654240608,
-0.006536395289003849,
-0.002854009624570608,
-0.04419056326150894,
-0.03212368115782738,
-0.04646668955683708,
-0.00013142866373527795,
0.011021492071449757,
-0.025219054892659187,
-0.015605148859322071,
0.023324012756347656,
0.002167788101360202,
-0.04067288339138031,
0.003405947471037507,
-0.004757843911647797,
0.0026133665814995766,
0.004550496581941843,
0.02485530450940132,
0.030769992619752884,
-0.033006660640239716,
0.07888739556074142,
0.011081068776547909,
0.018407991155982018,
0.020422862842679024,
-0.00860734935849905,
-0.0027311972808092833,
0.060803137719631195,
0.014236262999475002,
-0.02312426269054413,
-0.005877982825040817,
0.012992019765079021,
0.039403535425662994,
-0.02070336602628231,
-1.2363578605345538e-8,
-0.0077317142859101295,
0.001547453342936933,
-0.023411309346556664,
-0.014882580377161503,
0.006278687156736851,
0.02174375392496586,
0.00186771503649652,
-0.012731893919408321,
-0.001702306792140007,
0.027156470343470573,
0.0448247492313385,
0.026026932522654533,
-0.0013376896968111396,
0.018018001690506935,
0.001525381114333868,
-0.05573815479874611,
0.023433076217770576,
-0.01291306596249342,
0.026038942858576775,
-0.03361101076006889,
0.027578402310609818,
0.0171761903911829,
-0.03450987860560417,
0.04706825688481331,
0.028302529826760292,
-0.021941859275102615,
0.02676057629287243,
-0.0799623653292656,
0.020589957013726234,
0.0114649822935462,
-0.00036714968155138195,
-0.04419969767332077,
0.016459010541439056,
-0.03866156190633774,
0.00040942561463452876,
-0.04100371152162552,
0.021762752905488014,
0.05182645097374916,
0.011705102398991585,
-0.012385225854814053,
-0.0026447202544659376,
-0.008881302550435066,
-0.0617971234023571,
-0.0012979628518223763,
0.002213641768321395,
0.020221829414367676,
-0.020866159349679947,
-0.005310248117893934,
-0.0018526038620620966,
-0.024436526000499725,
-0.008578496985137463,
-0.001899795955978334,
-0.02741105668246746,
0.028133077546954155,
0.010547981597483158,
-0.02892509289085865,
0.00620434433221817,
-0.010238805785775185,
-0.0168294720351696,
-0.0341147817671299,
0.01122408825904131,
0.0326506644487381,
0.0015536214923486114,
-0.028612958267331123
] | r-filtering-data-frames-by-column-type-x-must-be-numeric | https://markhneedham.com/blog/2014/09/29/r-filtering-data-frames-by-column-type-x-must-be-numeric |
false | 2014-09-29 22:40:31 | PostgreSQL: ERROR: column does not exist | [
"software-development"
] | [
"Software Development"
] | I've been playing around with PostgreSQL recently and in particular https://code.google.com/p/northwindextended/downloads/detail?name=northwind.postgre.sql&can=2&q=[the Northwind dataset] typically used as an introductory data set for relational databases.
Having imported the data I wanted to take a quick look at the employees table:
[source,sql]
----
postgres=# select * from employees limit 1;
EmployeeID | LastName | FirstName | Title | TitleOfCourtesy | BirthDate | HireDate | Address | City | Region | PostalCode | Country | HomePhone | Extension | Photo | Notes | ReportsTo | PhotoPath
------------+----------+-----------+----------------------+-----------------+------------+------------+-----------------------------+---------+--------+------------+---------+----------------+-----------+-------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------------------------------------
1 | Davolio | Nancy | Sales Representative | Ms. | 1948-12-08 | 1992-05-01 | 507 - 20th Ave. E.\nApt. 2A | Seattle | WA | 98122 | USA | (206) 555-9857 | 5467 | \x | Education includes a BA in psychology from Colorado State University in 1970. She also completed "The Art of the Cold Call." Nancy is a member of Toastmasters International. | 2 | http://accweb/emmployees/davolio.bmp
(1 row)
----
That works fine but what if I only want to return the 'EmployeeID' field?
[source,sql]
----
postgres=# select EmployeeID from employees limit 1;
ERROR: column "employeeid" does not exist
LINE 1: select EmployeeID from employees limit 1;
----
I hadn't realised (or had forgotten) that http://stackoverflow.com/questions/20878932/are-postgresql-column-names-case-sensitive[field names get lower cased] so we need to quote the name if it's been stored in mixed case:
[source,sql]
----
postgres=# select "EmployeeID" from employees limit 1;
EmployeeID
------------
1
(1 row)
----
From my reading the suggestion seems to be to have your field names lower cased to avoid this problem but since it's just a dummy data set I guess I'll just put up with the quoting overhead for now. | null | null | [
-0.020952308550477028,
0.027653206139802933,
-0.014606734737753868,
0.043959349393844604,
0.09762252122163773,
0.0015950965462252498,
0.014627809636294842,
0.020118700340390205,
0.019634194672107697,
-0.03814491257071495,
-0.013905379921197891,
-0.007480292115360498,
-0.0691065639257431,
-0.011261924169957638,
0.014705151319503784,
0.08889435231685638,
0.03814604505896568,
0.02372920885682106,
0.022715648636221886,
-0.034032583236694336,
0.027465984225273132,
0.03946807235479355,
-0.016099954023957253,
0.034331925213336945,
0.033947765827178955,
0.012208809144794941,
-0.006446194369345903,
0.017782848328351974,
-0.06835547834634781,
0.031111663207411766,
0.030845116823911667,
-0.0034717924427241087,
-0.0063582235015928745,
-0.013835886493325233,
0.008078320883214474,
-0.018664836883544922,
-0.016137616708874702,
0.011388123035430908,
-0.018032869324088097,
0.016957493498921394,
-0.064297616481781,
0.006679276004433632,
-0.0038803911302238703,
0.0390627458691597,
-0.013992066495120525,
0.004769603256136179,
-0.042943209409713745,
0.04246062785387039,
-0.03132396563887596,
0.010321029461920261,
-0.03967517986893654,
0.04051615670323372,
-0.0010629702592268586,
-0.015535551123321056,
0.0038020669016987085,
0.0462152361869812,
0.021827364340424538,
-0.059748053550720215,
-0.00008734848233871162,
-0.039762966334819794,
0.031005553901195526,
-0.0005026993458159268,
0.013288706541061401,
-0.01538796816021204,
0.04457845911383629,
-0.008994147181510925,
-0.014242962002754211,
0.046478740870952606,
-0.01281018741428852,
-0.000717619142960757,
-0.021841634064912796,
0.012164711020886898,
0.008091013878583908,
-0.029785575345158577,
0.026160040870308876,
-0.021223334595561028,
0.00543607072904706,
0.058749981224536896,
0.01898815669119358,
0.07401496917009354,
0.0008633173420093954,
0.015609840862452984,
-0.009611821733415127,
0.024890897795557976,
0.017382102087140083,
-0.05217700079083443,
-0.053077347576618195,
-0.04666278883814812,
-0.018135903403162956,
0.04325311258435249,
-0.00716777890920639,
-0.04042178764939308,
0.010216603986918926,
0.009827637113630772,
-0.03331718221306801,
-0.009476892650127411,
0.018187008798122406,
0.016599491238594055,
0.01115124486386776,
-0.004052978940308094,
-0.04262133315205574,
-0.02764495089650154,
0.05675085261464119,
0.01176462508738041,
-0.0671669989824295,
-0.019622959196567535,
-0.061889730393886566,
-0.004437134601175785,
0.01643369533121586,
0.021386804059147835,
-0.009070046246051788,
-0.012816130183637142,
0.008615613915026188,
0.016552245244383812,
-0.06036766245961189,
0.08499351143836975,
0.0253312811255455,
-0.04639211297035217,
0.041768912225961685,
-0.015191643498837948,
0.04844929650425911,
-0.000926933775190264,
0.018255922943353653,
0.08466590195894241,
0.001742837019264698,
0.00930663850158453,
0.00445420341566205,
0.054383277893066406,
-0.015700235962867737,
-0.07728705555200577,
-0.0019639981910586357,
0.05768071487545967,
0.00007854683644836769,
0.03291793540120125,
0.015917668119072914,
-0.038013916462659836,
-0.016372380778193474,
0.000012851632163801696,
0.03575634956359863,
-0.0024815129581838846,
0.0035410113632678986,
-0.029661457985639572,
0.016867706552147865,
-0.018202317878603935,
0.02899429388344288,
0.019705791026353836,
0.04537094756960869,
-0.05427395924925804,
-0.03175937756896019,
0.01739228144288063,
0.019297365099191666,
0.04955751821398735,
0.06221133843064308,
-0.01614716276526451,
0.007616209331899881,
0.09764634817838669,
0.021292561665177345,
0.0018147971713915467,
-0.03527628257870674,
-0.0073194801807403564,
0.03476517274975777,
0.01774970255792141,
0.004656452685594559,
0.04915965721011162,
0.025105765089392662,
-0.013843615539371967,
0.008901926688849926,
0.0313166081905365,
0.006818254943937063,
0.02117924392223358,
-0.06670354306697845,
-0.08041373640298843,
0.07890608161687851,
-0.037164799869060516,
-0.02169184200465679,
0.05308074504137039,
0.08329012989997864,
0.04003795236349106,
0.04116709157824516,
-0.0028912245761603117,
-0.08981897681951523,
0.009133752435445786,
-0.014385685324668884,
0.01222301460802555,
0.02166569046676159,
0.003169598989188671,
0.07737655192613602,
0.03448162227869034,
0.019486907869577408,
0.048821866512298584,
-0.06251288950443268,
-0.10317893326282501,
-0.0204303078353405,
-0.014847464859485626,
0.03483022376894951,
-0.05384714901447296,
0.014772935770452023,
0.059915848076343536,
-0.004359918646514416,
0.02701190486550331,
-0.029263848438858986,
0.028572987765073776,
0.02156544104218483,
-0.06019081920385361,
-0.03542547672986984,
0.03323955461382866,
0.022557741031050682,
0.00024040743301156908,
-0.017986226826906204,
0.012515547685325146,
-0.03276323527097702,
-0.031144948676228523,
0.019803527742624283,
-0.010658432729542255,
0.05701281130313873,
0.014652611687779427,
0.04669148102402687,
-0.014246745966374874,
0.04992573335766792,
-0.03184167295694351,
0.04642144963145256,
0.05856051668524742,
-0.01280093751847744,
-0.007767927832901478,
-0.012202269397675991,
0.1297755092382431,
0.050910141319036484,
0.008975270204246044,
-0.03713802993297577,
0.03867461904883385,
0.016574440523982048,
-0.0032161285635083914,
0.036177195608615875,
-0.03523040935397148,
0.010643299669027328,
-0.014829644933342934,
-0.013875114731490612,
-0.0488760769367218,
0.029962031170725822,
-0.035873930901288986,
0.017097970470786095,
0.06944060325622559,
-0.026798907667398453,
0.053735312074422836,
0.03218698501586914,
-0.042289234697818756,
-0.02766929380595684,
-0.02052726410329342,
-0.026052840054035187,
-0.004395793192088604,
0.022155558690428734,
-0.01691940613090992,
0.031092990189790726,
-0.012956296093761921,
-0.03288339078426361,
-0.026133451610803604,
-0.0539606548845768,
0.021571557968854904,
0.06266506761312485,
0.0437387116253376,
-0.03482862934470177,
0.024829966947436333,
0.00045339015196077526,
0.004068349022418261,
-0.007455120794475079,
-0.04577061906456947,
-0.03260074928402901,
-0.03120962157845497,
-0.014071325771510601,
0.017887461930513382,
0.016543691977858543,
0.00541795464232564,
-0.02579069510102272,
0.006134749855846167,
0.002312849508598447,
-0.012608938850462437,
0.017484387382864952,
-0.017743650823831558,
-0.0039756703190505505,
-0.0542932003736496,
0.0035107156727463007,
0.05244220420718193,
-0.06921157985925674,
-0.0420970655977726,
0.022832099348306656,
-0.08344947546720505,
0.03143887221813202,
-0.05929693579673767,
-0.030634092167019844,
0.03353949263691902,
0.03155689686536789,
0.025732100009918213,
-0.027281934395432472,
-0.007030992303043604,
0.11998406797647476,
-0.0023284514900296926,
0.008800164796411991,
0.013795144855976105,
0.03115185908973217,
0.04626612737774849,
-0.002046135487034917,
0.009560702368617058,
0.048199363052845,
-0.014043262228369713,
0.007951473817229271,
-0.033054281026124954,
0.015652647241950035,
-0.03451921045780182,
-0.2557916045188904,
0.01233438216149807,
-0.0213276706635952,
-0.04990900307893753,
0.03500647097826004,
-0.029398931190371513,
0.033120378851890564,
-0.0421619638800621,
-0.01743730530142784,
0.001358221285045147,
-0.0019452543929219246,
-0.05203627422451973,
-0.03442702814936638,
0.04941577464342117,
0.026684433221817017,
0.06489681452512741,
-0.008199489675462246,
-0.049191854894161224,
0.025819938629865646,
0.03924703225493431,
0.03359074518084526,
-0.08245706558227539,
0.004257931839674711,
0.032652679830789566,
0.05404113978147507,
0.06244044378399849,
-0.07322785258293152,
0.01438901387155056,
-0.0369778536260128,
-0.013810398057103157,
0.014199821278452873,
-0.011366446502506733,
-0.025071879848837852,
-0.018733322620391846,
-0.03438280150294304,
-0.025569727644324303,
0.026744380593299866,
0.013507402502000332,
0.0270105991512537,
-0.009089004248380661,
-0.04383498430252075,
-0.0181944128125906,
0.012502206489443779,
0.015262104570865631,
0.07819392532110214,
0.0005739268963225186,
-0.04897969216108322,
0.005156426224857569,
-0.014374553225934505,
0.034410811960697174,
-0.014370144344866276,
-0.025416044518351555,
-0.015017727389931679,
0.024626711383461952,
-0.007142913527786732,
-0.002195904962718487,
-0.004058384336531162,
0.005123401526361704,
-0.07152248173952103,
-0.017423974350094795,
0.02541832998394966,
-0.04812940955162048,
0.022788051515817642,
-0.028815004974603653,
0.008475559763610363,
-0.06220352277159691,
-0.040428414940834045,
-0.02411649562418461,
0.06643997877836227,
0.05278949812054634,
-0.010514834895730019,
-0.010376384481787682,
0.0011583419982343912,
-0.09615211933851242,
-0.037067145109176636,
-0.03944990038871765,
0.001896024914458394,
-0.021637506783008575,
-0.013690066523849964,
0.01498464122414589,
-0.01795104518532753,
-0.013977189548313618,
0.009173679165542126,
0.04542097449302673,
0.019953006878495216,
-0.05313512310385704,
0.022845523431897163,
0.009222280234098434,
-0.0501270554959774,
-0.007576740346848965,
0.0686955526471138,
-0.08595018833875656,
0.015310670249164104,
-0.030012041330337524,
-0.0276002399623394,
0.031933899968862534,
0.0013195611536502838,
-0.008893928490579128,
-0.006482844706624746,
0.004660201724618673,
0.04215751960873604,
-0.04892142862081528,
0.0005723070935346186,
-0.06676077097654343,
-0.012868077494204044,
-0.024701476097106934,
-0.04588867351412773,
0.024641534313559532,
0.02941068634390831,
0.026068981736898422,
0.0011877567740157247,
-0.02426907792687416,
0.034694306552410126,
-0.04715009778738022,
-0.0026931576430797577,
-0.017795700579881668,
0.005744767840951681,
0.02797134593129158,
0.012067573145031929,
-0.033546917140483856,
-0.043684449046850204,
0.011853146366775036,
0.00335136242210865,
-0.03781982511281967,
-0.04416128993034363,
-0.038170818239450455,
-0.006836529355496168,
-0.0019210283644497395,
-0.010435370728373528,
-0.007386732846498489,
-0.012477874755859375,
0.002735164714977145,
0.03252170607447624,
-0.024119356647133827,
0.05528903380036354,
-0.0033381178509444,
-0.03419730067253113,
-0.03213179111480713,
0.007175306789577007,
0.036278337240219116,
-0.018324263393878937,
0.004584303591400385,
0.010402325540781021,
0.02725248783826828,
0.02191898785531521,
-0.010613087564706802,
-0.001169904018752277,
0.02702876180410385,
0.00008387636626139283,
0.04523449018597603,
-0.016700411215424538,
-0.04403075948357582,
0.03690837696194649,
-0.05115655064582825,
-0.03044816106557846,
-0.012367259711027145,
0.0665341466665268,
-0.018484747037291527,
-0.024788187816739082,
-0.02800491265952587,
0.009392689913511276,
-0.0489429347217083,
-0.028833281248807907,
-0.006263100076466799,
-0.002616335405036807,
0.0528152734041214,
0.003123942529782653,
0.021857434883713722,
-0.01955939270555973,
0.03689214587211609,
0.03987511247396469,
0.0059888227842748165,
-0.028275849297642708,
-0.00554966414347291,
0.02693847566843033,
-0.027054311707615852,
0.007589201908558607,
0.01030314527451992,
0.006818418391048908,
-0.000008779146810411476,
-0.017761435359716415,
0.008124060928821564,
-0.004778918344527483,
0.04218444973230362,
0.04756743088364601,
0.06046323478221893,
-0.02444135583937168,
-0.01746445707976818,
0.010216869413852692,
-0.054486289620399475,
-0.01730942167341709,
-0.000025029423341038637,
-0.024790776893496513,
0.008861933834850788,
-0.04513778164982796,
-0.056337621062994,
0.05902481451630592,
0.02087039314210415,
-0.02218884602189064,
0.009668269194662571,
0.002668102504685521,
-0.03503487631678581,
-0.04789586737751961,
0.0417022667825222,
0.05904306843876839,
-0.05955257639288902,
0.010089670307934284,
-0.025023972615599632,
-0.029572799801826477,
0.016992835327982903,
-0.006718451157212257,
-0.033282212913036346,
-0.007224916014820337,
-0.046688877046108246,
-0.012507532723248005,
-0.009792259894311428,
-0.002181929536163807,
0.001787763205356896,
-0.020624281838536263,
0.02636146917939186,
0.017101824283599854,
0.020360877737402916,
0.02821320854127407,
-0.04140308499336243,
-0.015734365209937096,
0.013082231394946575,
-0.0347837395966053,
-0.025155138224363327,
0.045456431806087494,
-0.007724317722022533,
0.005563434679061174,
-0.033990468829870224,
0.007648356258869171,
0.0004219572292640805,
0.012539675459265709,
-0.016179652884602547,
-0.05888833478093147,
-0.00902711134403944,
0.008199564181268215,
0.046703845262527466,
-0.019454587250947952,
-0.021578112617135048,
-0.01987052895128727,
-0.04639970511198044,
-0.04019768536090851,
-0.00004202958007226698,
0.0006667381385341287,
-0.014389448799192905,
0.020073769614100456,
0.032150737941265106,
0.02926819771528244,
0.025702524930238724,
-0.025192586705088615,
-0.010040083900094032,
0.06489662081003189,
-0.02642115391790867,
-0.005455363541841507,
0.011996571905910969,
-0.06160501763224602,
0.029431063681840897,
0.0029748205561190844,
0.0010783863253891468,
-0.03849247843027115,
0.05192185565829277,
0.03451891243457794,
0.0014981668209657073,
0.03904423862695694,
0.0131833516061306,
0.03305618837475777,
0.0026720103342086077,
-0.036333706229925156,
-0.08681732416152954,
0.0002022743137786165,
0.018732817843556404,
-0.015982024371623993,
-0.031744495034217834,
-0.0015207831747829914,
-0.023904668167233467,
0.02502521313726902,
-0.06676597893238068,
-0.048011597245931625,
0.044647544622421265,
0.016973428428173065,
-0.02284914441406727,
-0.01205502636730671,
-0.03912227973341942,
-0.010119140148162842,
0.038735754787921906,
-0.043564315885305405,
-0.029846597462892532,
-0.012220692820847034,
0.06400205940008163,
-0.01904161274433136,
-0.0036407795269042253,
-0.023038020357489586,
-0.010632557794451714,
0.07959944754838943,
0.03980002924799919,
0.012164874002337456,
0.04617056995630264,
-0.04183117672801018,
0.04394414648413658,
0.03011338599026203,
0.004975767340511084,
-0.012836216948926449,
0.024494802579283714,
-0.021597253158688545,
-0.045627936720848083,
-0.008073379285633564,
0.018317973241209984,
-0.00004572878606268205,
-0.05097198858857155,
0.08936841040849686,
0.006631864234805107,
-0.018336353823542595,
-0.05754635110497475,
0.020827582105994225,
-0.03178121894598007,
-0.033320456743240356,
-0.02535824291408062,
-0.017672376707196236,
-0.025622541084885597,
0.08501245081424713,
-0.0037813461385667324,
-0.0007339720614254475,
0.045646995306015015,
0.002630760660395026,
-0.0057762013748288155,
0.002848674776032567,
0.07006314396858215,
0.07562010735273361,
0.03960195556282997,
0.0049408539198338985,
0.05898481234908104,
-0.03846824914216995,
-0.0290401391685009,
0.021436236798763275,
-0.039346423000097275,
-0.005133954808115959,
-0.008261337876319885,
-0.0029435730539262295,
0.08380411565303802,
-0.012557219713926315,
0.06665288656949997,
0.0033939627464860678,
-0.006787943188101053,
0.01979556865990162,
-0.006229957565665245,
0.0388636440038681,
0.07359497994184494,
-0.017522795125842094,
0.03107730858027935,
-0.013991042040288448,
-0.017110517248511314,
0.006120156962424517,
-0.006798158399760723,
-0.02398262359201908,
0.010992341674864292,
-0.03283850848674774,
0.018276844173669815,
-0.01739872433245182,
0.007113513071089983,
0.08507851511240005,
-0.019708283245563507,
-0.03347685933113098,
-0.009125567972660065,
0.05109269544482231,
0.008524454198777676,
0.030425461009144783,
-0.00007197412924142554,
-0.029748262837529182,
-0.013418187387287617,
-0.051449112594127655,
-0.02708473801612854,
-0.0323304608464241,
-0.0549965538084507,
-0.010608544573187828,
-0.007222696207463741,
0.01734771579504013,
0.0367923229932785,
0.024731598794460297,
-0.02148202247917652,
-0.04914703592658043,
-0.0667080506682396,
-0.009385951794683933,
-0.05750839039683342,
-0.00917019136250019,
-0.012860956601798534,
-0.04420234262943268,
-0.02208070084452629,
-0.014931869693100452,
-0.019639238715171814,
-0.014991468749940395,
0.023380335420370102,
-0.020539594814181328,
-0.05930183827877045,
0.02322041057050228,
0.025998016819357872,
0.028104854747653008,
0.021195581182837486,
0.058337245136499405,
-0.009011792950332165,
0.028125006705522537,
-0.006411882117390633,
0.012087753973901272,
0.04615547135472298,
-0.030768729746341705,
0.022060243412852287,
-0.09434711188077927,
0.008685335516929626,
0.0013330400688573718,
0.0010110685834661126,
-0.0641501173377037,
0.012533191591501236,
0.029313337057828903,
-0.002087830565869808,
0.052132464945316315,
-0.005769720766693354,
0.013098570518195629,
-0.03240529075264931,
-0.029211927205324173,
-0.0196726992726326,
0.01659749262034893,
0.04411197826266289,
-0.048813484609127045,
0.07096289098262787,
0.03967297822237015,
-0.020304173231124878,
-0.019326291978359222,
-0.00029224343597888947,
0.01652238331735134,
0.02000034973025322,
-0.07310134917497635,
-0.022987125441432,
-0.03798981010913849,
-0.09783429652452469,
-0.011829537339508533,
0.0026753568090498447,
-0.03144848719239235,
-0.04051118716597557,
-0.029439998790621758,
0.03599051013588905,
-0.02293703705072403,
0.03699856624007225,
-0.052802059799432755,
0.03222241252660751,
-0.04187118262052536,
-0.047561705112457275,
-0.056071892380714417,
-0.00011260199244134128,
-0.003924990072846413,
0.012832407839596272,
0.004954308737069368,
-0.043677523732185364,
0.004427279811352491,
-0.021825484931468964,
0.016877615824341774,
0.012296655215322971,
0.018021659925580025,
0.03137879818677902
] | [
-0.06954218447208405,
-0.020439010113477707,
-0.03959886357188225,
-0.021786987781524658,
0.04707087576389313,
-0.05637752637267113,
0.0062960111536085606,
-0.01799379289150238,
0.030184488743543625,
-0.020767467096447945,
0.0005681075272150338,
-0.01845187321305275,
-0.00875888578593731,
-0.023063458502292633,
0.040688589215278625,
-0.005196909420192242,
-0.013337673619389534,
-0.05638840049505234,
-0.048390526324510574,
0.04924558103084564,
-0.03512439504265785,
-0.022027423605322838,
-0.07704836875200272,
-0.05179447680711746,
0.024439385160803795,
0.046707697212696075,
0.018439222127199173,
-0.05494166538119316,
-0.03601372614502907,
-0.17122435569763184,
0.005896150600165129,
-0.0036164014600217342,
0.007247965782880783,
-0.012627802789211273,
0.04131023585796356,
0.008564998395740986,
0.007889077998697758,
0.006671017501503229,
0.025991197675466537,
0.03270181268453598,
0.02421257086098194,
-0.0107418829575181,
-0.04180765524506569,
-0.012684478424489498,
0.06507014483213425,
-0.022235145792365074,
-0.0008235402056016028,
-0.0040618241764605045,
0.001519140088930726,
0.031789373606443405,
-0.07718835771083832,
-0.0006720895180478692,
-0.01192025188356638,
0.01676628552377224,
0.010108613409101963,
0.028535673394799232,
0.054692592471838,
0.07462137937545776,
-0.01812809891998768,
0.06750026345252991,
0.03477706387639046,
0.006651207804679871,
-0.12442850321531296,
0.12303363531827927,
-0.04814828932285309,
0.07294342666864395,
-0.022641878575086594,
-0.010241440497338772,
-0.030103785917162895,
0.059790898114442825,
0.02781328186392784,
-0.04247993603348732,
-0.061735641211271286,
0.07849128544330597,
0.019805029034614563,
-0.026562338694930077,
-0.02473081462085247,
0.010267808102071285,
0.0448671393096447,
0.006361887790262699,
-0.02828124910593033,
-0.008650785312056541,
-0.03366834297776222,
-0.04326954111456871,
-0.03179081156849861,
0.028463292866945267,
-0.02822319231927395,
0.029474366456270218,
0.02838996611535549,
0.004162435885518789,
0.031763579696416855,
-0.005940538365393877,
-0.0033496993128210306,
-0.0023032203316688538,
-0.06712237745523453,
-0.024889303371310234,
-0.012603946030139923,
0.014677489176392555,
-0.01289629191160202,
0.35703399777412415,
-0.0020627821795642376,
-0.025106701999902725,
0.014100530184805393,
0.0367182157933712,
-0.02005758136510849,
0.019375527277588844,
0.009509633295238018,
-0.04848042130470276,
0.027645893394947052,
-0.04153976961970329,
-0.045492298901081085,
-0.04369392246007919,
0.053508732467889786,
-0.07364020496606827,
0.011344595812261105,
0.023340974003076553,
0.030775198712944984,
-0.008259594440460205,
-0.0075468034483492374,
0.018354520201683044,
0.014901525340974331,
0.014494507573544979,
-0.021189145743846893,
0.035866111516952515,
0.0050877733156085014,
0.014754734002053738,
0.06631689518690109,
0.047198448330163956,
0.028932588174939156,
0.036089058965444565,
0.05680086091160774,
-0.013654238544404507,
-0.10498358309268951,
-0.014905865304172039,
-0.00871978234499693,
-0.001778770238161087,
0.01844746433198452,
0.00747929560020566,
-0.0012390828924253583,
0.024729589000344276,
-0.050640594214200974,
-0.06621228158473969,
0.04658541455864906,
-0.007538631558418274,
-0.05357034504413605,
0.15040576457977295,
0.011984371580183506,
-0.010152692906558514,
-0.032107383012771606,
-0.04915301874279976,
-0.017592834308743477,
0.040497466921806335,
0.04284196346998215,
-0.07106182724237442,
-0.031672440469264984,
0.04630536586046219,
0.06370866298675537,
-0.02129639871418476,
-0.07471861690282822,
-0.043646469712257385,
-0.010262977331876755,
-0.08270203322172165,
-0.03281170502305031,
0.05351793020963669,
0.039024047553539276,
-0.12635871767997742,
-0.026742946356534958,
0.01798645593225956,
0.033305760473012924,
-0.049268390983343124,
0.019256440922617912,
0.027798663824796677,
-0.06565525382757187,
-0.011965036392211914,
0.06487836688756943,
0.00912746787071228,
-0.010767425410449505,
0.013835991732776165,
0.026296494528651237,
0.01569284312427044,
-0.016372276470065117,
0.009862612932920456,
-0.05151841416954994,
0.005570929031819105,
-0.06623105704784393,
-0.04466398432850838,
-0.05502802133560181,
-0.012170564383268356,
-0.002905315952375531,
-0.020841194316744804,
-0.00018732230819296092,
0.0021027878392487764,
-0.07467802613973618,
0.06134895607829094,
-0.04113234952092171,
-0.019571738317608833,
0.014210747554898262,
0.036981455981731415,
0.0055806138552725315,
-0.05826018005609512,
0.037826281040906906,
0.03337930142879486,
-0.020157136023044586,
0.044369157403707504,
-0.04534807428717613,
0.025667987763881683,
0.0670761913061142,
-0.06844109296798706,
0.06237814575433731,
0.013327177613973618,
-0.010202434845268726,
0.026997853070497513,
-0.003760413732379675,
0.044009145349264145,
0.02555641531944275,
-0.015435430221259594,
-0.018896300345659256,
-0.0032439916394650936,
0.02897692285478115,
0.05650065466761589,
-0.03912587836384773,
0.005337695125490427,
0.048776768147945404,
-0.3676914870738983,
-0.012098917737603188,
-0.04366917163133621,
-0.006859413348138332,
-0.04263719916343689,
-0.04484894499182701,
-0.017172863706946373,
0.008324147202074528,
-0.0019381205784156919,
0.06467839330434799,
0.10520824044942856,
0.006204111967235804,
0.017694756388664246,
-0.07002149522304535,
-0.02035878784954548,
0.025581711903214455,
-0.041769202798604965,
-0.026558760553598404,
-0.043260592967271805,
-0.019694605842232704,
0.0012361680855974555,
-0.023670203983783722,
-0.041105207055807114,
-0.06440838426351547,
0.04118282347917557,
0.009633760899305344,
0.13669134676456451,
-0.0342613160610199,
0.009860264137387276,
-0.07696481794118881,
0.06478507071733475,
-0.02190186269581318,
-0.013552064076066017,
-0.04772436246275902,
0.04645373299717903,
-0.03405618667602539,
-0.009094356559216976,
0.026881031692028046,
0.005456926766782999,
0.000030286264518508688,
-0.05467534065246582,
0.026433337479829788,
-0.039194464683532715,
-0.04433710128068924,
-0.03812623396515846,
0.00009349174797534943,
-0.007580488920211792,
0.001985167618840933,
-0.02658897079527378,
0.08488348126411438,
-0.0032636048272252083,
0.005892244167625904,
0.0468938983976841,
0.05755249783396721,
0.020538466051220894,
-0.03875171020627022,
-0.09864352643489838,
0.007012925576418638,
-0.04049912467598915,
0.008448450826108456,
0.051810141652822495,
0.03369003161787987,
0.05493481457233429,
-0.04846915975213051,
0.00758776580914855,
-0.006902744993567467,
-0.019579606130719185,
0.04104398563504219,
0.04127122089266777,
-0.016851548105478287,
-0.052798591554164886,
0.03124176152050495,
-0.002505093114450574,
0.022797102108597755,
0.028229935094714165,
0.08585064113140106,
-0.02710540033876896,
0.014213583432137966,
0.025666702538728714,
0.007634579204022884,
0.04242802783846855,
-0.02163534238934517,
0.03132394701242447,
0.021516000851988792,
0.021153707057237625,
0.061643872410058975,
0.03554411232471466,
-0.005220471881330013,
0.0623340830206871,
0.03982551023364067,
-0.03335581719875336,
-0.021387556567788124,
-0.040032412856817245,
-0.07175186276435852,
0.04365803673863411,
-0.030245337635278702,
-0.2593073844909668,
0.053827352821826935,
0.008798022754490376,
0.03427876904606819,
0.03798951953649521,
0.002810309175401926,
0.006898172199726105,
-0.0555085614323616,
-0.015502505004405975,
-0.03213706240057945,
0.03422100469470024,
0.01749505288898945,
0.030004944652318954,
-0.025980260223150253,
0.012367176823318005,
-0.005515306256711483,
0.01666613668203354,
0.009975670836865902,
0.02783755026757717,
0.007760701235383749,
0.02173970453441143,
-0.016129732131958008,
0.14249901473522186,
0.07455796003341675,
0.025468943640589714,
0.014052856713533401,
0.023661643266677856,
-0.021376805379986763,
0.06182270497083664,
0.0696723610162735,
-0.002302877139300108,
-0.0019313100492581725,
0.07490213960409164,
0.02642514556646347,
0.007188193034380674,
-0.04094779118895531,
-0.05148020386695862,
0.08115173131227493,
0.02215617708861828,
-0.05211973190307617,
-0.061403412371873856,
0.014086124487221241,
-0.03834361955523491,
0.0505506694316864,
0.07687059789896011,
0.009011363610625267,
-0.03223136067390442,
-0.008444397710263729,
-0.011730998754501343,
-0.01637752167880535,
-0.006765410304069519,
0.011091489344835281,
-0.014255350455641747,
-0.01664699986577034,
0.007564069237560034,
0.0429510772228241,
0.06283420324325562,
-0.02556418441236019,
0.039836764335632324,
0.01973394677042961,
-0.006461027078330517,
-0.014247122220695019,
0.08311288803815842,
0.012157004326581955,
0.009170562960207462
] | [
0.0009013016242533922,
0.012203426100313663,
-0.02333260513842106,
0.027636397629976273,
-0.04437735676765442,
-0.0021460712887346745,
0.01396147534251213,
-0.013578025624155998,
-0.056216634809970856,
-0.04563900828361511,
-0.007368859834969044,
0.017151134088635445,
0.01126608345657587,
-0.08264138549566269,
0.0038707908242940903,
-0.00022251391783356667,
0.02350502833724022,
0.007839884608983994,
0.062277842313051224,
-0.038339708000421524,
-0.06068287417292595,
-0.008564851246774197,
0.010735245421528816,
-0.024425288662314415,
-0.015404623001813889,
0.03080570697784424,
-0.02873236872255802,
0.008104149252176285,
0.01740042306482792,
-0.09790802001953125,
-0.04752021282911301,
-0.03751784563064575,
0.00015600328333675861,
0.04426095262169838,
-0.011328666470944881,
-0.01243185717612505,
0.023599831387400627,
0.03686081990599632,
0.0110239302739501,
-0.004951072856783867,
0.0015400651609525084,
-0.023492690175771713,
-0.04493730887770653,
0.001997374463826418,
-0.008863569237291813,
-0.011207721196115017,
-0.024883730337023735,
0.013485707342624664,
-0.0017824290553107858,
-0.002616094658151269,
-0.04830440506339073,
-0.022155193611979485,
0.007226275745779276,
-0.01937279850244522,
0.020095549523830414,
0.042318835854530334,
-0.03688417375087738,
0.013094642199575901,
-0.00016689028416294605,
0.01955356076359749,
-0.00030793662881478667,
-0.023211976513266563,
-0.05546828731894493,
-0.0017588632181286812,
0.010456164367496967,
-0.023314332589507103,
-0.02832772023975849,
-0.014881553128361702,
-0.003937914967536926,
-0.04244839772582054,
0.01667861081659794,
-0.0007215411169454455,
-0.08281685411930084,
-0.018425604328513145,
-0.03888767212629318,
-0.010216406546533108,
-0.0064922538585960865,
-0.0028717510867863894,
-0.01824091374874115,
-0.028465354815125465,
-0.016470959410071373,
0.008254260756075382,
-0.025082305073738098,
0.07572925835847855,
-0.012748726643621922,
-0.0615481473505497,
0.008180716075003147,
0.02289300411939621,
-0.004659106023609638,
-0.038531798869371414,
-0.044250745326280594,
-0.007639050949364901,
0.006077103782445192,
0.010389596223831177,
-0.0805635005235672,
-0.007899090647697449,
-0.02395544946193695,
-0.006337664555758238,
-0.004914505872875452,
0.758053719997406,
0.018678732216358185,
0.037465013563632965,
0.04370267689228058,
0.03295923396945,
-0.05653364211320877,
0.007309153210371733,
-0.004588821437209845,
-0.012694012373685837,
-0.000919640064239502,
-0.02722426876425743,
0.028742443770170212,
0.028066130355000496,
0.02374201826751232,
-0.038723256438970566,
0.020574580878019333,
0.03252903372049332,
-0.03644869849085808,
0.022044289857149124,
0.008284002542495728,
-0.004229846876114607,
0.029480265453457832,
-0.0032194340601563454,
-0.04693545028567314,
-0.015308345668017864,
-0.0004873441648669541,
-0.2165622115135193,
0.007941938936710358,
-7.894749364501073e-33,
0.03085654228925705,
0.00948647316545248,
0.08969945460557938,
-0.010225663892924786,
0.03502200171351433,
0.00006105979991843924,
-0.016468122601509094,
0.03818575292825699,
0.025414155796170235,
-0.010174895636737347,
0.02217893861234188,
-0.01076272688806057,
-0.0025064770597964525,
-0.026743844151496887,
0.043295517563819885,
0.05306901037693024,
0.007889050990343094,
0.06528639048337936,
0.01028994470834732,
0.04780399426817894,
0.0026803496293723583,
0.049835048615932465,
-0.005454848986119032,
0.0669967457652092,
0.0489317886531353,
0.017995741218328476,
-0.00447557820007205,
0.023578716441988945,
-0.003687620395794511,
-0.019068904221057892,
-0.03144014626741409,
0.035338155925273895,
0.013094780966639519,
0.010327483527362347,
0.021542489528656006,
-0.031877435743808746,
-0.03574485331773758,
-0.001519430777989328,
-0.010177875868976116,
-0.02951294183731079,
-0.03297891840338707,
0.01826857589185238,
0.034859634935855865,
-0.02735690213739872,
-0.01559451874345541,
-0.004654197953641415,
0.061472974717617035,
0.015589402057230473,
-0.00006359867984429002,
0.03923960402607918,
0.05223040655255318,
-0.0075723822228610516,
-0.053060583770275116,
0.08598321676254272,
-0.012430575676262379,
0.018117880448698997,
0.02601398341357708,
0.048206355422735214,
0.016435004770755768,
0.027041547000408173,
-0.011209605261683464,
-0.016972796991467476,
0.010555451735854149,
0.05828490108251572,
0.0392916314303875,
-0.012395019643008709,
-0.006012118421494961,
0.039793651551008224,
0.03285854309797287,
0.007532245013862848,
-0.03879856318235397,
0.04161078855395317,
-0.01623442769050598,
-0.008828489109873772,
0.025136133655905724,
-0.02703786827623844,
-0.0058176894672214985,
0.02974344789981842,
0.03029441274702549,
0.029796067625284195,
-0.014303899370133877,
-0.02580980211496353,
-0.006811108440160751,
-0.01869727484881878,
-0.0288822241127491,
-0.019274523481726646,
0.02877296693623066,
0.05872735381126404,
-0.06263924390077591,
0.03282353654503822,
0.0031941335182636976,
0.06145057827234268,
0.044414859265089035,
0.011845896951854229,
-0.0005208732909522951,
7.866257585489049e-33,
0.00822595413774252,
-0.02689758501946926,
0.01761779747903347,
-0.036910150200128555,
0.024648703634738922,
0.025827333331108093,
0.029916629195213318,
0.019465385004878044,
-0.029228288680315018,
0.03726033493876457,
-0.009114422835409641,
-0.02291513793170452,
0.01879148930311203,
0.04414251819252968,
0.0311944130808115,
0.011101788841187954,
0.01668086089193821,
0.012166885659098625,
-0.08667570352554321,
0.037983737885951996,
-0.0020744448993355036,
0.039390236139297485,
0.013288714922964573,
0.03824276104569435,
0.03963545337319374,
0.06026584655046463,
-0.025516869500279427,
0.013450460508465767,
-0.017890214920043945,
0.05465732887387276,
-0.0031141452491283417,
0.007392100524157286,
-0.0051314388401806355,
0.01687527261674404,
-0.03360748291015625,
-0.002254993887618184,
-0.00007007912790868431,
-0.03301570564508438,
0.03737937659025192,
0.04052179679274559,
-0.01980826072394848,
0.012226107530295849,
0.06454849988222122,
0.03930926322937012,
0.02315700054168701,
-0.033150557428598404,
-0.00809575617313385,
-0.01715625636279583,
-0.04298751801252365,
-0.016812125220894814,
-0.026350872591137886,
0.03550952300429344,
-0.05239122360944748,
0.04366668686270714,
0.025950847193598747,
-0.05337395519018173,
-0.0249787624925375,
-0.0227750726044178,
-0.03675296902656555,
-0.048255547881126404,
-0.0232993233948946,
0.04485909640789032,
-0.003055872628465295,
0.049566153436899185,
-0.04060797765851021,
-0.07171334326267242,
0.010235423222184181,
-0.0014753203140571713,
0.0017214043764397502,
-0.031401973217725754,
-0.02070755884051323,
-0.02230686880648136,
0.015634866431355476,
0.005194819997996092,
-0.004498581867665052,
-0.00125615403521806,
-0.02719597890973091,
-0.004998866003006697,
-0.014284892939031124,
0.014899839647114277,
0.043871182948350906,
-0.05789652839303017,
0.03844165802001953,
0.0009794322540983558,
-0.00518808513879776,
-0.0006503552431240678,
-0.0316658541560173,
-0.03087134286761284,
0.039455071091651917,
0.0038338075391948223,
-0.0050727687776088715,
-0.048362523317337036,
-0.050509560853242874,
0.010366391390562057,
-0.06665633618831635,
-1.2602228594005283e-8,
-0.04659486189484596,
0.003094744635745883,
-0.024284902960062027,
-0.0007549161091446877,
0.04911702498793602,
0.003682259237393737,
-0.03576527163386345,
0.001675785519182682,
-0.01240134984254837,
0.025331614539027214,
0.035617928951978683,
-0.026327213272452354,
0.02572665363550186,
0.020157894119620323,
-0.0124925896525383,
-0.055785953998565674,
0.030246121808886528,
-0.06473477929830551,
0.015003200620412827,
-0.024928903207182884,
-0.023227166384458542,
0.042635828256607056,
-0.04257936775684357,
0.002267091069370508,
-0.00908634252846241,
0.013611740432679653,
-0.027706008404493332,
-0.049719054251909256,
0.07353933155536652,
0.032758407294750214,
0.02170218527317047,
-0.042316269129514694,
-0.003684746567159891,
-0.014628455974161625,
-0.030549421906471252,
-0.05630325898528099,
0.08378329873085022,
0.024066876620054245,
-0.013133084401488304,
0.020233439281582832,
0.02627556212246418,
0.007518816739320755,
-0.04766226187348366,
-0.007812022231519222,
-0.02731887623667717,
-0.007359112147241831,
-0.012874829582870007,
0.0020483266562223434,
-0.015023994259536266,
-0.011051679961383343,
0.014309260062873363,
-0.023194678127765656,
0.04290000721812248,
0.02338285557925701,
0.02325124852359295,
0.037136439234018326,
-0.005015639588236809,
0.014261613599956036,
-0.03710808604955673,
-0.012388183735311031,
-0.0005949018523097038,
0.0007590678287670016,
-0.00033202164922840893,
0.005926762707531452
] | postgresql-error-column-does-not-exist | https://markhneedham.com/blog/2014/09/29/postgresql-error-column-does-not-exist |
false | 2014-09-29 21:37:21 | R: Deriving a new data frame column based on containing string | [
"r-2",
"rstats"
] | [
"R"
] | I've been playing around with R data frames a bit more and one thing I wanted to do was derive a new column based on the text contained in the existing column.
I started with something like this:
[source,r]
----
> x = data.frame(name = c("Java Hackathon", "Intro to Graphs", "Hands on Cypher"))
> x
name
1 Java Hackathon
2 Intro to Graphs
3 Hands on Cypher
----
And I wanted to derive a new column based on whether or not the session was a practical one. The https://stat.ethz.ch/R-manual/R-devel/library/base/html/grep.html[grepl] function seemed to be the best tool for the job:
[source,r]
----
> grepl("Hackathon|Hands on|Hands On", x$name)
[1] TRUE FALSE TRUE
----
We can then add a column to our data frame with that output:
[source,r]
----
x$practical = grepl("Hackathon|Hands on|Hands On", x$name)
----
And we end up with the following:
[source,r]
----
> x
name practical
1 Java Hackathon TRUE
2 Intro to Graphs FALSE
3 Hands on Cypher TRUE
----
Not too tricky but it took me a bit too long to figure it out so I thought I'd save future Mark some time! | null | null | [
0.018700266256928444,
-0.001333092339336872,
-0.0036804545670747757,
0.05897500365972519,
0.09574268758296967,
0.00015240281936712563,
0.03674617037177086,
0.008209814317524433,
0.02924920804798603,
0.007844474166631699,
-0.0003217759949620813,
0.003507016459479928,
-0.07066497951745987,
0.018201401457190514,
-0.025858798995614052,
0.07703198492527008,
0.06565593183040619,
-0.004275226965546608,
0.017031637951731682,
-0.006369918119162321,
0.02746891975402832,
0.022866755723953247,
-0.018736470490694046,
0.0501076802611351,
0.04279287904500961,
-0.0067634726874530315,
0.014242094941437244,
0.012184892781078815,
-0.027209341526031494,
0.004967672750353813,
0.07138243317604065,
0.009109945967793465,
0.007609112653881311,
-0.029567204415798187,
0.03798484802246094,
0.019188571721315384,
-0.009940261021256447,
-0.010620028711855412,
0.004173457622528076,
-0.005362682975828648,
-0.07833580672740936,
0.0338432639837265,
-0.013357102870941162,
0.014487328007817268,
-0.021593958139419556,
-0.022751111537218094,
-0.060396958142519,
0.033958155661821365,
0.012235957197844982,
0.04458992928266525,
-0.06449292600154877,
0.03414635360240936,
-0.009981600567698479,
-0.010855179280042648,
0.01009290013462305,
0.05029476061463356,
0.01964518241584301,
-0.057555973529815674,
0.029303785413503647,
-0.04141486436128616,
-0.000929532980080694,
-0.008406574837863445,
-0.017158441245555878,
0.039027098566293716,
-0.03127603977918625,
-0.05632854253053665,
-0.0025125155225396156,
0.03348727151751518,
-0.04721089452505112,
0.00711393728852272,
-0.0322602242231369,
-0.0013944059610366821,
-0.04377129673957825,
-0.03660700097680092,
0.017227699980139732,
-0.012563898228108883,
-0.006998978555202484,
0.05856182053685188,
0.011678108014166355,
0.028743568807840347,
-0.022443827241659164,
-0.012177675031125546,
-0.00928863137960434,
-0.007806329522281885,
0.004040404688566923,
-0.038234878331422806,
-0.012463176622986794,
-0.056337226182222366,
-0.04134884849190712,
0.042709629982709885,
-0.030707428231835365,
-0.05938464403152466,
0.00013541022781282663,
0.002250787802040577,
-0.014477167278528214,
0.004979659803211689,
0.008109182119369507,
-0.008145091123878956,
0.008088471367955208,
-0.021764175966382027,
-0.057122450321912766,
-0.0331001877784729,
0.02925136312842369,
0.005756030324846506,
-0.08373893052339554,
-0.004753119312226772,
0.008135062642395496,
-0.03910404443740845,
-0.018486935645341873,
-0.0063612801022827625,
-0.02201896160840988,
0.004594357218593359,
0.012284519150853157,
0.008636357262730598,
-0.058261044323444366,
0.0729578360915184,
0.026961538940668106,
0.0007280499557964504,
-0.026397202163934708,
0.02026527374982834,
0.024527303874492645,
0.015157711692154408,
0.0018614142900332808,
0.06485132873058319,
0.012926577590405941,
0.06311891973018646,
-0.008935592137277126,
0.054124217480421066,
0.00306260515935719,
-0.05761919170618057,
-0.021192872896790504,
0.059864841401576996,
-0.02785954624414444,
0.009004534222185612,
-0.0004432190035004169,
-0.016310052946209908,
0.0081007219851017,
-0.012021737173199654,
0.06394840776920319,
0.04048355668783188,
0.02131342515349388,
-0.022275380790233612,
0.01978425495326519,
-0.01700596511363983,
0.03702940419316292,
0.03131190687417984,
-0.0020413408055901527,
-0.05335847660899162,
-0.04379775747656822,
0.01583067700266838,
0.010874870233237743,
0.03686763346195221,
0.06682427227497101,
0.00464494526386261,
0.02507292851805687,
0.10170582681894302,
0.0352889820933342,
0.02126389741897583,
-0.016702523455023766,
-0.005415287334471941,
0.030729271471500397,
0.01548089925199747,
0.013573658652603626,
0.060694411396980286,
-0.010251970030367374,
-0.010123178362846375,
0.031317856162786484,
0.02726546674966812,
-0.047195810824632645,
0.006529469508677721,
-0.04099398851394653,
-0.06539171189069748,
0.06705247610807419,
-0.04036799073219299,
0.028000812977552414,
0.019345421344041824,
0.06630664318799973,
0.014690350741147995,
0.03967569023370743,
0.01885046996176243,
-0.07228617370128632,
0.05129942670464516,
0.006617988459765911,
0.005057730246335268,
0.037379033863544464,
-0.03277049958705902,
0.0987175777554512,
0.026556041091680527,
0.03264293819665909,
0.05679648742079735,
-0.07091576606035233,
-0.10140345245599747,
-0.006889315787702799,
-0.029347199946641922,
0.04361885413527489,
-0.06410054117441177,
0.011231238022446632,
0.0621400885283947,
0.0034087104722857475,
0.016189832240343094,
0.01561505813151598,
-0.014391946606338024,
0.03423289582133293,
-0.03095990978181362,
-0.026544485241174698,
-0.0016565658152103424,
0.02565622702240944,
-0.03795299679040909,
-0.021290404722094536,
0.01130746491253376,
-0.010499338619410992,
0.028111495077610016,
-0.0010721859289333224,
-0.03774881362915039,
0.0624183788895607,
0.02475534938275814,
0.04036588594317436,
0.011203211732208729,
0.01779571734368801,
-0.04116899147629738,
0.03377188369631767,
-0.015024757012724876,
-0.0168515183031559,
-0.01740194298326969,
0.009636344388127327,
0.1312900185585022,
0.07058791816234589,
0.0015850195195525885,
-0.04603414237499237,
0.03130630403757095,
-0.021827906370162964,
-0.03946448117494583,
0.02190548926591873,
-0.0062441457994282246,
-0.018027720972895622,
0.008261671289801598,
-0.018999936059117317,
-0.013658406212925911,
0.018294326961040497,
-0.011980434879660606,
0.0319928303360939,
0.07297846674919128,
-0.025295669212937355,
0.02225748635828495,
0.005292811896651983,
-0.012262462638318539,
-0.007647546008229256,
-0.03783511370420456,
-0.07634645700454712,
-0.00179954431951046,
0.019654331728816032,
-0.010689250193536282,
0.0457356721162796,
-0.05102413892745972,
-0.000704254605807364,
-0.008213963359594345,
-0.05101030692458153,
0.02636372484266758,
0.07121796160936356,
0.06174314394593239,
-0.02428700588643551,
0.023278743028640747,
-0.014372245408594608,
0.013747700490057468,
-0.012580422684550285,
-0.03759688511490822,
-0.04519260302186012,
-0.06633792072534561,
0.006966019980609417,
0.03260689228773117,
0.014401188120245934,
-0.00992941576987505,
-0.008368759416043758,
0.0292193740606308,
0.02626054920256138,
-0.030262412503361702,
0.01553577370941639,
-0.0008166993502527475,
-0.02257351018488407,
-0.01939927227795124,
-0.014999431557953358,
0.04834230989217758,
-0.0172123983502388,
-0.017037419602274895,
-0.010844485834240913,
-0.04689667373895645,
0.05467115342617035,
-0.018285591155290604,
-0.030903659760951996,
0.025259435176849365,
0.02337215654551983,
0.06721564382314682,
0.010731085203588009,
0.026060104370117188,
0.04549733176827431,
0.008797269314527512,
0.023545831441879272,
0.023421337828040123,
-0.006951476447284222,
0.07290133833885193,
0.025229206308722496,
0.02565581351518631,
0.04075239598751068,
-0.008253303356468678,
-0.005440089851617813,
-0.01451080571860075,
0.008077955804765224,
-0.007232006173580885,
-0.2817046046257019,
0.014954764395952225,
-0.04134166240692139,
-0.03671456128358841,
0.014568008482456207,
-0.07718604058027267,
0.004604808986186981,
-0.04349345341324806,
-0.01864008605480194,
0.0016840188764035702,
-0.008557028137147427,
-0.05180265009403229,
-0.015690883621573448,
0.05244477465748787,
0.010229670442640781,
0.007236673962324858,
-0.0011774762533605099,
-0.046291738748550415,
-0.0033357765059918165,
0.05648963525891304,
0.03062356449663639,
-0.03829299658536911,
0.008601457811892033,
0.057246096432209015,
0.03454028069972992,
0.0602196641266346,
-0.0782838687300682,
0.040569569915533066,
-0.02704196609556675,
-0.027246205136179924,
0.032015610486269,
-0.03200497850775719,
0.01612710766494274,
0.019950080662965775,
-0.006503623444586992,
-0.004253784194588661,
0.0505622997879982,
0.02196316048502922,
0.0308278389275074,
0.026853948831558228,
-0.03512369468808174,
-0.04760086163878441,
-0.005774759221822023,
0.0011526707094162703,
0.06430081278085709,
0.0003694853512570262,
-0.04850344732403755,
0.02119242213666439,
-0.018872609362006187,
0.08621783554553986,
-0.03181692212820053,
0.009009352885186672,
-0.005901141092181206,
0.018209028989076614,
-0.02733067236840725,
-0.012547139078378677,
-0.017668142914772034,
-0.007867008447647095,
-0.026906060054898262,
-0.041771404445171356,
0.01187813375145197,
-0.029836997389793396,
0.0027304606046527624,
-0.04639851301908493,
-0.007837667129933834,
-0.08308638632297516,
-0.07291341572999954,
-0.02182481624186039,
0.05942731723189354,
0.031923484057188034,
-0.026050666347146034,
0.019544878974556923,
0.014126704074442387,
-0.10346139222383499,
0.00032271986128762364,
-0.028673430904746056,
-0.004924918990582228,
-0.03823494166135788,
-0.01832256279885769,
0.06444837152957916,
-0.05519529804587364,
-0.0342276357114315,
0.01825707033276558,
0.008553373627364635,
0.020622992888092995,
0.0042580533772706985,
0.008980270475149155,
-0.00580576341599226,
-0.03183647245168686,
-0.01286870427429676,
0.05393582209944725,
-0.052015502005815506,
-0.01683720387518406,
-0.0020783753134310246,
0.003781411563977599,
0.050585269927978516,
0.025433575734496117,
-0.005932919215410948,
0.039277445524930954,
0.0132907684892416,
0.012831471860408783,
-0.03716543689370155,
0.015419341623783112,
-0.06983640044927597,
-0.020300576463341713,
-0.04507012292742729,
-0.06451785564422607,
0.01203389372676611,
0.0204421728849411,
0.027684547007083893,
-0.010218099690973759,
-0.021915622055530548,
0.012283890508115292,
-0.06620118021965027,
-0.05228028818964958,
-0.0017119254916906357,
-0.006774168461561203,
-0.000036258283216739073,
0.0011071523185819387,
-0.016283242031931877,
-0.05704048275947571,
0.003675824496895075,
0.007006046362221241,
-0.05216655507683754,
-0.037640877068042755,
-0.01637217588722706,
0.007084537763148546,
-0.02693782187998295,
-0.014379008673131466,
-0.0029918523505330086,
-0.011167885735630989,
-0.009844308719038963,
0.040870778262615204,
0.0018878236878663301,
0.03015492670238018,
0.0031862896867096424,
-0.058297380805015564,
0.0017221386078745127,
-0.0024953866377472878,
0.0252542644739151,
-0.013300028629601002,
0.021060887724161148,
0.0018914382671937346,
0.017780248075723648,
0.00886567123234272,
-0.014317401684820652,
0.022421207278966904,
0.01673290692269802,
-0.0022305683232843876,
-0.010943494737148285,
-0.012425599619746208,
-0.0022957513574510813,
-0.0017030949238687754,
-0.04428943246603012,
-0.020962636917829514,
-0.030179958790540695,
0.04520532116293907,
-0.002972550457343459,
-0.021150806918740273,
-0.03683381527662277,
-0.008009057492017746,
-0.037542279809713364,
0.009258376434445381,
-0.0036260096821933985,
-0.012068158015608788,
0.054536063224077225,
-0.019620291888713837,
0.0016833209665492177,
-0.00703111058101058,
-0.00302489404566586,
0.0005642402684316039,
-0.0033478799741715193,
-0.03319486603140831,
0.010625336319208145,
-0.022072454914450645,
0.0027859830297529697,
0.03291674703359604,
0.016406171023845673,
0.02697179466485977,
0.013262447901070118,
-0.017622847110033035,
-0.030601121485233307,
0.002895032986998558,
0.017611857503652573,
0.05121748894453049,
0.04078102484345436,
0.003241525962948799,
-0.00524809630587697,
-0.03402230888605118,
-0.027528751641511917,
-0.01172839105129242,
-0.0007368503138422966,
-0.02449820749461651,
0.030388839542865753,
-0.04790006950497627,
-0.06819543987512589,
0.014562000520527363,
0.028667153790593147,
0.009303859435021877,
0.01774323359131813,
-0.014645152725279331,
-0.015585452318191528,
-0.022879965603351593,
0.03457694128155708,
0.07239054888486862,
-0.06101275235414505,
-0.01831427775323391,
0.008446921594440937,
0.011058040894567966,
0.026894427835941315,
0.01663373038172722,
-0.07413182407617569,
-0.020924562588334084,
-0.0334930382668972,
-0.005226181820034981,
0.015451902523636818,
-0.0541369765996933,
-0.055567193776369095,
-0.01774975098669529,
0.012128365226089954,
0.012704858556389809,
0.009241725318133831,
-0.0015437736874446273,
-0.029546713456511497,
0.015943869948387146,
0.010707642883062363,
-0.026698874309659004,
-0.04302332177758217,
0.03672115132212639,
0.008656321093440056,
0.007513090968132019,
-0.015873786062002182,
0.04425634816288948,
0.031133748590946198,
0.010696823708713055,
-0.0058092824183404446,
-0.05943860113620758,
0.024600394070148468,
-0.0102908406406641,
0.04946410283446312,
0.009054580703377724,
0.007193590048700571,
-0.06415834277868271,
0.016011273488402367,
-0.04948169365525246,
0.013870719820261002,
-0.015013461001217365,
-0.015538113191723824,
0.03443162888288498,
0.055089954286813736,
0.041805293411016464,
0.00562313525006175,
0.007007948588579893,
-0.05436081811785698,
0.07988137006759644,
-0.022926855832338333,
-0.05673729628324509,
0.0048547289334237576,
-0.03789351135492325,
0.014818573370575905,
0.016239825636148453,
0.011829853057861328,
-0.03841349110007286,
0.03756805881857872,
0.020891208201646805,
0.0026219140272587538,
0.023919444531202316,
-0.020598070695996284,
0.04951858147978783,
-0.009264093823730946,
-0.01930822990834713,
-0.08743426948785782,
-0.00764729967340827,
0.07000741362571716,
-0.006587131880223751,
-0.023086601868271828,
-0.04426741972565651,
-0.045729607343673706,
-0.005335118621587753,
-0.038759879767894745,
-0.031983502209186554,
0.054894618690013885,
-0.009539438411593437,
0.018848741427063942,
-0.012258472852408886,
-0.05464771017432213,
-0.014747127890586853,
0.034557443112134933,
-0.041275832802057266,
-0.018257196992635727,
-0.022873973473906517,
0.03520626947283745,
-0.028634510934352875,
0.008177507668733597,
0.012292192317545414,
-0.015140634030103683,
0.06564313918352127,
0.044070348143577576,
0.017857015132904053,
0.05974398925900459,
-0.04330460727214813,
0.012861709110438824,
0.032187215983867645,
-0.008605562150478363,
0.00354524957947433,
0.04092097654938698,
-0.0005919563118368387,
-0.03721778467297554,
-0.008588703349232674,
0.007681311573833227,
0.006110896822065115,
-0.04684324190020561,
0.07230094075202942,
0.013267595320940018,
-0.06591935455799103,
-0.060643553733825684,
0.010807222686707973,
-0.014313952997326851,
-0.005227710586041212,
-0.000995486043393612,
-0.020058438181877136,
-0.015095236711204052,
0.05792725086212158,
-0.028128353878855705,
-0.0006830841302871704,
0.08634315431118011,
0.004099566023796797,
-0.003988001029938459,
-0.00888683833181858,
0.06288322061300278,
0.09880240261554718,
0.04524083808064461,
0.014326145872473717,
0.051789410412311554,
-0.012333459220826626,
-0.05590842664241791,
0.01975329779088497,
-0.031432442367076874,
0.012345937080681324,
-0.02191868983209133,
0.010608235374093056,
0.0707489401102066,
-0.03435743227601051,
0.059473078697919846,
-0.016615455970168114,
-0.0041851745918393135,
0.0004687150940299034,
0.02315964549779892,
0.013720415532588959,
0.05216929316520691,
-0.006248480174690485,
0.019482126459479332,
-0.02130095660686493,
-0.015312077477574348,
0.013940921053290367,
-0.05249254032969475,
-0.012594201602041721,
0.03326202183961868,
0.003937821369618177,
0.0006737691001035273,
0.025549253448843956,
0.01694962941110134,
0.09550334513187408,
-0.05223653092980385,
-0.0038053623866289854,
0.0023198584094643593,
0.03811376914381981,
0.007208666764199734,
0.01877211220562458,
0.004882222041487694,
-0.03443126007914543,
-0.0183696486055851,
-0.05249165743589401,
-0.051751744002103806,
-0.012683214619755745,
-0.00827639177441597,
0.0033834625501185656,
-0.029081223532557487,
0.008789608255028725,
0.014439309015870094,
-0.02105572819709778,
-0.03770790249109268,
-0.06518173962831497,
-0.04467558488249779,
-0.0577581450343132,
-0.07036422193050385,
-0.03392776846885681,
0.009458132088184357,
-0.025270476937294006,
-0.054192546755075455,
0.023020045831799507,
-0.029742320999503136,
0.0035451583098620176,
-0.004208989907056093,
-0.014866114594042301,
-0.015004239976406097,
0.02617650106549263,
0.022195708006620407,
-0.01121683418750763,
0.02900785394012928,
0.032723017036914825,
0.020170722156763077,
-0.006093939300626516,
-0.030098557472229004,
0.0032041403464972973,
0.04616525396704674,
0.04054582864046097,
-0.001226946827955544,
-0.06907932460308075,
-0.0005089098704047501,
0.005746494513005018,
-0.023619478568434715,
-0.06300559639930725,
0.013254556804895401,
0.011393627151846886,
0.008332143537700176,
0.020843973383307457,
-0.01404579821974039,
0.0008844328694976866,
-0.005189299583435059,
-0.034665562212467194,
0.02353380247950554,
0.012421219609677792,
0.05096816271543503,
-0.027152610942721367,
0.07326994091272354,
0.054142601788043976,
0.002562491921707988,
-0.06672895699739456,
-0.03448185697197914,
-0.0027971602976322174,
-0.004716694355010986,
-0.04606674611568451,
-0.022337717935442924,
-0.03212565556168556,
-0.10829126834869385,
0.015189498662948608,
0.002742423675954342,
-0.06633435189723969,
-0.014280494302511215,
-0.016419757157564163,
0.0231376551091671,
-0.006165222730487585,
0.048566147685050964,
-0.0435183048248291,
0.06338091939687729,
-0.030853070318698883,
-0.03599383682012558,
-0.019231483340263367,
0.02330956608057022,
-0.02509763464331627,
0.025643132627010345,
0.023382972925901413,
-0.0519385039806366,
0.015897158533334732,
-0.0072516645304858685,
0.021987542510032654,
0.01884356141090393,
0.0176340714097023,
-0.003331800689920783
] | [
-0.07388252019882202,
-0.008378695696592331,
-0.054145585745573044,
-0.016246387735009193,
0.0652632787823677,
-0.02406470850110054,
-0.051824431866407394,
0.03515443205833435,
0.024383554235100746,
0.019237231463193893,
0.04222800210118294,
-0.0480412133038044,
0.008417768403887749,
-0.02069949544966221,
0.046036019921302795,
-0.017247945070266724,
-0.001229741727001965,
-0.009777303785085678,
-0.033847786486148834,
0.0181252621114254,
-0.022763436660170555,
-0.038129761815071106,
-0.024259496480226517,
-0.06784304231405258,
0.05839032307267189,
0.04583445191383362,
-0.006162872072309256,
-0.046896688640117645,
-0.013453886844217777,
-0.20270022749900818,
0.00013410067185759544,
0.032096266746520996,
0.025062236934900284,
-0.008436597883701324,
0.013301008380949497,
0.03174152225255966,
0.014975675381720066,
0.0009163179202005267,
0.01467430591583252,
0.03392374888062477,
0.01317108515650034,
-0.013922044076025486,
-0.056189604103565216,
-0.018187573179602623,
0.03140972927212715,
-0.0037673115730285645,
-0.05272417888045311,
-0.01051852386444807,
-0.0052070338279008865,
0.023270493373274803,
-0.07350291311740875,
-0.007879924960434437,
0.006766483187675476,
-0.019277507439255714,
0.012263511307537556,
0.02131793089210987,
0.03268137946724892,
0.02986832894384861,
-0.010600320994853973,
0.03280787169933319,
0.004001616034656763,
0.0053218514658510685,
-0.16229531168937683,
0.09995495527982712,
0.03991329297423363,
0.026867764070630074,
-0.04145780950784683,
-0.007959001697599888,
0.01116955280303955,
0.07765347510576248,
-0.00824950635433197,
-0.009639726020395756,
-0.04051822051405907,
0.05882035940885544,
0.004948749206960201,
0.014025643467903137,
-0.034745458513498306,
0.004127019550651312,
0.03753768652677536,
-0.02615676447749138,
-0.009400945156812668,
0.01591017283499241,
-0.022066548466682434,
0.014719883911311626,
-0.038003042340278625,
0.030726928263902664,
-0.005281046032905579,
0.029409032315015793,
0.005094608291983604,
0.04146045818924904,
0.055983155965805054,
0.020368633791804314,
0.06553155183792114,
0.015661785379052162,
-0.08952958136796951,
-0.010664235800504684,
0.015002813190221786,
0.02346019633114338,
0.000862645625602454,
0.40551313757896423,
-0.026300104334950447,
-0.04929528757929802,
0.03737814351916313,
0.044679660350084305,
0.012125607579946518,
-0.023104850202798843,
0.01337627787142992,
-0.05774999037384987,
0.035679493099451065,
-0.02904020994901657,
0.014232034794986248,
-0.031012607738375664,
0.03517216444015503,
-0.06228098273277283,
0.016532521694898605,
-0.020732726901769638,
0.013882037252187729,
-0.006814124528318644,
0.004156859591603279,
0.018990958109498024,
-0.011092813685536385,
-0.024764472618699074,
-0.0012291745515540242,
0.019081400707364082,
0.027331266552209854,
-0.04618559777736664,
0.01238338090479374,
0.06389857828617096,
0.05774068459868431,
0.01794319599866867,
0.06299161911010742,
-0.022249523550271988,
-0.06180911511182785,
-0.004031421151012182,
-0.017115715891122818,
0.015958664938807487,
0.049128539860248566,
-0.026562172919511795,
0.004213386680930853,
0.027573248371481895,
-0.01257497351616621,
-0.005045270547270775,
0.05019031837582588,
0.014493389055132866,
-0.036234840750694275,
0.1369459182024002,
0.0024951393716037273,
-0.01680612564086914,
-0.018245140090584755,
-0.03825487196445465,
0.003991884179413319,
0.04478020593523979,
0.016039889305830002,
-0.055646251887083054,
-0.01991637609899044,
0.017633097246289253,
0.0787128210067749,
-0.041370268911123276,
-0.08537650108337402,
-0.03198035806417465,
-0.01831519976258278,
-0.022897621616721153,
-0.042365238070487976,
0.04687785357236862,
0.05717974901199341,
-0.07233791053295135,
-0.028008660301566124,
0.026715118438005447,
0.0247177816927433,
-0.03628837689757347,
0.0327749028801918,
0.022510534152388573,
-0.024845514446496964,
-0.008913173340260983,
0.03560618683695793,
0.002984769409522414,
-0.04084307327866554,
0.00890863873064518,
0.0645156130194664,
0.02126081846654415,
0.027626004070043564,
-0.007877424359321594,
-0.0681428387761116,
0.014399681240320206,
-0.06882863491773605,
-0.09281167387962341,
-0.0920819342136383,
0.010870381258428097,
-0.023719828575849533,
-0.02156473696231842,
-0.017501596361398697,
0.014467181637883186,
-0.0601537711918354,
0.07556095719337463,
-0.04948447272181511,
-0.03241293877363205,
0.04703738912940025,
-0.011095688678324223,
-0.014630024321377277,
-0.03988458961248398,
-0.0029918800573796034,
0.0018333117477595806,
-0.006936068180948496,
0.030713453888893127,
-0.08819698542356491,
-0.002433768007904291,
0.06285522878170013,
-0.026927044615149498,
0.07290928065776825,
0.029131803661584854,
-0.0019041087944060564,
-0.023113291710615158,
0.0036555412225425243,
0.006347900256514549,
-0.025654273107647896,
0.003555870847776532,
0.0006226627738215029,
-0.033672623336315155,
0.041270911693573,
0.041798483580350876,
0.001918898313306272,
-0.037370454519987106,
-0.011298837140202522,
-0.3570800721645355,
-0.05485165864229202,
0.026575881987810135,
-0.013808472082018852,
0.04388207569718361,
-0.031038114801049232,
0.031819771975278854,
0.015018084086477757,
-0.0017017406644299626,
0.035100631415843964,
0.061077747493982315,
-0.0038396280724555254,
-0.008709188550710678,
-0.10047390311956406,
-0.003119737608358264,
0.022924382239580154,
-0.007800770457834005,
-0.01228281855583191,
-0.007890493609011173,
-0.01837059110403061,
-0.04083815589547157,
-0.02494995668530464,
-0.02345438487827778,
-0.03355064615607262,
0.0443912036716938,
-0.0004888756666332483,
0.11682363599538803,
0.02989620715379715,
0.0684886947274208,
-0.043721020221710205,
0.031543683260679245,
-0.022231722250580788,
0.018051262944936752,
-0.06756537407636642,
0.03634338453412056,
-0.022306649014353752,
-0.002407166175544262,
0.052611883729696274,
-0.004298590589314699,
-0.02701069973409176,
-0.0008851294405758381,
-0.015188368037343025,
-0.041972819715738297,
-0.03792990744113922,
-0.041170645505189896,
0.016287419945001602,
0.007776424754410982,
-0.03183415159583092,
-0.01723622716963291,
0.07867150008678436,
0.017557363957166672,
-0.010497890412807465,
0.06369415670633316,
0.03268812596797943,
0.03157706558704376,
0.014820256270468235,
-0.07432002574205399,
0.027454106137156487,
0.03213243559002876,
-0.03927318751811981,
0.04602505639195442,
0.05062554404139519,
0.0010705391177907586,
-0.07679937779903412,
0.016479624435305595,
0.010426744818687439,
0.011250077746808529,
-0.026939645409584045,
0.014896679669618607,
-0.009425323456525803,
-0.017358358949422836,
0.0848408117890358,
0.00824830587953329,
0.04312199726700783,
0.026167530566453934,
0.03421495109796524,
-0.02907519042491913,
-0.008659780956804752,
-0.019262436777353287,
-0.014603421092033386,
0.025729350745677948,
-0.061469074338674545,
0.030299456790089607,
-0.032962288707494736,
0.000819140812382102,
0.03377286717295647,
0.021160058677196503,
-0.0527116023004055,
0.04158293083310127,
0.025933634489774704,
0.0011483682319521904,
-0.027530426159501076,
-0.020318688824772835,
-0.037318360060453415,
0.057652924209833145,
-0.02000562660396099,
-0.3127839267253876,
0.037475261837244034,
0.027569273486733437,
0.03691699728369713,
-0.033326003700494766,
-0.0032892473973333836,
0.029778432101011276,
-0.04698188975453377,
-0.028257224708795547,
0.015879571437835693,
-0.0003010177460964769,
0.055703405290842056,
0.03409174457192421,
-0.015895020216703415,
0.00244573294185102,
0.0029666279442608356,
0.04419128596782684,
-0.005935379303991795,
0.008267941884696484,
-0.007829584181308746,
0.015529516153037548,
-0.03911343589425087,
0.15225622057914734,
0.009282165206968784,
0.03381878137588501,
0.0068380641750991344,
-0.028534654527902603,
-0.050501689314842224,
0.07510164380073547,
0.013295530341565609,
0.010000528767704964,
0.008528930135071278,
0.03152577579021454,
0.008149003610014915,
0.037709660828113556,
-0.01026796642690897,
-0.03193692862987518,
0.05466052144765854,
0.0207173153758049,
-0.04250297695398331,
0.00713304290547967,
0.02801278419792652,
-0.014824848622083664,
0.024185877293348312,
0.062385864555835724,
-0.021218998357653618,
-0.0026794590521603823,
-0.04264482483267784,
-0.041047513484954834,
-0.004142657853662968,
-0.004070331808179617,
0.007379774935543537,
-0.03664903715252876,
-0.010320251807570457,
-0.0015916007105261087,
0.049574702978134155,
0.03262024745345116,
-0.008654708042740822,
0.026671627536416054,
0.007833035662770271,
-0.02121681161224842,
-0.08663274347782135,
0.11813607811927795,
0.012800090946257114,
0.019141636788845062
] | [
-0.0017542503774166107,
0.012641284614801407,
-0.03496445342898369,
-0.017112279310822487,
0.004844087641686201,
-0.03318842127919197,
-0.0012698451755568385,
0.017684249207377434,
0.0019609311129897833,
0.01671072095632553,
-0.0015373551286756992,
0.025701923295855522,
0.03397778421640396,
0.009497640654444695,
0.01814842037856579,
-0.020295539870858192,
0.014421427622437477,
0.017316684126853943,
0.021981006488204002,
-0.007398367393761873,
-0.03707258403301239,
0.013585718348622322,
0.04918089881539345,
-0.021019017323851585,
0.028353873640298843,
0.06697763502597809,
-0.023233743384480476,
0.027420666068792343,
0.021367091685533524,
-0.10239778459072113,
-0.018615517765283585,
0.0015686295228078961,
0.011893227696418762,
0.026716891676187515,
-0.036805398762226105,
-0.0005056152585893869,
-0.012872925959527493,
0.07253875583410263,
0.04896748065948486,
0.013622532598674297,
-0.02520902268588543,
-0.009567663073539734,
0.01099130418151617,
0.010708396323025227,
-0.03806381672620773,
-0.03799835965037346,
-0.047185998409986496,
-0.005584344733506441,
0.014003969728946686,
-0.011967216618359089,
-0.03593901917338371,
-0.01363774761557579,
0.03301500529050827,
-0.021325338631868362,
0.03729301691055298,
-0.005586146377027035,
-0.06016642972826958,
-0.01770605705678463,
-0.013940585777163506,
-0.03601383417844772,
0.00326406117528677,
-0.01419828087091446,
-0.0531129390001297,
-0.014858434908092022,
-0.02818414941430092,
-0.01910184882581234,
-0.030827825888991356,
0.013344818726181984,
0.023697970435023308,
0.016507131978869438,
-0.057124026119709015,
0.00011367390834493563,
-0.0628739520907402,
-0.038343507796525955,
-0.03286134451627731,
0.055071871727705,
0.028895359486341476,
0.011207390576601028,
0.024926550686359406,
-0.018604790791869164,
-0.026683233678340912,
0.033735260367393494,
-0.01401488296687603,
0.01561459805816412,
-0.0354979932308197,
0.0061149499379098415,
0.027359504252672195,
0.019979430362582207,
-0.003132439451292157,
0.02560550905764103,
0.016545278951525688,
0.010636527091264725,
0.010767195373773575,
-0.012548604980111122,
-0.12099622189998627,
0.007840417325496674,
-0.004084357991814613,
0.011641262099146843,
0.006989628076553345,
0.8246864676475525,
0.015124266035854816,
0.010907732881605625,
-0.0040513817220926285,
0.04299640655517578,
-0.006302626803517342,
-0.002278359141200781,
-0.04151955246925354,
0.035628434270620346,
0.005697064101696014,
-0.03433576598763466,
-0.0016542795347049832,
0.007107600104063749,
0.001969993580132723,
0.03253774344921112,
-0.0024803467094898224,
0.05466887727379799,
0.028286827728152275,
0.01970447599887848,
-0.0004407193046063185,
0.0020149198826402426,
0.02136489748954773,
-0.008145368658006191,
-0.006557912100106478,
-0.014685179106891155,
-0.02491985261440277,
-0.16271863877773285,
-0.018784623593091965,
-6.426109497786755e-33,
0.012812145985662937,
0.00014898866356816143,
0.03225718066096306,
-0.026788318529725075,
-0.02960209921002388,
0.024377366527915,
-0.024710005149245262,
0.011057752184569836,
0.014591120183467865,
-0.0019522473448887467,
0.014877762645483017,
0.027264563366770744,
0.012612762860953808,
-0.04242869094014168,
0.011266774497926235,
-0.0019531429279595613,
-0.009869450703263283,
0.02354571595788002,
-0.025126127526164055,
0.007079485338181257,
0.010804987512528896,
-0.005696721374988556,
0.011031338945031166,
0.02555941604077816,
0.0005451132310554385,
0.004125733859837055,
0.012315301224589348,
-0.017031079158186913,
-0.00207612500526011,
-0.05473172664642334,
-0.02929317206144333,
0.005458319094032049,
0.0010828416561707854,
0.05238978937268257,
0.01187343429774046,
-0.06638879328966141,
0.01769496127963066,
-0.022156404331326485,
0.008139551617205143,
-0.04155321791768074,
-0.05601448193192482,
-0.014911032281816006,
-0.013124206103384495,
-0.014564248733222485,
-0.03528132289648056,
-0.015365034341812134,
0.013107599690556526,
0.04978141561150551,
-0.027039969339966774,
0.003488726681098342,
0.007724972441792488,
0.04380084201693535,
0.02258218452334404,
0.023933712393045425,
0.01497510727494955,
0.024812908843159676,
0.0029247768688946962,
0.0370899997651577,
-0.0020861178636550903,
0.02121201902627945,
-0.023212855681777,
0.014206460677087307,
-0.005556719843298197,
0.029896508902311325,
0.008636276237666607,
0.021374836564064026,
-0.051083266735076904,
-0.04518503695726395,
-0.01515698991715908,
0.042493510991334915,
0.0006484059849753976,
0.0248577743768692,
0.00825154036283493,
-0.010469553992152214,
0.05497562512755394,
-0.009199530817568302,
-0.014578079804778099,
-0.020841514691710472,
0.02235356532037258,
0.026053108274936676,
-0.004847458563745022,
-0.010815639980137348,
0.007194535806775093,
0.0022982594091445208,
-0.006265615113079548,
-0.021206829696893692,
0.019261913374066353,
-0.023202557116746902,
0.001842708676122129,
0.006795790512114763,
0.005311785731464624,
-0.003682380774989724,
-0.0006154852453619242,
-0.019241666421294212,
-0.008013293147087097,
7.098680345553235e-33,
0.014988732524216175,
0.016150930896401405,
0.004238032270222902,
-0.010144208557903767,
0.02926141768693924,
-0.012769076973199844,
0.0009273067698813975,
-0.002072596689686179,
-0.03216758742928505,
0.019583646208047867,
-0.030492153018712997,
-0.00389339798130095,
-0.015759872272610664,
0.032033611088991165,
0.0655546635389328,
-0.005806786473840475,
0.030269058421254158,
-0.009963425807654858,
-0.03946768119931221,
-0.011228452436625957,
-0.00006796119851060212,
0.01491110771894455,
0.028858067467808723,
0.01126190461218357,
0.048590727150440216,
0.014905148185789585,
0.016566630452871323,
0.0170873012393713,
-0.013700316660106182,
-0.007042684592306614,
-0.00603279285132885,
-0.00014251447282731533,
-0.005766231566667557,
-0.0036013596691191196,
0.010843130759894848,
0.030112693086266518,
0.011825978755950928,
-0.0041173598729074,
0.010962803848087788,
-0.014691435731947422,
-0.03835397586226463,
0.015637051314115524,
-0.009488800540566444,
0.05219341441988945,
0.024795962497591972,
0.009709229692816734,
-0.027620775625109673,
0.042079199105501175,
-0.0116202961653471,
0.01521581131964922,
-0.017816947773098946,
0.032659657299518585,
0.03266308829188347,
0.016278496012091637,
0.02068033441901207,
-0.03744982182979584,
-0.01906176097691059,
0.03722686320543289,
-0.0006830959464423358,
-0.023337936028838158,
-0.025577962398529053,
-0.022808074951171875,
-0.06823097169399261,
0.019614027813076973,
-0.017432941123843193,
-0.04320550337433815,
-0.03722322732210159,
0.02029414102435112,
0.002510224701836705,
0.008019698783755302,
0.005696591455489397,
-0.029043015092611313,
-0.013692023232579231,
0.017650052905082703,
0.05448731780052185,
0.015438023023307323,
-0.03030787780880928,
-0.03803084418177605,
-0.008631395176053047,
0.027629246935248375,
0.03106844238936901,
-0.014005896635353565,
0.009950343519449234,
0.016877498477697372,
0.014002539217472076,
0.019683940336108208,
-0.043306268751621246,
0.033852819353342056,
0.01358684804290533,
-0.022175822407007217,
0.00579842459410429,
-0.017945105209946632,
-0.02746504358947277,
0.04808986186981201,
0.03906717151403427,
-1.2339740784739206e-8,
0.010279668495059013,
-0.005499458871781826,
-0.019411686807870865,
-0.025683656334877014,
0.07574884593486786,
0.03671932592988014,
-0.004189271479845047,
-0.03098279796540737,
-0.006914069410413504,
0.02535822056233883,
0.018095944076776505,
-0.018878884613513947,
0.02356618642807007,
0.0031776120886206627,
-0.01392943225800991,
-0.03170960769057274,
0.030571265146136284,
0.003906810190528631,
0.029896903783082962,
-0.0004260839195922017,
0.009913291782140732,
0.03560904413461685,
-0.01713571324944496,
-0.001089892233721912,
0.00803312472999096,
-0.03593182936310768,
0.0319884829223156,
-0.09564425051212311,
-0.02057468704879284,
0.01893698051571846,
0.017005586996674538,
-0.023957353085279465,
0.021731924265623093,
0.04217008128762245,
-0.03796115890145302,
-0.023601915687322617,
0.019705530256032944,
0.03828893601894379,
0.007230967748910189,
0.03258398920297623,
-0.03848722204566002,
0.007330439519137144,
-0.07234572619199753,
-0.020728040486574173,
-0.057561375200748444,
-0.009308477863669395,
-0.05181191489100456,
-0.004961197264492512,
0.004119221121072769,
-0.07232267409563065,
0.027619143947958946,
0.005237620789557695,
0.0015096047427505255,
-0.024192102253437042,
0.04728955030441284,
0.011236927472054958,
-0.010428757406771183,
0.021693158894777298,
0.005408179946243763,
-0.014065354131162167,
-0.03224574029445648,
0.03990395367145538,
-0.019751541316509247,
-0.04751954972743988
] | r-deriving-a-new-data-frame-column-based-on-containing-string | https://markhneedham.com/blog/2014/09/29/r-deriving-a-new-data-frame-column-based-on-containing-string |
false | 2014-09-16 16:59:21 | R: ggplot - Plotting multiple variables on a line chart | [
"r-2",
"rstats"
] | [
"R"
] | In my continued playing around with meetup data I wanted to plot the number of members who join the Neo4j group over time.
I started off with the variable 'byWeek' which shows how many members joined the group each week:
[source,r]
----
> head(byWeek)
Source: local data frame [6 x 2]
week n
1 2011-06-02 8
2 2011-06-09 4
3 2011-06-30 2
4 2011-07-14 1
5 2011-07-21 1
6 2011-08-18 1
----
I wanted to plot the actual count alongside http://www.markhneedham.com/blog/2014/09/13/r-calculating-rolling-or-moving-averages/[a rolling average] for which I created the following data frame:
[source,r]
----
library(zoo)
joinsByWeek = data.frame(actual = byWeek$n,
week = byWeek$week,
rolling = rollmean(byWeek$n, 4, fill = NA, align=c("right")))
----
[source,text]
----
> head(joinsByWeek, 10)
actual week rolling
1 8 2011-06-02 NA
2 4 2011-06-09 NA
3 2 2011-06-30 NA
4 1 2011-07-14 3.75
5 1 2011-07-21 2.00
6 1 2011-08-18 1.25
7 1 2011-10-13 1.00
8 2 2011-11-24 1.25
9 1 2012-01-05 1.25
10 3 2012-01-12 1.75
----
The next step was to work out how to http://stackoverflow.com/questions/3777174/plotting-two-variables-as-lines-using-ggplot2-on-the-same-graph[plot both 'rolling' and 'actual' on the same line chart]. The easiest way is to make two calls to 'geom_line', like so:
[source,r]
----
ggplot(joinsByWeek, aes(x = week)) +
geom_line(aes(y = rolling), colour="blue") +
geom_line(aes(y = actual), colour = "grey") +
ylab(label="Number of new members") +
xlab("Week")
----
image::{{<siteurl>}}/uploads/2014/09/2014-09-16_21-57-14.png[2014 09 16 21 57 14,600]
Alternatively we can make use of the 'melt' function from the +++<cite>+++http://www.statmethods.net/management/reshape.html[reshape]+++</cite>+++ library\...
[source,r]
----
library(reshape)
meltedJoinsByWeek = melt(joinsByWeek, id = 'week')
----
[source,text]
----
> head(meltedJoinsByWeek, 20)
week variable value
1 1 actual 8
2 2 actual 4
3 3 actual 2
4 4 actual 1
5 5 actual 1
6 6 actual 1
7 7 actual 1
8 8 actual 2
9 9 actual 1
10 10 actual 3
11 11 actual 1
12 12 actual 2
13 13 actual 4
14 14 actual 2
15 15 actual 3
16 16 actual 5
17 17 actual 1
18 18 actual 2
19 19 actual 1
20 20 actual 2
----
\...which then means we can plot the chart with a single call to geom_line:
[source,r]
----
ggplot(meltedJoinsByWeek, aes(x = week, y = value, colour = variable)) +
geom_line() +
ylab(label="Number of new members") +
xlab("Week Number") +
scale_colour_manual(values=c("grey", "blue"))
----
image::{{<siteurl>}}/uploads/2014/09/2014-09-16_22-17-40.png[2014 09 16 22 17 40,600] | null | null | [
0.0007059415802359581,
-0.028973514214158058,
0.0013049854896962643,
0.020055633038282394,
0.04220378398895264,
0.02605307288467884,
0.02655370719730854,
0.017307059839367867,
-0.00945104006677866,
-0.0029300127644091845,
-0.0029530394822359085,
-0.013355930335819721,
-0.07761084288358688,
0.036163900047540665,
0.00013413744454737753,
0.052941903471946716,
0.07333672046661377,
-0.001644193660467863,
-0.008036823943257332,
-0.01837880350649357,
0.02706628292798996,
0.03709220886230469,
-0.025165358558297157,
0.027668921276926994,
0.02339077554643154,
-0.030506035313010216,
0.023337796330451965,
-0.012298830784857273,
-0.012421065010130405,
0.00830584205687046,
0.03881848230957985,
0.0022376796696335077,
0.025597786530852318,
-0.004961057566106319,
0.022640246897935867,
-0.04064491018652916,
-0.01795407570898533,
0.0094075882807374,
0.008244046010077,
-0.01857347972691059,
-0.049911774694919586,
-0.0017324263462796807,
-0.02330494113266468,
-0.007728885393589735,
-0.004259937442839146,
-0.008137843571603298,
-0.048810094594955444,
0.04061812534928322,
0.022715933620929718,
0.045354824513196945,
-0.08942954242229462,
0.04347038269042969,
0.011375941336154938,
-0.006898697465658188,
-0.02624981664121151,
0.04853390157222748,
0.03839033097028732,
-0.05830514058470726,
0.018875107169151306,
-0.03437899053096771,
-0.023299183696508408,
-0.00025154894683510065,
-0.016882389783859253,
0.010551421903073788,
-0.004600022919476032,
-0.021013781428337097,
0.001053399289958179,
0.05027233436703682,
-0.024926159530878067,
0.013446667231619358,
-0.03327576071023941,
0.012310265563428402,
-0.025654291734099388,
-0.01381347980350256,
-0.0002084023435600102,
-0.04782343655824661,
-0.014550941996276379,
0.04545380547642708,
0.033629000186920166,
0.020991241559386253,
-0.010258343070745468,
-0.0041417526081204414,
0.016539519652724266,
0.01179175078868866,
0.01992453634738922,
-0.021272607147693634,
-0.010957767255604267,
-0.06916045397520065,
-0.08311875909566879,
0.05528473109006882,
-0.0486941784620285,
-0.06920410692691803,
-0.004499540198594332,
0.015722844749689102,
-0.03129321336746216,
-0.002458243165165186,
0.013435058295726776,
0.002444380195811391,
0.021115165203809738,
-0.007578588090837002,
-0.06223680451512337,
-0.03658877685666084,
0.03751935437321663,
0.033312417566776276,
-0.07657298445701599,
-0.008613436482846737,
-0.021381326019763947,
-0.010151739232242107,
0.004823566414415836,
0.017309170216321945,
-0.04699049890041351,
-0.011844739317893982,
0.006947045214474201,
0.029151374474167824,
-0.05731634050607681,
0.07264356315135956,
0.01338669192045927,
-0.020473655313253403,
-0.008121256716549397,
-0.007972334511578083,
0.038645319640636444,
0.016924137249588966,
-0.00041558273369446397,
0.07767802476882935,
-0.05870119482278824,
0.06846605986356735,
0.016554536297917366,
0.0411512665450573,
-0.005488425027579069,
-0.09759096056222916,
0.0009384052827954292,
0.05645248666405678,
-0.047900181263685226,
-0.010335271246731281,
0.0072484007105231285,
-0.031203653663396835,
-0.010991241782903671,
0.009921718388795853,
0.061698105186223984,
0.0360993891954422,
0.03687497228384018,
-0.03226266801357269,
0.015772569924592972,
-0.005365489982068539,
0.030335279181599617,
0.02205469459295273,
-0.02757701463997364,
-0.07408997416496277,
-0.0432095006108284,
-0.018717091530561447,
0.05106057599186897,
0.008304440416395664,
0.06767004728317261,
-0.023960692808032036,
0.026903606951236725,
0.08539082109928131,
0.0021091089583933353,
0.02505579963326454,
0.011798407882452011,
-0.011008034460246563,
0.054225195199251175,
0.04806825518608093,
0.03555482253432274,
0.0863460823893547,
-0.0026672030799090862,
-0.02351423352956772,
0.00873540248721838,
0.03995278850197792,
-0.04959964379668236,
0.010867166332900524,
-0.031192775815725327,
-0.05004363879561424,
0.022804995998740196,
-0.019016623497009277,
0.007683612871915102,
0.031775105744600296,
0.058784082531929016,
0.027990980073809624,
0.03650400787591934,
-0.005785536020994186,
-0.05952763184905052,
0.04069661349058151,
0.032614029943943024,
0.018099945038557053,
0.011514882557094097,
-0.02696697972714901,
0.055678073316812515,
0.0068653360940515995,
0.02843453362584114,
0.03893137350678444,
-0.056590937077999115,
-0.04624156281352043,
0.018237147480249405,
-0.009543630294501781,
0.04805154353380203,
-0.029541054740548134,
0.02195756509900093,
0.03658687323331833,
0.01133081316947937,
0.0025665888097137213,
-0.007681756746023893,
0.028938131406903267,
0.04315600544214249,
-0.014171674847602844,
-0.04586932063102722,
0.02445722185075283,
0.002176444511860609,
-0.044680409133434296,
-0.0289467666298151,
-0.011484463699162006,
-0.044941246509552,
0.03212399408221245,
0.03845910355448723,
-0.018066957592964172,
0.03906523436307907,
0.05169493705034256,
0.05036573112010956,
0.013027246110141277,
0.010624841786921024,
-0.01878705993294716,
0.000691296998411417,
-0.0035591607447713614,
-0.032252732664346695,
-0.057491667568683624,
-0.013002929277718067,
0.12683352828025818,
0.06289432942867279,
-0.01908573880791664,
-0.06295963376760483,
0.007654160261154175,
-0.01434242818504572,
-0.009264526888728142,
0.04980198293924332,
0.011631039902567863,
0.015676042065024376,
-0.0057978201657533646,
-0.030722225084900856,
-0.029240448027849197,
-0.015348759479820728,
-0.04381226375699043,
0.03992364928126335,
0.050224337726831436,
-0.01151613611727953,
0.07879503071308136,
-0.002160788979381323,
0.01930996961891651,
-0.002913601230829954,
-0.03442394360899925,
-0.07111875712871552,
0.020120207220315933,
0.034881144762039185,
-0.0027866142336279154,
0.0449456125497818,
-0.026332436129450798,
-0.04549024626612663,
-0.013997956179082394,
-0.030215220525860786,
0.009267354384064674,
0.048121508210897446,
0.04486300051212311,
0.022253043949604034,
0.010985481552779675,
-0.024982238188385963,
-0.00009057529678102583,
-0.021759742870926857,
-0.03631090745329857,
-0.08154654502868652,
-0.020027369260787964,
0.0055259098298847675,
-0.003949667792767286,
0.05234185978770256,
-0.042255599051713943,
0.016287703067064285,
0.039059508591890335,
0.01875337027013302,
-0.029991861432790756,
0.05664156377315521,
-0.011265972629189491,
-0.012130078859627247,
-0.03433285653591156,
-0.008414637297391891,
0.04275893792510033,
-0.02035214751958847,
-0.01915433071553707,
0.002745901234447956,
-0.0365055613219738,
0.04748476669192314,
-0.04296976327896118,
-0.00007354084664257243,
0.005457271821796894,
0.01245742104947567,
0.06219346821308136,
0.0316244401037693,
-0.0032170466147363186,
0.03359284624457359,
-0.020487802103161812,
0.016770044341683388,
0.01080845296382904,
-0.014596929773688316,
0.05816289782524109,
-0.0005940034752711654,
0.010966496542096138,
0.04861145094037056,
-0.04814515635371208,
-0.008991050533950329,
-0.033940449357032776,
-0.00034162847441621125,
-0.017576519399881363,
-0.26450487971305847,
0.02428196556866169,
-0.04263710230588913,
-0.04691664129495621,
-0.005932631436735392,
-0.05518864467740059,
0.02415461093187332,
-0.0076866005547344685,
-0.025342261418700218,
-0.011726673692464828,
0.01394872646778822,
-0.03189712390303612,
-0.03023839183151722,
0.08006717264652252,
0.03917360678315163,
0.029076317325234413,
0.006025474984198809,
-0.0691089779138565,
0.008694716729223728,
0.06430689245462418,
0.020153312012553215,
-0.029842162504792213,
-0.011533659882843494,
0.047029368579387665,
0.028769781813025475,
0.06012725830078125,
-0.09018518775701523,
0.010084985755383968,
-0.0657544881105423,
-0.03575848788022995,
0.0011362434597685933,
-0.04088831692934036,
0.028312629088759422,
0.029329854995012283,
-0.005865670274943113,
-0.0421932116150856,
0.03138718381524086,
0.01277257315814495,
0.0035024306271225214,
0.017206694930791855,
-0.034321535378694534,
-0.0355314277112484,
-0.03702166676521301,
-0.018075333908200264,
0.07901675254106522,
0.024623028934001923,
-0.06172313913702965,
0.014130925759673119,
-0.01815194822847843,
0.07379614561796188,
-0.0055205561220645905,
0.009150377474725246,
0.001991635886952281,
-0.00662089791148901,
-0.046412158757448196,
-0.02962329238653183,
-0.04463464021682739,
0.019979625940322876,
-0.061276499181985855,
-0.016743304207921028,
-0.02017400413751602,
-0.02809339202940464,
0.0073121399618685246,
-0.04356471449136734,
-0.02135212905704975,
-0.06926806271076202,
-0.10581960529088974,
-0.03375504910945892,
0.05560308322310448,
0.006591108161956072,
-0.019199343398213387,
-0.0023882656823843718,
-0.005032901186496019,
-0.09469473361968994,
-0.02190818265080452,
-0.018612230196595192,
0.009431876242160797,
-0.018377553671598434,
0.03860938921570778,
0.03993500769138336,
-0.028011323884129524,
-0.06212868541479111,
0.029980314895510674,
-0.0038906894624233246,
0.04714714363217354,
0.03230123966932297,
-0.002948927227407694,
-0.027316726744174957,
-0.05592508614063263,
-0.009420515969395638,
0.05723845213651657,
-0.03413481265306473,
-0.0007021969649940729,
0.03652036935091019,
-0.029223237186670303,
0.021573297679424286,
0.010173534974455833,
-0.009864269755780697,
0.020386703312397003,
0.03428793326020241,
0.041938137263059616,
-0.04780230671167374,
0.01319058146327734,
-0.04518210142850876,
-0.035187046974897385,
-0.022190753370523453,
-0.048304591327905655,
0.01691724732518196,
0.0201759971678257,
0.030733169987797737,
0.013438815250992775,
0.012607739306986332,
0.04815591871738434,
-0.05665441229939461,
-0.010946703143417835,
-0.012069501914083958,
0.004846983123570681,
0.011010161601006985,
0.03181684762239456,
-0.017714910209178925,
-0.04656273126602173,
0.003639358328655362,
0.016832873225212097,
-0.011498856358230114,
-0.03259705379605293,
-0.017147405073046684,
-0.01906990259885788,
-0.03127463907003403,
0.014584321528673172,
0.027397548779845238,
-0.04357282444834709,
0.041597068309783936,
0.05563835799694061,
-0.07925528287887573,
0.044125016778707504,
-0.0012623934308066964,
-0.044462431222200394,
-0.02359289862215519,
0.016072582453489304,
0.026701120659708977,
-0.0007394307176582515,
0.01234058104455471,
-0.016847524791955948,
0.05231893062591553,
0.0030027679167687893,
-0.0049108718521893024,
0.008262602612376213,
-0.009646466001868248,
-0.006164631340652704,
-0.01601088047027588,
-0.008263966999948025,
-0.005053055472671986,
0.0028742908034473658,
-0.007676740176975727,
-0.02026691474020481,
0.009914333932101727,
0.04383568838238716,
-0.02337098866701126,
-0.027404867112636566,
-0.044871147722005844,
0.03935530036687851,
-0.04084296151995659,
-0.007602769415825605,
-0.011299977079033852,
0.007353499531745911,
0.05352882668375969,
-0.014156097546219826,
0.02283008210361004,
0.009462508372962475,
-0.00676582008600235,
-0.0006977195153012872,
0.01664971001446247,
-0.016654476523399353,
0.022291718050837517,
-0.020175518468022346,
-0.0005834791227243841,
0.02416456863284111,
-0.013971257954835892,
0.05531855300068855,
0.0037064410280436277,
-0.01611371897161007,
0.015272977761924267,
-0.002149502281099558,
-0.02556701935827732,
0.028919219970703125,
0.05599161237478256,
-0.0431717187166214,
0.012474275194108486,
0.0023050911258906126,
-0.01553430687636137,
0.0072245183400809765,
-0.018683280795812607,
-0.03832590579986572,
0.01495125237852335,
-0.051888421177864075,
-0.07064807415008545,
-0.0019771961960941553,
0.022305740043520927,
0.00885262992233038,
0.005186927039176226,
-0.028064832091331482,
-0.005610025487840176,
-0.05045842379331589,
0.017930934205651283,
0.07229071855545044,
-0.04265470802783966,
-0.016213487833738327,
0.0015507772332057357,
0.0020039239898324013,
-0.0059945229440927505,
0.024919508025050163,
-0.05186422914266586,
-0.03906596079468727,
-0.010166196152567863,
0.04506167769432068,
-0.0033222392667084932,
-0.03911477327346802,
-0.06442106515169144,
-0.01678706705570221,
-0.011634067632257938,
0.03515046089887619,
0.018565583974123,
-0.009397787973284721,
-0.024309711530804634,
0.009809370152652264,
0.02930470183491707,
-0.007946131750941277,
-0.04468372464179993,
0.03933717682957649,
-0.0017328992253169417,
0.015702204778790474,
-0.004974359180778265,
0.02024313621222973,
0.03289847448468208,
-0.03698063641786575,
0.01816905476152897,
-0.0549035482108593,
0.02396038919687271,
0.036775633692741394,
0.025311250239610672,
-0.009568221867084503,
0.039523884654045105,
-0.046597108244895935,
-0.004411879926919937,
-0.006229359656572342,
-0.011305167339742184,
-0.008491619490087032,
-0.015628082677721977,
0.015248365700244904,
0.04337504133582115,
0.030214255675673485,
-0.021118558943271637,
0.023410672321915627,
-0.035703059285879135,
0.036673299968242645,
-0.03771542012691498,
-0.0679832473397255,
0.005039919633418322,
-0.042670514434576035,
0.006873410195112228,
-0.0010873734718188643,
0.0016076908214017749,
-0.05405070632696152,
0.06190671771764755,
0.05161900445818901,
0.05637519806623459,
0.07890472561120987,
-0.0038632042706012726,
0.015110629610717297,
-0.040231168270111084,
0.016266318038105965,
-0.07716988772153854,
-0.022680390626192093,
0.03462317958474159,
0.014366552233695984,
-0.019603325054049492,
-0.021515129134058952,
-0.031343113631010056,
0.02724422700703144,
-0.05267975851893425,
-0.04616256058216095,
0.0388861820101738,
-0.012378149665892124,
0.03418358787894249,
0.014546041376888752,
-0.037775587290525436,
-0.005156262312084436,
0.05512312054634094,
-0.06322123110294342,
-0.009637907147407532,
-0.013857578858733177,
0.043418627232313156,
-0.0402165986597538,
0.013734659180045128,
-0.024753747507929802,
-0.0057318806648254395,
0.08143908530473709,
0.019550979137420654,
0.031329553574323654,
0.07022298872470856,
-0.02655564248561859,
0.035702042281627655,
0.0009365964797325432,
-0.005071079358458519,
-0.008945416659116745,
0.040588878095149994,
0.018529925495386124,
-0.028885895386338234,
0.02030959725379944,
0.022895922884345055,
-0.009215972386300564,
-0.046588268131017685,
0.06704390794038773,
-0.01347319595515728,
-0.04318632557988167,
-0.052050404250621796,
0.035549234598875046,
-0.0067068743519485,
0.01138717494904995,
-0.015530484728515148,
0.02509157732129097,
-0.029056763276457787,
0.051215022802352905,
-0.047146789729595184,
0.004334385506808758,
0.04948516562581062,
0.010838021524250507,
0.01650400646030903,
0.017786134034395218,
0.07378487288951874,
0.1030535027384758,
0.04221160709857941,
0.016691656783223152,
0.05843622609972954,
-0.013352976180613041,
-0.042920731008052826,
0.0006730852765031159,
-0.019887641072273254,
-0.03289378806948662,
-0.028002651408314705,
0.025565408170223236,
0.04752955958247185,
-0.03334685042500496,
0.060869812965393066,
-0.01230224035680294,
-0.033629145473241806,
-0.03054657392203808,
-0.02928604558110237,
0.02580774389207363,
0.061587706208229065,
0.031195582821965218,
0.04935444891452789,
-0.037614598870277405,
-0.036674946546554565,
0.03715488687157631,
-0.022197384387254715,
-0.019377201795578003,
0.034261319786310196,
-0.00013381852477323264,
-0.005745360627770424,
0.010362640954554081,
0.023212352767586708,
0.08939708024263382,
-0.027051841840147972,
-0.02764960192143917,
-0.003085722681134939,
0.043244391679763794,
-0.006703238468617201,
0.0212313961237669,
0.020966848358511925,
-0.004850002937018871,
-0.0029699362348765135,
-0.04692038893699646,
-0.023834947496652603,
-0.026570143178105354,
-0.03201611712574959,
-0.01359060499817133,
-0.03735760599374771,
0.024277329444885254,
0.004340785089880228,
-0.03448038548231125,
-0.01543607097119093,
-0.058540914207696915,
-0.025966079905629158,
-0.08224840462207794,
-0.08520779758691788,
0.017366288229823112,
0.012553474865853786,
-0.02428935095667839,
-0.027297373861074448,
0.011902240104973316,
-0.013175789266824722,
-0.026438985019922256,
0.007736763451248407,
-0.059733085334300995,
0.008533967658877373,
0.01631096564233303,
0.037491776049137115,
0.007054065819829702,
0.010641486383974552,
0.021641599014401436,
0.026076341047883034,
0.0006795308436267078,
-0.023365093395113945,
0.026649923995137215,
0.037646807730197906,
0.02747948467731476,
0.007245968095958233,
-0.06410067528486252,
0.009178061038255692,
-0.004295750521123409,
-0.03848516568541527,
-0.08670523762702942,
0.039718471467494965,
0.018957581371068954,
0.007636575493961573,
0.04189733788371086,
0.000548486306797713,
-0.027186574414372444,
-0.012613859958946705,
0.010816210880875587,
-0.01079228799790144,
0.012071870267391205,
0.03626814857125282,
-0.02399308793246746,
0.04584020376205444,
0.043296437710523605,
-0.03309502452611923,
-0.01885010115802288,
-0.019687455147504807,
-0.005519228987395763,
-0.016611633822321892,
-0.05101118981838226,
-0.049562592059373856,
-0.05977105721831322,
-0.09245502948760986,
-0.02103847824037075,
0.009237964637577534,
-0.023002369329333305,
0.01650024764239788,
-0.02266767807304859,
0.031807489693164825,
-0.02246607095003128,
0.04034018889069557,
-0.019852200523018837,
0.036043550819158554,
-0.02120162360370159,
-0.02457943931221962,
-0.006134697701781988,
0.00812880415469408,
-0.010563633404672146,
0.03340921550989151,
-0.0033545789774507284,
-0.038511861115694046,
0.017043640837073326,
-0.025665413588285446,
0.043183423578739166,
0.01159267220646143,
0.042290858924388885,
0.042181454598903656
] | [
-0.03821917250752449,
-0.043550968170166016,
-0.0315638892352581,
-0.012858131900429726,
0.07216252386569977,
-0.027691008523106575,
-0.005141145084053278,
0.014557876624166965,
0.018063152208924294,
-0.02194133587181568,
0.023855622857809067,
-0.03264788165688515,
0.03664203733205795,
0.00901047419756651,
0.03888268768787384,
-0.033526334911584854,
-0.04834531247615814,
-0.05382249876856804,
-0.022797640413045883,
0.04862908646464348,
-0.06561717391014099,
-0.051292307674884796,
-0.034452445805072784,
-0.018203509971499443,
0.028747718781232834,
0.04460771381855011,
0.014238787814974785,
-0.054478488862514496,
-0.031770993024110794,
-0.2054627239704132,
-0.010553441010415554,
0.026473795995116234,
0.050573110580444336,
0.0036324760876595974,
-0.014158024452626705,
0.03982173278927803,
0.044998716562986374,
0.006895962171256542,
0.02888939343392849,
0.044953253120183945,
0.007581091020256281,
0.010598983615636826,
-0.049643903970718384,
-0.027666017413139343,
0.03739318251609802,
0.022576285526156425,
-0.05006931722164154,
0.0016321457223966718,
-0.019640039652585983,
0.03610074520111084,
-0.014357193373143673,
-0.03510244935750961,
-0.014909438788890839,
0.027740439400076866,
0.010027159936726093,
0.049599789083004,
0.028166599571704865,
0.011511367745697498,
0.02627337910234928,
0.021321531385183334,
-0.007788282819092274,
0.0010337942512705922,
-0.14772571623325348,
0.06323498487472534,
-0.007396767847239971,
0.0037234316114336252,
-0.03458718955516815,
-0.005823001265525818,
-0.021018173545598984,
0.09089494496583939,
0.01724654622375965,
0.012409897521138191,
-0.03925931081175804,
0.04596598818898201,
0.00996179599314928,
0.017825644463300705,
-0.020954102277755737,
0.013722327537834644,
0.009230395779013634,
-0.05637562647461891,
-0.050974659621715546,
0.03888324648141861,
-0.02423623390495777,
-0.021385349333286285,
-0.006126298103481531,
0.023031020537018776,
0.005921824369579554,
0.06215733662247658,
-0.00122492341324687,
0.05178631469607353,
0.046497780829668045,
0.06709828227758408,
0.0026617171242833138,
0.015206889249384403,
-0.07356211543083191,
-0.01841161400079727,
0.022319378331303596,
0.016358768567442894,
0.008603796362876892,
0.396146297454834,
-0.016966627910733223,
-0.014208758249878883,
0.04505768045783043,
0.08042718470096588,
-0.03235717490315437,
-0.01728934608399868,
-0.012952056713402271,
-0.07548045367002487,
0.04258947819471359,
0.0003679306828416884,
0.011943717487156391,
-0.028499547392129898,
0.027659935876727104,
-0.09822631627321243,
0.02422679401934147,
-0.0017716705333441496,
0.042764436453580856,
0.019822144880890846,
-0.012277781963348389,
0.018954528495669365,
-0.005015918519347906,
-0.0040153441950678825,
0.04161596670746803,
0.03210250660777092,
0.040136922150850296,
0.03359800949692726,
0.02598702162504196,
0.05764947086572647,
0.05480017140507698,
-0.010770303197205067,
0.08450125902891159,
0.026380371302366257,
-0.09850122779607773,
0.012380531057715416,
-0.013234879821538925,
-0.006085385102778673,
0.039890795946121216,
-0.03723097965121269,
-0.03502755984663963,
0.0310616847127676,
-0.025174550712108612,
-0.02335837483406067,
0.033241819590330124,
-0.009850976057350636,
-0.021527782082557678,
0.1500353217124939,
-0.02692430652678013,
-0.039024002850055695,
-0.01054658554494381,
-0.02894013747572899,
-0.022828346118330956,
0.019802400842308998,
-0.011941133998334408,
-0.07659230381250381,
-0.017507201060652733,
0.016675136983394623,
0.08036649227142334,
-0.006374801974743605,
-0.08142775297164917,
-0.0035044674295932055,
-0.035665806382894516,
-0.016406139358878136,
-0.03557179868221283,
0.0669543668627739,
0.06095319613814354,
-0.1065899059176445,
0.0024031619541347027,
0.030390609055757523,
0.0029391611460596323,
-0.10110745579004288,
0.03807825222611427,
0.006550356280058622,
-0.02815808355808258,
-0.002914012875407934,
0.08216007053852081,
-0.0004891176358796656,
-0.017991838976740837,
-0.022038856521248817,
0.047526005655527115,
0.006938212551176548,
0.005204931832849979,
0.017576653510332108,
-0.06265728175640106,
-0.011947225779294968,
-0.06094462797045708,
-0.04219983145594597,
-0.08348516374826431,
0.019121984019875526,
-0.046132657676935196,
-0.024988707154989243,
-0.0054529402405023575,
-0.012705218978226185,
-0.08679629117250443,
0.06844522804021835,
-0.0421895794570446,
-0.043885111808776855,
0.0026550067123025656,
-0.0035706120543181896,
-0.016023343428969383,
-0.037133801728487015,
-0.0050076511688530445,
-0.009171809069812298,
-0.0230853371322155,
0.023279735818505287,
-0.03511122986674309,
0.04238876327872276,
0.07001595199108124,
-0.010698157362639904,
0.09042218327522278,
0.03952484950423241,
-0.010558106936514378,
-0.012849368155002594,
-0.01457905862480402,
0.005366661585867405,
-0.007117393426597118,
0.009305926971137524,
0.01267939805984497,
-0.01645294763147831,
-0.0034096224699169397,
0.05634653568267822,
0.01305010449141264,
-0.026986990123987198,
0.0003264037659391761,
-0.35302531719207764,
-0.04539689049124718,
0.032619915902614594,
0.016068831086158752,
0.014300798997282982,
-0.01257825456559658,
0.03198640048503876,
-0.027130629867315292,
0.03357875719666481,
0.05206155776977539,
0.09803438186645508,
0.03660820424556732,
-0.013507561758160591,
-0.10771013051271439,
0.009044348262250423,
0.04736452177166939,
-0.04523232951760292,
0.01780805177986622,
-0.027046963572502136,
0.00883712712675333,
-0.004873806610703468,
-0.016934311017394066,
-0.03391903638839722,
-0.026744205504655838,
0.0034017162397503853,
0.003717395942658186,
0.12989142537117004,
-0.0004584706330206245,
0.005823639687150717,
-0.05893499776721001,
0.038390181958675385,
-0.0039980290457606316,
-0.045966144651174545,
-0.01768554374575615,
0.005313520785421133,
-0.009539584629237652,
0.0001882572687463835,
0.005149667616933584,
-0.023417940363287926,
-0.028118208050727844,
-0.07439924031496048,
-0.002467149868607521,
-0.03606296330690384,
-0.0423763133585453,
-0.051840685307979584,
0.02262066677212715,
-0.01469668373465538,
-0.0037311988417059183,
-0.009454036131501198,
0.03243238851428032,
0.008492151275277138,
-0.025879116728901863,
0.03912319615483284,
0.022875472903251648,
0.022684846073389053,
-0.019067566841840744,
-0.06920648366212845,
-0.013201285153627396,
-0.011608962900936604,
0.024409258738160133,
0.009944332763552666,
0.05152687057852745,
0.030879324302077293,
-0.08925746381282806,
0.015159945003688335,
0.002394068753346801,
-0.027576159685850143,
-0.015218772925436497,
0.017849275842308998,
0.010283609852194786,
-0.008314964361488819,
0.08092624694108963,
-0.011849267408251762,
0.01679171435534954,
0.036534152925014496,
0.006904091220349073,
-0.04644080996513367,
-0.014862081035971642,
0.01997869461774826,
0.03542593494057655,
0.04054234176874161,
-0.05062326788902283,
0.0518588162958622,
-0.028153037652373314,
-0.019535496830940247,
0.05267852172255516,
0.0021190843544900417,
0.002177840331569314,
0.05812450870871544,
0.03242519125342369,
-0.003543832339346409,
-0.011874096468091011,
-0.02100752852857113,
-0.03658634424209595,
0.042534828186035156,
-0.014101565815508366,
-0.28472405672073364,
0.04458779841661453,
0.004733331501483917,
0.037523020058870316,
0.022840380668640137,
0.01625923626124859,
0.012357009574770927,
0.015056497417390347,
-0.00324561120942235,
-0.02661701664328575,
0.038210514932870865,
0.07556537538766861,
-0.00785157922655344,
-0.014268244616687298,
0.009995277039706707,
0.0007366167847067118,
0.005112240090966225,
-0.00595164904370904,
0.00948434229940176,
0.0006054905243217945,
0.028621425852179527,
-0.0384676419198513,
0.16455605626106262,
0.034051984548568726,
0.023171301931142807,
0.02529093623161316,
-0.01993776299059391,
0.00015092828834895045,
0.0619298554956913,
-0.021110378205776215,
-0.03106142207980156,
0.014225373975932598,
0.041615720838308334,
0.014224410988390446,
0.029549794271588326,
-0.026284728199243546,
-0.03457147628068924,
0.041145723313093185,
0.012566521763801575,
-0.010230411775410175,
0.015400447882711887,
0.02715471386909485,
-0.02919289842247963,
0.03838352486491203,
0.09099046885967255,
-0.015619038604199886,
0.014376766048371792,
-0.03684451803565025,
-0.02768389694392681,
-0.0034731761552393436,
-0.048155300319194794,
-0.043049026280641556,
-0.04515485465526581,
-0.010537107475101948,
0.0005349350394681096,
0.04984384775161743,
0.01872752234339714,
-0.007596722338348627,
0.050605569034814835,
0.00041122210677713156,
-0.03998446464538574,
-0.07877838611602783,
0.08068051934242249,
-0.03595390170812607,
0.021869581192731857
] | [
-0.0073791430331766605,
0.036024972796440125,
0.03512835130095482,
0.023399721831083298,
-0.029945438727736473,
0.010009374469518661,
0.008087044581770897,
-0.014885736629366875,
-0.02144269458949566,
-0.018444566056132317,
-0.029086442664265633,
-0.005305753089487553,
0.0018901650328189135,
-0.010871455073356628,
-0.0019781060982495546,
0.009033070877194405,
-0.024488093331456184,
0.008570508100092411,
0.03489101305603981,
-0.01550350058823824,
-0.05639887973666191,
-0.028170906007289886,
0.04610910266637802,
0.004076545126736164,
-0.04313630983233452,
0.0514100007712841,
-0.03158743306994438,
0.010868088342249393,
0.022177888080477715,
-0.08632290363311768,
-0.040989816188812256,
-0.015810955315828323,
-0.02599220536649227,
0.01931467279791832,
-0.04627910256385803,
0.006501879543066025,
-0.006351103074848652,
0.05311750993132591,
0.034411657601594925,
0.01889882981777191,
0.011903423815965652,
0.0327497199177742,
0.026494087651371956,
-0.037015050649642944,
0.02901807241141796,
-0.00891502108424902,
0.008189084939658642,
-0.008187483996152878,
0.0035534193739295006,
0.009267163462936878,
-0.002249028766527772,
0.0003027781203854829,
-0.032358020544052124,
0.02081875130534172,
0.00720532750710845,
-0.000057383396779187024,
-0.04279545322060585,
-0.06473301351070404,
-0.007547484710812569,
-0.011247406713664532,
-0.009136708453297615,
0.021733250468969345,
-0.04406623914837837,
0.0018348892917856574,
-0.038748499006032944,
-0.009503805078566074,
-0.01770523376762867,
0.031823813915252686,
-0.013345584273338318,
0.024391192942857742,
-0.020954258739948273,
0.03129524365067482,
-0.03593488410115242,
-0.03887181356549263,
-0.0018908840138465166,
0.036668531596660614,
0.03161510452628136,
-0.04982456937432289,
-0.009950036182999611,
-0.011343520134687424,
-0.015747183933854103,
0.013110565952956676,
-0.023242462426424026,
0.015588006004691124,
-0.009075689129531384,
-0.03308213874697685,
0.018656788393855095,
-0.015507776290178299,
-0.013197220861911774,
-0.007314854767173529,
0.02424153871834278,
0.08786037564277649,
0.02262832783162594,
-0.041385468095541,
-0.10178951919078827,
0.0004383000486996025,
0.027828702703118324,
0.01836630515754223,
0.009155850857496262,
0.810145378112793,
-0.014538702555000782,
-0.039856668561697006,
0.0009983958443626761,
0.0003660011279862374,
-0.005731374491006136,
0.0005046309088356793,
-0.01779254525899887,
0.011870304122567177,
-0.015105487778782845,
0.005754114594310522,
0.004356187302619219,
0.001393751590512693,
0.011283126659691334,
0.04182824119925499,
0.029502781108021736,
0.04445285722613335,
0.015148859471082687,
0.013775810599327087,
-0.0013445732183754444,
0.01595315709710121,
-0.002093649236485362,
0.036343902349472046,
0.03534163907170296,
0.014404850080609322,
-0.011334261856973171,
-0.1780252456665039,
0.0020812887232750654,
-6.113519101280215e-33,
0.0467587374150753,
-0.041823580861091614,
0.05869179591536522,
-0.003579565556719899,
0.023259636014699936,
-0.006650069262832403,
-0.06773689389228821,
-0.02143493853509426,
0.017556332051753998,
-0.017590530216693878,
-0.009288107976317406,
0.015283189713954926,
0.021775417029857635,
-0.006570875179022551,
0.013390390202403069,
-0.013205443508923054,
0.012047141790390015,
0.006228164304047823,
-0.0026308903470635414,
0.01665641739964485,
-0.028072962537407875,
0.03034481219947338,
0.02170298993587494,
0.026026526466012,
-0.04057525843381882,
0.035145048052072525,
0.015078715980052948,
0.012174082919955254,
0.021636320278048515,
-0.04191145300865173,
-0.011468933895230293,
0.010441888123750687,
-0.027696518227458,
0.014280816540122032,
0.017959432676434517,
-0.052973564714193344,
-0.019832566380500793,
-0.006040036678314209,
-0.008740866556763649,
-0.008175664581358433,
-0.026712866500020027,
-0.021402200683951378,
-0.03371237963438034,
-0.03432031348347664,
-0.029530229046940804,
0.0013622187543660402,
0.005922975949943066,
0.061296496540308,
0.003697373438626528,
0.0396939292550087,
0.006930206902325153,
0.014072439633309841,
0.013558080419898033,
0.007452236954122782,
-0.007620002143085003,
0.039434392005205154,
0.049317728728055954,
0.024207571521401405,
-0.0010881564812734723,
0.03960184007883072,
0.025086820125579834,
-0.009922181256115437,
0.013688115403056145,
0.02379065752029419,
0.014398233965039253,
-0.011429096572101116,
0.012711412273347378,
0.015299973078072071,
0.022036956623196602,
-0.035196032375097275,
-0.03607669845223427,
0.03129308670759201,
-0.013723636977374554,
-0.023446623235940933,
0.06990307569503784,
-0.04822935536503792,
-0.009807693772017956,
0.04241091385483742,
0.02710489183664322,
0.038745537400245667,
0.0027880799025297165,
-0.01811295934021473,
-0.0006544878706336021,
-0.04161621630191803,
-0.03096417896449566,
-0.024751795455813408,
0.023838596418499947,
0.051340099424123764,
-0.047165196388959885,
0.009813951328396797,
0.005837546195834875,
0.001498695113696158,
-0.013369095511734486,
-0.02682213857769966,
-0.0034557257313281298,
5.92573351139437e-33,
-0.010883848182857037,
0.0005252613336779177,
0.007077265530824661,
-0.006702674552798271,
0.05698883906006813,
-0.01743992790579796,
0.05128555744886398,
0.022918589413166046,
-0.010240351781249046,
0.02904347889125347,
-0.0034997700713574886,
-0.010881250724196434,
0.014314970001578331,
0.06436044722795486,
0.09342513978481293,
-0.007211871445178986,
0.017326919361948967,
-0.025783831253647804,
-0.03209259733557701,
0.0036772172898054123,
-0.014646487310528755,
-0.03510654345154762,
-0.0249368604272604,
0.0295639019459486,
0.029355337843298912,
0.031990181654691696,
0.002285084454342723,
0.021662620827555656,
-0.014253118075430393,
-0.009600904770195484,
0.011268377304077148,
-0.01312301866710186,
-0.016848916187882423,
-0.02636338770389557,
0.0068500712513923645,
0.02480333484709263,
0.03132626786828041,
-0.016625337302684784,
-0.08557446300983429,
-0.02103392593562603,
0.02607114240527153,
-0.008433903567492962,
-0.019456084817647934,
0.02876853384077549,
-0.005077518057078123,
0.04441383481025696,
0.0025051510892808437,
0.038790687918663025,
-0.05715009942650795,
0.0029415120370686054,
-0.012922706082463264,
0.02270975150167942,
0.002912232419475913,
-0.0003538941964507103,
0.016767505556344986,
-0.0113286841660738,
-0.014063267968595028,
-0.0023020701482892036,
0.018463661894202232,
0.015981415286660194,
0.02011503279209137,
-0.034274812787771225,
-0.04537889361381531,
0.00862011220306158,
-0.04755476117134094,
-0.03749028593301773,
0.004596679471433163,
-0.057597845792770386,
-0.032349321991205215,
0.035311270505189896,
-0.00606209971010685,
-0.05005764961242676,
-0.018825870007276535,
-0.022849470376968384,
0.010078949853777885,
0.006636500358581543,
-0.004667622037231922,
-0.047289952635765076,
-0.01946227066218853,
0.025189589709043503,
0.01952577754855156,
-0.05089067295193672,
0.044125478714704514,
0.017146265134215355,
-0.014617308974266052,
0.0008702498744241893,
-0.01929263025522232,
0.026181796565651894,
0.04432448744773865,
0.013049203902482986,
0.032462578266859055,
-0.02293807454407215,
-0.04406950622797012,
0.05407847836613655,
-0.028637709096074104,
-1.2189049769517624e-8,
-0.009965388104319572,
-0.03013523854315281,
0.007662481628358364,
0.02770673856139183,
0.025473613291978836,
0.026884794235229492,
0.0008633670513518155,
0.003368566744029522,
-0.032805055379867554,
0.01896781288087368,
0.037555377930402756,
-0.04030464589595795,
0.002087820554152131,
0.015219975262880325,
-0.030886096879839897,
-0.02598119154572487,
0.017312288284301758,
-0.013129711151123047,
0.02482934296131134,
-0.042681243270635605,
-0.0023361514322459698,
-0.012438587844371796,
-0.030224688351154327,
-0.014961306937038898,
0.026352323591709137,
0.0023414259776473045,
0.006528676021844149,
-0.048847224563360214,
0.007737468462437391,
-0.05741655081510544,
0.0046018753200769424,
-0.02930074743926525,
-0.0008036801009438932,
0.0037594432942569256,
-0.027215177193284035,
-0.0944378525018692,
0.008396145887672901,
0.04980175942182541,
0.035168446600437164,
0.01655527576804161,
0.0006674265605397522,
0.022552862763404846,
-0.016275636851787567,
-0.014039784669876099,
-0.006743393838405609,
0.07016239315271378,
-0.025935253128409386,
0.01859690248966217,
0.020958412438631058,
-0.029051832854747772,
0.0007335242698900402,
-0.03499453887343407,
-0.032915934920310974,
0.02831145003437996,
0.0026125828735530376,
-0.01276586763560772,
-0.008852608501911163,
0.01075629610568285,
-0.023692678660154343,
-0.03103182464838028,
-0.023579495027661324,
-0.01492312178015709,
-0.00021445442689582705,
-0.04605737328529358
] | r-ggplot-plotting-multiple-variables-on-a-line-chart | https://markhneedham.com/blog/2014/09/16/r-ggplot-plotting-multiple-variables-on-a-line-chart |
false | 2014-09-26 20:46:50 | Neo4j: COLLECTing multiple values (Too many parameters for function 'collect') | [
"neo4j"
] | [
"neo4j"
] | One of my favourite functions in Neo4j's cypher query language is COLLECT which allows us to group items into an array for later consumption.
However, I've noticed that people sometimes have trouble working out how to collect multiple items with COLLECT and struggle to find a way to do so.
Consider the following data set:
[source,cypher]
----
create (p:Person {name: "Mark"})
create (e1:Event {name: "Event1", timestamp: 1234})
create (e2:Event {name: "Event2", timestamp: 4567})
create (p)-[:EVENT]->(e1)
create (p)-[:EVENT]->(e2)
----
If we wanted to return each person along with a collection of the event names they'd participated in we could write the following:
[source,cypher]
----
$ MATCH (p:Person)-[:EVENT]->(e)
> RETURN p, COLLECT(e.name);
+--------------------------------------------+
| p | COLLECT(e.name) |
+--------------------------------------------+
| Node[0]{name:"Mark"} | ["Event1","Event2"] |
+--------------------------------------------+
1 row
----
That works nicely, but what about if we want to collect the event name and the timestamp but don't want to return the entire event node?
An approach I've seen a few people try during workshops is the following:
[source,cypher]
----
MATCH (p:Person)-[:EVENT]->(e)
RETURN p, COLLECT(e.name, e.timestamp)
----
Unfortunately this doesn't compile:
[source,text]
----
SyntaxException: Too many parameters for function 'collect' (line 2, column 11)
"RETURN p, COLLECT(e.name, e.timestamp)"
^
----
As the error message suggests, the COLLECT function only takes one argument so we need to find another way to solve our problem.
One way is to put the two values into a literal array which will result in an array of arrays as our return result:
[source,cypher]
----
$ MATCH (p:Person)-[:EVENT]->(e)
> RETURN p, COLLECT([e.name, e.timestamp]);
+----------------------------------------------------------+
| p | COLLECT([e.name, e.timestamp]) |
+----------------------------------------------------------+
| Node[0]{name:"Mark"} | [["Event1",1234],["Event2",4567]] |
+----------------------------------------------------------+
1 row
----
The annoying thing about this approach is that as you add more items you'll forget in which position you've put each bit of data so I think a preferable approach is to collect a map of items instead:
[source,cypher]
----
$ MATCH (p:Person)-[:EVENT]->(e)
> RETURN p, COLLECT({eventName: e.name, eventTimestamp: e.timestamp});
+--------------------------------------------------------------------------------------------------------------------------+
| p | COLLECT({eventName: e.name, eventTimestamp: e.timestamp}) |
+--------------------------------------------------------------------------------------------------------------------------+
| Node[0]{name:"Mark"} | [{eventName -> "Event1", eventTimestamp -> 1234},{eventName -> "Event2", eventTimestamp -> 4567}]
| +--------------------------------------------------------------------------------------------------------------------------+
1 row
----
During the http://www.meetup.com/graphdb-london/events/194308602/[Clojure Neo4j Hackathon] that we ran earlier this week this proved to be a particularly pleasing approach as we could easily destructure the collection of maps in our Clojure code. | null | null | [
0.02712978608906269,
-0.0367589071393013,
-0.006835273467004299,
0.012972172349691391,
0.0876973420381546,
-0.01111648604273796,
-0.014149794355034828,
-0.000667326501570642,
-0.002966353204101324,
-0.012715416960418224,
-0.005786439869552851,
0.005308094434440136,
-0.05754727125167847,
0.01998436637222767,
-0.016627812758088112,
0.061658602207899094,
0.06254036724567413,
0.005575742572546005,
0.008596126921474934,
0.010450934991240501,
0.016573309898376465,
0.00923487264662981,
0.021982911974191666,
0.03535249084234238,
0.06272301822900772,
0.010001235641539097,
-0.01916077546775341,
-0.02069210261106491,
-0.030255405232310295,
0.008495241403579712,
0.04715816304087639,
0.0010346554918214679,
0.025196950882673264,
-0.031531382352113724,
0.0022919224575161934,
-0.029198074713349342,
-0.04094255715608597,
-0.009553132578730583,
0.00615025544539094,
-0.011887885630130768,
-0.05272242799401283,
0.007722240872681141,
-0.027301860973238945,
-0.007220582105219364,
-0.036499664187431335,
0.03720127418637276,
-0.05051109939813614,
0.019783172756433487,
-0.01156558096408844,
0.021556537598371506,
-0.0765688344836235,
0.005324493627995253,
0.005713701248168945,
0.012397653423249722,
0.0018027534242719412,
0.02754487469792366,
-0.0024581956677138805,
-0.06438273191452026,
0.028174828737974167,
-0.021250689402222633,
-0.011086573824286461,
0.00913657434284687,
-0.012376833707094193,
0.03865024074912071,
0.011319457553327084,
-0.05583759397268295,
0.0009127886733040214,
0.04899485781788826,
-0.036356255412101746,
-0.007806110195815563,
-0.018470561131834984,
0.018745802342891693,
0.005638312082737684,
0.013670793734490871,
-0.008535705506801605,
-0.04947616159915924,
0.009940479882061481,
0.02118234522640705,
0.040657833218574524,
0.06392861902713776,
-0.03005373477935791,
0.009899908676743507,
0.00651857815682888,
0.023238560184836388,
0.03032575733959675,
-0.054852575063705444,
-0.06634682416915894,
-0.008409536443650723,
-0.04348445311188698,
0.05979647859930992,
0.01589946635067463,
-0.09312480688095093,
-0.012384315021336079,
-0.013941786251962185,
-0.019321175292134285,
0.03691454976797104,
-0.028522642329335213,
-0.036600686609745026,
0.026095332577824593,
0.021867532283067703,
-0.03446589782834053,
-0.02111458033323288,
-0.0021830573678016663,
-0.007608342915773392,
-0.08166870474815369,
-0.018686270341277122,
-0.025401297956705093,
-0.027515605092048645,
-0.005592833273112774,
-0.018372023478150368,
-0.04881017655134201,
-0.024650219827890396,
-0.02453511580824852,
0.025362923741340637,
-0.08218143880367279,
0.04095127806067467,
0.0512518510222435,
-0.003040153067559004,
-0.027823524549603462,
0.024408841505646706,
0.05350261554121971,
0.023763399571180344,
0.027520988136529922,
0.05026980862021446,
-0.007843500934541225,
0.020422115921974182,
0.020140277221798897,
0.06255187839269638,
-0.01604103110730648,
-0.06443257629871368,
-0.03865163400769234,
0.05344771966338158,
-0.0024218622129410505,
-0.01674487628042698,
-0.02903043106198311,
-0.05331161990761757,
-0.04252738878130913,
0.025636207312345505,
0.0417167991399765,
0.034625861793756485,
0.007802576292306185,
-0.03004271350800991,
0.047662898898124695,
-0.023163583129644394,
0.03859512507915497,
0.0424521379172802,
-0.06131824478507042,
-0.027585778385400772,
0.0014852040912956,
0.020081980153918266,
0.02615475095808506,
0.026261350139975548,
0.04759339988231659,
-0.03258470445871353,
-0.011647100560367107,
0.08779197186231613,
0.013200224377214909,
0.03309786692261696,
-0.019797228276729584,
-0.006882750894874334,
0.052778277546167374,
0.02522699348628521,
0.02541486546397209,
0.08433005213737488,
0.0007825792417861521,
-0.020768117159605026,
-0.003927574958652258,
0.09759896248579025,
-0.016088513657450676,
-0.007376710418611765,
-0.032173026353120804,
-0.029291298240423203,
0.05348901078104973,
-0.0580199733376503,
0.0019536272156983614,
0.034577250480651855,
0.049765076488256454,
0.008802389726042747,
0.025704005733132362,
0.0008189473301172256,
-0.06738661229610443,
0.037154991179704666,
-0.023480864241719246,
0.015019290149211884,
0.025728126987814903,
0.012031789869070053,
0.08223150670528412,
0.043651994317770004,
-0.006850850768387318,
0.027523156255483627,
-0.08284304291009903,
-0.06252863258123398,
-0.0043169972486793995,
-0.031101923435926437,
0.03500337153673172,
-0.05027097836136818,
0.029302464798092842,
0.06425164639949799,
-0.01189064234495163,
0.04225752875208855,
0.022353574633598328,
-0.014496464282274246,
0.00515328161418438,
-0.049239154905080795,
-0.044805705547332764,
0.05716830864548683,
0.015408583916723728,
-0.05321985483169556,
-0.030375102534890175,
0.02414223924279213,
-0.0176188126206398,
0.03258933871984482,
0.041238922625780106,
-0.011027452535927296,
0.059602271765470505,
0.044255807995796204,
0.025757919996976852,
-0.010006638243794441,
0.006169462110847235,
-0.03986440226435661,
0.039038483053445816,
0.03641468286514282,
-0.033826347440481186,
-0.005959152709692717,
-0.021731005981564522,
0.11710904538631439,
0.049717631191015244,
-0.016777068376541138,
-0.029056111350655556,
0.01682889647781849,
0.024591989815235138,
0.004768986254930496,
-0.0060644387267529964,
-0.016263745725154877,
-0.018708055838942528,
0.0048467242158949375,
-0.016842439770698547,
-0.0007128471625037491,
-0.014400111511349678,
-0.01328032836318016,
-0.014941797591745853,
0.05344105139374733,
-0.0029545745346695185,
0.055506642907857895,
0.009602210484445095,
0.011063836514949799,
-0.011446398682892323,
-0.0551268570125103,
-0.035328496247529984,
0.02091030962765217,
0.008312893100082874,
0.00035949720768257976,
0.04233420267701149,
-0.04186328500509262,
-0.004818325396627188,
-0.016519997268915176,
-0.00023328198585659266,
0.041428618133068085,
0.05212237313389778,
0.06398759037256241,
-0.015433483757078648,
0.04616141691803932,
-0.03442288562655449,
0.01036958396434784,
-0.02696146070957184,
-0.07852179557085037,
-0.030049093067646027,
0.015106531791388988,
0.011543137021362782,
0.004447242245078087,
0.05300147086381912,
-0.020595015957951546,
0.007677634246647358,
-0.006063689012080431,
0.0012372116325423121,
-0.0070885843597352505,
0.02123766951262951,
0.0024749136064201593,
0.002843681024387479,
-0.05328226089477539,
-0.051751039922237396,
0.07434692233800888,
-0.04500661417841911,
-0.05090058222413063,
-0.03243807330727577,
-0.04318999499082565,
0.06012394651770592,
-0.07718174159526825,
-0.022422846406698227,
-0.012684120796620846,
0.0743749812245369,
0.057558998465538025,
0.01187334768474102,
0.02742641419172287,
0.078126460313797,
0.03052488900721073,
0.004743117839097977,
0.03868855535984039,
0.0025744636077433825,
0.026975471526384354,
-0.04101667180657387,
0.02143268845975399,
0.04221075400710106,
-0.01701618731021881,
-0.018087007105350494,
-0.05510209873318672,
-0.011231319978833199,
-0.02540525607764721,
-0.2567669749259949,
0.039759088307619095,
-0.03193914145231247,
-0.030248206108808517,
0.01872141659259796,
-0.013181572780013084,
0.019513476639986038,
-0.024233955889940262,
-0.01728587970137596,
-0.008001565001904964,
0.019067339599132538,
-0.031324807554483414,
-0.01630113460123539,
0.046112220734357834,
0.030431045219302177,
0.018072359263896942,
-0.019936179742217064,
-0.028230687603354454,
0.0034245613496750593,
0.02252386137843132,
-0.02645789086818695,
-0.03134703263640404,
-0.027054615318775177,
0.04128782078623772,
0.017183205112814903,
0.025465887039899826,
-0.10018760710954666,
-0.0012582922354340553,
-0.0736241266131401,
0.00310185132548213,
-0.003411178942769766,
-0.004152742680162191,
0.01586778275668621,
-0.01969277113676071,
-0.013887719251215458,
-0.0189872607588768,
0.066248320043087,
-0.008816862478852272,
-0.0002301729837199673,
0.0055814762599766254,
-0.04413789138197899,
-0.06056642159819603,
-0.02584679052233696,
0.004606718197464943,
0.07836052775382996,
0.016323523595929146,
-0.0500023327767849,
-0.013879327103495598,
-0.031170230358839035,
0.04194311797618866,
-0.02605784311890602,
-0.04447442665696144,
-0.02877097763121128,
-0.009696122258901596,
-0.03426019474864006,
-0.04897492751479149,
-0.026086945086717606,
-0.02028687112033367,
-0.038634512573480606,
-0.011437016539275646,
-0.014430301263928413,
-0.04653278365731239,
0.03975846618413925,
-0.041748519986867905,
-0.030539974570274353,
-0.05306963250041008,
-0.0823480561375618,
-0.03198050707578659,
0.06717266887426376,
-0.0022655476350337267,
-0.01343862060457468,
0.0003378859837539494,
-0.04707648977637291,
-0.1094474121928215,
-0.03642144426703453,
-0.0006526464712806046,
-0.0009759036474861205,
0.009942285716533661,
0.007168757263571024,
0.04806361719965935,
-0.06525464355945587,
-0.048766061663627625,
0.020761970430612564,
0.008550594560801983,
0.024164844304323196,
0.012139542028307915,
-0.0026955585926771164,
-0.03142675757408142,
-0.02947763353586197,
0.008546227589249611,
0.06457577645778656,
-0.0030968617647886276,
0.002477126196026802,
-0.004593003541231155,
0.020021697506308556,
0.04769843816757202,
0.014816741459071636,
-0.01405293308198452,
0.03397633880376816,
0.023899907246232033,
0.05777190625667572,
-0.027288904413580894,
-0.0033360591623932123,
-0.030716262757778168,
-0.018042247742414474,
-0.0033861882984638214,
-0.032936666160821915,
0.022990716621279716,
0.054371897131204605,
0.006377598736435175,
-0.004247685428708792,
0.013239271938800812,
0.03923134133219719,
-0.03681621327996254,
0.012924809008836746,
-0.015415490604937077,
0.02284173108637333,
0.036112070083618164,
0.07826247811317444,
-0.024226203560829163,
-0.0769815593957901,
0.02093431167304516,
0.03665830194950104,
-0.006774446927011013,
-0.06371671706438065,
-0.07838518917560577,
-0.029330728575587273,
-0.03106510080397129,
-0.022720403969287872,
0.014822501689195633,
-0.03310742229223251,
0.01035647839307785,
0.012080823071300983,
-0.037217941135168076,
0.035610489547252655,
-0.004233126528561115,
-0.036138080060482025,
-0.03958495333790779,
-0.015839699655771255,
-0.0039434428326785564,
-0.011321574449539185,
-0.0133917685598135,
-0.020861653611063957,
0.07059536874294281,
0.030540388077497482,
0.012019812129437923,
-0.012326635420322418,
0.013989828526973724,
0.00399774732068181,
0.020821182057261467,
-0.025240367278456688,
-0.016101613640785217,
0.023817721754312515,
-0.02598465047776699,
-0.004957552999258041,
0.015980444848537445,
0.05512004345655441,
-0.03218778967857361,
0.0009158774046227336,
-0.05094088986515999,
0.01740293763577938,
-0.03981379047036171,
0.02663690410554409,
-0.03886895626783371,
0.0027850624173879623,
0.025943664833903313,
-0.032854028046131134,
0.014818074181675911,
-0.040243081748485565,
-0.005633369088172913,
0.012063639238476753,
-0.000910554314032197,
-0.03153437748551369,
0.017396118491888046,
0.001096100895665586,
-0.006898499559611082,
0.016267884522676468,
0.021350648254156113,
0.018566619604825974,
-0.003096671076491475,
0.004921592306345701,
-0.012503108941018581,
-0.009123572148382664,
0.019596364349126816,
0.040791645646095276,
0.05608080327510834,
-0.010941841639578342,
0.013885480351746082,
-0.05303189530968666,
0.006116784643381834,
-0.028435247018933296,
-0.018405741080641747,
-0.04457893222570419,
0.01470752153545618,
-0.02100078947842121,
-0.06480496376752853,
0.031793419271707535,
0.021795546635985374,
0.00992603600025177,
0.029657911509275436,
0.03739755228161812,
-0.010598443448543549,
-0.020794309675693512,
-0.004061907064169645,
0.07564634084701538,
-0.03550942987203598,
-0.01700686104595661,
-0.01015427801758051,
0.009359907358884811,
0.0003606290847528726,
0.02096819132566452,
-0.04573522508144379,
-0.007126883137971163,
0.010767859406769276,
0.004277093801647425,
-0.023016449064016342,
-0.029148073866963387,
-0.005457510706037283,
0.027774132788181305,
-0.020048700273036957,
0.040394823998212814,
0.011847250163555145,
0.02261355333030224,
-0.033328767865896225,
-0.006106041371822357,
0.05533125624060631,
-0.01736011914908886,
-0.030045391991734505,
0.005514097400009632,
-0.004214965272694826,
0.03756369650363922,
-0.04505929350852966,
0.03764575347304344,
0.01966729573905468,
0.005071584135293961,
-0.009229473769664764,
-0.05029294639825821,
0.021766042336821556,
-0.01550649106502533,
0.07267197966575623,
-0.012332555837929249,
-0.02415401302278042,
-0.03206959739327431,
0.00862283818423748,
-0.03650480508804321,
-0.01736145280301571,
0.01784728839993477,
-0.007807005662471056,
-0.019316289573907852,
0.04324324056506157,
0.008131374605000019,
0.032990723848342896,
0.0016979476204141974,
-0.013953822664916515,
0.04922730103135109,
-0.03200659900903702,
-0.030306464061141014,
-0.015272215940058231,
-0.025525905191898346,
0.0014623197494074702,
0.008186379447579384,
0.018869170919060707,
-0.051000580191612244,
0.06954353302717209,
0.045224569737911224,
0.023185988888144493,
0.009723303839564323,
-0.01859789714217186,
-0.0025558031629770994,
0.00016524810052942485,
0.008790538646280766,
-0.06772076338529587,
0.009025814011693,
0.05478673428297043,
0.018184738233685493,
0.006141146179288626,
-0.015592212788760662,
-0.045197781175374985,
0.013098973780870438,
-0.051025811582803726,
-0.006334005855023861,
0.030776171013712883,
-0.026101741939783096,
0.05752471834421158,
0.031075453385710716,
-0.07416509836912155,
-0.01467029470950365,
0.060661591589450836,
-0.008549110032618046,
-0.00815828051418066,
-0.042529769241809845,
0.054477714002132416,
-0.01780449040234089,
0.028680190443992615,
-0.010338335298001766,
-0.019702192395925522,
0.07347045093774796,
0.005016881041228771,
0.026156464591622353,
0.07852150499820709,
-0.031085951253771782,
0.035009052604436874,
0.020697394385933876,
-0.025304943323135376,
0.003089998848736286,
0.05274537205696106,
0.0010445460211485624,
-0.033510103821754456,
0.021435445174574852,
0.01036980003118515,
-0.021325597539544106,
-0.03578386455774307,
0.0750771313905716,
-0.018491286784410477,
-0.06576581299304962,
-0.05936393886804581,
0.030939826741814613,
-0.0295417457818985,
-0.02082953415811062,
-0.05004275590181351,
0.0000044160019569972064,
-0.04869315028190613,
0.05880245938897133,
-0.0233173631131649,
0.019940683618187904,
0.06957196444272995,
0.003818696364760399,
-0.007374492008239031,
0.01798204705119133,
0.06781154870986938,
0.09613178670406342,
0.06335807591676712,
0.025337649509310722,
0.07268813997507095,
-0.012959703803062439,
-0.02766610123217106,
-0.03414575755596161,
-0.05123161897063255,
-0.018243230879306793,
0.03233642876148224,
0.011684161610901356,
0.05868956446647644,
-0.0034605085384100676,
0.04895305633544922,
-0.015337969176471233,
-0.029543595388531685,
0.0058755469508469105,
-0.014749799855053425,
0.04726513475179672,
0.06354884058237076,
0.023148249834775925,
0.035536687821149826,
-0.023732781410217285,
-0.05036042258143425,
0.04175741598010063,
-0.00503151398152113,
-0.024669885635375977,
0.05250431224703789,
-0.012994568794965744,
0.002277316292747855,
0.029578428715467453,
0.03351636976003647,
0.06786887347698212,
-0.006016043480485678,
-0.01012587733566761,
0.009241636842489243,
-0.008678660728037357,
-0.007106660399585962,
-0.031094007194042206,
0.0014312727143988013,
-0.007611391134560108,
-0.012847652658820152,
-0.05477243289351463,
0.0011118532856926322,
-0.015109427273273468,
-0.028978418558835983,
0.026148656383156776,
-0.013767750933766365,
0.007007771171629429,
0.004271127749234438,
-0.01510991808027029,
-0.027094928547739983,
-0.04543887823820114,
-0.06469495594501495,
-0.05621303617954254,
-0.0647580623626709,
0.02309189736843109,
0.02101840078830719,
0.031771231442689896,
0.007232432719320059,
-0.006279238499701023,
0.01047945860773325,
-0.006441247649490833,
0.03999808430671692,
-0.038084726780653,
-0.006783787626773119,
0.007206154055893421,
-0.01759791001677513,
0.04739907383918762,
0.02325146272778511,
0.02185990661382675,
0.018844356760382652,
0.005269241984933615,
-0.023972034454345703,
0.016701137647032738,
0.060937102884054184,
0.034755781292915344,
-0.021575748920440674,
-0.07606489211320877,
0.0033948298078030348,
0.02264401689171791,
-0.03633662685751915,
-0.08133018761873245,
0.003754875622689724,
0.0400741845369339,
0.010177373886108398,
0.008813883177936077,
-0.0033347150310873985,
-0.043838951736688614,
-0.03657865896821022,
0.027303490787744522,
0.011096212081611156,
0.011153224855661392,
0.04358296096324921,
-0.03140733391046524,
0.038188960403203964,
0.02811761572957039,
-0.03347064554691315,
-0.015304207801818848,
-0.03217446431517601,
0.009761850349605083,
-0.021162619814276695,
-0.03536083549261093,
-0.02482960931956768,
-0.022776532918214798,
-0.07421840727329254,
-0.05906548723578453,
-0.023112338036298752,
-0.007200133521109819,
-0.030312038958072662,
0.02304782159626484,
0.020705172792077065,
-0.025404861196875572,
0.038474589586257935,
-0.034047067165374756,
0.059522539377212524,
-0.02114396169781685,
-0.0017122686840593815,
-0.04971250519156456,
0.024177467450499535,
-0.01357182115316391,
0.009982242248952389,
0.015025880187749863,
-0.04551106318831444,
-0.024060804396867752,
-0.04522854834794998,
0.03756384924054146,
0.031031612306833267,
-0.01388605497777462,
0.028386831283569336
] | [
-0.05297907814383507,
0.013793112710118294,
-0.04147379845380783,
-0.0012288476573303342,
0.06364371627569199,
-0.017478272318840027,
0.01610560342669487,
-0.01038688886910677,
0.022952113300561905,
0.0019208720186725259,
0.014931726269423962,
-0.0016596909845247865,
0.023293856531381607,
0.01740768365561962,
0.05259430408477783,
-0.0026976866647601128,
-0.022514991462230682,
-0.0392298549413681,
-0.0799836665391922,
0.058855097740888596,
-0.027189994230866432,
-0.042799707502126694,
-0.03225205838680267,
-0.019405821338295937,
0.019894203171133995,
0.0416695736348629,
0.03316809609532356,
-0.03848720341920853,
-0.018821632489562035,
-0.21544331312179565,
-0.005488231312483549,
0.02298532798886299,
-0.003225291147828102,
-0.0028383058961480856,
0.001543280784972012,
0.018627522513270378,
0.04911283031105995,
-0.0013213042402639985,
-0.00260922615416348,
0.05916832387447357,
0.03520920127630234,
-0.003956073895096779,
-0.0782814547419548,
-0.042740289121866226,
0.03788793832063675,
0.012847415171563625,
-0.017966080456972122,
-0.024558689445257187,
-0.008873192593455315,
0.040742840617895126,
-0.012506025843322277,
-0.02909322828054428,
-0.02085682563483715,
0.013539549894630909,
-0.008491462096571922,
0.0558728352189064,
0.03988839313387871,
0.04650956019759178,
0.03227584436535835,
0.03477964922785759,
0.005605900660157204,
0.004574796184897423,
-0.09822273254394531,
0.027935929596424103,
-0.013823890127241611,
0.0015520408051088452,
-0.05300391465425491,
0.01270466111600399,
-0.03270373120903969,
0.08386238664388657,
0.035666730254888535,
0.006278010085225105,
-0.036957014352083206,
0.06765575706958771,
-0.007558057550340891,
0.0015155262080952525,
-0.021020544692873955,
0.004473003093153238,
0.011957434006035328,
-0.01362864300608635,
-0.08523213863372803,
0.0035916443448513746,
-0.0217436533421278,
-0.021943960338830948,
-0.023839343339204788,
0.047119077295064926,
-0.026164274662733078,
0.04127487167716026,
0.0005404474213719368,
0.04482975974678993,
0.021495044231414795,
0.07010097056627274,
0.018165545538067818,
0.06292750686407089,
-0.09429989010095596,
-0.055273354053497314,
0.009018730372190475,
0.017447322607040405,
0.013386188074946404,
0.42121362686157227,
0.015702491626143456,
0.03529706597328186,
0.041241321712732315,
0.029511885717511177,
-0.03307376801967621,
-0.029578255489468575,
-0.0030987372156232595,
-0.0813283622264862,
0.010409383103251457,
-0.002440038835629821,
-0.00481560779735446,
-0.05079006031155586,
0.016378529369831085,
-0.13048407435417175,
0.034228622913360596,
0.018149714916944504,
0.07730887085199356,
0.019356122240424156,
-0.01582443341612816,
-0.011217580176889896,
0.02598853036761284,
0.0032125944271683693,
0.04695548489689827,
0.003734708996489644,
0.017494715750217438,
0.033256981521844864,
0.04527509585022926,
0.0484778918325901,
0.037388723343610764,
0.04914868250489235,
0.04897039383649826,
0.0037482664920389652,
-0.08617779612541199,
0.01162261888384819,
-0.014146474190056324,
0.0007130893645808101,
0.042494285851716995,
-0.056187186390161514,
0.003517463570460677,
0.019736668094992638,
-0.005476462654769421,
0.0027406448498368263,
0.05957507714629173,
-0.007429290097206831,
-0.03107137605547905,
0.13601364195346832,
0.008454203605651855,
-0.04279492795467377,
-0.03659350425004959,
-0.07187721878290176,
-0.03667004033923149,
0.03348375856876373,
0.01662604510784149,
-0.0596759133040905,
-0.006985847372561693,
0.006816878914833069,
0.08499360084533691,
-0.010205921716988087,
-0.06911461800336838,
0.004328477196395397,
-0.015920046716928482,
-0.008128068409860134,
-0.023092692717909813,
0.0818672850728035,
0.02123255655169487,
-0.10353466868400574,
-0.018745146691799164,
0.006416413001716137,
-0.02401493489742279,
-0.08372719585895538,
0.011268015019595623,
0.01743607223033905,
-0.07973635196685791,
-0.0342567078769207,
0.0865858793258667,
-0.02089684270322323,
-0.06215182691812515,
-0.046978771686553955,
0.030443450435996056,
0.00414871284738183,
-0.025931183248758316,
0.013211369514465332,
-0.05585634708404541,
0.010058427229523659,
-0.0553118996322155,
-0.06787556409835815,
-0.07057472318410873,
0.026370972394943237,
-0.03714977949857712,
-0.02436293102800846,
-0.017867036163806915,
0.000790471094660461,
-0.01679600402712822,
0.07748815417289734,
-0.04744483157992363,
-0.04860678315162659,
-0.006704253144562244,
0.013428251259028912,
-0.01358181331306696,
-0.032441332936286926,
0.021864153444767,
0.009582733735442162,
-0.0018520423909649253,
0.030738353729248047,
-0.018989618867635727,
0.008427580818533897,
0.03747761622071266,
-0.06888602674007416,
0.04360644519329071,
0.002572926925495267,
-0.055661432445049286,
0.025212487205863,
-0.008656145073473454,
0.046225231140851974,
-0.005410665180534124,
-0.024437924847006798,
0.004508079495280981,
0.003401057794690132,
0.02181599661707878,
0.024174781516194344,
-0.02534935064613819,
-0.03717411682009697,
0.0033895489759743214,
-0.33412885665893555,
-0.014670522883534431,
-0.01726297102868557,
0.024883447214961052,
0.012899932451546192,
-0.00395653210580349,
0.006332251243293285,
-0.02184140682220459,
-0.022566944360733032,
0.03354710340499878,
0.07219694554805756,
-0.008032189682126045,
-0.02318865805864334,
-0.054818324744701385,
0.006798164919018745,
0.04162653535604477,
-0.022403648123145103,
0.0006565655930899084,
-0.025611165910959244,
0.03207601606845856,
-0.002675179159268737,
-0.054265495389699936,
0.0004682074359152466,
-0.03698628768324852,
0.005755501799285412,
0.02584703080356121,
0.126239612698555,
0.016641147434711456,
-0.027681900188326836,
-0.03723891079425812,
0.06520313024520874,
0.011020824313163757,
-0.04676085337996483,
0.000013549335562856868,
-0.0018331705359742045,
-0.013779299333691597,
-0.0007296638796105981,
0.014592054300010204,
-0.009836987592279911,
0.01237771287560463,
-0.05955102667212486,
-0.0014620590955018997,
-0.033334534615278244,
-0.05106133967638016,
-0.01625671796500683,
0.013139951042830944,
-0.06600617617368698,
-0.013428249396383762,
0.03646927326917648,
0.07345916330814362,
0.00015921924205031246,
0.0008818297646939754,
0.013593831099569798,
0.0031335290987044573,
0.01742885634303093,
-0.017748180776834488,
-0.06540168076753616,
-0.03436315432190895,
0.010202175006270409,
0.016391348093748093,
0.004886694718152285,
0.05273023247718811,
0.02877781353890896,
-0.09509982913732529,
0.04171416908502579,
0.00574239669367671,
-0.01371690072119236,
-0.0077998279593884945,
-0.0073441374115645885,
-0.053454142063856125,
-0.026478784158825874,
0.07595685124397278,
0.0189206600189209,
0.025652317330241203,
0.045030418783426285,
0.040301673114299774,
-0.045862410217523575,
-0.018286196514964104,
0.037619009613990784,
0.004626618232578039,
0.05637774243950844,
-0.03241141140460968,
0.04438767954707146,
-0.004149643238633871,
-0.01705275848507881,
0.0788862407207489,
-0.0017385215032845736,
-0.024707037955522537,
0.0501030869781971,
-0.017285242676734924,
-0.008162757381796837,
-0.0008670205716043711,
-0.03954619541764259,
-0.017660807818174362,
0.048848751932382584,
-0.01510237343609333,
-0.27928248047828674,
0.06666117161512375,
0.045884713530540466,
0.06123462691903114,
0.029224436730146408,
0.01730163022875786,
-0.0071111200377345085,
-0.003922655712813139,
0.00642786081880331,
-0.011128987185657024,
0.04652530699968338,
0.07663031667470932,
0.011821148917078972,
-0.02629818394780159,
-0.0054158056154847145,
0.03947170451283455,
0.036091916263103485,
-0.005383663810789585,
0.019010625779628754,
0.012549103237688541,
0.05854406580328941,
-0.009982896037399769,
0.1786641776561737,
0.04273735731840134,
0.017607431858778,
0.009769130498170853,
-0.03784973919391632,
-0.006980953738093376,
0.02694685384631157,
-0.00866766832768917,
-0.023757072165608406,
0.007068344857543707,
0.0069053820334374905,
0.04619995877146721,
-0.0023365269880741835,
-0.01950545608997345,
0.004598778206855059,
0.04062042385339737,
0.028098931536078453,
-0.0380263477563858,
-0.02844400703907013,
0.01208142377436161,
-0.05406021699309349,
0.013607840985059738,
0.056493356823921204,
-0.045964647084474564,
0.02372419461607933,
-0.031314603984355927,
-0.062024760991334915,
0.0007339075673371553,
-0.028736183419823647,
-0.027083661407232285,
-0.028637699782848358,
-0.023373370990157127,
0.00292662950232625,
0.06861022859811783,
0.015331482514739037,
-0.02224431186914444,
0.03569990396499634,
0.053622402250766754,
-0.01119743287563324,
-0.013456468470394611,
0.08089548349380493,
-0.04134072735905647,
0.008671971037983894
] | [
0.015435513108968735,
0.07348617166280746,
0.02487843856215477,
0.0419333279132843,
-0.009278365410864353,
0.0008910434553399682,
-0.026022661477327347,
-0.019352523609995842,
0.017118005082011223,
-0.011147373355925083,
-0.033238060772418976,
-0.01869041845202446,
0.018830087035894394,
-0.012866783887147903,
-0.01476244255900383,
-0.011934272944927216,
-0.006642187479883432,
0.020426100119948387,
0.04507964476943016,
-0.03637958690524101,
-0.05431713908910751,
-0.030150696635246277,
0.034378260374069214,
-0.016892706975340843,
-0.0044549801386892796,
0.03414253145456314,
-0.018513847142457962,
0.008995935320854187,
0.042324479669332504,
-0.07174105197191238,
-0.02010253258049488,
-0.024719133973121643,
-0.012408396229147911,
0.01663886569440365,
-0.008283085189759731,
0.0013223395217210054,
0.0038507746066898108,
0.0057192714884877205,
-0.021667130291461945,
0.0008770627900958061,
0.021952012553811073,
-0.00791851058602333,
-0.046181924641132355,
0.019690241664648056,
0.0025773716624826193,
-0.011707349680364132,
-0.01612888090312481,
-0.02417854778468609,
-0.016137469559907913,
0.00014391950389835984,
-0.002429492073133588,
0.017248088493943214,
0.0018172526033595204,
-0.004414847586303949,
0.0446748286485672,
0.007534623611718416,
-0.04314558207988739,
-0.04123309254646301,
-0.016344882547855377,
-0.05436469241976738,
0.022181926295161247,
-0.04687466099858284,
-0.08509506285190582,
-0.03524292632937431,
0.012528499588370323,
-0.010867840610444546,
0.01320619136095047,
0.05316319689154625,
0.0015192596474662423,
-0.016731763258576393,
-0.026614371687173843,
0.02988964505493641,
-0.061515193432569504,
-0.009256090968847275,
0.00933842919766903,
0.041404593735933304,
0.032044243067502975,
-0.050539981573820114,
-0.00692782225087285,
-0.017641736194491386,
-0.012990226969122887,
0.03162136673927307,
-0.011402309872210026,
-0.01802588626742363,
-0.0020581698045134544,
-0.026172464713454247,
-0.02859240397810936,
0.02580980584025383,
0.014286870136857033,
0.011861915700137615,
-0.053351905196905136,
0.04542063921689987,
0.016934607177972794,
-0.00871428195387125,
-0.07666832953691483,
0.013810916803777218,
0.01810445450246334,
0.000039535178075311705,
0.04517142474651337,
0.8115755915641785,
0.03124493919312954,
0.03984641656279564,
-0.019630348309874535,
0.023295551538467407,
-0.030829867348074913,
0.018936166539788246,
-0.04091455042362213,
0.0008547645411454141,
-0.030396586284041405,
0.015727581456303596,
-0.020905494689941406,
0.01886225864291191,
0.009773900732398033,
-0.012538253329694271,
-0.0033247896935790777,
0.06777795404195786,
0.02205990068614483,
0.014335311017930508,
-0.04624608904123306,
0.01911386288702488,
0.025137271732091904,
0.004570297431200743,
0.024347318336367607,
0.03424498066306114,
0.006862286478281021,
-0.16550254821777344,
-0.00034509479883126915,
-7.571543519322639e-33,
0.05639030039310455,
-0.016395900398492813,
0.07115808129310608,
0.0037919951137155294,
0.029077647253870964,
0.041017550975084305,
0.027338124811649323,
-0.022685136646032333,
0.0021754244808107615,
-0.048150286078453064,
0.007204530294984579,
-0.005256382282823324,
0.022069577127695084,
-0.03979948163032532,
0.03550966829061508,
-0.020554525777697563,
-0.0006595409940928221,
0.025974448770284653,
0.006083358079195023,
-0.00501747103407979,
-0.051805123686790466,
0.04162810370326042,
-0.018146853893995285,
0.026377469301223755,
0.014156726188957691,
0.05274347960948944,
0.011163493618369102,
-0.008128991350531578,
-0.009690689854323864,
-0.046258021146059036,
-0.04968421161174774,
0.01296125166118145,
-0.01521406788378954,
-0.021312188357114792,
-0.0008615552796982229,
-0.05197763815522194,
-0.03749247267842293,
-0.0025118733756244183,
-0.01271115057170391,
-0.06902371346950531,
-0.04374219477176666,
-0.0001593337656231597,
0.003999726381152868,
-0.04502900317311287,
-0.06487677991390228,
-0.016456041485071182,
0.017169740051031113,
0.006664412561804056,
-0.008639686740934849,
0.0228414386510849,
0.043764226138591766,
0.0013061740901321173,
0.004344668705016375,
-0.01023746095597744,
-0.01763918809592724,
0.014776387251913548,
0.01991518959403038,
0.022469036281108856,
-0.006208952981978655,
0.018277442082762718,
0.014628542587161064,
0.029680415987968445,
-0.0013679326511919498,
0.09676055610179901,
0.023127341642975807,
0.025619635358452797,
-0.020233750343322754,
-0.011046561412513256,
0.005854304879903793,
0.05933946743607521,
-0.03581992909312248,
0.059016089886426926,
-0.01123526319861412,
-0.0317244715988636,
0.0522974357008934,
-0.034066859632730484,
0.001523286453448236,
-0.017642460763454437,
-0.014057900756597519,
0.04508889466524124,
-0.04306957125663757,
-0.032219432294368744,
0.040377650409936905,
-0.02707534097135067,
-0.016166647896170616,
-0.008021610789000988,
-0.002189332852140069,
0.04145471379160881,
0.036488503217697144,
0.028132839128375053,
0.041520725935697556,
-0.021572213619947433,
0.027804601937532425,
0.008973656222224236,
-0.05622834339737892,
7.314671555045076e-33,
-0.0077976989559829235,
0.023032233119010925,
-0.006177085917443037,
0.011254904791712761,
0.0031346192117780447,
-0.02924392744898796,
-0.014683708548545837,
0.0033821638207882643,
-0.03825556859374046,
0.05566294491291046,
0.008982965722680092,
-0.011784831993281841,
-0.016786660999059677,
0.025259094312787056,
0.062285903841257095,
0.00543211679905653,
0.0258367620408535,
-0.028683830052614212,
0.02375861629843712,
0.014588557183742523,
-0.004690955858677626,
-0.009635995142161846,
0.008846551179885864,
0.004793732892721891,
-0.001947346143424511,
0.019675878807902336,
0.022720908746123314,
-0.021123601123690605,
-0.005741284228861332,
-0.03315733000636101,
-0.017600374296307564,
-0.03527035191655159,
-0.00951651856303215,
-0.019989851862192154,
0.03237123787403107,
-0.01490334514528513,
-0.0026548514142632484,
-0.0014376445906236768,
0.010463560931384563,
-0.012501342222094536,
0.0014223962789401412,
0.053186722099781036,
-0.04581789672374725,
0.06314092874526978,
0.014071372337639332,
0.00258899899199605,
0.00573361711576581,
0.01323873270303011,
0.03460138291120529,
0.021529661491513252,
-0.007635737769305706,
0.011513900943100452,
-0.01607588864862919,
0.04156685620546341,
0.017671411857008934,
-0.04136096313595772,
0.0053490810096263885,
-0.00039100900175981224,
0.014739181846380234,
-0.01703355833888054,
-0.042301639914512634,
-0.015140662901103497,
-0.01855889894068241,
0.05371633172035217,
0.016243956983089447,
-0.03517564758658409,
-0.027417106553912163,
-0.0087276641279459,
-0.022173769772052765,
-0.013381632044911385,
0.011310652829706669,
-0.01348123699426651,
-0.023190518841147423,
0.025431880727410316,
0.012709908187389374,
-0.003306854283437133,
-0.014459372498095036,
-0.01996622420847416,
-0.02133546955883503,
0.0042046052403748035,
0.0003365827433299273,
0.00031280965777114034,
0.02995707280933857,
0.014645088464021683,
-0.017346439883112907,
0.014404652640223503,
-0.01818251796066761,
0.03393334522843361,
-0.021749883890151978,
0.007061141077429056,
0.006868821103125811,
-0.022578727453947067,
0.0014821523800492287,
0.06902018934488297,
-0.016736291348934174,
-1.2626538925530895e-8,
-0.026207545772194862,
0.017095515504479408,
-0.0196075402200222,
-0.004746234975755215,
0.014607550576329231,
-0.0042891837656497955,
-0.006064338609576225,
-0.00793329905718565,
0.020420165732502937,
0.01344094518572092,
0.026244377717375755,
-0.025750091299414635,
0.02093273214995861,
0.0031609481666237116,
0.022716768085956573,
-0.032933641225099564,
0.01096242107450962,
-0.01325151976197958,
0.01736757904291153,
0.015097287483513355,
0.01914234645664692,
0.03301487863063812,
-0.03224410489201546,
-0.012726000510156155,
-0.01755165308713913,
-0.018267696723341942,
0.021242456510663033,
-0.03641512617468834,
0.01833689957857132,
-0.04569414258003235,
-0.022089270874857903,
-0.024830345064401627,
-0.0007553252507932484,
0.04933200776576996,
-0.0402207188308239,
-0.04658447578549385,
0.015002683736383915,
0.022467587143182755,
0.038030944764614105,
0.04309181869029999,
-0.011810329742729664,
-0.017702192068099976,
-0.014267295598983765,
-0.025593968108296394,
-0.03340592607855797,
0.006782150361686945,
-0.04846670851111412,
-0.014147380366921425,
0.038851089775562286,
-0.029683228582143784,
-0.010655848309397697,
-0.03359118103981018,
0.04647643491625786,
-0.003499828279018402,
0.06606672704219818,
0.03042699210345745,
0.0017720961477607489,
-0.01129231508821249,
0.048040345311164856,
-0.051795970648527145,
0.01764531433582306,
-0.012815595604479313,
-0.06049135699868202,
-0.00032213309896178544
] | neo4j-collecting-multiple-values-too-many-parameters-for-function-collect | https://markhneedham.com/blog/2014/09/26/neo4j-collecting-multiple-values-too-many-parameters-for-function-collect |
false | 2014-09-30 16:47:29 | Neo4j: Generic/Vague relationship names | [
"neo4j"
] | [
"neo4j"
] | An approach to modelling that I often see while working with Neo4j users is creating very generic relationships (e.g. HAS, CONTAINS, IS) and filtering on a relationship property or on a property/label at the end node.
Intuitively this doesn't seem to make best use of the graph model as it means that you have to evaluate many relationships and nodes that you're not interested in.
However, I've never actually tested the performance differences between the approaches so I thought I'd try it out.
I created 4 different databases which had one node with 60,000 outgoing relationships - 10,000 which we wanted to retrieve and 50,000 that were irrelevant.
I modelled the 'relationship' in 4 different ways\...
* Using a specific relationship type +
(node)-[:HAS_ADDRESS]\->(address)
* Using a generic relationship type and then filtering by end node label +
(node)-[:HAS]\->(address:Address)
* Using a generic relationship type and then filtering by relationship property +
(node)-[:HAS {type: "address"}]\->(address)
* Using a generic relationship type and then filtering by end node property +
(node)-[:HAS]\->(address {type: "address"})
\...and then measured how long it took to retrieve the 'has address' relationships.
The https://gist.github.com/mneedham/a35f146dbe09266d574d[code is on github] if you want to take a look.
Although it's obviously not as precise as a http://openjdk.java.net/projects/code-tools/jmh/[JMH] micro benchmark I think it's good enough to get a feel for the difference between the approaches.
I ran a query against each database 100 times and then took the 50th, 75th and 99th percentiles (times are in ms): ~~~text Using a generic relationship type and then filtering by end node label 50%ile: 6.0 75%ile: 6.0 99%ile: 402.60999999999825 Using a generic relationship type and then filtering by relationship property 50%ile: 21.0 75%ile: 22.0 99%ile: 504.85999999999785 Using a generic relationship type and then filtering by end node label 50%ile: 4.0 75%ile: 4.0 99%ile: 145.65999999999931 Using a specific relationship type 50%ile: 0.0 75%ile: 1.0 99%ile: 25.749999999999872 ~~~
We can drill further into why there's a difference in the times for each of the approaches by profiling the equivalent cypher query. We'll start with the one which uses a specific relationship name +++<cite>+++Using a specific relationship type+++</cite>+++ ~~~cypher neo4j-sh (?)$ profile match (n) where id(n) = 0 match (n)-[:HAS_ADDRESS]\->() return count(n); +----------+ | count(n) | +----------+ | 10000 | +----------+ 1 row ColumnFilter | +EagerAggregation | +SimplePatternMatcher | +NodeByIdOrEmpty +----------------------+-------+--------+-----------------------------+-----------------------+ | Operator | Rows | DbHits | Identifiers | Other | +----------------------+-------+--------+-----------------------------+-----------------------+ | ColumnFilter | 1 | 0 | | keep columns count(n) | | EagerAggregation | 1 | 0 | | | | SimplePatternMatcher | 10000 | 10000 | n, UNNAMED53, UNNAMED35 | | | NodeByIdOrEmpty | 1 | 1 | n, n | { AUTOINT0} | +----------------------+-------+--------+-----------------------------+-----------------------+ Total database accesses: 10001 ~~~
Here we can see that there were 10,002 database accesses in order to get a count of our 10,000 HAS_ADDRESS relationships. We get a database access each time we load a node, relationship or property.
By contrast the other approaches have to load in a lot more data only to then filter it out: +++<cite>+++Using a generic relationship type and then filtering by end node label+++</cite>+++ ~~~cypher neo4j-sh (?)$ profile match (n) where id(n) = 0 match (n)-[:HAS]\->(:Address) return count(n); +----------+ | count(n) | +----------+ | 10000 | +----------+ 1 row ColumnFilter | +EagerAggregation | +Filter | +SimplePatternMatcher | +NodeByIdOrEmpty +----------------------+-------+--------+-----------------------------+----------------------------------+ | Operator | Rows | DbHits | Identifiers | Other | +----------------------+-------+--------+-----------------------------+----------------------------------+ | ColumnFilter | 1 | 0 | | keep columns count(n) | | EagerAggregation | 1 | 0 | | | | Filter | 10000 | 10000 | | hasLabel( UNNAMED45:Address(0)) | | SimplePatternMatcher | 10000 | 60000 | n, UNNAMED45, UNNAMED35 | | | NodeByIdOrEmpty | 1 | 1 | n, n | { AUTOINT0} | +----------------------+-------+--------+-----------------------------+----------------------------------+ Total database accesses: 70001 ~~~ +++<cite>+++Using a generic relationship type and then filtering by relationship property+++</cite>+++ ~~~cypher neo4j-sh (?)$ profile match (n) where id(n) = 0 match (n)-[:HAS {type: "address"}]\->() return count(n); +----------+ | count(n) | +----------+ | 10000 | +----------+ 1 row ColumnFilter | +EagerAggregation | +Filter | +SimplePatternMatcher | +NodeByIdOrEmpty +----------------------+-------+--------+-----------------------------+--------------------------------------------------+ | Operator | Rows | DbHits | Identifiers | Other | +----------------------+-------+--------+-----------------------------+--------------------------------------------------+ | ColumnFilter | 1 | 0 | | keep columns count(n) | | EagerAggregation | 1 | 0 | | | | Filter | 10000 | 20000 | | Property( UNNAMED35,type(0)) == { AUTOSTRING1} | | SimplePatternMatcher | 10000 | 120000 | n, UNNAMED63, UNNAMED35 | | | NodeByIdOrEmpty | 1 | 1 | n, n | { AUTOINT0} | +----------------------+-------+--------+-----------------------------+--------------------------------------------------+ Total database accesses: 140001 ~~~ +++<cite>+++Using a generic relationship type and then filtering by end node property+++</cite>+++ ~~~cypher neo4j-sh (?)$ profile match (n) where id(n) = 0 match (n)-[:HAS]\->({type: "address"}) return count(n); +----------+ | count(n) | +----------+ | 10000 | +----------+ 1 row ColumnFilter | +EagerAggregation | +Filter | +SimplePatternMatcher | +NodeByIdOrEmpty +----------------------+-------+--------+-----------------------------+--------------------------------------------------+ | Operator | Rows | DbHits | Identifiers | Other | +----------------------+-------+--------+-----------------------------+--------------------------------------------------+ | ColumnFilter | 1 | 0 | | keep columns count(n) | | EagerAggregation | 1 | 0 | | | | Filter | 10000 | 20000 | | Property( UNNAMED45,type(0)) == { AUTOSTRING1} | | SimplePatternMatcher | 10000 | 120000 | n, UNNAMED45, UNNAMED35 | | | NodeByIdOrEmpty | 1 | 1 | n, n | { AUTOINT0} | +----------------------+-------+--------+-----------------------------+--------------------------------------------------+ Total database accesses: 140001 ~~~
So in summary\...specific relationships #ftw! | null | null | [
0.008552373386919498,
-0.008238257840275764,
-0.0019485517404973507,
0.033995624631643295,
0.07271245121955872,
-0.003635105211287737,
0.024090498685836792,
0.023051301017403603,
0.02389688789844513,
-0.015302665531635284,
0.01536147203296423,
-0.006047190632671118,
-0.07213465869426727,
0.032148975878953934,
0.008685660548508167,
0.07107976824045181,
0.06638998538255692,
0.0057761212810873985,
0.023024629801511765,
-0.014245706610381603,
0.019097458571195602,
0.05719040706753731,
-0.014255623333156109,
0.04146096482872963,
0.042013417929410934,
0.02099223993718624,
0.020486656576395035,
-0.01668744720518589,
-0.04503370448946953,
-0.0000216065800486831,
0.05839339643716812,
-0.005387249868363142,
0.0036405024584382772,
-0.02428436651825905,
0.013035145588219166,
-0.009119951166212559,
-0.04168221727013588,
0.006103546358644962,
0.0026992792263627052,
-0.0256700050085783,
-0.07746568322181702,
0.048328232020139694,
-0.0038934918120503426,
0.01780853420495987,
-0.05536286160349846,
0.008288090117275715,
-0.06765711307525635,
0.02756691724061966,
0.010160494595766068,
0.03013935312628746,
-0.07043296843767166,
0.027761951088905334,
-0.009510709904134274,
0.020789913833141327,
-0.01800454966723919,
0.05124106630682945,
0.005252603441476822,
-0.07319749891757965,
0.046816546469926834,
-0.025611737743020058,
0.01742091029882431,
-0.016298510134220123,
0.006793528329581022,
0.026979222893714905,
0.013993225991725922,
-0.030164722353219986,
-0.0008420928497798741,
0.04272671043872833,
-0.05116166174411774,
0.012077146209776402,
0.00997477862983942,
0.015577693469822407,
-0.014855371788144112,
0.0025604323018342257,
-0.0032091534230858088,
-0.041195034980773926,
-0.011395778506994247,
0.03649892285466194,
0.03324255719780922,
0.04408123344182968,
-0.02703893929719925,
0.008952004835009575,
-0.003468696493655443,
0.003174480749294162,
0.02431536093354225,
-0.04067687690258026,
-0.017485972493886948,
-0.014092957600951195,
-0.0673431009054184,
0.035281915217638016,
0.022694557905197144,
-0.06481518596410751,
-0.00541471503674984,
-0.00407261261716485,
-0.036004722118377686,
-0.005093043204396963,
-0.0037973930593580008,
-0.008173267357051373,
0.018909141421318054,
-0.008800779469311237,
-0.015932124108076096,
-0.03665124624967575,
0.015369942411780357,
0.003023338271304965,
-0.08033154159784317,
-0.03567775711417198,
-0.026932844892144203,
-0.02205977961421013,
0.014730746857821941,
0.011870970018208027,
-0.048636581748723984,
0.004973443690687418,
-0.027651451528072357,
0.010407611727714539,
-0.0843016654253006,
0.07278372347354889,
0.007352359127253294,
-0.016830159351229668,
-0.021487850695848465,
0.030711552128195763,
0.05487262085080147,
0.005851114168763161,
-0.008674931712448597,
0.07448412477970123,
-0.017331892624497414,
0.054429180920124054,
-0.016613543033599854,
0.04361319914460182,
-0.018057724460959435,
-0.07606775313615799,
0.0014727339148521423,
0.04498283192515373,
-0.005880757234990597,
0.011071799322962761,
-0.020366590470075607,
-0.05611317977309227,
0.0012070753145962954,
0.015056881122291088,
0.054039034992456436,
0.003870259504765272,
0.010788272134959698,
-0.054539430886507034,
0.02190147526562214,
-0.005583511665463448,
0.029378019273281097,
0.008115587756037712,
-0.02423306554555893,
-0.031138736754655838,
-0.007764009293168783,
0.008691196329891682,
0.02470625750720501,
0.07192538678646088,
0.03152112662792206,
-0.0389852374792099,
0.03548276424407959,
0.11572325229644775,
0.019129103049635887,
0.0012576691806316376,
-0.004137357231229544,
0.015583391301333904,
0.04575159400701523,
0.018955307081341743,
0.009169082157313824,
0.04282023012638092,
0.027741167694330215,
-0.019615087658166885,
-0.01059827208518982,
0.06848226487636566,
-0.02269049920141697,
-0.002687209052965045,
-0.0487295463681221,
-0.054795973002910614,
0.05026068538427353,
-0.06850306689739227,
-0.017174921929836273,
0.05891016498208046,
0.061850156635046005,
0.030297113582491875,
0.021889761090278625,
0.018032310530543327,
-0.07680797576904297,
0.05326772481203079,
0.02339455485343933,
-0.015844475477933884,
0.0032395257148891687,
0.007000873796641827,
0.07433711737394333,
0.03418465703725815,
-0.013854032382369041,
0.04805109277367592,
-0.0940861850976944,
-0.05677105113863945,
-0.0013332095695659518,
-0.011664578691124916,
0.06627625972032547,
-0.035256966948509216,
0.02913009375333786,
0.05374668911099434,
0.016581522300839424,
0.02404678240418434,
0.025575075298547745,
-0.01825658045709133,
0.019485050812363625,
-0.03727903589606285,
-0.061817802488803864,
0.026964018121361732,
0.015576998703181744,
-0.06834211200475693,
-0.03824662044644356,
0.011022107675671577,
-0.019677866250276566,
-0.01764957420527935,
0.020287230610847473,
-0.027325177565217018,
0.009346445091068745,
0.0276967640966177,
0.03716420382261276,
-0.004117073956876993,
0.03524593636393547,
-0.057673823088407516,
0.022648632526397705,
0.011047358624637127,
-0.023455306887626648,
-0.00483553484082222,
-0.01450929045677185,
0.10541237890720367,
0.05413908511400223,
-0.031409963965415955,
-0.07104462385177612,
0.03587916120886803,
0.0343395359814167,
-0.014918303117156029,
0.040181998163461685,
-0.031293127685785294,
0.025409741327166557,
-0.010071104392409325,
-0.043845392763614655,
-0.030513238161802292,
0.012992880307137966,
-0.027426350861787796,
-0.009897877462208271,
0.05686618760228157,
-0.02270888164639473,
0.07805737853050232,
0.003174777375534177,
0.006552162580192089,
-0.020559772849082947,
-0.0498182475566864,
-0.06555980443954468,
0.0446387343108654,
0.01610199734568596,
-0.001694012084044516,
0.052970848977565765,
-0.02298729121685028,
-0.008300584740936756,
-0.024260515347123146,
-0.01082755159586668,
0.0434749498963356,
0.0350663848221302,
0.052624884992837906,
0.0022074987646192312,
0.039144840091466904,
-0.013908441178500652,
0.023769166320562363,
-0.005191819276660681,
-0.06069540977478027,
-0.022786399349570274,
-0.03647737577557564,
0.01656995341181755,
-0.006486325524747372,
0.042032551020383835,
-0.03312421590089798,
0.01485254243016243,
-0.005168499890714884,
0.0006187762483023107,
-0.018488066270947456,
0.030399568378925323,
0.0014872717438265681,
-0.016065601259469986,
-0.01988590508699417,
-0.032496966421604156,
0.06814511120319366,
-0.026348533108830452,
-0.07149529457092285,
-0.021320974454283714,
-0.06413097679615021,
0.06390326470136642,
-0.061811164021492004,
-0.03599410876631737,
-0.011881852522492409,
0.05235491693019867,
0.049916211515665054,
-0.0006356198573485017,
-0.0036703734658658504,
0.0784798339009285,
0.036062899976968765,
0.006594844162464142,
0.02354622446000576,
-0.00007634838402736932,
0.041956376284360886,
0.004626189358532429,
0.0261346735060215,
0.047070275992155075,
-0.008742593228816986,
0.005485465284436941,
-0.01942908577620983,
0.007105570752173662,
-0.016351081430912018,
-0.2592771649360657,
0.04335881397128105,
-0.03911649063229561,
-0.05350842326879501,
0.0008181396406143904,
-0.05896648019552231,
0.020472707226872444,
-0.0260562002658844,
-0.026748083531856537,
0.0070191933773458,
0.008656403981149197,
-0.03689638897776604,
-0.013874453492462635,
0.0618012361228466,
0.01680615358054638,
0.01587575115263462,
-0.005657500121742487,
-0.049501579254865646,
-0.014554806984961033,
0.04967508837580681,
-0.00781546626240015,
-0.06047666072845459,
-0.022836890071630478,
0.020111097022891045,
0.011947231367230415,
0.05311708524823189,
-0.0920889675617218,
0.005760894622653723,
-0.054196543991565704,
-0.011700993403792381,
0.014119858853518963,
-0.02373877726495266,
-0.006846264004707336,
0.005812379997223616,
-0.02794792503118515,
-0.03064655140042305,
0.029545854777097702,
0.026131870225071907,
0.008922530338168144,
0.04151863604784012,
-0.038398757576942444,
-0.025829147547483444,
-0.028061900287866592,
-0.015580829232931137,
0.06776614487171173,
-0.017335349693894386,
-0.05383356660604477,
-0.0039162663742899895,
-0.011213746853172779,
0.06480741500854492,
-0.027740249410271645,
-0.036024607717990875,
-0.009751331061124802,
0.04010872542858124,
-0.026232587173581123,
-0.041903164237737656,
0.009973395615816116,
-0.011182419955730438,
-0.06062573939561844,
-0.033473432064056396,
-0.038379501551389694,
-0.04621150344610214,
0.007037973962724209,
-0.041301626712083817,
-0.0294328760355711,
-0.05153529718518257,
-0.0824226513504982,
-0.03749026730656624,
0.030713917687535286,
-0.00445157615467906,
-0.011539610102772713,
0.01706562377512455,
0.008849491365253925,
-0.10784773528575897,
-0.02742244116961956,
-0.03834335878491402,
0.000489989120978862,
0.01391462329775095,
-0.006878073792904615,
0.05476641654968262,
-0.02824433147907257,
-0.04585379362106323,
-0.017941586673259735,
0.014697863720357418,
0.021211309358477592,
-0.00608877744525671,
0.012397421523928642,
-0.025000987574458122,
-0.03479040786623955,
0.00048474702634848654,
0.05941937118768692,
-0.002717413706704974,
-0.006280176807194948,
-0.004491494968533516,
0.0057111806236207485,
0.014201074838638306,
-0.0010077779879793525,
-0.023195190355181694,
0.015185168012976646,
0.04015273228287697,
0.06442845612764359,
-0.038557227700948715,
0.012638552114367485,
-0.011197254993021488,
0.003793092677369714,
-0.03454731032252312,
-0.04188331961631775,
0.014383421279489994,
0.017081335186958313,
0.0033166264183819294,
0.003097634529694915,
-0.012455728836357594,
0.007801195606589317,
-0.04757218435406685,
-0.05151434987783432,
-0.028450919315218925,
-0.00760913360863924,
0.03123902529478073,
0.020772356539964676,
-0.013269742950797081,
-0.041839342564344406,
0.04087172448635101,
0.026051964610815048,
-0.0071275015361607075,
-0.06906690448522568,
-0.036673594266176224,
-0.04196677356958389,
-0.031329844146966934,
-0.00992716383188963,
0.03056836500763893,
-0.023533230647444725,
0.049808070063591,
-0.0019281066488474607,
-0.028116628527641296,
0.04788188263773918,
0.011304222047328949,
-0.008180470205843449,
-0.017912719398736954,
0.011557324789464474,
-0.02067086659371853,
-0.02245710790157318,
0.003954640123993158,
0.01790126971900463,
0.05763566121459007,
0.039761561900377274,
0.017170827835798264,
0.02629789151251316,
0.0013106843689456582,
0.02434743195772171,
-0.0011279983446002007,
-0.00419454462826252,
-0.05566553771495819,
0.00427144393324852,
-0.04289137199521065,
-0.024875080212950706,
-0.019206253811717033,
0.05163610354065895,
-0.026231851428747177,
-0.03144953027367592,
-0.046246618032455444,
0.026386035606265068,
-0.06221889331936836,
-0.01038630586117506,
-0.008461196906864643,
0.007651022169739008,
0.059019871056079865,
-0.015430577099323273,
0.023865286260843277,
-0.01930982433259487,
-0.03025851398706436,
0.009492998942732811,
0.00811858382076025,
-0.022873304784297943,
0.018835727125406265,
-0.010119709186255932,
-0.004647964145988226,
0.01410200260579586,
0.03289451450109482,
0.0430983230471611,
0.03612460568547249,
-0.01262539904564619,
-0.015703966841101646,
0.02289913222193718,
0.005379584152251482,
0.05793222039937973,
0.025455480441451073,
-0.013187194243073463,
0.004012038931250572,
-0.012971725314855576,
-0.0027055502869188786,
-0.004068964626640081,
-0.003784184344112873,
-0.00910168420523405,
0.024677034467458725,
-0.02889409102499485,
-0.07270195335149765,
0.035222236067056656,
0.006781976204365492,
0.005096896085888147,
0.03693167865276337,
0.011060482822358608,
0.001313780783675611,
-0.01892923191189766,
0.024673942476511,
0.05851208418607712,
-0.06298357993364334,
-0.008593661710619926,
0.010792077518999577,
-0.030036797747015953,
0.015724752098321915,
0.022790424525737762,
-0.06510157883167267,
-0.028941133990883827,
-0.012516619637608528,
0.002854222198948264,
-0.019921856001019478,
-0.03133878856897354,
-0.01841062307357788,
0.023169010877609253,
0.0009575680014677346,
0.015014449134469032,
0.005227816291153431,
-0.003150964854285121,
-0.03637998551130295,
-0.015230677090585232,
0.05410517379641533,
-0.0331757478415966,
0.006559883244335651,
-0.009436842985451221,
-0.0259320717304945,
0.030322769656777382,
-0.019198119640350342,
0.020977698266506195,
0.02993754856288433,
-0.02607123740017414,
0.02088259533047676,
-0.06879277527332306,
0.04293615370988846,
0.00878609623759985,
0.03886941075325012,
-0.0065104905515909195,
0.008972037583589554,
-0.03888783976435661,
0.011341565288603306,
-0.02426763065159321,
0.008065142668783665,
0.025533895939588547,
-0.011773238889873028,
-0.0015292452881112695,
0.01906622387468815,
-0.012501346878707409,
0.03206785023212433,
-0.01635264977812767,
0.005984927527606487,
0.0775928646326065,
-0.04872637242078781,
-0.03696349263191223,
-0.004736399278044701,
-0.0542914904654026,
0.013875355944037437,
-0.0007143269758671522,
0.015433923341333866,
-0.013715673238039017,
0.06490407139062881,
0.0557706281542778,
0.03184110298752785,
0.02584546059370041,
0.005868767388164997,
0.032052818685770035,
-0.023798691108822823,
0.006276637781411409,
-0.07872188836336136,
0.005304328165948391,
0.020205914974212646,
-0.0029725937638431787,
-0.0022091802675276995,
-0.019356459379196167,
-0.019849609583616257,
0.004111406393349171,
-0.07690396159887314,
-0.03924204036593437,
0.022110603749752045,
-0.01293150708079338,
0.02539178915321827,
0.004751794971525669,
-0.04591852053999901,
-0.006616136524826288,
0.04061944782733917,
-0.03900841251015663,
-0.048815466463565826,
-0.0237333495169878,
0.048210468143224716,
-0.03190140053629875,
0.016032762825489044,
-0.03635628893971443,
0.0020830335561186075,
0.06394101679325104,
0.027956416830420494,
0.024580055847764015,
0.04984274134039879,
-0.030754322186112404,
0.042849041521549225,
0.02592788077890873,
-0.0036978840362280607,
-0.004703362938016653,
0.024454265832901,
0.0024283933453261852,
-0.04574470594525337,
0.0484740175306797,
0.007352821994572878,
-0.03170536458492279,
-0.07052438706159592,
0.07230430841445923,
0.011232013814151287,
-0.04190933331847191,
-0.041573263704776764,
0.03005683794617653,
-0.022943753749132156,
0.005799721926450729,
-0.03168097138404846,
-0.0005739137995988131,
-0.046786610037088394,
0.061167921870946884,
-0.007446280214935541,
0.015394939109683037,
0.07466457039117813,
-0.010656142607331276,
-0.012770292349159718,
0.009826117195189,
0.1036151796579361,
0.1007152646780014,
0.055524345487356186,
-0.0033088712953031063,
0.08165325969457626,
-0.0024194468278437853,
-0.02293710969388485,
0.0017722834600135684,
-0.03227248042821884,
-0.039277102798223495,
0.013980379328131676,
0.023424118757247925,
0.06361643970012665,
-0.02088610641658306,
0.0665488913655281,
-0.039277926087379456,
0.008193249814212322,
0.00354029075242579,
-0.0250798761844635,
0.0194635558873415,
0.05683586373925209,
0.015237129293382168,
0.04730942100286484,
-0.03820844739675522,
-0.01990639418363571,
-0.000270285876467824,
-0.003986867144703865,
-0.013338504359126091,
0.030089838430285454,
-0.014606735669076443,
-0.006372999399900436,
0.024477502331137657,
0.05333629250526428,
0.10218547284603119,
-0.030818937346339226,
-0.0035486845299601555,
-0.01265745796263218,
0.005830182693898678,
0.0037487305235117674,
0.003386368276551366,
0.019855402410030365,
-0.04297218099236488,
-0.01811574585735798,
-0.02692912146449089,
-0.017807291820645332,
-0.019455917179584503,
-0.04287692531943321,
0.010405116714537144,
-0.019756784662604332,
0.003968941513448954,
-0.007440481800585985,
0.0005333923036232591,
-0.04261705279350281,
-0.04889950528740883,
-0.04909737780690193,
-0.05075647681951523,
-0.07423806935548782,
-0.005988230928778648,
-0.0077021075412631035,
-0.004287094809114933,
-0.02581433765590191,
-0.01477621216326952,
0.008304659277200699,
-0.008639771491289139,
0.08456079661846161,
-0.051407501101493835,
-0.01732918992638588,
-0.0017291667172685266,
0.0285049956291914,
0.01854076236486435,
0.03234637901186943,
0.056745000183582306,
0.00969106238335371,
0.013850344344973564,
-0.01214312482625246,
-0.0034866149071604013,
0.062013380229473114,
0.020822204649448395,
0.013127795420587063,
-0.08381319046020508,
-0.02867412008345127,
0.021804364398121834,
-0.024289920926094055,
-0.07184761017560959,
-0.002248824341222644,
0.028199827298521996,
0.002684305887669325,
0.046734388917684555,
-0.011099237017333508,
-0.03762626647949219,
-0.012194255366921425,
0.003167318645864725,
0.012701565399765968,
0.0025704437866806984,
0.01806895062327385,
-0.028896933421492577,
0.08527965098619461,
0.029607117176055908,
-0.03684583678841591,
-0.008299310691654682,
-0.006503828801214695,
0.022188972681760788,
0.012640035711228848,
-0.04645787179470062,
-0.03661239147186279,
-0.03376024588942528,
-0.07461073249578476,
-0.02220957726240158,
0.0064033702947199345,
-0.013666950166225433,
-0.0029406119138002396,
0.0017115522641688585,
0.020064054057002068,
-0.03637081757187843,
0.027898157015442848,
-0.045794688165187836,
0.038157641887664795,
-0.013150260783731937,
-0.01925298199057579,
-0.024202939122915268,
0.010937189683318138,
-0.036426134407520294,
0.011221995577216148,
0.018343057483434677,
-0.040223512798547745,
-0.01463533379137516,
-0.03897153213620186,
0.046414896845817566,
0.008528725244104862,
0.031092943623661995,
0.034688740968704224
] | [
-0.016414852812886238,
0.007323051802814007,
-0.02581981010735035,
-0.008445758372545242,
0.057157088071107864,
-0.034912362694740295,
-0.013381319120526314,
0.029455244541168213,
0.019714605063199997,
-0.024189135059714317,
0.03828030079603195,
-0.03133350983262062,
0.06147788092494011,
-0.0044219112023711205,
0.06359458714723587,
-0.014043434523046017,
-0.028823966160416603,
-0.043351322412490845,
0.003030412131920457,
0.06659962236881256,
-0.0003683140384964645,
-0.0400308258831501,
-0.04486876353621483,
-0.017089001834392548,
0.02288331277668476,
0.037505120038986206,
0.04707670956850052,
-0.010349471122026443,
-0.01900009997189045,
-0.2193812131881714,
-0.0036080058198422194,
0.028740501031279564,
0.051102831959724426,
0.01153646595776081,
-0.006573413033038378,
0.0033196264412254095,
0.046511128544807434,
-0.05597946047782898,
0.02501792274415493,
0.0034595183096826077,
-0.005950641352683306,
0.009759738110005856,
-0.01991145871579647,
-0.023026255890727043,
0.03212473914027214,
0.03201209753751755,
-0.01204090379178524,
-0.03141792118549347,
-0.056470341980457306,
-0.028788147494196892,
-0.046165622770786285,
-0.022051123902201653,
-0.00966800656169653,
0.02602948620915413,
-0.0015295767225325108,
0.042578112334012985,
0.050430845469236374,
0.03593148663640022,
0.014384890906512737,
0.014852904714643955,
0.02118717133998871,
0.019122548401355743,
-0.14095458388328552,
0.07270721346139908,
-0.0027364909183233976,
0.019823508337140083,
-0.061905089765787125,
-0.0036450193729251623,
-0.016511259600520134,
0.07484791427850723,
0.04242238774895668,
0.004126164596527815,
-0.06031186878681183,
0.04805056005716324,
0.0018671628786250949,
0.025297561660408974,
0.0037442424800246954,
0.016361812129616737,
0.04938017949461937,
-0.04659048467874527,
-0.04672832041978836,
-0.0025588159915059805,
-0.022057529538869858,
-0.044256336987018585,
-0.03963935747742653,
0.03292499855160713,
-0.021025707945227623,
-0.017274223268032074,
0.001102500013075769,
0.04942505061626434,
0.021166149526834488,
0.02027217671275139,
0.016216710209846497,
0.0238177627325058,
-0.050393301993608475,
0.0035256731789559126,
-0.007927844300866127,
-0.0059386747889220715,
-0.004712085705250502,
0.3963910937309265,
0.015189098194241524,
-0.019150150939822197,
0.052701350301504135,
0.036645449697971344,
-0.030798276886343956,
-0.01567165181040764,
0.006505665834993124,
-0.06958583742380142,
0.029212357476353645,
-0.022602925077080727,
-0.029087742790579796,
-0.0463886521756649,
0.031565435230731964,
-0.10146871954202652,
0.005121199414134026,
-0.002800542861223221,
0.07383464276790619,
0.05422898009419441,
0.004973725415766239,
-0.019769567996263504,
-0.04341689124703407,
0.02410656027495861,
0.03462611511349678,
0.019946780055761337,
0.02400839887559414,
0.02713591977953911,
-0.01401676144450903,
0.028932584449648857,
0.032476358115673065,
0.032819509506225586,
0.056184858083724976,
0.0173416119068861,
-0.08116254210472107,
0.02755168080329895,
-0.013277074322104454,
0.001984205562621355,
0.012702735140919685,
-0.02340789884328842,
-0.031459201127290726,
0.04249274730682373,
-0.0171493086963892,
-0.0068501620553433895,
0.022195518016815186,
-0.01958349533379078,
-0.07464223355054855,
0.1659812182188034,
-0.00528308330103755,
-0.020989414304494858,
-0.05994676053524017,
0.0032435229513794184,
0.03227576985955238,
0.07983554154634476,
0.008643776178359985,
-0.06460388004779816,
-0.03197638690471649,
0.021284453570842743,
0.0439656563103199,
-0.022623617202043533,
-0.12327203154563904,
-0.003500742604956031,
-0.01758444681763649,
0.013314338400959969,
-0.06059160456061363,
0.06361354887485504,
0.02919766865670681,
-0.11313239485025406,
-0.015877552330493927,
0.026550401002168655,
-0.009758049622178078,
-0.08589804917573929,
0.014049695804715157,
0.025409942492842674,
-0.040183331817388535,
-0.008212123066186905,
0.04709293693304062,
-0.01682029850780964,
-0.015564602799713612,
-0.05884338542819023,
0.022305293008685112,
-0.012166344560682774,
-0.010492447763681412,
0.04340745136141777,
-0.04302176833152771,
0.022975405678153038,
-0.03616997227072716,
-0.04848144203424454,
-0.0694701299071312,
0.044897377490997314,
-0.035146623849868774,
-0.029251404106616974,
-0.0033325948752462864,
-0.025567153468728065,
-0.03687835484743118,
0.07906240224838257,
-0.04213286191225052,
-0.01363180112093687,
-0.009151297621428967,
-0.00951411947607994,
-0.043561626225709915,
-0.024889396503567696,
0.022704601287841797,
0.04789341986179352,
-0.01467097643762827,
-0.008562421426177025,
-0.07599285989999771,
0.01910719834268093,
0.05375878885388374,
-0.04761563241481781,
0.04184327647089958,
0.018902499228715897,
-0.06675148010253906,
0.027694469317793846,
-0.03433455526828766,
0.014738472178578377,
-0.0001289655192522332,
-0.007837506942451,
0.03681384399533272,
0.01987091824412346,
0.034207187592983246,
0.06962035596370697,
-0.02744094841182232,
-0.03145887330174446,
0.006902875378727913,
-0.33734023571014404,
-0.054216042160987854,
-0.006581526715308428,
0.028346428647637367,
0.0444011315703392,
-0.05240626633167267,
0.004859501030296087,
-0.017918631434440613,
0.0008796107722446322,
0.05465816333889961,
0.06414167582988739,
0.014287617057561874,
-0.04144512861967087,
-0.04717004671692848,
0.01733279787003994,
0.062347982078790665,
0.024524234235286713,
-0.017120257019996643,
-0.07173023372888565,
-0.01319929026067257,
-0.015619279816746712,
-0.05333775654435158,
0.002537738997489214,
-0.046589117497205734,
0.020306088030338287,
-0.0180710069835186,
0.10737361758947372,
-0.0745246484875679,
0.01711341179907322,
-0.024217136204242706,
0.05141402408480644,
-0.00010834204294951633,
-0.027990544214844704,
-0.05676906555891037,
0.018543144688010216,
-0.02697320096194744,
0.015707844868302345,
0.0012356338556855917,
-0.0056264977902174,
-0.041480902582407,
-0.06866489350795746,
-0.022645268589258194,
-0.006135080009698868,
-0.029622917994856834,
-0.03253528103232384,
0.04235349968075752,
-0.03165668994188309,
-0.004313080105930567,
-0.009778065606951714,
0.09655772149562836,
-0.017178742215037346,
0.04759824648499489,
0.021513473242521286,
0.016999080777168274,
-0.011317272670567036,
-0.010830990970134735,
-0.09589949995279312,
-0.040949683636426926,
-0.0029758960008621216,
0.04246392846107483,
0.012814766727387905,
0.03257233276963234,
0.025239111855626106,
-0.08220747858285904,
0.02591685950756073,
-0.04112100601196289,
-0.006219196133315563,
-0.019464507699012756,
-0.009997574612498283,
-0.030633756890892982,
-0.013511428609490395,
0.10108950734138489,
-0.004926567897200584,
0.0125058488920331,
0.05398083105683327,
0.06632110476493835,
-0.03135018050670624,
0.01575774885714054,
0.02088644914329052,
0.004104146733880043,
0.026759441941976547,
-0.033972736448049545,
0.07338360697031021,
0.003684546332806349,
-0.013597461394965649,
0.05099868029356003,
0.023838890716433525,
-0.024836786091327667,
0.039373140782117844,
-0.006014098878949881,
-0.022284086793661118,
-0.014318018220365047,
-0.046789806336164474,
-0.05164523422718048,
0.06383273750543594,
-0.043160393834114075,
-0.2592025101184845,
0.01166591141372919,
0.010745486244559288,
0.08583137392997742,
-0.00425760680809617,
0.009191351011395454,
0.00447362894192338,
-0.021810438483953476,
0.020810695365071297,
-0.026030277833342552,
0.039852749556303024,
0.05150721222162247,
0.052129533141851425,
-0.000947142078075558,
-0.0003506458888296038,
-0.01843867264688015,
0.013421531766653061,
-0.004587905947118998,
0.027568593621253967,
0.0036842525005340576,
0.05949008837342262,
-0.0361369326710701,
0.1827200949192047,
0.059978168457746506,
0.026099881157279015,
0.020785821601748466,
-0.005813919939100742,
0.0006372625357471406,
0.031300920993089676,
-0.007536763790994883,
-0.00593217508867383,
0.04966767132282257,
0.052186019718647,
0.03396531939506531,
0.02766823209822178,
-0.05129564553499222,
0.026194291189312935,
0.06041892617940903,
0.01760225184261799,
-0.03812688961625099,
0.02653140388429165,
0.017350701615214348,
-0.04049113020300865,
0.006397675722837448,
0.07367098331451416,
-0.02778666652739048,
-0.01084363553673029,
0.014027683064341545,
-0.04964889958500862,
0.020242271944880486,
-0.051701806485652924,
-0.038938287645578384,
-0.02392047829926014,
-0.0049293371848762035,
0.04434850439429283,
0.03219246119260788,
0.012901837937533855,
0.0007854473078623414,
0.0060676513239741325,
0.013193704187870026,
-0.009540154598653316,
-0.004770877305418253,
0.0633823424577713,
-0.0033806164283305407,
0.024483339861035347
] | [
0.03350761905312538,
0.025718702003359795,
0.003620245261117816,
0.03462595492601395,
-0.029021192342042923,
0.023909959942102432,
-0.007996847853064537,
-0.014010276645421982,
-0.003255831077694893,
-0.026930466294288635,
-0.00738660991191864,
0.004383791238069534,
0.05659180134534836,
0.02088841423392296,
-0.009421627968549728,
0.03326146677136421,
-0.003474343568086624,
0.03399190679192543,
0.0292319655418396,
-0.016265174373984337,
-0.055911432951688766,
-0.007815602235496044,
0.03694746643304825,
-0.040245864540338516,
-0.014896946959197521,
-0.017677277326583862,
0.010113220661878586,
-0.0009850227506831288,
0.019182497635483742,
-0.09263470768928528,
-0.030424688011407852,
-0.011198888532817364,
-0.011724356561899185,
0.04001894220709801,
-0.051336340606212616,
-0.03309669345617294,
0.0128699392080307,
0.03790256753563881,
0.02680147998034954,
0.0032870681025087833,
0.0237356536090374,
0.017057061195373535,
0.016414649784564972,
0.011311152018606663,
0.0341796912252903,
-0.005880962125957012,
-0.04610172286629677,
-0.03736909478902817,
0.025235990062355995,
-0.017225900664925575,
-0.05695311352610588,
-0.028880491852760315,
-0.0006172082503326237,
0.00620063953101635,
0.021698400378227234,
-0.0022565233521163464,
-0.032646115869283676,
-0.025834042578935623,
-0.00022843765327706933,
0.03778277710080147,
0.03884988650679588,
-0.0010293255327269435,
-0.053497374057769775,
-0.027675261721014977,
-0.0244649276137352,
0.020767817273736,
-0.045778609812259674,
0.026355350390076637,
0.008124256506562233,
0.023009443655610085,
-0.0392027348279953,
0.028263138607144356,
-0.08454561233520508,
-0.016020450741052628,
-0.04108547791838646,
0.037201426923274994,
0.016519976779818535,
-0.018475020304322243,
0.0031857690773904324,
-0.005498285870999098,
-0.02877229079604149,
0.005262312013655901,
-0.019537262618541718,
-0.013640434481203556,
-0.0432719960808754,
0.030015818774700165,
-0.004189250525087118,
-0.05935797467827797,
0.003981032874435186,
0.008074645884335041,
-0.03257187455892563,
0.009211803786456585,
0.003049124963581562,
-0.022651182487607002,
-0.11553867161273956,
0.006762930657714605,
0.004937032237648964,
-0.02697865292429924,
0.015830552205443382,
0.8017029762268066,
-0.005559490527957678,
0.02319912612438202,
-0.00846815388649702,
0.00273683643899858,
0.005877292715013027,
0.02315407432615757,
0.035541463643312454,
0.017533136531710625,
-0.03220214694738388,
-0.002875362057238817,
-0.01901192218065262,
0.020722242072224617,
-0.007284828461706638,
0.04561233147978783,
-0.010237578302621841,
0.011776556260883808,
0.05054573342204094,
-0.0310714989900589,
0.003675644751638174,
0.014013058505952358,
-0.03335545212030411,
0.02642194740474224,
-0.000031074447178980336,
-0.011025521904230118,
-0.013906897976994514,
-0.15859384834766388,
-0.022470250725746155,
-7.515025750935104e-33,
0.06837937980890274,
0.01504815835505724,
0.06340327858924866,
0.004193546716123819,
-0.013165049254894257,
-0.0013688391773030162,
-0.011849628761410713,
-0.018419316038489342,
-0.014070460572838783,
-0.01892234943807125,
-0.011474255472421646,
0.010761094279587269,
0.025165924802422523,
-0.043160535395145416,
0.01091143861413002,
-0.03239717707037926,
0.02189483493566513,
0.022847048938274384,
-0.0027495285030454397,
0.006907694041728973,
-0.008587047457695007,
0.04950188845396042,
-0.02994154766201973,
0.046923909336328506,
0.028554214164614677,
0.027560973539948463,
-0.03295768052339554,
0.03724456951022148,
0.0036220664624124765,
-0.0424075573682785,
-0.042084090411663055,
0.041872113943099976,
-0.001679479843005538,
-0.04163699597120285,
0.004788061138242483,
-0.03990290313959122,
0.002602238208055496,
-0.001457478734664619,
-0.0194932259619236,
-0.08802454173564911,
-0.06939169019460678,
0.019707459956407547,
-0.010731043294072151,
-0.018873509019613266,
-0.020666006952524185,
0.008483494631946087,
0.0033224294893443584,
0.013595475815236568,
0.0102281104773283,
0.03294214978814125,
-0.006210236810147762,
0.012124733999371529,
-0.03302652761340141,
0.050630029290914536,
-0.053168945014476776,
0.010009909979999065,
0.037390369921922684,
0.0469450019299984,
0.0007088427082635462,
0.05063015595078468,
0.00897219404578209,
-0.02528402768075466,
-0.013457007706165314,
0.023589560762047768,
0.04662173241376877,
0.05472000688314438,
-0.01861586607992649,
-0.010563758201897144,
0.014876020140945911,
0.03264697268605232,
-0.0232657790184021,
0.04099295288324356,
-0.024540549144148827,
-0.003125203540548682,
0.01981186494231224,
-0.06488990038633347,
-0.024640170857310295,
-0.03128699213266373,
-0.0002060765982605517,
0.01945061981678009,
-0.02648298256099224,
0.010405371896922588,
0.009042846038937569,
-0.008307459764182568,
-0.009985052049160004,
-0.02281123772263527,
0.026074396446347237,
0.031115446239709854,
0.046877507120370865,
0.04635811969637871,
0.05788911506533623,
0.05592488870024681,
-0.03678518161177635,
-0.0335245281457901,
0.010907712392508984,
7.080330878736899e-33,
-0.0017950828187167645,
0.017059389501810074,
-0.04304808750748634,
-0.018877927213907242,
0.01871558278799057,
-0.03633439913392067,
0.025362448766827583,
0.033919911831617355,
-0.054190803319215775,
0.04151400551199913,
-0.0168925728648901,
-0.028269842267036438,
0.04426295682787895,
0.028861287981271744,
0.04251905903220177,
0.01625909097492695,
-0.0005981604917906225,
-0.07966995239257812,
0.013095478527247906,
0.04692985862493515,
0.0018025301396846771,
0.017043400555849075,
0.006570572964847088,
0.015566464513540268,
0.04059360921382904,
0.0395873598754406,
-0.006847407668828964,
0.02593034692108631,
-0.02807176485657692,
-0.026203801855444908,
-0.021570665761828423,
-0.03960571065545082,
0.011433948762714863,
-0.029775995761156082,
0.0025048023089766502,
-0.0036945531610399485,
-0.02604992315173149,
0.008192907087504864,
0.0580262616276741,
-0.0253473948687315,
-0.004056088160723448,
0.004645476117730141,
-0.031606294214725494,
0.07049828767776489,
-0.0025915096048265696,
0.024302471429109573,
0.014270019717514515,
0.011173206381499767,
0.01887442171573639,
-0.028811225667595863,
0.0039050185587257147,
-0.001883512013591826,
0.010155807249248028,
-0.002012347336858511,
0.00957514438778162,
-0.06075968220829964,
-0.003318791976198554,
0.0353020541369915,
0.01637946628034115,
0.023812690749764442,
-0.01611310988664627,
-0.017682313919067383,
-0.017578182741999626,
0.02817215956747532,
-0.005540193524211645,
-0.034124866127967834,
0.00002487665733497124,
-0.01488661952316761,
-0.008867727592587471,
-0.03154553472995758,
-0.01268328819423914,
-0.013129631988704205,
-0.002476259134709835,
0.019768210127949715,
0.05336277559399605,
-0.05825384333729744,
-0.046076275408267975,
-0.00368511606939137,
-0.03340591862797737,
0.031122250482439995,
-0.012274539098143578,
0.054881878197193146,
-0.008747544139623642,
0.013998954556882381,
0.012285498902201653,
-0.02832752838730812,
-0.017662085592746735,
0.02288009785115719,
-0.021200021728873253,
0.021972663700580597,
0.010182003490626812,
-0.007089895196259022,
-0.0206462312489748,
0.017569324001669884,
-0.01994325779378414,
-1.27425696661021e-8,
-0.044287919998168945,
0.018089983612298965,
0.004011135548353195,
-0.02039378695189953,
-0.0036469115875661373,
0.03442270681262016,
0.004209698177874088,
0.018837332725524902,
-0.020875005051493645,
0.02046051248908043,
0.006408472545444965,
0.019171303138136864,
0.004745680373162031,
0.022142937406897545,
0.02103373408317566,
-0.06837179511785507,
0.01809656247496605,
-0.05614766851067543,
0.017529699951410294,
0.055059727281332016,
-0.013102702796459198,
0.02153768390417099,
-0.046293217688798904,
0.011182211339473724,
0.010389530099928379,
0.0038982988335192204,
0.02594812773168087,
-0.0728461891412735,
0.0006607380346395075,
-0.008222581818699837,
0.016223061829805374,
-0.020351465791463852,
0.0008094391669146717,
0.012587352655827999,
-0.027928274124860764,
0.010092438198626041,
-0.0016759173013269901,
0.037773918360471725,
0.016689877957105637,
0.04378410801291466,
-0.0188131220638752,
0.007408439181745052,
-0.06049918010830879,
-0.015729738399386406,
-0.045776572078466415,
0.03496691212058067,
-0.008403170853853226,
-0.006505440920591354,
0.04191160574555397,
-0.02327703684568405,
-0.03211020305752754,
-0.0307601448148489,
0.006352673284709454,
-0.0029356773011386395,
0.007413080427795649,
-0.014531848952174187,
0.005550766363739967,
-0.016853686422109604,
0.018073670566082,
-0.0255208108574152,
0.030304143205285072,
-0.014189139008522034,
-0.010068656876683235,
-0.01177862286567688
] | neo4j-genericvague-relationship-names | https://markhneedham.com/blog/2014/09/30/neo4j-genericvague-relationship-names |
false | 2014-09-30 22:20:05 | R: A first attempt at linear regression | [
"r-2",
"rstats"
] | [
"R"
] | I've been working through http://www.dataschool.io/15-hours-of-expert-machine-learning-videos/[the videos that accompany the Introduction to Statistical Learning with Applications in R] book and thought it'd be interesting to try out the linear regression algorithm against my https://github.com/mneedham/neo4j-meetup[meetup data set].
I wanted to see how well a linear regression algorithm could predict how many people were likely to RSVP to a particular event. I started with the following code to build a data frame containing some potential predictors:
[source,r]
----
library(RNeo4j)
officeEventsQuery = "MATCH (g:Group {name: \"Neo4j - London User Group\"})-[:HOSTED_EVENT]->(event)<-[:TO]-({response: 'yes'})<-[:RSVPD]-(),
(event)-[:HELD_AT]->(venue)
WHERE (event.time + event.utc_offset) < timestamp() AND venue.name IN [\"Neo Technology\", \"OpenCredo\"]
RETURN event.time + event.utc_offset AS eventTime,event.announced_at AS announcedAt, event.name, COUNT(*) AS rsvps"
events = subset(cypher(graph, officeEventsQuery), !is.na(announcedAt))
events$eventTime <- timestampToDate(events$eventTime)
events$day <- format(events$eventTime, "%A")
events$monthYear <- format(events$eventTime, "%m-%Y")
events$month <- format(events$eventTime, "%m")
events$year <- format(events$eventTime, "%Y")
events$announcedAt<- timestampToDate(events$announcedAt)
events$timeDiff = as.numeric(events$eventTime - events$announcedAt, units = "days")
----
If we preview 'events' it contains the following columns:
[source,r]
----
> head(events)
eventTime announcedAt event.name rsvps day monthYear month year timeDiff
1 2013-01-29 18:00:00 2012-11-30 11:30:57 Intro to Graphs 24 Tuesday 01-2013 01 2013 60.270174
2 2014-06-24 18:30:00 2014-06-18 19:11:19 Intro to Graphs 43 Tuesday 06-2014 06 2014 5.971308
3 2014-06-18 18:30:00 2014-06-08 07:03:13 Neo4j World Cup Hackathon 24 Wednesday 06-2014 06 2014 10.476933
4 2014-05-20 18:30:00 2014-05-14 18:56:06 Intro to Graphs 53 Tuesday 05-2014 05 2014 5.981875
5 2014-02-11 18:00:00 2014-02-05 19:11:03 Intro to Graphs 35 Tuesday 02-2014 02 2014 5.950660
6 2014-09-04 18:30:00 2014-08-26 06:34:01 Hands On Intro to Cypher - Neo4j's Query Language 20 Thursday 09-2014 09 2014 9.497211
----
We want to predict 'rsvps' from the other columns so I started off by creating a linear model which took all the other columns into account:
[source,r]
----
> summary(lm(rsvps ~., data = events))
Call:
lm(formula = rsvps ~ ., data = events)
Residuals:
Min 1Q Median 3Q Max
-8.2582 -1.1538 0.0000 0.4158 10.5803
Coefficients: (14 not defined because of singularities)
Estimate Std. Error t value Pr(>|t|)
(Intercept) -9.365e+03 3.009e+03 -3.113 0.00897 **
eventTime 3.609e-06 2.951e-06 1.223 0.24479
announcedAt 3.278e-06 2.553e-06 1.284 0.22339
event.nameGraph Modelling - Do's and Don'ts 4.884e+01 1.140e+01 4.286 0.00106 **
event.nameHands on build your first Neo4j app for Java developers 3.735e+01 1.048e+01 3.562 0.00391 **
event.nameHands On Intro to Cypher - Neo4j's Query Language 2.560e+01 9.713e+00 2.635 0.02177 *
event.nameIntro to Graphs 2.238e+01 8.726e+00 2.564 0.02480 *
event.nameIntroduction to Graph Database Modeling -1.304e+02 4.835e+01 -2.696 0.01946 *
event.nameLunch with Neo4j's CEO, Emil Eifrem 3.920e+01 1.113e+01 3.523 0.00420 **
event.nameNeo4j Clojure Hackathon -3.063e+00 1.195e+01 -0.256 0.80203
event.nameNeo4j Python Hackathon with py2neo's Nigel Small 2.128e+01 1.070e+01 1.989 0.06998 .
event.nameNeo4j World Cup Hackathon 5.004e+00 9.622e+00 0.520 0.61251
dayTuesday 2.068e+01 5.626e+00 3.676 0.00317 **
dayWednesday 2.300e+01 5.522e+00 4.165 0.00131 **
monthYear01-2014 -2.350e+02 7.377e+01 -3.185 0.00784 **
monthYear02-2013 -2.526e+01 1.376e+01 -1.836 0.09130 .
monthYear02-2014 -2.325e+02 7.763e+01 -2.995 0.01118 *
monthYear03-2013 -4.605e+01 1.683e+01 -2.736 0.01805 *
monthYear03-2014 -2.371e+02 8.324e+01 -2.848 0.01468 *
monthYear04-2013 -6.570e+01 2.309e+01 -2.845 0.01477 *
monthYear04-2014 -2.535e+02 8.746e+01 -2.899 0.01336 *
monthYear05-2013 -8.672e+01 2.845e+01 -3.049 0.01011 *
monthYear05-2014 -2.802e+02 9.420e+01 -2.975 0.01160 *
monthYear06-2013 -1.022e+02 3.283e+01 -3.113 0.00897 **
monthYear06-2014 -2.996e+02 1.003e+02 -2.988 0.01132 *
monthYear07-2014 -3.123e+02 1.054e+02 -2.965 0.01182 *
monthYear08-2013 -1.326e+02 4.323e+01 -3.067 0.00976 **
monthYear08-2014 -3.060e+02 1.107e+02 -2.763 0.01718 *
monthYear09-2013 NA NA NA NA
monthYear09-2014 -3.465e+02 1.164e+02 -2.976 0.01158 *
monthYear10-2012 2.602e+01 1.959e+01 1.328 0.20886
monthYear10-2013 -1.728e+02 5.678e+01 -3.044 0.01020 *
monthYear11-2012 2.717e+01 1.509e+01 1.800 0.09704 .
month02 NA NA NA NA
month03 NA NA NA NA
month04 NA NA NA NA
month05 NA NA NA NA
month06 NA NA NA NA
month07 NA NA NA NA
month08 NA NA NA NA
month09 NA NA NA NA
month10 NA NA NA NA
month11 NA NA NA NA
year2013 NA NA NA NA
year2014 NA NA NA NA
timeDiff NA NA NA NA
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 5.287 on 12 degrees of freedom
Multiple R-squared: 0.9585, Adjusted R-squared: 0.8512
F-statistic: 8.934 on 31 and 12 DF, p-value: 0.0001399
----
As I understand it we can look at the R-squared value to understand how much of the variance in the data has been explained by the model - in this case it's 85%.
A lot of the coefficients seem to be based around specific event names which seems a bit too specific to me so I wanted to see what would happen if I derived a feature which indicated whether a session was practical:
[source,r]
----
events$practical = grepl("Hackathon|Hands on|Hands On", events$event.name)
----
We can now run the model again with the new column having excluded 'event.name' field:
[source,r]
----
> summary(lm(rsvps ~., data = subset(events, select = -c(event.name))))
Call:
lm(formula = rsvps ~ ., data = subset(events, select = -c(event.name)))
Residuals:
Min 1Q Median 3Q Max
-18.647 -2.311 0.000 2.908 23.218
Coefficients: (13 not defined because of singularities)
Estimate Std. Error t value Pr(>|t|)
(Intercept) -3.980e+03 4.752e+03 -0.838 0.4127
eventTime 2.907e-06 3.873e-06 0.751 0.4621
announcedAt 3.336e-08 3.559e-06 0.009 0.9926
dayTuesday 7.547e+00 6.080e+00 1.241 0.2296
dayWednesday 2.442e+00 7.046e+00 0.347 0.7327
monthYear01-2014 -9.562e+01 1.187e+02 -0.806 0.4303
monthYear02-2013 -4.230e+00 2.289e+01 -0.185 0.8553
monthYear02-2014 -9.156e+01 1.254e+02 -0.730 0.4742
monthYear03-2013 -1.633e+01 2.808e+01 -0.582 0.5676
monthYear03-2014 -8.094e+01 1.329e+02 -0.609 0.5496
monthYear04-2013 -2.249e+01 3.785e+01 -0.594 0.5595
monthYear04-2014 -9.230e+01 1.401e+02 -0.659 0.5180
monthYear05-2013 -3.237e+01 4.654e+01 -0.696 0.4952
monthYear05-2014 -1.015e+02 1.509e+02 -0.673 0.5092
monthYear06-2013 -3.947e+01 5.355e+01 -0.737 0.4701
monthYear06-2014 -1.081e+02 1.604e+02 -0.674 0.5084
monthYear07-2014 -1.110e+02 1.678e+02 -0.661 0.5163
monthYear08-2013 -5.144e+01 6.988e+01 -0.736 0.4706
monthYear08-2014 -1.023e+02 1.784e+02 -0.573 0.5731
monthYear09-2013 -6.057e+01 7.893e+01 -0.767 0.4523
monthYear09-2014 -1.260e+02 1.874e+02 -0.672 0.5094
monthYear10-2012 9.557e+00 2.873e+01 0.333 0.7430
monthYear10-2013 -6.450e+01 9.169e+01 -0.703 0.4903
monthYear11-2012 1.689e+01 2.316e+01 0.729 0.4748
month02 NA NA NA NA
month03 NA NA NA NA
month04 NA NA NA NA
month05 NA NA NA NA
month06 NA NA NA NA
month07 NA NA NA NA
month08 NA NA NA NA
month09 NA NA NA NA
month10 NA NA NA NA
month11 NA NA NA NA
year2013 NA NA NA NA
year2014 NA NA NA NA
timeDiff NA NA NA NA
practicalTRUE -9.388e+00 5.289e+00 -1.775 0.0919 .
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 10.21 on 19 degrees of freedom
Multiple R-squared: 0.7546, Adjusted R-squared: 0.4446
F-statistic: 2.434 on 24 and 19 DF, p-value: 0.02592
----
Now we're only accounting for 44% of the variance and none of our coefficients are significant so this wasn't such a good change.
I also noticed that we've got a bit of overlap in the date related features - we've got one column for monthYear and then separate ones for month and year. Let's strip out the combined one:
[source,r]
----
> summary(lm(rsvps ~., data = subset(events, select = -c(event.name, monthYear))))
Call:
lm(formula = rsvps ~ ., data = subset(events, select = -c(event.name,
monthYear)))
Residuals:
Min 1Q Median 3Q Max
-16.5745 -4.0507 -0.1042 3.6586 24.4715
Coefficients: (1 not defined because of singularities)
Estimate Std. Error t value Pr(>|t|)
(Intercept) -1.573e+03 4.315e+03 -0.364 0.7185
eventTime 3.320e-06 3.434e-06 0.967 0.3425
announcedAt -2.149e-06 2.201e-06 -0.976 0.3379
dayTuesday 4.713e+00 5.871e+00 0.803 0.4294
dayWednesday -2.253e-01 6.685e+00 -0.034 0.9734
month02 3.164e+00 1.285e+01 0.246 0.8075
month03 1.127e+01 1.858e+01 0.607 0.5494
month04 4.148e+00 2.581e+01 0.161 0.8736
month05 1.979e+00 3.425e+01 0.058 0.9544
month06 -1.220e-01 4.271e+01 -0.003 0.9977
month07 1.671e+00 4.955e+01 0.034 0.9734
month08 8.849e+00 5.940e+01 0.149 0.8827
month09 -5.496e+00 6.782e+01 -0.081 0.9360
month10 -5.066e+00 7.893e+01 -0.064 0.9493
month11 4.255e+00 8.697e+01 0.049 0.9614
year2013 -1.799e+01 1.032e+02 -0.174 0.8629
year2014 -3.281e+01 2.045e+02 -0.160 0.8738
timeDiff NA NA NA NA
practicalTRUE -9.816e+00 5.084e+00 -1.931 0.0645 .
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 10.19 on 26 degrees of freedom
Multiple R-squared: 0.666, Adjusted R-squared: 0.4476
F-statistic: 3.049 on 17 and 26 DF, p-value: 0.005187
----
Again none of the coefficients are statistically significant which is disappointing. I think the main problem may be that I have very few data points (only 42) making it difficult to come up with a general model.
I think my next step is to look for some other features that could impact the number of RSVPs e.g. other events on that day, the weather.
I'm a novice at this but trying to learn more so if you have any ideas of what I should do next please let me know. | null | null | [
0.03674820065498352,
-0.017689337953925133,
-0.011120496317744255,
0.030804742127656937,
0.08087939023971558,
0.013494469225406647,
0.015368234366178513,
0.012702878564596176,
-0.004205567296594381,
0.018632186576724052,
0.003136289305984974,
0.010366966016590595,
-0.062300946563482285,
0.03234468027949333,
-0.03011087328195572,
0.06293227523565292,
0.05888351425528526,
-0.008358625695109367,
0.02609913982450962,
0.010413038544356823,
0.032346900552511215,
0.02803088165819645,
0.02460836060345173,
0.0673823356628418,
0.0417008176445961,
-0.00500106206163764,
0.01890205219388008,
0.0040103062056005,
-0.050685252994298935,
0.02569849044084549,
0.05766434594988823,
0.019582686945796013,
-0.0067719048820436,
-0.007467217277735472,
0.031581565737724304,
0.02094542793929577,
-0.0037661429960280657,
0.015522826462984085,
0.0022647588048130274,
0.009101426228880882,
-0.06378131359815598,
0.01488388329744339,
-0.049667809158563614,
0.0014263356570154428,
-0.03826849162578583,
0.001988560426980257,
-0.036949384957551956,
0.03567356616258621,
0.012870203703641891,
0.023701729252934456,
-0.08086087554693222,
0.029710011556744576,
-0.004822826012969017,
-0.00001797958066163119,
-0.012964666821062565,
0.0491536445915699,
0.029103638604283333,
-0.04875573515892029,
0.008517061360180378,
-0.02143104001879692,
-0.017764907330274582,
0.0074494932778179646,
-0.007255285046994686,
-0.01118236780166626,
0.01048523373901844,
-0.023602766916155815,
0.012286238372325897,
0.04656200110912323,
-0.0286120418459177,
-0.007234121207147837,
-0.030787581577897072,
0.04080062732100487,
-0.014309871010482311,
0.017394937574863434,
0.004549174569547176,
-0.05214345082640648,
-0.0011286208173260093,
0.05128490924835205,
0.03679390624165535,
0.027104102075099945,
-0.005872787907719612,
-0.010100063867866993,
0.03093988262116909,
0.02607693523168564,
-0.008571171201765537,
-0.025567660108208656,
-0.03908742219209671,
-0.05213675647974014,
-0.06560789793729782,
0.04011513665318489,
0.0027491950895637274,
-0.05524144694209099,
0.014596215449273586,
0.0225700531154871,
-0.02206716500222683,
0.032688941806554794,
0.022253919392824173,
-0.0037110629491508007,
-0.0010830207029357553,
-0.01591631956398487,
-0.05279695615172386,
-0.0382748581469059,
0.024437347427010536,
0.04810372740030289,
-0.07410658150911331,
-0.02309323288500309,
-0.019380446523427963,
-0.013944304548203945,
-0.0030078196432441473,
0.006180639378726482,
-0.04275987297296524,
0.02140085957944393,
-0.013510851189494133,
-0.011543328873813152,
-0.07549513876438141,
0.054938700050115585,
0.006674324627965689,
-0.01720600388944149,
-0.008754270151257515,
-0.027853818610310555,
0.05146656557917595,
0.024506378918886185,
-0.023496264591813087,
0.07442028075456619,
-0.04921348765492439,
0.04957812651991844,
0.022518163546919823,
0.048592131584882736,
-0.02361791767179966,
-0.054417166858911514,
-0.012326229363679886,
0.03529868647456169,
-0.01981082744896412,
0.006533038802444935,
-0.008348813280463219,
-0.03299393132328987,
-0.025877485051751137,
0.012268388643860817,
0.03702258691191673,
0.03879828378558159,
0.04315537214279175,
-0.04261580482125282,
0.04073593392968178,
-0.01650495082139969,
0.02937459945678711,
0.001494422322139144,
-0.012330121360719204,
-0.0287471991032362,
-0.059383928775787354,
-0.011944652535021305,
0.03636705130338669,
0.024691646918654442,
0.03303856402635574,
-0.057942815124988556,
0.018491772934794426,
0.06778829544782639,
0.02437647245824337,
-0.002805110067129135,
-0.02079623006284237,
0.012215080671012402,
0.04996393620967865,
0.02642057277262211,
0.010729501023888588,
0.06198055297136307,
0.011888531967997551,
-0.014271244406700134,
0.02434045635163784,
0.06613272428512573,
-0.04510483518242836,
0.006589206866919994,
-0.04057887941598892,
-0.03480222448706627,
0.06047562137246132,
-0.042087849229574203,
-0.010883246548473835,
0.038157228380441666,
0.06677453219890594,
0.04604807496070862,
0.04553055018186569,
-0.009615647606551647,
-0.07373380661010742,
0.04048273712396622,
0.009899159893393517,
0.021348729729652405,
0.045593030750751495,
-0.02225668728351593,
0.10236729681491852,
0.008633535355329514,
0.01143826823681593,
0.03662940487265587,
-0.07699745148420334,
-0.08495762199163437,
-0.030437607318162918,
-0.02627735771238804,
0.04956131801009178,
-0.03825739771127701,
0.02552773244678974,
0.03693831339478493,
-0.01220500934869051,
0.04796431213617325,
0.009827688336372375,
0.0130286430940032,
0.02564493753015995,
-0.006856124848127365,
-0.04866296052932739,
0.03503400459885597,
0.028179749846458435,
-0.042165808379650116,
-0.03835931047797203,
-0.009444914758205414,
-0.015125567093491554,
0.031086977571249008,
0.035880327224731445,
-0.017894698306918144,
0.059103064239025116,
0.04156222194433212,
0.03115641139447689,
0.026142852380871773,
0.015040531754493713,
-0.03177507594227791,
0.023413117974996567,
-0.0012241783551871777,
-0.02179582603275776,
-0.033496201038360596,
0.0015568669186905026,
0.11580770462751389,
0.048282280564308167,
-0.016126276925206184,
-0.06758672744035721,
0.022832684218883514,
0.009538916870951653,
-0.023494629189372063,
0.015584493055939674,
-0.010257931426167488,
0.004414716735482216,
0.0012764920247718692,
-0.031489089131355286,
-0.03218428045511246,
0.005367678124457598,
-0.037383440881967545,
0.012244505807757378,
0.07049660384654999,
-0.022676438093185425,
0.06240987777709961,
-0.03742164373397827,
0.008296272717416286,
0.0026806415989995003,
-0.03752729669213295,
-0.06178604066371918,
0.028384864330291748,
0.01831185072660446,
-0.009340754710137844,
0.04938618093729019,
-0.018805311992764473,
-0.0007980566588230431,
-0.02128564566373825,
-0.03825289011001587,
0.04692283272743225,
0.0897342711687088,
0.04454764723777771,
0.03332236036658287,
0.029800105839967728,
-0.03646792471408844,
-0.00457672867923975,
-0.0034165659453719854,
-0.07281363755464554,
-0.04071389511227608,
-0.04254031926393509,
-0.01635889522731304,
0.017486535012722015,
0.04646121710538864,
-0.03845462203025818,
0.03433670103549957,
0.020411327481269836,
-0.010042530484497547,
-0.02787449210882187,
0.03503505513072014,
-0.006002632435411215,
-0.03679662570357323,
-0.038680046796798706,
-0.01074511744081974,
0.04710378497838974,
-0.037613946944475174,
-0.043806083500385284,
-0.023958465084433556,
-0.04738934710621834,
0.034531597048044205,
-0.047411661595106125,
-0.017166825011372566,
-0.012049294076859951,
-0.005842307582497597,
0.07069477438926697,
0.03564458712935448,
-0.0028925694059580564,
0.052833620458841324,
0.03363142907619476,
0.016081690788269043,
0.028909798711538315,
0.004817260429263115,
0.020452845841646194,
-0.00091541901929304,
0.027868647128343582,
0.03016236051917076,
-0.03320927545428276,
-0.017636621370911598,
-0.04001784324645996,
0.02289954014122486,
-0.030167460441589355,
-0.2698369026184082,
0.01881052553653717,
-0.013746427372097969,
-0.029655219987034798,
0.011961228214204311,
-0.04908452183008194,
0.031190624460577965,
-0.016222961246967316,
-0.0302048958837986,
-0.04786624014377594,
-0.004461738280951977,
-0.027587123215198517,
-0.02498972974717617,
0.0433371476829052,
0.019705332815647125,
-0.011336389929056168,
0.012506604194641113,
-0.022079085931181908,
0.013184688054025173,
0.05297098308801651,
0.029352067038416862,
-0.04481302574276924,
-0.011796695180237293,
0.031348176300525665,
0.012622285634279251,
0.05651675909757614,
-0.06885602325201035,
0.02038448676466942,
-0.057600174099206924,
-0.03919344022870064,
0.017369456589221954,
-0.029043421149253845,
-0.010004814714193344,
-0.0008830839651636779,
0.009472443722188473,
-0.013341468758881092,
0.07259294390678406,
-0.0036658698227256536,
0.003667390439659357,
0.038813281804323196,
-0.02321580797433853,
-0.06560883671045303,
0.002268365118652582,
-0.010083703324198723,
0.08324012160301208,
0.03994736075401306,
-0.053390081971883774,
-0.004528224468231201,
-0.023870335891842842,
0.06833699345588684,
-0.03678607940673828,
-0.017661264166235924,
-0.019908376038074493,
0.03618013486266136,
-0.04445953667163849,
-0.04063477739691734,
-0.0066375331953167915,
0.005443535279482603,
-0.03639278933405876,
-0.03588644042611122,
-0.023795820772647858,
-0.02054763399064541,
0.021192774176597595,
-0.0632566511631012,
-0.04520723223686218,
-0.06432341784238815,
-0.09532757103443146,
-0.01639041118323803,
0.049493785947561264,
0.005425490438938141,
-0.020791396498680115,
0.002915634075179696,
-0.027651231735944748,
-0.11051370948553085,
-0.03688308224081993,
0.007181457709521055,
0.007425354328006506,
-0.01125915814191103,
0.016277609393000603,
0.07130295783281326,
-0.054456617683172226,
-0.07116855680942535,
0.03773585706949234,
-0.0007351917447522283,
0.054813578724861145,
0.01026560552418232,
-0.00030386599246412516,
-0.0026118496898561716,
-0.03275603428483009,
-0.03971630707383156,
0.04756895452737808,
-0.04376295581459999,
-0.038130369037389755,
-0.0054747676476836205,
-0.010897236876189709,
0.0442904531955719,
0.013373110443353653,
0.013143515214323997,
0.04184799641370773,
0.03490298613905907,
0.01174231618642807,
-0.0553230419754982,
0.024846570566296577,
-0.051999904215335846,
0.008379723876714706,
-0.024971801787614822,
-0.0349031537771225,
0.035084087401628494,
0.03170732036232948,
-0.0004912762087769806,
0.03123040683567524,
-0.005184373818337917,
0.02739867940545082,
-0.04238592088222504,
-0.006138958502560854,
-0.02295352891087532,
0.020899171009659767,
0.01701795496046543,
0.029072556644678116,
0.0024740146473050117,
-0.06667257100343704,
-0.0013910247944295406,
-0.005137575324624777,
0.001336657558567822,
-0.06709180027246475,
-0.030243413522839546,
-0.018193267285823822,
-0.01662522740662098,
-0.018695544451475143,
-0.0001243740989593789,
-0.022293249145150185,
0.026753095909953117,
0.03633565083146095,
-0.041011713445186615,
0.04113931208848953,
0.01638670079410076,
-0.03685334697365761,
-0.03289353474974632,
0.01823793165385723,
0.01215363573282957,
0.003456195816397667,
0.01762974262237549,
-0.018145306035876274,
0.026699254289269447,
0.03712838888168335,
0.03178994730114937,
0.003919318318367004,
-0.007516642101109028,
-0.000597626029048115,
0.0028223777189850807,
-0.005185665562748909,
-0.01263717096298933,
-0.004282237030565739,
-0.02400302328169346,
-0.006422183942049742,
-0.018803952261805534,
0.06063000485301018,
-0.01615460216999054,
-0.024430550634860992,
-0.05553174763917923,
0.0220491960644722,
-0.048874128609895706,
-0.023251285776495934,
-0.014992950484156609,
0.011024916544556618,
0.0522150993347168,
-0.0011258269660174847,
0.020850980654358864,
0.007043363060802221,
-0.023808220401406288,
-0.0031960327178239822,
-0.016628120094537735,
-0.05236677825450897,
-0.0112174516543746,
0.0018241696525365114,
-0.027105551213026047,
0.02435806766152382,
-0.0050234668888151646,
0.0021729099098592997,
-0.011816519312560558,
-0.0018947900971397758,
-0.03545378893613815,
0.009847481735050678,
-0.00021182579803280532,
0.038391079753637314,
0.07080267369747162,
-0.03964296355843544,
-0.0012766303261741996,
-0.037268225103616714,
-0.02587040886282921,
-0.03780873119831085,
-0.018649417906999588,
-0.02977301925420761,
-0.01676848530769348,
-0.044993869960308075,
-0.0727153941988945,
0.024625517427921295,
-0.022221796214580536,
0.01765727810561657,
0.010765353217720985,
0.014251889660954475,
0.0015190258855000138,
-0.004756936803460121,
0.04560403153300285,
0.05771345645189285,
-0.07064167410135269,
-0.01532152108848095,
0.018863467499613762,
-0.006115376483649015,
0.012427818961441517,
-0.00146298308391124,
-0.06212642043828964,
-0.0007848888053558767,
-0.006761259865015745,
0.03199142962694168,
-0.031184399500489235,
-0.03477559611201286,
-0.029563402757048607,
0.02493472769856453,
0.005666104145348072,
0.048934273421764374,
-0.0017325503285974264,
-0.020559653639793396,
-0.02691585198044777,
-0.006531809456646442,
0.04614701867103577,
-0.017973173409700394,
-0.024782869964838028,
0.014957034960389137,
-0.01968260109424591,
0.004565538838505745,
-0.032643090933561325,
0.019116628915071487,
0.03664623573422432,
-0.014557948336005211,
-0.005787175614386797,
-0.07453439384698868,
0.02386009320616722,
0.023624978959560394,
0.045958012342453,
-0.02961028553545475,
0.02133028209209442,
-0.04055329039692879,
0.01668424718081951,
-0.029081862419843674,
0.02811524085700512,
0.014596305787563324,
0.01532564964145422,
0.03091713972389698,
0.030448170378804207,
0.0021731166634708643,
0.02576502598822117,
0.0020367593970149755,
-0.0075047919526696205,
0.04759583622217178,
-0.03486082702875137,
-0.017369406297802925,
-0.019770508632063866,
-0.04024304449558258,
0.01426964532583952,
-0.0053528607822954655,
0.007159782107919455,
-0.014249575324356556,
0.05054732784628868,
0.03597456216812134,
0.03706120699644089,
0.046020541340112686,
0.023994529619812965,
0.030326450243592262,
-0.0262831412255764,
-0.0059215594083070755,
-0.09678950160741806,
-0.02135646902024746,
0.04618503525853157,
0.024791160598397255,
0.00742856552824378,
-0.0086525185033679,
-0.03118307702243328,
0.005185051821172237,
-0.07553759217262268,
-0.028464753180742264,
0.025707634165883064,
-0.029451556503772736,
0.02102070301771164,
0.0035855460446327925,
-0.055625203996896744,
0.0053764027543365955,
0.05794132128357887,
-0.06372679769992828,
-0.011166365817189217,
-0.03725431486964226,
0.04739799723029137,
-0.05033011734485626,
0.018252188339829445,
-0.0548182874917984,
-0.00461087841540575,
0.05746747553348541,
0.02025114931166172,
0.008085813373327255,
0.04468240216374397,
-0.020807886496186256,
0.04335304722189903,
0.021830828860402107,
-0.024176018312573433,
-0.008910154923796654,
0.0219609122723341,
-0.003410576842725277,
-0.05224255472421646,
0.04543544724583626,
0.0126793859526515,
-0.01525585912168026,
-0.0380483940243721,
0.06887999922037125,
-0.0006676706252619624,
-0.03599855303764343,
-0.015845319256186485,
-0.0015839535044506192,
-0.020365014672279358,
0.012192047201097012,
-0.032932914793491364,
-0.01771322637796402,
-0.037814751267433167,
0.07352704554796219,
-0.014619914814829826,
0.025549881160259247,
0.0532459020614624,
0.018552016466856003,
-0.003814700525254011,
0.017280258238315582,
0.08564642816781998,
0.10133268684148788,
0.07087709754705429,
0.01496552862226963,
0.08287568390369415,
-0.04868609830737114,
-0.03832074999809265,
-0.003573925932869315,
-0.057564087212085724,
-0.03666625916957855,
-0.0071060252375900745,
0.024272853508591652,
0.07605968415737152,
-0.0024269940331578255,
0.03728027269244194,
-0.0009692765306681395,
-0.018922319635748863,
0.009450366720557213,
0.008169842883944511,
0.04886826127767563,
0.043597374111413956,
0.023523112758994102,
0.03017732873558998,
0.004481839947402477,
-0.041429270058870316,
0.04460187628865242,
0.002661810489371419,
-0.014033935964107513,
0.024107184261083603,
-0.0035366693045943975,
-0.012963113375008106,
0.004878256004303694,
0.03193039074540138,
0.07007405161857605,
-0.021924510598182678,
-0.009090118110179901,
0.0011334179434925318,
0.02568061836063862,
-0.010798641480505466,
0.010387079790234566,
-0.0314960815012455,
-0.021593470126390457,
-0.029338594526052475,
-0.05374370887875557,
-0.01889825612306595,
-0.00693601043894887,
-0.030069639906287193,
0.013042482547461987,
-0.046596184372901917,
0.00420336052775383,
0.014870586805045605,
-0.01318960078060627,
-0.02332993969321251,
-0.03460012748837471,
-0.03193036466836929,
-0.06025705486536026,
-0.08037403225898743,
-0.011066969484090805,
0.010327608324587345,
-0.002755195600911975,
-0.027086611837148666,
-0.009055519476532936,
-0.018360432237386703,
-0.016436021775007248,
0.018562909215688705,
-0.06429624557495117,
-0.006050650961697102,
0.00038324412889778614,
-0.014126122929155827,
0.03639207035303116,
0.039206668734550476,
0.033161986619234085,
0.018979504704475403,
-0.023304639384150505,
-0.02315584011375904,
0.023239120841026306,
0.03997419402003288,
0.03825034946203232,
0.006220793351531029,
-0.07550852000713348,
0.006829565390944481,
0.024372758343815804,
-0.044064637273550034,
-0.08963329344987869,
0.027613772079348564,
0.034036800265312195,
0.03217140957713127,
0.022123195230960846,
-0.01361791417002678,
-0.00875810906291008,
-0.032270777970552444,
-0.00035056605702266097,
-0.0030050212517380714,
0.03208702802658081,
0.034059539437294006,
-0.0338582918047905,
0.05935298278927803,
0.05645662173628807,
-0.01570485159754753,
-0.03134431317448616,
-0.02470899373292923,
-0.0164047721773386,
-0.029238728806376457,
-0.03760853037238121,
-0.03570806235074997,
-0.04169080778956413,
-0.10575873404741287,
-0.015912160277366638,
0.02435188926756382,
-0.019028058275580406,
-0.01596210151910782,
0.020115893334150314,
0.029003338888287544,
-0.012002754956483841,
0.02756262943148613,
-0.025025060400366783,
0.0313054621219635,
-0.04745945334434509,
0.005055020097643137,
-0.0010935961036011577,
0.014735530130565166,
-0.028505776077508926,
0.01207701675593853,
-0.0053256903775036335,
-0.037856921553611755,
-0.005910475272685289,
-0.037489812821149826,
0.03323421999812126,
0.034656088799238205,
0.02128203772008419,
0.024019837379455566
] | [
-0.03555047884583473,
-0.02398768812417984,
-0.04695364087820053,
-0.014001669362187386,
0.06162552535533905,
-0.03309956192970276,
-0.006352441385388374,
0.0354917086660862,
0.03536929562687874,
-0.012911970727145672,
0.04698728024959564,
0.002921214560046792,
-0.00008773010631557554,
-0.008323798887431622,
0.058053966611623764,
-0.01947898045182228,
-0.016969716176390648,
-0.05812716856598854,
-0.02238255925476551,
0.058260902762413025,
-0.03336583822965622,
-0.015555295161902905,
-0.01641739346086979,
-0.04720338433980942,
0.027397608384490013,
0.04584166780114174,
0.03456587344408035,
-0.03529027849435806,
-0.01750934310257435,
-0.20290780067443848,
-0.0018818058306351304,
-0.007847878150641918,
0.06117764115333557,
0.013497389853000641,
0.0069963992573320866,
0.021426739171147346,
0.0455598421394825,
-0.001700952067039907,
0.00655595026910305,
0.0643891990184784,
-0.007819249294698238,
-0.011719057336449623,
-0.02307506650686264,
-0.017507102340459824,
0.044798314571380615,
-0.00556937837973237,
-0.03544361889362335,
-0.007335644215345383,
-0.05514228716492653,
0.011425075121223927,
-0.024262642487883568,
-0.0050644539296627045,
-0.004460732918232679,
-0.010871302336454391,
0.0016412789700552821,
0.02903389185667038,
0.015875954180955887,
0.04621843248605728,
0.013123606331646442,
0.015156985260546207,
-0.01123138889670372,
-0.0011330045526847243,
-0.18270710110664368,
0.05112878233194351,
-0.021652311086654663,
0.00491729099303484,
-0.06952837109565735,
0.02735496126115322,
-0.013358371332287788,
0.06884358823299408,
0.035611074417829514,
0.028144946321845055,
-0.0015458943089470267,
0.047356460243463516,
-0.009497563354671001,
0.041885584592819214,
-0.011412064544856548,
0.021313855424523354,
0.03722245618700981,
-0.016234327107667923,
-0.012566568329930305,
0.037890564650297165,
-0.031956251710653305,
-0.02685372717678547,
-0.01604090817272663,
0.01945200189948082,
0.0072066644206643105,
0.039097584784030914,
-0.00688207196071744,
0.04363704472780228,
0.0047610062174499035,
0.04901588335633278,
0.03916249796748161,
-0.0010435772128403187,
-0.07540588825941086,
-0.013640902005136013,
0.03895824775099754,
0.04354175180196762,
-0.004288557916879654,
0.40460050106048584,
0.008298266679048538,
0.01625555381178856,
-0.021467233076691628,
0.07488170266151428,
-0.012312423437833786,
-0.05585016310214996,
-0.011698965914547443,
-0.0786973237991333,
0.04142187163233757,
-0.03157065063714981,
0.00332980090752244,
-0.03913329541683197,
0.06566400080919266,
-0.07589451223611832,
0.0007689785561524332,
0.011991080828011036,
0.07441597431898117,
0.04707041010260582,
-0.01826811023056507,
0.015036534518003464,
-0.0006303885602392256,
-0.03242833912372589,
0.03329804167151451,
0.012403381057083607,
0.036123357713222504,
0.017712393775582314,
0.043630409985780716,
0.09486399590969086,
0.03797848895192146,
-0.004991472698748112,
0.06643684208393097,
-0.0010378070874139667,
-0.1006878986954689,
0.01241896953433752,
-0.007110435515642166,
-0.012239943258464336,
0.038435015827417374,
-0.026532959192991257,
-0.018447231501340866,
0.014146026223897934,
-0.013008845038712025,
-0.0002787027624435723,
0.06463942676782608,
0.004092206247150898,
-0.07369139045476913,
0.14627259969711304,
-0.022673914209008217,
-0.05470116809010506,
-0.031859125941991806,
-0.05919022858142853,
0.013591017574071884,
0.03266414999961853,
-0.0049609169363975525,
-0.04222309961915016,
-0.026590336114168167,
0.014347458258271217,
0.06582963466644287,
-0.02707989700138569,
-0.07698335498571396,
0.003675485495477915,
-0.04663132503628731,
-0.02635984495282173,
-0.009777087718248367,
0.046811655163764954,
0.0352359376847744,
-0.1155090183019638,
0.015468244440853596,
0.023214375600218773,
0.020456697791814804,
-0.08309932053089142,
0.03351353481411934,
-0.007597135845571756,
-0.0295963566750288,
-0.013316863216459751,
0.062080077826976776,
0.025541918352246284,
-0.018244652077555656,
0.010023927316069603,
0.047787144780159,
0.010541779920458794,
-0.0032821097411215305,
-0.018463997170329094,
-0.056066278368234634,
0.01619930937886238,
-0.03763594478368759,
-0.046421606093645096,
-0.058742672204971313,
-0.01829114556312561,
-0.03490133583545685,
-0.017832504585385323,
-0.018280256539583206,
-0.03547554463148117,
-0.0738207995891571,
0.07205470651388168,
-0.02435738779604435,
-0.009580002166330814,
0.009045799262821674,
-0.0063895476050674915,
0.005941630806773901,
-0.01767120510339737,
-0.03308698907494545,
0.004404133185744286,
-0.006258657202124596,
0.013552622869610786,
-0.03225439786911011,
0.029017778113484383,
0.05675340071320534,
-0.03871046006679535,
0.046547722071409225,
0.0426473394036293,
-0.028784113004803658,
-0.02104230597615242,
-0.006271725986152887,
-0.011483260430395603,
-0.01887856051325798,
0.03188762068748474,
-0.015164732933044434,
0.002056352561339736,
-0.006348439492285252,
0.054764196276664734,
0.016657020896673203,
0.021305907517671585,
-0.0027576428838074207,
-0.36056533455848694,
-0.03093298338353634,
0.015073107555508614,
0.014545549638569355,
0.016191421076655388,
-0.011725243180990219,
0.01953505538403988,
-0.03407449275255203,
0.010839944705367088,
0.06310443580150604,
0.0914209634065628,
0.022127455100417137,
-0.02136196382343769,
-0.06523382663726807,
0.021002860739827156,
0.05615604296326637,
-0.050918448716402054,
-0.012553476728498936,
-0.04149330034852028,
0.009868058376014233,
-0.022230692207813263,
-0.034731533378362656,
-0.00545158889144659,
-0.04678773507475853,
0.0013645433355122805,
-0.006811997853219509,
0.08318673074245453,
0.009412223473191261,
-0.002884987508878112,
-0.039153557270765305,
0.038860660046339035,
-0.010081610642373562,
-0.03845175728201866,
-0.039427079260349274,
-0.004894445184618235,
-0.02498694509267807,
0.07063915580511093,
0.03919476270675659,
0.005955199245363474,
-0.014980913139879704,
-0.05241827294230461,
0.021905265748500824,
-0.03797408193349838,
-0.049369245767593384,
-0.042379580438137054,
0.014387715607881546,
-0.013751459307968616,
-0.008072365075349808,
0.014357583597302437,
0.07435410469770432,
0.04638214036822319,
-0.024485452100634575,
0.04149186983704567,
0.025299400091171265,
0.027008019387722015,
-0.016969779506325722,
-0.0677204430103302,
-0.00707173952832818,
0.005760260857641697,
0.02986053004860878,
0.006716755218803883,
0.022800205275416374,
0.03152351453900337,
-0.07903473824262619,
0.014565031044185162,
-0.0035320455208420753,
-0.0013415870489552617,
-0.025550931692123413,
-0.00787111185491085,
-0.015742262825369835,
-0.03664617985486984,
0.1026160717010498,
-0.007242783438414335,
0.022230759263038635,
0.052428312599658966,
0.006274553947150707,
-0.06172196567058563,
-0.03835481032729149,
0.019149592146277428,
0.040144018828868866,
0.049973323941230774,
-0.03192734345793724,
0.06461894512176514,
-0.0030567978974431753,
-0.00032422933145426214,
0.03000566177070141,
0.0185749102383852,
-0.006971836090087891,
0.05865545570850372,
0.034466035664081573,
-0.022275196388363838,
-0.0400029718875885,
-0.05730225890874863,
-0.01427388098090887,
0.025683952495455742,
-0.01538526825606823,
-0.3161852955818176,
0.04220692813396454,
0.03397722169756889,
0.04085483402013779,
-0.00026873277965933084,
-0.015644695609807968,
0.020277585834264755,
-0.04268882796168327,
-0.019768401980400085,
-0.003007424296811223,
0.014561010524630547,
0.06627640873193741,
0.03107970766723156,
-0.014725194312632084,
0.03147154301404953,
0.002531909616664052,
0.016717862337827682,
-0.012863441370427608,
-0.021509960293769836,
-0.03040199913084507,
0.04302644729614258,
-0.014889524318277836,
0.14939595758914948,
0.01000263448804617,
0.01267663761973381,
0.029848728328943253,
-0.05474776774644852,
-0.04450325667858124,
0.08234313130378723,
-0.05106699466705322,
-0.03984866663813591,
-0.009728473611176014,
0.026134395971894264,
0.01702146790921688,
0.028104683384299278,
-0.01141439750790596,
-0.009461809881031513,
0.01994880475103855,
0.021169504150748253,
-0.032862015068531036,
-0.003962394315749407,
0.0029611322097480297,
-0.024218957871198654,
-0.0079738087952137,
0.09181010723114014,
-0.019693603739142418,
0.029849011451005936,
-0.03730445355176926,
-0.04093480482697487,
0.012598633766174316,
-0.017698053270578384,
-0.029301485046744347,
-0.025175118818879128,
-0.01290148589760065,
0.012564395554363728,
0.055761534720659256,
0.01715601235628128,
-0.02857140824198723,
0.03781586140394211,
0.02806948497891426,
-0.007893242873251438,
-0.05240946635603905,
0.05595683678984642,
-0.017325667664408684,
0.00471748411655426
] | [
0.0375688299536705,
0.029840754345059395,
0.00019481232448015362,
0.03659159690141678,
0.012086396105587482,
0.007266010157763958,
0.00010814640700118616,
-0.013562764041125774,
-0.0039484198205173016,
-0.0042269108816981316,
-0.03051036037504673,
0.011509844101965427,
0.013227022252976894,
0.006215713918209076,
0.007684712763875723,
0.014407135546207428,
-0.0011777807958424091,
-0.012190909124910831,
0.030048726126551628,
-0.0076929680071771145,
-0.04672075808048248,
-0.015834230929613113,
0.00028865045169368386,
-0.008818937465548515,
-0.015872489660978317,
0.03956384211778641,
-0.00625757547095418,
0.024114316329360008,
0.02515026181936264,
-0.08848771452903748,
-0.009549202397465706,
-0.028648514300584793,
-0.002233231673017144,
-0.008819209411740303,
-0.0034142001532018185,
-0.021737489849328995,
-0.012875017710030079,
0.010827518068253994,
-0.003372753504663706,
0.03162485733628273,
0.003389024641364813,
-0.008417326956987381,
0.008793030865490437,
0.0007520744693465531,
0.01553281769156456,
-0.0014291099505499005,
-0.009112833999097347,
-0.03354641795158386,
-0.009024820290505886,
-0.008913291618227959,
-0.04570692405104637,
-0.00883572455495596,
-0.007578046061098576,
0.010483759455382824,
0.0013378590811043978,
-0.018632110208272934,
-0.04134606197476387,
-0.009241806343197823,
-0.008973724208772182,
-0.03283732011914253,
0.017682526260614395,
-0.024622326716780663,
-0.047738444060087204,
-0.014090709388256073,
-0.019923193380236626,
0.009424596093595028,
-0.042490582913160324,
0.034568801522254944,
-0.014835875481367111,
0.01968265511095524,
-0.03116060420870781,
0.04916764795780182,
-0.07054627686738968,
-0.01092434674501419,
-0.015809085220098495,
0.00007234122313093394,
0.010651686228811741,
-0.025821806862950325,
0.038624417036771774,
0.015386657789349556,
-0.025909021496772766,
0.010842333547770977,
-0.008633301593363285,
-0.01849796622991562,
-0.021832745522260666,
-0.014963504858314991,
0.03297486901283264,
-0.006801177281886339,
0.005286827217787504,
0.01352335512638092,
-0.046864114701747894,
0.04087013751268387,
0.012422870844602585,
0.006690317299216986,
-0.10705874115228653,
-0.004116717725992203,
0.01331937313079834,
-0.017128149047493935,
0.020962495356798172,
0.8567543625831604,
-0.012397347949445248,
0.010708757676184177,
-0.027937857434153557,
0.019120732322335243,
-0.022524382919073105,
0.018341530114412308,
-0.003868986153975129,
-0.0004523188981693238,
0.0018311016028746963,
-0.015346569940447807,
-0.02482086792588234,
0.01988648995757103,
0.029559865593910217,
0.038034893572330475,
0.005940360017120838,
0.054569654166698456,
-0.0019024864304810762,
0.031852979212999344,
-0.019786469638347626,
0.018935298547148705,
0.004355738405138254,
0.019764455035328865,
0.016678741201758385,
-0.006245316006243229,
-0.0018536602146923542,
-0.18350490927696228,
0.009433896280825138,
-7.196059766943291e-33,
0.058160386979579926,
0.002068521920591593,
0.039613138884305954,
-0.01575457863509655,
0.030438896268606186,
0.01043988298624754,
-0.0008503725985065103,
-0.03662508726119995,
0.012103589251637459,
-0.035462185740470886,
-0.0023709521628916264,
-0.018390528857707977,
0.006583842448890209,
-0.021010756492614746,
0.013514602556824684,
0.006296942476183176,
0.010093612596392632,
0.026161205023527145,
-0.011635172180831432,
0.02763303369283676,
-0.0006209831335581839,
0.03400443494319916,
-0.013076248578727245,
0.038042910397052765,
-0.009681682102382183,
0.04303096979856491,
0.01800084300339222,
0.015025010332465172,
0.010722664184868336,
-0.047375716269016266,
-0.03573456034064293,
0.031736865639686584,
-0.024535616859793663,
-0.028681237250566483,
0.02412285842001438,
-0.06341403722763062,
-0.043708477169275284,
-0.004515307489782572,
-0.008287166245281696,
-0.021817522123456,
-0.04209258779883385,
-0.007597317453473806,
-0.029429392889142036,
-0.02560417167842388,
-0.05319373309612274,
0.005119909532368183,
0.02175971120595932,
0.027510782703757286,
-0.019658610224723816,
0.010148928500711918,
0.001444007270038128,
-0.002344240201637149,
0.0008788193226791918,
-0.0075572794303298,
-0.030417099595069885,
0.036337852478027344,
0.010974902659654617,
0.026264885440468788,
0.0058153970167040825,
0.015231399796903133,
0.019370412454009056,
-0.030524352565407753,
0.023243088275194168,
0.02993270754814148,
0.01726437360048294,
0.004486836958676577,
0.02297043800354004,
-0.03969749063253403,
0.025790365412831306,
0.021107584238052368,
-0.03234723582863808,
0.042921800166368484,
-0.03294944763183594,
-0.024194886907935143,
0.04627089574933052,
-0.03116614744067192,
0.02358069270849228,
0.002404478145763278,
0.022913606837391853,
0.052436668425798416,
-0.02113519236445427,
-0.0014474999625235796,
0.0283240657299757,
-0.044352658092975616,
-0.006015811115503311,
-0.04814684018492699,
0.008129199035465717,
0.0162571519613266,
-0.0012622593203559518,
0.018807239830493927,
0.027621246874332428,
0.009232734329998493,
0.008254830725491047,
-0.006718121934682131,
-0.00872439332306385,
6.926625441475284e-33,
0.02080998755991459,
0.004647528752684593,
-0.017545128241181374,
-0.004731705412268639,
0.02491678297519684,
-0.01842457242310047,
0.0030287622939795256,
-0.003534783609211445,
-0.028191102668642998,
0.02790316753089428,
-0.0023340722545981407,
-0.02799184061586857,
-0.014127197675406933,
0.03721144422888756,
0.06212519109249115,
-0.005330294370651245,
0.03355317562818527,
-0.014633254148066044,
-0.0029496015049517155,
-0.007148962467908859,
0.00024804353597573936,
0.008837075904011726,
0.0007381343748420477,
-0.0011936736991629004,
0.04350634664297104,
0.027031613513827324,
0.01593618281185627,
-0.007362503092736006,
-0.003101434325799346,
-0.0038887187838554382,
0.0007882965728640556,
-0.017794594168663025,
-0.032054901123046875,
-0.02046436257660389,
0.0015048891073092818,
0.03948501497507095,
0.004048885777592659,
-0.012197638861835003,
0.0031830989755690098,
0.015090654604136944,
0.016084302216768265,
0.02251000702381134,
-0.038342300802469254,
0.028750281780958176,
0.00397876650094986,
0.014539358206093311,
-0.01492919959127903,
0.019048484042286873,
0.009326959028840065,
-0.0016686298185959458,
-0.02350696176290512,
0.03166922554373741,
-0.02073519304394722,
0.028602400794625282,
0.015337959863245487,
-0.02688785269856453,
-0.01936536841094494,
0.023082280531525612,
-0.007759652566164732,
0.011205611750483513,
-0.04107179120182991,
-0.02188083715736866,
-0.008062167093157768,
0.04390770569443703,
-0.008007378317415714,
-0.009248527698218822,
-0.017537757754325867,
-0.016681773588061333,
-0.003420228371396661,
-0.0034708732273429632,
-0.00022839539451524615,
-0.03135282173752785,
-0.006309660617262125,
0.02836570516228676,
0.008469103835523129,
-0.014337494038045406,
-0.024505889043211937,
-0.020170211791992188,
-0.023120149970054626,
0.01559698861092329,
0.004744349513202906,
-0.01189733762294054,
0.02902424894273281,
-0.005643090698868036,
0.006055277772247791,
0.03516272455453873,
-0.0033444873988628387,
0.010762509889900684,
0.009114402346313,
0.010610687546432018,
0.021451115608215332,
-0.026240196079015732,
-0.005719177424907684,
0.03846323490142822,
-0.029380928725004196,
-1.2938530247197377e-8,
-0.034008655697107315,
0.029541729018092155,
-0.0073170168325304985,
-0.01130161713808775,
0.0006647866684943438,
0.003680421970784664,
0.010545404627919197,
-0.0032175653614103794,
-0.013363069854676723,
0.01377225574105978,
0.039496324956417084,
-0.032119400799274445,
-0.0007920466014184058,
0.005339357070624828,
0.019111234694719315,
-0.027180634438991547,
-0.007954917848110199,
-0.0010410805698484182,
0.01755860261619091,
0.02383369766175747,
0.050214171409606934,
0.01831616647541523,
-0.043546538800001144,
0.007808921858668327,
0.00799799244850874,
-0.020674215629696846,
0.014085191302001476,
-0.060161907225847244,
-0.00217976956628263,
-0.028460223227739334,
-0.002373554976657033,
-0.013861468993127346,
0.004228714853525162,
-0.015089718624949455,
-0.0391145795583725,
-0.03400490805506706,
0.024590888991951942,
0.014065970666706562,
0.034559257328510284,
0.02988946996629238,
-0.00021162303164601326,
-0.00990338996052742,
-0.021631337702274323,
-0.026185624301433563,
-0.033462848514318466,
0.04197192192077637,
-0.024354539811611176,
-0.031195655465126038,
0.015962589532136917,
-0.059634432196617126,
-0.00240540923550725,
-0.019590068608522415,
0.000677367439493537,
0.03262834623456001,
0.05483142286539078,
0.026051031425595284,
0.0022916377056390047,
-0.016450177878141403,
-0.004346621688455343,
-0.057019613683223724,
-0.00014387097326107323,
0.009134458377957344,
-0.028108755126595497,
-0.04017384350299835
] | r-a-first-attempt-at-linear-regression | https://markhneedham.com/blog/2014/09/30/r-a-first-attempt-at-linear-regression |
false | 2014-09-24 20:21:59 | Neo4j: LOAD CSV - Column is null | [
"neo4j"
] | [
"neo4j"
] | One problem I've seen a few people have recently when using Neo4j's http://docs.neo4j.org/chunked/stable/query-load-csv.html[LOAD CSV] function is dealing with CSV files that have dodgy hidden characters at the beginning of the header line.
For example, consider an import of this CSV file:
[source,text]
----
$ cat ~/Downloads/dodgy.csv
userId,movieId
1,2
----
We might start by checking which columns it has:
[source,cypher]
----
$ load csv with headers from "file:/Users/markneedham/Downloads/dodgy.csv" as line return line;
+----------------------------------+
| line |
+----------------------------------+
| {userId -> "1", movieId -> "2"} |
+----------------------------------+
1 row
----
Looks good so far but what about if we try to return just 'userId'?
[source,cypher]
----
$ load csv with headers from "file:/Users/markneedham/Downloads/dodgy.csv" as line return line.userId;
+-------------+
| line.userId |
+-------------+
| <null> |
+-------------+
1 row
----
Hmmm it's null\...what about 'movieId'?
[source,cypher]
----
$ load csv with headers from "file:/Users/markneedham/Downloads/dodgy.csv" as line return line.movieId;
+--------------+
| line.movieId |
+--------------+
| "2" |
+--------------+
1 row
----
That works fine so immediately we can suspect there are hidden characters at the beginning of the first line of the file.
The easiest way to check if this is the case is open the file using a Hex Editor - I quite like http://ridiculousfish.com/hexfiend/[Hex Fiend] for the Mac.
If we look at dodgy.csv we'll see the following:
image::{{<siteurl>}}/uploads/2014/09/2014-09-24_21-20-06.png[2014 09 24 21 20 06,465]
Let's delete the highlighted characters and try our cypher query again:
[source,cypher]
----
$ load csv with headers from "file:/Users/markneedham/Downloads/dodgy.csv" as line return line.userId;
+-------------+
| line.userId |
+-------------+
| "1" |
+-------------+
1 row
----
All is well again, but something to keep in mind if you see a LOAD CSV near you behaving badly. | null | null | [
0.005609321873635054,
-0.010646338574588299,
-0.022723523899912834,
0.03519279137253761,
0.09854891151189804,
-0.01998821832239628,
0.017802221700549126,
0.015375882387161255,
0.010544111020863056,
-0.02379203960299492,
-0.03198082372546196,
-0.0076853311620652676,
-0.04548024386167526,
0.02761579304933548,
0.017530685290694237,
0.05315249785780907,
0.08576399087905884,
0.026567021384835243,
0.005752676632255316,
-0.04370935261249542,
0.01582585647702217,
0.040977638214826584,
-0.011702734045684338,
0.032633598893880844,
0.018680322915315628,
-0.030743608251214027,
-0.035891905426979065,
-0.0037524504587054253,
-0.04516547918319702,
0.012439733371138573,
0.06737584620714188,
-0.01937081106007099,
0.030371660366654396,
-0.019211290404200554,
0.0165445227175951,
0.01654682867228985,
-0.05386121943593025,
0.0263038519769907,
-0.022437304258346558,
0.008305645547807217,
-0.03678612783551216,
0.011251276358962059,
-0.009706121869385242,
0.02128235064446926,
-0.037057507783174515,
-0.007008728105574846,
-0.033796075731515884,
0.04448702558875084,
-0.03676474466919899,
-0.01378844678401947,
-0.046450864523649216,
0.02065715193748474,
-0.026091299951076508,
-0.022964859381318092,
0.03943508863449097,
0.035283997654914856,
-0.009310167282819748,
-0.06476828455924988,
0.07058846205472946,
-0.0209182258695364,
0.010285696014761925,
-0.026700429618358612,
-0.029353227466344833,
0.023721998557448387,
0.026750141754746437,
-0.059265654534101486,
0.00018009355699177831,
0.06190900132060051,
-0.047861337661743164,
-0.05744006857275963,
0.019706733524799347,
0.04526554420590401,
-0.016578443348407745,
-0.04495179280638695,
-0.0165988951921463,
-0.036760780960321426,
-0.02015799656510353,
0.03543437272310257,
0.030215641483664513,
0.042511235922575,
-0.03282701596617699,
0.047352008521556854,
0.014313274063169956,
0.013220961205661297,
0.0016265189042314887,
-0.06090090051293373,
-0.02355841174721718,
-0.01572841964662075,
-0.022600039839744568,
0.04437941685318947,
0.02378753386437893,
-0.028650684282183647,
-0.0032582685817033052,
-0.01709565706551075,
0.00521691981703043,
0.010811054147779942,
-0.0013832768891006708,
0.019356541335582733,
0.03436457738280296,
-0.01119961217045784,
-0.07590539008378983,
-0.012705691158771515,
-0.004572317935526371,
0.012927163392305374,
-0.07097534090280533,
-0.010387694463133812,
-0.011655807495117188,
-0.013948039151728153,
0.0047208694741129875,
-0.007529513910412788,
-0.035058632493019104,
-0.027431713417172432,
-0.022435549646615982,
-0.0016623969422653317,
-0.11092958599328995,
0.0406525693833828,
0.030971910804510117,
-0.00316043384373188,
-0.03383418917655945,
0.03429142013192177,
0.0301015917211771,
0.04118671268224716,
-0.0033804846461862326,
0.06267671287059784,
0.03481963649392128,
0.030654294416308403,
0.009669923223555088,
0.04647257551550865,
0.002794990548864007,
-0.08547461032867432,
-0.04945351555943489,
0.07455645501613617,
-0.003486849367618561,
0.031919803470373154,
-0.0020366322714835405,
-0.03059820830821991,
-0.016991402953863144,
0.018593426793813705,
0.03407779335975647,
-0.006751959212124348,
0.0047291116788983345,
-0.04582560434937477,
0.036812927573919296,
0.033405695110559464,
0.03803971782326698,
0.006842249538749456,
-0.036054134368896484,
-0.03243985399603844,
-0.004554338287562132,
0.043395042419433594,
0.03909149393439293,
0.024564266204833984,
0.10341531783342361,
-0.023805251345038414,
-0.005361943040043116,
0.10324960947036743,
0.023600546643137932,
0.010244224220514297,
-0.019873537123203278,
0.0015624327352270484,
0.034171607345342636,
0.04941210895776749,
-0.0014429008588194847,
0.047287169843912125,
-0.005648273043334484,
-0.022254619747400284,
-0.010670437477529049,
0.03247198089957237,
-0.028947222977876663,
0.042521435767412186,
-0.0395473837852478,
-0.045809339731931686,
0.0745464488863945,
-0.02223401702940464,
0.013315143994987011,
0.015383901074528694,
0.06421347707509995,
-0.005669243633747101,
0.02284763939678669,
0.0007976686465553939,
-0.07813635468482971,
0.07644983381032944,
-0.018517114222049713,
0.015477611683309078,
-0.01251298189163208,
0.01997220329940319,
0.05662587285041809,
0.035743337124586105,
0.0019521021749824286,
0.038074929267168045,
-0.07692036777734756,
-0.04391157254576683,
-0.05087057128548622,
-0.006338621489703655,
0.044896870851516724,
-0.015915049239993095,
0.019969526678323746,
0.05851424112915993,
-0.02376406453549862,
0.028103666380047798,
0.005707679316401482,
-0.009015824645757675,
0.031079359352588654,
-0.030197683721780777,
-0.060955580323934555,
0.03695842623710632,
0.04410947486758232,
-0.030254879966378212,
-0.0023738869931548834,
0.010608421638607979,
-0.03277551755309105,
0.028783168643712997,
0.033844318240880966,
-0.011994213797152042,
0.04540563002228737,
0.03605338931083679,
0.018679693341255188,
-0.02815493755042553,
0.0074946023523807526,
-0.03853889927268028,
0.046114251017570496,
-0.0034041511826217175,
-0.021544087678194046,
-0.007517130579799414,
-0.02191842906177044,
0.12757737934589386,
0.05714762583374977,
0.0008362936205230653,
-0.05442836508154869,
0.03135581314563751,
0.004820880945771933,
-0.0485873706638813,
0.03715299814939499,
-0.01916569657623768,
-0.04150884225964546,
-0.012197709642350674,
-0.004009791649878025,
-0.03725108504295349,
0.008012430742383003,
-0.0001606002770131454,
0.002172953449189663,
0.05436046048998833,
-0.0006428285269066691,
0.02240501344203949,
0.0025881719775497913,
-0.03288886696100235,
0.021851254627108574,
-0.044361311942338943,
-0.04963104799389839,
0.019472837448120117,
0.0397137813270092,
0.019116248935461044,
0.053058139979839325,
-0.03282196447253227,
-0.004881105851382017,
-0.00642813928425312,
-0.05671563744544983,
0.02143663540482521,
0.05096497759222984,
0.05599341541528702,
-0.012898243963718414,
0.06372597813606262,
-0.06324446201324463,
0.0021329030860215425,
-0.032634053379297256,
-0.03524076193571091,
-0.02583363465964794,
-0.016637729480862617,
0.04103781655430794,
0.001100068911910057,
0.02393846958875656,
-0.017730217427015305,
-0.009503565728664398,
-0.010328930802643299,
0.03362119942903519,
-0.02722466178238392,
0.033717893064022064,
-0.020913606509566307,
0.013621496967971325,
-0.04381604865193367,
-0.010688121430575848,
0.08632046729326248,
-0.08986637741327286,
-0.036179885268211365,
-0.003636605804786086,
-0.04474253952503204,
0.034065891057252884,
-0.022650692611932755,
-0.034168947488069534,
-0.03227793797850609,
0.025264063850045204,
0.050050776451826096,
0.01569514162838459,
0.014879768714308739,
0.04934217780828476,
0.020747022703289986,
0.0054505192674696445,
0.04428818076848984,
0.02940157800912857,
0.08093085139989853,
0.0025900083128362894,
0.04715636745095253,
0.05953411012887955,
-0.008941971696913242,
-0.020507395267486572,
-0.010835180059075356,
-0.017574407160282135,
-0.030227767303586006,
-0.2654165029525757,
0.082147516310215,
-0.027253253385424614,
-0.041655249893665314,
0.025507383048534393,
-0.04130241274833679,
-0.011117594316601753,
-0.02262910269200802,
-0.013069143518805504,
0.005552186165004969,
0.008821533992886543,
0.0016025695949792862,
-0.028645891696214676,
0.007025810424238443,
0.005926075857132673,
0.012683873996138573,
-0.0025053457356989384,
-0.06497913599014282,
0.015209424309432507,
0.04029814526438713,
0.0011400739895179868,
-0.01943046599626541,
0.011529603973031044,
0.023051518946886063,
0.0035495625343173742,
0.04153800383210182,
-0.06781304627656937,
0.030376339331269264,
-0.05989338830113411,
-0.060662854462862015,
-0.013199510984122753,
-0.04367479309439659,
0.0049505154602229595,
0.009576604701578617,
-0.01783592253923416,
-0.019445117563009262,
0.03826272115111351,
0.022639231756329536,
0.006826302036643028,
0.05157385766506195,
-0.04336998611688614,
-0.04995952546596527,
-0.016385981813073158,
-0.028245996683835983,
0.07118171453475952,
-0.011778266169130802,
-0.07416988909244537,
-0.018432654440402985,
-0.011989501304924488,
0.06350497901439667,
-0.011404303833842278,
-0.03587418794631958,
-0.022358236834406853,
0.03560873493552208,
-0.010155225172638893,
0.0015588616952300072,
-0.009407141245901585,
-0.0018610133556649089,
-0.042713508009910583,
-0.04006611928343773,
0.005404689349234104,
-0.05649550259113312,
0.015255005098879337,
-0.053952086716890335,
0.0039489357732236385,
-0.05384286865592003,
-0.08656518161296844,
-0.041544586420059204,
0.06602658331394196,
0.0406048484146595,
-0.0096350172534585,
0.03426501527428627,
0.02373071201145649,
-0.10224451124668121,
-0.02012665383517742,
-0.07090893387794495,
0.008127687498927116,
-0.0036669475957751274,
-0.036928437650203705,
0.031125931069254875,
-0.04556730389595032,
-0.04106933996081352,
0.018197163939476013,
0.026953358203172684,
0.0066076316870749,
-0.010814564302563667,
0.028333190828561783,
-0.019969241693615913,
-0.038102176040410995,
-0.00930593628436327,
0.06537314504384995,
-0.03782161325216293,
-0.023703934624791145,
0.009397889487445354,
-0.03174911439418793,
0.039101626724004745,
0.003247273387387395,
-0.008014945313334465,
0.026773041114211082,
0.043836478143930435,
0.05291147157549858,
-0.04344511404633522,
0.012562710791826248,
-0.044728174805641174,
-0.009118592366576195,
-0.00898484792560339,
-0.008063660934567451,
0.03358311206102371,
0.027234286069869995,
0.020988430827856064,
-0.0029099425300955772,
-0.013742678798735142,
0.008289114572107792,
-0.034401506185531616,
-0.017500625923275948,
0.0037360400892794132,
0.010394331067800522,
0.00708418944850564,
0.0436229407787323,
-0.037905339151620865,
-0.047013189643621445,
0.026124026626348495,
0.02812441997230053,
-0.011025121435523033,
-0.04798351973295212,
-0.019765088334679604,
-0.013085129670798779,
-0.009890968911349773,
0.005212677177041769,
-0.024415310472249985,
-0.04471813142299652,
0.0017058338271453977,
0.025888102129101753,
-0.035896286368370056,
0.07447773218154907,
-0.030119867995381355,
-0.03668426722288132,
-0.02609497494995594,
-0.011135202832520008,
0.011021270416676998,
0.0278771985322237,
-0.027089674025774002,
-0.007592479232698679,
0.07193836569786072,
0.05180826410651207,
-0.008051122538745403,
-0.013377366587519646,
0.006525494158267975,
0.012351316399872303,
-0.0017194123938679695,
-0.024555718526244164,
-0.028695138171315193,
0.030604572966694832,
-0.029878918081521988,
-0.04495299607515335,
-0.003856465918943286,
0.05482122302055359,
0.029398493468761444,
-0.016362957656383514,
-0.0279955193400383,
0.05916917324066162,
-0.03913802281022072,
0.022124052047729492,
-0.00755346892401576,
-0.020899375900626183,
0.03206772729754448,
0.00229282071813941,
0.008616387844085693,
-0.013415259309113026,
0.029917944222688675,
-0.010000075213611126,
0.048382941633462906,
-0.034938566386699677,
-0.002167661441490054,
0.0032755048014223576,
0.017172109335660934,
0.041867103427648544,
0.015654925256967545,
0.02520492486655712,
0.027403030544519424,
-0.023641621693968773,
-0.010431569069623947,
0.011436051689088345,
0.03364386036992073,
0.029364394024014473,
0.03864962235093117,
-0.017715217545628548,
0.01628969796001911,
-0.011066203005611897,
-0.028799036517739296,
-0.019021805375814438,
-0.011808792129158974,
-0.015544977970421314,
0.004362394567579031,
-0.03450937941670418,
-0.04533979296684265,
0.029403874650597572,
0.0023782262578606606,
-0.00828205794095993,
0.032135169953107834,
0.007097644731402397,
-0.015074649825692177,
-0.0075737969018518925,
-0.0008696543518453836,
0.027715357020497322,
-0.04028240218758583,
-0.02156684175133705,
-0.012553245760500431,
-0.011072766967117786,
0.02902536280453205,
0.015338717959821224,
-0.046435125172138214,
-0.039937566965818405,
-0.013686733320355415,
0.03420405834913254,
-0.027796484529972076,
-0.05051986500620842,
-0.012898596003651619,
0.017612148076295853,
0.004496067762374878,
-0.012850475497543812,
-0.0019214163767173886,
0.012798055075109005,
-0.010883966460824013,
0.008364589884877205,
0.031443800777196884,
0.0023028727155178785,
-0.024718642234802246,
0.027574514970183372,
0.0001208566318382509,
0.021756792441010475,
-0.0074611324816942215,
0.0656048133969307,
0.009724181145429611,
-0.03161538019776344,
-0.0317298024892807,
-0.03862303867936134,
0.0022101448848843575,
-0.053788378834724426,
0.04170816019177437,
-0.011829132214188576,
-0.002641650615260005,
0.0032275833655148745,
0.0036227668169885874,
-0.009531275369226933,
0.015512772835791111,
-0.02792646363377571,
-0.02444222755730152,
0.006841284688562155,
0.060646772384643555,
0.029042210429906845,
0.04674658179283142,
-0.008497418835759163,
-0.06776927411556244,
0.032137319445610046,
-0.02478816732764244,
-0.051801253110170364,
-0.01901867799460888,
-0.042775657027959824,
-0.011819702573120594,
0.020570935681462288,
-0.0032558455131947994,
-0.020676353946328163,
0.04609832540154457,
0.04442434757947922,
0.01963101513683796,
0.02956247888505459,
-0.001183249056339264,
0.04544997960329056,
-0.008578772656619549,
-0.03779711574316025,
-0.08843397349119186,
0.051291245967149734,
0.05442909151315689,
-0.0008563537267036736,
-0.0031870363745838404,
-0.029552385210990906,
-0.021064093336462975,
-0.003634863765910268,
-0.04592958837747574,
-0.04143059626221657,
0.05076494440436363,
-0.031047824770212173,
0.031118692830204964,
-0.01641388051211834,
-0.05620492994785309,
-0.008875331841409206,
0.047645363956689835,
-0.01642572320997715,
-0.038905318826436996,
-0.0701383724808693,
0.06606975197792053,
-0.016799185425043106,
0.017596963793039322,
-0.024881314486265182,
-0.03999229520559311,
0.039495307952165604,
0.011852684430778027,
0.03489331528544426,
0.019605258479714394,
-0.0353175587952137,
0.024134157225489616,
0.053428471088409424,
-0.042672622948884964,
-0.0012366670416668057,
0.04330860450863838,
-0.015891345217823982,
-0.056601498275995255,
0.009854556992650032,
0.029312739148736,
0.013426710851490498,
-0.04233169928193092,
0.058746278285980225,
0.007152507081627846,
0.011349204927682877,
-0.04580582678318024,
0.029863299801945686,
-0.00444285711273551,
-0.00993491429835558,
-0.05619648098945618,
0.004569385200738907,
-0.0216914564371109,
0.03641651198267937,
-0.01945432461798191,
-0.011361289769411087,
0.08189050108194351,
-0.011523895896971226,
0.031086862087249756,
0.016947779804468155,
0.07037900388240814,
0.11099833995103836,
0.015574184246361256,
-0.00352173182182014,
0.044760894030332565,
-0.0097888158634305,
-0.04834552854299545,
-0.009541884064674377,
-0.029887516051530838,
0.003967926371842623,
-0.007863052189350128,
-0.01701219193637371,
0.05892843008041382,
-0.027079319581389427,
0.08965936303138733,
-0.003202713094651699,
-0.006608819589018822,
-0.006979058962315321,
-0.02116396464407444,
0.01564164273440838,
0.0489095002412796,
0.010747244581580162,
0.029031099751591682,
-0.03857598081231117,
0.0041116587817668915,
0.03161267936229706,
0.0278009045869112,
-0.03394943103194237,
0.035302821546792984,
-0.008276809006929398,
-0.025378478690981865,
0.0009324423153884709,
0.024342725053429604,
0.08688044548034668,
-0.04384605959057808,
-0.015293358825147152,
0.011319915764033794,
0.027880389243364334,
-0.019194569438695908,
0.01569819264113903,
-0.010648801922798157,
-0.02354193851351738,
-0.029050197452306747,
-0.03165794909000397,
-0.033302150666713715,
0.005306577309966087,
-0.020690612494945526,
0.01030360721051693,
0.009533107280731201,
-0.027379058301448822,
0.01890050619840622,
-0.015058910474181175,
-0.020763784646987915,
-0.04430411383509636,
-0.03610735386610031,
-0.05279773473739624,
-0.10387110710144043,
-0.05032340809702873,
-0.001883203280158341,
0.000028572892915690318,
-0.03424256294965744,
0.003056510351598263,
-0.03921365365386009,
-0.017054149881005287,
0.03786034882068634,
-0.04038035869598389,
-0.013694471679627895,
0.004436057060956955,
0.027330532670021057,
0.012309971265494823,
0.030664173886179924,
0.016098348423838615,
-0.007797393016517162,
0.004388468340039253,
0.013224358670413494,
-0.02324608713388443,
0.049295589327812195,
0.00015486594929825515,
-0.002603387925773859,
-0.07977427542209625,
-0.0001219087716890499,
0.03672167286276817,
-0.011591787450015545,
-0.0909404531121254,
0.03149055317044258,
0.05863507091999054,
-0.03211163356900215,
0.03811001777648926,
0.005919468589127064,
-0.018497489392757416,
-0.011578410863876343,
-0.0010154703631997108,
0.00040998071199283004,
-0.0020672809332609177,
0.03005458414554596,
-0.030313502997159958,
0.05900506302714348,
0.04947135969996452,
-0.026397086679935455,
-0.04754973202943802,
-0.02579791285097599,
-0.02746494486927986,
0.020929014310240746,
-0.03373582288622856,
-0.005275804083794355,
-0.043774716556072235,
-0.06978516280651093,
-0.011099766008555889,
0.010773138143122196,
-0.036160461604595184,
-0.007712540216743946,
0.013632656075060368,
0.006993196438997984,
-0.030533140525221825,
0.00531454524025321,
-0.02992412820458412,
0.005905485711991787,
-0.033757247030735016,
-0.02584468387067318,
-0.029332295060157776,
0.03665732592344284,
0.01101087499409914,
-0.020275196060538292,
0.02666030265390873,
-0.05177244544029236,
0.02745813876390457,
-0.002485742326825857,
0.007211840245872736,
0.04238829389214516,
0.008563620038330555,
0.03881136327981949
] | [
-0.058980073779821396,
-0.004100823774933815,
-0.024616647511720657,
-0.026967890560626984,
0.06690908223390579,
-0.027741117402911186,
-0.020733892917633057,
0.0008258392917923629,
0.00003214026219211519,
-0.017648762091994286,
0.02302938513457775,
0.0073886439204216,
-0.018330780789256096,
-0.01814209669828415,
0.0337219312787056,
-0.03588664531707764,
-0.008451942354440689,
-0.03548665717244148,
-0.038527484983205795,
0.0912872850894928,
-0.03453648462891579,
-0.02421608567237854,
-0.009406637400388718,
-0.0696861669421196,
-0.011818986386060715,
-0.016581673175096512,
0.03313349187374115,
-0.032638270407915115,
-0.03287288546562195,
-0.22159390151500702,
-0.024260666221380234,
-0.01222627516835928,
-0.009916556999087334,
-0.01379973255097866,
0.027805499732494354,
0.0029991220217198133,
0.06681782007217407,
-0.02764008566737175,
0.015916956588625908,
0.0248402152210474,
0.042658787220716476,
-0.0034123510122299194,
-0.05471029877662659,
-0.01729736290872097,
0.005190305877476931,
0.024851540103554726,
0.0031619081273674965,
-0.02619137614965439,
0.003560503711923957,
0.027560850605368614,
-0.06131799891591072,
0.02179913967847824,
0.012786748819053173,
-0.01161317341029644,
-0.01043601892888546,
0.025320570915937424,
0.053057920187711716,
0.045602697879076004,
-0.006986021995544434,
0.06026177853345871,
-0.024012213572859764,
0.002289069816470146,
-0.1126851961016655,
0.07685375958681107,
0.017470799386501312,
0.0200036633759737,
-0.059049975126981735,
-0.005537050776183605,
-0.05152644217014313,
0.07308162748813629,
-0.008089551702141762,
-0.012712097726762295,
-0.08338639885187149,
0.11370424181222916,
0.0032981769181787968,
0.043261945247650146,
-0.016402527689933777,
0.014526482671499252,
0.016581371426582336,
-0.041915055364370346,
-0.061158470809459686,
-0.018615586683154106,
-0.03366995230317116,
-0.016441183164715767,
-0.0498582199215889,
0.05774157866835594,
-0.0034339558333158493,
0.058057647198438644,
0.006034997291862965,
0.027733061462640762,
0.014693588018417358,
0.005694124381989241,
0.07583097368478775,
0.0602564811706543,
-0.10767276585102081,
-0.0251101516187191,
0.020007852464914322,
0.023618778213858604,
0.020989825949072838,
0.39182162284851074,
-0.010760663077235222,
-0.03139631450176239,
0.04051046818494797,
0.014506426639854908,
0.027438675984740257,
-0.0018555513815954328,
0.005887072999030352,
-0.03351663425564766,
0.05228100344538689,
-0.027662504464387894,
-0.007410531863570213,
-0.028827153146266937,
0.04700801149010658,
-0.11055663228034973,
-0.005197309423238039,
0.0034748793113976717,
0.02582993544638157,
-0.012520133517682552,
-0.07073287665843964,
0.006959238555282354,
0.01986571028828621,
-0.0034888815134763718,
0.04645877331495285,
-0.020308740437030792,
0.03996037319302559,
0.011559653095901012,
0.030397793278098106,
0.058692220598459244,
0.06079838424921036,
0.034630484879016876,
0.061187900602817535,
-0.006065588444471359,
-0.04081364721059799,
0.026201386004686356,
-0.004042051732540131,
0.009913434274494648,
-0.006511003244668245,
-0.018978137522935867,
-0.038338080048561096,
-0.020278066396713257,
-0.002620030427351594,
-0.031243404373526573,
0.01389163639396429,
0.0027837802190333605,
-0.04294116050004959,
0.10151665657758713,
-0.03082101233303547,
-0.013732093386352062,
-0.003451400203630328,
-0.05774863436818123,
0.011131214909255505,
0.04457006976008415,
0.006498068571090698,
-0.046642255038022995,
-0.004245877265930176,
-0.01303949300199747,
0.05100390687584877,
-0.02439793385565281,
-0.1009032130241394,
-0.0017872668104246259,
-0.007550044450908899,
-0.03688622638583183,
-0.028492972254753113,
0.06362985819578171,
0.05365896224975586,
-0.05573715642094612,
-0.03306077793240547,
0.0007027924293652177,
0.027370989322662354,
-0.06154201552271843,
0.01327233575284481,
-0.024228742346167564,
-0.07458324730396271,
-0.03754981979727745,
0.05259816721081734,
-0.025740234181284904,
-0.050247590988874435,
-0.018281739205121994,
0.0320780910551548,
0.024057582020759583,
-0.027937408536672592,
0.022018184885382652,
-0.03738752007484436,
0.01687387190759182,
-0.06191307306289673,
-0.06242552772164345,
-0.08093366771936417,
0.02393176406621933,
-0.011437729001045227,
-0.02348465472459793,
-0.013530490919947624,
-0.04473213478922844,
-0.06595239788293839,
0.04020962119102478,
-0.044124264270067215,
0.0025806149933487177,
0.015137135982513428,
0.0012951757526025176,
0.009427514858543873,
-0.03756123036146164,
0.04827089235186577,
0.016269199550151825,
0.0008832627208903432,
0.03370881825685501,
-0.027646344155073166,
0.003625759854912758,
0.08598381280899048,
-0.07285044342279434,
0.051449473947286606,
0.03468068689107895,
-0.02477293089032173,
0.02983279712498188,
-0.03002570942044258,
0.0003917462599929422,
-0.01781916618347168,
-0.030756957828998566,
-0.0017879086080938578,
-0.024890782311558723,
0.04787828028202057,
0.04135633260011673,
-0.028405409306287766,
-0.03592982143163681,
-0.013015353120863438,
-0.3541942834854126,
-0.025514593347907066,
-0.0020360113121569157,
-0.0334567055106163,
0.009112885221838951,
-0.007050577085465193,
0.0006326751899905503,
0.0019885257352143526,
0.017618676647543907,
0.012213213369250298,
0.07705148309469223,
0.004326573107391596,
-0.01706104539334774,
-0.10144320875406265,
0.011207367293536663,
0.06197391822934151,
0.012841882184147835,
-0.020307570695877075,
-0.004046787973493338,
0.03130241855978966,
0.00988713838160038,
-0.05599315091967583,
-0.015555384568870068,
-0.03970475494861603,
0.0251480545848608,
-0.0008940522675402462,
0.09193586558103561,
0.029675574973225594,
0.05725469812750816,
-0.052460938692092896,
0.04477955028414726,
0.017873072996735573,
-0.02046082355082035,
-0.05608152598142624,
0.004238277208060026,
-0.034264493733644485,
0.0011258956510573626,
0.02589854970574379,
0.005140648689121008,
0.03204868733882904,
-0.007335048168897629,
-0.02481685020029545,
-0.03460948169231415,
-0.021047957241535187,
0.013774571008980274,
0.005426800809800625,
-0.026705779135227203,
0.002980312332510948,
-0.01366322860121727,
0.0829041600227356,
-0.003036114852875471,
0.016621559858322144,
0.0032908024732023478,
0.07830145210027695,
0.06277883052825928,
-0.014579757116734982,
-0.058384839445352554,
-0.015411620028316975,
0.04397032782435417,
0.029116591438651085,
-0.002611975884065032,
0.012518239207565784,
0.03744281828403473,
-0.08833387494087219,
0.011591961607336998,
0.011702603660523891,
-0.008166087791323662,
0.007916863076388836,
0.042755600064992905,
-0.009642067365348339,
-0.037184569984674454,
0.0996164083480835,
-0.024646271020174026,
0.047365814447402954,
0.029719866812229156,
0.05709240585565567,
-0.008023295551538467,
-0.01675904355943203,
0.03763853758573532,
-0.005021609831601381,
0.06001434847712517,
0.002794448286294937,
0.07375099509954453,
-0.04121895879507065,
0.011452661827206612,
0.0568021796643734,
-0.004413293674588203,
-0.02057398296892643,
0.051781073212623596,
-0.002753659849986434,
-0.014889799989759922,
-0.014159380458295345,
-0.011824898421764374,
-0.05843023955821991,
0.08172394335269928,
-0.030010731890797615,
-0.2721903324127197,
0.043740879744291306,
0.028064364567399025,
0.06086152046918869,
0.033912595361471176,
0.004469745792448521,
0.01074302475899458,
-0.06277603656053543,
-0.007750052958726883,
0.029055790975689888,
0.022625399753451347,
0.04835483431816101,
0.003641152288764715,
-0.028360862284898758,
-0.01571013778448105,
-0.005749885458499193,
0.0409264862537384,
0.028700130060315132,
0.0649065151810646,
0.01823471114039421,
0.014396166428923607,
-0.03835196793079376,
0.19560596346855164,
0.027112994343042374,
-0.0021749890875071287,
-0.0032013668678700924,
-0.03729870915412903,
0.009620709344744682,
0.04776737838983536,
0.01589907892048359,
-0.026316728442907333,
0.03732721507549286,
0.030679911375045776,
0.05192737653851509,
0.00419221818447113,
-0.03652983531355858,
-0.002933461917564273,
0.045714881271123886,
0.028182944282889366,
-0.042884550988674164,
-0.03130967170000076,
0.04396545886993408,
-0.0618647038936615,
0.016019808128476143,
0.0293272677809,
-0.0261017344892025,
0.013458583503961563,
-0.003885560669004917,
-0.025334740057587624,
-0.01477511040866375,
-0.03389040380716324,
-0.02475624345242977,
-0.012803863734006882,
-0.02955060638487339,
0.019562870264053345,
0.06207802891731262,
-0.005816625896841288,
-0.027668138965964317,
0.03535529971122742,
0.028427673503756523,
-0.011927131563425064,
-0.05180307477712631,
0.09430649131536484,
0.034447718411684036,
-0.015256677754223347
] | [
0.0008586415788158774,
0.07883752137422562,
-0.02560938149690628,
0.03859587758779526,
-0.007433186750859022,
0.01647520810365677,
-0.0048848302103579044,
0.012641029432415962,
0.009733489714562893,
0.002993033966049552,
-0.043917760252952576,
-0.04585609957575798,
0.05859110876917839,
-0.02802811935544014,
-0.0023021281231194735,
-0.034849848598241806,
-0.0335916206240654,
0.034083254635334015,
0.006304851267486811,
-0.024014869704842567,
-0.03209022432565689,
0.010646197944879532,
0.010549580678343773,
-0.023372642695903778,
-0.014176192693412304,
0.005144580267369747,
-0.02864247001707554,
-0.010861510410904884,
-0.0030226074159145355,
-0.10759101063013077,
-0.026634950190782547,
-0.022520165890455246,
-0.028942391276359558,
-0.0007897912873886526,
-0.022887343540787697,
0.019055591896176338,
0.040137067437171936,
0.036641597747802734,
-0.025504110381007195,
0.01864217035472393,
-0.013383557088673115,
0.012273011729121208,
-0.024314260110259056,
0.008432491682469845,
0.01768430694937706,
-0.012441223487257957,
-0.03398415073752403,
-0.0025623280089348555,
0.0171204824000597,
-0.013118709437549114,
-0.0556817464530468,
0.010698379948735237,
-0.002253287937492132,
0.00689789280295372,
-0.011948051862418652,
-0.02472767047584057,
-0.030582372099161148,
-0.011735964566469193,
-0.005448188632726669,
0.02550649456679821,
-0.01334484200924635,
-0.04741832986474037,
-0.043062254786491394,
-0.014886118471622467,
0.03677903860807419,
-0.03495864197611809,
-0.038794342428445816,
0.031956661492586136,
0.016036098822951317,
0.023905185982584953,
-0.03710204362869263,
0.034258756786584854,
-0.10202345997095108,
0.006215275265276432,
-0.014860388822853565,
0.0170652586966753,
0.03530633822083473,
-0.01813165843486786,
0.014317893423140049,
-0.017988646402955055,
-0.04568162187933922,
-0.009452307596802711,
-0.013980560004711151,
-0.02756945788860321,
-0.03664737194776535,
0.014360600151121616,
-0.011092034168541431,
0.010262633673846722,
-0.024455346167087555,
0.01911189593374729,
-0.015126246958971024,
0.02689012885093689,
0.033349163830280304,
0.007307650055736303,
-0.08045364171266556,
-0.0018264676909893751,
0.025230826810002327,
-0.011456442065536976,
0.013477119617164135,
0.801446795463562,
0.014259166084229946,
-0.002320588333532214,
0.02082247845828533,
0.010368957184255123,
-0.015887031331658363,
-0.01794012263417244,
0.059844452887773514,
0.03166596218943596,
-0.024835579097270966,
-0.021649174392223358,
0.00789191946387291,
0.0029404221568256617,
-0.0070139383897185326,
-0.013242860324680805,
-0.01501298975199461,
0.034461989998817444,
-0.012618954293429852,
-0.0015359646640717983,
-0.025400953367352486,
-0.014331833459436893,
-0.008226112462580204,
-0.01830325461924076,
-0.03212883695960045,
-0.03233930841088295,
0.007931244559586048,
-0.1464063972234726,
0.033984094858169556,
-7.126868700085953e-33,
0.018164578825235367,
-0.009153486229479313,
0.05314527451992035,
0.020856039598584175,
0.030926460400223732,
0.00921210739761591,
0.02403011918067932,
0.03354392945766449,
-0.03026096522808075,
-0.016434866935014725,
0.032050516456365585,
-0.024790596216917038,
-0.01572525128722191,
0.018794845789670944,
0.010497428476810455,
-0.003957770299166441,
-0.005079545080661774,
-0.020163916051387787,
-0.013443408533930779,
-0.008146055042743683,
0.025675145909190178,
0.041316304355859756,
0.04027271270751953,
0.04906973987817764,
0.021428365260362625,
0.03216656669974327,
-0.022677253931760788,
-0.028849273920059204,
-0.020012028515338898,
-0.034210074692964554,
-0.03247060999274254,
0.038783058524131775,
-0.01159048080444336,
-0.07741612195968628,
0.03415254130959511,
-0.06890683621168137,
-0.026210004463791847,
0.004880491178482771,
-0.051478296518325806,
-0.019320134073495865,
-0.022703999653458595,
0.022122245281934738,
-0.006129239220172167,
0.00863837543874979,
-0.07944688200950623,
-0.024638941511511803,
0.0026934354100376368,
0.010083130560815334,
-0.015480970032513142,
0.02835923805832863,
0.040568217635154724,
0.04493243992328644,
0.03502827510237694,
-0.009460421279072762,
-0.022121543064713478,
-0.00004655240991269238,
0.0028903461061418056,
-0.01923242025077343,
-0.0046087596565485,
-0.0002622320025693625,
0.058471016585826874,
0.01485580112785101,
-0.008074987679719925,
0.040763769298791885,
0.02581709809601307,
0.0046998742036521435,
0.057176053524017334,
0.023575201630592346,
-0.004224454518407583,
0.014507708139717579,
-0.008071774616837502,
0.03692048788070679,
0.010590020567178726,
-0.03269759565591812,
0.036097053438425064,
-0.02012822777032852,
-0.024992436170578003,
-0.009186530485749245,
0.052126288414001465,
-0.001990444492548704,
-0.004345784429460764,
-0.02086048573255539,
0.028262857347726822,
-0.04428674653172493,
-0.05158602446317673,
0.004496599081903696,
0.04232088476419449,
-0.0067366426810622215,
0.022008584812283516,
0.01775323785841465,
0.0347043015062809,
0.04043520614504814,
0.021061522886157036,
-0.0216831061989069,
-0.04060870036482811,
6.396470877098709e-33,
0.02597123384475708,
-0.012462900020182133,
-0.01675817184150219,
-0.009121251292526722,
0.028394019231200218,
0.043331727385520935,
0.0046697575598955154,
-0.005596369970589876,
-0.01322686206549406,
0.023010944947600365,
0.006824050564318895,
0.024777261540293694,
-0.026580890640616417,
0.05030177906155586,
0.04782215133309364,
0.021937305107712746,
0.006456331349909306,
-0.04695744439959526,
-0.03189023584127426,
-0.0012512319954112172,
-0.01595497876405716,
-0.008137046359479427,
-0.008879591710865498,
0.022300362586975098,
0.07007674127817154,
-0.01453883945941925,
-0.02050008811056614,
0.006699267774820328,
-0.01989126205444336,
0.023601766675710678,
-0.021696895360946655,
-0.004231129307299852,
-0.0343160443007946,
-0.05013156309723854,
-0.030897041782736778,
0.007869502529501915,
0.024139404296875,
0.052399612963199615,
0.028104618191719055,
0.04006142169237137,
-0.008124610409140587,
0.05173790454864502,
0.0002641316968947649,
0.04847215116024017,
0.04010668024420738,
0.042667780071496964,
0.002345791319385171,
0.04300457239151001,
-0.021461961790919304,
0.06645125895738602,
-0.0007659189868718386,
0.042522139847278595,
0.003901656484231353,
0.02651059627532959,
0.06638003885746002,
-0.03633638471364975,
-0.008535300381481647,
0.0021580366883426905,
-0.03339504078030586,
-0.024674860760569572,
-0.059676434844732285,
-0.022356437519192696,
-0.03638743236660957,
0.02414286881685257,
-0.0010444666258990765,
0.002167917089536786,
-0.0634869709610939,
0.021430298686027527,
0.00540870102122426,
-0.058312345296144485,
0.020026663318276405,
-0.041125934571027756,
-0.01443446520715952,
0.017803195863962173,
-0.020394787192344666,
-0.017313629388809204,
-0.011682014912366867,
-0.021303309127688408,
-0.02379312738776207,
0.049775395542383194,
0.04830776900053024,
-0.02704569324851036,
0.03201868757605553,
-0.017440201714634895,
0.01026503462344408,
0.014659608714282513,
-0.024515725672245026,
-0.028241584077477455,
-0.015498802997171879,
0.016559038311243057,
0.006824968382716179,
-0.03264149650931358,
-0.008635398931801319,
0.005503683350980282,
-0.06204412877559662,
-1.217893075278198e-8,
-0.02204209379851818,
0.0025573873426765203,
-0.02225056104362011,
-0.017852695658802986,
0.02272498980164528,
0.02573086880147457,
-0.048790812492370605,
-0.002920805476605892,
0.025718597695231438,
0.0011465242132544518,
0.02757398597896099,
-0.03369386866688728,
0.037077195942401886,
0.015698296949267387,
0.0018326995195820928,
-0.020098814740777016,
0.011374620720744133,
0.01713869720697403,
0.0025300770066678524,
0.0027126192580908537,
-0.013972802087664604,
0.0684402659535408,
-0.048371706157922745,
0.025488272309303284,
0.03526143729686737,
-0.0021141846664249897,
0.002806197851896286,
-0.08351529389619827,
0.013626408763229847,
-0.041615284979343414,
-0.022433795034885406,
-0.015386019833385944,
-0.02614809386432171,
-0.02826223336160183,
0.010133265517652035,
-0.019146597012877464,
0.041141390800476074,
0.04290805384516716,
0.013184171169996262,
0.04337861016392708,
0.02340770699083805,
0.004833124577999115,
0.0021085639018565416,
-0.0250539630651474,
-0.016137873753905296,
-0.023900620639324188,
-0.06642071902751923,
0.00645268801599741,
0.01506127044558525,
-0.028249215334653854,
0.016622668132185936,
-0.008682787418365479,
0.01968170329928398,
0.04149201884865761,
0.048606421798467636,
-0.016718735918402672,
0.020656578242778778,
0.012725639156997204,
-0.014540537260472775,
-0.029249895364046097,
0.033981937915086746,
0.01721702329814434,
-0.0190664641559124,
0.0028701587580144405
] | neo4j-load-csv-column-is-null | https://markhneedham.com/blog/2014/09/24/neo4j-load-csv-column-is-null |
false | 2014-09-13 11:41:39 | R: ggplot - Plotting a single variable line chart (geom_line requires the following missing aesthetics: y) | [
"r-2"
] | [
"R"
] | I've been learning http://www.markhneedham.com/blog/2014/09/13/r-calculating-rolling-or-moving-averages/[how to do moving averages in R] and having done that calculation I wanted to plot these variables on a line chart using ggplot.
The vector of rolling averages looked like this:
[source,r]
----
> rollmean(byWeek$n, 4)
[1] 3.75 2.00 1.25 1.00 1.25 1.25 1.75 1.75 1.75 2.50 2.25 2.75 3.50 2.75 2.75
[16] 2.25 1.50 1.50 2.00 2.00 2.00 2.00 1.25 1.50 2.25 2.50 3.00 3.25 2.75 4.00
[31] 4.25 5.25 7.50 6.50 5.75 5.00 3.50 4.00 5.75 6.25 6.25 6.00 5.25 6.25 7.25
[46] 7.75 7.00 4.75 2.75 1.75 2.00 4.00 5.25 5.50 11.50 11.50 12.75 14.50 12.50 11.75
[61] 11.00 9.25 5.25 4.50 3.25 4.75 7.50 8.50 9.25 10.50 9.75 15.25 16.00 15.25 15.00
[76] 10.00 8.50 6.50 4.25 3.00 4.25 4.75 7.50 11.25 11.00 11.50 10.00 6.75 11.25 12.50
[91] 12.00 11.50 6.50 8.75 8.50 8.25 9.50 8.50 8.75 9.50 8.00 4.25 4.50 7.50 9.00
[106] 12.00 19.00 19.00 22.25 23.50 22.25 21.75 19.50 20.75 22.75 22.75 24.25 28.00 23.00 26.00
[121] 24.25 21.50 26.00 24.00 28.25 25.50 24.25 31.50 31.50 35.75 35.75 29.00 28.50 27.25 25.50
[136] 27.50 26.00 23.75
----
I initially tried to plot a line chart like this:
[source,r]
----
library(ggplot2)
library(zoo)
rollingMean = rollmean(byWeek$n, 4)
qplot(rollingMean) + geom_line()
----
which resulted in this error:
[source,r]
----
stat_bin: binwidth defaulted to range/30. Use 'binwidth = x' to adjust this.
Error: geom_line requires the following missing aesthetics: y
----
It turns out we need to provide an x and y value if we want to draw a line chart. In this case http://stackoverflow.com/questions/13837565/how-to-plot-one-variable-in-ggplot[we'll generate the 'x' value] - we only care that the y values get plotted in order from left to right:
[source,r]
----
qplot(1:length(rollingMean), rollingMean, xlab ="Week Number") + geom_line()
----
image::{{<siteurl>}}/uploads/2014/09/2014-09-13_16-58-57.png[2014 09 13 16 58 57,600]
If we want to use the 'ggplot' function then we need to put everything into a data frame first and then plot it:
[source,r]
----
ggplot(data.frame(week = 1:length(rollingMean), rolling = rollingMean),
aes(x = week, y = rolling)) +
geom_line()
----
image::{{<siteurl>}}/uploads/2014/09/2014-09-13_17-11-13.png[2014 09 13 17 11 13,600] | null | null | [
0.0139600969851017,
0.0017670778324827552,
-0.00733207305893302,
0.053199537098407745,
0.04602300003170967,
0.03212864324450493,
0.028432698920369148,
0.02084410935640335,
0.0009011371876113117,
-0.0026122056879103184,
0.018441040068864822,
-0.008394351229071617,
-0.07124008983373642,
0.0122069101780653,
-0.019310925155878067,
0.07856062054634094,
0.0505896620452404,
-0.016501201316714287,
0.006272249389439821,
-0.0076810740865767,
0.04082033038139343,
0.03468925878405571,
-0.004077377263456583,
0.016451725736260414,
0.032374538481235504,
-0.04831118881702423,
0.024123314768075943,
0.008356787264347076,
-0.015024092048406601,
0.01077455747872591,
0.045032598078250885,
0.03458845987915993,
-0.0047476631589233875,
0.0010449659312143922,
0.026250021532177925,
-0.03035539761185646,
-0.02554560825228691,
-0.00872134231030941,
0.009362793527543545,
-0.01752101629972458,
-0.04309432581067085,
-0.0077704195864498615,
-0.02839067578315735,
-0.00020905047131236643,
-0.001404650160111487,
-0.037319354712963104,
-0.04654945805668831,
0.012225661426782608,
-0.0009814854711294174,
0.03552418574690819,
-0.07537329941987991,
0.06893385946750641,
0.0013103274395689368,
-0.01812187395989895,
-0.03635812923312187,
0.05124630033969879,
0.002921073231846094,
-0.051949478685855865,
0.016390888020396233,
-0.04092646762728691,
-0.005831269547343254,
-0.010672159492969513,
-0.028263896703720093,
0.030587168410420418,
0.017046282067894936,
0.01240947563201189,
0.011332450434565544,
0.029081253334879875,
-0.013471958227455616,
-0.024429764598608017,
-0.05004483088850975,
0.02435242384672165,
0.0029171158093959093,
-0.023013779893517494,
0.004770087078213692,
-0.0526181235909462,
-0.01630815863609314,
0.022104324772953987,
0.005058418493717909,
0.008946796879172325,
-0.013432351872324944,
-0.017009427770972252,
0.0286820437759161,
0.004327834118157625,
0.01733013056218624,
-0.029905270785093307,
-0.0042471387423574924,
-0.05681416764855385,
-0.07291119545698166,
0.07879450917243958,
-0.0423804447054863,
-0.039661407470703125,
0.021408086642622948,
0.024656428024172783,
-0.038377292454242706,
-0.027712201699614525,
0.0397021621465683,
-0.011807682923972607,
-0.00939517468214035,
-0.010010510683059692,
-0.07427133619785309,
-0.02595972642302513,
0.06435397267341614,
0.04134060814976692,
-0.08024802058935165,
-0.0024842889979481697,
-0.015204179100692272,
-0.01687869243323803,
-0.033006295561790466,
0.022187817841768265,
-0.03921092301607132,
0.0013237543171271682,
0.01823541149497032,
0.01477282028645277,
-0.05725345015525818,
0.06768978387117386,
0.03125135973095894,
-0.022750521078705788,
0.027676286175847054,
-0.00373579328879714,
0.04565073177218437,
-0.013802720233798027,
-0.026621846482157707,
0.0807894915342331,
-0.024654043838381767,
0.04820084199309349,
0.018067141994833946,
0.036254774779081345,
0.010936780832707882,
-0.04828878864645958,
0.013195483013987541,
0.06571901589632034,
-0.04044436290860176,
0.0016719072591513395,
0.015460425987839699,
-0.048582058399915695,
0.0052306316792964935,
-0.011869987472891808,
0.06712555140256882,
0.054313503205776215,
0.027667660266160965,
-0.04380054399371147,
0.012589422054588795,
-0.012161103077232838,
0.01036808267235756,
-0.01120011880993843,
0.011051573790609837,
-0.048550091683864594,
-0.04813284054398537,
-0.00210962793789804,
0.06543390452861786,
0.00954450760036707,
0.04809093475341797,
0.000451361236628145,
0.008872992359101772,
0.04929513856768608,
-0.004251448437571526,
0.014201007783412933,
0.012280513532459736,
-0.010900902561843395,
0.03802971914410591,
0.04795554280281067,
0.030819103121757507,
0.051168352365493774,
-0.011934270150959492,
-0.016749601811170578,
0.010147415101528168,
0.062479615211486816,
-0.06644576042890549,
-0.008126932196319103,
-0.03865198418498039,
-0.040005363523960114,
0.04714745655655861,
-0.018025409430265427,
-0.012286519631743431,
0.050458669662475586,
0.054846636950969696,
0.07721938192844391,
0.060112547129392624,
0.0031612026505172253,
-0.06591492891311646,
0.051579300314188004,
0.051828596740961075,
0.035744208842515945,
0.036400265991687775,
-0.017060717567801476,
0.05617828294634819,
-0.0033338889479637146,
0.05272814258933067,
0.03680586442351341,
-0.051764458417892456,
-0.04587792977690697,
-0.02560885064303875,
-0.012643304653465748,
0.03417781740427017,
-0.023642554879188538,
0.008378792554140091,
0.06020349636673927,
0.0047454312443733215,
0.011654520407319069,
-0.024756615981459618,
0.04270351305603981,
0.03942372649908066,
-0.04905151203274727,
-0.043620407581329346,
0.006800093222409487,
0.010376978665590286,
-0.012682685628533363,
-0.01919340342283249,
-0.003834653412923217,
-0.040413063019514084,
0.0278933085501194,
0.034060992300510406,
-0.03889371454715729,
0.029386458918452263,
0.021456947550177574,
0.08611808717250824,
0.012898030690848827,
0.044463519006967545,
-0.0503765307366848,
-0.010313233360648155,
-0.0007824406493455172,
-0.02761562541127205,
-0.033435601741075516,
-0.02428250201046467,
0.12595655024051666,
0.0886770710349083,
-0.029362069442868233,
-0.04712330177426338,
-0.014579136855900288,
-0.054745227098464966,
-0.012599076144397259,
0.034020327031612396,
-0.012095537036657333,
-0.003587674116715789,
0.03249138593673706,
-0.056788571178913116,
-0.038923777639865875,
0.00324944406747818,
-0.033953648060560226,
0.03604954108595848,
0.06836634129285812,
0.005814743228256702,
0.07330328226089478,
-0.012423189356923103,
0.013572550378739834,
-0.008650485426187515,
-0.017270611599087715,
-0.09673427790403366,
0.00222042971290648,
0.030512239784002304,
-0.006674416363239288,
0.040153633803129196,
-0.00935098621994257,
-0.04035000503063202,
-0.024776339530944824,
-0.05131124332547188,
0.006705450359731913,
0.04500192031264305,
0.054423969238996506,
0.03311854228377342,
0.02347053401172161,
0.008098245598375797,
-0.007228219415992498,
0.00394196854904294,
-0.051888465881347656,
-0.08215431869029999,
-0.03062216378748417,
0.002907503629103303,
0.01170684490352869,
0.03389386832714081,
0.01319308765232563,
0.010473608039319515,
0.02034548670053482,
0.015671443194150925,
-0.06419683992862701,
0.059948910027742386,
-0.012586314231157303,
-0.014499824494123459,
-0.018795745447278023,
0.02414787746965885,
0.040498312562704086,
-0.0035488747525960207,
0.0012702852254733443,
0.02883455529808998,
-0.07648608833551407,
0.028615381568670273,
-0.03964481130242348,
-0.0007313623209483922,
-0.005330655258148909,
-0.020391210913658142,
0.043296508491039276,
0.017265157774090767,
0.010572916828095913,
-0.0036855165380984545,
-0.032576724886894226,
0.019129009917378426,
0.008842097595334053,
0.022172655910253525,
0.0398104153573513,
0.029089121147990227,
0.018913859501481056,
0.05729692801833153,
-0.014032681472599506,
-0.013149655424058437,
-0.026429222896695137,
-0.013376520946621895,
-0.02456807903945446,
-0.25058960914611816,
0.030157145112752914,
0.0021747967693954706,
-0.034894026815891266,
-0.0007094005704857409,
-0.04777053743600845,
0.022388555109500885,
-0.03484750911593437,
-0.02759084291756153,
-0.028744792565703392,
0.034304846078157425,
-0.043439991772174835,
-0.07572638988494873,
0.053001340478658676,
0.04779123142361641,
0.02581392601132393,
0.025612227618694305,
-0.06213073432445526,
0.04772188141942024,
0.07422588765621185,
0.043992675840854645,
-0.04815847426652908,
-0.009712330996990204,
0.04763452708721161,
0.02191219851374626,
0.07462635636329651,
-0.05146287381649017,
0.019126739352941513,
-0.07662121951580048,
-0.0077628158032894135,
-0.008236120454967022,
-0.03091408871114254,
0.022528808563947678,
0.006202210672199726,
0.018447192385792732,
-0.03697555139660835,
-0.017554033547639847,
-0.01715189963579178,
0.02777237631380558,
0.05833357572555542,
-0.01968366466462612,
-0.032712407410144806,
0.01749485731124878,
-0.0070266155526041985,
0.059305399656295776,
0.01154327392578125,
-0.03141201660037041,
0.0220609400421381,
-0.018425272777676582,
0.0769001767039299,
-0.013962087221443653,
0.01951834186911583,
0.004640473052859306,
-0.005144677124917507,
-0.06968049705028534,
-0.002271093428134918,
-0.035861607640981674,
0.020525991916656494,
-0.05363345891237259,
-0.020777959376573563,
-0.005118148401379585,
-0.00342272175475955,
-0.004427625797688961,
-0.05419566109776497,
-0.016491958871483803,
-0.056608084589242935,
-0.08702272921800613,
-0.02629064954817295,
0.06692078709602356,
0.038250550627708435,
-0.013525624759495258,
-0.029151543974876404,
0.01985318586230278,
-0.07114952802658081,
-0.008231486193835735,
-0.0298000480979681,
-0.015099886804819107,
0.006629250477999449,
0.0391414649784565,
-0.004671895876526833,
-0.026322806254029274,
-0.07912703603506088,
0.03437181934714317,
-0.005221178289502859,
0.03789091110229492,
-0.001496561337262392,
0.0019224901916459203,
-0.001481226528994739,
-0.04894823208451271,
-0.012895355001091957,
0.07097218185663223,
-0.03674044460058212,
-0.013165944255888462,
-0.01132709439843893,
-0.03350227326154709,
0.003777050646021962,
0.000994018861092627,
-0.013361800462007523,
0.016497902572155,
0.017307084053754807,
0.028208231553435326,
-0.07912927865982056,
0.03330104798078537,
-0.04399733245372772,
-0.053619347512722015,
-0.02365928143262863,
-0.06118499115109444,
0.01374071929603815,
0.02695600874722004,
-0.002595293102785945,
0.029492920264601707,
-0.015473159030079842,
0.04904180392622948,
-0.051675185561180115,
-0.021737316623330116,
-0.016231613233685493,
0.02633095346391201,
0.017598597332835197,
0.019871825352311134,
-0.002118512988090515,
-0.02683488093316555,
-0.015249715186655521,
-0.008325155824422836,
-0.029004739597439766,
-0.026768507435917854,
-0.010270308703184128,
0.010624470189213753,
-0.012643893249332905,
-0.002185823628678918,
0.0035751378163695335,
-0.010958329774439335,
0.036222346127033234,
0.06823530793190002,
-0.06671100854873657,
0.010992593131959438,
0.00143429113086313,
-0.04553629830479622,
-0.011277073062956333,
-0.0008995602838695049,
0.011921354569494724,
-0.008654057048261166,
0.013920857571065426,
-0.0005180996377021074,
0.028838995844125748,
-0.002054359531030059,
-0.02298719249665737,
0.01914837397634983,
-0.026914529502391815,
-0.004422331228852272,
0.005627914797514677,
0.0051661208271980286,
0.01485278457403183,
-0.022893821820616722,
-0.000008678415724716615,
-0.03524033725261688,
0.01937505602836609,
0.0433233305811882,
0.010776248760521412,
-0.04238555207848549,
-0.05840015411376953,
0.04182422161102295,
-0.04475463181734085,
-0.047614164650440216,
-0.015614626929163933,
-0.0006068511283956468,
0.05548670515418053,
-0.015857962891459465,
0.009081535041332245,
0.008930988609790802,
-0.0005373253370635211,
0.02283158153295517,
-0.0032852545846253633,
-0.002754664048552513,
0.008998000994324684,
-0.05639887973666191,
-0.014862756244838238,
0.014848899096250534,
-0.036471638828516006,
0.04961443319916725,
0.0015250046271830797,
-0.01099579967558384,
0.0067922575399279594,
0.007819978520274162,
-0.010014388710260391,
0.02917618677020073,
0.04419456049799919,
-0.025637682527303696,
-0.0011004253756254911,
-0.008453507907688618,
-0.006329106632620096,
0.0009808323811739683,
-0.03130801022052765,
-0.03648599609732628,
0.02484501339495182,
-0.07473893463611603,
-0.056598082184791565,
-0.006877229083329439,
0.014130876399576664,
-0.01049890462309122,
-0.00003785589797189459,
-0.03503776341676712,
0.00929099228233099,
-0.04103713110089302,
0.032366588711738586,
0.0532260425388813,
-0.0545894131064415,
0.005424611736088991,
0.01736978255212307,
0.002957414137199521,
0.004855691455304623,
0.002959584118798375,
-0.037482261657714844,
-0.002790065947920084,
-0.014139577746391296,
0.034750793129205704,
-0.027344277128577232,
-0.06680568307638168,
-0.0813911035656929,
-0.027469957247376442,
-0.004965350031852722,
0.0010550162987783551,
-0.008786787278950214,
-0.018426714465022087,
-0.033266570419073105,
0.012623975984752178,
0.012424788437783718,
-0.033796630799770355,
-0.04135845974087715,
0.051164768636226654,
-0.015847738832235336,
0.021697118878364563,
0.01178378239274025,
0.016573986038565636,
0.04739725589752197,
-0.028302712365984917,
0.02206522412598133,
-0.06563979387283325,
0.006490593776106834,
0.027771463617682457,
0.01727513037621975,
0.01674739643931389,
0.0024257523473352194,
-0.038994837552309036,
0.01023620180785656,
0.004428320098668337,
0.004518060479313135,
0.0066561009734869,
-0.0387738011777401,
0.03810840845108032,
0.036507558077573776,
-0.002439110307022929,
-0.017063234001398087,
0.02861429750919342,
-0.02437777817249298,
0.06674201041460037,
-0.03719033673405647,
-0.02562819793820381,
0.010741322301328182,
-0.037453245371580124,
0.02868112549185753,
-0.00847091805189848,
0.006377384997904301,
-0.03031456656754017,
0.048218902200460434,
0.03314802423119545,
0.05160364508628845,
0.07552775740623474,
0.027193592861294746,
0.021403411403298378,
-0.043030042201280594,
0.0032788030803203583,
-0.0730840265750885,
-0.011365030892193317,
0.031736359000205994,
0.0174127034842968,
-0.03285149112343788,
-0.02228749915957451,
-0.0335925817489624,
0.0421232134103775,
-0.058475691825151443,
-0.053628239780664444,
0.018101036548614502,
0.008100701496005058,
0.014106959104537964,
0.02112596295773983,
-0.0276077538728714,
-0.007369362749159336,
0.044849030673503876,
-0.05405633524060249,
0.01781403459608555,
0.01818295568227768,
0.0651187151670456,
-0.023686856031417847,
-0.00032425872632302344,
-0.01937839202582836,
0.03017529286444187,
0.07309281080961227,
0.04850558564066887,
0.02419297583401203,
0.05201539397239685,
-0.0416366346180439,
0.04342389106750488,
0.030969545245170593,
-0.017442915588617325,
-0.005476793274283409,
0.0012200658675283194,
0.017777886241674423,
-0.03787514939904213,
0.010627302341163158,
0.014022467657923698,
-0.03152162954211235,
-0.049485426396131516,
0.06488436460494995,
-0.010938423685729504,
-0.02267455868422985,
-0.06017689406871796,
0.009638163261115551,
-0.007025935221463442,
0.021609442308545113,
0.012275130487978458,
0.008478778414428234,
-0.002108787652105093,
0.06314749270677567,
-0.05144593492150307,
-0.0026449610013514757,
0.05817596986889839,
-0.01834864541888237,
0.008533398620784283,
0.009472042322158813,
0.07410501688718796,
0.09150581806898117,
0.05202296003699303,
-0.012414812110364437,
0.06570710241794586,
-0.03043082356452942,
-0.057501569390296936,
0.03194933757185936,
0.001022098702378571,
0.006698382552713156,
-0.04555599018931389,
0.0548882819712162,
0.05947091057896614,
-0.03124965727329254,
0.05016132816672325,
-0.0035541763063520193,
-0.042284559458494186,
-0.020133165642619133,
-0.02648739144206047,
0.01890726014971733,
0.040901727974414825,
-0.0017082586418837309,
0.014260198920965195,
0.01191948726773262,
-0.04147753119468689,
0.017031455412507057,
-0.005622217431664467,
-0.016770483925938606,
0.005774366203695536,
-0.009816075675189495,
0.009472964331507683,
-0.00922867376357317,
-0.012475380674004555,
0.07927412539720535,
-0.03249206021428108,
-0.009237715974450111,
0.002324069384485483,
0.06986077129840851,
0.002699580043554306,
0.003731996053829789,
-0.009838776662945747,
-0.019777216017246246,
-0.01921098679304123,
-0.03149235621094704,
-0.01781667396426201,
-0.017425021156668663,
-0.004893400240689516,
0.0028471099212765694,
-0.02973439358174801,
0.022960124537348747,
0.05926996469497681,
-0.02569648250937462,
-0.03021002933382988,
-0.04909982159733772,
-0.03898857161402702,
-0.06200762838125229,
-0.0546112135052681,
-0.000707279599737376,
0.012345890514552593,
-0.04340601712465286,
-0.03558409959077835,
0.020995760336518288,
0.0029371606651693583,
-0.050495292991399765,
0.006085122004151344,
-0.05800759792327881,
-0.01691233180463314,
0.013317756354808807,
0.057700611650943756,
-0.011032135225832462,
0.0014439088990911841,
0.037445418536663055,
0.0118085453286767,
-0.008300292305648327,
0.005249679554253817,
0.01595522090792656,
0.052032869309186935,
0.031016163527965546,
0.025591332465410233,
-0.0571599155664444,
-0.01212688721716404,
0.00901438482105732,
-0.0403694324195385,
-0.09694316983222961,
0.031180649995803833,
-0.018657539039850235,
-0.04175432771444321,
0.034120555967092514,
-0.02022630348801613,
-0.02015000954270363,
-0.03397492691874504,
-0.02497524581849575,
-0.045971740037202835,
0.013870853930711746,
0.0240633524954319,
-0.030717696994543076,
0.06245669350028038,
0.024106323719024658,
-0.0029857056215405464,
-0.031339131295681,
-0.010585607029497623,
0.016788095235824585,
-0.0040940395556390285,
-0.04042777046561241,
-0.020687997341156006,
-0.029630141332745552,
-0.11607284843921661,
0.005300324410200119,
0.023205840960144997,
-0.03793725371360779,
0.005050720181316137,
0.0039947074837982655,
-0.0028241490945219994,
-0.04313592612743378,
0.023127438500523567,
-0.003776692086830735,
0.0036019820254296064,
-0.03035699389874935,
-0.0013985276455059648,
-0.006570321042090654,
0.03806500509381294,
-0.02692931517958641,
0.025048239156603813,
-0.009813998825848103,
-0.03295915201306343,
0.03743657469749451,
-0.022148599848151207,
0.007945091463625431,
0.02697793021798134,
0.03686034679412842,
0.032445743680000305
] | [
-0.04555540904402733,
-0.02263282798230648,
-0.011378036811947823,
0.008425437845289707,
0.06707710772752762,
-0.0261897724121809,
-0.009611345827579498,
0.037169862538576126,
-0.00799513328820467,
0.012480159290134907,
0.006241580471396446,
-0.04595324024558067,
0.030572989955544472,
0.008039217442274094,
0.010581891052424908,
-0.010072590783238411,
-0.01691325008869171,
-0.004458942916244268,
-0.03458399325609207,
0.029105789959430695,
0.0006878039566799998,
-0.009157521650195122,
-0.06698345392942429,
-0.03964840620756149,
0.07104632258415222,
0.038080524653196335,
-0.0158837903290987,
-0.04653078317642212,
-0.026132097467780113,
-0.19936680793762207,
0.004202883690595627,
0.011449073441326618,
0.01509124506264925,
-0.02211284264922142,
-0.023737242445349693,
0.064661405980587,
-0.011426487006247044,
0.04232411086559296,
0.05346618965268135,
0.023380253463983536,
0.013157782144844532,
-0.01782989874482155,
-0.045175790786743164,
-0.02883690595626831,
0.038340017199516296,
0.013484879396855831,
-0.036108363419771194,
0.017743611708283424,
0.00843234546482563,
0.01757805049419403,
-0.05622035637497902,
-0.03402186185121536,
-0.026344478130340576,
-0.009920742362737656,
-0.0012546504149213433,
0.014078019186854362,
0.034105416387319565,
0.004470753017812967,
0.03230058029294014,
0.03230791166424751,
0.002380331279709935,
0.015094101428985596,
-0.17432618141174316,
0.08194287121295929,
-0.029206732288002968,
0.02003825269639492,
-0.018517950549721718,
0.013716227374970913,
-0.022790785878896713,
0.09477499127388,
0.026633568108081818,
-0.02769542671740055,
-0.05708756297826767,
0.04646633565425873,
0.008890252560377121,
-0.023129042237997055,
-0.03178579360246658,
0.014525064267218113,
-0.004831894300878048,
-0.0369635634124279,
0.009907606989145279,
0.01975051313638687,
-0.024394385516643524,
-0.026879791170358658,
-0.015905871987342834,
0.011266656219959259,
0.013959551230072975,
0.03649962320923805,
0.029056735336780548,
0.016291910782456398,
0.06762810796499252,
0.03577691689133644,
-0.006126932799816132,
0.006101292558014393,
-0.06633473187685013,
-0.03952997177839279,
0.028264140710234642,
0.0049813129007816315,
-0.024249263107776642,
0.3660438060760498,
-0.02615874819457531,
-0.06552408635616302,
0.06317300349473953,
0.08987239748239517,
-0.014092984609305859,
0.012814385816454887,
-0.01415945589542389,
-0.05697763338685036,
0.015105665661394596,
-0.0012901321751996875,
-0.0008191157248802483,
-0.02630598656833172,
0.007012739311903715,
-0.05641532689332962,
0.022884277626872063,
-0.0280667282640934,
0.026091376319527626,
0.0030555175617337227,
0.009387084282934666,
-0.0034226428251713514,
-0.004866768140345812,
0.008819391019642353,
0.026436010375618935,
0.01933983527123928,
0.02059519663453102,
-0.00022261131380219012,
0.050197552889585495,
0.06305445730686188,
0.03577985242009163,
-0.012993828393518925,
0.06330864876508713,
-0.03595193848013878,
-0.09219866991043091,
0.0012579747708514333,
-0.03125806525349617,
0.0017989363986998796,
0.0596640408039093,
-0.003114055609330535,
-0.011358668096363544,
0.01852843537926674,
-0.04697762057185173,
-0.006239075213670731,
0.03952525183558464,
-0.015018363483250141,
-0.018902134150266647,
0.12568239867687225,
-0.005527930799871683,
-0.04076017439365387,
0.018239786848425865,
-0.038988396525382996,
-0.009911592118442059,
-0.007717052008956671,
0.028200821951031685,
-0.05844757705926895,
0.01326893363147974,
0.05012999475002289,
0.07848398387432098,
-0.018760181963443756,
-0.08099564164876938,
-0.02231845073401928,
-0.040227506309747696,
-0.028825493529438972,
-0.06363628059625626,
0.036871667951345444,
0.07284006476402283,
-0.07645562291145325,
-0.03548920527100563,
0.037945620715618134,
0.0067847976461052895,
-0.08251532912254333,
0.04208602011203766,
0.02084018476307392,
-0.049645572900772095,
-0.0016408407827839255,
0.08603689074516296,
0.018057020381093025,
-0.014960285276174545,
-0.005810215137898922,
0.037971872836351395,
0.016974233090877533,
0.028452888131141663,
0.006929448340088129,
-0.03216404840350151,
0.015242406167089939,
-0.06340459734201431,
-0.03843667730689049,
-0.06866174936294556,
-0.0012286568526178598,
-0.031245416030287743,
-0.011642598547041416,
0.020084671676158905,
-0.05850991606712341,
-0.06787701696157455,
0.040329791605472565,
-0.041552912443876266,
0.01087618712335825,
0.01119602657854557,
-0.0042956736870110035,
-0.004864437039941549,
-0.0554652139544487,
-0.004720351193100214,
-0.003932223189622164,
0.042498815804719925,
0.032366227358579636,
-0.053729698061943054,
0.04001128301024437,
0.0564911887049675,
-0.03597452864050865,
0.04860502481460571,
0.0790625512599945,
-0.00026127713499590755,
-0.0180782750248909,
0.007420496549457312,
-0.01021442748606205,
-0.001950373174622655,
0.06554412841796875,
-0.03954681381583214,
-0.01982569508254528,
0.0041517517529428005,
0.03579051420092583,
0.0027381740510463715,
-0.07018866389989853,
0.013500431552529335,
-0.3511276841163635,
-0.061209455132484436,
0.036964233964681625,
0.014961311593651772,
0.07113958895206451,
-0.01718886010348797,
-0.011885356158018112,
0.0008691141847521067,
0.02241051197052002,
0.03540569916367531,
0.070480577647686,
0.011438892222940922,
-0.0052323476411402225,
-0.14058750867843628,
0.0006650758441537619,
0.04368918389081955,
-0.05344272032380104,
-0.02567090466618538,
-0.021655675023794174,
0.001907259807921946,
-0.00601228978484869,
-0.008891187608242035,
-0.05824325978755951,
-0.036599043756723404,
0.02281268872320652,
-0.014256283640861511,
0.13645224273204803,
-0.011476398445665836,
0.08451343327760696,
-0.05533450096845627,
0.032364439219236374,
-0.03601871430873871,
0.016436973586678505,
0.022782767191529274,
0.02276735194027424,
-0.011830901727080345,
-0.001712534693069756,
0.031186509877443314,
-0.029796278104186058,
-0.07122647762298584,
-0.05419676750898361,
0.004906489048153162,
-0.018990548327565193,
-0.002252554288133979,
-0.07362330704927444,
0.033023715019226074,
0.028721891343593597,
-0.022960474714636803,
-0.024428565055131912,
0.07688363641500473,
0.005622110795229673,
0.022545626387000084,
0.0510970763862133,
0.01745169423520565,
0.03552339971065521,
-0.008745769038796425,
-0.0872640609741211,
0.007352545391768217,
-0.023318680003285408,
-0.018972553312778473,
-0.00039037433452904224,
0.036229293793439865,
0.10700573027133942,
-0.07891549915075302,
-0.016707517206668854,
0.008970724418759346,
0.01408393308520317,
-0.03868803754448891,
0.002326063346117735,
0.05016868934035301,
-0.01754545234143734,
0.09075950086116791,
-0.031341489404439926,
-0.006178800016641617,
-0.007069765590131283,
0.03314810246229172,
-0.03466450795531273,
0.03241080045700073,
-0.0033288979902863503,
0.011698025278747082,
0.0407433956861496,
-0.03833932429552078,
0.006524958647787571,
-0.023320885375142097,
-0.005779181607067585,
-0.027080023661255836,
-0.0359751395881176,
-0.0245733093470335,
0.022683558985590935,
0.0818682387471199,
-0.0035577076487243176,
-0.03662567585706711,
-0.0103381909430027,
-0.06216495484113693,
0.06637789309024811,
-0.007697846740484238,
-0.2759952247142792,
0.017130915075540543,
0.061696816235780716,
0.04312097281217575,
-0.017368698492646217,
0.011206026189029217,
0.023339712992310524,
-0.006050670985132456,
0.017735669389367104,
0.019359536468982697,
0.007237695623189211,
0.059537701308727264,
0.03345462679862976,
0.011622823774814606,
0.004088576417416334,
-0.061499759554862976,
0.037322599440813065,
-0.02008790522813797,
0.0372084304690361,
-0.006968540605157614,
0.04624076932668686,
-0.046113405376672745,
0.1300826221704483,
0.032203931361436844,
0.041130706667900085,
-0.0047350721433758736,
-0.03384680673480034,
-0.04936651140451431,
0.07562871277332306,
-0.02427077479660511,
0.011586394160985947,
0.03592044860124588,
0.032090749591588974,
0.024366749450564384,
0.0452386811375618,
-0.013351746834814548,
-0.04232203587889671,
0.05916823074221611,
0.002092961221933365,
-0.015585723333060741,
0.012816832400858402,
0.029260754585266113,
-0.024293620139360428,
0.05930055305361748,
0.07432906329631805,
0.002606093417853117,
0.01089420821517706,
-0.05723060667514801,
-0.028454145416617393,
-0.0026797191239893436,
-0.0011001962702721357,
0.007535886950790882,
-0.04684935510158539,
-0.010148095898330212,
-0.006909909658133984,
0.05872108042240143,
0.026088034734129906,
-0.005865711253136396,
0.035154830664396286,
0.0032305154018104076,
-0.008122598752379417,
-0.10817278921604156,
0.08593234419822693,
-0.037647075951099396,
0.007298845332115889
] | [
0.001884742989204824,
0.0039756037294864655,
-0.00959993526339531,
0.00021351739997044206,
-0.03471909463405609,
-0.038553833961486816,
-0.0037036328576505184,
0.004237990360707045,
-0.03878340497612953,
0.02371544949710369,
0.002850746037438512,
0.04600386321544647,
-0.008092670701444149,
-0.0006263148970901966,
-0.0006964775384403765,
-0.015512554906308651,
-0.014814317226409912,
0.036691900342702866,
0.02473180927336216,
-0.001173918368294835,
-0.04436459392309189,
0.015717865899205208,
0.01619110070168972,
0.0028038013260811567,
-0.01953413523733616,
0.0537024550139904,
-0.039531148970127106,
0.015262764878571033,
0.03683242201805115,
-0.09876664727926254,
0.0063720280304551125,
-0.0036065608728677034,
0.009523797780275345,
0.009797923266887665,
-0.06820579618215561,
-0.029902270063757896,
-0.02749267965555191,
0.020704474300146103,
0.03021000139415264,
0.011539176106452942,
0.05499084293842316,
0.016852837055921555,
0.031256385147571564,
-0.008981935679912567,
0.031076479703187943,
0.0005063500721007586,
-0.023947929963469505,
-0.02512054517865181,
-0.004906133282929659,
-0.016223551705479622,
0.006519237998872995,
-0.0054277232848107815,
-0.04689806327223778,
0.02585361897945404,
-0.02038360759615898,
-0.005765986163169146,
-0.004660089034587145,
-0.0012757573276758194,
0.006175466347485781,
-0.009691365994513035,
-0.042153116315603256,
0.00018814778013620526,
-0.03125175088644028,
-0.012642926536500454,
-0.015675269067287445,
-0.02873719297349453,
0.008686898276209831,
0.018422642722725868,
0.016302144154906273,
0.03794889897108078,
0.0009210426360368729,
0.02866322733461857,
-0.07428131252527237,
-0.06131276488304138,
-0.02826548181474209,
0.012862035073339939,
0.032775066792964935,
0.0038690275978296995,
-0.008387082256376743,
0.04399578273296356,
-0.01524953544139862,
0.02005964145064354,
0.0056367842480540276,
0.014827489852905273,
-0.021467985585331917,
-0.053321633487939835,
0.0453963503241539,
0.006323596928268671,
0.04551536962389946,
-0.002213507890701294,
0.01212367694824934,
0.08886374533176422,
-0.012789248488843441,
-0.024640733376145363,
-0.09657981246709824,
0.0140337273478508,
0.040527068078517914,
-0.02302265353500843,
0.028636563569307327,
0.7685401439666748,
-0.012943018227815628,
-0.06291289627552032,
0.011398456059396267,
0.02284075692296028,
-0.03150763735175133,
0.006198177579790354,
0.011573555879294872,
-0.03283614292740822,
-0.024207429960370064,
-0.01362361665815115,
0.015318040736019611,
0.033733781427145004,
0.03801939636468887,
0.04746190086007118,
-0.009960982017219067,
0.007722967769950628,
-0.008274120278656483,
0.017626848071813583,
-0.010431848466396332,
0.015028323978185654,
0.007243187632411718,
0.006824587006121874,
0.01602959632873535,
0.006895174738019705,
-0.03470364212989807,
-0.18847256898880005,
-0.0051751951687037945,
-7.157255963738678e-33,
-0.010727668181061745,
-0.0490013025701046,
0.019385389983654022,
-0.011049536056816578,
-0.012999720871448517,
0.030689779669046402,
-0.04964254051446915,
-0.05101056769490242,
0.03002743050456047,
0.009463814087212086,
0.009722362272441387,
0.018993670120835304,
-0.031047118827700615,
0.012643846683204174,
0.03321846202015877,
0.023580806329846382,
0.008625970222055912,
0.022632503882050514,
0.014408067800104618,
-0.009561575949192047,
0.011578010395169258,
-0.03278607502579689,
0.05021626874804497,
0.03364846110343933,
-0.02464837022125721,
0.04684853181242943,
0.037247322499752045,
-0.032809801399707794,
0.027016766369342804,
-0.051024116575717926,
0.015270153060555458,
-0.011103483848273754,
-0.026630882173776627,
0.031175963580608368,
0.04368143156170845,
-0.031365104019641876,
-0.05767884850502014,
-0.0175335556268692,
0.015028227120637894,
0.0005048153107054532,
-0.02401530183851719,
-0.038807738572359085,
-0.041221052408218384,
-0.027939947322010994,
-0.051706213504076004,
0.049718715250492096,
0.04325567185878754,
0.051830701529979706,
0.029791947454214096,
0.037376049906015396,
-0.022689811885356903,
0.011484932154417038,
-0.015072637237608433,
-0.018643144518136978,
-0.0026107763405889273,
0.04794573783874512,
0.01669415272772312,
0.05019856244325638,
-0.024352073669433594,
0.025769097730517387,
0.011715625412762165,
0.0077587915584445,
0.03591596707701683,
0.001047582714818418,
-0.0013583758845925331,
-0.016916729509830475,
-0.0017937953816726804,
0.04855147749185562,
0.02318631112575531,
0.013655120506882668,
-0.02017713151872158,
0.026955192908644676,
-0.03730260580778122,
-0.008651805110275745,
0.07153035700321198,
-0.007082285359501839,
0.022968314588069916,
0.04919930547475815,
0.01942436955869198,
0.01649077981710434,
-0.004810216370970011,
-0.020096715539693832,
-0.046184394508600235,
-0.08461269736289978,
0.026689227670431137,
-0.007636410184204578,
-0.008519398979842663,
0.02075074426829815,
-0.013376793824136257,
0.010020951740443707,
0.0014833401655778289,
-0.031694572418928146,
-0.01331340428441763,
0.04146232828497887,
-0.03277534618973732,
8.040967637431919e-33,
-0.03802391514182091,
0.02277372218668461,
0.015957722440361977,
-0.003010476939380169,
0.0409088172018528,
-0.01454299595206976,
0.04475308209657669,
0.02996896393597126,
-0.001144323730841279,
0.0028285053558647633,
-0.027703743427991867,
-0.007075842469930649,
-0.008809453807771206,
0.05288981646299362,
0.06868616491556168,
-0.05495784431695938,
0.0051156869158148766,
-0.015775661915540695,
-0.01928471401333809,
0.00974829401820898,
-0.025227217003703117,
-0.03687754645943642,
-0.002481525531038642,
0.06637468189001083,
0.014074848033487797,
0.03982345759868622,
0.006626104936003685,
0.009352067485451698,
-0.016809480264782906,
0.02004738710820675,
0.042295556515455246,
-0.01699615642428398,
0.003345935605466366,
-0.003011683700606227,
-0.03217324987053871,
0.025673160329461098,
0.04336274415254593,
0.011448077857494354,
-0.06445923447608948,
0.03946884348988533,
-0.004423966631293297,
-0.012237814255058765,
0.00816324446350336,
-0.003881256328895688,
-0.010105825960636139,
0.016549739986658096,
-0.006017742212861776,
0.019805509597063065,
-0.016733456403017044,
-0.01723611168563366,
-0.00747276097536087,
0.04123679921030998,
-0.01195711549371481,
0.026835951954126358,
0.03815469518303871,
0.003977135755121708,
-0.02914806269109249,
0.001294758403673768,
-0.01444388460367918,
-0.030664417892694473,
0.009942175820469856,
-0.0038689833600074053,
-0.046780768781900406,
-0.000873134471476078,
-0.04893764853477478,
-0.02747943252325058,
0.023427164182066917,
-0.1008661761879921,
-0.03157953917980194,
0.049755822867155075,
-0.004073874559253454,
0.008586231619119644,
-0.009007866494357586,
-0.046572763472795486,
0.023743359372019768,
-0.0223564263433218,
-0.012438060715794563,
-0.037842169404029846,
0.006370156072080135,
-0.003363074501976371,
0.06705943495035172,
-0.03183930367231369,
0.040576402097940445,
-0.0043414076790213585,
-0.033880870789289474,
-0.001358273671939969,
-0.05878680944442749,
0.022175267338752747,
0.08079034090042114,
0.03295379877090454,
-0.0028271975461393595,
0.025022676214575768,
-0.05643729865550995,
0.02539982832968235,
-0.023512423038482666,
-1.2764147072630294e-8,
-0.0005382791860029101,
-0.0018513769609853625,
-0.018947316333651543,
0.034101489931344986,
0.027874870225787163,
0.041235581040382385,
0.020026398822665215,
-0.008539844304323196,
-0.031812191009521484,
0.0326557420194149,
0.03718038275837898,
-0.039752136915922165,
-0.036142364144325256,
0.011076929047703743,
0.01022209133952856,
-0.03562204912304878,
0.018760697916150093,
0.02190793678164482,
0.0388159416615963,
-0.036920346319675446,
0.045989058911800385,
0.045337580144405365,
-0.01930987276136875,
-0.002957080490887165,
0.05034344270825386,
-0.03414274752140045,
0.011167330667376518,
-0.06611848622560501,
-0.003960919566452503,
-0.03299066424369812,
0.030110914260149002,
-0.05446275696158409,
0.02034427598118782,
-0.0011187735944986343,
-0.0461147204041481,
-0.04555102810263634,
0.04418928548693657,
0.04381023719906807,
0.03707151114940643,
0.027753489091992378,
-0.019207999110221863,
0.039110518991947174,
0.004991702735424042,
-0.02383587695658207,
-0.04209432005882263,
0.040353454649448395,
-0.029190076515078545,
-0.009527037851512432,
0.031919658184051514,
-0.03385180979967117,
0.03939095139503479,
-0.04623400419950485,
-0.039243850857019424,
0.06535358726978302,
0.023849934339523315,
-0.03323555737733841,
0.0029979527462273836,
-0.018118390813469887,
-0.04274257272481918,
-0.046892404556274414,
-0.022015726193785667,
-0.035090379416942596,
-0.008666256442666054,
-0.04495007544755936
] | r-ggplot-plotting-a-single-variable-line-chart-geom_line-requires-the-following-missing-aesthetics-y | https://markhneedham.com/blog/2014/09/13/r-ggplot-plotting-a-single-variable-line-chart-geom_line-requires-the-following-missing-aesthetics-y |
false | 2014-09-13 08:15:26 | R: Calculating rolling or moving averages | [
"r-2",
"rstats"
] | [
"R"
] | I've been playing around with some time series data in R and since there's a bit of variation between consecutive points I wanted to smooth the data out by calculating the moving average.
I struggled to find an in built function to do this but came across http://druedin.com/2012/08/11/moving-averages-in-r/[Didier Ruedin's blog post] which described the following function to do the job:
[source,r]
----
mav <- function(x,n=5){filter(x,rep(1/n,n), sides=2)}
----
I tried plugging in some numbers to understand how it works:
[source,r]
----
> mav(c(4,5,4,6), 3)
Time Series:
Start = 1
End = 4
Frequency = 1
[1] NA 4.333333 5.000000 NA
----
Here I was trying to do a rolling average which took into account the last 3 numbers so I expected to get just two numbers back - 4.333333 and 5 - and if there were going to be NA values I thought they'd be at the beginning of the sequence.
In fact it turns out this is what the 'sides' parameter controls:
[source,text]
----
sides
for convolution filters only. If sides = 1 the filter coefficients are for past values only; if sides = 2 they
are centred around lag 0. In this case the length of the filter should be odd, but if it is even, more of the
filter is forward in time than backward.
----
So in our 'mav' function the rolling average looks both sides of the current value rather than just at past values. We can tweak that to get the behaviour we want:
[source,r]
----
mav <- function(x,n=5){filter(x,rep(1/n,n), sides=1)}
----
[source,r]
----
> mav(c(4,5,4,6), 3)
Time Series:
Start = 1
End = 4
Frequency = 1
[1] NA NA 4.333333 5.000000
----
The NA values are annoying for any plotting we want to do so let's get rid of them:
[source,r]
----
> na.omit(mav(c(4,5,4,6), 3))
Time Series:
Start = 3
End = 4
Frequency = 1
[1] 4.333333 5.000000
----
Having got to this point I noticed that Didier had referenced the http://cran.r-project.org/web/packages/zoo/index.html[zoo] package in the comments and it has a built in function to take care of all this:
[source,r]
----
> library(zoo)
> rollmean(c(4,5,4,6), 3)
[1] 4.333333 5.000000
----
I also realised I can list all the functions in a package with the 'ls' function so I'll be scanning zoo's list of functions next time I need to do something time series related - there'll probably already be a function for it!
[source,r]
----
> ls("package:zoo")
[1] "as.Date" "as.Date.numeric" "as.Date.ts"
[4] "as.Date.yearmon" "as.Date.yearqtr" "as.yearmon"
[7] "as.yearmon.default" "as.yearqtr" "as.yearqtr.default"
[10] "as.zoo" "as.zoo.default" "as.zooreg"
[13] "as.zooreg.default" "autoplot.zoo" "cbind.zoo"
[16] "coredata" "coredata.default" "coredata<-"
[19] "facet_free" "format.yearqtr" "fortify.zoo"
[22] "frequency<-" "ifelse.zoo" "index"
[25] "index<-" "index2char" "is.regular"
[28] "is.zoo" "make.par.list" "MATCH"
[31] "MATCH.default" "MATCH.times" "median.zoo"
[34] "merge.zoo" "na.aggregate" "na.aggregate.default"
[37] "na.approx" "na.approx.default" "na.fill"
[40] "na.fill.default" "na.locf" "na.locf.default"
[43] "na.spline" "na.spline.default" "na.StructTS"
[46] "na.trim" "na.trim.default" "na.trim.ts"
[49] "ORDER" "ORDER.default" "panel.lines.its"
[52] "panel.lines.tis" "panel.lines.ts" "panel.lines.zoo"
[55] "panel.plot.custom" "panel.plot.default" "panel.points.its"
[58] "panel.points.tis" "panel.points.ts" "panel.points.zoo"
[61] "panel.polygon.its" "panel.polygon.tis" "panel.polygon.ts"
[64] "panel.polygon.zoo" "panel.rect.its" "panel.rect.tis"
[67] "panel.rect.ts" "panel.rect.zoo" "panel.segments.its"
[70] "panel.segments.tis" "panel.segments.ts" "panel.segments.zoo"
[73] "panel.text.its" "panel.text.tis" "panel.text.ts"
[76] "panel.text.zoo" "plot.zoo" "quantile.zoo"
[79] "rbind.zoo" "read.zoo" "rev.zoo"
[82] "rollapply" "rollapplyr" "rollmax"
[85] "rollmax.default" "rollmaxr" "rollmean"
[88] "rollmean.default" "rollmeanr" "rollmedian"
[91] "rollmedian.default" "rollmedianr" "rollsum"
[94] "rollsum.default" "rollsumr" "scale_x_yearmon"
[97] "scale_x_yearqtr" "scale_y_yearmon" "scale_y_yearqtr"
[100] "Sys.yearmon" "Sys.yearqtr" "time<-"
[103] "write.zoo" "xblocks" "xblocks.default"
[106] "xtfrm.zoo" "yearmon" "yearmon_trans"
[109] "yearqtr" "yearqtr_trans" "zoo"
[112] "zooreg"
---- | null | null | [
0.0028363896999508142,
-0.0006193531444296241,
0.008264031261205673,
0.004269739147275686,
0.046144887804985046,
0.025831134989857674,
0.022164853289723396,
-0.017318977043032646,
-0.005536394659429789,
-0.014862701296806335,
0.0276208333671093,
0.015087950974702835,
-0.07269648462533951,
0.031331852078437805,
0.009325915016233921,
0.07835010439157486,
0.07859417796134949,
-0.03379266336560249,
0.03388270363211632,
0.006014399230480194,
0.006026905030012131,
0.05137796327471733,
0.0299798846244812,
0.023118432611227036,
0.017885643988847733,
-0.025199221447110176,
0.009552519768476486,
0.01621869206428528,
-0.023988503962755203,
-0.006246563512831926,
0.030285445973277092,
0.03637435659766197,
-0.03453707695007324,
0.004611819051206112,
0.022024603560566902,
-0.01727663166821003,
-0.024203602224588394,
0.013405394740402699,
0.024633269757032394,
-0.002869492629542947,
-0.055108316242694855,
-0.03704755753278732,
-0.040210381150245667,
-0.008895482867956161,
-0.03555312007665634,
-0.0077578360214829445,
-0.027553142979741096,
-0.007856618613004684,
0.002560268621891737,
0.02553691901266575,
-0.0654912143945694,
0.06468232721090317,
0.00450868159532547,
-0.0033890479244291782,
-0.016532449051737785,
0.0462673082947731,
-0.018675746396183968,
-0.07080356031656265,
0.015044999308884144,
-0.03091004304587841,
0.040997304022312164,
-0.01415333617478609,
-0.02729535847902298,
0.012586713768541813,
0.0009719388908706605,
0.007875834591686726,
0.01868116669356823,
0.026063159108161926,
-0.0027513166423887014,
0.004028656054288149,
-0.036340031772851944,
-0.012743552215397358,
-0.05018671229481697,
0.008652186021208763,
-0.030553583055734634,
-0.05239402502775192,
-0.0019591678865253925,
0.022701796144247055,
0.020753296092152596,
-0.01644345000386238,
0.002095250179991126,
-0.023562300950288773,
0.02360445447266102,
0.02683393843472004,
0.03364729881286621,
-0.057611774653196335,
0.0023886633571237326,
-0.015252441167831421,
-0.047700878232717514,
0.057669732719659805,
-0.032056212425231934,
-0.07634560763835907,
0.024229321628808975,
0.0015589871909469366,
-0.01819620281457901,
-0.020921967923641205,
-0.005730500444769859,
-0.011899629607796669,
0.039575353264808655,
-0.000565428112167865,
-0.06711991131305695,
-0.033437397330999374,
0.04777203127741814,
0.03598251938819885,
-0.03127019479870796,
0.0008165996987372637,
-0.011225493624806404,
-0.004881734494119883,
-0.0036745802499353886,
0.021720167249441147,
-0.0170203298330307,
0.00005603709723800421,
0.011900747194886208,
-0.0058420151472091675,
-0.08221717178821564,
0.027523178607225418,
0.020459625869989395,
-0.024553827941417694,
-0.0034408902283757925,
0.003657194087281823,
0.07083982974290848,
0.010422581806778908,
-0.04706505686044693,
0.03237849473953247,
-0.025267044082283974,
0.043561093509197235,
0.037188898772001266,
0.05610872805118561,
-0.0018955104751512408,
-0.06378187239170074,
-0.01055660005658865,
0.03235219791531563,
-0.024504024535417557,
0.026362385600805283,
0.002004721900448203,
-0.04042240232229233,
-0.009901963174343109,
-0.014189302921295166,
0.05356293544173241,
0.0389842689037323,
0.05849583446979523,
-0.018158763647079468,
0.009844349697232246,
-0.0287570059299469,
0.020176032558083534,
0.008956760168075562,
-0.0266413614153862,
-0.04547273367643356,
-0.04349171370267868,
-0.006018740590661764,
0.022745616734027863,
0.03997856751084328,
0.07226812094449997,
-0.037460021674633026,
0.023880435153841972,
0.03266843780875206,
0.028673261404037476,
0.007223262917250395,
0.006469673477113247,
-0.0012966609792783856,
0.04048578068614006,
0.06523089110851288,
0.004134907852858305,
0.06323356181383133,
-0.007743221707642078,
-0.04161885753273964,
0.02305198274552822,
0.054556794464588165,
-0.025792978703975677,
0.01887989602982998,
-0.05525040626525879,
-0.03697264939546585,
0.07499916106462479,
0.008950794115662575,
-0.00417040241882205,
0.01911638118326664,
0.05598052218556404,
0.02779489755630493,
0.035908401012420654,
0.01838906668126583,
-0.07143673300743103,
0.07403788715600967,
0.01789465919137001,
0.04054120182991028,
0.07654538750648499,
-0.037997711449861526,
0.06569740176200867,
0.003428892232477665,
0.04769132286310196,
0.024217721074819565,
-0.04090499132871628,
-0.038268715143203735,
-0.03648063540458679,
0.003669662168249488,
0.009438559412956238,
-0.0006548446253873408,
-0.023219315335154533,
0.06254779547452927,
0.034343618899583817,
0.02676103264093399,
0.006934513337910175,
-0.009367707185447216,
0.0539880096912384,
-0.05404301732778549,
-0.018961917608976364,
0.01756313070654869,
0.01964361034333706,
-0.05003725364804268,
0.021419940516352654,
0.025282204151153564,
-0.05507921054959297,
0.025522224605083466,
0.018356718122959137,
-0.012265237048268318,
0.0666377991437912,
0.039930082857608795,
0.038257431238889694,
-0.010312655009329319,
0.00237922091037035,
-0.03270967677235603,
0.012226872146129608,
-0.016116933897137642,
-0.021857811138033867,
-0.039605021476745605,
-0.0046861968003213406,
0.12481261789798737,
0.08042916655540466,
-0.022735517472028732,
-0.05641522631049156,
0.007911060936748981,
-0.02737507037818432,
-0.015216928906738758,
-0.006957081146538258,
-0.01339837908744812,
0.020452585071325302,
0.01383486483246088,
-0.016660841181874275,
0.0006301130051724613,
-0.018077153712511063,
-0.017401324585080147,
0.031579408794641495,
0.0524049773812294,
0.0209612138569355,
0.04287124425172806,
-0.0054894075728952885,
-0.023012425750494003,
0.018899379298090935,
-0.017755568027496338,
-0.06730145215988159,
0.0016579742077738047,
0.007625095080584288,
-0.004921691492199898,
0.05291587859392166,
-0.036870379000902176,
-0.018086634576320648,
-0.02746559865772724,
-0.050338342785835266,
0.0051072994247078896,
0.04645705223083496,
0.058744512498378754,
0.0398159883916378,
0.03563624247908592,
-0.004651455674320459,
-0.016381243243813515,
-0.044326409697532654,
-0.05991250276565552,
-0.03929062560200691,
-0.007630305364727974,
0.0014236167771741748,
0.026900947093963623,
0.0386308953166008,
0.00653906911611557,
0.04247467219829559,
0.009025457315146923,
0.017913611605763435,
-0.05259433761239052,
0.04551186412572861,
0.0043899728916585445,
-0.03411665931344032,
-0.002626592293381691,
0.03570171445608139,
0.07148279994726181,
0.007635558024048805,
-0.02637774869799614,
-0.003139374777674675,
-0.07795526832342148,
0.06565090268850327,
-0.021219784393906593,
0.011003493331372738,
0.017562320455908775,
-0.01835603080689907,
0.019205885007977486,
0.015895359218120575,
0.013258103281259537,
0.016626156866550446,
0.042989443987607956,
0.023632248863577843,
0.02392592653632164,
0.01398678869009018,
0.027181629091501236,
0.006328702438622713,
-0.01769273541867733,
0.07090921700000763,
0.01877894438803196,
-0.0016643416602164507,
-0.04840261489152908,
-0.0339341014623642,
-0.03215046599507332,
-0.25593963265419006,
0.018358083441853523,
-0.014845545403659344,
-0.036225415766239166,
0.012974096462130547,
-0.05696922168135643,
0.0335286445915699,
-0.022067829966545105,
-0.026971718296408653,
-0.012666285037994385,
0.02326669543981552,
-0.026541559025645256,
-0.052318889647722244,
0.061373431235551834,
0.018063930794596672,
-0.009325009770691395,
-0.020500890910625458,
-0.038724061101675034,
0.021204382181167603,
0.06546884775161743,
0.040386442095041275,
-0.042332638055086136,
-0.01938025653362274,
0.04925008863210678,
-0.0036235316656529903,
0.053843315690755844,
-0.03828801214694977,
0.019334422424435616,
-0.055671121925115585,
-0.027949552983045578,
-0.011498228646814823,
-0.0376196950674057,
0.03375694528222084,
-0.0034503035712987185,
0.04461907222867012,
-0.03532421961426735,
0.004878784529864788,
0.007757742889225483,
0.0500999353826046,
0.018903858959674835,
-0.007760301697999239,
-0.022439390420913696,
0.026745159178972244,
0.01806866191327572,
0.051626402884721756,
0.028033128008246422,
-0.029697922989726067,
0.027957741171121597,
-0.018876932561397552,
0.08622916042804718,
-0.009390169754624367,
0.017249207943677902,
-0.01915031671524048,
0.011284041218459606,
-0.06759065389633179,
-0.04119762405753136,
-0.022509125992655754,
0.007412045728415251,
0.0038093349430710077,
0.0023409074638038874,
-0.020129449665546417,
-0.02717095986008644,
0.011891290545463562,
-0.04600713402032852,
-0.027418650686740875,
-0.0728728324174881,
-0.09091407060623169,
-0.02826080657541752,
0.08023083955049515,
0.01888430118560791,
-0.01058423612266779,
-0.020718509331345558,
-0.0013721402501687407,
-0.11419583112001419,
-0.0032867174595594406,
-0.023550210520625114,
0.011084448546171188,
0.0030615325085818768,
0.01129681896418333,
0.047560397535562515,
-0.02446635067462921,
-0.0490601509809494,
0.017184104770421982,
0.013732930645346642,
-0.004006281495094299,
-0.024406325072050095,
0.028424883261322975,
0.0017672103131189942,
-0.014397489838302135,
-0.04324457421898842,
0.08885112404823303,
-0.042052511125802994,
-0.018324101343750954,
-0.013761716894805431,
-0.009213626384735107,
-0.015964193269610405,
-0.040871214121580124,
0.013254943303763866,
0.054864056408405304,
0.007124083582311869,
0.05054507032036781,
-0.08583690971136093,
0.020450400188565254,
-0.07064189016819,
-0.03981838747859001,
-0.015347454696893692,
-0.05598766356706619,
0.026682600378990173,
0.030905868858098984,
0.04048362374305725,
-0.00109286664519459,
-0.008142386563122272,
0.04113371670246124,
-0.02430443838238716,
0.010182068683207035,
0.004420068580657244,
0.019390888512134552,
-0.01151224970817566,
0.033134933561086655,
0.004598744213581085,
-0.035495590418577194,
-0.005188868381083012,
-0.008313675411045551,
-0.042370740324258804,
-0.012286248616874218,
-0.025005124509334564,
-0.01426220778375864,
-0.015610083006322384,
-0.007511843461543322,
-0.0037042838521301746,
-0.005596078000962734,
0.02766154333949089,
0.05733456835150719,
-0.007528040092438459,
0.05245509371161461,
-0.03811664879322052,
-0.032415878027677536,
-0.01723558083176613,
0.024472760036587715,
0.0074083274230360985,
-0.037750255316495895,
0.010158192366361618,
-0.0004233050567563623,
0.034273434430360794,
0.0038569974713027477,
0.017926368862390518,
0.03869977965950966,
-0.013724406249821186,
0.020711654797196388,
-0.03054720349609852,
0.006184839643537998,
-0.01959921047091484,
-0.03331391513347626,
-0.017304953187704086,
-0.006261305417865515,
0.013067766092717648,
0.03162987530231476,
-0.012824459932744503,
-0.026175489649176598,
-0.04934574291110039,
0.037537582218647,
-0.010709972120821476,
-0.07414289563894272,
-0.029392534866929054,
-0.012072810903191566,
0.04419906064867973,
-0.04147755354642868,
-0.0036163353361189365,
0.05560925602912903,
0.019434435293078423,
-0.013556553982198238,
-0.005997048690915108,
-0.022515250369906425,
-0.020339252427220345,
-0.03668760508298874,
-0.00020970792684238404,
0.0543333925306797,
-0.021005265414714813,
0.008268303237855434,
-0.035331789404153824,
0.003776772413402796,
-0.0017703757621347904,
-0.0054593742825090885,
0.003817269578576088,
0.037920065224170685,
0.053282491862773895,
-0.03701913356781006,
-0.0108925336971879,
-0.012581181712448597,
-0.014233018271625042,
-0.04546681419014931,
-0.01697535067796707,
-0.03392438963055611,
-0.00027488369960337877,
-0.04245647042989731,
-0.05998193845152855,
0.01738898456096649,
0.036135684698820114,
-0.057817719876766205,
-0.013297401368618011,
-0.022677328437566757,
0.0014046294381842017,
-0.00595377990975976,
0.03566741570830345,
0.049022916704416275,
-0.04553162679076195,
0.002507889876142144,
0.032210271805524826,
-0.011695035733282566,
0.03619113191962242,
0.006066248752176762,
-0.029428623616695404,
-0.010372358374297619,
-0.020870376378297806,
0.012653600424528122,
-0.017568331211805344,
-0.04182913154363632,
-0.04286836460232735,
0.007576806005090475,
-0.0118509316816926,
0.012032534927129745,
-0.0016502320067957044,
-0.0202912800014019,
-0.03541223332285881,
-0.023731468245387077,
0.015631651505827904,
-0.029662761837244034,
-0.021733595058321953,
0.04998285323381424,
0.001805386389605701,
-0.007719450630247593,
-0.011639292351901531,
0.03832089900970459,
0.018598584458231926,
-0.019810793921351433,
-0.004681622143834829,
-0.06379754841327667,
0.02807423658668995,
-0.037356454879045486,
0.03507896512746811,
0.0005808983696624637,
0.027162278071045876,
-0.046408504247665405,
0.023352719843387604,
-0.02351926825940609,
0.0006316440412774682,
0.013329780660569668,
-0.013782178051769733,
0.02329958602786064,
0.0887870192527771,
0.002076447242870927,
-0.00613333098590374,
0.0030456820968538523,
0.0019974769093096256,
0.06797771155834198,
-0.024925705045461655,
-0.03934341296553612,
-0.028942564502358437,
-0.031012210994958878,
0.020064357668161392,
-0.00488567678257823,
-0.03717481717467308,
-0.046654947102069855,
-0.0075742751359939575,
0.02366596832871437,
0.019884338602423668,
0.07281264662742615,
0.022256288677453995,
0.05352121219038963,
-0.029637852683663368,
0.013681666925549507,
-0.1024341955780983,
0.0035560738760977983,
0.056014787405729294,
0.03601982071995735,
-0.02429487183690071,
-0.019489340484142303,
-0.04009547084569931,
0.03927446901798248,
-0.06735892593860626,
-0.04613805562257767,
0.03969639167189598,
0.003174617188051343,
0.007815658114850521,
0.008269988000392914,
-0.04166640341281891,
0.021422799676656723,
0.047041475772857666,
-0.03490477055311203,
0.013525383546948433,
-0.022540966048836708,
0.04764832556247711,
0.012182071805000305,
0.023066096007823944,
-0.024581793695688248,
0.007768359500914812,
0.08670983463525772,
0.035595186054706573,
0.011819776147603989,
0.05597035214304924,
-0.026409277692437172,
0.05029621347784996,
0.019562795758247375,
-0.011398614384233952,
-0.012340621091425419,
0.01420259103178978,
0.0321846567094326,
-0.021443776786327362,
0.0389961376786232,
0.021717388182878494,
-0.04741618037223816,
-0.06649463623762131,
0.07237637042999268,
-0.004290728364139795,
-0.01795251853764057,
-0.050734106451272964,
0.013521628454327583,
-0.036112722009420395,
-0.009330742061138153,
0.012831651605665684,
-0.03055736795067787,
-0.019293121993541718,
0.05044381693005562,
-0.04542651027441025,
-0.0034479727037250996,
0.06345773488283157,
-0.02619977295398712,
-0.00414417264983058,
0.019472960382699966,
0.04720348119735718,
0.08241402357816696,
0.07365940511226654,
-0.04697092995047569,
0.058069951832294464,
-0.015506099909543991,
-0.025626087561249733,
0.04225309565663338,
-0.01993734762072563,
-0.009149802848696709,
-0.04323004558682442,
0.06383758783340454,
0.09147907048463821,
-0.036853108555078506,
0.06097981333732605,
-0.035956062376499176,
-0.047082237899303436,
0.011949848383665085,
-0.042912326753139496,
0.014403358101844788,
0.007073207758367062,
-0.0007439926266670227,
0.011292061768472195,
-0.00391773134469986,
-0.054257724434137344,
0.0312630832195282,
0.02311139740049839,
-0.012716388329863548,
0.0023193282540887594,
0.02887650765478611,
-0.015020245686173439,
0.011709235608577728,
-0.0070741004310548306,
0.08735385537147522,
-0.05314259976148605,
-0.03344842791557312,
-0.01774773746728897,
0.043483916670084,
-0.030929969623684883,
-0.0013630400644615293,
-0.01568060740828514,
-0.01340762060135603,
0.03190307319164276,
-0.027315765619277954,
-0.030451571568846703,
0.0029672204982489347,
-0.014452002942562103,
-0.018242133781313896,
-0.05809882655739784,
-0.001788213849067688,
0.04607301577925682,
-0.06111948564648628,
-0.029078805819153786,
-0.02964186482131481,
-0.060758259147405624,
-0.07634434103965759,
-0.06895224004983902,
-0.004941684193909168,
0.007613474503159523,
-0.04399936646223068,
-0.042547207325696945,
-0.027338800951838493,
0.00963754765689373,
-0.028012018650770187,
0.009034590795636177,
-0.051543861627578735,
-0.04974159970879555,
0.006947193760424852,
-0.0022198432125151157,
0.013985645957291126,
0.007378187961876392,
0.039084311574697495,
0.018905989825725555,
-0.011873792856931686,
-0.031087791547179222,
0.02383122593164444,
0.04995227977633476,
0.037332985550165176,
-0.015145068056881428,
-0.05908610299229622,
-0.003842062084004283,
0.005875752307474613,
-0.019896429032087326,
-0.09084086865186691,
0.019597146660089493,
0.015239396132528782,
-0.02667078748345375,
0.049238793551921844,
-0.03658678010106087,
-0.00793648324906826,
-0.028912603855133057,
-0.01867046020925045,
-0.01835675537586212,
0.01731746830046177,
0.039010245352983475,
-0.0028548301197588444,
0.05779615417122841,
0.027288910001516342,
-0.0001665821619099006,
-0.030398866161704063,
0.005450552795082331,
-0.014215385541319847,
-0.004553995560854673,
-0.04289296641945839,
0.008838257752358913,
-0.05328888073563576,
-0.11371193081140518,
-0.021999765187501907,
0.022083420306444168,
-0.043482210487127304,
-0.01191974338144064,
0.04510663077235222,
0.01732538267970085,
-0.02457527443766594,
0.015609758906066418,
-0.015914196148514748,
0.004721444100141525,
-0.046074602752923965,
-0.03647848963737488,
0.03545156121253967,
0.045743197202682495,
-0.016422459855675697,
-0.0019826339557766914,
0.002578337676823139,
-0.02340412512421608,
0.027814175933599472,
-0.018231134861707687,
0.0022132417652755976,
0.049823030829429626,
0.036031175404787064,
0.008158478885889053
] | [
-0.06723985075950623,
-0.006598389241844416,
-0.03422573581337929,
-0.009421692229807377,
0.0722854733467102,
-0.000725685793440789,
-0.012492891401052475,
0.02878587879240513,
0.033929042518138885,
0.012315996922552586,
0.013127966783940792,
-0.050737250596284866,
0.011281562969088554,
-0.022449085488915443,
0.04409273341298103,
-0.010432249866425991,
-0.03374943509697914,
-0.05548270046710968,
-0.027023455128073692,
0.02662644349038601,
-0.0062343101017177105,
-0.012968271039426327,
-0.055225472897291183,
-0.016988573595881462,
0.07300492376089096,
0.022420767694711685,
0.009400748647749424,
-0.02186594344675541,
-0.028046026825904846,
-0.24126996099948883,
0.003124889684841037,
0.0032697408460080624,
0.027507642284035683,
-0.007405507378280163,
-0.027606477960944176,
0.029628368094563484,
-0.005224623251706362,
0.01209176704287529,
0.02105426974594593,
0.04327526316046715,
0.021982479840517044,
0.008744459599256516,
-0.00005591912486124784,
-0.049603600054979324,
0.008370811119675636,
0.03065679967403412,
-0.025121070444583893,
0.013324135914444923,
0.0005975693347863853,
0.03227163478732109,
-0.051145073026418686,
0.01310827024281025,
-0.014202279970049858,
0.03600577637553215,
0.005710407625883818,
0.03821640461683273,
0.019699743017554283,
0.014227254316210747,
0.024091873317956924,
0.012694125063717365,
0.022817464545369148,
0.006894213147461414,
-0.1966634839773178,
0.09017301350831985,
-0.004750750493258238,
0.012763303704559803,
0.01689976081252098,
-0.0020829993300139904,
-0.03489876911044121,
0.06788059324026108,
-0.02026173286139965,
-0.022437134757637978,
-0.05304595082998276,
0.029478775337338448,
0.028293054550886154,
-0.025229359045624733,
-0.023139264434576035,
0.006253491621464491,
-0.0002576968399807811,
-0.044853247702121735,
0.03246691823005676,
0.009344840422272682,
-0.04378380626440048,
-0.05478113889694214,
-0.00972733274102211,
0.0011487860465422273,
0.013373262248933315,
0.022142428904771805,
-0.00615927018225193,
0.006756662391126156,
0.017643708735704422,
0.030586346983909607,
0.03247782588005066,
0.032904595136642456,
-0.06167840212583542,
0.0018793002236634493,
0.045993316918611526,
0.04895038530230522,
0.007655671797692776,
0.3887642025947571,
-0.024389998987317085,
-0.008431170135736465,
0.02010941691696644,
0.05092142894864082,
-0.013021482154726982,
-0.018048493191599846,
-0.00493459589779377,
-0.02750677801668644,
0.016809314489364624,
-0.011640798300504684,
0.017787666991353035,
-0.019467242062091827,
0.046957049518823624,
-0.08561910688877106,
0.024520788341760635,
-0.007774267811328173,
0.0370626337826252,
0.004353917203843594,
0.03749138489365578,
-0.01955406554043293,
-0.010570521466434002,
-0.004473122768104076,
0.05892340838909149,
-0.009158977307379246,
0.03053915500640869,
0.006351910997182131,
0.07527311146259308,
0.10001575946807861,
0.04599003121256828,
0.006252042017877102,
0.05304749682545662,
-0.05977679789066315,
-0.09288505464792252,
0.03297964483499527,
-0.01534059178084135,
0.0009265468106605113,
0.012677649036049843,
-0.008508749306201935,
0.003782461164519191,
0.024188973009586334,
-0.06876125931739807,
-0.0021210352424532175,
0.03402387723326683,
-0.027430066838860512,
-0.04907400906085968,
0.11523090302944183,
-0.004938512574881315,
-0.02879459410905838,
-0.005788177251815796,
-0.07409722357988358,
0.023645266890525818,
0.03416966274380684,
0.00793319009244442,
-0.05805244296789169,
0.014199551194906235,
0.027728931978344917,
0.0731789693236351,
-0.04137147217988968,
-0.09593367576599121,
-0.047478385269641876,
-0.0728636384010315,
-0.034060001373291016,
-0.03810625150799751,
0.06164220720529556,
0.05278226360678673,
-0.048584211617708206,
-0.029633207246661186,
0.01940980739891529,
0.008979561738669872,
-0.053175974637269974,
0.035306163132190704,
-0.011545198038220406,
-0.014912364073097706,
0.017271192744374275,
0.09535212814807892,
-0.008887466974556446,
-0.008437012322247028,
0.014940598979592323,
0.0290529727935791,
-0.018507249653339386,
0.00811338797211647,
-0.008170134387910366,
-0.010570342652499676,
-0.0077796922996640205,
-0.04327017813920975,
-0.045713454484939575,
-0.07865376770496368,
0.004118120763450861,
-0.01589900441467762,
0.018615368753671646,
0.014571570791304111,
-0.06140599027276039,
-0.04383936524391174,
0.09828419238328934,
-0.029700228944420815,
-0.02624492347240448,
0.033407796174287796,
0.03230620548129082,
-0.010446248576045036,
-0.043274108320474625,
-0.04406343400478363,
-0.024612553417682648,
0.028535068035125732,
0.007879810407757759,
-0.05386795476078987,
0.04055732488632202,
0.021344568580389023,
-0.009113243781030178,
0.04973402991890907,
0.05294051021337509,
0.004374025389552116,
-0.0305989570915699,
-0.006108103320002556,
-0.013939881697297096,
-0.010395723395049572,
0.0004449585685506463,
-0.01814340613782406,
-0.04435528814792633,
0.0031285251025110483,
0.025202300399541855,
-0.0026272579561918974,
-0.045307356864213943,
0.0024872738867998123,
-0.3614990711212158,
-0.03224610909819603,
0.011312345042824745,
0.04307929426431656,
0.09060131013393402,
-0.07450886815786362,
0.010152922943234444,
-0.002435753820464015,
0.030183743685483932,
0.05732415243983269,
0.03309406712651253,
-0.005828909110277891,
-0.03167063370347023,
-0.10173355787992477,
0.012026980519294739,
0.06004864722490311,
-0.025646397843956947,
-0.010746710002422333,
-0.05168122798204422,
0.019937127828598022,
-0.01754983514547348,
0.001711175194941461,
-0.043544262647628784,
-0.020498625934123993,
0.054517313838005066,
-0.00635514734312892,
0.09744719415903091,
-0.03753190115094185,
0.05664613097906113,
-0.045822955667972565,
0.020006690174341202,
-0.010245375335216522,
0.036603789776563644,
0.01672266609966755,
-0.020730633288621902,
-0.04091206565499306,
0.03216712176799774,
0.04135318472981453,
-0.0360562764108181,
-0.03883820027112961,
-0.05764249339699745,
-0.00852438248693943,
-0.014731552451848984,
0.01200552936643362,
-0.07613489031791687,
0.028440073132514954,
-0.013780651614069939,
-0.02590913511812687,
-0.04024161025881767,
0.028699088841676712,
0.017560606822371483,
-0.013135373592376709,
0.0212958175688982,
-0.010353242978453636,
0.04189140722155571,
-0.019459407776594162,
-0.0663127452135086,
-0.0072768814861774445,
-0.005536186508834362,
-0.02234284207224846,
-0.018638884648680687,
0.059612225741147995,
0.07511323690414429,
-0.08851064741611481,
-0.030797608196735382,
0.011114240624010563,
0.018145788460969925,
-0.010129173286259174,
0.001052802661433816,
0.020231321454048157,
-0.007819993421435356,
0.1321108192205429,
-0.02154288813471794,
0.03121168538928032,
0.020726049318909645,
0.04516025260090828,
-0.03516297787427902,
0.044888146221637726,
-0.008290124125778675,
0.028682855889201164,
0.06202936917543411,
-0.041475363075733185,
0.015826040878891945,
-0.017384538426995277,
0.0330960676074028,
-0.023022929206490517,
-0.00685916980728507,
-0.031042594462633133,
0.015387320891022682,
0.05364442989230156,
-0.0016547158593311906,
-0.04188241437077522,
-0.00438375910744071,
-0.060419321060180664,
0.04283208027482033,
0.009575078263878822,
-0.25624436140060425,
0.02083303965628147,
0.04788549244403839,
0.02861304022371769,
-0.027119681239128113,
-0.014379876665771008,
0.003773328149691224,
-0.023904163390398026,
-0.019869476556777954,
0.01731620728969574,
-0.03357907757163048,
0.07942019402980804,
0.06607434898614883,
0.02092144452035427,
0.03458775207400322,
-0.03486691787838936,
0.015131905674934387,
-0.032150402665138245,
0.04557826370000839,
-0.0021182959899306297,
0.04837348312139511,
-0.04627995938062668,
0.14412470161914825,
0.016433509066700935,
0.012631735764443874,
0.017201656475663185,
-0.024909691885113716,
-0.04760289937257767,
0.06347036361694336,
-0.01857980154454708,
0.020499520003795624,
0.05344802886247635,
0.03204698488116264,
0.002920743077993393,
0.03389444202184677,
0.006935422774404287,
-0.05473819375038147,
0.06388971954584122,
0.011239257641136646,
-0.028109388425946236,
0.0236107986420393,
0.028491290286183357,
-0.0018663371447473764,
0.041137486696243286,
0.07476633042097092,
-0.02778683789074421,
-0.0017317576566711068,
-0.052047278732061386,
-0.024808280169963837,
-0.0007759021245874465,
-0.027549944818019867,
-0.013998787850141525,
-0.002330722054466605,
0.003539745695888996,
0.014442489482462406,
0.05309273302555084,
-0.007302317302674055,
-0.007847834378480911,
0.010852507315576077,
-0.006477853283286095,
-0.0011690636165440083,
-0.07978280633687973,
0.09254743158817291,
-0.017754195258021355,
0.016817735508084297
] | [
-0.018403315916657448,
0.02206459268927574,
0.025598594918847084,
0.022338874638080597,
-0.019460992887616158,
-0.011268197558820248,
0.003083631629124284,
-0.01959702931344509,
-0.01956825889647007,
0.013183827511966228,
-0.02680211327970028,
-0.01312519796192646,
-0.010299158282577991,
0.011393522843718529,
-0.026118645444512367,
-0.02110651321709156,
-0.013993910513818264,
0.012576946057379246,
0.044312234967947006,
0.010055921040475368,
-0.024664469063282013,
0.04694049805402756,
0.00805631559342146,
0.014960859902203083,
0.004491748753935099,
0.05571405589580536,
-0.04710550606250763,
0.04362710192799568,
0.03405837342143059,
-0.15438224375247955,
-0.02026960626244545,
-0.024542925879359245,
0.01268675085157156,
-0.015881141647696495,
-0.031041476875543594,
-0.01806417666375637,
-0.03784681111574173,
0.09234685450792313,
-0.019753966480493546,
0.004255582112818956,
0.007129488978534937,
0.025787295773625374,
0.06276583671569824,
0.014050713740289211,
0.009226606227457523,
0.0020850051660090685,
0.0059290784411132336,
-0.029522521421313286,
0.011964723467826843,
0.022125590592622757,
-0.03009718284010887,
0.021207012236118317,
-0.04307062551379204,
0.01517521496862173,
0.0028317435644567013,
-0.005756419617682695,
-0.026464063674211502,
0.010817445814609528,
0.04730738326907158,
-0.020412810146808624,
0.00957858469337225,
0.02335125021636486,
-0.0285391453653574,
-0.005254657939076424,
0.024416709318757057,
-0.02698504365980625,
-0.0298968106508255,
0.020436350256204605,
0.011731323786079884,
0.011297490447759628,
-0.024377789348363876,
0.012413125485181808,
0.004072176292538643,
-0.00992023665457964,
0.0029346048831939697,
0.008220710791647434,
0.008718554861843586,
-0.0413154661655426,
0.0035004918463528156,
0.008497096598148346,
-0.006032283883541822,
-0.017903780564665794,
-0.030696693807840347,
-0.028122002258896828,
-0.0352434478700161,
-0.038195859640836716,
0.03082297369837761,
-0.0025292520876973867,
0.047069113701581955,
-0.039309073239564896,
0.0011648887302726507,
0.05963358283042908,
-0.014940941706299782,
-0.003758544335141778,
-0.059693045914173126,
-0.005875539034605026,
-0.044763196259737015,
0.015364376828074455,
0.039371512830257416,
0.8288447856903076,
0.03207405284047127,
0.0017311407718807459,
0.02951677143573761,
0.022698868066072464,
0.028439685702323914,
-0.019297538325190544,
0.028951002284884453,
-0.007858214899897575,
-0.03063346818089485,
-0.0055060661397874355,
0.010615423321723938,
0.03805059567093849,
0.029878072440624237,
0.020423922687768936,
0.06285835802555084,
0.05634531378746033,
-0.00951493252068758,
-0.013765688054263592,
-0.02583753503859043,
-0.023063981905579567,
-0.023517640307545662,
-0.00825292058289051,
0.002450662897899747,
0.0003038111317437142,
0.020647261291742325,
-0.14411702752113342,
0.01600603014230728,
-7.084253356448799e-33,
0.005495833698660135,
-0.03249376267194748,
0.02572445012629032,
-0.007551384624093771,
0.019287146627902985,
0.00005565908577409573,
0.01166429091244936,
-0.016567859798669815,
0.04381440952420235,
-0.02113322727382183,
-0.014237791299819946,
-0.02461533434689045,
-0.02204938791692257,
-0.01755361258983612,
-0.0035905165132135153,
-0.03281564265489578,
0.012325556017458439,
0.009872974827885628,
-0.01861596293747425,
0.019815275445580482,
0.012811078689992428,
-0.0026573408395051956,
-0.006197122856974602,
0.03578277304768562,
0.00235571525990963,
0.04089606925845146,
0.02161070704460144,
-0.029600033536553383,
0.02803768962621689,
-0.04779791086912155,
0.014175745658576488,
0.03904290124773979,
-0.04134487733244896,
-0.04059838503599167,
0.028453486040234566,
-0.028907570987939835,
-0.040998078882694244,
0.008355597965419292,
0.003264396684244275,
-0.0224425308406353,
-0.06597458571195602,
-0.014242720790207386,
-0.04570937156677246,
0.02591029182076454,
-0.03822162747383118,
-0.03813628479838371,
-0.005343524273484945,
0.06610415130853653,
0.002584457630291581,
0.05035412684082985,
-0.005339097231626511,
-0.0416182242333889,
-0.009506994858384132,
-0.04137711971998215,
-0.013188894838094711,
0.020268432796001434,
0.003586492734029889,
0.030385741963982582,
-0.013239329680800438,
0.02981657162308693,
-0.006146732252091169,
0.009980845265090466,
0.0030114587862044573,
0.025672029703855515,
-0.011493286117911339,
-0.000477431807667017,
0.007432311307638884,
0.012422804720699787,
0.057062678039073944,
0.020530886948108673,
-0.023923851549625397,
0.0014683367917314172,
-0.028351129963994026,
-0.0210341177880764,
0.0513564758002758,
0.0008802198572084308,
-0.004459436517208815,
0.018478142097592354,
-0.004308836534619331,
0.0588257871568203,
0.007979732006788254,
-0.02569766528904438,
-0.02293882705271244,
-0.006158019881695509,
-0.0021957082208245993,
-0.004733410198241472,
0.016534585505723953,
0.017379185184836388,
0.0006591267301701009,
-0.00009126887016464025,
0.0253426693379879,
0.009597744792699814,
-0.0013333483366295695,
0.014083030633628368,
-0.04278279468417168,
7.698101649235982e-33,
0.014640162698924541,
0.0030244525987654924,
-0.012542388401925564,
0.010626433417201042,
0.010116184130311012,
-0.010670222342014313,
0.016062861308455467,
0.015804897993803024,
-0.01992914080619812,
0.0007997085340321064,
-0.0216020867228508,
-0.03574245423078537,
-0.013986930251121521,
0.001029970240779221,
0.0525645986199379,
-0.02953946404159069,
0.01763179898262024,
-0.0012524413177743554,
0.0017913595074787736,
0.046886105090379715,
-0.013435238040983677,
-0.005572129040956497,
-0.005944506265223026,
0.000038362122722901404,
0.019270993769168854,
0.04133821278810501,
0.006697230972349644,
-0.026768967509269714,
-0.006577541120350361,
-0.015075543895363808,
-0.0043594082817435265,
0.02964576706290245,
0.010187692940235138,
-0.011540419422090054,
-0.046109676361083984,
0.02026761695742607,
0.028060518205165863,
0.014474285766482353,
-0.03458806499838829,
0.018148204311728477,
0.040815163403749466,
0.02640879526734352,
-0.002538149245083332,
0.021695347502827644,
-0.0005226248758845031,
0.05078377202153206,
0.022479761391878128,
0.024294985458254814,
-0.010097281076014042,
0.01719917356967926,
-0.029270382598042488,
-0.013279969803988934,
-0.010488112457096577,
0.004910244606435299,
0.010384086519479752,
0.02462504245340824,
-0.02083800919353962,
0.020351465791463852,
-0.020042067393660545,
0.03140132501721382,
-0.03385511785745621,
-0.026796391233801842,
-0.02342292107641697,
-0.047139592468738556,
-0.038319870829582214,
0.037504538893699646,
0.006079527549445629,
-0.060481783002614975,
-0.019114673137664795,
-0.0044931513257324696,
0.002725436119362712,
-0.055491261184215546,
0.0010136840865015984,
0.00537865050137043,
-0.00993735808879137,
-0.04533323645591736,
-0.014899453148245811,
-0.041487883776426315,
-0.00331864389590919,
0.022610679268836975,
0.01539385411888361,
0.016077766194939613,
0.027586106210947037,
-0.007448337972164154,
-0.021780189126729965,
0.001891867257654667,
-0.038465049117803574,
-0.026372702792286873,
0.057264119386672974,
-0.0042564524337649345,
0.006510176230221987,
-0.01258668303489685,
-0.03132887929677963,
-0.0055098142474889755,
-0.011568089947104454,
-1.2968603968488424e-8,
0.023916499689221382,
-0.00666657043620944,
-0.0012866553151980042,
0.04341712221503258,
0.007514321710914373,
0.05851670727133751,
-0.028108779340982437,
0.008175005204975605,
-0.005170296411961317,
0.02002508006989956,
0.05364108085632324,
-0.030451936647295952,
-0.006963965483009815,
0.007906113751232624,
0.009847311303019524,
-0.005574465729296207,
-0.0076738279312849045,
0.02096536196768284,
0.029182681813836098,
-0.018949473276734352,
-0.0023107624147087336,
0.059478554874658585,
-0.04082847386598587,
0.01463991217315197,
0.02587384358048439,
0.023868542164564133,
-0.02885565534234047,
-0.08789301663637161,
0.003961971029639244,
-0.044484857469797134,
0.027063006535172462,
-0.00605655275285244,
0.011776542291045189,
-0.006688173860311508,
-0.049850042909383774,
-0.04357049614191055,
0.016593698412179947,
0.015210816636681557,
0.010362508706748486,
0.01823120191693306,
-0.016126001253724098,
0.032814349979162216,
-0.011713303625583649,
-0.04015296697616577,
-0.030056269839406013,
0.012696499936282635,
-0.020288338884711266,
-0.00812290795147419,
0.018861936405301094,
-0.002273516496643424,
0.028974488377571106,
-0.020140716806054115,
0.023562656715512276,
0.00891758780926466,
0.027243927121162415,
-0.0030592388939112425,
0.014621269889175892,
-0.047916460782289505,
-0.04308684915304184,
-0.01743403449654579,
0.015920501202344894,
-0.024753829464316368,
-0.02147573046386242,
-0.0383434034883976
] | r-calculating-rolling-or-moving-averages | https://markhneedham.com/blog/2014/09/13/r-calculating-rolling-or-moving-averages |
false | 2014-08-11 16:47:35 | R: Grouping by two variables | [
"r-2"
] | [
"R"
] | In my continued playing around with R and meetup data I wanted to group a data table by two variables - day and event - so I could see the most popular day of the week for meetups and which events we'd held on those days.
I started off with the following data table:
[source,r]
----
> head(eventsOf2014, 20)
eventTime event.name rsvps datetime day monthYear
16 1.393351e+12 Intro to Graphs 38 2014-02-25 18:00:00 Tuesday 02-2014
17 1.403635e+12 Intro to Graphs 44 2014-06-24 18:30:00 Tuesday 06-2014
19 1.404844e+12 Intro to Graphs 38 2014-07-08 18:30:00 Tuesday 07-2014
28 1.398796e+12 Intro to Graphs 45 2014-04-29 18:30:00 Tuesday 04-2014
31 1.395772e+12 Intro to Graphs 56 2014-03-25 18:30:00 Tuesday 03-2014
41 1.406054e+12 Intro to Graphs 12 2014-07-22 18:30:00 Tuesday 07-2014
49 1.395167e+12 Intro to Graphs 45 2014-03-18 18:30:00 Tuesday 03-2014
50 1.401907e+12 Intro to Graphs 35 2014-06-04 18:30:00 Wednesday 06-2014
51 1.400006e+12 Intro to Graphs 31 2014-05-13 18:30:00 Tuesday 05-2014
54 1.392142e+12 Intro to Graphs 35 2014-02-11 18:00:00 Tuesday 02-2014
59 1.400611e+12 Intro to Graphs 53 2014-05-20 18:30:00 Tuesday 05-2014
61 1.390932e+12 Intro to Graphs 22 2014-01-28 18:00:00 Tuesday 01-2014
70 1.397587e+12 Intro to Graphs 47 2014-04-15 18:30:00 Tuesday 04-2014
7 1.402425e+12 Hands On Intro to Cypher - Neo4j's Query Language 38 2014-06-10 18:30:00 Tuesday 06-2014
25 1.397155e+12 Hands On Intro to Cypher - Neo4j's Query Language 28 2014-04-10 18:30:00 Thursday 04-2014
44 1.404326e+12 Hands On Intro to Cypher - Neo4j's Query Language 43 2014-07-02 18:30:00 Wednesday 07-2014
46 1.398364e+12 Hands On Intro to Cypher - Neo4j's Query Language 30 2014-04-24 18:30:00 Thursday 04-2014
65 1.400783e+12 Hands On Intro to Cypher - Neo4j's Query Language 26 2014-05-22 18:30:00 Thursday 05-2014
5 1.403203e+12 Hands on build your first Neo4j app for Java developers 34 2014-06-19 18:30:00 Thursday 06-2014
34 1.399574e+12 Hands on build your first Neo4j app for Java developers 28 2014-05-08 18:30:00 Thursday 05-2014
----
I was able to work out the average number of RSVPs per day with the following code using plyr:
[source,r]
----
> ddply(eventsOf2014, .(day=format(datetime, "%A")), summarise,
count=length(datetime),
rsvps=sum(rsvps),
rsvpsPerEvent = rsvps / count)
day count rsvps rsvpsPerEvent
1 Thursday 5 146 29.20000
2 Tuesday 13 504 38.76923
3 Wednesday 2 78 39.00000
----
The next step was to show the names of events that happened on those days next to the row for that day. To do this we can make use of the http://stat.ethz.ch/R-manual/R-patched/library/base/html/paste.html[paste] function like so:
[source,r]
----
> ddply(eventsOf2014, .(day=format(datetime, "%A")), summarise,
events = paste(unique(event.name), collapse = ","),
count=length(datetime),
rsvps=sum(rsvps),
rsvpsPerEvent = rsvps / count)
day events count rsvps rsvpsPerEvent
1 Thursday Hands On Intro to Cypher - Neo4j's Query Language,Hands on build your first Neo4j app for Java developers 5 146 29.20000
2 Tuesday Intro to Graphs,Hands On Intro to Cypher - Neo4j's Query Language 13 504 38.76923
3 Wednesday Intro to Graphs,Hands On Intro to Cypher - Neo4j's Query Language 2 78 39.00000
----
If we wanted to drill down further and see the number of RSVPs per day per event type then we could instead group by the day and event name:
[source,r]
----
> ddply(eventsOf2014, .(day=format(datetime, "%A"), event.name), summarise,
count=length(datetime),
rsvps=sum(rsvps),
rsvpsPerEvent = rsvps / count)
day event.name count rsvps rsvpsPerEvent
1 Thursday Hands on build your first Neo4j app for Java developers 2 62 31.00000
2 Thursday Hands On Intro to Cypher - Neo4j's Query Language 3 84 28.00000
3 Tuesday Hands On Intro to Cypher - Neo4j's Query Language 1 38 38.00000
4 Tuesday Intro to Graphs 12 466 38.83333
5 Wednesday Hands On Intro to Cypher - Neo4j's Query Language 1 43 43.00000
6 Wednesday Intro to Graphs 1 35 35.00000
----
There are too few data points for some of those to make any decisions but as we gather more data hopefully we'll see if there's a trend for people to come to events on certain days or not. | null | null | [
0.001991830999031663,
-0.006940550170838833,
-0.018908372148871422,
0.05685891583561897,
0.07186318188905716,
0.001447270973585546,
0.040080077946186066,
0.0005169236683286726,
0.027081111446022987,
0.013860736973583698,
0.02552456222474575,
0.00020462472457438707,
-0.07071956992149353,
0.006871592719107866,
-0.022838391363620758,
0.06833302229642868,
0.05359509214758873,
-0.027675237506628036,
0.0014976434176787734,
-0.006452125962823629,
0.03758366405963898,
0.0163440965116024,
0.011902563273906708,
0.06287142634391785,
0.03623313829302788,
-0.016986068338155746,
-0.006815677043050528,
-0.012286094948649406,
-0.03006606549024582,
0.042269300669431686,
0.05115043744444847,
0.003967068623751402,
-0.0024851413909345865,
0.013380169868469238,
0.029324552044272423,
-0.02587127685546875,
-0.02159253880381584,
-0.010460501536726952,
0.01569760963320732,
-0.00247864774428308,
-0.054432645440101624,
0.0018129270756617188,
-0.02342110127210617,
0.005804779008030891,
-0.008472321555018425,
0.006620453670620918,
-0.04759443178772926,
0.03291803225874901,
-0.009205369278788567,
0.038650937378406525,
-0.07813084870576859,
0.022556357085704803,
0.033127423375844955,
-0.0036753851454705,
-0.04070720821619034,
0.037738196551799774,
0.045341089367866516,
-0.04132796451449394,
0.01979624666273594,
-0.03078603930771351,
-0.011973702348768711,
-0.006540923845022917,
-0.0074936943128705025,
0.016144003719091415,
-0.003198256017640233,
-0.01668132096529007,
-0.009618393145501614,
0.04211102053523064,
-0.006831621751189232,
0.02057468891143799,
-0.030460838228464127,
0.025595001876354218,
-0.03062303736805916,
-0.00999389123171568,
-0.011409304104745388,
-0.030392011627554893,
0.011642001569271088,
0.022707879543304443,
0.03303182125091553,
0.04037986323237419,
-0.002407241379842162,
0.00589020224288106,
0.04952380806207657,
0.03792702406644821,
0.008788756094872952,
-0.027022700756788254,
-0.06144963577389717,
-0.07369203120470047,
-0.05745645612478256,
0.04954667389392853,
0.0015078074065968394,
-0.05220658704638481,
0.015560817904770374,
0.032237596809864044,
-0.016594231128692627,
-0.001040715491399169,
0.02519099973142147,
-0.01661515049636364,
0.015667608007788658,
-0.0184098482131958,
-0.025318915024399757,
-0.024868905544281006,
0.05215010046958923,
0.030064035207033157,
-0.06944794952869415,
-0.010598155669867992,
-0.041867632418870926,
-0.030128709971904755,
-0.007268738932907581,
0.021226324141025543,
-0.0433429554104805,
-0.0160447396337986,
-0.005952582228928804,
0.018813159316778183,
-0.06753230839967728,
0.06183699890971184,
0.033548422157764435,
-0.017038898542523384,
-0.007360094226896763,
-0.04282497987151146,
0.012070734053850174,
0.0022102585062384605,
-0.000685637816786766,
0.08009481430053711,
-0.04020951688289642,
0.0832182839512825,
0.018014568835496902,
0.03946271166205406,
0.004656511824578047,
-0.05442238599061966,
-0.03086206130683422,
0.06338992714881897,
-0.018602833151817322,
-0.0049873655661940575,
-0.012900036759674549,
-0.04504064843058586,
-0.012530536390841007,
0.026918798685073853,
0.05461126193404198,
0.037165701389312744,
0.03936947509646416,
-0.033872317522764206,
0.023941844701766968,
-0.021325698122382164,
0.028475947678089142,
0.02160927653312683,
-0.028829893097281456,
-0.06610327214002609,
-0.033782441169023514,
-0.02358415350317955,
0.023723701015114784,
-0.006519834045320749,
0.020413702353835106,
-0.03460445627570152,
0.02479163371026516,
0.08130662143230438,
0.003407517448067665,
0.011438452638685703,
-0.010564964264631271,
-0.036303747445344925,
0.026042109355330467,
0.026383526623249054,
-0.0032853048760443926,
0.07188625633716583,
0.0035957591608166695,
-0.010222316719591618,
0.010337539948523045,
0.03331489488482475,
-0.019775034859776497,
0.008186695165932178,
-0.05399998277425766,
-0.03270452097058296,
0.07219146937131882,
-0.03282279521226883,
-0.0007858522003516555,
0.05143484100699425,
0.08783429116010666,
0.06301680207252502,
0.014017597772181034,
0.010325372219085693,
-0.07575052976608276,
0.022805538028478622,
0.0224949661642313,
0.025788817554712296,
0.025761762633919716,
-0.03099966049194336,
0.07049611955881119,
0.018326804041862488,
0.014749242924153805,
0.043201614171266556,
-0.07472223788499832,
-0.06686286628246307,
-0.0025741923600435257,
-0.03992356359958649,
0.06351692974567413,
-0.03248080238699913,
0.0389716662466526,
0.022310469299554825,
-0.01000890415161848,
0.03166856989264488,
-0.010364143177866936,
0.046526771038770676,
0.02922184392809868,
-0.017915843054652214,
-0.060755565762519836,
0.016025738790631294,
0.003617570037022233,
-0.050459325313568115,
-0.015588485635817051,
0.0010659879771992564,
-0.04257006570696831,
0.04526494815945625,
0.030992630869150162,
-0.0075139328837394714,
0.05537144094705582,
0.03377971053123474,
0.05396484211087227,
0.03256502375006676,
0.01294801477342844,
-0.02868674509227276,
0.048790473490953445,
0.007435155101120472,
-0.029127445071935654,
-0.025166161358356476,
-0.023181147873401642,
0.10704050213098526,
0.07778028398752213,
-0.014656146056950092,
-0.009208757430315018,
0.030100911855697632,
-0.014361211098730564,
-0.013021852821111679,
0.020648416131734848,
-0.013247847557067871,
0.03232449293136597,
-0.021163854748010635,
-0.024949992075562477,
-0.04305360093712807,
-0.005361995194107294,
-0.04814736172556877,
0.05371499061584473,
0.056471362709999084,
-0.009160038083791733,
0.07029024511575699,
-0.005007084924727678,
-0.003648039186373353,
-0.00773882819339633,
-0.03757346794009209,
-0.060854651033878326,
0.0026957527734339237,
0.025724533945322037,
-0.007363987620919943,
0.06431649625301361,
-0.01827670820057392,
-0.003071179147809744,
-0.01933015137910843,
-0.017338674515485764,
0.05144774913787842,
0.08540505170822144,
0.04040145128965378,
0.007658067159354687,
0.0369035042822361,
-0.044958218932151794,
0.001989243319258094,
0.013281951658427715,
-0.0570949912071228,
-0.0773889496922493,
-0.03890759497880936,
-0.004380637779831886,
0.01269512064754963,
0.029995718970894814,
-0.03259231895208359,
0.01004931889474392,
0.023327991366386414,
-0.006942464038729668,
-0.04435193911194801,
0.043322641402482986,
-0.021032800897955894,
-0.017069783061742783,
-0.029668053612113,
0.009673301130533218,
0.04578489810228348,
-0.0369415283203125,
-0.03936707228422165,
-0.007376442197710276,
-0.056905437260866165,
0.041336312890052795,
-0.033275820314884186,
-0.03060085140168667,
0.000411516783060506,
0.027336321771144867,
0.07624144852161407,
0.0245924424380064,
-0.01981557533144951,
0.06462746858596802,
0.008085529319941998,
0.015987899154424667,
0.007348285987973213,
0.005661096423864365,
0.04397280141711235,
0.024987710639834404,
0.04063898324966431,
0.03915424644947052,
-0.03625774011015892,
-0.014855298213660717,
-0.055745068937540054,
0.010530910454690456,
-0.02987649478018284,
-0.24688898026943207,
0.01200067438185215,
-0.04969046637415886,
-0.03064827062189579,
0.007166145835071802,
-0.051944416016340256,
0.06636547297239304,
-0.017489131540060043,
-0.04230344295501709,
-0.04747283086180687,
0.024283517152071,
-0.03196365013718605,
-0.04049151763319969,
0.039344288408756256,
0.05622890591621399,
0.023478899151086807,
0.010112453252077103,
-0.050991952419281006,
0.033418990671634674,
0.04186365753412247,
0.03152913227677345,
-0.02231869474053383,
-0.026033876463770866,
0.032147116959095,
0.005424687173217535,
0.054873671382665634,
-0.07570132613182068,
0.0043851337395608425,
-0.06473584473133087,
-0.04515395686030388,
0.01719619706273079,
-0.02941880375146866,
0.01704113557934761,
-0.009572810493409634,
0.02333526313304901,
-0.01057856809347868,
0.0393412746489048,
0.01773528754711151,
0.01932462491095066,
0.013758373446762562,
-0.009042908437550068,
-0.04267043620347977,
0.010861562564969063,
-0.002615610370412469,
0.09298805147409439,
0.026820240542292595,
-0.04515501484274864,
-0.013423478230834007,
0.005794042255729437,
0.06203928217291832,
-0.022854182869195938,
-0.01635449007153511,
0.0007679213304072618,
0.0043129087425768375,
-0.037575818598270416,
-0.04919453337788582,
-0.02414924092590809,
0.00525002833455801,
-0.02292156033217907,
-0.024477144703269005,
0.017722006887197495,
-0.03468642011284828,
0.02827279269695282,
-0.069795623421669,
-0.03960306942462921,
-0.06133997067809105,
-0.08490849286317825,
-0.04027198255062103,
0.035483308136463165,
0.04264169931411743,
-0.012969202362000942,
-0.0012550572864711285,
-0.007643259130418301,
-0.09007377922534943,
-0.03903612866997719,
-0.0045495168305933475,
-0.0013277409598231316,
-0.005117360502481461,
0.0125002795830369,
0.042968086898326874,
-0.03163646161556244,
-0.056903138756752014,
0.025124045088887215,
0.003799657803028822,
0.043229229748249054,
-0.010668186470866203,
-0.024009954184293747,
-0.00004522829840425402,
-0.06588021665811539,
-0.024996275082230568,
0.036663711071014404,
-0.04932086914777756,
-0.010485433973371983,
0.002510474994778633,
0.00683309230953455,
0.02780352346599102,
-0.0004095460753887892,
-0.002409318694844842,
0.03556100279092789,
0.021974265575408936,
0.007624584250152111,
-0.029190896078944206,
0.0020333833526819944,
-0.06214004382491112,
-0.036066051572561264,
-0.0222337506711483,
-0.04199216887354851,
0.03605154529213905,
0.017830098047852516,
0.023251451551914215,
0.040446821600198746,
-0.02378850243985653,
0.012220253236591816,
-0.0714140310883522,
-0.006404371932148933,
-0.043721649795770645,
0.03446825221180916,
0.04377966374158859,
0.0346989668905735,
-0.0024819110985845327,
-0.07614178955554962,
0.0035629949998110533,
-0.0205917339771986,
-0.036083389073610306,
-0.04303234443068504,
-0.025352122262120247,
-0.021686840802431107,
-0.028962675482034683,
0.026191122829914093,
0.014989382587373257,
-0.02261258289217949,
0.008991332724690437,
0.04501960799098015,
-0.04162950813770294,
0.05694074556231499,
0.01468735747039318,
-0.022197728976607323,
-0.013269067741930485,
0.0011565916938707232,
0.021363086998462677,
-0.013504193164408207,
0.000511466059833765,
0.0007450908306054771,
0.01481146365404129,
0.027733100578188896,
0.018677091225981712,
-0.03537553921341896,
-0.015286603942513466,
0.008935928344726562,
0.009050944820046425,
-0.022410646080970764,
-0.015521177090704441,
0.0017191688530147076,
-0.04164167866110802,
-0.013764875009655952,
0.001041569048538804,
0.06077098473906517,
-0.010307533666491508,
-0.026902133598923683,
-0.04042905941605568,
0.014233206398785114,
-0.07113035023212433,
-0.011681758798658848,
-0.02942868508398533,
0.005528273526579142,
0.06745389103889465,
-0.013208888471126556,
0.0050699347630143166,
0.012115891091525555,
-0.03535904735326767,
-0.01054406724870205,
0.009087498299777508,
-0.006364964880049229,
0.013969856314361095,
-0.01833726093173027,
-0.02141539566218853,
0.03400200977921486,
-0.00010626105358824134,
0.028949132189154625,
-0.015064471401274204,
-0.02516012266278267,
-0.006090210285037756,
-0.012488619424402714,
0.006106117740273476,
0.04741976410150528,
0.06363241374492645,
-0.01655193790793419,
-0.016995882615447044,
-0.025470774620771408,
-0.03310954570770264,
0.005318249575793743,
-0.028189461678266525,
-0.028952859342098236,
-0.02327079139649868,
-0.03617361560463905,
-0.06954487413167953,
0.0385250486433506,
0.04060053452849388,
-0.006316304672509432,
-0.005295382812619209,
0.01458221860229969,
-0.005121147725731134,
-0.03844474256038666,
0.04086292162537575,
0.04678725451231003,
-0.05659191682934761,
-0.0006481392774730921,
-0.0019889615941792727,
-0.00025682945852167904,
-0.015469023957848549,
0.012615387327969074,
-0.05105910822749138,
-0.005563066340982914,
-0.019697265699505806,
0.032869212329387665,
-0.009887737222015858,
-0.04675259441137314,
-0.04711027070879936,
0.013305296190083027,
0.034189146012067795,
0.04662897065281868,
0.018962547183036804,
-0.009102389216423035,
-0.0329892560839653,
0.0069097415544092655,
0.034767765551805496,
-0.047090109437704086,
-0.007076399400830269,
0.024623559787869453,
0.007513601332902908,
0.0140158636495471,
-0.03943568095564842,
0.016876472160220146,
0.009770423173904419,
-0.012379000894725323,
-0.0038388122338801622,
-0.07777515798807144,
0.0013817340368404984,
0.022664804011583328,
0.05412565544247627,
-0.010865917429327965,
0.013509436510503292,
-0.03655700013041496,
-0.010144593194127083,
-0.02665051817893982,
0.01391843892633915,
0.022261271253228188,
0.0057447245344519615,
0.030370529741048813,
0.009837662801146507,
0.009305331856012344,
-0.005349570885300636,
0.0004125478444620967,
-0.024956179782748222,
0.04367946460843086,
-0.009876674972474575,
-0.035314448177814484,
-0.019231164827942848,
-0.04597887396812439,
0.005588156636804342,
-0.005011295434087515,
-0.00085531483637169,
-0.0261103343218565,
0.06901701539754868,
0.025491513311862946,
0.07020893692970276,
0.0662839263677597,
-0.020908866077661514,
0.003469225950539112,
-0.014143791981041431,
0.0040380097925662994,
-0.07782188057899475,
-0.018900737166404724,
0.008195724338293076,
-0.008952698670327663,
-0.028336673974990845,
0.004243666306138039,
-0.016838258132338524,
0.03293075039982796,
-0.06474121659994125,
-0.04076497256755829,
0.018676474690437317,
-0.01870020292699337,
0.02090011164546013,
0.0332697369158268,
-0.03565233573317528,
-0.01741117611527443,
0.035307783633470535,
-0.05035419762134552,
0.01044011302292347,
-0.011622077785432339,
0.07592001557350159,
-0.053222477436065674,
0.026057302951812744,
-0.0221385657787323,
-0.020377814769744873,
0.06827060133218765,
0.03760525956749916,
-0.00779865263029933,
0.08144667744636536,
-0.02184152603149414,
0.027102025225758553,
0.02301388420164585,
-0.023818789049983025,
-0.012952877208590508,
0.027514969930052757,
-0.008167424239218235,
-0.04600547254085541,
-0.0020967700984328985,
0.008041992783546448,
0.021630994975566864,
-0.045499950647354126,
0.10800133645534515,
-0.01329944096505642,
-0.05607930198311806,
-0.03663093224167824,
0.013121136464178562,
-0.024140996858477592,
0.022321345284581184,
-0.0028329764027148485,
0.009931564331054688,
-0.025635428726673126,
0.0544610470533371,
-0.014634019695222378,
0.01981489732861519,
0.06083705276250839,
0.002370750531554222,
-0.001999631989747286,
0.001394977094605565,
0.08098302036523819,
0.10286926478147507,
0.050520334392786026,
0.017823098227381706,
0.07326933741569519,
-0.05855414643883705,
-0.037217553704977036,
-0.005858664866536856,
-0.04855264350771904,
-0.020068427547812462,
-0.025270257145166397,
0.028326213359832764,
0.09012406319379807,
-0.0049718027003109455,
0.04661137983202934,
-0.005180480424314737,
-0.02257702499628067,
0.00724404351785779,
-0.017081454396247864,
0.07188867777585983,
0.05140338093042374,
0.017687160521745682,
0.03359677642583847,
0.0025776508264243603,
-0.016052918508648872,
0.041541747748851776,
-0.0013377655996009707,
-0.02238687500357628,
0.020901057869195938,
-0.03636251389980316,
0.01519710011780262,
0.00974615290760994,
0.029130341485142708,
0.06134813278913498,
0.010997136123478413,
-0.017598534002900124,
0.00424535758793354,
0.03656510263681412,
-0.010160133242607117,
0.02806377038359642,
-0.027275271713733673,
-0.001610041712410748,
-0.024407267570495605,
-0.06066387519240379,
-0.03284161165356636,
-0.010386737994849682,
-0.06313040852546692,
0.011898047290742397,
-0.04442148655653,
0.02791287750005722,
0.01977679505944252,
-0.014218136668205261,
-0.025708774104714394,
-0.055502038449048996,
-0.038611263036727905,
-0.03856455907225609,
-0.051287829875946045,
-0.017566079273819923,
0.017506085336208344,
-0.018737049773335457,
-0.019770422950387,
0.014883775264024734,
-0.02034739963710308,
-0.018500233069062233,
-0.019478026777505875,
-0.049721721559762955,
-0.0065342434681952,
0.00399295799434185,
0.014690269716084003,
0.02148035354912281,
0.02414141595363617,
0.041733767837285995,
-0.010045512579381466,
-0.004091937094926834,
-0.023740412667393684,
0.008362362161278725,
0.04806281626224518,
0.0006208838312886655,
0.020107144489884377,
-0.07890073210000992,
0.025171857327222824,
0.013257108628749847,
-0.01713963784277439,
-0.095863938331604,
0.0421532541513443,
0.022806398570537567,
0.004746483638882637,
0.019117064774036407,
-0.0146448640152812,
-0.004823595751076937,
-0.021001748740673065,
0.001641929498873651,
-0.013817212544381618,
0.03314340114593506,
0.04071259871125221,
-0.05316593125462532,
0.06371568888425827,
0.043071795254945755,
-0.008324040099978447,
-0.04532121121883392,
-0.011334088630974293,
0.010741152800619602,
-0.02401319518685341,
-0.036426421254873276,
-0.01991080678999424,
-0.054797399789094925,
-0.10072816163301468,
-0.03216514363884926,
0.014856647700071335,
-0.023305755108594894,
-0.016838528215885162,
0.01123451441526413,
0.0060887266881763935,
-0.037221506237983704,
0.02708517201244831,
-0.04034307971596718,
0.019270896911621094,
-0.028795616701245308,
-0.03213648125529289,
-0.02851875312626362,
0.005507138092070818,
-0.024603404104709625,
0.025596171617507935,
-0.02214003913104534,
-0.047129593789577484,
-0.0030597858130931854,
-0.031084295362234116,
0.016168558970093727,
0.028290359303355217,
0.034277986735105515,
0.03293975815176964
] | [
-0.03411809355020523,
-0.0366627462208271,
-0.035711321979761124,
-0.005425830837339163,
0.07621876895427704,
-0.03022618405520916,
-0.023615634068846703,
0.016847042366862297,
0.02475786954164505,
-0.013848339207470417,
0.059467464685440063,
-0.010358940809965134,
0.02772652544081211,
0.02499285526573658,
0.06873401999473572,
-0.005947922822088003,
-0.018664736300706863,
-0.08130921423435211,
-0.0279465951025486,
0.04242199659347534,
-0.027859726920723915,
-0.015274697914719582,
-0.044294849038124084,
-0.054291121661663055,
0.0422104150056839,
0.051362164318561554,
0.015411055646836758,
-0.06453754007816315,
-0.03671887889504433,
-0.19152101874351501,
-0.013319493271410465,
0.011716327629983425,
0.04331699758768082,
0.0022798532154411077,
0.016097912564873695,
0.03730795159935951,
0.040496714413166046,
0.002032798482105136,
0.014555791392922401,
0.021980809047818184,
-0.00021400560217443854,
-0.023304009810090065,
-0.037128329277038574,
0.0004891612916253507,
0.012346271425485611,
0.01218091044574976,
-0.04249657690525055,
0.012786212377250195,
-0.025720281526446342,
0.03186611086130142,
-0.032367780804634094,
-0.024632256478071213,
-0.012532135471701622,
0.016710961237549782,
0.00956685096025467,
0.059790343046188354,
0.024131344631314278,
0.021778741851449013,
0.010599562898278236,
0.031962353736162186,
0.004616119898855686,
0.008746696636080742,
-0.14594072103500366,
0.08608896285295486,
-0.005862352438271046,
0.007609969470649958,
-0.04455479234457016,
0.010844744741916656,
-0.0005880440585315228,
0.07854026556015015,
0.029114292934536934,
0.0011092482600361109,
-0.03926774486899376,
0.06618992984294891,
0.008882325142621994,
0.0017135500675067306,
-0.018120992928743362,
0.0025135569740086794,
0.009709660895168781,
-0.041527651250362396,
-0.013412351720035076,
0.030692564323544502,
-0.012773416936397552,
-0.021448440849781036,
-0.011898788623511791,
0.012691991403698921,
-0.021152077242732048,
0.05819002538919449,
-0.03067176230251789,
0.05394177511334419,
0.025308504700660706,
0.04921877011656761,
0.022538643330335617,
0.002750911982730031,
-0.098223015666008,
-0.039565037935972214,
0.029306109994649887,
0.0247350987046957,
0.018678195774555206,
0.3949890732765198,
-0.025983236730098724,
0.006531002465635538,
0.01662011444568634,
0.08152461796998978,
-0.04897887259721756,
-0.03235281631350517,
0.016835199669003487,
-0.09409672766923904,
0.009183406829833984,
-0.018405109643936157,
0.006326683796942234,
-0.030660128220915794,
0.07135948538780212,
-0.09342652559280396,
0.028416836634278297,
-0.005491217598319054,
0.07726932317018509,
0.02902585081756115,
0.015777407214045525,
0.009091032668948174,
-0.01997704617679119,
-0.011650717817246914,
0.0442291758954525,
-0.004237073939293623,
0.03398757055401802,
0.007492102216929197,
0.06504882127046585,
0.06793949753046036,
0.05477678030729294,
-0.005871693138033152,
0.08166733384132385,
0.022307517006993294,
-0.08138182759284973,
0.0035794018767774105,
-0.004860022570937872,
-0.010542135685682297,
0.0367298498749733,
-0.04572983458638191,
0.007641159929335117,
0.014705712907016277,
-0.0243501178920269,
-0.016048207879066467,
0.0628233402967453,
-0.02504906989634037,
-0.035454943776130676,
0.1679438054561615,
-0.009944137185811996,
-0.05666276812553406,
-0.0067246840335428715,
-0.05874618515372276,
-0.009334203787147999,
0.01751312054693699,
0.02262270450592041,
-0.06556898355484009,
-0.017172375693917274,
0.0252480898052454,
0.09874120354652405,
-0.03821980580687523,
-0.07407504320144653,
-0.005318721756339073,
-0.026257121935486794,
-0.023790540173649788,
-0.03257285803556442,
0.04942869022488594,
0.06119123846292496,
-0.11107254028320312,
0.0021684286184608936,
0.013153712265193462,
0.016327904537320137,
-0.06735128164291382,
0.015655944123864174,
0.019254835322499275,
-0.017970219254493713,
0.02150130644440651,
0.08254292607307434,
0.01858503185212612,
-0.00995345413684845,
-0.005504907108843327,
0.034723639488220215,
0.006627511698752642,
0.00506616709753871,
-0.012410171329975128,
-0.040834907442331314,
0.01455142442137003,
-0.05704054236412048,
-0.04085482656955719,
-0.07747144997119904,
0.018159184604883194,
-0.020835231989622116,
-0.01611408032476902,
-0.0032670090440660715,
-0.047396235167980194,
-0.07414303719997406,
0.06537343561649323,
-0.05240113288164139,
-0.04295746982097626,
0.032452542334795,
-0.00752372806891799,
-0.03226645290851593,
-0.04282563552260399,
-0.027304066345095634,
-0.04204367473721504,
-0.01715948060154915,
0.0364634245634079,
-0.05210559070110321,
0.02420892007648945,
0.05284523591399193,
-0.03888462483882904,
0.07867731899023056,
0.034111157059669495,
-0.0071838716976344585,
-0.016096336767077446,
0.00023329064424615353,
-0.012080875225365162,
-0.010359817184507847,
-0.00339622818864882,
-0.020075159147381783,
-0.032086364924907684,
-0.015164468437433243,
0.054391223937273026,
0.0062120286747813225,
-0.020612996071577072,
0.007324057165533304,
-0.33759841322898865,
-0.04077916964888573,
0.004347471985965967,
-0.013355884701013565,
0.021249067038297653,
-0.021732179448008537,
0.005797863472253084,
-0.02105180360376835,
0.012597418390214443,
0.08615344762802124,
0.07735306024551392,
0.030409546568989754,
-0.01691030152142048,
-0.10104628652334213,
-0.008920819498598576,
0.02417699620127678,
-0.03508129343390465,
-0.004289488773792982,
-0.02575720101594925,
-0.009104282595217228,
0.009847729466855526,
-0.03363785520195961,
-0.025904521346092224,
-0.039217960089445114,
-0.005922743119299412,
-0.004874313250184059,
0.12470415979623795,
0.0270931925624609,
0.00930601917207241,
-0.037808772176504135,
0.04261336103081703,
-0.00758777791634202,
-0.009160998277366161,
-0.05331346392631531,
0.013879782520234585,
-0.021304193884134293,
0.02301587536931038,
0.015884216874837875,
-0.034617457538843155,
-0.029656337574124336,
-0.057990662753582,
0.021176030859351158,
-0.027398638427257538,
-0.04068586230278015,
-0.0700773149728775,
0.032765574753284454,
0.009287391789257526,
-0.02790031209588051,
-0.01860031671822071,
0.06135867163538933,
0.0025853971019387245,
-0.050713300704956055,
0.028954576700925827,
0.04210246354341507,
0.023066986352205276,
-0.02454601228237152,
-0.08654437214136124,
-0.006851101294159889,
-0.002189477439969778,
-0.00931471399962902,
0.018698949366807938,
0.03915920481085777,
0.017211921513080597,
-0.08235576003789902,
-0.01360367238521576,
0.01654951460659504,
-0.014924452640116215,
-0.011746659874916077,
0.008355100639164448,
0.009885999374091625,
-0.042827073484659195,
0.08476948738098145,
-0.004311217460781336,
0.03175704553723335,
0.03585353121161461,
0.0012446048203855753,
-0.04110116884112358,
0.0013155846390873194,
0.017569106072187424,
0.013542468659579754,
0.056210167706012726,
-0.054106324911117554,
0.03945961222052574,
-0.02434118650853634,
0.013683095574378967,
0.02567049115896225,
0.02407439984381199,
-0.017852075397968292,
0.05865663290023804,
0.047488827258348465,
0.010245781391859055,
-0.03218507021665573,
-0.039521120488643646,
-0.04120607674121857,
0.07214933633804321,
-0.0005969417397864163,
-0.28296828269958496,
0.038978081196546555,
0.058398619294166565,
0.030387412756681442,
0.0030262817163020372,
0.03151968866586685,
-0.0016439761966466904,
-0.01711197942495346,
-0.020412949845194817,
-0.0014908394077792764,
0.04042212292551994,
0.06333422660827637,
0.017238330096006393,
-0.0064338925294578075,
0.012552864849567413,
0.009225836955010891,
0.02040332742035389,
-0.0033423397690057755,
-0.011190460994839668,
-0.0026786820963025093,
0.03751230612397194,
-0.006712868344038725,
0.16762414574623108,
0.009932838380336761,
0.018448354676365852,
0.03773218393325806,
-0.02462678775191307,
-0.004286617506295443,
0.06112721562385559,
-0.025674056261777878,
-0.021452099084854126,
-0.017200127243995667,
0.02563919872045517,
0.004253590013831854,
0.028927728533744812,
0.0007877431926317513,
-0.022107943892478943,
0.04806923121213913,
0.01794968917965889,
-0.010417478159070015,
-0.00996839627623558,
0.030558805912733078,
-0.03416191041469574,
0.027414174750447273,
0.07748989760875702,
-0.004164705518633127,
0.025260163471102715,
-0.07955112308263779,
-0.019687708467245102,
-0.02535436674952507,
0.0008386725676245987,
-0.057557325810194016,
-0.045352496206760406,
0.008358432911336422,
-0.005426631774753332,
0.06478483229875565,
0.02896612323820591,
-0.008479283191263676,
0.052611492574214935,
0.002670922549441457,
-0.03081819787621498,
-0.04405861720442772,
0.07107426226139069,
-0.040082596242427826,
0.01232856884598732
] | [
0.009732409380376339,
0.02785145677626133,
0.018183210864663124,
0.01902947388589382,
0.009058108553290367,
-0.004495964851230383,
0.005822077859193087,
0.011339250952005386,
-0.0012274860637262464,
-0.0023189131170511246,
-0.023877067491412163,
0.0037666182033717632,
0.009970678016543388,
0.017679134383797646,
0.03560403361916542,
-0.013253430835902691,
0.0042965770699083805,
-0.0304715596139431,
0.06356916576623917,
-0.017036864534020424,
-0.04830335080623627,
-0.011013027280569077,
0.0013990560546517372,
-0.029927656054496765,
0.01628667116165161,
0.06423910707235336,
-0.047673825174570084,
0.036312732845544815,
0.03782040998339653,
-0.09455854445695877,
-0.01482612919062376,
-0.008587422780692577,
-0.016955874860286713,
0.00064082071185112,
0.006347294896841049,
-0.015251451171934605,
-0.01935470663011074,
0.021701090037822723,
0.008153481408953667,
0.05605514347553253,
0.009964612312614918,
0.0021600055042654276,
-0.007305188570171595,
0.00927996076643467,
-0.018834618851542473,
-0.0176189374178648,
-0.05767820030450821,
0.0065995859913527966,
-0.006157285999506712,
0.001835620729252696,
-0.0071027218364179134,
0.0003555641451384872,
-0.02484392374753952,
-0.0011640042066574097,
0.03983192890882492,
0.04695144668221474,
-0.06693080067634583,
-0.028021201491355896,
0.022254373878240585,
-0.03797464072704315,
0.00487867696210742,
0.01446556393057108,
-0.09047168493270874,
-0.005709522403776646,
-0.021242251619696617,
-0.022221101447939873,
-0.014492644928395748,
0.029181065037846565,
0.007088884711265564,
0.02472381480038166,
-0.04845229536294937,
0.04692281782627106,
-0.08195621520280838,
-0.026538746431469917,
-0.01126126665621996,
0.034695908427238464,
0.011467195115983486,
-0.03749554604291916,
-0.016870440915226936,
-0.028694119304418564,
-0.061237823218107224,
0.01940484158694744,
-0.02604145184159279,
0.020901991054415703,
-0.03490206599235535,
0.011784975416958332,
0.015346210449934006,
0.022160494700074196,
0.0031644178088754416,
0.009700536727905273,
-0.04253693297505379,
0.03897980600595474,
0.010847384110093117,
-0.009524581953883171,
-0.09328299760818481,
0.004125106614083052,
0.004629868548363447,
0.015897737815976143,
0.0395343154668808,
0.7892611622810364,
0.017215944826602936,
0.015821896493434906,
-0.023328512907028198,
0.01481643971055746,
-0.020949402824044228,
-0.0002468210877850652,
-0.05832912027835846,
0.008704413659870625,
-0.007711405865848064,
-0.024095671251416206,
-0.0019832365214824677,
0.026889078319072723,
0.031125318259000778,
0.0071241967380046844,
0.022888749837875366,
0.08035849034786224,
0.01648806966841221,
0.037553075700998306,
-0.02991756983101368,
0.034039877355098724,
-0.0008934240904636681,
0.024944838136434555,
0.004133226815611124,
0.013537455350160599,
-0.015587402507662773,
-0.1900905966758728,
0.029406949877738953,
-6.017515742964589e-33,
0.03028177097439766,
-0.026732048019766808,
0.020320646464824677,
-0.04897984117269516,
0.030605342239141464,
0.046244096010923386,
-0.04929622635245323,
-0.023973923176527023,
-0.0009884389583021402,
0.002655199496075511,
-0.013063261285424232,
0.022850893437862396,
0.023111307993531227,
-0.043840810656547546,
0.04598652198910713,
-0.025431111454963684,
0.01855909824371338,
0.041483547538518906,
-0.034773971885442734,
-0.03042900376021862,
-0.031245972961187363,
0.017011292278766632,
0.0069228545762598515,
0.042200472205877304,
0.0009447421762160957,
0.04283488914370537,
0.0000728048398741521,
0.02217780612409115,
0.044845081865787506,
-0.05212091654539108,
-0.018847033381462097,
0.019602369517087936,
-0.00729408161714673,
0.00019375051488168538,
-0.00014418143837247044,
-0.042521100491285324,
-0.04220199957489967,
-0.016507120802998543,
-0.005900966934859753,
-0.05721089988946915,
-0.021539993584156036,
0.025490304455161095,
-0.051894769072532654,
-0.0581262968480587,
-0.05486341565847397,
0.005994990933686495,
0.0016467923996970057,
0.016500238329172134,
0.005125761032104492,
-0.033446356654167175,
-0.004817939829081297,
-0.005282015539705753,
-0.024234618991613388,
-0.0028744128067046404,
-0.023378634825348854,
0.03117091953754425,
0.023891985416412354,
0.05036351829767227,
-0.012779385782778263,
0.06293265521526337,
0.0018880264833569527,
-0.010644348338246346,
0.021911168470978737,
0.06909054517745972,
0.017036106437444687,
0.01641269400715828,
-0.01747134141623974,
-0.0333353728055954,
0.007380213122814894,
0.013302002102136612,
-0.026400070637464523,
0.05721652880311012,
-0.007211030460894108,
-0.014363912865519524,
0.06323506683111191,
-0.04637979716062546,
-0.004659170750528574,
0.011814737692475319,
0.008443104103207588,
0.04734821990132332,
-0.051948074251413345,
-0.019315175712108612,
-0.002424959558993578,
-0.034980591386556625,
-0.019829463213682175,
-0.04589860141277313,
0.01330930832773447,
0.009485442191362381,
-0.015981532633304596,
0.03635120391845703,
-0.006184770725667477,
-0.012331538833677769,
0.03915385529398918,
-0.007729140110313892,
-0.010483114048838615,
6.295916151593494e-33,
-0.0012760772369801998,
0.011860103346407413,
0.01988249272108078,
-0.017436329275369644,
0.0373242013156414,
-0.022530091926455498,
0.011437889188528061,
0.024375712499022484,
-0.028820304200053215,
0.04352124035358429,
-0.020594846457242966,
0.035539038479328156,
-0.014814824797213078,
0.01891234703361988,
0.037875786423683167,
-0.006036190316081047,
0.05943801626563072,
0.004742334596812725,
-0.014977855607867241,
0.020870650187134743,
-0.018678367137908936,
-0.017948200926184654,
-0.015504692681133747,
0.0010154779301956296,
0.10144679248332977,
0.046632710844278336,
0.009701569564640522,
-0.005498254671692848,
0.001586482161656022,
-0.00030135695124045014,
-0.009798823855817318,
0.00005847577631357126,
-0.02550544962286949,
-0.014529374428093433,
0.028551874682307243,
0.02188197709619999,
-0.006715855095535517,
-0.0027431051712483168,
0.005023936741054058,
-0.007090890780091286,
0.010405106469988823,
0.04649289697408676,
-0.0560377761721611,
0.03173006325960159,
0.02753389999270439,
0.05406299605965614,
0.0078627560287714,
0.008027942851185799,
-0.03493783250451088,
-0.002275296486914158,
-0.02673128806054592,
0.020373940467834473,
-0.005195876117795706,
0.015073984861373901,
0.021071135997772217,
-0.03482447937130928,
-0.0018335317727178335,
0.043683260679244995,
-0.025971900671720505,
-0.02070341818034649,
0.004409341141581535,
0.011377797462046146,
-0.02634570002555847,
0.028912052512168884,
-0.007386214565485716,
-0.016770027577877045,
-0.0382918156683445,
-0.04322793334722519,
-0.0027669777628034353,
0.0098293861374259,
0.014147241599857807,
-0.024330323562026024,
-0.041070591658353806,
0.011878677643835545,
0.014792782254517078,
0.005321066360920668,
-0.03225615993142128,
0.02766427770256996,
-0.02867918275296688,
0.007844720967113972,
0.0018974351696670055,
0.02671818621456623,
0.008402824401855469,
0.031888458877801895,
0.002961689606308937,
0.04482560232281685,
-0.037336625158786774,
0.03685716167092323,
0.02612856775522232,
0.03975328803062439,
0.009683843702077866,
-0.032949548214673996,
-0.004302826710045338,
0.07170718908309937,
-0.017748042941093445,
-1.1920056053327244e-8,
-0.019560597836971283,
-0.017844341695308685,
-0.016841797158122063,
-0.009018152952194214,
0.03698690980672836,
0.0059462604112923145,
0.03592226654291153,
-0.0026110385078936815,
-0.0096547557041049,
0.0244727935642004,
0.038664598017930984,
-0.06208357587456703,
0.028443077579140663,
0.025629324838519096,
0.010233697481453419,
-0.01637706533074379,
0.03937796503305435,
-0.001221134327352047,
0.019482413306832314,
0.00912671908736229,
0.04560781270265579,
0.006170756183564663,
-0.01184120960533619,
0.009437279775738716,
-0.006724126636981964,
-0.028742821887135506,
-0.001994153717532754,
-0.060709498822689056,
-0.01612228900194168,
-0.023458892479538918,
0.018158260732889175,
-0.014658131636679173,
-0.012112065218389034,
0.019631534814834595,
-0.04855875298380852,
-0.03854282572865486,
0.008317405357956886,
0.00389090646058321,
0.03739819675683975,
0.030445167794823647,
-0.0183205958455801,
-0.00037249282468110323,
0.004804997239261866,
-0.01855810359120369,
-0.04920687898993492,
0.05382774770259857,
-0.015016423538327217,
-0.034375932067632675,
0.020806755870580673,
-0.05875862389802933,
-0.010379231534898281,
-0.028391404077410698,
0.012409004382789135,
-0.0369950532913208,
0.028350720182061195,
0.04070356488227844,
0.01482839323580265,
-0.008275755681097507,
-0.01671884022653103,
-0.06658323109149933,
-0.03980814665555954,
-0.007023912388831377,
-0.03533729538321495,
-0.048128485679626465
] | r-grouping-by-two-variables | https://markhneedham.com/blog/2014/08/11/r-grouping-by-two-variables |
false | 2014-08-29 00:25:33 | R: Grouping by week, month, quarter | [
"r-2"
] | [
"R"
] | In my continued playing around with R and https://github.com/mneedham/neo4j-meetup[meetup data] I wanted to have a look at when people joined the London Neo4j group based on week, month or quarter of the year to see when they were most likely to do so.
I started with the following query to get back the join timestamps:
[source,r]
----
library(RNeo4j)
query = "MATCH (:Person)-[:HAS_MEETUP_PROFILE]->()-[:HAS_MEMBERSHIP]->(membership)-[:OF_GROUP]->(g:Group {name: \"Neo4j - London User Group\"})
RETURN membership.joined AS joinTimestamp"
meetupMembers = cypher(graph, query)
> head(meetupMembers)
joinTimestamp
1 1.376572e+12
2 1.379491e+12
3 1.349454e+12
4 1.383127e+12
5 1.372239e+12
6 1.330295e+12
----
The first step was to get +++<cite>+++joinDate+++</cite>+++ into a nicer format that we can use in R more easily:
[source,r]
----
timestampToDate <- function(x) as.POSIXct(x / 1000, origin="1970-01-01", tz = "GMT")
meetupMembers$joinDate <- timestampToDate(meetupMembers$joinTimestamp)
> head(meetupMembers)
joinTimestamp joinDate
1 1.376572e+12 2013-08-15 13:13:40
2 1.379491e+12 2013-09-18 07:55:11
3 1.349454e+12 2012-10-05 16:28:04
4 1.383127e+12 2013-10-30 09:59:03
5 1.372239e+12 2013-06-26 09:27:40
6 1.330295e+12 2012-02-26 22:27:00
----
Much better!
I started off with grouping by month and quarter and http://stackoverflow.com/questions/6242955/converting-year-and-month-to-a-date-in-r[came across] the excellent http://cran.r-project.org/web/packages/zoo/index.html[zoo] library which makes it really easy to transform dates:
[source,r]
----
library(zoo)
meetupMembers$monthYear <- as.Date(as.yearmon(meetupMembers$joinDate))
meetupMembers$quarterYear <- as.Date(as.yearqtr(meetupMembers$joinDate))
> head(meetupMembers)
joinTimestamp joinDate monthYear quarterYear
1 1.376572e+12 2013-08-15 13:13:40 2013-08-01 2013-07-01
2 1.379491e+12 2013-09-18 07:55:11 2013-09-01 2013-07-01
3 1.349454e+12 2012-10-05 16:28:04 2012-10-01 2012-10-01
4 1.383127e+12 2013-10-30 09:59:03 2013-10-01 2013-10-01
5 1.372239e+12 2013-06-26 09:27:40 2013-06-01 2013-04-01
6 1.330295e+12 2012-02-26 22:27:00 2012-02-01 2012-01-01
----
The next step was to create a new data frame which grouped the data by those fields. I've been learning http://blog.rstudio.org/2014/01/17/introducing-dplyr/[dplyr] as part of https://www.udacity.com/course/ud651[Udacity's EDA course] so I thought I'd try and use that:
[source,r]
----
> head(meetupMembers %.% group_by(monthYear) %.% summarise(n = n()), 20)
monthYear n
1 2011-06-01 13
2 2011-07-01 4
3 2011-08-01 1
4 2011-10-01 1
5 2011-11-01 2
6 2012-01-01 4
7 2012-02-01 7
8 2012-03-01 11
9 2012-04-01 3
10 2012-05-01 9
11 2012-06-01 5
12 2012-07-01 16
13 2012-08-01 32
14 2012-09-01 14
15 2012-10-01 28
16 2012-11-01 31
17 2012-12-01 7
18 2013-01-01 52
19 2013-02-01 49
20 2013-03-01 22
----
[source,r]
----
> head(meetupMembers %.% group_by(quarterYear) %.% summarise(n = n()), 20)
quarterYear n
1 2011-04-01 13
2 2011-07-01 5
3 2011-10-01 3
4 2012-01-01 22
5 2012-04-01 17
6 2012-07-01 62
7 2012-10-01 66
8 2013-01-01 123
9 2013-04-01 139
10 2013-07-01 117
11 2013-10-01 94
12 2014-01-01 266
13 2014-04-01 359
14 2014-07-01 216
----
Grouping by week number is a bit trickier but we can do it with a http://stackoverflow.com/questions/11395927/how-to-subset-data-frame-by-weeks-and-then-sum[bit of transformation] on our initial timestamp:
[source,r]
----
meetupMembers$week <- as.Date("1970-01-01")+7*trunc((meetupMembers$joinTimestamp / 1000)/(3600*24*7))
> head(meetupMembers %.% group_by(week) %.% summarise(n = n()), 20)
week n
1 2011-06-02 8
2 2011-06-09 4
3 2011-06-16 1
4 2011-06-30 2
5 2011-07-14 1
6 2011-07-21 1
7 2011-08-18 1
8 2011-10-13 1
9 2011-11-24 2
10 2012-01-05 1
11 2012-01-12 3
12 2012-02-09 1
13 2012-02-16 2
14 2012-02-23 4
15 2012-03-01 2
16 2012-03-08 3
17 2012-03-15 5
18 2012-03-29 1
19 2012-04-05 2
20 2012-04-19 1
----
We can then plug that data frame into ggplot if we want to track membership sign up over time at different levels of granularity and create some bar charts of scatter plots depending on what we feel like! | null | null | [
-0.005437436979264021,
-0.030508356168866158,
0.002482019830495119,
0.03578856959939003,
0.07908066362142563,
0.0014680068707093596,
0.04348783567547798,
0.022264324128627777,
0.011343399062752724,
0.0071007609367370605,
0.01317970547825098,
-0.013071714900434017,
-0.06900876015424728,
0.023614676669239998,
-0.03178460896015167,
0.08259955793619156,
0.06533089280128479,
-0.01408171746879816,
0.0009028787608258426,
-0.014848747290670872,
0.03463785722851753,
0.05436088889837265,
-0.005488164722919464,
0.035789668560028076,
0.04856153205037117,
0.006878938991576433,
-0.020183078944683075,
-0.011023890227079391,
-0.03675612807273865,
0.01001108717173338,
0.0519433319568634,
0.014689897187054157,
0.01689283177256584,
-0.009702849201858044,
0.035510268062353134,
-0.018629970028996468,
-0.03479534387588501,
0.004423948936164379,
-0.005727714393287897,
-0.02060709334909916,
-0.04545975476503372,
0.028011279180645943,
-0.009466308169066906,
0.03369725123047829,
-0.038399193435907364,
0.0028504987712949514,
-0.038645874708890915,
0.04496120288968086,
0.007390073034912348,
0.025183124467730522,
-0.058171600103378296,
0.004843296017497778,
0.005366156343370676,
0.005917857866734266,
-0.017610494047403336,
0.037886250764131546,
0.02947956509888172,
-0.0664878711104393,
0.04001569747924805,
-0.023080019280314445,
0.022117499262094498,
-0.02197571098804474,
0.016743434593081474,
-0.006725852843374014,
-0.019941801205277443,
-0.010035605169832706,
0.017766708508133888,
0.03809574991464615,
-0.010055874474346638,
0.021288707852363586,
-0.015150366351008415,
0.011201465502381325,
-0.029541298747062683,
0.007922838442027569,
-0.014722239226102829,
-0.038130078464746475,
-0.0024074302054941654,
0.053519830107688904,
0.040819890797138214,
0.05824820324778557,
-0.001445950591005385,
-0.005262815393507481,
0.03138362616300583,
0.03239918127655983,
0.006024536211043596,
-0.034382082521915436,
-0.041806962341070175,
-0.055091459304094315,
-0.0575639009475708,
0.04466691613197327,
0.004578069783747196,
-0.05818679928779602,
0.034648068249225616,
0.013600888662040234,
-0.003685164265334606,
0.004783764947205782,
0.014451783150434494,
-0.01072038896381855,
0.03158694878220558,
-0.024001888930797577,
-0.04349389672279358,
-0.0346338115632534,
0.021485060453414917,
0.010720901191234589,
-0.07705249637365341,
-0.013004748150706291,
-0.04847826808691025,
-0.030550101771950722,
0.0037715912330895662,
-0.001644130446948111,
-0.034139614552259445,
0.01993565447628498,
0.004176535177975893,
0.01054829265922308,
-0.07125834375619888,
0.06024708226323128,
0.025154147297143936,
-0.037926796823740005,
-0.022938396781682968,
-0.015724021941423416,
0.02147923968732357,
0.03401133790612221,
0.0026827272959053516,
0.05703301355242729,
-0.014157143421471119,
0.09211918711662292,
0.01331371907144785,
0.03346363082528114,
-0.01577654853463173,
-0.0774458795785904,
-0.014901051297783852,
0.04901469871401787,
-0.008236556313931942,
0.00395991513505578,
-0.020514875650405884,
-0.038484036922454834,
-0.022148942574858665,
0.022357827052474022,
0.06367441266775131,
0.02241717465221882,
0.04362906143069267,
-0.04309941828250885,
0.015079419128596783,
-0.016791172325611115,
0.031245766207575798,
0.03393396735191345,
-0.0257380660623312,
-0.05518804490566254,
-0.03710106387734413,
-0.005092718172818422,
0.023302003741264343,
0.008641334250569344,
0.037340451031923294,
-0.021456249058246613,
0.03330054506659508,
0.08852801471948624,
0.00567657919600606,
0.0012523583136498928,
-0.013977862894535065,
-0.0035057677887380123,
0.03987468406558037,
0.03510216996073723,
-0.0019255006918683648,
0.06564737111330032,
0.00019312577205710113,
-0.01615944504737854,
-0.0012138786260038614,
0.02859816886484623,
-0.00933912955224514,
0.03141994774341583,
-0.03880234435200691,
-0.06605895608663559,
0.057157475501298904,
-0.024204235523939133,
0.005352466832846403,
0.05559650808572769,
0.10059169679880142,
0.03283156082034111,
0.014128066599369049,
0.004381624050438404,
-0.07818401604890823,
0.05168304964900017,
0.005739730782806873,
0.011715114116668701,
0.02477371133863926,
-0.019244739785790443,
0.07161147147417068,
0.011945375241339207,
0.007352066226303577,
0.04115750640630722,
-0.09987179189920425,
-0.05680890753865242,
-0.022586269304156303,
-0.03721754997968674,
0.06387484073638916,
-0.046868421137332916,
0.030401058495044708,
0.03982653468847275,
-0.013936631381511688,
0.028409408405423164,
-0.0009601297206245363,
0.018587488681077957,
0.027068937197327614,
-0.02996482327580452,
-0.05170222371816635,
0.03715156391263008,
0.017775187268853188,
-0.04154277965426445,
-0.022688746452331543,
0.005507444031536579,
-0.029795223847031593,
0.05007457733154297,
0.0076753562316298485,
-0.03502380847930908,
0.03623953089118004,
0.04210053011775017,
0.05174984782934189,
0.02019602619111538,
-0.0019854058045893908,
-0.025542281568050385,
0.046856679022312164,
0.006529905367642641,
-0.016569988802075386,
-0.02328374795615673,
-0.011834594421088696,
0.11286040395498276,
0.06436627358198166,
-0.01793644391000271,
-0.032370246946811676,
0.04302777722477913,
0.010636638849973679,
-0.027093010023236275,
0.019172750413417816,
-0.027325905859470367,
0.03429478779435158,
-0.024099785834550858,
-0.013493235222995281,
-0.03422882780432701,
-0.018806634470820427,
-0.02174335904419422,
0.015758156776428223,
0.05954858288168907,
-0.010426327586174011,
0.052411507815122604,
-0.007806831039488316,
-0.010895156301558018,
-0.021269530057907104,
-0.031373217701911926,
-0.06576007604598999,
0.0303617212921381,
0.01907380484044552,
-0.018523158505558968,
0.05321836844086647,
-0.03508429974317551,
-0.010247370228171349,
-0.016479916870594025,
-0.021383272483944893,
0.052260398864746094,
0.06357253342866898,
0.04581441357731819,
-0.00011066545266658068,
0.03386970981955528,
-0.05285133421421051,
-0.017790455371141434,
-0.018347714096307755,
-0.0379837304353714,
-0.05364985018968582,
-0.03711137920618057,
0.004605904687196016,
-0.0019789827056229115,
0.045088231563568115,
-0.021953077986836433,
0.024658869951963425,
0.03658606857061386,
-0.004312722012400627,
-0.014991835691034794,
0.04482998698949814,
-0.004772217944264412,
-0.0019683160353451967,
-0.03922971710562706,
-0.011393291875720024,
0.055717334151268005,
-0.055688682943582535,
-0.04823073372244835,
-0.009252259507775307,
-0.05749465152621269,
0.04978932440280914,
-0.029782148078083992,
-0.02563098818063736,
0.002444807905703783,
0.023511121049523354,
0.054570939391851425,
0.023339515551924706,
0.01583942025899887,
0.07534179091453552,
0.024929983541369438,
0.03618073835968971,
0.034932393580675125,
-0.0016755296383053064,
0.051257845014333725,
0.002288374351337552,
0.02367648109793663,
0.039016224443912506,
-0.02524910867214203,
0.0014054460916668177,
-0.05635613203048706,
-0.0068250661715865135,
-0.025918012484908104,
-0.2479218691587448,
0.0370769165456295,
-0.05983123928308487,
-0.038203414529561996,
0.012096896767616272,
-0.037407420575618744,
0.0538628026843071,
-0.009514299221336842,
-0.04300238937139511,
-0.01662023365497589,
0.013684850186109543,
-0.02579270862042904,
-0.028572771698236465,
0.06060914695262909,
0.02161969058215618,
0.019251646474003792,
-0.00021340607781894505,
-0.04752259701490402,
0.008138760924339294,
0.04180067777633667,
0.027538010850548744,
-0.038364674896001816,
-0.019380860030651093,
0.029926201328635216,
0.0009561346378177404,
0.05724027380347252,
-0.06371426582336426,
-0.0005017619696445763,
-0.06059642881155014,
-0.04469914734363556,
0.015297271311283112,
-0.02881442755460739,
0.02041732519865036,
-0.017240500077605247,
0.006527555175125599,
-0.009226317517459393,
0.04084204509854317,
0.02169853076338768,
0.004102067556232214,
0.01503362599760294,
-0.03652958944439888,
-0.02453169971704483,
-0.0025053382851183414,
-0.006103517487645149,
0.09563552588224411,
0.0330478735268116,
-0.0699101909995079,
-0.0015584107022732496,
-0.002530395984649658,
0.06237768009305,
-0.03747272491455078,
-0.015995480120182037,
-0.010595040395855904,
0.02149721421301365,
-0.03190505504608154,
-0.06123746559023857,
-0.039019688963890076,
-0.006048760376870632,
-0.03904012590646744,
-0.01717643067240715,
-0.02183794043958187,
-0.04776352643966675,
0.0370919369161129,
-0.04586934670805931,
-0.04889645054936409,
-0.06928669661283493,
-0.0981578528881073,
-0.033492311835289,
0.041056811809539795,
0.00905508641153574,
-0.0232596043497324,
0.006911109667271376,
-0.027382109314203262,
-0.0943271592259407,
-0.05025288090109825,
-0.018001403659582138,
0.00944706704467535,
-0.001987246796488762,
-0.01928681693971157,
0.052534542977809906,
-0.05293983593583107,
-0.05144559219479561,
-0.00035740650491788983,
0.007839623838663101,
0.03011232614517212,
0.009094265289604664,
-0.013367134146392345,
-0.017629846930503845,
-0.06484562158584595,
-0.011059634387493134,
0.03918180614709854,
-0.046048641204833984,
-0.021110981702804565,
0.01862349733710289,
-0.002711537294089794,
0.015130252577364445,
-0.00157969503197819,
-0.0007744459435343742,
0.03786996752023697,
0.04619066044688225,
0.03161865472793579,
-0.03991119563579559,
0.018393555656075478,
-0.04270640388131142,
-0.034207869321107864,
-0.0442480705678463,
-0.05084216967225075,
0.031679145991802216,
0.026277536526322365,
0.011007307097315788,
0.015264321118593216,
0.0015689710853621364,
0.01836003176867962,
-0.046965330839157104,
-0.033322494477033615,
-0.022975152358412743,
0.02026655524969101,
0.015764741227030754,
0.0419556200504303,
0.0006289627635851502,
-0.06282638013362885,
0.0255622249096632,
0.0017311718547716737,
-0.023841721937060356,
-0.03578962758183479,
-0.015460518188774586,
-0.04326321557164192,
-0.04254337027668953,
0.021181676536798477,
0.03274030610918999,
-0.03973941504955292,
0.038944780826568604,
0.03963617980480194,
-0.021490110084414482,
0.05907808616757393,
-0.008254011161625385,
-0.028462080284953117,
-0.027613548561930656,
-0.0024389561731368303,
0.0026819440536201,
-0.012325478717684746,
0.005931226070970297,
-0.002916469005867839,
0.05161071568727493,
0.00846050027757883,
0.01930992864072323,
0.008541266433894634,
-0.006114050280302763,
0.02830308862030506,
0.011702785268425941,
-0.016898876056075096,
-0.011976468376815319,
0.019833730533719063,
-0.03533007204532623,
-0.005491605494171381,
-0.01001023594290018,
0.05660573020577431,
-0.0029094538185745478,
-0.026382122188806534,
-0.03415728732943535,
0.014700355939567089,
-0.06385375559329987,
0.007965384051203728,
-0.03283137083053589,
0.012239164672791958,
0.05685510113835335,
-0.024226892739534378,
0.01919364742934704,
-0.006521508097648621,
-0.02280472032725811,
-0.02202107198536396,
0.024026013910770416,
-0.017265670001506805,
0.022694963961839676,
-0.010154329240322113,
-0.006519573274999857,
0.033940352499485016,
0.012398265302181244,
0.03510892763733864,
-0.00769874919205904,
-0.020625999197363853,
0.02931322157382965,
-0.01244469452649355,
0.0034476162400096655,
0.050131313502788544,
0.05922425165772438,
-0.009271116927266121,
-0.016630059108138084,
-0.015471109189093113,
-0.047328781336545944,
0.010583522729575634,
-0.0007507605478167534,
-0.03018134832382202,
-0.025637038052082062,
-0.0404331311583519,
-0.07847040891647339,
0.03854374587535858,
0.027427053079009056,
0.0013355162227526307,
0.0291850958019495,
0.005870636086910963,
-0.004833783023059368,
-0.03330094739794731,
0.035523422062397,
0.05163227394223213,
-0.056973278522491455,
-0.01828444004058838,
-0.0034142713993787766,
-0.038326263427734375,
0.0009597462485544384,
0.015445669181644917,
-0.049007847905159,
-0.020820453763008118,
-0.003075297921895981,
0.03243565186858177,
-0.01230518240481615,
-0.03870972618460655,
-0.014262561686336994,
0.022852174937725067,
0.004982364363968372,
0.043404191732406616,
0.00780364079400897,
0.0044572982005774975,
-0.01034528948366642,
0.012019399553537369,
0.03539741411805153,
-0.017996860668063164,
0.0017059057718142867,
0.005899488460272551,
-0.01037869043648243,
0.005593069363385439,
-0.05195049196481705,
0.01532041560858488,
0.009980155155062675,
-0.035688579082489014,
-0.00697533693164587,
-0.07094568014144897,
0.011869370937347412,
0.004285855684429407,
0.04845777526497841,
-0.01160918828099966,
0.02450859360396862,
-0.01920061744749546,
-0.00391779001802206,
-0.04011194780468941,
0.014889325946569443,
0.019375218078494072,
-0.009243982844054699,
0.011825750581920147,
0.032967861741781235,
0.02061014622449875,
0.016730498522520065,
-0.014101049862802029,
-0.03120465762913227,
0.036349982023239136,
-0.028654934838414192,
-0.052828412503004074,
-0.01792239211499691,
-0.043359484523534775,
-0.0106445187702775,
0.006855917163193226,
-0.002137091476470232,
-0.041911981999874115,
0.04068713262677193,
0.05440355837345123,
0.056390613317489624,
0.07222208380699158,
0.0021563705522567034,
0.014348282478749752,
-0.02205718122422695,
-0.036115631461143494,
-0.08577512204647064,
-0.0022282805293798447,
0.02236650139093399,
0.005715570878237486,
-0.018977398052811623,
-0.0008636161801405251,
-0.017535921186208725,
0.009513875469565392,
-0.06196647137403488,
-0.03169756010174751,
0.027979061007499695,
-0.03173716366291046,
0.03542011231184006,
0.011913478374481201,
-0.05716767534613609,
-0.0012604648945853114,
0.051457516849040985,
-0.04851138964295387,
-0.016118939965963364,
-0.04489472135901451,
0.0652521476149559,
-0.044230230152606964,
0.04839634150266647,
-0.025802461430430412,
-0.022533509880304337,
0.061106808483600616,
0.024927029386162758,
0.005987306125462055,
0.07244904339313507,
-0.020837269723415375,
0.022350944578647614,
0.04515421763062477,
-0.02115948684513569,
-0.002135205315425992,
0.02474583126604557,
-0.0067544239573180676,
-0.030033504590392113,
0.027135813608765602,
-0.00144508620724082,
-0.007245360407978296,
-0.04413842782378197,
0.07946406304836273,
0.002777902642264962,
-0.03656648099422455,
-0.03492751345038414,
0.009732048958539963,
-0.01664859429001808,
-0.010934515856206417,
-0.018189746886491776,
-0.003956435713917017,
-0.03231973946094513,
0.05362217500805855,
-0.01611201837658882,
0.04025093838572502,
0.062094926834106445,
0.014161511324346066,
-0.003587249433621764,
-0.00013844000932294875,
0.09056875854730606,
0.09862550348043442,
0.03269132226705551,
0.00979461707174778,
0.05705147981643677,
-0.012288447469472885,
-0.03693429008126259,
-0.00399389024823904,
-0.04630781337618828,
-0.03343473747372627,
0.008046383038163185,
0.009895865805447102,
0.09453797340393066,
-0.03810754790902138,
0.05679149553179741,
-0.003742109751328826,
-0.02250947803258896,
-0.007448532152920961,
-0.015055512078106403,
0.07316572964191437,
0.0429936982691288,
0.02082754485309124,
0.050201255828142166,
-0.04176131635904312,
-0.03471456095576286,
0.04052354767918587,
0.007475725840777159,
-0.00103901291731745,
0.03415682166814804,
-0.023343516513705254,
0.004190383944660425,
0.013854908756911755,
0.028218993917107582,
0.07149632275104523,
-0.022154320031404495,
-0.012624962255358696,
0.009519544430077076,
0.018513863906264305,
-0.015125490725040436,
0.02871238999068737,
-0.015947552397847176,
-0.008881970308721066,
-0.014873269945383072,
-0.049313053488731384,
-0.017712103202939034,
0.0034954289440065622,
-0.06848425418138504,
0.022070296108722687,
-0.03600529581308365,
0.009478618390858173,
0.0031037665903568268,
-0.030170632526278496,
-0.026590557768940926,
-0.05309675633907318,
-0.02366313710808754,
-0.05228479951620102,
-0.07527241855859756,
0.00037294873618520796,
0.0127458106726408,
-0.02657298371195793,
-0.033352531492710114,
0.027491318061947823,
-0.02742491289973259,
-0.03351540490984917,
0.004623456858098507,
-0.060952432453632355,
-0.00879417173564434,
0.01511223241686821,
-0.00581352598965168,
0.01481342688202858,
0.01426740549504757,
0.05200723931193352,
0.015856117010116577,
0.00264115072786808,
-0.026865974068641663,
0.018499143421649933,
0.05828652158379555,
0.006052026059478521,
-0.0131986103951931,
-0.06868840008974075,
0.03150708228349686,
0.037266701459884644,
-0.03031044453382492,
-0.09524679183959961,
0.019084302708506584,
0.03051823377609253,
-0.0130850188434124,
0.018430691212415695,
-0.017875755205750465,
-0.010548331774771214,
0.0014082874404266477,
0.0008061281405389309,
0.01624819077551365,
0.0308346226811409,
0.03996700420975685,
-0.03117288276553154,
0.05286930873990059,
0.06698353588581085,
-0.03586568310856819,
-0.02222410775721073,
-0.03125496953725815,
0.015414946712553501,
-0.003885796060785651,
-0.05811656266450882,
-0.032808221876621246,
-0.07303726673126221,
-0.10447853803634644,
-0.03910604491829872,
0.002566548064351082,
-0.03132977709174156,
-0.00112248701043427,
0.004356658086180687,
0.03918423876166344,
-0.02192041277885437,
0.0029611848294734955,
-0.04025162383913994,
0.03809622675180435,
-0.026962818577885628,
-0.029950937256217003,
-0.034419525414705276,
0.016429776325821877,
0.0023793368600308895,
0.015423459000885487,
-0.008067789487540722,
-0.061301130801439285,
0.010787528939545155,
-0.03059074841439724,
0.02615927718579769,
0.03372935578227043,
0.0360291488468647,
0.007823974825441837
] | [
-0.0572531595826149,
-0.04594137519598007,
-0.03261377662420273,
-0.011243394576013088,
0.06518015265464783,
-0.04713165760040283,
0.008870071731507778,
0.007761091459542513,
0.03731539100408554,
-0.036351874470710754,
0.06375408172607422,
-0.028723539784550667,
0.03282438963651657,
-0.007012959569692612,
0.05571579188108444,
-0.019239481538534164,
-0.059021126478910446,
-0.06560374051332474,
-0.022132335230708122,
0.06542684882879257,
-0.07674449682235718,
-0.055180877447128296,
-0.01217747014015913,
-0.019871646538376808,
0.040931131690740585,
0.04807209596037865,
0.02710377797484398,
-0.03229869157075882,
-0.045424651354551315,
-0.19880755245685577,
0.008148455061018467,
0.03103586658835411,
0.04824213683605194,
0.023956449702382088,
0.01815381832420826,
0.026872681453824043,
0.04533269256353378,
-0.021049851551651955,
0.03072919137775898,
0.03256559371948242,
0.01698540337383747,
0.010578475892543793,
-0.04655405506491661,
-0.0037796790711581707,
0.029432648792862892,
0.032790862023830414,
-0.047923311591148376,
-0.0064397514797747135,
-0.04878569394350052,
0.028690919280052185,
-0.03273404389619827,
-0.006464070174843073,
0.021912891417741776,
0.0249134823679924,
0.01932256482541561,
0.07910273969173431,
0.047697409987449646,
0.028939634561538696,
0.026493992656469345,
0.02985437773168087,
-0.0063394177705049515,
0.0015874719247221947,
-0.16928033530712128,
0.05506451055407524,
0.0016075484454631805,
-0.018901647999882698,
-0.020777376368641853,
-0.00765108922496438,
-0.02701609581708908,
0.049752283841371536,
0.03172461688518524,
0.009785609319806099,
-0.06563662737607956,
0.05406441539525986,
-0.004056686535477638,
0.02245807647705078,
-0.021866928786039352,
-0.002079716185107827,
0.03867948055267334,
-0.013839056715369225,
-0.037398453801870346,
0.049096107482910156,
-0.03447100147604942,
-0.010849577374756336,
-0.02900765649974346,
0.020853761583566666,
0.0030745528638362885,
0.03319849818944931,
-0.020649317651987076,
0.04697420075535774,
0.011725791729986668,
0.04083681479096413,
0.03400919586420059,
0.034111138433218,
-0.10778633505105972,
-0.015070327557623386,
0.03609128296375275,
0.04273637384176254,
0.016496935859322548,
0.39490747451782227,
-0.017951609566807747,
0.03875720500946045,
0.02409025840461254,
0.06716962158679962,
-0.029413700103759766,
-0.03562214970588684,
0.013089017011225224,
-0.07298695296049118,
0.04485007002949715,
-0.032957252115011215,
-0.00832351204007864,
-0.03212461248040199,
0.04975815489888191,
-0.09706781804561615,
0.026577578857541084,
0.01216146256774664,
0.06827098876237869,
0.012308833189308643,
0.0013667491730302572,
0.021183118224143982,
-0.018247872591018677,
0.002234323648735881,
0.032846614718437195,
0.023099657148122787,
0.014617674052715302,
0.02920098975300789,
0.029357338324189186,
0.060569580644369125,
0.040386367589235306,
0.022479040548205376,
0.07199452817440033,
0.027683444321155548,
-0.07700035721063614,
0.01344356033951044,
-0.016891660168766975,
0.006279143504798412,
0.010256840847432613,
-0.03333183377981186,
-0.008726156316697598,
0.03385518491268158,
-0.013846620917320251,
-0.06337299197912216,
0.0304813664406538,
0.014877385459840298,
-0.0327240489423275,
0.1475512832403183,
-0.028679458424448967,
-0.04260476306080818,
-0.035439714789390564,
-0.029565833508968353,
-0.002969175111502409,
0.04044213145971298,
-0.00029625778552144766,
-0.07280182838439941,
-0.020288806408643723,
0.0002488248865120113,
0.10199142247438431,
-0.02584492228925228,
-0.08428551256656647,
-0.0014059474924579263,
-0.021704627200961113,
-0.027195096015930176,
-0.04532422497868538,
0.08682605624198914,
0.062203750014305115,
-0.12295016646385193,
0.030243096873164177,
0.016164977103471756,
0.00568728381767869,
-0.07308395206928253,
0.045048296451568604,
-0.020525429397821426,
-0.015138850547373295,
0.010321107693016529,
0.07053250819444656,
0.007660293020308018,
-0.000054551106586586684,
-0.004720475524663925,
0.027614858001470566,
0.009329465217888355,
-0.02693943865597248,
-0.004628625698387623,
-0.06605827063322067,
-0.003068063175305724,
-0.0429593026638031,
-0.02296490967273712,
-0.0811355859041214,
0.023959312587976456,
-0.016520388424396515,
-0.015162352472543716,
-0.03326570615172386,
-0.017153795808553696,
-0.10075032711029053,
0.08371619135141373,
-0.05678636208176613,
-0.05131644010543823,
-0.004120816942304373,
0.0029385595116764307,
-0.009352224878966808,
-0.044694479554891586,
-0.0012209508568048477,
0.00548639427870512,
-0.03559904173016548,
0.0031474274583160877,
-0.05162891745567322,
0.02301310934126377,
0.07315333932638168,
-0.014990360476076603,
0.0818244069814682,
0.039425626397132874,
-0.014090257696807384,
-0.014364073984324932,
-0.013335518538951874,
0.010469078086316586,
0.0077959285117685795,
-0.012994382530450821,
0.007837950251996517,
-0.03632700815796852,
-0.0076720514334738255,
0.04645758494734764,
-0.01595214009284973,
0.017783060669898987,
-0.0025187060236930847,
-0.3267342448234558,
-0.01656833477318287,
-0.017180094495415688,
0.009016427211463451,
-0.0076203979551792145,
-0.03712056949734688,
0.024014197289943695,
-0.024351032450795174,
0.02831888012588024,
0.07417082041501999,
0.07958106696605682,
0.03577452525496483,
-0.02878536656498909,
-0.06246262788772583,
0.0016185970744118094,
0.05181790888309479,
-0.003602424403652549,
0.025081221014261246,
-0.015805328264832497,
0.008896746672689915,
-0.007119228597730398,
-0.04886471480131149,
-0.030122412368655205,
-0.017979148775339127,
0.007618915755301714,
0.004485175013542175,
0.12628377974033356,
0.04203784838318825,
-0.030790075659751892,
-0.05116600543260574,
0.03420466557145119,
0.020222660154104233,
-0.025095950812101364,
-0.06150192767381668,
0.010232125408947468,
0.0005546282627619803,
0.032890673726797104,
0.0010309627978131175,
0.00035702766035683453,
-0.009509737603366375,
-0.06166199594736099,
-0.0016885757213458419,
-0.03722474351525307,
-0.03910146653652191,
-0.038221195340156555,
0.0032848601695150137,
-0.009577309712767601,
0.001572154462337494,
-0.02415480837225914,
0.05496330186724663,
0.01700834184885025,
-0.024242369458079338,
0.020067187026143074,
0.045715853571891785,
0.026966223493218422,
-0.04081052914261818,
-0.05579454079270363,
-0.02637174166738987,
0.006605280563235283,
0.04274610057473183,
0.007940774783492088,
0.05420057475566864,
0.008509510196745396,
-0.07734868675470352,
0.012907917611300945,
-0.03778214752674103,
-0.037924814969301224,
-0.014827867038547993,
0.01081551518291235,
-0.0197566170245409,
-0.015080724842846394,
0.07617424428462982,
-0.03472171351313591,
0.04604705050587654,
0.02670055627822876,
-0.00008916146907722577,
-0.048859432339668274,
-0.02271929569542408,
0.03154173865914345,
0.007746401708573103,
0.04044221714138985,
-0.05222859978675842,
0.07418940216302872,
-0.035689808428287506,
-0.01366451010107994,
0.04940294846892357,
0.02029288001358509,
-0.008484004065394402,
0.07938046753406525,
0.017962045967578888,
-0.034872591495513916,
-0.023973962292075157,
-0.04660684987902641,
-0.026059871539473534,
0.028907587751746178,
-0.011546755209565163,
-0.27474990487098694,
0.049258120357990265,
0.00031802672310732305,
0.03735100477933884,
0.009168792515993118,
0.01518290489912033,
0.02313624508678913,
-0.02216358855366707,
-0.03277302160859108,
-0.00903252325952053,
0.04730737954378128,
0.07514207810163498,
-0.009294014424085617,
-0.003080847207456827,
0.0090500982478261,
0.030117828398942947,
-0.0013473775470629334,
-0.0032956122886389494,
-0.004566558636724949,
-0.0026472967583686113,
0.027661945670843124,
-0.029239313676953316,
0.18217137455940247,
0.018291587010025978,
0.016402363777160645,
0.03549271076917648,
-0.02987569011747837,
0.007544629741460085,
0.04860854148864746,
-0.03074340522289276,
-0.03893568366765976,
0.014884724281728268,
0.0179013442248106,
0.019854877144098282,
0.015394579619169235,
-0.0019581830129027367,
-0.02301420271396637,
0.021825632080435753,
0.02332780696451664,
-0.025196481496095657,
-0.00012222617806401104,
0.0077786799520254135,
-0.007173297461122274,
0.04121752455830574,
0.07662347704172134,
-0.008638826198875904,
0.008845631964504719,
-0.052496787160634995,
-0.029192935675382614,
-0.01923915557563305,
-0.026655636727809906,
-0.04993715509772301,
-0.03189822658896446,
-0.009166603907942772,
0.0008341740467585623,
0.049877896904945374,
-0.007185370195657015,
-0.016843650490045547,
0.05110051855444908,
0.01732240803539753,
-0.05583858862519264,
-0.0384511798620224,
0.07015353441238403,
-0.025557102635502815,
0.004176707938313484
] | [
0.013461948372423649,
0.062352217733860016,
0.000567602866794914,
0.017775479704141617,
0.005014066118746996,
0.007859759032726288,
-0.006211576052010059,
0.0015959048178046942,
-0.02999992109835148,
-0.024455148726701736,
-0.04868974909186363,
0.003611004212871194,
0.055942077189683914,
-0.007877792231738567,
0.013468817807734013,
-0.0054518780671060085,
-0.016664374619722366,
0.014907254837453365,
0.044093817472457886,
-0.02964390441775322,
-0.06601414084434509,
-0.009152285754680634,
0.028845421969890594,
0.003948837053030729,
0.004408960696309805,
0.02478785440325737,
-0.0020706751383841038,
0.013362034223973751,
0.008901411667466164,
-0.057520296424627304,
-0.03699095919728279,
0.001278973650187254,
-0.012668217532336712,
0.014390317723155022,
-0.02466663159430027,
0.01684114895761013,
0.022609764710068703,
0.042289625853300095,
0.029042718932032585,
0.014271024614572525,
-0.010337342508137226,
-0.0024164908099919558,
-0.008524706587195396,
-0.0184242594987154,
0.01615091972053051,
0.009423382580280304,
-0.01349841058254242,
-0.00996552687138319,
-0.002141849137842655,
-0.0030194588471204042,
-0.020627150312066078,
-0.008647746406495571,
-0.015896648168563843,
0.017275631427764893,
0.02329881489276886,
0.018862055614590645,
-0.0916624367237091,
-0.016999514773488045,
-0.03437083214521408,
-0.044969283044338226,
-0.009426198899745941,
-0.015833422541618347,
-0.059944264590740204,
-0.011644112877547741,
-0.0011492465855553746,
-0.008218994364142418,
-0.023119516670703888,
0.022672247141599655,
0.005041532218456268,
0.005238741636276245,
-0.022328827530145645,
0.06090911850333214,
-0.06639215350151062,
-0.038874510675668716,
-0.024974921718239784,
0.040323562920093536,
0.033353790640830994,
-0.0317661315202713,
0.03470709174871445,
-0.013454861007630825,
-0.029383420944213867,
0.024418974295258522,
-0.035875193774700165,
-0.0012047610944136977,
-0.020964043214917183,
-0.029709188267588615,
0.003976205829530954,
-0.002248151693493128,
-0.01187541801482439,
-0.0012964309426024556,
-0.0227794349193573,
0.04153895005583763,
0.006687182001769543,
-0.0255507193505764,
-0.09305723011493683,
0.005141467787325382,
0.011154653504490852,
0.022959601134061813,
0.03931243717670441,
0.8298815488815308,
0.00704512745141983,
-0.012698004953563213,
0.0062438612803816795,
0.014807205647230148,
-0.030969295650720596,
0.0030626074876636267,
0.002984044374898076,
0.017192333936691284,
0.014287345111370087,
0.004933852702379227,
-0.03112727589905262,
0.01910567842423916,
0.008490849286317825,
0.02232239581644535,
0.00989454798400402,
0.06518439203500748,
0.03003118932247162,
-0.0023296396248042583,
-0.009741638787090778,
0.019556911662220955,
0.0014623577008023858,
0.03634510934352875,
0.013297317549586296,
0.033991653472185135,
-0.008931294083595276,
-0.17128433287143707,
0.010619182139635086,
-6.308696713922809e-33,
0.057014577090740204,
-0.0021308804862201214,
0.07328888028860092,
-0.025496158748865128,
0.017296088859438896,
0.01854039542376995,
-0.05395594611763954,
-0.04559256508946419,
-0.008746414445340633,
-0.019145851954817772,
-0.015821104869246483,
0.011562113650143147,
0.02270573563873768,
-0.04129888862371445,
0.017453482374548912,
-0.015924571081995964,
0.0033885620068758726,
0.030834157019853592,
-0.02383587881922722,
-0.008213048800826073,
-0.026275720447301865,
0.02854549139738083,
-0.0010340552544221282,
0.04882284998893738,
0.011676710098981857,
0.045670658349990845,
0.00809919461607933,
0.008159941993653774,
0.004681101068854332,
-0.048757389187812805,
-0.03489015996456146,
0.03879493474960327,
-0.027373814955353737,
0.012214080430567265,
0.003101749811321497,
-0.0633929893374443,
-0.01965729333460331,
-0.006088776048272848,
-0.03785352408885956,
-0.056797660887241364,
-0.02162494696676731,
-0.006750893779098988,
-0.013897163793444633,
-0.025835514068603516,
-0.028614923357963562,
-0.015927042812108994,
-0.003631047671660781,
0.030862772837281227,
-0.005282068159431219,
0.0178432185202837,
0.02104216068983078,
-0.0037555925082415342,
-0.032383501529693604,
0.0027899062260985374,
-0.0629204735159874,
0.0044660852290689945,
0.010238928720355034,
0.0492108091711998,
-0.020268237218260765,
0.02957410179078579,
0.023098208010196686,
-0.01575329899787903,
0.015834061428904533,
0.05307098850607872,
0.010160394012928009,
0.017243262380361557,
-0.012508155778050423,
-0.022262925282120705,
0.005399572663009167,
0.04676764830946922,
-0.03609646484255791,
0.06514115631580353,
-0.026642702519893646,
-0.007277044467628002,
0.03831641003489494,
-0.05331560969352722,
0.011896338313817978,
0.011006109416484833,
0.02645893581211567,
0.04847678542137146,
-0.002113225869834423,
-0.014848851598799229,
0.013598732650279999,
-0.021410681307315826,
-0.02636009082198143,
-0.03916439041495323,
0.03512686863541603,
0.010987629182636738,
-0.010909909382462502,
0.016855275258421898,
0.007467403542250395,
0.0058827451430261135,
0.032385341823101044,
-0.0028642138931900263,
-0.008904204703867435,
5.994718132056345e-33,
0.01579960249364376,
-0.023295046761631966,
0.013704854995012283,
-0.023004882037639618,
0.05091474950313568,
-0.008669153787195683,
0.01634490117430687,
0.012679903768002987,
-0.02202223427593708,
0.03260955587029457,
-0.013143044896423817,
-0.026655595749616623,
0.016537686809897423,
0.026234952732920647,
0.05581080913543701,
0.00018613490101415664,
0.049622513353824615,
-0.026402616873383522,
-0.010322858579456806,
0.0207382682710886,
-0.016102002933621407,
-0.019831838086247444,
0.008041303604841232,
-0.008273919112980366,
0.0480043850839138,
0.03217761591076851,
0.007813334465026855,
0.005547699984163046,
-0.017668327316641808,
-0.01097048632800579,
0.009304087609052658,
-0.01357803214341402,
-0.028462368994951248,
-0.024056125432252884,
0.02254503220319748,
0.0121998880058527,
-0.018580596894025803,
-0.020880181342363358,
0.0015540893655270338,
-0.014031738974153996,
0.028386376798152924,
0.02340436540544033,
-0.01808437891304493,
0.059516578912734985,
0.02081388607621193,
0.006765639875084162,
-0.009289062581956387,
-0.0008312626159749925,
-0.03782081976532936,
0.02716691419482231,
0.0055532497353851795,
-0.0008420611848123372,
-0.001076522865332663,
0.009255397133529186,
0.023645205423235893,
-0.03270193189382553,
-0.004906606860458851,
0.013993363827466965,
0.011724251322448254,
-0.021444758400321007,
-0.013127422891557217,
-0.0014857599744573236,
-0.032113704830408096,
0.04091208055615425,
-0.03006456419825554,
-0.0384102389216423,
-0.02038918063044548,
-0.01777372695505619,
0.002624401357024908,
0.034500379115343094,
0.002173573710024357,
-0.0563211552798748,
-0.02562098018825054,
0.019967954605817795,
0.01644797809422016,
-0.020578132942318916,
-0.0316956602036953,
-0.004672600422054529,
-0.024779928848147392,
0.01611669361591339,
0.0031010538805276155,
0.0035767341032624245,
0.02293361723423004,
0.026849931105971336,
-0.009093284606933594,
-0.00015327103028539568,
-0.038885146379470825,
0.05638250708580017,
0.008617013692855835,
0.00260473252274096,
0.03147037699818611,
-0.05032414570450783,
-0.027274763211607933,
0.06795774400234222,
-0.038613468408584595,
-1.2437089580430438e-8,
-0.02216014824807644,
-0.005426995921880007,
-0.02766394056379795,
-0.00844568945467472,
0.01697458140552044,
0.004563927184790373,
0.0025860872119665146,
0.0049758232198655605,
-0.012126428075134754,
0.018347252160310745,
0.0406474806368351,
-0.025946957990527153,
0.009033992886543274,
-0.013839513063430786,
-0.005896190647035837,
-0.055103134363889694,
-0.010588475503027439,
-0.023355811834335327,
0.019265413284301758,
-0.000944418425206095,
-0.014885537326335907,
0.021038897335529327,
-0.03963003680109978,
0.006929407827556133,
0.015728043392300606,
0.0029357760213315487,
0.008476908318698406,
-0.040146708488464355,
-0.0003968868695665151,
-0.024140195921063423,
0.008579921908676624,
-0.014693580567836761,
-0.023322636261582375,
0.013021757826209068,
-0.054082851856946945,
-0.046321261674165726,
0.018937326967716217,
0.049270354211330414,
0.019593503326177597,
0.03747231885790825,
0.01411376241594553,
0.031032344326376915,
-0.02042202651500702,
-0.01745070144534111,
-0.03155023232102394,
0.008792372420430183,
-0.01687515527009964,
-0.014335604384541512,
0.02802974358201027,
-0.044427767395973206,
0.006808193866163492,
-0.01368523295968771,
0.012222948484122753,
0.006663328502327204,
0.012477287091314793,
0.01362892147153616,
-0.010786949656903744,
-0.0027414909563958645,
-0.0172941442579031,
-0.07225270569324493,
-0.02308427356183529,
0.0006492548855021596,
-0.01415236946195364,
-0.03944321721792221
] | r-grouping-by-week-month-quarter | https://markhneedham.com/blog/2014/08/29/r-grouping-by-week-month-quarter |
false | 2014-08-29 09:13:00 | R: dplyr - group_by dynamic or programmatic field / variable (Error: index out of bounds) | [
"r-2"
] | [
"R"
] | In my http://www.markhneedham.com/blog/2014/08/29/r-grouping-by-week-month-quarter/[last blog post] I showed how to group timestamp based data by week, month and quarter and by the end we had the following code samples using http://cran.r-project.org/web/packages/dplyr/index.html[dplyr] and http://cran.r-project.org/web/packages/zoo/index.html[zoo]:
[source,r]
----
library(RNeo4j)
library(zoo)
timestampToDate <- function(x) as.POSIXct(x / 1000, origin="1970-01-01", tz = "GMT")
query = "MATCH (:Person)-[:HAS_MEETUP_PROFILE]->()-[:HAS_MEMBERSHIP]->(membership)-[:OF_GROUP]->(g:Group {name: \"Neo4j - London User Group\"})
RETURN membership.joined AS joinTimestamp"
meetupMembers = cypher(graph, query)
meetupMembers$joinDate <- timestampToDate(meetupMembers$joinTimestamp)
meetupMembers$monthYear <- as.Date(as.yearmon(meetupMembers$joinDate))
meetupMembers$quarterYear <- as.Date(as.yearqtr(meetupMembers$joinDate))
meetupMembers %.% group_by(week) %.% summarise(n = n())
meetupMembers %.% group_by(monthYear) %.% summarise(n = n())
meetupMembers %.% group_by(quarterYear) %.% summarise(n = n())
----
As you can see there's quite a bit of duplication going on - the only thing that changes in the last 3 lines is the name of the field that we want to group by.
I wanted to pull this code out into a function and my first attempt was this:
[source,r]
----
groupMembersBy = function(field) {
meetupMembers %.% group_by(field) %.% summarise(n = n())
}
----
And now if we try to group by week:
[source,r]
----
> groupMembersBy("week")
Show Traceback
Rerun with Debug
Error: index out of bounds
----
It turns out if we want to do this then http://stackoverflow.com/questions/21815060/dplyr-how-to-use-group-by-inside-a-function[we actually want the +++<cite>+++regroup+++</cite>+++ function rather than +++<cite>+++group_by+++</cite>+++]:
[source,r]
----
groupMembersBy = function(field) {
meetupMembers %.% regroup(list(field)) %.% summarise(n = n())
}
----
And now if we group by week:
[source,r]
----
> head(groupMembersBy("week"), 20)
Source: local data frame [20 x 2]
week n
1 2011-06-02 8
2 2011-06-09 4
3 2011-06-16 1
4 2011-06-30 2
5 2011-07-14 1
6 2011-07-21 1
7 2011-08-18 1
8 2011-10-13 1
9 2011-11-24 2
10 2012-01-05 1
11 2012-01-12 3
12 2012-02-09 1
13 2012-02-16 2
14 2012-02-23 4
15 2012-03-01 2
16 2012-03-08 3
17 2012-03-15 5
18 2012-03-29 1
19 2012-04-05 2
20 2012-04-19 1
----
Much better! | null | null | [
0.004739730153232813,
-0.017590949311852455,
-0.005431375466287136,
0.025524139404296875,
0.07997844368219376,
0.0017048140289261937,
0.0384388267993927,
0.026556354016065598,
0.011441816575825214,
0.017763761803507805,
-0.00289341458119452,
-0.02196686901152134,
-0.076640285551548,
0.038112133741378784,
-0.029510242864489555,
0.09044186770915985,
0.0629454106092453,
-0.021613709628582,
0.016956165432929993,
0.01436265092343092,
0.03072071447968483,
0.028672270476818085,
-0.011105714365839958,
0.03548552468419075,
0.03927445411682129,
0.005573177244514227,
0.009798080660402775,
-0.0031578028574585915,
-0.04481734335422516,
0.01352547574788332,
0.0615878663957119,
0.022772623226046562,
0.028704706579446793,
0.010275129228830338,
0.0276511050760746,
-0.029282093048095703,
-0.017532071098685265,
-0.004730992019176483,
0.004360782448202372,
-0.015233039855957031,
-0.04278065636754036,
0.013521580025553703,
-0.012645216658711433,
0.009901758283376694,
-0.04222559928894043,
0.009783434681594372,
-0.05628887191414833,
0.030377430841326714,
-0.014797366224229336,
0.021902158856391907,
-0.05477815121412277,
0.008622044697403908,
0.0038961635436862707,
-0.016746684908866882,
-0.00801552552729845,
0.05618911236524582,
0.011539029888808727,
-0.06825561821460724,
0.01671810820698738,
-0.05032632499933243,
0.025646649301052094,
-0.004139471799135208,
0.009676296263933182,
-0.006165640894323587,
-0.024562617763876915,
0.00010802724864333868,
0.000572906865272671,
0.035789597779512405,
-0.024959782138466835,
0.005447229836136103,
-0.01472866628319025,
0.009639802388846874,
-0.0366813987493515,
0.00768689950928092,
0.006034232676029205,
-0.042533911764621735,
-0.0176160279661417,
0.05713478475809097,
0.03175603970885277,
0.035128843039274216,
-0.0026181628927588463,
-0.007688586600124836,
0.02245333418250084,
0.0309466402977705,
0.016617832705378532,
-0.04530936852097511,
-0.033398084342479706,
-0.04595256596803665,
-0.06001151725649834,
0.07248658686876297,
-0.010232359170913696,
-0.06863142549991608,
0.011648153886198997,
0.01563677005469799,
-0.010563951916992664,
-0.008298086933791637,
0.016404300928115845,
-0.010939404368400574,
0.021387334913015366,
-0.023535629734396935,
-0.0502469576895237,
-0.029796676710247993,
0.029281506314873695,
0.0008266144432127476,
-0.06835836917161942,
0.009666414000093937,
-0.038892582058906555,
-0.030515292659401894,
0.02471500262618065,
-0.0006257783388718963,
-0.029003143310546875,
0.006493694148957729,
0.0020090683829039335,
0.02356727421283722,
-0.06418484449386597,
0.0814138874411583,
0.033463556319475174,
-0.03018886223435402,
-0.01636611670255661,
-0.02596772089600563,
0.040570780634880066,
0.03053048625588417,
-0.002358667552471161,
0.06998510658740997,
-0.01712029054760933,
0.0886249765753746,
0.022075066342949867,
0.04302946478128433,
-0.03178601339459419,
-0.07645424455404282,
-0.025929614901542664,
0.050468895584344864,
-0.032599106431007385,
0.002646435284987092,
-0.03502299264073372,
-0.047057319432497025,
-0.03793155774474144,
-0.02231328934431076,
0.06473187357187271,
0.020673301070928574,
0.03571424260735512,
-0.020441580563783646,
0.006131481844931841,
-0.013771123252809048,
0.030035611242055893,
0.038014888763427734,
-0.01912625879049301,
-0.062092456966638565,
-0.057290200144052505,
-0.0016925729578360915,
0.030821915715932846,
0.004558165557682514,
0.05001364275813103,
-0.02496817149221897,
0.02430064044892788,
0.05735968053340912,
0.012094804085791111,
0.006415557581931353,
-0.013136406429111958,
-0.007601932622492313,
0.04228859394788742,
0.034440480172634125,
-0.01305417250841856,
0.05894337221980095,
-0.008352762088179588,
-0.02017715573310852,
0.01687767170369625,
0.030409138649702072,
-0.027136757969856262,
0.004336788319051266,
-0.041737522929906845,
-0.06182141229510307,
0.04252864420413971,
-0.019297000020742416,
0.012439961545169353,
0.03262929245829582,
0.0637524202466011,
0.02270488813519478,
0.03007601574063301,
0.009389057755470276,
-0.07688791304826736,
0.040890567004680634,
0.00900230836123228,
0.0191604383289814,
0.045790836215019226,
-0.037742309272289276,
0.05279599130153656,
0.006910671014338732,
-0.010298996232450008,
0.038965947926044464,
-0.08900311589241028,
-0.043730154633522034,
-0.022987527772784233,
-0.029199842363595963,
0.06691255420446396,
-0.05478902533650398,
0.0330013670027256,
0.06474321335554123,
-0.00010570966696832329,
0.021156154572963715,
-0.01335097011178732,
0.037042081356048584,
0.02100609987974167,
-0.02836163528263569,
-0.03920517489314079,
0.03986845538020134,
0.012584982439875603,
-0.0143183134496212,
-0.005839921999722719,
0.017291449010372162,
-0.026584936305880547,
0.059075016528367996,
0.010968242771923542,
-0.03791234642267227,
0.056423891335725784,
0.0373130664229393,
0.0409587062895298,
0.02688775025308132,
0.006959524005651474,
-0.012887060642242432,
0.03312738984823227,
-0.007691096980124712,
-0.005780783947557211,
-0.026420574635267258,
-0.015765994787216187,
0.1161610409617424,
0.0647784024477005,
-0.028721310198307037,
-0.03339090198278427,
0.024344872683286667,
-0.002350362716242671,
-0.02161138318479061,
0.021998083218932152,
-0.02459227852523327,
0.015716830268502235,
-0.030482498928904533,
-0.031955454498529434,
-0.033673614263534546,
-0.0171651691198349,
-0.02863653562963009,
0.027932940050959587,
0.05262305960059166,
0.0002071196649922058,
0.04936176910996437,
-0.03202679753303528,
0.0028283176943659782,
-0.026231931522488594,
-0.03499448299407959,
-0.05659971386194229,
0.02936214581131935,
0.02001545950770378,
-0.006162818055599928,
0.05411914736032486,
-0.04299449548125267,
-0.01783895120024681,
-0.015147596597671509,
-0.03203519061207771,
0.04276061803102493,
0.06386889517307281,
0.04660163074731827,
-0.0037315445952117443,
0.044556874781847,
-0.0312594473361969,
-0.018904192373156548,
-0.02007569558918476,
-0.03978629410266876,
-0.05241803079843521,
-0.0219607874751091,
-0.0034968052059412003,
0.008417606353759766,
0.041734714061021805,
-0.004781296942383051,
-0.013585243374109268,
0.028923209756612778,
-0.0016844391357153654,
-0.01933484524488449,
0.029796546325087547,
0.002424029167741537,
0.006041418295353651,
-0.027422865852713585,
-0.031234223395586014,
0.0441337414085865,
-0.028167299926280975,
-0.035458821803331375,
-0.014159427024424076,
-0.04489418491721153,
0.057426586747169495,
-0.036306679248809814,
-0.026566393673419952,
0.006964279804378748,
0.04732421040534973,
0.07328083366155624,
0.03379938378930092,
0.04031471908092499,
0.0759890079498291,
-0.0021476480178534985,
0.041022367775440216,
0.007740992121398449,
-0.006570445839315653,
0.04847581684589386,
0.002191937295719981,
0.004806966055184603,
0.04717405140399933,
-0.03887913376092911,
-0.01099210325628519,
-0.0716816708445549,
-0.010136987082660198,
-0.033673930913209915,
-0.2498372495174408,
0.04117728769779205,
-0.053041309118270874,
-0.0315554141998291,
0.026916034519672394,
-0.03836333006620407,
0.05996890738606453,
-0.0173222366720438,
-0.03670451417565346,
-0.0017894019838422537,
0.008128544315695763,
-0.026801688596606255,
-0.018991678953170776,
0.046110108494758606,
0.023934004828333855,
0.013708936981856823,
-0.02155458554625511,
-0.027303587645292282,
0.0063857873901724815,
0.04466712102293968,
0.031569287180900574,
-0.048585448414087296,
-0.017394978553056717,
0.041399456560611725,
0.02511853165924549,
0.053705595433712006,
-0.06172323599457741,
-0.0003345025179442018,
-0.04920639470219612,
-0.041514985263347626,
0.020868787541985512,
0.0013265252346172929,
0.02279379591345787,
-0.016527071595191956,
0.002816387452185154,
-0.00831141322851181,
0.04743585363030434,
0.022962169721722603,
0.010649115778505802,
0.001052104402333498,
-0.028286941349506378,
-0.01018509827554226,
0.01853971742093563,
-0.027105577290058136,
0.07944410294294357,
0.04832744970917702,
-0.07199089229106903,
0.019309278577566147,
-0.011180490255355835,
0.0749039351940155,
-0.027197707444429398,
-0.008748989552259445,
0.0037022309843450785,
0.02332431823015213,
-0.03372621536254883,
-0.07832948863506317,
-0.044024065136909485,
0.0008373730233870447,
-0.018212279304862022,
-0.017496487125754356,
0.0054273782297968864,
-0.03397442027926445,
0.020715123042464256,
-0.043652284890413284,
-0.04995690658688545,
-0.07240277528762817,
-0.10533507913351059,
-0.02475135400891304,
0.057352397590875626,
0.01893376000225544,
-0.027392553165555,
0.005437611602246761,
-0.03369632735848427,
-0.10414523631334305,
-0.034641485661268234,
-0.0254471804946661,
0.018441496416926384,
-0.02033238485455513,
-0.009094169363379478,
0.062523253262043,
-0.0410473607480526,
-0.053340185433626175,
0.020551851019263268,
0.006255057640373707,
0.042813267558813095,
0.012345528230071068,
-0.010749868117272854,
0.004337955266237259,
-0.059730954468250275,
-0.03158429265022278,
0.06215909868478775,
-0.05478788539767265,
-0.022573843598365784,
0.0028894618153572083,
-0.003360016969963908,
0.02260223589837551,
-0.0033280025236308575,
0.00009788322495296597,
0.024838494136929512,
0.038210559636354446,
0.019957292824983597,
-0.02917548269033432,
0.010245687328279018,
-0.05911283195018768,
-0.035168103873729706,
-0.04396187886595726,
-0.054154880344867706,
0.03353380784392357,
0.027921847999095917,
0.045025814324617386,
0.024323269724845886,
-0.029031803831458092,
0.02279960736632347,
-0.07987929880619049,
-0.023902222514152527,
0.003770489478483796,
-0.0018744891276583076,
0.018760111182928085,
0.030457990244030952,
-0.004899409133940935,
-0.06683921068906784,
0.014033232815563679,
-0.007642542012035847,
-0.009521819651126862,
-0.03720659390091896,
-0.022653786465525627,
-0.03098088875412941,
-0.03454418480396271,
0.031695686280727386,
0.03197750076651573,
-0.028396109119057655,
0.030126512050628662,
0.0457032136619091,
-0.04042253643274307,
0.055301886051893234,
-0.006046443246304989,
-0.03232787549495697,
-0.03560684248805046,
-0.0005580779397860169,
0.009705995209515095,
-0.012033950537443161,
0.005918802227824926,
-0.001983608352020383,
0.0365392230451107,
-0.002568983705714345,
0.010315959341824055,
0.01729145087301731,
0.027238022536039352,
0.017270999029278755,
0.01735088601708412,
-0.01502182986587286,
-0.006027565337717533,
0.013733655214309692,
-0.02084677666425705,
-0.028095712885260582,
-0.025076350197196007,
0.05728602409362793,
-0.007556815166026354,
-0.009886004030704498,
-0.044473838061094284,
0.00354457157664001,
-0.044784002006053925,
0.013530568219721317,
-0.03657644987106323,
0.017862752079963684,
0.06310051679611206,
-0.011927581392228603,
0.014508619904518127,
-0.004348024260252714,
-0.014883908443152905,
-0.03594643250107765,
0.0359257347881794,
-0.012641359120607376,
0.02583286166191101,
-0.019443005323410034,
0.0011629280634224415,
0.03442962467670441,
-0.002709814580157399,
0.03235089033842087,
-0.006038818508386612,
-0.007091751787811518,
0.009618834592401981,
-0.002015589503571391,
0.0072444044053554535,
0.04263893514871597,
0.08200009912252426,
0.004975690506398678,
0.005593077279627323,
-0.017024200409650803,
-0.029785338789224625,
-0.009847319684922695,
-0.009305303916335106,
-0.0491749607026577,
-0.011409501545131207,
-0.04413173347711563,
-0.07688843458890915,
0.03240765258669853,
0.06093520671129227,
0.000013683888028026558,
0.019366521388292313,
-0.013431331142783165,
-0.009381415322422981,
-0.03743046522140503,
0.038852859288454056,
0.055607303977012634,
-0.05309946835041046,
-0.007847611792385578,
-0.011724080890417099,
-0.025093408301472664,
-0.01360542792826891,
0.014291996136307716,
-0.05585053563117981,
-0.02460084855556488,
-0.019487278535962105,
0.025808198377490044,
0.0020231702364981174,
-0.03281625360250473,
-0.05613604933023453,
0.023513657972216606,
0.01012746524065733,
0.026019107550382614,
0.0018809421453624964,
0.0015141104813665152,
-0.0005252137198112905,
-0.0031637123320251703,
0.033632729202508926,
-0.0076225451193749905,
-0.01300167664885521,
0.010136744938790798,
-0.009457575157284737,
0.010052782483398914,
-0.02714337781071663,
0.014662795700132847,
0.001991950673982501,
-0.02839689701795578,
0.0001745958288665861,
-0.05530095845460892,
0.001211325521580875,
0.010428234934806824,
0.04665529727935791,
-0.029329562559723854,
0.03313171863555908,
-0.03499702736735344,
-0.0012397001264616847,
-0.0355774387717247,
-0.000828706135507673,
0.020340926945209503,
-0.011337736621499062,
0.009488237090408802,
0.06052832677960396,
0.041933320462703705,
0.010652417317032814,
-0.025300895795226097,
-0.012369826436042786,
0.03088943287730217,
-0.009806480258703232,
-0.06331055611371994,
-0.010237599723041058,
-0.04359716176986694,
-0.010614977218210697,
-0.005524367094039917,
0.012176349759101868,
-0.054340556263923645,
0.047421522438526154,
0.041723091155290604,
0.03880482539534569,
0.05532076582312584,
-0.003751820884644985,
0.017016632482409477,
-0.01973811350762844,
0.005937587469816208,
-0.0998549833893776,
-0.010555949062108994,
0.03476836532354355,
0.00789876189082861,
-0.016802838072180748,
-0.009214188903570175,
-0.03649798408150673,
0.027742400765419006,
-0.06789451092481613,
-0.04004695639014244,
0.052204351872205734,
-0.005656374152749777,
0.03653664514422417,
0.01917564868927002,
-0.05317368730902672,
-0.02892506681382656,
0.04502202570438385,
-0.046867407858371735,
-0.021966755390167236,
-0.0360281728208065,
0.05474817007780075,
-0.037204429507255554,
0.030969295650720596,
-0.023786287754774094,
-0.027371853590011597,
0.0712161585688591,
0.0038091058377176523,
-0.0016271350905299187,
0.06349062919616699,
-0.016475209966301918,
0.019106466323137283,
0.021509211510419846,
-0.00997885037213564,
-0.009718714281916618,
0.025682510808110237,
0.004329162649810314,
-0.02942260354757309,
0.020371556282043457,
0.00912991352379322,
-0.004928305745124817,
-0.04477282986044884,
0.07510345429182053,
-0.009509328752756119,
-0.05604884400963783,
-0.03755995258688927,
0.013039431534707546,
-0.03288029506802559,
-0.0037511319387704134,
-0.01302989199757576,
0.0037284879945218563,
-0.03672028332948685,
0.0539654940366745,
-0.0142142279073596,
0.016121594235301018,
0.06478225439786911,
0.012602904811501503,
0.010333179496228695,
0.009501008316874504,
0.07380446046590805,
0.09535381942987442,
0.039890438318252563,
-0.005523124244064093,
0.044648535549640656,
-0.03787954896688461,
-0.04907446727156639,
-0.00422082282602787,
-0.06311746686697006,
-0.031024916097521782,
-0.003603261662647128,
0.01132897101342678,
0.08296715468168259,
-0.018319962546229362,
0.06353490054607391,
-0.011606554500758648,
-0.03187168389558792,
-0.0021456738468259573,
-0.00046082824701443315,
0.04877964407205582,
0.05313033610582352,
0.008205380290746689,
0.048212166875600815,
-0.037074051797389984,
-0.042960040271282196,
0.06960530579090118,
-0.0048051998019218445,
-0.030599845573306084,
0.03484348952770233,
0.0033179852180182934,
0.009446180425584316,
0.003080043476074934,
0.030523493885993958,
0.06531164050102234,
-0.03036525845527649,
-0.00396465789526701,
-0.011106175370514393,
0.03299557790160179,
-0.008022257126867771,
0.01643354259431362,
0.00043403380550444126,
-0.026040295138955116,
-0.01831924542784691,
-0.03776023909449577,
-0.014811776578426361,
0.020525027066469193,
-0.053796179592609406,
0.033679574728012085,
-0.03142394870519638,
0.00819005724042654,
0.0023345970548689365,
-0.02495383471250534,
-0.04650358855724335,
-0.044127486646175385,
-0.035333022475242615,
-0.06751759350299835,
-0.05507957562804222,
-0.005312184803187847,
0.019066890701651573,
-0.007602145429700613,
-0.03985395282506943,
0.016357440501451492,
-0.005673574283719063,
-0.03313886374235153,
-0.014629807323217392,
-0.04903789237141609,
-0.029413139447569847,
0.028713742271065712,
-0.0026819566264748573,
0.02935495413839817,
0.002259989967569709,
0.035552747547626495,
0.02447744458913803,
-0.008440189994871616,
-0.043755196034908295,
0.029368730261921883,
0.051879867911338806,
0.017497863620519638,
0.00033760679070837796,
-0.05899454280734062,
0.0406319797039032,
0.038817159831523895,
-0.018259482458233833,
-0.08977154642343521,
0.036063119769096375,
0.022885557264089584,
0.0024393515195697546,
0.030683867633342743,
0.004894718527793884,
0.016635717824101448,
-0.004460915923118591,
-0.0009261180530302227,
0.01789543405175209,
0.045965149998664856,
0.038723886013031006,
-0.019970150664448738,
0.047989800572395325,
0.057383645325899124,
-0.02621353790163994,
-0.02793668396770954,
-0.03807327151298523,
0.010060231201350689,
-0.018662896007299423,
-0.05784028768539429,
-0.03856992349028587,
-0.0724945068359375,
-0.09228896349668503,
-0.024770965799689293,
0.028109366074204445,
-0.023498380556702614,
0.008072266355156898,
0.0007594892522320151,
0.04230440407991409,
-0.0325716994702816,
-0.0015575297875329852,
-0.03173348307609558,
0.057719264179468155,
-0.02106274850666523,
-0.03685528412461281,
-0.026240425184369087,
0.019335249438881874,
-0.01000029593706131,
0.01252865232527256,
-0.012871352024376392,
-0.060745589435100555,
-0.0029563659336417913,
-0.010274127125740051,
0.029369117692112923,
0.041712913662195206,
0.01628934033215046,
0.020957928150892258
] | [
-0.04351642355322838,
-0.0408829040825367,
-0.023285098373889923,
-0.015621937811374664,
0.0717710629105568,
-0.05840802192687988,
-0.00016375962877646089,
-0.015421093441545963,
0.007005786988884211,
-0.013116179965436459,
0.08524397760629654,
-0.03205238655209541,
0.05360068008303642,
0.0023386888206005096,
0.026897579431533813,
-0.04104938730597496,
-0.07039060443639755,
-0.005533481016755104,
-0.005004408303648233,
0.048172477632761,
-0.06331126391887665,
-0.011119651608169079,
-0.017209511250257492,
-0.010261649265885353,
0.0728568360209465,
0.06983693689107895,
-0.026626864448189735,
-0.05414543300867081,
-0.06821521371603012,
-0.21944966912269592,
-0.0012122767511755228,
0.04846176877617836,
0.03165896609425545,
0.03397171571850777,
0.013359145261347294,
0.03522464632987976,
0.0578562393784523,
-0.00827515497803688,
0.008209405466914177,
0.020671997219324112,
0.01694989763200283,
0.0021155639551579952,
-0.04526958614587784,
-0.006192035507410765,
-0.0015447029145434499,
0.009651143103837967,
-0.055464986711740494,
-0.0165654756128788,
-0.009026207961142063,
0.026297153905034065,
0.013012884184718132,
-0.017436981201171875,
0.011829973198473454,
0.03938739374279976,
0.024524442851543427,
0.08995413780212402,
0.023836782202124596,
0.0015555174322798848,
0.005780612584203482,
-0.003087911056354642,
0.01577909104526043,
0.005156707018613815,
-0.192186176776886,
0.08376402407884598,
-0.00161218352150172,
0.004310626536607742,
-0.01668173260986805,
0.014335514046251774,
-0.024762365967035294,
0.029953574761748314,
-0.0033613897394388914,
0.010530560277402401,
-0.04761437699198723,
0.045656681060791016,
0.005792804528027773,
0.014544155448675156,
-0.06327506899833679,
-0.030563676729798317,
0.05084868147969246,
-0.0057922848500311375,
-0.03872368112206459,
0.0661364495754242,
-0.024193421006202698,
-0.03102530911564827,
0.051092084497213364,
-0.003026848891749978,
0.0349910706281662,
-0.02315777912735939,
-0.03155113011598587,
0.0160813145339489,
0.01576865091919899,
0.0032670460641384125,
0.04419058933854103,
0.046865902841091156,
-0.09190823882818222,
0.00679720938205719,
0.03289514407515526,
0.017964066937565804,
0.004698922857642174,
0.3761780261993408,
-0.030477799475193024,
0.03183707967400551,
0.0009563920903019607,
0.05329649895429611,
-0.03857892379164696,
-0.02892313152551651,
0.010929460637271404,
-0.05754009634256363,
0.024639824405312538,
0.010282514616847038,
-0.02476629428565502,
-0.017415780574083328,
0.035123467445373535,
-0.09897662699222565,
0.00532880425453186,
-0.008745789527893066,
0.02668565697968006,
0.023097466677427292,
0.023518171161413193,
0.034088291227817535,
0.030193213373422623,
-0.023188509047031403,
0.02404681406915188,
0.04458988085389137,
-0.008836375549435616,
0.05156487226486206,
0.03573211655020714,
0.06016801297664642,
0.07038463652133942,
0.0029115972574800253,
0.09129010885953903,
0.04203823581337929,
-0.08413784950971603,
-0.006313822697848082,
0.013884889893233776,
0.0021534112747758627,
0.014323771931231022,
-0.049216900020837784,
0.0003176682803314179,
-0.00956349354237318,
-0.044547710567712784,
-0.041201554238796234,
0.04780903458595276,
-0.0032349033281207085,
-0.0440119206905365,
0.14812485873699188,
-0.02506040595471859,
-0.02682259865105152,
-0.025213003158569336,
-0.015754928812384605,
-0.025615502148866653,
0.04440043121576309,
0.013149028643965721,
-0.0473339818418026,
-0.04295327141880989,
0.01811136305332184,
0.08958199620246887,
-0.03709862753748894,
-0.06410972028970718,
-0.03745506703853607,
-0.05073852837085724,
-0.015614635311067104,
-0.02406454086303711,
0.0791911706328392,
0.0934552475810051,
-0.07810849696397781,
0.007823221385478973,
0.046879030764102936,
-0.000428410159656778,
-0.07588246464729309,
0.04253228381276131,
-0.034034501761198044,
0.004721648059785366,
0.0393756665289402,
0.07342585176229477,
0.03929579630494118,
0.010339529253542423,
-0.008810414001345634,
0.06184083968400955,
0.012732543051242828,
-0.0006911600357852876,
0.018371574580669403,
-0.07952118664979935,
-0.009099628776311874,
-0.01871081069111824,
0.0070935762487351894,
-0.07295223325490952,
0.0071379984728991985,
-0.01301832590252161,
-0.005228032357990742,
0.0010838009184226394,
-0.019454816356301308,
-0.06296543776988983,
0.04931843280792236,
-0.07000293582677841,
-0.06314842402935028,
0.03055274859070778,
-0.008502081036567688,
0.008821709081530571,
-0.0300590842962265,
0.005555631127208471,
-0.010504062287509441,
0.008763149380683899,
0.01702750101685524,
-0.030286051332950592,
0.0022854995913803577,
0.07322020828723907,
-0.06424196809530258,
0.056380435824394226,
0.021270373836159706,
0.00007940496288938448,
0.000589215022046119,
-0.030110739171504974,
-0.009345394559204578,
0.004514472559094429,
0.045037806034088135,
-0.007169182412326336,
-0.043416548520326614,
-0.008744006045162678,
0.0375269390642643,
-0.009115517139434814,
-0.0035761650651693344,
0.004222162067890167,
-0.3097474277019501,
0.0025664218701422215,
0.00802181288599968,
0.005628426093608141,
-0.011459765955805779,
-0.02137618325650692,
-0.017798611894249916,
-0.019859343767166138,
0.019673358649015427,
0.08790374547243118,
0.07895354181528091,
0.047198839485645294,
-0.024694127961993217,
-0.09996243566274643,
-0.005935836583375931,
0.052186500281095505,
0.0025878462474793196,
0.009523877874016762,
-0.016637355089187622,
-0.004507586359977722,
-0.013310247100889683,
-0.04237421602010727,
-0.010801131837069988,
-0.009984650649130344,
0.048849012702703476,
0.02065422013401985,
0.11396653205156326,
0.023307424038648605,
-0.049153175204992294,
-0.019584672525525093,
0.05485104024410248,
0.02000540867447853,
-0.023288758471608162,
-0.02786616049706936,
0.006797851994633675,
-0.0006208111299201846,
-0.02288060076534748,
0.023509114980697632,
-0.00743696466088295,
-0.033985842019319534,
-0.03813629969954491,
0.044674720615148544,
-0.028074750676751137,
-0.04126998409628868,
-0.03265836089849472,
-0.010096454992890358,
-0.022596947848796844,
0.015002592466771603,
-0.02792871557176113,
-0.008222484961152077,
0.007906785234808922,
-0.04760267212986946,
0.041972678154706955,
0.039518386125564575,
-0.0007911724969744682,
-0.029331142082810402,
-0.029834134504199028,
-0.027454987168312073,
0.010217889212071896,
0.011067421175539494,
0.021772705018520355,
0.0355684831738472,
0.026492763310670853,
-0.04998936876654625,
0.005577400326728821,
-0.04242958128452301,
-0.010946431197226048,
-0.016442395746707916,
-0.01946898177266121,
0.012235204689204693,
-0.007575027644634247,
0.0616280771791935,
-0.057095967233181,
0.07207711040973663,
0.026011694222688675,
-0.002464366378262639,
-0.065500907599926,
-0.04213593900203705,
0.024693872779607773,
-0.02037671022117138,
0.029207933694124222,
-0.07082902640104294,
0.04165830835700035,
-0.010903200134634972,
0.038277775049209595,
0.04458696395158768,
-0.017209883779287338,
0.02501607872545719,
0.05191854014992714,
0.01784510351717472,
-0.044373705983161926,
-0.04580038785934448,
-0.06664597988128662,
0.011029430665075779,
0.024111326783895493,
0.022513262927532196,
-0.28984540700912476,
0.05792161077260971,
-0.0029424915555864573,
-0.02181072346866131,
-0.002467286540195346,
0.028613369911909103,
-0.01223041582852602,
-0.042536377906799316,
-0.03458147868514061,
-0.013876528479158878,
0.012410364113748074,
0.08523202687501907,
0.02062932588160038,
-0.043525129556655884,
0.02242204174399376,
0.0473889485001564,
-0.00031776350806467235,
-0.0028894052375108004,
-0.0014502527192234993,
-0.02282298356294632,
0.055720843374729156,
-0.05304846167564392,
0.17285898327827454,
0.0028796785045415163,
-0.007198689505457878,
0.01763153076171875,
0.009981888346374035,
-0.03640207275748253,
0.08250808715820312,
0.03629220649600029,
-0.008957638405263424,
-0.030939649790525436,
0.10734119266271591,
0.007725337520241737,
-0.007091697305440903,
0.012333852238953114,
-0.005502589512616396,
0.02078189328312874,
0.015624616295099258,
-0.03553725406527519,
-0.043855223804712296,
0.017234982922673225,
-0.0017924571875482798,
0.01597910188138485,
0.08543690294027328,
-0.0040444256737828255,
0.00781764555722475,
-0.06986740976572037,
0.012838718481361866,
0.02439906820654869,
-0.04073876142501831,
-0.047618430107831955,
-0.06352400779724121,
-0.006009208969771862,
0.0005872834590263665,
0.02352488785982132,
0.0038291129749268293,
-0.01229841262102127,
0.021426675841212273,
0.013001462444663048,
-0.04631740227341652,
-0.04091140255331993,
0.04668855294585228,
0.013346287421882153,
0.003053756430745125
] | [
0.0077440510503947735,
0.03098558448255062,
-0.004145382437855005,
0.022559646517038345,
0.00511964363977313,
0.008197616785764694,
-0.005873141810297966,
-0.02697702869772911,
-0.027516599744558334,
-0.016563164070248604,
-0.028759406879544258,
-0.003483374137431383,
0.012276709079742432,
-0.01161611545830965,
0.024290522560477257,
-0.01337968185544014,
-0.023428531363606453,
0.002886056201532483,
0.04372324049472809,
-0.02353900857269764,
-0.047729697078466415,
0.009416483342647552,
0.028677886351943016,
0.02910258248448372,
-0.010992457158863544,
0.0277189202606678,
-0.054728638380765915,
0.016120437532663345,
0.014784193597733974,
-0.09044931828975677,
-0.05804847180843353,
0.0005220214370638132,
0.017422141507267952,
0.008095119148492813,
-0.037016529589891434,
-0.010771915316581726,
-0.004075484350323677,
0.02177474834024906,
0.043593328446149826,
0.020848704501986504,
-0.02990749105811119,
-0.002982571255415678,
-0.019908849149942398,
-0.007185578346252441,
-0.003923041746020317,
-0.004847551230341196,
-0.008808091282844543,
0.004392572212964296,
0.0023645409382879734,
-0.0007846782100386918,
-0.025628551840782166,
0.010745265521109104,
-0.014257717877626419,
0.03018183261156082,
0.008115797303617,
-0.02584555186331272,
-0.07932879775762558,
-0.018695207312703133,
-0.03744090348482132,
-0.05806529149413109,
0.00008255840657511726,
-0.022013943642377853,
-0.018982673063874245,
-0.0031048546079546213,
0.021396106109023094,
-0.031124940142035484,
-0.03510160744190216,
0.018554678186774254,
0.008291233330965042,
-0.0017015961930155754,
-0.013887949287891388,
0.038456954061985016,
-0.025840535759925842,
-0.03537554293870926,
0.0012266054982319474,
0.037296414375305176,
0.021697811782360077,
-0.005916397087275982,
0.02395697869360447,
-0.022558387368917465,
-0.02186334691941738,
0.011515675112605095,
-0.03065406158566475,
0.02936614118516445,
-0.028689032420516014,
-0.05411594733595848,
0.017924826592206955,
-0.0060249813832342625,
0.0014204250182956457,
-0.026684263721108437,
-0.004727467428892851,
0.03975600376725197,
0.019015436992049217,
-0.010942338965833187,
-0.08996952325105667,
-0.004104607738554478,
0.03731890022754669,
0.008736799471080303,
0.018116280436515808,
0.8477540612220764,
0.022961823269724846,
-0.007818149402737617,
-0.005258797202259302,
0.0095184575766325,
-0.00976758636534214,
-0.01059709582477808,
-0.022468093782663345,
0.025812171399593353,
0.019899452105164528,
0.012055418454110622,
-0.029904739931225777,
0.046728137880563736,
0.013980832882225513,
0.030118603259325027,
-0.000720120151527226,
0.041714224964380264,
0.025694657117128372,
-0.024202341213822365,
0.016776839271187782,
0.015869002789258957,
0.022337719798088074,
0.026518328115344048,
0.02477015182375908,
0.003587889252230525,
0.023021824657917023,
-0.12110783904790878,
0.03750945255160332,
-6.073406825926343e-33,
0.03038429096341133,
-0.016634494066238403,
0.037605803459882736,
-0.012644975446164608,
0.03752191364765167,
0.019449403509497643,
-0.04101419076323509,
-0.0021499476861208677,
0.004463554359972477,
-0.022361230105161667,
-0.024007821455597878,
-0.014408756978809834,
0.0032557647209614515,
-0.03482024744153023,
0.027860106900334358,
-0.01125571969896555,
-0.022374160587787628,
0.024840036407113075,
0.023076429963111877,
-0.010738619603216648,
0.010899260640144348,
0.014819270931184292,
-0.0008859653025865555,
0.044709425419569016,
0.005521074868738651,
0.042858023196458817,
0.01786290481686592,
-0.00932433269917965,
-0.01476873829960823,
-0.0394166000187397,
0.010807112790644169,
0.004803576972335577,
-0.026409845799207687,
-0.01113822776824236,
-0.0074427491053938866,
-0.05865675210952759,
-0.010369827970862389,
-0.02710394561290741,
-0.014793593436479568,
0.011225816793739796,
-0.023321475833654404,
-0.022172875702381134,
-0.008074973709881306,
-0.036088716238737106,
-0.021206920966506004,
0.009962822310626507,
0.02152748964726925,
0.06092797592282295,
-0.024744652211666107,
0.014997443184256554,
0.008263545110821724,
-0.008444854989647865,
0.020131247118115425,
-0.046017520129680634,
-0.04647918790578842,
0.04118046537041664,
0.012225805781781673,
0.015740036964416504,
-0.010786796920001507,
0.007071690633893013,
-0.009647991508245468,
-0.012570537626743317,
0.012118251994252205,
0.028383487835526466,
-0.008705612272024155,
0.018823089078068733,
0.016851995140314102,
0.0180489644408226,
0.03433592617511749,
0.03775491565465927,
-0.02955619990825653,
0.03188581392168999,
-0.02495311014354229,
0.002297968603670597,
0.03633463755249977,
-0.0385778583586216,
0.021601811051368713,
-0.0051248520612716675,
0.030513668432831764,
0.015728354454040527,
0.015236028470098972,
0.006394927855581045,
-0.0007075325702317059,
-0.012859816662967205,
-0.025347275659441948,
-0.03666987270116806,
0.06106593832373619,
0.02980051003396511,
-0.02680572122335434,
-0.0050208596512675285,
0.022910207509994507,
0.014425492845475674,
0.04023081064224243,
-0.010085320100188255,
0.0049200402572751045,
5.771327552968062e-33,
-0.0089071374386549,
-0.004398780409246683,
-0.0035671014338731766,
-0.010316114872694016,
0.04818767309188843,
-0.03409770131111145,
-0.013825376518070698,
0.06712452322244644,
-0.010868608951568604,
0.026498660445213318,
-0.004288143943995237,
-0.03280482813715935,
-0.02047346904873848,
0.042671773582696915,
0.054702263325452805,
0.001661032671108842,
0.03142998740077019,
-0.040467556565999985,
-0.019027521833777428,
0.009827366098761559,
-0.004491652362048626,
-0.03341035544872284,
0.004669944290071726,
0.022297244518995285,
0.017118582502007484,
0.027812153100967407,
-0.012651389464735985,
-0.007167035713791847,
0.007635766174644232,
-0.001544818514958024,
0.01718541979789734,
-0.027442138642072678,
-0.015158618800342083,
-0.0371255986392498,
-0.009619858115911484,
0.010034528560936451,
-0.005656352732330561,
-0.01685853861272335,
0.0043520680628716946,
-0.016596732661128044,
0.04232988506555557,
0.015209306962788105,
-0.01571025885641575,
0.03540324047207832,
0.007910706102848053,
0.021690499037504196,
0.009853828698396683,
0.014810005202889442,
-0.036246538162231445,
0.052952270954847336,
-0.008218750357627869,
-0.019163453951478004,
0.0009067736682482064,
0.005622651427984238,
0.025359060615301132,
-0.005773500073701143,
-0.007805193774402142,
-0.017130747437477112,
-0.022862348705530167,
-0.0025123648811131716,
-0.025933459401130676,
-0.004716785158962011,
-0.043168507516384125,
0.0271356999874115,
-0.030201440677046776,
-0.031079431995749474,
-0.023608477786183357,
-0.030692264437675476,
-0.00243806978687644,
0.03215271234512329,
0.017161892727017403,
-0.020888155326247215,
-0.010463547892868519,
0.02452416904270649,
0.010233040899038315,
0.011161230504512787,
-0.010814297012984753,
0.015877828001976013,
-0.04129394143819809,
0.012736736796796322,
0.010832529515028,
-0.02725677751004696,
0.01935778744518757,
0.010987053625285625,
-0.0355956070125103,
0.0028069119434803724,
-0.051444899290800095,
0.06541502475738525,
-0.0003276611096225679,
-0.002503305207937956,
0.011716729961335659,
-0.0551806204020977,
-0.01739509403705597,
0.07135443389415741,
-0.014884192496538162,
-1.2533750037846403e-8,
-0.01460057683289051,
0.0035033246967941523,
-0.013700110837817192,
0.013386390171945095,
0.03608657047152519,
0.016189416870474815,
-0.01888860948383808,
-0.01764264889061451,
-0.0003563950886018574,
0.005640371702611446,
0.05610300227999687,
-0.018674109131097794,
-0.012210128828883171,
0.011884315870702267,
-0.02437230385839939,
-0.031160036101937294,
-0.010503913275897503,
-0.035614628344774246,
0.01501875463873148,
-0.018583841621875763,
-0.008650179021060467,
0.004983692895621061,
-0.021542686969041824,
-0.01995662786066532,
0.04793868213891983,
0.013975977897644043,
-0.012583897449076176,
-0.04199150949716568,
-0.007273498456925154,
-0.03667863458395004,
0.0020209248177707195,
-0.02219655178487301,
-0.027878668159246445,
0.021744659170508385,
-0.047435179352760315,
-0.07399194687604904,
0.008973642252385616,
0.030968356877565384,
0.013236705213785172,
0.02219196781516075,
0.03199964389204979,
0.011311464011669159,
-0.014346801675856113,
-0.027110153809189796,
-0.026379602029919624,
-0.01656249165534973,
-0.03196794539690018,
0.008321963250637054,
0.026133812963962555,
-0.06568440049886703,
0.0029455358162522316,
-0.05741443485021591,
0.012430097907781601,
0.037273652851581573,
0.014981282874941826,
0.021039312705397606,
-0.023495113477110863,
0.00803255382925272,
-0.009721538983285427,
-0.05610683560371399,
-0.0014145263703539968,
0.0033664077054709196,
-0.014754591509699821,
-0.03506788611412048
] | r-dplyr-group_by-dynamic-or-programmatic-field-variable-error-index-out-of-bounds | https://markhneedham.com/blog/2014/08/29/r-dplyr-group_by-dynamic-or-programmatic-field-variable-error-index-out-of-bounds |
false | 2014-08-17 12:21:15 | Ruby: Receive JSON in request body | [
"ruby"
] | [
"Ruby"
] | I've been building a little http://www.sinatrarb.com/intro.html[Sinatra] app to play around with the Google Drive API and one thing I struggled with was processing JSON posted in the request body.
I came across a few posts which suggested that the request body would be available as +++<cite>+++params['data']+++</cite>+++ or +++<cite>+++request['data']+++</cite>+++ but after trying several ways of sending a POST request that doesn't seem to be the case.
I eventually came across http://stackoverflow.com/questions/17049569/how-to-parse-json-request-body-in-sinatra-just-once-and-expose-it-to-all-routes[this StackOverflow post] which shows how to do it:
[source,ruby]
----
require 'sinatra'
require 'json'
post '/somewhere/' do
request.body.rewind
request_payload = JSON.parse request.body.read
p request_payload
"win"
end
----
I can then POST to that endpoint and see the JSON printed back on the console:
+++<cite>+++dummy.json+++</cite>+++
[source,json]
----
{"i": "am json"}
----
[source,bash]
----
$ curl -H "Content-Type: application/json" -XPOST http://localhost:9393/somewhere/ -d @dummy.json
----
[source,text]
----
{"i"=>"am json"}
----
Of course if I'd just http://www.sinatrarb.com/intro.html[RTFM] I could have found this out much more quickly! | null | null | [
0.004308364354074001,
-0.0035781303886324167,
-0.0032302008476108313,
0.03792628273367882,
0.04494358226656914,
-0.022202223539352417,
0.050522178411483765,
0.0372655875980854,
0.014594179578125477,
-0.010840319097042084,
-0.016613446176052094,
-0.03210246190428734,
-0.07104592025279999,
-0.020054906606674194,
-0.020233793184161186,
0.05059792101383209,
0.080774687230587,
-0.021010953933000565,
0.01767963543534279,
-0.03646911680698395,
0.04229893535375595,
0.06787476688623428,
0.024264821782708168,
0.019797518849372864,
0.025781746953725815,
0.002040821360424161,
0.004719005897641182,
-0.004922919441014528,
-0.04574446752667427,
-0.009701022878289223,
-0.012716327793896198,
-0.01889413595199585,
0.00038763644988648593,
0.005348899867385626,
-0.0015695207985118032,
0.00791296549141407,
0.008688106201589108,
-0.0198066383600235,
-0.006785640958696604,
0.021126048639416695,
-0.03926106169819832,
0.024516163393855095,
-0.011764716356992722,
0.023609893396496773,
-0.03900930657982826,
0.013043285347521305,
-0.02887173369526863,
0.039566632360219955,
-0.001588911167345941,
-0.05395682156085968,
-0.04940507933497429,
0.03621586039662361,
-0.04029935225844383,
0.008169070817530155,
0.045130256563425064,
0.0534672737121582,
-0.009206660091876984,
-0.05577795207500458,
0.007103895768523216,
-0.052106019109487534,
-0.0005785506800748408,
-0.00517629086971283,
0.03197075426578522,
0.0039739180356264114,
0.0075893704779446125,
-0.03924475982785225,
-0.007500412408262491,
0.06869924813508987,
-0.03716956451535225,
-0.027501769363880157,
0.026043111458420753,
0.007212667725980282,
0.006370171904563904,
-0.004579941276460886,
0.04898850619792938,
-0.013879116624593735,
0.017708495259284973,
0.06343983858823776,
-0.029801007360219955,
0.054154302924871445,
-0.03025009110569954,
0.009112821891903877,
-0.003079902147874236,
0.03352184593677521,
0.0007408365490846336,
-0.04486684128642082,
-0.041275326162576675,
0.02095581777393818,
-0.008765781298279762,
0.05417684465646744,
0.013629515655338764,
-0.04619011655449867,
0.02944885939359665,
0.018402639776468277,
0.005563575774431229,
-0.015362164005637169,
-0.03576652333140373,
0.043423086404800415,
-0.01675369217991829,
0.003953462932258844,
-0.08952896296977997,
-0.03522481769323349,
0.009777279570698738,
0.044525813311338425,
-0.06804065406322479,
-0.02211405523121357,
-0.03399577736854553,
-0.006243528798222542,
0.009611974470317364,
-0.014468498528003693,
-0.011428254656493664,
-0.023186884820461273,
-0.04906541109085083,
0.0018409768817946315,
-0.04280589520931244,
0.05556595325469971,
-0.0028476195875555277,
-0.06993819028139114,
-0.017784131690859795,
0.033591341227293015,
0.07753657549619675,
0.05967838689684868,
0.018227480351924896,
0.03866499662399292,
0.04206366464495659,
0.027383076027035713,
0.016179373487830162,
0.05629469454288483,
-0.02041981741786003,
-0.04730549082159996,
-0.028766201809048653,
0.0850583091378212,
0.008396308869123459,
0.017389653250575066,
-0.0008102097199298441,
-0.028511831536889076,
-0.020708758383989334,
-0.002201169729232788,
0.0555555522441864,
0.015710700303316116,
-0.017905179411172867,
-0.04615171626210213,
-0.022682515904307365,
-0.006413973402231932,
0.0477132573723793,
0.009369839914143085,
-0.0002616281562950462,
-0.030631788074970245,
-0.05532991141080856,
0.028467591851949692,
0.023562123998999596,
0.010791568085551262,
0.056810323148965836,
-0.009666585363447666,
0.004378246609121561,
0.06193142011761665,
0.021516574546694756,
0.023891443386673927,
-0.03578229248523712,
-0.0024656530003994703,
0.03650979325175285,
0.04690106213092804,
-0.02950967475771904,
0.030478492379188538,
-0.009809033013880253,
-0.010506227612495422,
0.01939455233514309,
0.026507439091801643,
-0.0034968876279890537,
-0.025221960619091988,
-0.03918762132525444,
-0.04239925742149353,
0.07982931286096573,
-0.0013005081564188004,
-0.007791051175445318,
0.0387830026447773,
0.07390183955430984,
0.02111981250345707,
0.019787773489952087,
0.004468502011150122,
-0.08038947731256485,
0.05690790340304375,
0.018450459465384483,
0.011060697957873344,
0.04850666970014572,
-0.001387283904477954,
0.08135898411273956,
0.02943849377334118,
-0.013288777321577072,
0.0187580157071352,
-0.08748634159564972,
-0.08010437339544296,
-0.026887189596891403,
-0.005629717372357845,
0.07230091840028763,
-0.040106404572725296,
-0.01978718861937523,
0.0738869309425354,
0.014092444442212582,
0.013830019161105156,
0.007938012480735779,
-0.021135825663805008,
0.039805181324481964,
-0.05900292843580246,
-0.023745156824588776,
0.006495967507362366,
0.06965073198080063,
-0.0075631760992109776,
-0.02606682851910591,
0.03152013570070267,
-0.013943853788077831,
-0.04068420082330704,
0.015484693460166454,
-0.035840727388858795,
0.019234927371144295,
0.03155570849776268,
0.04424333944916725,
-0.014705936424434185,
0.0194543469697237,
-0.031090199947357178,
0.08759492635726929,
0.04395319148898125,
-0.02340470626950264,
-0.010255458764731884,
-0.006497235503047705,
0.10805236548185349,
0.04644102230668068,
0.014030042104423046,
-0.03516361862421036,
0.027694648131728172,
0.03236854821443558,
-0.017840566113591194,
-0.013744289986789227,
-0.007341192569583654,
-0.03136637806892395,
0.022169485688209534,
-0.01584012061357498,
-0.017798788845539093,
-0.021024150773882866,
-0.046637166291475296,
-0.014202754013240337,
0.0856403186917305,
-0.018374135717749596,
0.02685743197798729,
-0.0005561512080021203,
-0.024133820086717606,
0.012478734366595745,
-0.0452190600335598,
-0.04485081508755684,
0.0076817357912659645,
0.0020762071944773197,
-0.006410561036318541,
0.0316038578748703,
-0.05946287512779236,
0.01490020751953125,
-0.019236022606492043,
-0.0424901507794857,
0.042998287826776505,
0.03527204692363739,
0.038479242473840714,
-0.02718864381313324,
0.054955486208200455,
-0.049264997243881226,
0.007300066761672497,
-0.03661731258034706,
-0.0266541987657547,
-0.04972640424966812,
-0.015237145125865936,
0.014866849407553673,
0.037416208535432816,
0.03761288896203041,
-0.007933246903121471,
-0.020397914573550224,
0.022891869768500328,
0.007650271523743868,
0.025695960968732834,
0.037079617381095886,
-0.019620444625616074,
0.01648890972137451,
-0.01695328950881958,
-0.02161821722984314,
0.05685259401798248,
-0.033270951360464096,
-0.0323447622358799,
-0.01991126500070095,
-0.06146232783794403,
0.05561837553977966,
-0.03168610483407974,
-0.04941297322511673,
-0.0019611783791333437,
0.0017252881079912186,
0.03281499072909355,
-0.001729336567223072,
0.023089103400707245,
0.06563978642225266,
0.03543400764465332,
0.0016818383010104299,
0.02585444226861,
0.012871862389147282,
0.06536589562892914,
-0.021897858008742332,
-0.0030476474203169346,
0.012688912451267242,
-0.021250024437904358,
-0.01734522171318531,
-0.05508929863572121,
-0.006590438541024923,
-0.012530009262263775,
-0.25219348073005676,
0.016561467200517654,
-0.021715380251407623,
-0.032580818980932236,
0.011895012110471725,
0.0012791812187060714,
-0.019714519381523132,
-0.033172547817230225,
0.0034000615123659372,
0.02470325492322445,
-0.021711261942982674,
-0.05976223573088646,
-0.014885303564369678,
0.03756806626915932,
-0.0014147486072033644,
0.019031468778848648,
-0.03718254715204239,
-0.041918348520994186,
-0.02317357435822487,
-0.016725122928619385,
0.02286461926996708,
-0.05689331889152527,
0.008962642401456833,
0.03677108511328697,
0.042637936770915985,
0.03421211987733841,
-0.043442610651254654,
0.07418490201234818,
-0.030702421441674232,
-0.007952393032610416,
0.02270694263279438,
-0.02063833177089691,
0.013748892582952976,
-0.023919010534882545,
0.008538712747395039,
-0.014815091155469418,
0.06384484469890594,
0.014675627462565899,
0.06085154041647911,
-0.008736646734178066,
-0.04311488941311836,
-0.04322157800197601,
-0.03152046352624893,
-0.026250896975398064,
0.10426478832960129,
-0.021538959816098213,
-0.06914650648832321,
0.012864298187196255,
-0.06169397756457329,
0.05982417240738869,
0.022363057360053062,
-0.05040423572063446,
-0.05476050451397896,
0.04410664737224579,
0.011674370616674423,
-0.037661563605070114,
-0.013809761963784695,
0.0026771770790219307,
-0.011448691599071026,
-0.02210664376616478,
0.03203381970524788,
-0.010844369418919086,
-0.033143967390060425,
-0.005160014145076275,
-0.02673916146159172,
-0.045900486409664154,
-0.0356769934296608,
0.001736306119710207,
0.0536109134554863,
0.03513793647289276,
-0.02099461294710636,
0.03728191927075386,
-0.007300392258912325,
-0.10505243390798569,
0.020017165690660477,
-0.05331774428486824,
-0.0647781565785408,
0.004913325421512127,
-0.040027718991041183,
0.01708405464887619,
-0.03775057569146156,
-0.020862817764282227,
0.013859160244464874,
0.00952280405908823,
0.04069657251238823,
-0.009518377482891083,
0.013663162477314472,
-0.02355736494064331,
0.007291208487004042,
-0.021240100264549255,
0.07743646204471588,
-0.07597946375608444,
-0.038437798619270325,
0.002271193778142333,
-0.00747601967304945,
0.03978671133518219,
0.00837754923850298,
-0.011193056590855122,
0.02698727510869503,
0.04234971106052399,
0.028581146150827408,
-0.04865330830216408,
0.003824567887932062,
-0.031368475407361984,
0.02563919872045517,
-0.021156910806894302,
-0.03584073483943939,
0.018966954201459885,
0.0182599276304245,
0.019260307773947716,
-0.019055908545851707,
-0.027277030050754547,
-0.009687302634119987,
-0.05078168585896492,
-0.009241667576134205,
0.006195974536240101,
0.005721080116927624,
0.005106929689645767,
0.03037433698773384,
-0.0033932197839021683,
-0.04962650686502457,
0.006336584687232971,
0.043116480112075806,
0.004977285396307707,
-0.048140332102775574,
-0.016917210072278976,
-0.005564576480537653,
-0.009095081128180027,
-0.010323848575353622,
0.01400059275329113,
0.015066350810229778,
-0.008725287392735481,
0.010685550980269909,
-0.0341157540678978,
-0.0003672131570056081,
0.006806780584156513,
-0.015298920683562756,
-0.027558578178286552,
0.039000511169433594,
-0.011464934796094894,
0.029598070308566093,
0.024523867294192314,
0.0017183389281854033,
0.05784912034869194,
0.0400024838745594,
0.017848173156380653,
-0.00392879405990243,
0.0024163478519767523,
-0.016730334609746933,
-0.030782129615545273,
-0.00470598042011261,
-0.05814078450202942,
-0.019940391182899475,
-0.029339132830500603,
-0.02866019867360592,
-0.06822751462459564,
0.034532565623521805,
-0.005266869440674782,
-0.02706250734627247,
-0.028519412502646446,
0.013436548411846161,
-0.06392118334770203,
-0.015830419957637787,
0.018663672730326653,
-0.049038443714380264,
0.03723489120602608,
-0.0017012102762237191,
0.01660996302962303,
0.016915451735258102,
-0.01974109560251236,
-0.003627538215368986,
0.012176821939647198,
0.011342176236212254,
0.008023524656891823,
-0.00668944139033556,
0.005244056694209576,
-0.01827300526201725,
0.0024229062255471945,
0.022832121700048447,
0.022442737594246864,
0.010439010336995125,
-0.036097653210163116,
0.02478679269552231,
0.03858235850930214,
0.04003464803099632,
0.04890241101384163,
0.008034482598304749,
0.00870407372713089,
-0.01611023209989071,
-0.028583869338035583,
-0.05175100639462471,
0.01742258481681347,
-0.02627420797944069,
-0.004259559791535139,
0.012567389756441116,
-0.09412441402673721,
0.03543749079108238,
0.011683936230838299,
0.0036121378652751446,
0.010097179561853409,
-0.0024997557047754526,
0.014569763094186783,
-0.016774123534560204,
0.025462236255407333,
0.053760040551424026,
-0.029526323080062866,
-0.017983024939894676,
0.0032322711776942015,
0.023327069357037544,
0.015790006145834923,
0.0028834741096943617,
-0.04640667513012886,
-0.009994808584451675,
-0.017824215814471245,
0.011539862491190434,
-0.030291307717561722,
-0.04237055778503418,
-0.01633409410715103,
-0.018349703401327133,
0.01056336797773838,
0.01660563424229622,
0.016413118690252304,
-0.00686586182564497,
-0.0056004710495471954,
-0.02149858884513378,
0.01662430912256241,
-0.013517960906028748,
-0.025605332106351852,
0.01017569936811924,
-0.005183251574635506,
-0.001010364736430347,
-0.021115241572260857,
0.0419510118663311,
0.02455924265086651,
-0.005722554866224527,
-0.045353688299655914,
-0.025719763711094856,
-0.003400402842089534,
-0.014152362942695618,
0.08178133517503738,
0.004712535999715328,
-0.027259299531579018,
-0.01986267790198326,
0.03475477173924446,
-0.02880311943590641,
-0.02025575377047062,
-0.014941010624170303,
-0.03766204044222832,
0.026835735887289047,
0.035890087485313416,
0.014185622334480286,
-0.0009108932572416961,
-0.013469068333506584,
-0.019821323454380035,
0.010755401104688644,
-0.02494657039642334,
-0.02869407646358013,
0.007840859703719616,
-0.04343581944704056,
0.06417403370141983,
0.04001127928495407,
0.028678132221102715,
-0.05618804320693016,
0.03384947404265404,
0.05377824231982231,
0.035522833466529846,
0.036838579922914505,
-0.01312214881181717,
0.013836894184350967,
-0.01808980107307434,
-0.01188567653298378,
-0.08176536113023758,
0.03150463104248047,
0.04317373037338257,
-0.019026201218366623,
0.017208224162459373,
-0.016555234789848328,
-0.05646432936191559,
0.029077894985675812,
-0.05412053316831589,
-0.03667415305972099,
0.0441582165658474,
-0.017157744616270065,
-0.017903294414281845,
-0.010636957362294197,
-0.06319160759449005,
0.012483904138207436,
0.04382975772023201,
-0.022921742871403694,
0.01760578155517578,
-0.009942546486854553,
0.031962331384420395,
-0.006464017555117607,
0.05053083971142769,
-0.009049019776284695,
-0.02606377564370632,
0.05387913063168526,
0.013895194977521896,
-0.026966117322444916,
0.04753824323415756,
-0.04330016300082207,
-0.007594425231218338,
-0.006926144007593393,
0.004772787448018789,
0.02046124078333378,
0.02613998018205166,
-0.01336508896201849,
-0.04913710430264473,
0.04595956951379776,
0.022509828209877014,
-0.023298854008316994,
-0.03465795889496803,
0.0672498419880867,
0.004386177286505699,
-0.04786033555865288,
-0.08416512608528137,
0.04512706771492958,
-0.03477247431874275,
-0.049776591360569,
0.011827588081359863,
0.014788949862122536,
-0.0062218583188951015,
0.06020217388868332,
0.027758950367569923,
0.012586246244609356,
0.05931347608566284,
0.0007633443456143141,
-0.021901583299040794,
-0.01109466515481472,
0.09730926156044006,
0.0862680971622467,
0.006433321628719568,
-0.0019132933812215924,
0.05997750163078308,
0.018986942246556282,
-0.049501027911901474,
0.019303537905216217,
-0.052733466029167175,
-0.03938436880707741,
0.014916582964360714,
-0.04940187186002731,
0.07222525775432587,
-0.05726931244134903,
0.050061892718076706,
-0.03010200709104538,
0.00003061306779272854,
0.0018993411213159561,
0.031642697751522064,
0.00875250156968832,
0.05306011065840721,
0.034905269742012024,
0.08733691275119781,
-0.018499625846743584,
-0.06039412319660187,
0.02327742986381054,
0.0015640598721802235,
-0.04557521641254425,
0.03288457170128822,
-0.032535869628190994,
0.013918891549110413,
0.01952381432056427,
0.02560347691178322,
0.06465950608253479,
-0.02529902011156082,
-0.016989000141620636,
0.009300523437559605,
-0.0008036090875975788,
-0.017319470643997192,
0.017827576026320457,
-0.029319699853658676,
-0.07657478004693985,
-0.023867247626185417,
-0.05751395598053932,
-0.04154406860470772,
-0.032822269946336746,
-0.04530259966850281,
0.04293239489197731,
-0.012150544673204422,
0.03749852627515793,
-0.004453105386346579,
-0.014003681018948555,
-0.03040016070008278,
-0.03201976791024208,
-0.07743150740861893,
-0.05272618681192398,
-0.07167404890060425,
0.018404783681035042,
0.023784734308719635,
0.004753008484840393,
-0.021768778562545776,
-0.013417250476777554,
0.0066552129574120045,
0.013453350402414799,
0.05481637269258499,
-0.012444552034139633,
-0.06857828050851822,
0.05042582377791405,
-0.003379144938662648,
-0.002946886932477355,
0.0396483950316906,
0.050977062433958054,
0.016901517286896706,
0.0042696367017924786,
-0.03128715232014656,
-0.021752791479229927,
0.06505165249109268,
0.005566723179072142,
-0.00491088954731822,
-0.06393472105264664,
-0.004087151028215885,
0.009626878425478935,
0.026100151240825653,
-0.05503049120306969,
-0.013048582710325718,
0.05146382749080658,
0.03650836646556854,
0.019817732274532318,
-0.031165042892098427,
0.007986337877810001,
-0.005576144903898239,
-0.03903205692768097,
0.013339802622795105,
-0.001428016577847302,
0.03757104277610779,
0.006225001998245716,
0.11284210532903671,
0.037365514785051346,
-0.04492076486349106,
-0.00931815430521965,
-0.025007618591189384,
0.01228692103177309,
-0.026461413130164146,
-0.04526000842452049,
-0.019116798415780067,
-0.0533641092479229,
-0.06418280303478241,
-0.045507509261369705,
0.007020574528723955,
-0.012343804351985455,
-0.02671431563794613,
0.015363567508757114,
0.011316548101603985,
-0.0442197360098362,
0.03656717389822006,
-0.054121557623147964,
0.04522329196333885,
0.003338694339618087,
-0.028278443962335587,
-0.04321637377142906,
0.025897981598973274,
0.024214113131165504,
-0.039605818688869476,
0.028846150264143944,
-0.03841061145067215,
0.007712084334343672,
0.016507845371961594,
0.037489939481019974,
0.023767730221152306,
-0.04692557081580162,
-0.015710260719060898
] | [
-0.09164675325155258,
-0.01939934305846691,
-0.034236419945955276,
-0.04754918813705444,
0.03892366960644722,
-0.06744816154241562,
0.017285125330090523,
0.006502923555672169,
-0.02811763435602188,
-0.003196705598384142,
-0.004564118105918169,
-0.03689943626523018,
-0.02272976003587246,
-0.003714978229254484,
0.08755795657634735,
-0.013353307731449604,
0.025178732350468636,
-0.05728047341108322,
-0.06299377977848053,
0.05406106263399124,
-0.016840439289808273,
-0.02842015027999878,
-0.006557824090123177,
-0.030047371983528137,
0.004783059004694223,
0.013829929754137993,
0.030530182644724846,
-0.016977885738015175,
-0.02207763120532036,
-0.17687609791755676,
0.009391491301357746,
-0.02587546966969967,
0.011383043602108955,
-0.014579728245735168,
0.0005824110121466219,
0.052746981382369995,
0.06138375401496887,
-0.008278954774141312,
0.03713098168373108,
0.07387066632509232,
0.060129981487989426,
0.008234789595007896,
-0.049697939306497574,
0.00899340771138668,
0.05761202424764633,
0.036518946290016174,
-0.03644935414195061,
-0.018925119191408157,
-0.023501278832554817,
0.006130011286586523,
-0.0621744841337204,
0.026222670450806618,
0.016184918582439423,
-0.013338906690478325,
0.008441578596830368,
0.056791920214891434,
0.041720662266016006,
0.10826077312231064,
-0.014914005994796753,
0.060216277837753296,
0.017226567491889,
-0.019171064719557762,
-0.11622737348079681,
0.07906736433506012,
0.059011057019233704,
0.07357686012983322,
-0.04676654189825058,
-0.025562742725014687,
-0.0356859527528286,
0.07701588422060013,
-0.004179369192570448,
-0.02910972386598587,
-0.03815385699272156,
0.06168435513973236,
-0.024235541000962257,
-0.040970612317323685,
0.010196277871727943,
0.04079371690750122,
0.013128494843840599,
-0.05052772909402847,
-0.07988867163658142,
-0.02009098045527935,
-0.029016101732850075,
-0.019851788878440857,
-0.03705070540308952,
-0.005156795494258404,
-0.05386801064014435,
0.05594700574874878,
0.012296582572162151,
0.013004605658352375,
0.0052895694971084595,
-0.05539631098508835,
0.02950126864016056,
0.0420934222638607,
-0.08330334722995758,
0.009331450797617435,
-0.007414895575493574,
-0.011742622591555119,
-0.018798863515257835,
0.3659211993217468,
-0.0075068483129143715,
0.0049386112950742245,
0.0291492510586977,
-0.016304530203342438,
-0.048170268535614014,
-0.01210827473551035,
0.004988421220332384,
-0.04092849791049957,
0.021008918061852455,
-0.010817814618349075,
-0.0027698723133653402,
0.02415248192846775,
0.03388216346502304,
-0.08985461294651031,
0.024418028071522713,
0.010955548845231533,
0.03498142585158348,
0.04593272507190704,
-0.024493230506777763,
-0.00843971036374569,
0.006014418322592974,
0.010001822374761105,
0.045751821249723434,
-0.018698548898100853,
-0.041952554136514664,
-0.010365676134824753,
0.05211058631539345,
0.05001867935061455,
0.0504300557076931,
0.039895784109830856,
0.05203507840633392,
-0.018171174451708794,
-0.07965679466724396,
-0.02307109721004963,
-0.016046376898884773,
0.029677871614694595,
0.009569589979946613,
-0.057841356843709946,
0.020006604492664337,
0.0096427658572793,
0.0005884554120711982,
-0.05011153593659401,
0.000493873842060566,
-0.02481760084629059,
-0.008947469294071198,
0.08995787799358368,
-0.004049379378557205,
-0.01336368266493082,
-0.017019208520650864,
-0.04935257136821747,
-0.014643793925642967,
0.05823435261845589,
0.008157783187925816,
-0.054923489689826965,
0.005736886523663998,
0.01492126565426588,
0.029581580311059952,
-0.008721045218408108,
-0.039073601365089417,
0.035726405680179596,
-0.047075528651475906,
-0.07919672876596451,
-0.0032066248822957277,
0.0212390273809433,
0.02798018977046013,
-0.12354025989770889,
-0.023323852568864822,
-0.01082452293485403,
0.02613385207951069,
-0.058725714683532715,
-0.0009824492735788226,
0.04088958352804184,
-0.06470382958650589,
-0.007577070035040379,
0.04206032305955887,
-0.007134037092328072,
0.007413866464048624,
0.03060915693640709,
0.03396368771791458,
0.00008420839003520086,
-0.052869923412799835,
0.00041779951425269246,
-0.020778540521860123,
-0.009594165720045567,
-0.03401694819331169,
-0.032155897468328476,
-0.0857948437333107,
-0.008104284293949604,
0.000010496367394807748,
-0.001567987259477377,
-0.030681096017360687,
-0.005677302833646536,
-0.057713061571121216,
0.0386032909154892,
-0.01777738332748413,
0.010449540801346302,
0.022731507197022438,
0.033558547496795654,
-0.006933080963790417,
-0.04450766742229462,
-0.001773775089532137,
0.03970545530319214,
-0.014284137636423111,
0.023470822721719742,
-0.06629829853773117,
-0.013634768314659595,
0.06036439538002014,
-0.02361396700143814,
0.04100470244884491,
0.008438796736299992,
-0.053551968187093735,
0.01855534501373768,
-0.046398233622312546,
0.06006941199302673,
-0.022135969251394272,
-0.026739519089460373,
-0.024848710745573044,
-0.014330961741507053,
0.038144491612911224,
0.04994449391961098,
-0.05956783890724182,
-0.015344244427978992,
-0.03577543795108795,
-0.34433993697166443,
-0.005383338313549757,
0.014707301743328571,
-0.01849207654595375,
0.02404087781906128,
-0.11946096271276474,
0.0013085847022011876,
0.001025112229399383,
0.010267511010169983,
0.019952476024627686,
0.11130762845277786,
-0.04689306393265724,
0.013300994411110878,
-0.0822492241859436,
0.008453864604234695,
0.06065564230084419,
-0.01405276544392109,
-0.031049709767103195,
-0.0032171313650906086,
0.06069614738225937,
-0.020636053755879402,
-0.047149863094091415,
-0.02473776414990425,
-0.032008927315473557,
0.01180304866284132,
-0.028841789811849594,
0.1023993045091629,
0.05042010918259621,
0.03384976089000702,
-0.04516938328742981,
0.06761228293180466,
0.028442205861210823,
-0.004770752042531967,
-0.0941677838563919,
-0.034945376217365265,
-0.04457351565361023,
0.012568487785756588,
0.058159418404102325,
0.024516256526112556,
0.00031936608138494194,
-0.05138307809829712,
0.021106697618961334,
-0.036182668060064316,
-0.05986059457063675,
-0.024784743785858154,
0.035820528864860535,
-0.017543993890285492,
-0.03867816552519798,
-0.011678723618388176,
0.046338893473148346,
0.02989043854176998,
0.03776872530579567,
0.021661698818206787,
0.02147294580936432,
0.018037360161542892,
-0.019306624308228493,
-0.0492275096476078,
-0.030551599338650703,
-0.007722443901002407,
0.0005549751804210246,
0.02414700575172901,
0.04845818132162094,
0.043331731110811234,
-0.05464961379766464,
0.0077959103509783745,
0.013052686117589474,
-0.003854435635730624,
0.026573723182082176,
0.00791904702782631,
-0.01698310486972332,
-0.004267508164048195,
0.07686729729175568,
-0.0026624135207384825,
0.06839048862457275,
0.08207027614116669,
0.0465204119682312,
-0.017998138442635536,
-0.029270021244883537,
0.04732616990804672,
0.03680082783102989,
0.034848518669605255,
-0.012478597462177277,
0.04298589751124382,
-0.003830743720754981,
0.02394114062190056,
0.10051628947257996,
-0.00973687507212162,
-0.04596120864152908,
0.05957760289311409,
0.024260694161057472,
-0.010541240684688091,
-0.03755367174744606,
-0.042641762644052505,
-0.04777888208627701,
0.05052199959754944,
0.010700377635657787,
-0.2463497817516327,
0.03049408085644245,
0.06022293120622635,
0.07878183573484421,
0.008430015295743942,
0.024503279477357864,
0.012619845569133759,
-0.06190620735287666,
-0.04466615617275238,
0.051843974739313126,
-0.0023106506559997797,
0.05697198584675789,
0.007787547539919615,
-0.014713895507156849,
0.022045237943530083,
-0.01247725822031498,
-0.0014178248820826411,
0.028404826298356056,
-0.03392044082283974,
-0.017026547342538834,
0.03475085645914078,
-0.019643452018499374,
0.19548557698726654,
0.023056570440530777,
-0.011928213760256767,
0.04509306326508522,
-0.011949158273637295,
0.032941218465566635,
0.0885510966181755,
-0.009854541160166264,
0.009540221653878689,
-0.006943609565496445,
0.032911818474531174,
0.0241418294608593,
0.05978747829794884,
-0.06777385622262955,
-0.02348649874329567,
0.046747203916311264,
0.006331257987767458,
-0.040484469383955,
-0.04449266567826271,
0.038873784244060516,
-0.02320803701877594,
0.030258242040872574,
0.038842666894197464,
-0.009710392914712429,
-0.06353584676980972,
-0.009020510129630566,
-0.02658948302268982,
0.013550825417041779,
0.015245597809553146,
-0.09233064949512482,
-0.028801603242754936,
-0.0064567942172288895,
0.023931080475449562,
0.06600167602300644,
0.011606534942984581,
-0.04351915419101715,
0.03326021507382393,
0.045591507107019424,
0.015347794629633427,
-0.0021516012493520975,
0.0931209996342659,
0.04581206664443016,
-0.007831288501620293
] | [
-0.025052784010767937,
0.03277629241347313,
-0.03849230706691742,
0.026976676657795906,
-0.013702157884836197,
0.013539484702050686,
-0.055205803364515305,
0.023814713582396507,
-0.01023070514202118,
-0.040898244827985764,
-0.022816484794020653,
0.03880803659558296,
-0.014239359647035599,
-0.00420950585976243,
0.03292413055896759,
0.023193739354610443,
0.045891594141721725,
0.005842830054461956,
0.032678525894880295,
-0.019182128831744194,
-0.014155309647321701,
0.03924190253019333,
0.028097331523895264,
-0.013954967260360718,
-0.0494481697678566,
-0.01772272028028965,
-0.04570109397172928,
0.01658911630511284,
0.03530014678835869,
-0.0998421236872673,
-0.005563036538660526,
-0.030092036351561546,
0.01877933368086815,
0.002566057024523616,
0.027960890904068947,
-0.018660908564925194,
-0.007766894530504942,
-0.04137053340673447,
0.021069712936878204,
-0.011691190302371979,
0.05853014439344406,
0.007509688846766949,
-0.04433933272957802,
-0.0065460968762636185,
-0.001800128840841353,
-0.031003668904304504,
-0.008861015550792217,
0.01609044149518013,
-0.023297760635614395,
-0.03579108789563179,
-0.024706901982426643,
-0.0042130714282393456,
0.019696753472089767,
-0.010421846993267536,
-0.03199358284473419,
-0.04749969765543938,
-0.02018854022026062,
0.010942344553768635,
0.022380268201231956,
-0.01935962587594986,
-0.004380477592349052,
0.01543954573571682,
-0.04505682364106178,
-0.03904563561081886,
-0.021089520305395126,
-0.03538927063345909,
-0.0364573635160923,
-0.008128992281854153,
0.015902813524007797,
0.022903844714164734,
0.03198128566145897,
0.004741591401398182,
-0.06941264867782593,
-0.011060813441872597,
-0.00866501685231924,
-0.04814909026026726,
-0.00540738832205534,
-0.029706744477152824,
-0.044239334762096405,
0.03981431946158409,
-0.016339339315891266,
0.00443009240552783,
-0.019609197974205017,
0.03672068566083908,
-0.015732968226075172,
-0.007933754473924637,
-0.041903212666511536,
0.05000501126050949,
-0.012686159461736679,
-0.028805948793888092,
-0.008605888113379478,
-0.07169564813375473,
0.01423957385122776,
0.0244307704269886,
-0.07616546005010605,
0.011921979486942291,
0.009614810347557068,
-0.028073271736502647,
0.00003224369720555842,
0.7970865964889526,
0.00965297594666481,
0.008556557819247246,
0.008317184634506702,
0.030349483713507652,
0.016763217747211456,
0.01300225593149662,
0.03631490468978882,
0.05761650577187538,
0.021042659878730774,
0.0022334991954267025,
0.03287831321358681,
-0.001038359827362001,
0.01514934841543436,
0.011335019022226334,
-0.022519538179039955,
0.017521899193525314,
0.023238666355609894,
0.03494840860366821,
0.0035715349949896336,
0.049639247357845306,
0.06286400556564331,
-0.029876073822379112,
0.03543281927704811,
0.012200829572975636,
0.025187548249959946,
-0.19595351815223694,
0.010117771103978157,
-8.047412285210302e-33,
0.042080357670784,
-0.020822662860155106,
0.0726754367351532,
-0.003832777263596654,
-0.005774139426648617,
-0.029569502919912338,
0.006499116774648428,
0.0018387788441032171,
-0.007007360924035311,
-0.03773827105760574,
0.0373896025121212,
0.00920069869607687,
-0.010759185999631882,
-0.0008663021144457161,
-0.021955521777272224,
-0.013931031338870525,
-0.03849709779024124,
0.032480429857969284,
0.06614598631858826,
0.009109128266572952,
0.03683362528681755,
-0.0015267367707565427,
0.017673809081315994,
0.0580454096198082,
0.01730835810303688,
0.025384830310940742,
0.03362741693854332,
-0.024919424206018448,
-0.016882220283150673,
-0.03084452822804451,
-0.015708696097135544,
0.034355562180280685,
-0.0349423922598362,
-0.03156845644116402,
0.052825745195150375,
-0.020346924662590027,
-0.006328532472252846,
-0.0016544758109375834,
-0.054350584745407104,
-0.03573964536190033,
0.01376063097268343,
-0.03348762169480324,
-0.05763614922761917,
-0.028160853311419487,
-0.011078585870563984,
-0.010715453885495663,
0.026015836745500565,
0.013353599235415459,
0.007631822023540735,
0.013164084404706955,
0.016265224665403366,
-0.006282472983002663,
0.02818269468843937,
0.00726451026275754,
-0.015124361030757427,
0.012867698445916176,
0.012017185799777508,
-0.020890360698103905,
-0.00180470896884799,
-0.02202165126800537,
0.05443514138460159,
-0.022036112844944,
0.004831981845200062,
0.001392940292134881,
0.002314614364877343,
-0.0202737245708704,
-0.014532456174492836,
0.035433199256658554,
0.013146349228918552,
0.05068783089518547,
-0.04187804460525513,
-0.01386633887887001,
-0.021150756627321243,
0.005684687290340662,
-0.010498647578060627,
-0.016086703166365623,
-0.0008442805847153068,
0.026529330760240555,
0.015628287568688393,
0.0188604686409235,
0.044338274747133255,
-0.005517099052667618,
-0.020214984193444252,
-0.0028084777295589447,
-0.025390779599547386,
-0.014482925646007061,
0.0101986238732934,
-0.023819560185074806,
-0.028606567531824112,
-0.0077760969288647175,
0.01825692504644394,
0.04403836652636528,
-0.01659877970814705,
-0.015115497633814812,
-0.035218268632888794,
7.735239923882274e-33,
-0.018554270267486572,
-0.015135206282138824,
-0.01729889027774334,
0.018341850489377975,
0.026868633925914764,
-0.08492453396320343,
0.0410953164100647,
0.019333772361278534,
0.00741371838375926,
0.06872996687889099,
-0.057237785309553146,
-0.008864300325512886,
-0.02602936513721943,
0.011243968270719051,
0.06787344068288803,
-0.025487802922725677,
0.0008734822040423751,
-0.03122284635901451,
-0.004553832113742828,
-0.013822712935507298,
-0.05464848130941391,
0.005511622875928879,
0.04215246066451073,
0.007329469546675682,
0.007329373154789209,
0.04980186000466347,
-0.035910941660404205,
0.012155561707913876,
-0.013620380312204361,
0.003437864361330867,
0.026871811598539352,
-0.011934833601117134,
0.04126184061169624,
-0.021017488092184067,
-0.05465495586395264,
0.06093428283929825,
-0.010986648499965668,
0.032434191554784775,
0.03671286255121231,
-0.03757057711482048,
0.033498212695121765,
-0.020057765766978264,
0.03358909860253334,
0.017813164740800858,
0.03245418146252632,
0.002202626783400774,
-0.0052720047533512115,
-0.0047201793640851974,
-0.006482010707259178,
0.012926792725920677,
0.008537475019693375,
0.04310103878378868,
-0.015407716855406761,
0.022084970027208328,
0.0338582880795002,
-0.048306602984666824,
-0.021557945758104324,
0.03971795737743378,
-0.0010964759858325124,
-0.0028465683571994305,
0.015719495713710785,
0.037368129938840866,
-0.03311514854431152,
0.031208422034978867,
-0.013617677614092827,
-0.08304481953382492,
0.006654671858996153,
-0.03222553804516792,
0.0032866874244064093,
0.006202409975230694,
-0.009981467388570309,
0.008629092946648598,
-0.0032404079101979733,
0.03051655925810337,
0.04690796881914139,
-0.030925197526812553,
-0.016748802736401558,
-0.002629329217597842,
-0.050380680710077286,
0.00773362722247839,
-0.0200017299503088,
-0.0036146407946944237,
-0.027095360681414604,
0.03359721228480339,
0.0371963307261467,
0.008245926350355148,
-0.05619543790817261,
0.0350261889398098,
-0.002327794674783945,
0.02705676481127739,
0.004010140895843506,
0.013235576450824738,
-0.012302319519221783,
0.01715794950723648,
-0.07214749604463577,
-1.3095680984065439e-8,
0.011258076876401901,
-0.0006357618258334696,
-0.020792100578546524,
0.0468539223074913,
0.008901855908334255,
0.03265395760536194,
0.011717170476913452,
-0.00006543818017235026,
-0.008440351113677025,
0.023847388103604317,
0.04402286186814308,
-0.024841487407684326,
0.02260216884315014,
0.014489047229290009,
0.024935780093073845,
-0.044994089752435684,
-0.04462728649377823,
-0.05564337223768234,
0.01685185544192791,
-0.026680603623390198,
0.00870035495609045,
0.05812503397464752,
-0.015485120005905628,
-0.01133742742240429,
0.0027954597026109695,
-0.019779106602072716,
-0.01797514408826828,
-0.0674101784825325,
-0.03485963121056557,
-0.023183055222034454,
0.014397968538105488,
-0.013029966503381729,
-0.025920482352375984,
-0.0043058209121227264,
-0.005338540766388178,
-0.028076037764549255,
0.03088299371302128,
0.00865676999092102,
-0.0021709834691137075,
0.014986024238169193,
0.011125404387712479,
0.026492340490221977,
-0.009619639255106449,
-0.017963621765375137,
-0.013820547610521317,
-0.009737416170537472,
-0.014476691372692585,
0.03951999917626381,
0.020919794216752052,
0.008996565826237202,
0.01734871044754982,
-0.02569565735757351,
-0.02855016104876995,
0.041856326162815094,
0.02394997701048851,
0.011785399168729782,
-0.0028100376948714256,
-0.04412522166967392,
-0.006334678735584021,
-0.02121664024889469,
0.0442066416144371,
0.030454237014055252,
-0.020614948123693466,
-0.010265300050377846
] | ruby-receive-json-in-request-body | https://markhneedham.com/blog/2014/08/17/ruby-receive-json-in-request-body |
false | 2014-08-17 21:42:24 | Ruby: Create and share Google Drive Spreadsheet | [
"ruby"
] | [
"Ruby"
] | Over the weekend I've been trying to write some code to help me create and share a Google Drive spreadsheet and for the first bit Ihttp://www.markhneedham.com/blog/2014/08/17/ruby-google-drive-errorbadauthentication-googledriveauthenticationerror-infoinvalidsecondfactor/[started out with the Google Drive gem].
This worked reasonably well but that gem doesn't have an API for changing the permissions on a document so I ended up using the https://github.com/google/google-api-ruby-client[google-api-client] gem for that bit.
https://developers.google.com/drive/web/quickstart/quickstart-ruby[This tutorial] provides a good quick start for getting up and running but it still has a manual step to copy/paste the 'OAuth token' which I wanted to get rid of.
The first step is to create a project via the https://console.developers.google.com/project[Google Developers Console]. Once the project is created, click through to it and then click on 'credentials' on the left menu. Click on the "Create new Client ID" button to create the project credentials.
You should see something like this on the right hand side of the screen:
image::{{<siteurl>}}/uploads/2014/08/2014-08-17_16-29-39.png[2014 08 17 16 29 39,600]
These are the credentials that we'll use in our code.
Since I now have two libraries I need to satisfy the OAuth credentials for both, preferably without getting the user to go through the process twice.
After a bit of trial and error I realised that it was easier to get the google-api-client to handle authentication and just pass in the token to the google-drive code.
I wrote the following code using Sinatra to handle the OAuth authorisation with Google:
[source,ruby]
----
require 'sinatra'
require 'json'
require "google_drive"
require 'google/api_client'
CLIENT_ID = 'my client id'
CLIENT_SECRET = 'my client secret'
OAUTH_SCOPE = 'https://www.googleapis.com/auth/drive https://docs.google.com/feeds/ https://docs.googleusercontent.com/ https://spreadsheets.google.com/feeds/'
REDIRECT_URI = 'http://localhost:9393/oauth2callback'
helpers do
def partial (template, locals = {})
haml(template, :layout => false, :locals => locals)
end
end
enable :sessions
get '/' do
haml :index
end
configure do
google_client = Google::APIClient.new
google_client.authorization.client_id = CLIENT_ID
google_client.authorization.client_secret = CLIENT_SECRET
google_client.authorization.scope = OAUTH_SCOPE
google_client.authorization.redirect_uri = REDIRECT_URI
set :google_client, google_client
set :google_client_driver, google_client.discovered_api('drive', 'v2')
end
post '/login/' do
client = settings.google_client
redirect client.authorization.authorization_uri
end
get '/oauth2callback' do
authorization_code = params['code']
client = settings.google_client
client.authorization.code = authorization_code
client.authorization.fetch_access_token!
oauth_token = client.authorization.access_token
session[:oauth_token] = oauth_token
redirect '/'
end
----
And this is the code for the index page:
[source,haml]
----
%html
%head
%title Google Docs Spreadsheet
%body
.container
%h2
Create Google Docs Spreadsheet
%div
- unless session['oauth_token']
%form{:name => "spreadsheet", :id => "spreadsheet", :action => "/login/", :method => "post", :enctype => "text/plain"}
%input{:type => "submit", :value => "Authorise Google Account", :class => "button"}
- else
%form{:name => "spreadsheet", :id => "spreadsheet", :action => "/spreadsheet/", :method => "post", :enctype => "text/plain"}
%input{:type => "submit", :value => "Create Spreadsheet", :class => "button"}
----
We initialise the Google API client inside the 'configure' block before each request gets handled and then from '/' the user can click a button which does a POST request to '/login/'.
'/login/' redirects us to the OAuth authorisation URI where we select the Google account we want to use and login if necessary. We'll then get redirected back to '/oauth2callback' where we extract the authorisation code and then get an authorisation token.
We'll store that token in the session so that we can use it later on.
Now we need to create the spreadsheet and share that document with someone else:
[source,ruby]
----
post '/spreadsheet/' do
client = settings.google_client
if session[:oauth_token]
client.authorization.access_token = session[:oauth_token]
end
google_drive_session = GoogleDrive.login_with_oauth(session[:oauth_token])
spreadsheet = google_drive_session.create_spreadsheet(title = "foobar")
ws = spreadsheet.worksheets[0]
ws[2, 1] = "foo"
ws[2, 2] = "bar"
ws.save()
file_id = ws.worksheet_feed_url.split("/")[-4]
drive = settings.google_client_driver
new_permission = drive.permissions.insert.request_schema.new({
'value' => "[email protected]",
'type' => "user",
'role' => "reader"
})
result = client.execute(
:api_method => drive.permissions.insert,
:body_object => new_permission,
:parameters => { 'fileId' => file_id })
if result.status == 200
p result.data
else
puts "An error occurred: #{result.data['error']['message']}"
end
"spreadsheet created and shared"
end
----
Here we create a spreadsheet with some arbitrary values using the google-drive gem before https://developers.google.com/drive/v2/reference/permissions/insert[granting permission] to a different email address than the one which owns it. I've given that other user read permission on the document.
One other thing to keep in mind is which 'scopes' the OAuth authentication is for. If you authenticate for one URI and then try to do something against another one you'll get a 'http://geoffmcqueen.com/2010/03/14/token-invalid-authsub-token-has-wrong-scope-oauth-google-problem/[Token invalid - AuthSub token has wrong scope]' error. | null | null | [
0.010084223002195358,
-0.01341328863054514,
-0.002045833505690098,
0.05243196710944176,
0.07293549925088882,
-0.0001229880581377074,
0.03892795369029045,
0.02437720075249672,
0.029194872826337814,
-0.012006476521492004,
-0.03337375819683075,
-0.018425028771162033,
-0.07506829500198364,
-0.004500086419284344,
-0.009150679223239422,
0.042806871235370636,
0.09294839203357697,
-0.008351180702447891,
-0.0006994523573666811,
-0.01611899957060814,
0.007630806881934404,
0.09126102179288864,
0.00912381336092949,
0.007639337331056595,
0.04294893890619278,
0.026927495375275612,
-0.0033167866058647633,
-0.01604120060801506,
-0.07123509049415588,
-0.013738056644797325,
0.02231627143919468,
0.0010548023274168372,
0.006269011180847883,
0.0005059676477685571,
0.011475037783384323,
0.005466104485094547,
0.0007195448852144182,
0.0030359847005456686,
0.006848558317869902,
0.04982520639896393,
-0.023378102108836174,
0.03821253404021263,
-0.0073178294114768505,
0.022392934188246727,
-0.033889688551425934,
0.017543494701385498,
-0.05019127577543259,
0.017974581569433212,
0.009827866218984127,
-0.04687754809856415,
-0.04527594521641731,
0.028104672208428383,
-0.03882388770580292,
-0.015661809593439102,
0.0330706387758255,
0.05781391263008118,
0.01383700966835022,
-0.06710091233253479,
0.026464466005563736,
-0.04198647662997246,
0.007432856597006321,
-0.011666601523756981,
0.01994277909398079,
0.010797323659062386,
0.011012525297701359,
-0.02642916515469551,
0.0061626429669559,
0.07135353237390518,
-0.03494185209274292,
-0.02040158025920391,
0.015684595331549644,
-0.01698089763522148,
-0.022713633254170418,
-0.008330757729709148,
-0.008763385936617851,
-0.010820037685334682,
0.011696946807205677,
0.059385620057582855,
0.0018797607626765966,
0.0449628122150898,
-0.041250888258218765,
0.006938975304365158,
0.0007824932690709829,
0.045400120317935944,
-0.024264441803097725,
-0.0590389147400856,
-0.04008392617106438,
0.012518825940787792,
-0.019701825454831123,
0.09311249107122421,
0.01474668551236391,
-0.0627877488732338,
0.013192771002650261,
0.011609483510255814,
0.0064050364308059216,
0.004447801969945431,
-0.006731042172759771,
0.015273365192115307,
0.003300075652077794,
-0.006539858877658844,
-0.05936199054121971,
-0.0261477492749691,
-0.0021401583217084408,
0.0187144186347723,
-0.06454238295555115,
0.04181526601314545,
-0.024033766239881516,
-0.007046426180750132,
-0.003018178977072239,
0.013100331649184227,
-0.011752347461879253,
0.005731192417442799,
-0.04355829581618309,
0.014674925245344639,
-0.05042257905006409,
0.042414482682943344,
-0.008974634110927582,
-0.06939022243022919,
-0.030196357518434525,
0.027998657897114754,
0.05943235754966736,
0.02748236618936062,
-0.035781584680080414,
0.047085702419281006,
0.019323624670505524,
0.03664242848753929,
-0.0071029700338840485,
0.04280591756105423,
-0.023096773773431778,
-0.055355239659547806,
-0.04131033644080162,
0.05759288743138313,
-0.011366521008312702,
0.0007750603836029768,
-0.013715563341975212,
0.008515318855643272,
-0.020996730774641037,
-0.012207421474158764,
0.05076732113957405,
0.011212985962629318,
-0.006825034040957689,
-0.03856273368000984,
-0.03730839490890503,
-0.002902867505326867,
0.038367196917533875,
0.016130661591887474,
0.002691260538995266,
-0.019748041406273842,
-0.03525926172733307,
0.015515568666160107,
-0.014297672547399998,
0.0036281978245824575,
0.04454905539751053,
-0.016626454889774323,
0.00391362514346838,
0.08378913253545761,
0.05944579839706421,
0.011451718397438526,
-0.008843502029776573,
0.005649458151310682,
0.02837003767490387,
0.03840659558773041,
-0.02115166187286377,
0.04386162385344505,
-0.005064754746854305,
0.0009274878539144993,
0.010083445347845554,
0.03851449489593506,
-0.016402151435613632,
-0.0022115539759397507,
-0.07974564284086227,
-0.03663759306073189,
0.05555589497089386,
-0.020741146057844162,
-0.030467050150036812,
0.0439213290810585,
0.08380480110645294,
-0.012018481269478798,
0.03794842213392258,
-0.02851402759552002,
-0.0775667205452919,
0.021954642608761787,
0.00541333295404911,
0.01515594869852066,
0.041803259402513504,
-0.017671748995780945,
0.06939676403999329,
0.03072580136358738,
0.0015542989131063223,
0.022323377430438995,
-0.07632727175951004,
-0.07522250711917877,
0.02697899006307125,
-0.01649736426770687,
0.0685730129480362,
-0.024127881973981857,
0.004716482944786549,
0.05629353225231171,
0.008724451996386051,
0.045182324945926666,
0.007540779188275337,
-0.009436295367777348,
0.03429276868700981,
-0.0513051375746727,
-0.03990083187818527,
0.05208898335695267,
0.05853036791086197,
-0.04255322366952896,
-0.056217391043901443,
0.008079403080046177,
-0.01495176088064909,
0.005110405385494232,
0.03557339683175087,
-0.00481392489746213,
0.01791914366185665,
0.04136448726058006,
0.05374372750520706,
-0.009637374430894852,
0.03988140821456909,
-0.045513927936553955,
0.045079056173563004,
0.02169996127486229,
0.00016230999608524144,
0.0036889484617859125,
-0.0012860504211857915,
0.10379214584827423,
0.050578705966472626,
-0.04432216286659241,
-0.04501014202833176,
0.012969422154128551,
0.01887805387377739,
-0.045507822185754776,
0.01818258687853813,
-0.006075247656553984,
-0.013170762918889523,
-0.0037394065875560045,
-0.029631387442350388,
-0.027233924716711044,
-0.022340839728713036,
-0.038257353007793427,
0.02990521676838398,
0.08374746888875961,
-0.024104097858071327,
0.0457802452147007,
-0.005935965571552515,
-0.01523230504244566,
-0.01140375342220068,
-0.014323781244456768,
-0.04488424211740494,
-0.009883703663945198,
0.03527463600039482,
-0.007492295932024717,
0.04133153334259987,
-0.040797606110572815,
-0.013261912390589714,
-0.03025224432349205,
-0.040132928639650345,
0.012866079807281494,
0.024495014920830727,
0.05129269137978554,
-0.004352245479822159,
0.05073931813240051,
-0.0492464154958725,
0.015889601781964302,
-0.018327228724956512,
-0.02068154513835907,
-0.013330506160855293,
-0.007253992836922407,
-0.0018288316205143929,
0.022890422493219376,
0.018785521388053894,
0.02586980350315571,
-0.00041371682891622186,
0.028679322451353073,
0.02988610975444317,
0.04092993587255478,
0.03162122145295143,
-0.009011863730847836,
-0.006452951114624739,
-0.027446668595075607,
0.006031791213899851,
0.04786316305398941,
-0.05955406650900841,
-0.004199882037937641,
-0.010022412054240704,
-0.062353167682886124,
0.06231716275215149,
-0.09264390915632248,
-0.061536408960819244,
0.008272195234894753,
0.022398224100470543,
0.06026269868016243,
0.012637553736567497,
0.030301420018076897,
0.07722556591033936,
0.0154697485268116,
0.00008312136196764186,
-0.00016910060367081314,
0.004439428448677063,
0.055541008710861206,
0.009428208693861961,
-0.0006427412736229599,
0.0358625091612339,
-0.04089229926466942,
0.0030172448605298996,
-0.08101239055395126,
-0.0023675374686717987,
-0.018715277314186096,
-0.29490846395492554,
0.04952123016119003,
-0.02245442382991314,
-0.021677421405911446,
0.02446562424302101,
-0.012659174390137196,
0.013405564241111279,
-0.04223973676562309,
-0.01942429691553116,
0.019727757200598717,
-0.022446103394031525,
-0.0432688407599926,
-0.019360290840268135,
0.02025245502591133,
-0.007968829944729805,
0.020824134349822998,
-0.0207399632781744,
-0.040166839957237244,
0.007855276577174664,
0.0058221896179020405,
-0.02415040135383606,
-0.055745646357536316,
0.017952874302864075,
0.05158369615674019,
0.035776179283857346,
0.023461736738681793,
-0.06530401855707169,
0.0476289764046669,
-0.02829010784626007,
-0.03672448545694351,
0.03354951739311218,
-0.023082375526428223,
0.015743913128972054,
-0.0007266303291544318,
-0.009048094972968102,
-0.002982550300657749,
0.0504683181643486,
0.026097148656845093,
0.03604477643966675,
-0.024792242795228958,
-0.027971012517809868,
-0.03332962095737457,
-0.018866481259465218,
0.0014369302662089467,
0.1147681325674057,
-0.03714042529463768,
-0.0792911946773529,
-0.002658102661371231,
-0.05597888305783272,
0.07868131250143051,
-0.033651839941740036,
-0.02837635949254036,
-0.04817461594939232,
0.03550824522972107,
-0.00929628312587738,
-0.011048402637243271,
-0.015065566636621952,
0.010300812311470509,
-0.036955416202545166,
-0.008617052808403969,
0.005635986104607582,
-0.006977843586355448,
-0.013934098184108734,
-0.016614636406302452,
-0.00799497775733471,
-0.06983321160078049,
-0.03404901549220085,
-0.014909370802342892,
0.058160241693258286,
0.04041218385100365,
-0.05006835237145424,
0.03484009578824043,
-0.012830554507672787,
-0.10571707785129547,
0.005225043743848801,
-0.03486409783363342,
-0.016275819391012192,
0.009881969541311264,
-0.017592666670680046,
0.03194168955087662,
-0.03767121583223343,
-0.03453536331653595,
0.03770289942622185,
0.009467024356126785,
0.027908960357308388,
-0.016740834340453148,
0.0233167614787817,
0.0024923328310251236,
-0.005465072114020586,
0.006027856841683388,
0.0517624169588089,
-0.06317006051540375,
-0.022589964792132378,
0.00456090597435832,
0.00041823514038696885,
0.03691932186484337,
0.021449388936161995,
0.0312717966735363,
0.006082956213504076,
0.05671114847064018,
0.022853322327136993,
-0.03537682816386223,
-0.012530218809843063,
-0.02798866666853428,
0.011816673912107944,
-0.0049056378193199635,
-0.0304877907037735,
0.036040935665369034,
0.03368542343378067,
0.045986492186784744,
-0.0033643445931375027,
-0.02683510258793831,
0.009263518266379833,
-0.053139183670282364,
-0.05291130393743515,
-0.008583334274590015,
0.011258344165980816,
0.006017209030687809,
0.017695968970656395,
0.005603333003818989,
-0.0586998276412487,
-0.011801021173596382,
0.05591999366879463,
0.011540367268025875,
-0.054155655205249786,
-0.006483471021056175,
-0.003109005047008395,
-0.011900710873305798,
0.026767689734697342,
0.008122282102704048,
-0.009628307074308395,
0.012366684153676033,
-0.0046051559038460255,
-0.05951039865612984,
0.006062801461666822,
-0.018055055290460587,
-0.04358847439289093,
-0.034372784197330475,
-0.012080170214176178,
-0.015626627951860428,
0.01778792031109333,
0.00840015709400177,
0.010548004880547523,
0.03415381535887718,
0.06086977571249008,
-0.021957093849778175,
0.006383534986525774,
0.02468295209109783,
-0.00403636647388339,
-0.016210833564400673,
-0.010804355144500732,
-0.07046087086200714,
0.011767124757170677,
-0.032718513160943985,
-0.04082319512963295,
-0.031186247244477272,
0.031281162053346634,
-0.022406792268157005,
-0.0477679967880249,
-0.014433758333325386,
0.0374070443212986,
-0.06559011340141296,
-0.016255918890237808,
0.008769039995968342,
0.013992393389344215,
0.039468858391046524,
0.010326916351914406,
0.029743900522589684,
-0.01080822292715311,
0.005047132261097431,
-0.0052313837222754955,
0.00623145280405879,
-0.013605677522718906,
-0.015018273144960403,
-0.004241360351443291,
0.00472874753177166,
-0.022087428718805313,
0.0003489216323941946,
0.027593009173870087,
0.004767454229295254,
0.014049910940229893,
-0.03781510517001152,
0.021773090586066246,
-0.017391838133335114,
0.056196585297584534,
0.026196878403425217,
-0.027004515752196312,
0.006262658629566431,
-0.020699776709079742,
-0.008398653008043766,
-0.07095368206501007,
-0.0007778876461088657,
-0.01675783470273018,
0.030180051922798157,
0.0036416209768503904,
-0.09643097221851349,
0.038566041737794876,
0.03634583204984665,
0.027619743719697,
0.012479451484978199,
-0.024638451635837555,
0.02538711577653885,
-0.030309490859508514,
0.04318723455071449,
0.05877310037612915,
-0.03848862275481224,
-0.01300768367946148,
-0.011326032690703869,
0.03988140448927879,
0.012981139123439789,
0.0015767568256706,
-0.06764204800128937,
-0.018690533936023712,
-0.028245776891708374,
0.0015557375736534595,
-0.032633744180202484,
-0.03999952971935272,
-0.034551918506622314,
-0.013251367025077343,
-0.016958480700850487,
0.014010329730808735,
0.0012911866651847959,
0.015727398917078972,
0.004758498165756464,
-0.03181550279259682,
0.005545318592339754,
-0.028848761692643166,
-0.00016093882732093334,
-0.01292170025408268,
-0.029829619452357292,
0.02669253945350647,
-0.001077620661817491,
0.04840731620788574,
0.012484275735914707,
-0.0029838713817298412,
0.000010614829989208374,
-0.01030312292277813,
-0.002059788443148136,
-0.014263966120779514,
0.06720876693725586,
-0.0033904018346220255,
-0.007449558470398188,
-0.008059613406658173,
0.005477062426507473,
-0.03430844843387604,
-0.002211780520156026,
-0.02108663134276867,
-0.002448411425575614,
0.023761726915836334,
0.04995463043451309,
0.017527611926198006,
0.04256244748830795,
0.018734479323029518,
-0.022133631631731987,
0.03454006090760231,
-0.05732601508498192,
-0.009858956560492516,
-0.031668610870838165,
-0.054602354764938354,
0.053152501583099365,
0.03531369939446449,
0.006398067809641361,
-0.047712597995996475,
0.0310961976647377,
0.03658052161335945,
0.026281174272298813,
0.03819004446268082,
-0.037473518401384354,
0.017049526795744896,
-0.04577576369047165,
0.015045457519590855,
-0.06618187576532364,
0.033259011805057526,
0.0004766778729390353,
-0.044298820197582245,
-0.013435201719403267,
0.010732979513704777,
-0.03793809190392494,
0.020304592326283455,
-0.0448632575571537,
-0.03656194359064102,
0.0331624299287796,
-0.003904914716258645,
-0.027852552011609077,
-0.007004251703619957,
-0.062070082873106,
0.012218901887536049,
0.04502081871032715,
-0.03939001262187958,
-0.01777328923344612,
-0.004669041372835636,
0.0430106557905674,
-0.021259857341647148,
0.03469795361161232,
-0.0338074155151844,
-0.04659852758049965,
0.07700422406196594,
0.00503751402720809,
-0.007658100221306086,
0.03088442049920559,
0.010275155305862427,
0.03297792002558708,
0.012581182643771172,
0.023511037230491638,
0.021509181708097458,
0.03951796144247055,
-0.015297604724764824,
-0.06724251061677933,
0.038422707468271255,
-0.00406821770593524,
-0.004007717128843069,
-0.028836043551564217,
0.07541019469499588,
0.01885170117020607,
-0.054217807948589325,
-0.07329981029033661,
0.03796860948204994,
-0.06259874254465103,
-0.06013645604252815,
-0.020043006166815758,
-0.02035646326839924,
-0.01337173581123352,
0.03874005377292633,
0.017430705949664116,
-0.004325448535382748,
0.046913616359233856,
0.004729867447167635,
-0.004769258666783571,
-0.0033631573896855116,
0.0803261548280716,
0.06995226442813873,
0.03389599546790123,
0.012497823685407639,
0.06967491656541824,
0.015657953917980194,
-0.04750939458608627,
-0.01177237555384636,
-0.05928529426455498,
-0.014275074005126953,
-0.014574785716831684,
0.0008883948903530836,
0.044571198523044586,
-0.030817128717899323,
0.04019908607006073,
-0.019322922453284264,
0.00597788579761982,
-0.009420951828360558,
0.02668762020766735,
0.0030347476713359356,
0.06906573474407196,
0.036372072994709015,
0.057300299406051636,
-0.030592894181609154,
-0.026640640571713448,
0.02231370471417904,
-0.019148778170347214,
-0.03320968896150589,
0.04308052361011505,
-0.02930060401558876,
0.017494486644864082,
0.023832406848669052,
-0.0020613004453480244,
0.06125815212726593,
-0.03879628702998161,
-0.013059028424322605,
-0.013492041267454624,
0.01382339559495449,
-0.007344797253608704,
0.00704899663105607,
-0.03978760167956352,
-0.040069177746772766,
-0.016396574676036835,
-0.055894553661346436,
-0.04966749995946884,
0.012553471140563488,
-0.030017659068107605,
0.039344318211078644,
-0.007184099871665239,
0.03332751244306564,
0.023969434201717377,
-0.006956371013075113,
-0.008713838644325733,
-0.04095017910003662,
-0.06645228713750839,
-0.06473249197006226,
-0.060159821063280106,
-0.016261527314782143,
-0.00673852302134037,
0.014482596889138222,
-0.03940805047750473,
-0.01521227415651083,
-0.0015292949974536896,
0.010985578410327435,
0.04228902980685234,
-0.026855552569031715,
-0.08283860981464386,
0.03232087194919586,
0.01040625013411045,
0.02599968947470188,
0.03549792990088463,
0.06395184993743896,
-0.006653279066085815,
0.011034924536943436,
-0.04356182739138603,
-0.007907896302640438,
0.026823528110980988,
-0.000933332834392786,
0.005066751502454281,
-0.057737380266189575,
0.003968500532209873,
0.001276512397453189,
0.01671137474477291,
-0.055918045341968536,
-0.002713119378313422,
0.05566413700580597,
0.03692813962697983,
0.07968452572822571,
0.007622034288942814,
-0.0035769264213740826,
-0.03511343523859978,
-0.013373137451708317,
0.01329206395894289,
0.00613651517778635,
0.03403763100504875,
0.0007745660259388387,
0.12252619862556458,
0.02635824680328369,
-0.028837693855166435,
-0.016471922397613525,
-0.0000915893106139265,
-0.02563217096030712,
-0.02171962708234787,
-0.016857339069247246,
-0.02545187436044216,
-0.05852387100458145,
-0.0710284560918808,
-0.014878518879413605,
-0.0028433152474462986,
-0.010213805362582207,
-0.016705738380551338,
-0.01839938759803772,
0.0063955336809158325,
-0.03095472790300846,
0.06095161288976669,
-0.04788494110107422,
0.018581446260213852,
-0.015324008651077747,
-0.013636653311550617,
-0.008477932773530483,
0.030075322836637497,
0.014592014253139496,
-0.010856453329324722,
0.029753917828202248,
-0.014301472343504429,
-0.013340755365788937,
-0.000025661363906692713,
0.03775971382856369,
0.007264654152095318,
-0.05160878971219063,
0.021597741171717644
] | [
-0.05350559949874878,
-0.049412645399570465,
-0.04639076814055443,
-0.05600852891802788,
0.02509307488799095,
-0.04829200357198715,
-0.002187357284128666,
0.006731246132403612,
-0.03709036111831665,
-0.018284471705555916,
-0.012108828872442245,
-0.038015030324459076,
-0.00972320232540369,
-0.027836475521326065,
0.056509628891944885,
-0.002082587219774723,
0.013403830118477345,
-0.0749715119600296,
-0.061422426253557205,
0.05417608469724655,
-0.02285316400229931,
-0.036403264850378036,
-0.011467194184660912,
-0.03157428652048111,
0.001492060488089919,
0.051524609327316284,
0.009058748371899128,
-0.014211992733180523,
-0.028094550594687462,
-0.1483408361673355,
-0.012246843427419662,
-0.04556000232696533,
0.008603950031101704,
0.013416268862783909,
-0.0004103496321476996,
0.01996968686580658,
0.05389389023184776,
0.02776232734322548,
0.006952602416276932,
0.04095402732491493,
0.04745209962129593,
0.0053868768736720085,
-0.05383756756782532,
-0.0017664337065070868,
0.07464936375617981,
0.012386074289679527,
-0.06561058014631271,
0.012658917345106602,
-0.03519054874777794,
-0.026164311915636063,
-0.03933976590633392,
0.017014279961586,
0.012369779869914055,
-0.009822140447795391,
-0.03398975357413292,
0.01659870706498623,
0.03201155737042427,
0.1249367967247963,
0.00911798421293497,
0.07520338147878647,
0.028075410053133965,
-0.0019918952602893114,
-0.12010896950960159,
0.08386559039354324,
0.03212512284517288,
0.08214268088340759,
-0.05501812323927879,
-0.058161187916994095,
-0.034865789115428925,
0.06440027058124542,
0.0027147303335368633,
-0.021818259730935097,
-0.07388105988502502,
0.05098382383584976,
-0.0007738791755400598,
-0.009091542102396488,
-0.01400298997759819,
0.05212918296456337,
0.03037894330918789,
-0.026830341666936874,
-0.08537611365318298,
0.005360964685678482,
-0.032034046947956085,
0.03024369105696678,
-0.05943111330270767,
-0.015019799582660198,
-0.004470983985811472,
0.06022985279560089,
0.032998066395521164,
0.025253448635339737,
0.039774104952812195,
-0.049576371908187866,
0.05165712907910347,
0.016527358442544937,
-0.06904357671737671,
-0.005531507544219494,
-0.009512659162282944,
0.03006993979215622,
-0.04987206310033798,
0.38784828782081604,
-0.03465298190712929,
0.00449245935305953,
0.025075318291783333,
-0.020564841106534004,
-0.02421628311276436,
-0.004462030250579119,
0.002929482376202941,
-0.06685998290777206,
0.0014143220614641905,
-0.00004392582195578143,
0.017275674268603325,
0.016841307282447815,
0.031714703887701035,
-0.08677100390195847,
0.004917257931083441,
0.035836879163980484,
-0.016388636082410812,
0.042212944477796555,
-0.013260181061923504,
0.015831729397177696,
-0.012573502957820892,
-0.003516474273055792,
0.024887118488550186,
0.010858491063117981,
-0.013752850703895092,
0.02388361468911171,
0.036736030131578445,
0.050180356949567795,
0.01717255264520645,
0.055576253682374954,
0.04668828099966049,
-0.004638501442968845,
-0.06787200272083282,
0.01908739097416401,
0.0041691637597978115,
0.061388302594423294,
-0.0008823448442853987,
-0.030602876096963882,
-0.000731145788449794,
0.053281839936971664,
0.023552097380161285,
-0.00626537948846817,
0.0058059170842170715,
0.00413190433755517,
0.017762769013643265,
0.08763911575078964,
-0.011200843378901482,
-0.017190201207995415,
-0.01606343500316143,
-0.04700455069541931,
0.028266556560993195,
0.03161773458123207,
-0.0065872762352228165,
-0.04879570007324219,
0.007586649619042873,
0.01038691122084856,
0.07689059525728226,
0.01815476268529892,
-0.06658937782049179,
0.03636852279305458,
0.01605621725320816,
-0.05499628931283951,
-0.009924347512423992,
0.04470645263791084,
0.0402192585170269,
-0.1457764208316803,
-0.0020629609934985638,
0.011967148631811142,
0.008299188688397408,
-0.045838404446840286,
-0.007142726797610521,
0.011971797794103622,
-0.03335050866007805,
0.007313909474760294,
0.04909404739737511,
-0.04709092527627945,
-0.026202024891972542,
0.027512313798069954,
-0.0005556065589189529,
-0.0007263681618496776,
-0.051049813628196716,
-0.038048241287469864,
-0.06471449136734009,
-0.043038416653871536,
-0.06698025017976761,
-0.03312769532203674,
-0.06135116145014763,
0.004248491022735834,
-0.03224054351449013,
-0.020387450233101845,
-0.03699033707380295,
0.019495412707328796,
-0.10249339789152145,
0.03407621383666992,
-0.0034078252501785755,
-0.02781086228787899,
-0.036869071424007416,
-0.03746700659394264,
-0.029532672837376595,
-0.015688957646489143,
0.0020199983846396208,
0.028771158307790756,
-0.02106001228094101,
0.02940387837588787,
-0.06063998490571976,
0.0005611010710708797,
0.06261320412158966,
-0.025869563221931458,
0.061050575226545334,
0.011548476293683052,
-0.029364677146077156,
-0.0014670540113002062,
-0.05099891126155853,
0.05121494457125664,
-0.01748616248369217,
-0.0017676603747531772,
-0.020061718299984932,
-0.016239216551184654,
0.02368781901896,
0.008855677209794521,
-0.0365663506090641,
0.015836549922823906,
-0.023613950237631798,
-0.3615093529224396,
-0.03410453349351883,
-0.046786945313215256,
0.0044273980893194675,
0.005292649846524,
-0.08438088744878769,
0.03894544020295143,
-0.004624245222657919,
-0.023959293961524963,
0.022315792739391327,
0.1512402594089508,
-0.019818831235170364,
-0.005721856374293566,
-0.048167042434215546,
-0.0046477471478283405,
0.02567196823656559,
-0.058188945055007935,
-0.010204697027802467,
0.021730640903115273,
0.08234190195798874,
0.009619412943720818,
-0.042520783841609955,
0.015868982300162315,
-0.034944359213113785,
0.02413821592926979,
0.008262090384960175,
0.09156086295843124,
0.03210650756955147,
0.03249369189143181,
-0.041130855679512024,
0.06122283637523651,
0.025780171155929565,
0.01258203387260437,
-0.12765711545944214,
-0.0022667674347758293,
-0.02086789719760418,
0.005671360529959202,
0.054293032735586166,
0.059551335871219635,
-0.013844843953847885,
-0.0723114088177681,
0.021540408954024315,
-0.05014849826693535,
-0.06038966774940491,
0.011596781201660633,
0.015452027320861816,
-0.02241092547774315,
-0.012288520112633705,
-0.018105139955878258,
0.08259207010269165,
0.03449865058064461,
0.03209535405039787,
0.03535576909780502,
0.021678896620869637,
-0.01955065131187439,
-0.043534062802791595,
-0.027589010074734688,
0.008066380396485329,
0.020575353875756264,
0.023148201406002045,
0.017862990498542786,
0.011772642843425274,
0.022153785452246666,
-0.04136785864830017,
0.00763788353651762,
-0.0374520868062973,
-0.015452463179826736,
0.018310988321900368,
0.037644919008016586,
-0.030992837622761726,
-0.007096008397638798,
0.10169143974781036,
-0.013315889984369278,
0.04318884015083313,
0.04489799216389656,
0.014240605756640434,
0.031000807881355286,
-0.005689989775419235,
0.00009036331175593659,
-0.0028168645221740007,
-0.035798653960227966,
-0.020112894475460052,
0.0753980353474617,
-0.038829341530799866,
0.015877896919846535,
0.07861529290676117,
-0.003483253065496683,
0.013351274654269218,
0.03937520831823349,
-0.030787112191319466,
-0.00837738811969757,
-0.002376614836975932,
-0.0037573608569800854,
-0.042888179421424866,
0.05494886264204979,
-0.003396565094590187,
-0.24813927710056305,
0.023709280416369438,
0.023553544655442238,
0.07343549281358719,
-0.017643192782998085,
0.002570223994553089,
0.0507013164460659,
-0.03352225199341774,
-0.014791913330554962,
0.03052613139152527,
0.011719652451574802,
0.03466323763132095,
-0.0008016545907594264,
0.011837069876492023,
0.04902096092700958,
-0.018186653032898903,
0.028196148574352264,
0.04372693970799446,
-0.0405789315700531,
0.03310641273856163,
0.035554226487874985,
0.00012082992179784924,
0.15445765852928162,
0.014574633911252022,
-0.007819241844117641,
0.05559435859322548,
0.024067210033535957,
0.04352746531367302,
0.09793800860643387,
0.026273485273122787,
-0.005012926179915667,
-0.015141108073294163,
0.0303965974599123,
0.005673500709235668,
0.03441604971885681,
-0.08813721686601639,
-0.020900236442685127,
-0.006952220574021339,
0.02355566993355751,
0.0011837190249934793,
-0.0026721374597400427,
0.028309768065810204,
0.004484137985855341,
0.03706890344619751,
0.06621358543634415,
-0.03901105746626854,
-0.02013133466243744,
0.0000017757161003828514,
-0.03560909256339073,
-0.005591197870671749,
-0.015148079954087734,
-0.09789381921291351,
-0.04417639970779419,
0.02108193002641201,
0.003928566817194223,
0.05800699442625046,
0.03593757376074791,
-0.03191604092717171,
0.02271142788231373,
-0.003839322831481695,
0.00014659171574749053,
-0.009080775082111359,
0.10721247643232346,
0.0009365375153720379,
0.019139932468533516
] | [
-0.02824845351278782,
0.006053091026842594,
0.014414406381547451,
-0.012047888711094856,
-0.01519264280796051,
-0.011192969046533108,
-0.0070176273584365845,
0.02459857426583767,
-0.023952247574925423,
-0.010361100547015667,
0.004466702230274677,
0.02418285794556141,
0.03419021889567375,
-0.041392773389816284,
0.00604822114109993,
0.00204882281832397,
0.04113458842039108,
0.005376260727643967,
0.010937226004898548,
0.017653586342930794,
-0.010654808022081852,
0.04744962230324745,
0.02175416238605976,
-0.01539862435311079,
-0.026006383821368217,
-0.05351686477661133,
-0.023293741047382355,
-0.039026349782943726,
0.04385178163647652,
-0.11470353603363037,
0.0069455914199352264,
-0.032802943140268326,
-0.003215123899281025,
0.011150931008160114,
-0.03927857428789139,
-0.005777020938694477,
0.03399898484349251,
-0.015283211134374142,
0.0038488463032990694,
0.011560806073248386,
0.037104394286870956,
-0.05143250897526741,
-0.028350574895739555,
-0.014675378799438477,
0.02964029461145401,
-0.011279583908617496,
0.0031396348495036364,
-0.013999457471072674,
0.015506691299378872,
-0.023200277239084244,
-0.06025807559490204,
-0.004556355066597462,
-0.02972586825489998,
-0.03687090426683426,
-0.04678327962756157,
-0.03978735953569412,
-0.045102350413799286,
0.036508072167634964,
0.04303574934601784,
0.05443447828292847,
0.010136233642697334,
-0.008880598470568657,
-0.015496565960347652,
-0.039346493780612946,
0.031059550121426582,
0.013071657158434391,
0.004350419621914625,
-0.048411015421152115,
-0.03796612098813057,
0.011472390964627266,
0.06605608016252518,
0.058232057839632034,
-0.08342916518449783,
-0.04764823988080025,
-0.028401046991348267,
-0.04115686193108559,
-0.01843000389635563,
0.03807177394628525,
-0.006814437452703714,
-0.003102499060332775,
-0.015370047651231289,
0.0142994225025177,
-0.0023436162155121565,
0.07719893753528595,
-0.05119892582297325,
-0.02068711631000042,
-0.013481082394719124,
0.047580283135175705,
0.006419430486857891,
-0.02097318507730961,
0.017419926822185516,
-0.026409385725855827,
0.010358377359807491,
0.03312177583575249,
-0.06103106215596199,
-0.010953209362924099,
0.017365287989377975,
-0.018522532656788826,
-0.003504905616864562,
0.7738803625106812,
-0.041949305683374405,
0.018272023648023605,
0.01904100552201271,
-0.014682098291814327,
-0.026111586019396782,
0.01459135115146637,
0.014421658590435982,
0.006266206037253141,
0.024867087602615356,
-0.010246057994663715,
0.0658312514424324,
0.013179333880543709,
-0.0004259830166120082,
0.018100745975971222,
0.002665323670953512,
0.018123557791113853,
-0.02880774438381195,
0.0019484729273244739,
0.045049846172332764,
0.05242932587862015,
0.056711576879024506,
0.026282310485839844,
0.005497850477695465,
0.004964450839906931,
-0.013522419147193432,
-0.19593171775341034,
0.011439017951488495,
-7.116240761786581e-33,
-0.0006952674011699855,
-0.024214740842580795,
0.03076748177409172,
-0.003594595706090331,
-0.024165619164705276,
0.023284532129764557,
-0.018625007942318916,
0.013556847348809242,
-0.030415983870625496,
-0.04395945370197296,
0.027724916115403175,
0.031971823424100876,
-0.03607041388750076,
0.00462340610101819,
-0.005331336986273527,
0.021104468032717705,
-0.028345661237835884,
0.02954249083995819,
0.023069709539413452,
0.0029979844111949205,
0.028650574386119843,
0.029158804565668106,
0.027919452637434006,
0.006658087018877268,
0.01083822175860405,
0.024424448609352112,
0.03487106040120125,
-0.0038346697110682726,
0.009199902415275574,
-0.0390266515314579,
-0.006831754464656115,
-0.023072797805070877,
-0.019771840423345566,
-0.015899183228611946,
0.02780878357589245,
-0.033464618027210236,
-0.0890754908323288,
0.006807541474699974,
-0.03607960045337677,
-0.03436838462948799,
-0.011627040803432465,
-0.020470164716243744,
-0.057214926928281784,
-0.029554815962910652,
-0.02776126191020012,
0.01518434938043356,
0.007124085444957018,
-0.003092435421422124,
0.016507280990481377,
0.02353517711162567,
0.010464825667440891,
0.003927585668861866,
-0.0317477211356163,
0.0009969820966944098,
-0.0430729053914547,
0.001890824525617063,
-0.015337745659053326,
-0.020783599466085434,
-0.020867465063929558,
-0.05844580754637718,
0.058642640709877014,
0.009138518013060093,
0.02840230241417885,
0.008431936614215374,
-0.055185336619615555,
-0.023514971137046814,
-0.009632007218897343,
0.026053622364997864,
0.034103523939847946,
0.04023384675383568,
-0.03562607243657112,
-0.00005580713695962913,
-0.027213923633098602,
-0.011525063775479794,
0.0034425584599375725,
-0.04923730343580246,
0.03063955530524254,
0.03011891059577465,
-0.006936572026461363,
0.03750727325677872,
0.019748087972402573,
-0.03364911302924156,
-0.04260556772351265,
0.002532531740143895,
-0.05458958074450493,
0.03920670226216316,
0.03510057181119919,
0.023190941661596298,
-0.04409381002187729,
-0.01373414695262909,
0.023449908941984177,
0.01580321416258812,
-0.022165657952427864,
-0.007369173690676689,
-0.0186588317155838,
6.006862825410262e-33,
0.0058532278053462505,
-0.06483010202646255,
0.03652370348572731,
0.0072716232389211655,
0.06297909468412399,
-0.03135617822408676,
0.05595601722598076,
0.008655221201479435,
-0.013569334521889687,
0.06207295134663582,
-0.04406870901584625,
0.005030160769820213,
-0.035285864025354385,
0.01616460643708706,
0.08336365222930908,
-0.05483930930495262,
0.0061353533528745174,
-0.03170130029320717,
-0.008142362348735332,
-0.010255930945277214,
-0.051883526146411896,
0.01736287772655487,
0.058782853186130524,
0.033816851675510406,
0.053514763712882996,
0.051847606897354126,
-0.03091248869895935,
0.006198668386787176,
-0.006213697604835033,
0.0034344869200140238,
0.0035190072376281023,
0.03185371682047844,
0.013869702816009521,
-0.036963045597076416,
-0.002769308630377054,
0.031249480322003365,
0.010143724270164967,
-0.013225830160081387,
0.018295206129550934,
-0.04976854473352432,
0.023773830384016037,
-0.022885948419570923,
0.04369165748357773,
-0.003456943202763796,
0.04728017374873161,
0.034069839864969254,
0.016404397785663605,
-0.011024371720850468,
-0.018177980557084084,
0.03007526695728302,
0.045693736523389816,
0.04962683469057083,
-0.006959435995668173,
0.001256511895917356,
0.043806176632642746,
-0.01641794852912426,
-0.032421134412288666,
-0.010698110796511173,
0.002624244662001729,
-0.030379677191376686,
0.00534285930916667,
-0.04744050279259682,
0.010163530707359314,
0.026359934359788895,
-0.0712599977850914,
-0.032189927995204926,
0.0049425531178712845,
-0.009497430175542831,
0.018592743203043938,
0.03206571564078331,
-0.013348987326025963,
-0.007848012261092663,
0.010032535530626774,
0.010972706601023674,
0.026602042838931084,
-0.019907977432012558,
-0.0015740597154945135,
-0.005832864437252283,
-0.0329136997461319,
-0.004415467847138643,
0.024460772052407265,
0.02784748375415802,
0.010416977107524872,
0.021330691874027252,
-0.0007977064233273268,
-0.02561050094664097,
-0.04166293144226074,
0.039028383791446686,
0.02302348054945469,
0.060401659458875656,
-0.038285162299871445,
0.027854064479470253,
-0.0025561691727489233,
0.00320075755007565,
-0.05564402788877487,
-1.2530275483868536e-8,
0.015329641290009022,
0.0027341865934431553,
-0.012731799855828285,
0.03560915216803551,
-0.02175389602780342,
-0.03212028741836548,
-0.030037771910429,
0.015553995035588741,
-0.02686798945069313,
0.01007196307182312,
0.025826744735240936,
-0.042789995670318604,
-0.005176467355340719,
0.020010367035865784,
-0.012682285159826279,
-0.02384609915316105,
-0.017406830564141273,
-0.055663660168647766,
0.04163103550672531,
-0.004392262082546949,
0.03412758931517601,
0.0165569968521595,
0.016155906021595,
0.013853264041244984,
0.0038521571550518274,
-0.0058299098163843155,
0.0038174011278897524,
-0.06731909513473511,
-0.030929818749427795,
-0.04296915978193283,
0.014334157109260559,
-0.02117091417312622,
-0.031423863023519516,
-0.04154070466756821,
-0.0198716688901186,
-0.03035786934196949,
0.019492171704769135,
0.0007575561758130789,
0.03499162942171097,
-0.011740024201571941,
0.02984822914004326,
0.042939893901348114,
0.03219034895300865,
-0.031843528151512146,
-0.0255918987095356,
-0.029152968898415565,
0.013789117336273193,
0.026008836925029755,
0.039827026426792145,
0.01361786387860775,
-0.0236198827624321,
-0.029799122363328934,
-0.026210349053144455,
0.07002019882202148,
0.01643216609954834,
-0.03594571352005005,
0.010940391570329666,
-0.0479690283536911,
-0.039710093289613724,
-0.03064238466322422,
0.055325429886579514,
0.03121006302535534,
-0.020727558061480522,
-0.003922528587281704
] | ruby-create-and-share-google-drive-spreadsheet | https://markhneedham.com/blog/2014/08/17/ruby-create-and-share-google-drive-spreadsheet |
false | 2014-08-17 01:49:10 | Ruby: Google Drive - Error=BadAuthentication (GoogleDrive::AuthenticationError) Info=InvalidSecondFactor | [
"ruby"
] | [
"Ruby"
] | I've been using the https://github.com/gimite/google-drive-ruby[Google Drive gem] to try and interact with my Google Drive account and almost immediately ran into problems trying to login.
I started out with the following code:
[source,ruby]
----
require "rubygems"
require "google_drive"
session = GoogleDrive.login("[email protected]", "mypassword")
----
I'll move it to use OAuth when I put it into my application but for spiking this approach works. Unfortunately I got the following error when running the script:
[source,text]
----
/Users/markneedham/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/google_drive-0.3.10/lib/google_drive/session.rb:93:in `rescue in login': Authentication failed for [email protected]: Response code 403 for post https://www.google.com/accounts/ClientLogin: Error=BadAuthentication (GoogleDrive::AuthenticationError)
Info=InvalidSecondFactor
from /Users/markneedham/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/google_drive-0.3.10/lib/google_drive/session.rb:86:in `login'
from /Users/markneedham/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/google_drive-0.3.10/lib/google_drive/session.rb:38:in `login'
from /Users/markneedham/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/google_drive-0.3.10/lib/google_drive.rb:18:in `login'
from src/gdoc.rb:15:in `<main>'
----
Since I have two factor authentication enabled on my account https://github.com/gimite/google-drive-ruby/issues/40[it turns out] that I need to create an https://security.google.com/settings/security/apppasswords[app password] to login:
image::{{<siteurl>}}/uploads/2014/08/2014-08-17_02-47-03.png[2014 08 17 02 47 03,600]
It will then pop up with a password that we can use to login (I have revoked this one!):
image::{{<siteurl>}}/uploads/2014/08/2014-08-17_02-46-29.png[2014 08 17 02 46 29,600]
We can then use this password instead and everything works fine:
[source,ruby]
----
require "rubygems"
require "google_drive"
session = GoogleDrive.login("[email protected]", "tuceuttkvxbvrblf")
---- | null | null | [
-0.0015186823438853025,
0.002286091912537813,
-0.01565295271575451,
0.061752621084451675,
0.08269388228654861,
0.021992739289999008,
0.04693177714943886,
0.021396873518824577,
0.03885486349463463,
-0.005600929260253906,
-0.020906658843159676,
-0.017768975347280502,
-0.07602433860301971,
0.010029091499745846,
-0.02461705356836319,
0.05434703454375267,
0.07316150516271591,
-0.0001914291497087106,
0.02474820613861084,
-0.01850884221494198,
0.009115081280469894,
0.0751827210187912,
-0.0038998627569526434,
0.015015496872365475,
0.04615068808197975,
0.022106748074293137,
0.021710962057113647,
-0.003055597422644496,
-0.07213891297578812,
-0.03438939154148102,
0.013526235707104206,
0.021526413038372993,
0.017850227653980255,
0.00524746673181653,
0.02846449613571167,
0.008775897324085236,
-0.006344697438180447,
-0.023859182372689247,
0.005500107537955046,
0.04914482682943344,
-0.012688018381595612,
0.038069143891334534,
-0.029320605099201202,
0.02554858662188053,
-0.029988784343004227,
0.05060318484902382,
-0.05677478015422821,
0.025258401408791542,
0.009422442875802517,
-0.04271095618605614,
-0.05764692649245262,
0.03054700791835785,
-0.012179955840110779,
-0.04593972861766815,
0.0359342135488987,
0.04567478597164154,
0.010200419463217258,
-0.07437081634998322,
0.035100508481264114,
-0.02741977758705616,
0.002956132870167494,
0.00673108734190464,
-0.008912483230233192,
0.005523301661014557,
-0.000011422297575336415,
-0.01088025514036417,
0.026846077293157578,
0.07009724527597427,
-0.0373406708240509,
-0.025421371683478355,
0.018540598452091217,
0.0074962833896279335,
0.0056507401168346405,
-0.006984072737395763,
-0.005507545545697212,
-0.0008178033167496324,
0.0007133663166314363,
0.038248028606176376,
0.023836899548768997,
0.04914834722876549,
-0.02698967233300209,
-0.00018687776173464954,
-0.01784076914191246,
0.035299140959978104,
-0.010433919727802277,
-0.06379267573356628,
-0.05721607059240341,
0.008693473413586617,
-0.026704011484980583,
0.10077817738056183,
0.008036208339035511,
-0.06489120423793793,
0.015723690390586853,
0.017625203356146812,
-0.004071465693414211,
0.0001086306874640286,
-0.003553511807695031,
-0.00421205023303628,
0.0011597225675359368,
-0.00918456632643938,
-0.04817711561918259,
-0.020372038707137108,
-0.022270089015364647,
0.027429433539509773,
-0.06048602610826492,
0.05188938230276108,
-0.04413517564535141,
-0.00803067721426487,
0.028012868016958237,
-0.01648782752454281,
-0.007932907901704311,
0.038767259567976,
-0.02631678804755211,
-0.006153129506856203,
-0.061537496745586395,
0.05003019794821739,
-0.005233647767454386,
-0.07064900547266006,
-0.0294162780046463,
0.04015806317329407,
0.06332621723413467,
0.0320805162191391,
-0.04958187788724899,
0.026472818106412888,
0.027494218200445175,
0.03496596962213516,
0.005792996380478144,
0.03455139324069023,
-0.05103675648570061,
-0.062350206077098846,
-0.03532935306429863,
0.05323745682835579,
0.005446858238428831,
0.0007895180024206638,
-0.023886047303676605,
-0.01540327724069357,
-0.04229395464062691,
-0.02092682756483555,
0.05076189339160919,
0.026647323742508888,
-0.0011263485066592693,
-0.027272703126072884,
-0.055385470390319824,
-0.00461798720061779,
0.049038928002119064,
0.009362700395286083,
0.01708780601620674,
0.001297031994909048,
-0.028679324313998222,
0.013208691962063313,
0.001095910556614399,
-0.01234529074281454,
0.0345093235373497,
-0.02097923681139946,
-0.021534116938710213,
0.09225207567214966,
0.041708216071128845,
0.013952224515378475,
-0.033563800156116486,
-0.013836545869708061,
0.02552182227373123,
0.014831229113042355,
-0.03883446753025055,
0.05452641472220421,
0.01954049989581108,
-0.02933439239859581,
-0.006878121290355921,
0.02885599620640278,
-0.005639463663101196,
0.0015203638467937708,
-0.08434747159481049,
-0.0752912163734436,
0.05669698119163513,
-0.011506522074341774,
-0.04771384224295616,
0.033772241324186325,
0.08932078629732132,
0.011441119015216827,
0.04866783320903778,
-0.03227603808045387,
-0.07846754789352417,
0.028846783563494682,
0.013546955771744251,
0.03654145076870918,
0.013902063481509686,
0.006294663995504379,
0.09079170972108841,
-0.002674320712685585,
0.002346350811421871,
0.025826627388596535,
-0.08640792220830917,
-0.06962362676858902,
0.039309464395046234,
-0.017623579129576683,
0.07273534685373306,
-0.02385498397052288,
0.008218728937208652,
0.04967084154486656,
0.001345282536931336,
0.029033659026026726,
-0.009079089388251305,
-0.015278344042599201,
0.04487644508481026,
-0.05034210532903671,
-0.023170562461018562,
0.05340415984392166,
0.05367230996489525,
-0.026752881705760956,
-0.022669844329357147,
0.00813031941652298,
0.005805307533591986,
0.017089221626520157,
0.033207397907972336,
-0.007398901507258415,
0.02836146391928196,
0.03864623233675957,
0.041923150420188904,
-0.029425490647554398,
0.03163110837340355,
-0.048155613243579865,
0.022146688774228096,
0.010142216458916664,
0.004008319694548845,
0.01827196590602398,
0.00039913260843604803,
0.09443148225545883,
0.05454561859369278,
-0.008403118699789047,
-0.05020364001393318,
0.0196797214448452,
-0.0043452950194478035,
-0.04309408366680145,
0.046483106911182404,
-0.009675038047134876,
-0.017180390655994415,
0.03357762098312378,
-0.03195567429065704,
-0.049205560237169266,
-0.023346003144979477,
-0.029405005276203156,
-0.005854231305420399,
0.06803455948829651,
-0.020227279514074326,
0.044249407947063446,
-0.013896183110773563,
0.0042685638181865215,
-0.0020847332198172808,
-0.009909438900649548,
-0.041015639901161194,
-0.028137922286987305,
0.05714719742536545,
-0.021722622215747833,
0.028569063171744347,
-0.02701393887400627,
0.011974005959928036,
-0.026970285922288895,
-0.025692617520689964,
0.006170601584017277,
0.017041917890310287,
0.06314244121313095,
-0.0015119453892111778,
0.06764601171016693,
-0.06966056674718857,
0.012008342891931534,
-0.031262900680303574,
-0.028858721256256104,
-0.012353566475212574,
-0.006906638853251934,
-0.012024754658341408,
0.007307468447834253,
0.023196853697299957,
0.004763931967318058,
0.009311703033745289,
0.0363626666367054,
0.04150930419564247,
0.04913029819726944,
0.05330386385321617,
-0.006159032229334116,
0.014135833829641342,
-0.044721659272909164,
0.01816340535879135,
0.049470070749521255,
-0.05193226411938667,
0.007694818079471588,
-0.005863092374056578,
-0.06438245624303818,
0.05650119110941887,
-0.0744905024766922,
-0.05940138176083565,
0.015780463814735413,
0.026427561417222023,
0.04018983617424965,
0.018501805141568184,
0.015845563262701035,
0.047296833246946335,
0.015122649259865284,
0.006665291730314493,
0.00818016566336155,
0.008398212492465973,
0.09579276293516159,
0.017179612070322037,
-0.0008197898278012872,
0.03564539924263954,
-0.036658693104982376,
0.0010175800416618586,
-0.09176764637231827,
-0.015420633368194103,
-0.018078168854117393,
-0.26964685320854187,
0.04840468615293503,
-0.014876826666295528,
-0.0202556811273098,
0.014223835431039333,
-0.02894277125597,
0.013244759291410446,
-0.0444217212498188,
-0.014485095627605915,
0.019785376265645027,
-0.013263535685837269,
-0.03474760055541992,
0.012070626020431519,
0.012656533159315586,
-0.018782509490847588,
0.009370028041303158,
0.0018206944223493338,
-0.03180360421538353,
-0.007807369343936443,
0.008426153101027012,
-0.02557685598731041,
-0.0380183570086956,
-0.0004734497924800962,
0.049941763281822205,
0.03341176360845566,
0.03157631307840347,
-0.0517837293446064,
0.023451635614037514,
-0.025137336924672127,
-0.03896978497505188,
0.03632334992289543,
-0.02950737625360489,
-0.0060716792941093445,
0.010116037912666798,
0.0007045661332085729,
0.01080150157213211,
0.031218964606523514,
0.031029336154460907,
0.049798015505075455,
-0.031114645302295685,
-0.02391464076936245,
-0.031734976917505264,
-0.017763247713446617,
0.001850017928518355,
0.11067456007003784,
-0.04440460354089737,
-0.05093911662697792,
0.024301420897245407,
-0.04587872326374054,
0.08555898070335388,
-0.05163545906543732,
-0.022032013162970543,
-0.03038785792887211,
0.02982962317764759,
0.012889404781162739,
0.01868007890880108,
-0.01753314584493637,
0.033278968185186386,
-0.020822999998927116,
-0.020856138318777084,
0.010328837670385838,
-0.005525960121303797,
-0.006665381137281656,
-0.028522485867142677,
-0.03671248257160187,
-0.0695781484246254,
-0.03761090710759163,
-0.016290100291371346,
0.05353984609246254,
0.03943082317709923,
-0.05592384561896324,
0.027460038661956787,
-0.023850252851843834,
-0.10153082013130188,
-0.005254785064607859,
-0.0013610527385026217,
-0.005406513344496489,
0.012283247895538807,
-0.012507272884249687,
0.031148089095950127,
-0.059876699000597,
-0.0336122140288353,
0.026467684656381607,
0.022076155990362167,
0.010727278888225555,
-0.031602609902620316,
0.021388588473200798,
-0.01306209061294794,
0.003027296159416437,
-0.0003678986104205251,
0.06916269659996033,
-0.0665598139166832,
-0.02232714369893074,
0.002710946137085557,
4.241822182393662e-8,
0.026783863082528114,
0.04219945892691612,
0.03411160036921501,
0.005262755788862705,
0.03529291972517967,
0.01575823500752449,
-0.03646363317966461,
-0.0034250074531883,
-0.03548114746809006,
-0.011742115952074528,
0.02230779267847538,
-0.021146344020962715,
0.03744758293032646,
0.027636999264359474,
0.03271063044667244,
0.010674169287085533,
-0.03117694891989231,
0.026728462427854538,
-0.04630422219634056,
-0.057619355618953705,
-0.010641323402523994,
0.008518832735717297,
0.012008286081254482,
0.02148229442536831,
0.004804112017154694,
-0.06722339242696762,
-0.020251208916306496,
0.05177917703986168,
-0.006865717936307192,
-0.04439886659383774,
0.013732649385929108,
-0.010094907134771347,
-0.014034480787813663,
0.01261427067220211,
-0.009244190528988838,
-0.0067920382134616375,
0.019810007885098457,
0.013952726498246193,
-0.05261891707777977,
0.018924903124570847,
-0.039707545191049576,
-0.03353777155280113,
-0.03548197075724602,
-0.01667441613972187,
-0.026169415563344955,
0.01912791281938553,
-0.015680987387895584,
0.02807610109448433,
0.03213503956794739,
0.049207162111997604,
-0.018532266840338707,
0.03223743662238121,
0.02724677324295044,
0.004072071053087711,
0.0024389196187257767,
-0.007994960062205791,
-0.06260180473327637,
0.006654475815594196,
-0.02453681454062462,
-0.03976327180862427,
-0.004221437498927116,
0.026772515848279,
-0.006278168875724077,
-0.05560389161109924,
-0.016520975157618523,
0.0364401750266552,
-0.06068037450313568,
0.01109476387500763,
0.01827411912381649,
0.013900941237807274,
0.05160975828766823,
0.008640062063932419,
0.00904646422713995,
-0.015886707231402397,
0.0004669393238145858,
-0.019674137234687805,
0.01633758656680584,
-0.011345148086547852,
-0.00855342112481594,
-0.0228595994412899,
-0.010551351122558117,
-0.014116181060671806,
0.009711465798318386,
0.03529483452439308,
0.004516134969890118,
-0.034350376576185226,
-0.03273998200893402,
0.014194120652973652,
-0.017265116795897484,
0.041668783873319626,
0.01751457341015339,
-0.045123644173145294,
0.016272367909550667,
0.0007293003145605326,
-0.02524661272764206,
-0.03563724830746651,
-0.01808413676917553,
-0.014529534615576267,
0.032485637813806534,
-0.0017295730067417026,
-0.07959960401058197,
0.024584684520959854,
0.020959101617336273,
0.004962475039064884,
0.02690279111266136,
0.0010014768922701478,
0.020304536446928978,
-0.026119304820895195,
0.04814344272017479,
0.043408531695604324,
-0.039617814123630524,
-0.020523857325315475,
-0.00985198188573122,
0.022854967042803764,
0.026152433827519417,
0.0014989641495049,
-0.050430089235305786,
-0.028348300606012344,
-0.03777052462100983,
0.005154800601303577,
-0.03473874181509018,
-0.048336297273635864,
-0.04485391080379486,
-0.011122042313218117,
-0.03718487545847893,
-0.0021543519105762243,
-0.013996262103319168,
0.019676515832543373,
-0.00117042800411582,
-0.043592166155576706,
-0.007796922232955694,
-0.001241994323208928,
0.02265961654484272,
-0.0155932093039155,
-0.0028784379828721285,
0.030030157417058945,
0.004066113848239183,
0.06853961199522018,
0.016813484951853752,
0.004806087352335453,
0.00598145229741931,
-0.01732812635600567,
-0.0022078908514231443,
-0.009228687733411789,
0.02605200931429863,
0.006012053694576025,
0.013241438195109367,
-0.006778272334486246,
0.01703685335814953,
-0.02715560793876648,
0.0252397358417511,
-0.011903088539838791,
-0.022371765226125717,
0.028125137090682983,
0.0329495444893837,
0.019587207585573196,
0.045153629034757614,
0.01877361536026001,
-0.014045431278645992,
0.020226208493113518,
-0.05028774216771126,
-0.021573403850197792,
-0.024221116676926613,
-0.04707806184887886,
0.0681677758693695,
0.05844028666615486,
0.003780438331887126,
-0.03788638487458229,
0.02310427650809288,
0.020358718931674957,
0.001410287688486278,
0.04290376231074333,
-0.03602324053645134,
0.01722501963376999,
-0.059896085411310196,
0.012124141678214073,
-0.06391914188861847,
0.03751648589968681,
0.006967536173760891,
-0.07196834683418274,
-0.025889694690704346,
-0.01640278846025467,
-0.05700062960386276,
-0.014303147792816162,
-0.039441078901290894,
-0.033544689416885376,
0.039032820612192154,
-0.011083108372986317,
-0.037948597222566605,
-0.005259511061012745,
-0.05386114865541458,
0.029499497264623642,
0.036085356026887894,
-0.028855696320533752,
-0.01253962330520153,
-0.005916346330195665,
0.03492582589387894,
-0.016393573954701424,
0.03413538262248039,
-0.02848031558096409,
-0.0501345694065094,
0.08455754816532135,
0.027738183736801147,
-0.012981493026018143,
0.02612057887017727,
0.006912226788699627,
0.03966695815324783,
0.02123028039932251,
0.025800900533795357,
0.015047449618577957,
0.03774423152208328,
-0.021039361134171486,
-0.06491515040397644,
0.04794221371412277,
-0.016634268686175346,
0.017650749534368515,
-0.02478490024805069,
0.05515002831816673,
0.031449057161808014,
-0.0514182411134243,
-0.06355852633714676,
0.040501490235328674,
-0.06599759310483932,
-0.0762801468372345,
-0.03225182741880417,
-0.025746511295437813,
-0.021250838413834572,
0.042781658470630646,
0.013014997355639935,
0.006032952573150396,
0.0444977842271328,
0.010394195094704628,
-0.026436394080519676,
-0.0016018967144191265,
0.07342008501291275,
0.057318322360515594,
0.00207815645262599,
0.02735527791082859,
0.089322030544281,
0.01843095012009144,
-0.04802777245640755,
0.0060026017017662525,
-0.07029864192008972,
-0.012491947039961815,
-0.015721159055829048,
-0.008173493668437004,
0.026210999116301537,
-0.03764357045292854,
0.04387920722365379,
-0.012257908470928669,
0.04645618423819542,
-0.0008425674750469625,
0.027345679700374603,
0.007902135141193867,
0.03819691762328148,
0.041823696345090866,
0.018261659890413284,
-0.024383217096328735,
-0.009368466213345528,
0.012389848940074444,
-0.04313088208436966,
-0.0168775524944067,
0.0057626147754490376,
-0.043004393577575684,
0.02050134725868702,
0.004121061880141497,
-0.01727602817118168,
0.039628125727176666,
-0.050516277551651,
-0.013334354385733604,
-0.01690535992383957,
0.02830270119011402,
-0.016044145449995995,
0.025218645110726357,
-0.026822224259376526,
-0.04250995069742203,
-0.019744548946619034,
-0.0666520744562149,
-0.06147308275103569,
0.006010389421135187,
-0.040223654359579086,
0.032629940658807755,
-0.0219452902674675,
0.03518369793891907,
0.032496728003025055,
-0.009359097108244896,
0.01951080746948719,
-0.02099444717168808,
-0.08416104316711426,
-0.05299137532711029,
-0.05917654186487198,
0.012024817988276482,
0.01683235540986061,
0.020265141502022743,
-0.051036398857831955,
-0.005341384559869766,
0.00515394564718008,
-0.002838851884007454,
0.0005167569033801556,
-0.03695455566048622,
-0.052017293870449066,
0.017232432961463928,
0.0021339948289096355,
0.03624633327126503,
0.0468265525996685,
0.06918451935052872,
0.011568142101168633,
0.008769199252128601,
-0.01993434876203537,
-0.009183845482766628,
0.029368283227086067,
-0.008928706869482994,
-0.007463495247066021,
-0.04110812023282051,
-0.017047138884663582,
0.01545268576592207,
0.010119006969034672,
-0.04904836043715477,
0.0016361235175281763,
0.0635460838675499,
0.0342567041516304,
0.06831789016723633,
0.0014854057226330042,
-0.008948452770709991,
-0.012099765241146088,
-0.00451592868193984,
0.004590325523167849,
-0.000577409693505615,
0.02408982440829277,
0.018525999039411545,
0.09848619252443314,
0.043192267417907715,
-0.016248630359768867,
-0.024826522916555405,
0.012308076955378056,
-0.013310903683304787,
-0.02148761786520481,
-0.025424769148230553,
-0.012821595184504986,
-0.06360812485218048,
-0.10281391441822052,
-0.028116891160607338,
-0.016007589176297188,
-0.014305460266768932,
-0.0024959794245660305,
-0.04689164459705353,
-0.011340584605932236,
-0.008206047117710114,
0.064822718501091,
-0.05690265819430351,
-0.00786974560469389,
-0.02362511307001114,
-0.028321705758571625,
-0.014165850356221199,
0.016962336376309395,
0.029796289280056953,
-0.011956518515944481,
0.023723246529698372,
-0.0113142691552639,
-0.00840781256556511,
-0.006553748156875372,
0.03604418411850929,
0.001656050211749971,
-0.0455172099173069,
0.020391106605529785
] | [
-0.022450920194387436,
-0.049820393323898315,
-0.02902824617922306,
-0.028552619740366936,
0.017530636861920357,
-0.06021943688392639,
0.006427389569580555,
-0.014827756211161613,
-0.025870876386761665,
-0.03431523218750954,
-0.0007996799540705979,
-0.04783868044614792,
-0.012640571221709251,
-0.0362153984606266,
0.05407855287194252,
-0.009793497622013092,
0.01157410442829132,
-0.06996876001358032,
-0.04786020517349243,
0.06334986537694931,
-0.012821994721889496,
-0.030075933784246445,
-0.0018151948461309075,
-0.030091341584920883,
-0.008075001649558544,
0.05903470143675804,
0.01034560427069664,
-0.02022760920226574,
-0.07281970977783203,
-0.16225704550743103,
-0.02839164063334465,
-0.048904918134212494,
0.013630364090204239,
-0.006413156632333994,
-0.01845918595790863,
0.01621931791305542,
0.04103809967637062,
0.009361529722809792,
0.0035441794898360968,
0.02396533079445362,
0.0467531755566597,
0.006710360292345285,
-0.08426838368177414,
0.017606984823942184,
0.04466855898499489,
0.021711312234401703,
-0.03609278425574303,
0.009496831335127354,
-0.011316539719700813,
-0.03881035000085831,
-0.04795664921402931,
0.04123607277870178,
0.04869396239519119,
-0.0005276856245473027,
-0.038817424327135086,
0.035120632499456406,
0.05954117327928543,
0.09567904472351074,
0.015333491377532482,
0.049642570316791534,
0.03458615392446518,
0.022950734943151474,
-0.14155665040016174,
0.06448937207460403,
0.038757387548685074,
0.07211773097515106,
-0.05148189142346382,
-0.05777488648891449,
-0.028459668159484863,
0.05709370970726013,
-0.012348223477602005,
-0.036863621324300766,
-0.1028359979391098,
0.06532970815896988,
-0.018702801316976547,
0.008268417790532112,
-0.01284493412822485,
0.04450761899352074,
0.02902449294924736,
-0.02266259677708149,
-0.08145051449537277,
0.0025235749781131744,
-0.04751640558242798,
0.009051473811268806,
-0.04377560690045357,
-0.037275999784469604,
0.0012118974700570107,
0.04782363399863243,
0.02224425971508026,
0.02977568283677101,
0.036848392337560654,
-0.028189856559038162,
0.04925311729311943,
0.030298326164484024,
-0.06889684498310089,
-0.031081680208444595,
0.007927828468382359,
0.025478534400463104,
-0.041832514107227325,
0.4011770486831665,
-0.035762615501880646,
0.017510656267404556,
0.032990455627441406,
0.01573837175965309,
-0.014749839901924133,
0.02900337427854538,
0.01232611108571291,
-0.047045815736055374,
-0.012092025950551033,
-0.028545767068862915,
0.047353651374578476,
-0.0170249342918396,
0.05625230446457863,
-0.050316110253334045,
0.02069486863911152,
0.053911834955215454,
0.00380230532027781,
0.030487950891256332,
-0.0203415397554636,
0.026411786675453186,
-0.029642030596733093,
0.005120247136801481,
0.05028384178876877,
-0.006090201437473297,
-0.005513547919690609,
0.008371484465897083,
0.03845994547009468,
0.06446933001279831,
0.0029252409003674984,
0.035526663064956665,
0.02020219713449478,
-0.016374249011278152,
-0.08020925521850586,
0.013918052427470684,
0.010720022954046726,
0.05155325308442116,
0.015870610252022743,
-0.024462657049298286,
0.005364967044442892,
0.05634621903300285,
0.0014499295502901077,
-0.04993325099349022,
0.004787130746990442,
0.008664604276418686,
0.013780830428004265,
0.044218361377716064,
-0.02526608668267727,
-0.02923976629972458,
-0.022154729813337326,
-0.026496417820453644,
0.034177642315626144,
0.022954560816287994,
-0.007172700949013233,
-0.05376582220196724,
-0.011012613773345947,
0.006584275979548693,
0.10840456932783127,
-0.0008331113494932652,
-0.04966704547405243,
0.032477740198373795,
-0.004791627172380686,
-0.06489954143762589,
-0.0014314457075670362,
0.02643527090549469,
0.04453581944108009,
-0.08778807520866394,
-0.0035242196172475815,
-0.002151169814169407,
-0.020261157304048538,
-0.04188506305217743,
0.0020615514367818832,
0.002695986535400152,
-0.014471533708274364,
-0.01236156839877367,
0.03593501076102257,
-0.05818638205528259,
-0.0027846060693264008,
0.014667034149169922,
-0.04258580133318901,
0.014113591983914375,
-0.023501865565776825,
-0.028817327693104744,
-0.06300805509090424,
-0.03678000345826149,
-0.05483104661107063,
-0.0008238718728534877,
-0.06543784588575363,
0.00508669950067997,
-0.014045986346900463,
-0.035407692193984985,
-0.044128187000751495,
-0.010378406383097172,
-0.09605377912521362,
0.0038259250577539206,
0.01216922327876091,
-0.023768365383148193,
-0.04625948518514633,
-0.03454539552330971,
-0.029047716408967972,
-0.02977607771754265,
0.030279764905571938,
0.052048251032829285,
-0.019618874415755272,
0.011965138837695122,
-0.06490502506494522,
0.0029143309220671654,
0.01234984677284956,
-0.009441645815968513,
0.058612022548913956,
-0.013612758368253708,
-0.04895453900098801,
-0.004193617030978203,
-0.016111325472593307,
0.05274266004562378,
-0.027079278603196144,
-0.014699156396090984,
-0.03410964459180832,
-0.02384846843779087,
0.024371173232793808,
0.008578984998166561,
-0.029370544478297234,
0.03907836973667145,
-0.032422132790088654,
-0.3525013327598572,
-0.008150624111294746,
-0.03787370026111603,
-0.010165677405893803,
0.010813494212925434,
-0.06094483658671379,
0.034041427075862885,
-0.0033737928606569767,
-0.018146706745028496,
0.02582557313144207,
0.13014067709445953,
-0.025046732276678085,
-0.006968056783080101,
-0.03871831297874451,
0.008086491376161575,
0.025759011507034302,
-0.0761846974492073,
0.010754890739917755,
0.020924819633364677,
0.07786400616168976,
0.010775100439786911,
-0.07118269801139832,
0.05100337788462639,
-0.020510131493210793,
0.033805735409259796,
0.012488612905144691,
0.10556157678365707,
0.06175585463643074,
0.028745025396347046,
-0.03896787017583847,
0.04917855188250542,
0.04989771917462349,
0.0043059964664280415,
-0.11575651168823242,
0.04030514508485794,
-0.0358685627579689,
0.0055063446052372456,
0.0637427344918251,
0.08492466807365417,
-0.026212826371192932,
-0.08472106605768204,
0.0366692841053009,
-0.05877166986465454,
-0.047956980764865875,
0.008305077441036701,
0.003086258890107274,
0.005486602894961834,
-0.015504091046750546,
-0.023983685299754143,
0.08933942764997482,
0.07242831587791443,
0.03430544584989548,
0.026922261342406273,
0.014946498908102512,
-0.022990144789218903,
-0.05233677849173546,
-0.03352031856775284,
0.017512649297714233,
-0.0011291515547782183,
0.04588712006807327,
0.013098987750709057,
0.022057438269257545,
0.026711350306868553,
-0.08086571842432022,
-0.0016047627432271838,
-0.040893811732530594,
-0.024777114391326904,
0.01823320984840393,
0.022732596844434738,
-0.009698931127786636,
0.008573949337005615,
0.0765087753534317,
0.0004681048449128866,
0.03283212333917618,
0.02974601462483406,
0.02552126720547676,
0.02723037078976631,
0.0320483073592186,
-0.004334054887294769,
-0.043777644634246826,
-0.03407147154211998,
-0.029249122366309166,
0.10089031606912613,
-0.02351974882185459,
0.009828983806073666,
0.052609801292419434,
-0.01570795476436615,
0.014936251565814018,
0.06937507539987564,
-0.032144881784915924,
-0.02795718051493168,
-0.002082864986732602,
-0.01204916276037693,
-0.06404777616262436,
0.06097428873181343,
0.012484833598136902,
-0.21291284263134003,
0.03068619966506958,
0.013581843115389347,
0.0820932686328888,
-0.006405981723219156,
0.019801175221800804,
0.04074576869606972,
-0.054982226341962814,
-0.021135948598384857,
-0.015180791728198528,
0.00541985547170043,
0.0403607152402401,
-0.0056648291647434235,
0.032231543213129044,
0.041633542627096176,
-0.030237015336751938,
0.022536974400281906,
0.03230871260166168,
-0.02950451709330082,
0.018756525591015816,
0.03340094909071922,
0.016572419553995132,
0.1177697703242302,
-0.0007549275760538876,
0.008021190762519836,
0.03610479459166527,
0.03031129017472267,
0.02069084532558918,
0.0933288112282753,
0.04409606382250786,
-0.0352056510746479,
-0.024256424978375435,
0.047384556382894516,
-0.0037559799384325743,
0.04779886454343796,
-0.07904203981161118,
0.005513564683496952,
-0.03155813738703728,
0.06473739445209503,
-0.0036548005882650614,
-0.016822800040245056,
0.06831951439380646,
0.0065144868567585945,
0.03851773962378502,
0.05585736781358719,
-0.04875190183520317,
0.006697292905300856,
0.003276985604315996,
-0.01947602443397045,
-0.012647793628275394,
0.0006083467742428184,
-0.08102095127105713,
-0.03744316101074219,
0.03653748333454132,
0.025079932063817978,
0.05360376834869385,
0.042556315660476685,
-0.0458126999437809,
0.006740546319633722,
-0.015362453646957874,
0.008468405343592167,
0.0047646998427808285,
0.13559746742248535,
-0.048740044236183167,
0.005556261166930199
] | [
-0.03357768803834915,
-0.05070548504590988,
0.028722234070301056,
-0.008914059028029442,
-0.026779508218169212,
-0.015425126068294048,
-0.008303778246045113,
0.02228071540594101,
-0.025818323716521263,
-0.007687994744628668,
0.020616652444005013,
0.02991262450814247,
0.04619456082582474,
-0.04471826180815697,
-0.007636083289980888,
-0.00983681995421648,
0.05169452726840973,
-0.0020203972235322,
0.0012345442082732916,
0.04827317222952843,
-0.010144014842808247,
0.06239277869462967,
0.028495904058218002,
-0.012825708836317062,
-0.04908793419599533,
-0.03548946976661682,
-0.010576097294688225,
-0.07319655269384384,
0.03860388696193695,
-0.13200344145298004,
0.03490257263183594,
-0.03650665655732155,
-0.005437334533780813,
-0.0009221000364050269,
-0.026193935424089432,
-0.0016405414789915085,
0.006531544495373964,
-0.02491937018930912,
-0.026209231466054916,
0.0009890771470963955,
0.03498394787311554,
-0.06096509099006653,
-0.007946637459099293,
-0.03407184034585953,
0.019576232880353928,
-0.014152729883790016,
0.006293436512351036,
-0.05822128802537918,
0.00175574142485857,
-0.0026382217183709145,
-0.045170560479164124,
-0.008404655382037163,
0.007239266764372587,
-0.012630531564354897,
-0.051281169056892395,
0.0033280097413808107,
-0.00775423226878047,
0.03001902997493744,
0.06460574269294739,
0.06460047513246536,
0.004531633108854294,
0.026002205908298492,
-0.045362669974565506,
-0.06071500480175018,
0.017157498747110367,
0.0004282883310224861,
0.0068678115494549274,
-0.049564383924007416,
-0.028702566400170326,
0.027923554182052612,
0.06105652078986168,
0.038065940141677856,
-0.06594382226467133,
-0.06031891331076622,
-0.011468280106782913,
-0.015134979970753193,
-0.013158959336578846,
0.010136942379176617,
-0.014440229162573814,
-0.00521026412025094,
-0.06268160790205002,
0.017468219622969627,
0.019179880619049072,
0.043212637305259705,
-0.014780745841562748,
-0.018278449773788452,
-0.017068812623620033,
0.05916675180196762,
0.006884239614009857,
0.007261222694069147,
-0.0027527553029358387,
-0.016067713499069214,
0.015161314979195595,
0.03856795281171799,
-0.07708408683538437,
-0.0279482863843441,
0.014747836627066135,
-0.0014844135148450732,
0.032135844230651855,
0.7291597127914429,
-0.02524971403181553,
0.04570816084742546,
0.023531870916485786,
-0.01989886909723282,
-0.02316431514918804,
0.004681796301156282,
0.02462722733616829,
0.007671684958040714,
0.01468608994036913,
-0.023382989689707756,
0.0870983824133873,
0.015802230685949326,
0.011774088256061077,
0.040517449378967285,
0.026423819363117218,
0.010329588316380978,
-0.01681637391448021,
0.006692033726722002,
0.05122978612780571,
0.053463347256183624,
0.066600501537323,
0.013082419522106647,
0.013878083787858486,
-0.011876771226525307,
0.00440179044380784,
-0.1690918654203415,
0.024582162499427795,
-6.309518825284415e-33,
-0.007579087279736996,
-0.03426169604063034,
0.03566813841462135,
-0.033671580255031586,
-0.04936985298991203,
0.040337592363357544,
-0.03822021558880806,
-0.0009058793657459319,
-0.0009391981875523925,
-0.05176462233066559,
0.02258189022541046,
0.04593367502093315,
-0.029442867264151573,
-0.0035827793180942535,
0.003994249738752842,
0.011536960490047932,
-0.02468114346265793,
0.032646678388118744,
0.02383885346353054,
0.00361443217843771,
0.048939917236566544,
0.03452552482485771,
0.00810052640736103,
-0.013633275404572487,
-0.002531603444367647,
0.027945557609200478,
0.046707313507795334,
-0.008550139144062996,
0.010350876487791538,
-0.039674993604421616,
0.0017671636305749416,
-0.03146544098854065,
-0.028865380212664604,
0.0023816486354917288,
0.05346855893731117,
-0.028969187289476395,
-0.0762024000287056,
-0.0007950165891088545,
-0.05003420636057854,
-0.05885103717446327,
-0.010084462352097034,
-0.034591976553201675,
-0.05708402767777443,
-0.04630759730935097,
-0.03043055720627308,
0.04503868520259857,
0.03678038343787193,
-0.01356524508446455,
0.003341059200465679,
0.010006487369537354,
0.006174287758767605,
0.008878014050424099,
-0.011456374078989029,
0.021032065153121948,
-0.03735910728573799,
0.027256090193986893,
0.0002502579882275313,
-0.031631484627723694,
0.00037238033837638795,
-0.062172070145606995,
0.06325728446245193,
0.002863682573661208,
0.05522049218416214,
0.008059965446591377,
-0.02545318379998207,
-0.027184486389160156,
0.010465946979820728,
0.020234523341059685,
0.009532343596220016,
0.018471315503120422,
-0.02189439907670021,
-0.023698709905147552,
-0.01821049489080906,
-0.001469501992687583,
-0.014805690385401249,
-0.05120393633842468,
0.02842097356915474,
0.01849348098039627,
-0.03533994033932686,
0.019266169518232346,
-0.022028673440217972,
-0.03872951120138168,
-0.05411868542432785,
0.01000953558832407,
-0.04279273375868797,
0.04375949501991272,
0.021895213052630424,
0.012707103975117207,
-0.055705320090055466,
-0.022953014820814133,
-0.005487791728228331,
0.001819245400838554,
-0.003770636161789298,
-0.010707263834774494,
-0.024211324751377106,
6.19259460626003e-33,
0.0030075472313910723,
-0.06584760546684265,
0.06374280154705048,
-0.0005942448624409735,
0.06620711833238602,
-0.016259917989373207,
0.08123165369033813,
-0.007972215302288532,
-0.008161600679159164,
0.04471801966428757,
-0.07834338396787643,
0.006000306457281113,
0.012951018288731575,
0.008136121556162834,
0.07088470458984375,
-0.034459102898836136,
0.00906078889966011,
-0.04345497488975525,
0.004546621814370155,
0.007852357812225819,
-0.03299307823181152,
0.03954038396477699,
0.03344256803393364,
0.03291473165154457,
0.047239068895578384,
0.061783257871866226,
-0.014826679602265358,
0.022668970748782158,
-0.011118108406662941,
0.01764954812824726,
0.022187821567058563,
0.06168922036886215,
0.01778867281973362,
-0.0299757719039917,
-0.01926719769835472,
0.026887470856308937,
0.021746918559074402,
-0.03065759874880314,
-0.0030689314007759094,
-0.041988734155893326,
0.015146386809647083,
-0.013659927994012833,
0.04477359727025032,
0.010037623345851898,
0.04662467539310455,
0.03510458394885063,
0.0070981853641569614,
0.00801165122538805,
-0.017266595736145973,
0.06697552651166916,
0.022031640633940697,
0.03554561361670494,
-0.008310088887810707,
-0.017760954797267914,
0.03918275982141495,
-0.028854921460151672,
-0.015243634581565857,
-0.008767015300691128,
-0.007362361531704664,
-0.0701712965965271,
-0.013098531402647495,
-0.019347023218870163,
0.022883189842104912,
0.0362357571721077,
-0.07317911088466644,
-0.020003780722618103,
0.013659894466400146,
-0.00013896331074647605,
0.019405774772167206,
0.0031890126410871744,
0.0012463737512007356,
0.015860849991440773,
0.023897668346762657,
0.022819291800260544,
0.010839388705790043,
0.0006533124833367765,
0.0011710795806720853,
-0.019965635612607002,
-0.009702971205115318,
-0.02445140667259693,
0.03403603285551071,
0.025561628863215446,
0.02305431291460991,
0.05202905461192131,
-0.005233455915004015,
-0.004872742109000683,
-0.054790232330560684,
0.046732097864151,
0.04885692894458771,
0.012540032155811787,
-0.02228478528559208,
0.006823039148002863,
-0.020378604531288147,
0.0022151987068355083,
-0.07031393051147461,
-1.1832262281075145e-8,
0.03469526395201683,
-0.018683310598134995,
-0.004007247276604176,
0.043678440153598785,
-0.0190927442163229,
-0.04988204315304756,
-0.005028351675719023,
0.029050303623080254,
-0.07077288627624512,
0.021260635927319527,
0.060728855431079865,
-0.05051715672016144,
0.0028177269268780947,
0.02284817397594452,
-0.0033511663787066936,
-0.029162133112549782,
-0.0037172019947320223,
-0.026878492906689644,
0.021799761801958084,
-0.016717299818992615,
0.012657464481890202,
0.03160475939512253,
0.006132001057267189,
0.042911455035209656,
0.01189644355326891,
0.020927980542182922,
0.016506323590874672,
-0.06331764906644821,
-0.033486414700746536,
-0.09178077429533005,
0.051187582314014435,
-0.01676059700548649,
-0.034521449357271194,
-0.038359858095645905,
-0.021629098802804947,
0.00047867564717307687,
0.016909321770071983,
0.03097005933523178,
0.038885895162820816,
-0.020171750336885452,
-0.001759487553499639,
0.03408772498369217,
0.04207941144704819,
-0.03235520049929619,
-0.06126093491911888,
-0.0222220066934824,
-0.036150116473436356,
0.016395805403590202,
0.05061221867799759,
0.03992733359336853,
-0.057963646948337555,
-0.015838652849197388,
-0.027638325467705727,
0.06770320981740952,
0.02407759241759777,
-0.014351165853440762,
0.015012498013675213,
-0.020596904680132866,
-0.055344358086586,
-0.03646168112754822,
0.07526697218418121,
0.008382216095924377,
-0.04552961140871048,
-0.013816348277032375
] | ruby-google-drive-errorbadauthentication-googledriveauthenticationerror-infoinvalidsecondfactor | https://markhneedham.com/blog/2014/08/17/ruby-google-drive-errorbadauthentication-googledriveauthenticationerror-infoinvalidsecondfactor |
false | 2014-08-31 22:10:42 | R: ggplot - Cumulative frequency graphs | [
"r-2"
] | [
"R"
] | In my continued playing around with http://ggplot2.org/[ggplot] I wanted to create a chart showing the cumulative growth of the number of members of the http://www.meetup.com/graphdb-london/[Neo4j London meetup group].
My initial data frame looked like this:
[source,r]
----
> head(meetupMembers)
joinTimestamp joinDate monthYear quarterYear week dayMonthYear
1 1.376572e+12 2013-08-15 13:13:40 2013-08-01 2013-07-01 2013-08-15 2013-08-15
2 1.379491e+12 2013-09-18 07:55:11 2013-09-01 2013-07-01 2013-09-12 2013-09-18
3 1.349454e+12 2012-10-05 16:28:04 2012-10-01 2012-10-01 2012-10-04 2012-10-05
4 1.383127e+12 2013-10-30 09:59:03 2013-10-01 2013-10-01 2013-10-24 2013-10-30
5 1.372239e+12 2013-06-26 09:27:40 2013-06-01 2013-04-01 2013-06-20 2013-06-26
6 1.330295e+12 2012-02-26 22:27:00 2012-02-01 2012-01-01 2012-02-23 2012-02-26
----
The first step was to transform the data so that I had a data frame where a row represented a day where a member joined the group. There would then be a count of how many members joined on that date.
We can do this with dplyr like so:
[source,r]
----
library(dplyr)
> head(meetupMembers %.% group_by(dayMonthYear) %.% summarise(n = n()))
Source: local data frame [6 x 2]
dayMonthYear n
1 2011-06-05 7
2 2011-06-07 1
3 2011-06-10 1
4 2011-06-12 1
5 2011-06-13 1
6 2011-06-15 1
----
To turn that into a chart we can plug it into ggplot and use the http://stat.ethz.ch/R-manual/R-devel/library/base/html/cumsum.html[cumsum] function to generate a line showing the cumulative total:
[source,r]
----
ggplot(data = meetupMembers %.% group_by(dayMonthYear) %.% summarise(n = n()),
aes(x = dayMonthYear, y = n)) +
ylab("Number of members") +
xlab("Date") +
geom_line(aes(y = cumsum(n)))
----
image::{{<siteurl>}}/uploads/2014/08/2014-08-31_22-58-42.png[2014 08 31 22 58 42,600]
Alternatively we could bring the call to cumsum forward and generate a data frame which has the cumulative total:
[source,r]
----
> head(meetupMembers %.% group_by(dayMonthYear) %.% summarise(n = n()) %.% mutate(n = cumsum(n)))
Source: local data frame [6 x 2]
dayMonthYear n
1 2011-06-05 7
2 2011-06-07 8
3 2011-06-10 9
4 2011-06-12 10
5 2011-06-13 11
6 2011-06-15 12
----
And if we plug that into ggplot we'll get the same curve as before:
[source,r]
----
ggplot(data = meetupMembers %.% group_by(dayMonthYear) %.% summarise(n = n()) %.% mutate(n = cumsum(n)),
aes(x = dayMonthYear, y = n)) +
ylab("Number of members") +
xlab("Date") +
geom_line()
----
If we want the curve to be a bit smoother we can group it by quarter rather than by day:
[source,r]
----
> head(meetupMembers %.% group_by(quarterYear) %.% summarise(n = n()) %.% mutate(n = cumsum(n)))
Source: local data frame [6 x 2]
quarterYear n
1 2011-04-01 13
2 2011-07-01 18
3 2011-10-01 21
4 2012-01-01 43
5 2012-04-01 60
6 2012-07-01 122
----
Now let's plug that into ggplot:
[source,r]
----
ggplot(data = meetupMembers %.% group_by(quarterYear) %.% summarise(n = n()) %.% mutate(n = cumsum(n)),
aes(x = quarterYear, y = n)) +
ylab("Number of members") +
xlab("Date") +
geom_line()
----
image::{{<siteurl>}}/uploads/2014/08/2014-08-31_23-08-24.png[2014 08 31 23 08 24,600] | null | null | [
-0.004233956802636385,
-0.05109425261616707,
0.00859743170440197,
0.027154719457030296,
0.0575944222509861,
0.013073673471808434,
0.037891238927841187,
-0.0020199771970510483,
0.004685585852712393,
0.014590899460017681,
0.02266315184533596,
-0.025859316810965538,
-0.06980970501899719,
0.04049260914325714,
-0.02069733664393425,
0.07296726852655411,
0.06940417736768723,
0.002608946990221739,
-0.02703057788312435,
-0.003998968284577131,
0.04640263319015503,
0.038186635822057724,
-0.003686260199174285,
0.04234601557254791,
0.0380752794444561,
-0.02006687968969345,
0.018957404419779778,
0.012186277657747269,
-0.02459029108285904,
0.019208170473575592,
0.02996184676885605,
0.004665010143071413,
0.01000957377254963,
-0.0014219259610399604,
0.03287368640303612,
-0.026309983804821968,
-0.03257562965154648,
0.005570666398853064,
0.017249302938580513,
-0.04434118792414665,
-0.06378684192895889,
0.00874610897153616,
-0.017378980293869972,
0.012418223544955254,
-0.012632181867957115,
-0.011832386255264282,
-0.03715996444225311,
0.03035207837820053,
0.015992620959877968,
0.022318944334983826,
-0.0733870193362236,
0.017720960080623627,
0.021795250475406647,
-0.03362815082073212,
-0.013527316972613335,
0.04962267354130745,
0.038428016006946564,
-0.052409183233976364,
0.023652374744415283,
-0.04012079909443855,
0.000257074338151142,
0.005810145754367113,
-0.009002958424389362,
0.0019149567233398557,
-0.018180733546614647,
-0.008235564455389977,
0.0015109742525964975,
0.03975032642483711,
-0.02023009955883026,
-0.0035315307322889566,
-0.022136414423584938,
-0.014692245982587337,
-0.026103338226675987,
-0.014569178223609924,
-0.0073220981284976006,
-0.04288710281252861,
-0.03025253489613533,
0.036694739013910294,
0.022652674466371536,
0.009480562061071396,
-0.004385671578347683,
-0.01717967726290226,
0.029272178187966347,
0.000890940020326525,
-0.000978687428869307,
-0.014729581773281097,
-0.021332602947950363,
-0.06159026920795441,
-0.06846211850643158,
0.06848617643117905,
-0.04322348162531853,
-0.03916243836283684,
0.013798799365758896,
0.01387346163392067,
-0.02092195488512516,
0.0006663179956376553,
0.014504454098641872,
-0.0020959251560270786,
0.030405983328819275,
-0.006661966908723116,
-0.054848797619342804,
-0.025215212255716324,
0.05145452916622162,
0.021185660734772682,
-0.06094087287783623,
0.005424757953733206,
-0.03699024021625519,
-0.026087092235684395,
0.000657477939967066,
-0.002485020086169243,
-0.046119559556245804,
0.01509507093578577,
-0.0018544492777436972,
0.03038465604186058,
-0.04601772874593735,
0.0775572806596756,
0.036273740231990814,
-0.03438292443752289,
-0.01084038708359003,
-0.031982772052288055,
0.030781442299485207,
0.012304216623306274,
-0.005291192792356014,
0.07525981217622757,
-0.043201617896556854,
0.08054348081350327,
0.02279636077582836,
0.042347490787506104,
-0.017123274505138397,
-0.09204478561878204,
-0.017666134983301163,
0.052630715072155,
-0.0391959585249424,
-0.030534401535987854,
0.0007304931641556323,
-0.04641614481806755,
-0.0128821711987257,
-0.009477626532316208,
0.05487797409296036,
0.018697477877140045,
0.04682118818163872,
-0.02739143744111061,
0.01761174388229847,
-0.01806771196424961,
0.035967133939266205,
0.030590219423174858,
0.005134924780577421,
-0.07129514217376709,
-0.04751536622643471,
-0.02172236517071724,
0.047734957188367844,
0.0084833400323987,
0.05920189991593361,
-0.017617521807551384,
0.03339609503746033,
0.0702071487903595,
0.004277930129319429,
-0.007954249158501625,
0.009569630958139896,
-0.008467825129628181,
0.05247737839818001,
0.03963777795433998,
0.008907105773687363,
0.06129304692149162,
-0.003101564245298505,
-0.014354781247675419,
0.00005857614451088011,
0.01984426937997341,
-0.04737615957856178,
-0.00873766653239727,
-0.0430741086602211,
-0.06586723029613495,
0.028170693665742874,
-0.016789184883236885,
0.006180841475725174,
0.04367836192250252,
0.08509241789579391,
0.06287455558776855,
0.017842940986156464,
-0.013439448550343513,
-0.07332748174667358,
0.041692715138196945,
0.02641511708498001,
0.033739425241947174,
0.04092128202319145,
-0.036249078810214996,
0.06385957449674606,
0.01592433638870716,
0.02372993715107441,
0.04656680300831795,
-0.04979076236486435,
-0.03729699179530144,
0.009962722659111023,
-0.030217260122299194,
0.04194865748286247,
-0.03706064447760582,
0.022029224783182144,
0.049016740173101425,
-0.00738873053342104,
0.010784356854856014,
-0.02591049298644066,
0.05593423545360565,
0.03619895502924919,
-0.015440241433680058,
-0.03005857951939106,
0.02056301198899746,
0.010233119130134583,
-0.019413616508245468,
-0.02641761489212513,
-0.0017622103914618492,
-0.036152731627225876,
0.01841755583882332,
0.03264091908931732,
-0.019536783918738365,
0.03583688288927078,
0.030196543782949448,
0.07974375039339066,
0.027507003396749496,
0.014212855137884617,
-0.028254954144358635,
0.014704236760735512,
0.003997908905148506,
-0.028970180079340935,
-0.047904033213853836,
-0.01909722574055195,
0.12612205743789673,
0.060942936688661575,
-0.022976094856858253,
-0.05021371319890022,
0.012224260717630386,
-0.013186794705688953,
-0.014439819380640984,
0.04502858594059944,
0.00017664401093497872,
0.02127424068748951,
0.009948287159204483,
-0.02245410345494747,
-0.0434538759291172,
-0.002691136207431555,
-0.03831535950303078,
0.04144294187426567,
0.04857184365391731,
0.008764027617871761,
0.06748666614294052,
-0.018320731818675995,
0.0052415491081774235,
-0.002786023775115609,
-0.0067860777489840984,
-0.09412778913974762,
0.010520031675696373,
0.033322565257549286,
-0.007418850902467966,
0.04415575787425041,
-0.03709801286458969,
-0.027021657675504684,
-0.0029988244641572237,
-0.03354458138346672,
0.02517988160252571,
0.05412812530994415,
0.05241808667778969,
0.014015154913067818,
0.01831962913274765,
-0.034713976085186005,
-0.02515874058008194,
-0.015545571222901344,
-0.03126876428723335,
-0.060896795243024826,
-0.037883952260017395,
-0.00428724242374301,
-0.0010757938725873828,
0.037104059010744095,
-0.03832801803946495,
-0.008354481309652328,
0.037891969084739685,
0.010792599059641361,
-0.03231388330459595,
0.047246303409338,
-0.019261162728071213,
-0.01204225979745388,
-0.022353924810886383,
0.001028024242259562,
0.03979725390672684,
-0.010162945836782455,
-0.0012447712942957878,
0.009119022637605667,
-0.043822258710861206,
0.056450434029102325,
-0.03783019259572029,
-0.014267943799495697,
0.0022204804699867964,
0.005681662354618311,
0.0601038783788681,
0.04241817817091942,
-0.0006324858986772597,
0.05013410747051239,
-0.014540872536599636,
0.02328193001449108,
0.01026303879916668,
-0.004551860969513655,
0.062033794820308685,
0.018040098249912262,
-0.0034285010769963264,
0.05006864666938782,
-0.03846024349331856,
-0.02032454125583172,
-0.043872278183698654,
0.0010891066631302238,
-0.029586808755993843,
-0.25368601083755493,
0.030126553028821945,
-0.03691093623638153,
-0.0357232429087162,
-0.011049947701394558,
-0.05921631678938866,
0.048219453543424606,
-0.011187154799699783,
-0.0397661067545414,
-0.018484456464648247,
0.027194960042834282,
-0.04821158945560455,
-0.036579154431819916,
0.0708942860364914,
0.031145727261900902,
0.016605501994490623,
0.0009418324334546924,
-0.054221369326114655,
0.022307060658931732,
0.05279843509197235,
0.037966422736644745,
-0.026356501504778862,
-0.017125483602285385,
0.04634829983115196,
0.018877848982810974,
0.06407144665718079,
-0.0685185045003891,
0.007642179727554321,
-0.0585797019302845,
-0.044639959931373596,
0.011435417458415031,
-0.03989492729306221,
0.02947200834751129,
-0.0004029572883155197,
-0.004318809136748314,
-0.032443176954984665,
0.012950105592608452,
0.026679091155529022,
0.00972338393330574,
0.0025124866515398026,
-0.030129458755254745,
-0.015421592630445957,
0.021436790004372597,
-0.0027427703607827425,
0.07825131714344025,
0.03502505645155907,
-0.04514789208769798,
0.028262734413146973,
-0.018710967153310776,
0.07448390871286392,
-0.006183633580803871,
0.008131183683872223,
-0.01114911399781704,
-0.005999437067657709,
-0.04618483781814575,
-0.02852841280400753,
-0.027540039271116257,
0.013795292936265469,
-0.048305265605449677,
-0.014643227681517601,
-0.027855705469846725,
-0.028717420995235443,
0.031213246285915375,
-0.0354292169213295,
-0.036888107657432556,
-0.06393346190452576,
-0.09239909797906876,
-0.01825275458395481,
0.05200476571917534,
0.0031252542976289988,
-0.023530423641204834,
-0.011663355864584446,
-0.0217118002474308,
-0.09171197563409805,
-0.013037212193012238,
-0.0270401481539011,
0.0030402999836951494,
-0.010532884858548641,
0.009529614821076393,
0.034063469618558884,
-0.049964092671871185,
-0.07123715430498123,
0.016642538830637932,
0.022725006565451622,
0.05750559642910957,
0.02881249226629734,
-0.02073298767209053,
0.008462948724627495,
-0.07785730808973312,
-0.022570950910449028,
0.04552333429455757,
-0.046310797333717346,
-0.007743284571915865,
0.03253203257918358,
-0.028996111825108528,
0.03058536909520626,
-0.0015882565639913082,
-0.004316784907132387,
0.013016385026276112,
0.024617178365588188,
0.031265970319509506,
-0.03867551311850548,
0.023948926478624344,
-0.05059576779603958,
-0.040907781571149826,
-0.029641127213835716,
-0.07444807142019272,
0.02177220769226551,
0.022526293992996216,
0.02320942096412182,
0.02476724609732628,
-0.006561854854226112,
0.034365974366664886,
-0.07244029641151428,
-0.021481718868017197,
-0.004346359521150589,
-0.010961964726448059,
0.029545750468969345,
0.01749579608440399,
0.011081916280090809,
-0.04957248270511627,
-0.0041227517649531364,
-0.01105990819633007,
-0.013615340925753117,
-0.016100334003567696,
-0.00874362513422966,
-0.005840140860527754,
-0.018047435209155083,
0.031195202842354774,
0.028856195509433746,
-0.032796576619148254,
0.027957536280155182,
0.05492071807384491,
-0.06351441144943237,
0.03618999570608139,
0.009235672652721405,
-0.058209389448165894,
-0.023193979635834694,
0.01858850196003914,
0.036033425480127335,
-0.012026735581457615,
0.029572922736406326,
0.0040044947527348995,
0.0232689268887043,
-0.01112907100468874,
-0.005051179323345423,
0.039606738835573196,
-0.001612144405953586,
0.0003438032290432602,
0.018362797796726227,
0.01041158102452755,
0.011164963245391846,
-0.00026174637605436146,
-0.02814491279423237,
-0.03299872949719429,
-0.003213457530364394,
0.0582062266767025,
-0.017272382974624634,
-0.03225630894303322,
-0.04831625521183014,
0.02123642899096012,
-0.054715175181627274,
0.011604974046349525,
-0.04610584303736687,
0.04282239452004433,
0.06492073833942413,
0.004286817274987698,
0.013239355757832527,
0.02273723855614662,
-0.0328664556145668,
-0.0034515284933149815,
0.02722117118537426,
-0.032046765089035034,
0.03400830551981926,
-0.01048099435865879,
-0.017209641635417938,
0.03752963989973068,
-0.0274592787027359,
0.057911165058612823,
0.014240356162190437,
-0.016407283022999763,
0.001314085442572832,
0.011109390296041965,
-0.018541496247053146,
0.027205977588891983,
0.0638839527964592,
-0.002582311863079667,
0.005348637234419584,
-0.020172692835330963,
-0.03477083891630173,
0.009790710173547268,
-0.01318481843918562,
-0.028925880789756775,
-0.023663051426410675,
-0.06915702670812607,
-0.07626988738775253,
0.006265112664550543,
0.056663643568754196,
0.01993190124630928,
0.009553239680826664,
-0.02337544783949852,
0.0017059738747775555,
-0.055139508098363876,
0.035745348781347275,
0.06937535852193832,
-0.05355717986822128,
-0.0013557596830651164,
-0.0042454274371266365,
-0.008261004462838173,
-0.006165369879454374,
0.006280202884227037,
-0.042640991508960724,
-0.02938583865761757,
-0.019045351073145866,
0.05157957971096039,
0.008687300607562065,
-0.05483463779091835,
-0.08362453430891037,
0.008524425327777863,
0.0029199011623859406,
0.05378952622413635,
-0.0045957425609230995,
0.0031807960476726294,
-0.007875905372202396,
0.011961065232753754,
0.013598425313830376,
-0.010453451424837112,
-0.03027374856173992,
0.01709710992872715,
-0.02460397221148014,
0.01263909786939621,
-0.008353295736014843,
0.004433667287230492,
0.020453613251447678,
-0.03401909023523331,
-0.017618868499994278,
-0.06144610792398453,
0.011172538623213768,
0.024096380919218063,
0.042340073734521866,
-0.002901677507907152,
0.04585479572415352,
-0.02871028147637844,
-0.0027391815092414618,
-0.003071893472224474,
0.0027490369975566864,
0.005217609461396933,
-0.0173734612762928,
0.027221983298659325,
0.03157137334346771,
0.0025695699732750654,
-0.010256879031658173,
-0.009887808002531528,
-0.027489706873893738,
0.04044989123940468,
-0.046412091702222824,
-0.0492389015853405,
-0.0009751032339408994,
-0.04549386724829674,
0.015507460571825504,
-0.006554904859513044,
0.005918276496231556,
-0.05017631873488426,
0.04263371229171753,
0.046998653560876846,
0.05461452528834343,
0.04605037719011307,
0.005111998878419399,
0.00858021154999733,
-0.029055610299110413,
-0.0021948779467493296,
-0.08515839278697968,
-0.009187783114612103,
0.020048942416906357,
0.009326275438070297,
-0.01675116829574108,
0.0024491618387401104,
-0.03338947147130966,
0.04518396779894829,
-0.06697594374418259,
-0.021939806640148163,
0.04780549556016922,
-0.000655255513265729,
0.02941746823489666,
0.015348671935498714,
-0.03903383016586304,
-0.02230719104409218,
0.01579579897224903,
-0.08006315678358078,
0.007334332447499037,
-0.0107102170586586,
0.0656186193227768,
-0.050893694162368774,
0.0221309345215559,
-0.015203913673758507,
-0.007524464279413223,
0.07791925221681595,
0.006853316444903612,
0.011306017637252808,
0.07144063711166382,
-0.02774123102426529,
0.03673049062490463,
0.019359009340405464,
-0.013314108364284039,
-0.02227691188454628,
0.031855057924985886,
0.004662605933845043,
-0.023155706003308296,
0.009130542166531086,
0.01908751204609871,
-0.0028899579774588346,
-0.06077740341424942,
0.07761085778474808,
-0.0261820200830698,
-0.0390833243727684,
-0.05936824157834053,
0.0185311920940876,
-0.016666214913129807,
0.01905824802815914,
-0.01736949011683464,
0.018212659284472466,
-0.024805398657917976,
0.055261172354221344,
-0.026588207110762596,
0.00972497183829546,
0.048513904213905334,
0.0011948409955948591,
0.00839123036712408,
-0.011768820695579052,
0.06860426068305969,
0.11560522764921188,
0.043521881103515625,
0.01192622072994709,
0.06395155936479568,
-0.03682512044906616,
-0.05061250180006027,
0.0010435619624331594,
-0.03432852402329445,
-0.014373392798006535,
-0.030594628304243088,
0.029765119776129723,
0.07140231132507324,
-0.03130122274160385,
0.05059286206960678,
0.008866305463016033,
-0.04155654087662697,
-0.023270146921277046,
-0.011745587922632694,
0.06443663686513901,
0.052660346031188965,
0.028887135908007622,
0.032855261117219925,
-0.018123451620340347,
-0.033073317259550095,
0.047347065061330795,
0.0012180593330413103,
-0.003750069532543421,
0.011931251734495163,
-0.010144997388124466,
0.0020551858469843864,
0.004834794905036688,
0.0017725699581205845,
0.07291365414857864,
-0.032244663685560226,
-0.007680061738938093,
-0.001186020323075354,
0.017832046374678612,
0.022657759487628937,
0.01541818119585514,
0.010232517495751381,
-0.0031319172121584415,
-0.01002078503370285,
-0.05108015984296799,
-0.0421428345143795,
-0.020694108679890633,
-0.02280753292143345,
0.013534649275243282,
-0.029238972812891006,
0.022992441430687904,
0.011919274926185608,
-0.023703301325440407,
-0.028495240956544876,
-0.04707984998822212,
-0.026982679963111877,
-0.07598119974136353,
-0.06649694591760635,
0.017950190231204033,
0.006118217948824167,
-0.03253117576241493,
-0.007347367703914642,
0.00616447115316987,
-0.01500043272972107,
-0.04092056304216385,
-0.02047409862279892,
-0.05457314848899841,
-0.022724000737071037,
0.024131271988153458,
0.022101640701293945,
0.004480666946619749,
0.00681785773485899,
0.04493914172053337,
0.011023127473890781,
-0.0044172960333526134,
-0.016307245939970016,
0.026985744014382362,
0.04881651699542999,
0.021995199844241142,
0.021636106073856354,
-0.07284373044967651,
0.03250807523727417,
0.01400582492351532,
-0.032523442059755325,
-0.08994883298873901,
0.05489160865545273,
0.015894761309027672,
-0.009461595676839352,
0.01797121949493885,
0.019331103190779686,
-0.023337410762906075,
-0.019719818606972694,
-0.0049717603251338005,
0.004129335749894381,
0.031503986567258835,
0.05063002556562424,
-0.03195247799158096,
0.05585166811943054,
0.03935461491346359,
-0.010250013321638107,
-0.03611296787858009,
-0.03303901478648186,
-0.0024045375175774097,
-0.03092946484684944,
-0.048167213797569275,
-0.052839551120996475,
-0.06679840385913849,
-0.10810461640357971,
-0.001973897684365511,
0.007247683592140675,
-0.036849670112133026,
0.009845745749771595,
-0.017013540491461754,
0.022089259698987007,
-0.028984783217310905,
0.020036034286022186,
-0.018074383959174156,
0.005927021149545908,
-0.01137378066778183,
-0.026150058954954147,
-0.011682860553264618,
0.024073751643300056,
-0.008615494705736637,
0.02225516177713871,
-0.007442057598382235,
-0.03474045917391777,
0.007589076645672321,
-0.019143862649798393,
0.024355636909604073,
0.0398138128221035,
0.034085310995578766,
0.04740774258971214
] | [
-0.03880241513252258,
-0.04031626507639885,
-0.025829944759607315,
0.009645850397646427,
0.08551694452762604,
-0.034010376781225204,
-0.028063563629984856,
0.009476158767938614,
0.020790228620171547,
0.006531260441988707,
0.07829855382442474,
-0.05873273313045502,
0.051479045301675797,
0.009907322004437447,
0.011796614155173302,
-0.019563686102628708,
-0.0502844899892807,
-0.03736738860607147,
-0.021014194935560226,
0.02230333723127842,
-0.05422189086675644,
-0.05150499939918518,
-0.025100111961364746,
-0.04285562410950661,
0.06387314200401306,
0.05658550187945366,
-0.015750562772154808,
-0.05718936398625374,
-0.02200544811785221,
-0.19188164174556732,
-0.0055342246778309345,
0.026233429089188576,
0.07102497667074203,
-0.00845180731266737,
-0.019814375787973404,
0.03914044052362442,
0.05092215910553932,
0.00886622630059719,
0.034465864300727844,
0.05145226791501045,
0.021337298676371574,
0.010274581611156464,
-0.05021951347589493,
-0.039788953959941864,
0.028527449816465378,
0.03184686228632927,
-0.06655988097190857,
0.013912186026573181,
-0.01893036440014839,
0.04075675830245018,
-0.028984004631638527,
-0.04190683364868164,
-0.011305171996355057,
0.029374273493885994,
0.0010736414697021246,
0.06416121125221252,
0.04150824248790741,
-0.002263481728732586,
0.014537718147039413,
0.027797915041446686,
0.0006027271738275886,
-0.009449446573853493,
-0.1623227894306183,
0.0752732902765274,
0.013530590571463108,
0.016761308535933495,
-0.030956491827964783,
-0.003853162517771125,
-0.016122184693813324,
0.07441700994968414,
0.021901888772845268,
0.013473748229444027,
-0.02588542178273201,
0.04670236259698868,
0.0205216221511364,
0.003360072849318385,
-0.038225773721933365,
0.01685401424765587,
0.027763858437538147,
-0.022913148626685143,
-0.03720675781369209,
0.04223087430000305,
-0.017084239050745964,
-0.016542254015803337,
-0.011782092973589897,
-0.0008731823181733489,
-0.00807491410523653,
0.023515544831752777,
-0.017284659668803215,
0.04077686369419098,
0.03968897834420204,
0.043901991099119186,
0.005694781430065632,
-0.0007073053857311606,
-0.09690975397825241,
-0.018425941467285156,
0.02972910925745964,
0.00973986741155386,
-0.006570957601070404,
0.37261852622032166,
-0.03912016376852989,
-0.005620724055916071,
0.026209333911538124,
0.07366082817316055,
-0.020400235429406166,
0.003069598926231265,
-0.000804978481028229,
-0.05326421558856964,
0.043560001999139786,
0.007707071956247091,
0.007994669489562511,
-0.017007634043693542,
0.025186831131577492,
-0.10262621194124222,
0.0224346574395895,
-0.021633407101035118,
0.022391878068447113,
0.01354929432272911,
0.013260748237371445,
0.036024417728185654,
0.0015466342447325587,
0.016016557812690735,
0.03624479100108147,
0.01193704642355442,
0.04788251966238022,
0.026615498587489128,
0.046698495745658875,
0.058413248509168625,
0.05637539178133011,
-0.013942207209765911,
0.07857108116149902,
0.03761189430952072,
-0.09656349569559097,
0.013791291043162346,
-0.03664200380444527,
-0.013079867698252201,
0.028945254161953926,
-0.03566474840044975,
-0.028854820877313614,
0.043030817061662674,
-0.008873123675584793,
-0.009245977737009525,
0.03528885543346405,
-0.023589346557855606,
-0.02255087159574032,
0.1799643635749817,
-0.008189152926206589,
-0.031070606783032417,
-0.01378158200532198,
-0.04176323115825653,
0.0014836902264505625,
0.02368619106709957,
0.012606079690158367,
-0.06500730663537979,
-0.026602331548929214,
0.016445476561784744,
0.0689164325594902,
-0.028517017140984535,
-0.06617024540901184,
-0.02030033990740776,
-0.03838203474879265,
-0.020087221637368202,
-0.04923384264111519,
0.044170137494802475,
0.080610491335392,
-0.10615319758653641,
-0.012656503356993198,
0.02814830094575882,
0.005088127683848143,
-0.08486508578062057,
0.03971881791949272,
0.013086979277431965,
-0.03584454581141472,
0.014627109281718731,
0.07188519090414047,
0.0020139638800174,
-0.018376877531409264,
-0.0043182699009776115,
0.04460787773132324,
0.021151326596736908,
0.0008997743716463447,
0.003664577379822731,
-0.05269543454051018,
0.012121913023293018,
-0.06169953569769859,
-0.033603791147470474,
-0.08097818493843079,
0.011324882507324219,
-0.027483509853482246,
-0.008042772300541401,
-0.020243249833583832,
-0.040798287838697433,
-0.09934844076633453,
0.06927432119846344,
-0.0666809156537056,
-0.04529755562543869,
0.002926702843979001,
0.002274236408993602,
-0.014848975464701653,
-0.04237478971481323,
-0.00976395420730114,
-0.022366158664226532,
-0.006962444167584181,
0.019205830991268158,
-0.06507749110460281,
0.04451436176896095,
0.06145268306136131,
-0.014264313504099846,
0.10037623345851898,
0.012875565327703953,
0.017839455977082253,
-0.018485814332962036,
-0.008157821372151375,
0.009251951240003109,
0.006093922071158886,
0.015185980126261711,
-0.003003454767167568,
-0.029095761477947235,
-0.005219770595431328,
0.043985310941934586,
0.02816283330321312,
-0.021773686632514,
0.004701673053205013,
-0.34655049443244934,
-0.03182653337717056,
0.028625458478927612,
0.007979616522789001,
-0.006997031159698963,
-0.02693760395050049,
0.009311709553003311,
-0.003795401193201542,
0.016506211832165718,
0.052230533212423325,
0.09223290532827377,
0.04625636711716652,
-0.01875496841967106,
-0.10301188379526138,
-0.012248540297150612,
0.01598701998591423,
-0.034622400999069214,
0.0007023556972853839,
-0.028966298326849937,
-0.004124888684600592,
-0.014884495176374912,
-0.028470559045672417,
-0.04230218008160591,
-0.026617370545864105,
0.011634279042482376,
-0.013681480661034584,
0.14316095411777496,
0.013032088056206703,
0.005026044324040413,
-0.055659033358097076,
0.0403720960021019,
0.00481316028162837,
-0.034081097692251205,
-0.020068956539034843,
0.02463315613567829,
-0.01160188764333725,
-0.0067093283869326115,
0.01989014260470867,
-0.041531652212142944,
-0.035409387201070786,
-0.05227167531847954,
0.02431572414934635,
-0.03529850021004677,
-0.03845831751823425,
-0.04759940132498741,
0.02065732516348362,
0.018215056508779526,
0.007143149618059397,
-0.0258841123431921,
0.033844828605651855,
0.010685214772820473,
-0.034823328256607056,
0.052934885025024414,
0.035221077501773834,
0.029450956732034683,
-0.028869139030575752,
-0.08973444253206253,
0.019534721970558167,
-0.006426871754229069,
-0.018851999193429947,
0.014941571280360222,
0.03708852827548981,
0.033525556325912476,
-0.07886809855699539,
-0.013897662982344627,
0.0003522032930050045,
-0.016286063939332962,
-0.040275417268276215,
0.006686044856905937,
0.021023618057370186,
-0.003348925383761525,
0.08242981880903244,
-0.03943738341331482,
0.024778760969638824,
0.039341118186712265,
0.00018889550119638443,
-0.07759661227464676,
-0.01569140888750553,
-0.012386002577841282,
0.0005696098087355494,
0.04087650403380394,
-0.0718069076538086,
0.03220248594880104,
-0.014681162312626839,
0.023108989000320435,
0.032320573925971985,
-0.003073135856539011,
-0.003417895408347249,
0.06497064977884293,
0.03957720473408699,
0.01538799423724413,
-0.03230930492281914,
-0.035101719200611115,
-0.03332502767443657,
0.0504525825381279,
0.007332005072385073,
-0.2919660210609436,
0.02100839838385582,
-0.006870300974696875,
0.016994355246424675,
0.004556939471513033,
0.0400875099003315,
0.02985774725675583,
-0.0006242901436053216,
-0.0036582511384040117,
0.011533720418810844,
0.023548267781734467,
0.05689547583460808,
0.022843752056360245,
-0.009682556614279747,
-0.0012896909611299634,
-0.0016402833862230182,
0.012210125103592873,
-0.014816660434007645,
0.004994622897356749,
0.015670763328671455,
0.04693369194865227,
-0.04480455443263054,
0.1668449491262436,
0.01606086455285549,
0.007270703092217445,
0.013996918685734272,
-0.04934737831354141,
-0.018413949757814407,
0.07231078296899796,
-0.012788130901753902,
-0.015332342125475407,
0.019138891249895096,
0.06089562922716141,
0.004675121046602726,
0.008380137383937836,
0.01996404491364956,
-0.01800554245710373,
0.0477445125579834,
0.012514003552496433,
-0.015923505648970604,
-0.008336702361702919,
0.012152241542935371,
-0.0035203590523451567,
0.05105267092585564,
0.10076358169317245,
-0.014779577031731606,
0.018558060750365257,
-0.046419475227594376,
-0.01547540444880724,
0.0009729235316626728,
-0.029573427513241768,
-0.010701780207455158,
-0.023661982268095016,
0.003285920713096857,
0.003313373774290085,
0.030790625140070915,
0.03557678312063217,
-0.022700270637869835,
0.05777060613036156,
-0.004592105746269226,
-0.04278119280934334,
-0.07434234768152237,
0.053339969366788864,
-0.024519609287381172,
0.024670246988534927
] | [
-0.009324891492724419,
0.019759858027100563,
0.002369099063798785,
0.021487288177013397,
-0.03617110848426819,
-0.012681005522608757,
-0.006151255685836077,
-0.01979096047580242,
-0.013568855822086334,
-0.011967260390520096,
-0.02341269701719284,
0.0067168488167226315,
0.012660163454711437,
-0.019536664709448814,
0.022608162835240364,
0.008642141707241535,
-0.0040511772967875,
0.00034477171720936894,
0.05261358618736267,
-0.03293822705745697,
-0.06114508956670761,
0.011630760505795479,
0.03212849050760269,
0.010067335329949856,
-0.021169882267713547,
0.047177914530038834,
-0.03279897943139076,
0.0016029876423999667,
0.04354165121912956,
-0.09146854281425476,
-0.028341881930828094,
-0.013083681464195251,
-0.01679310016334057,
0.011107680387794971,
-0.048890430480241776,
0.021665213629603386,
-0.019265299662947655,
0.023225482553243637,
0.028483953326940536,
0.03895704075694084,
-0.0002986448525916785,
-0.0043203760869801044,
0.02316959761083126,
-0.014792541973292828,
0.004812606610357761,
0.003819832345470786,
-0.038972266018390656,
0.029981007799506187,
-0.009135542437434196,
-0.005850919522345066,
-0.0183013416826725,
-0.00018028377962764353,
-0.023956764489412308,
0.008017399348318577,
-0.0006584672955796123,
-0.014105270616710186,
-0.05084877088665962,
-0.025891903787851334,
-0.008840718306601048,
0.0021839255932718515,
-0.028997860848903656,
-0.005595933645963669,
-0.04262896999716759,
-0.025297600775957108,
0.010777433402836323,
-0.021527860313653946,
-0.022754685953259468,
0.030469294637441635,
0.0020058515947312117,
0.023788385093212128,
-0.041664231568574905,
0.02982223592698574,
-0.0528460368514061,
-0.027409352362155914,
-0.02337927371263504,
0.02834106981754303,
-0.006699595134705305,
-0.032563380897045135,
0.011913358233869076,
-0.0010988862486556172,
-0.017888501286506653,
0.04027119278907776,
-0.0031383216846734285,
-0.005149236414581537,
-0.01786475069820881,
-0.03728342056274414,
0.028940992429852486,
0.007500377483665943,
-0.010504190810024738,
-0.0290481336414814,
-0.0375274159014225,
0.05371438339352608,
0.0063023315742611885,
-0.006581156048923731,
-0.09132484346628189,
0.0033621112816035748,
0.013749077916145325,
0.026926236227154732,
0.041870929300785065,
0.8174364566802979,
0.011353017762303352,
0.015994967892766,
-0.012432022951543331,
0.007555936463177204,
-0.048898983746767044,
-0.008565683849155903,
-0.025524331256747246,
0.0328027606010437,
0.008062315173447132,
-0.00833556056022644,
-0.02510594204068184,
0.040827859193086624,
0.02466590888798237,
0.03300376236438751,
0.01380454283207655,
0.029498837888240814,
0.040212586522102356,
-0.0029241563752293587,
0.00248094298876822,
0.01100901048630476,
0.026321599259972572,
0.03437173366546631,
0.03603367879986763,
0.027660537511110306,
-0.022896308451890945,
-0.1852152794599533,
0.015801751986145973,
-6.783711042354218e-33,
0.028750013560056686,
-0.023201247677206993,
0.04098442196846008,
-0.03518254682421684,
0.02808143012225628,
0.012144477106630802,
-0.06039934232831001,
-0.0370815172791481,
-0.01541977934539318,
-0.011673931032419205,
0.0005910047329962254,
0.03304095193743706,
0.025799458846449852,
-0.014599787071347237,
0.03438631072640419,
-0.026675542816519737,
0.013830919750034809,
0.046413782984018326,
0.01029577199369669,
-0.018409909680485725,
0.002366407308727503,
0.017835116013884544,
0.03400442376732826,
0.04838947206735611,
-0.0159300584346056,
0.052063994109630585,
-0.003606243757531047,
0.05005167797207832,
-0.01145053282380104,
-0.061565835028886795,
-0.025860939174890518,
0.00818026252090931,
-0.019033320248126984,
-0.002149668289348483,
0.027361491695046425,
-0.04721594229340553,
-0.036793578416109085,
-0.0024882943835109472,
-0.0287990253418684,
-0.028364967554807663,
-0.028529340401291847,
0.004871595650911331,
-0.027191108092665672,
-0.04357141628861427,
-0.05487848073244095,
0.019355980679392815,
-0.010030515491962433,
0.05050178989768028,
-0.0032452752348035574,
0.013969403691589832,
-0.006337450817227364,
-0.01104558166116476,
-0.0341433510184288,
0.006577939726412296,
-0.036094989627599716,
0.013492235913872719,
0.0016700002597644925,
0.033379558473825455,
0.009104563854634762,
0.025700880214571953,
-0.0029151670169085264,
-0.02605510503053665,
0.018048275262117386,
0.03953103721141815,
-0.018143191933631897,
-0.016878291964530945,
0.02099372074007988,
0.014004488475620747,
0.014999160543084145,
0.010721986182034016,
-0.023632701486349106,
0.05878794193267822,
-0.02553406171500683,
0.00593391852453351,
0.04805406928062439,
-0.032489027827978134,
0.00337586784735322,
0.028813211247324944,
0.0111282579600811,
0.05913497507572174,
0.006074268836528063,
0.007330020423978567,
0.01484143640846014,
-0.009157405234873295,
-0.03398986533284187,
-0.037033043801784515,
0.029031632468104362,
0.023578805848956108,
-0.03931572660803795,
-0.004387074150145054,
-0.010844775475561619,
-0.007896145805716515,
0.025307081639766693,
-0.0063201733864843845,
0.04055500403046608,
6.881268257264837e-33,
0.0369429849088192,
0.014329204335808754,
0.034346189349889755,
-0.01180132757872343,
0.08198139071464539,
-0.03724532946944237,
0.029930775985121727,
0.020364653319120407,
-0.020536979660391808,
0.056461166590452194,
0.0039466614834964275,
-0.0038773328997194767,
-0.007150373887270689,
0.03518625721335411,
0.044447705149650574,
-0.015685895457863808,
0.04358069598674774,
-0.009252537973225117,
-0.019984999671578407,
0.026783853769302368,
-0.041922543197870255,
-0.014840791933238506,
-0.00987947452813387,
-0.001066843862645328,
0.06039657071232796,
0.052706897258758545,
-0.0018652332946658134,
-0.0059390002861619,
-0.017742490395903587,
0.01093937736004591,
0.003030182560905814,
0.010710845701396465,
-0.017829105257987976,
-0.03524718061089516,
0.022194288671016693,
0.037112753838300705,
-0.002061162842437625,
-0.015731872990727425,
0.004544141236692667,
-0.019043875858187675,
0.032920319586992264,
0.029882989823818207,
-0.005144322756677866,
0.026351243257522583,
0.0356561504304409,
0.016331424936652184,
-0.0017336499877274036,
0.0057552894577383995,
-0.058110225945711136,
0.017381692305207253,
-0.000819874694570899,
0.03092167153954506,
0.009661084972321987,
-0.00799280870705843,
0.02023838274180889,
-0.009531645104289055,
-0.006101659033447504,
0.020529938861727715,
-0.01318315602838993,
-0.009159927256405354,
-0.006126610562205315,
-0.012885967269539833,
-0.04115679860115051,
0.029158681631088257,
-0.043315574526786804,
-0.027285072952508926,
-0.03657044842839241,
-0.034547358751297,
-0.0001659430708969012,
0.07084018737077713,
-0.008268177509307861,
-0.04369334876537323,
-0.01887977123260498,
-0.0012549228267744184,
-0.005025629419833422,
-0.016608886420726776,
-0.04534439370036125,
0.0004920794744975865,
-0.0188805740326643,
0.038202885538339615,
-0.0014508202439174056,
-0.027910789474844933,
0.03761376067996025,
0.020337877795100212,
0.004955432377755642,
-0.005999694112688303,
-0.03507261723279953,
0.03439316153526306,
0.01905193366110325,
0.007395592983812094,
0.012744303792715073,
-0.07080856710672379,
-0.03992287442088127,
0.051454465836286545,
-0.017152909189462662,
-1.2516033542908644e-8,
-0.039237748831510544,
-0.0011035732459276915,
-0.023255817592144012,
0.002144589787349105,
0.04303658381104469,
0.014275211840867996,
-0.0016601606039330363,
-0.0000654104005661793,
-0.000998810981400311,
0.029743019491434097,
0.02996964380145073,
-0.035042207688093185,
0.00818179827183485,
0.010192048735916615,
-0.025137290358543396,
-0.04679356515407562,
0.006249484606087208,
-0.011559835635125637,
0.031226925551891327,
-0.017762845382094383,
0.01246577687561512,
0.030362384393811226,
0.0009962905896827579,
-0.013249563984572887,
0.029298875480890274,
-0.03189796954393387,
0.018408015370368958,
-0.0386386401951313,
-0.015732869505882263,
-0.019191987812519073,
0.022192545235157013,
-0.017319487407803535,
-0.035798538476228714,
-0.0007820357568562031,
-0.023027462884783745,
-0.048837561160326004,
0.02042383700609207,
0.03643348440527916,
0.0067227678373456,
-0.00547143304720521,
-0.011191350407898426,
0.02865970879793167,
-0.0036742996890097857,
-0.014139640145003796,
-0.01651555672287941,
0.04122782498598099,
-0.033743903040885925,
-0.0021067331545054913,
0.015579544007778168,
-0.062069691717624664,
0.024387456476688385,
-0.026373613625764847,
0.012034070678055286,
0.009994180873036385,
0.0352255180478096,
0.016408173367381096,
-0.002796759596094489,
-0.01723391003906727,
-0.027949580922722816,
-0.04931747540831566,
-0.03658873960375786,
-0.009548611007630825,
0.004616487305611372,
-0.06466934084892273
] | r-ggplot-cumulative-frequency-graphs | https://markhneedham.com/blog/2014/08/31/r-ggplot-cumulative-frequency-graphs |
false | 2014-08-14 10:24:52 | Where does r studio install packages/libraries? | [
"r-2"
] | [
"R"
] | As a newbie to R I wanted to look at the source code of some of the libraries/packages that I'd installed via R Studio which I initially struggled to do as I wasn't sure where the packages had been installed.
I eventually came across http://stackoverflow.com/questions/15170399/changing-r-default-library-path-using-libpaths-in-rprofile-site-fails-to-work[a StackOverflow post] which described the +++<cite>+++http://stat.ethz.ch/R-manual/R-devel/library/base/html/libPaths.html[.libPaths]+++</cite>+++ function which tells us where that is:
[source,r]
----
> .libPaths()
[1] "/Library/Frameworks/R.framework/Versions/3.1/Resources/library"
----
If we want to see which libraries are installed we can use the +++<cite>+++http://stat.ethz.ch/R-manual/R-devel/library/base/html/list.files.html[list.files]+++</cite>+++ function:
[source,r]
----
> list.files("/Library/Frameworks/R.framework/Versions/3.1/Resources/library")
[1] "alr3" "assertthat" "base" "bitops" "boot" "brew"
[7] "car" "class" "cluster" "codetools" "colorspace" "compiler"
[13] "data.table" "datasets" "devtools" "dichromat" "digest" "dplyr"
[19] "evaluate" "foreign" "formatR" "Formula" "gclus" "ggplot2"
[25] "graphics" "grDevices" "grid" "gridExtra" "gtable" "hflights"
[31] "highr" "Hmisc" "httr" "KernSmooth" "knitr" "labeling"
[37] "Lahman" "lattice" "latticeExtra" "magrittr" "manipulate" "markdown"
[43] "MASS" "Matrix" "memoise" "methods" "mgcv" "mime"
[49] "munsell" "nlme" "nnet" "openintro" "parallel" "plotrix"
[55] "plyr" "proto" "RColorBrewer" "Rcpp" "RCurl" "reshape2"
[61] "RJSONIO" "RNeo4j" "Rook" "rpart" "rstudio" "scales"
[67] "seriation" "spatial" "splines" "stats" "stats4" "stringr"
[73] "survival" "swirl" "tcltk" "testthat" "tools" "translations"
[79] "TSP" "utils" "whisker" "xts" "yaml" "zoo"
----
We can then drill into those directories to find the appropriate file - in this case I wanted to look at one of the http://cran.r-project.org/web/packages/Rook/Rook.pdf[Rook] examples:
[source,text]
----
$ cat /Library/Frameworks/R.framework/Versions/3.1/Resources/library/Rook/exampleApps/helloworld.R
app <- function(env){
req <- Rook::Request$new(env)
res <- Rook::Response$new()
friend <- 'World'
if (!is.null(req$GET()[['friend']]))
friend <- req$GET()[['friend']]
res$write(paste('<h1>Hello',friend,'</h1>\n'))
res$write('What is your name?\n')
res$write('<form method="GET">\n')
res$write('<input type="text" name="friend">\n')
res$write('<input type="submit" name="Submit">\n</form>\n<br>')
res$finish()
}
---- | null | null | [
0.02636561170220375,
0.013239671476185322,
-0.013946212828159332,
0.044431883841753006,
0.0896821916103363,
-0.003420295426622033,
0.0009797330712899566,
0.015161741524934769,
0.010312524624168873,
0.003460733452811837,
-0.03015785478055477,
-0.0028478854801505804,
-0.056516651064157486,
0.004347263835370541,
-0.050989266484975815,
0.08495679497718811,
0.05647658184170723,
-0.00018926430493593216,
-0.0016573278699070215,
0.022726280614733696,
0.025727730244398117,
0.049745671451091766,
-0.03279712796211243,
0.04398062452673912,
0.00882398895919323,
0.005951386876404285,
0.027244608849287033,
-0.0030028875917196274,
-0.051365047693252563,
0.0027038289699703455,
0.06517311930656433,
0.026071857661008835,
0.014240698888897896,
-0.023088766261935234,
0.019809965044260025,
0.017160799354314804,
-0.023709766566753387,
0.012986372224986553,
-0.0007013044669292867,
-0.010657455772161484,
-0.07075273245573044,
0.025413936004042625,
-0.018727032467722893,
0.016953323036432266,
-0.04333776235580444,
0.02494075521826744,
-0.05207390710711479,
0.03603741154074669,
0.004439176060259342,
0.006200389936566353,
-0.04319684952497482,
0.032331615686416626,
-0.03878595307469368,
-0.04356798529624939,
-0.013429644517600536,
0.033347804099321365,
0.004872269928455353,
-0.07517146319150925,
0.0279789250344038,
-0.045564502477645874,
0.004476744215935469,
-0.004486010875552893,
0.0035593085922300816,
0.04978463426232338,
0.011596727184951305,
-0.02577635459601879,
-0.004971508402377367,
0.01922030933201313,
-0.025785667821764946,
-0.019194502383470535,
-0.017759153619408607,
-0.0038445028476417065,
-0.035159315913915634,
-0.012253088876605034,
0.014986309222877026,
-0.03508683666586876,
-0.030708294361829758,
0.0740959644317627,
0.019439097493886948,
0.028779756277799606,
-0.014724898152053356,
0.008303745649755001,
0.0025108426343649626,
0.011597691103816032,
-0.013359938748180866,
-0.042630381882190704,
-0.008496217429637909,
-0.04815243184566498,
-0.03451182320713997,
0.041656553745269775,
-0.006535823456943035,
-0.05609045922756195,
0.037700094282627106,
0.02710656262934208,
0.019528990611433983,
0.005840498022735119,
0.015864472836256027,
-0.01723231002688408,
0.0036178261507302523,
0.013974961824715137,
-0.05530925095081329,
-0.013411879539489746,
0.029050996527075768,
0.01661006361246109,
-0.06746275722980499,
-0.0035853374283760786,
-0.02683473750948906,
-0.00776081345975399,
-0.02739037200808525,
0.006567952688783407,
0.0017594475066289306,
0.01999024860560894,
-0.019728979095816612,
-0.01128106564283371,
-0.07795120030641556,
0.07052131742238998,
0.013845336623489857,
-0.016528381034731865,
0.0007210072944872081,
0.03273209556937218,
0.04161355271935463,
0.04394716024398804,
-0.010183115489780903,
0.06376136839389801,
0.02299884334206581,
0.07218270003795624,
-0.02004864439368248,
0.029951611533761024,
-0.014131653122603893,
-0.07514723390340805,
0.006923368200659752,
0.05721231549978256,
-0.02610204927623272,
0.013172179460525513,
-0.010299996472895145,
-0.002876464743167162,
-0.001358500448986888,
-0.014561169780790806,
0.054786693304777145,
0.027115851640701294,
-0.007210530806332827,
-0.012901665642857552,
0.004329731687903404,
-0.02562514692544937,
0.04204278066754341,
0.021700575947761536,
-0.005883878096938133,
-0.024790305644273758,
-0.05125214532017708,
0.005127698183059692,
0.017436737194657326,
0.04138365760445595,
0.06432490050792694,
-0.025628922507166862,
0.04436101019382477,
0.09264252334833145,
0.03852193057537079,
0.002337559126317501,
-0.024786371737718582,
0.001601525000296533,
0.04471825808286667,
0.03615541383624077,
-0.007303876802325249,
0.056388888508081436,
-0.0453946590423584,
-0.026636634021997452,
-0.013814392499625683,
0.027365224435925484,
0.006131448782980442,
-0.008262489922344685,
-0.05429874733090401,
-0.10029811412096024,
0.061722464859485626,
-0.031176693737506866,
0.008555345237255096,
0.03117421641945839,
0.07845962792634964,
0.02205410972237587,
0.03024272620677948,
0.02096066065132618,
-0.0778370127081871,
0.04972390457987785,
0.010983314365148544,
-0.004325978457927704,
0.03740443289279938,
-0.018981242552399635,
0.0968407467007637,
0.020281584933400154,
0.030917318537831306,
0.05738731473684311,
-0.085564523935318,
-0.08411317318677902,
-0.029218342155218124,
-0.005616722162812948,
0.05794837325811386,
-0.021213918924331665,
-0.03841795772314072,
0.07574152946472168,
0.001607410958968103,
0.02072100341320038,
-0.008384054526686668,
0.006314856465905905,
0.024836279451847076,
-0.06168327108025551,
-0.05586529150605202,
0.024585193023085594,
0.030970316380262375,
-0.006621248554438353,
-0.023091189563274384,
0.007175224367529154,
-0.005588879343122244,
0.018468884751200676,
0.024668116122484207,
-0.03512152284383774,
0.0774577334523201,
0.015960857272148132,
0.024296768009662628,
-0.005419020075351,
0.053940750658512115,
-0.05106298625469208,
0.021121889352798462,
-0.02447591722011566,
-0.009268607012927532,
-0.0410519577562809,
-0.0038655514363199472,
0.11294268071651459,
0.07174019515514374,
-0.02829894796013832,
-0.032905515283346176,
0.056024786084890366,
0.0005509475595317781,
-0.04729652777314186,
0.03013651818037033,
0.0010569938458502293,
-0.008068520575761795,
-0.014812227338552475,
-0.021444495767354965,
0.002468900289386511,
0.0016855783760547638,
-0.029816627502441406,
0.011637791991233826,
0.07979711890220642,
-0.018324097618460655,
0.029802197590470314,
-0.011711123399436474,
-0.039081159979104996,
-0.011801178567111492,
-0.041416265070438385,
-0.08799070119857788,
-0.000522503221873194,
0.050018731504678726,
-0.008510512299835682,
0.048300597816705704,
-0.0031314187217503786,
-0.006149315740913153,
-0.0233147069811821,
-0.0444832406938076,
0.02504887618124485,
0.06188907101750374,
0.0890856385231018,
0.001107468968257308,
0.00207752687856555,
-0.024949826300144196,
0.020762622356414795,
-0.003584671765565872,
-0.05041064694523811,
-0.013522009365260601,
-0.04831985756754875,
0.027638765051960945,
0.027100233361124992,
0.002039629966020584,
0.027021292597055435,
-0.013654828071594238,
0.0071968319825828075,
0.02992849424481392,
-0.004468880128115416,
0.04536972567439079,
-0.007966391742229462,
-0.019129807129502296,
-0.020188836380839348,
-0.0007235386874526739,
0.04538692906498909,
-0.025378070771694183,
-0.015991464257240295,
-0.0160105898976326,
-0.05253303796052933,
0.045018259435892105,
-0.06294076144695282,
-0.035996612161397934,
-0.021637873724102974,
-0.003978185821324587,
0.05265403538942337,
0.015705175697803497,
0.02907930128276348,
0.041573416441679,
0.015985673293471336,
0.03764058277010918,
0.021009841933846474,
0.004846580792218447,
0.04596865177154541,
0.01711738295853138,
0.032817017287015915,
0.06337613612413406,
0.007388806901872158,
0.013627833686769009,
-0.00833803415298462,
0.026301858946681023,
-0.03610678017139435,
-0.2548127770423889,
0.011057605035603046,
-0.015805179253220558,
-0.03984270244836807,
0.015848156064748764,
-0.022107481956481934,
0.01863057166337967,
-0.04844972863793373,
-0.012029615230858326,
-0.007300997152924538,
0.0007005707593634725,
-0.03754037618637085,
-0.02152828313410282,
0.04652805253863335,
-0.0022556425537914038,
0.026807429268956184,
0.007682526484131813,
-0.014416929334402084,
-0.008379383012652397,
0.05319696292281151,
0.017517399042844772,
-0.04413200542330742,
0.009476237930357456,
0.02491820603609085,
0.017977138981223106,
0.04951290413737297,
-0.05348066985607147,
0.09142538160085678,
-0.06759431213140488,
-0.06746652722358704,
0.008212701417505741,
-0.02136937342584133,
-0.025728782638907433,
-0.005363852251321077,
0.008760402910411358,
-0.02391555905342102,
0.030637633055448532,
0.033732928335666656,
-0.0016163698164746165,
0.013731175102293491,
-0.02578068897128105,
-0.014153041876852512,
0.010327630676329136,
-0.012557396665215492,
0.079898402094841,
-0.0037451195530593395,
-0.09659091383218765,
-0.015032371506094933,
-0.033168043941259384,
0.08855271339416504,
-0.017138609662652016,
-0.022320790216326714,
-0.0015904793981462717,
0.04130254685878754,
-0.025350581854581833,
-0.03337179869413376,
-0.018932128325104713,
0.0031357775442302227,
-0.019326822832226753,
-0.027480846270918846,
0.0010108405258506536,
-0.03556981682777405,
-0.02524256519973278,
-0.025921911001205444,
-0.014642296358942986,
-0.07503964751958847,
-0.06938093900680542,
-0.024130018427968025,
0.06345133483409882,
0.02878439985215664,
-0.04150938615202904,
-0.012974812649190426,
-0.007311718072742224,
-0.11614277958869934,
-0.0024092141538858414,
-0.0570196732878685,
-0.05087780952453613,
-0.03362865373492241,
0.008034776896238327,
0.04191594943404198,
-0.04085094481706619,
-0.03249230608344078,
0.011589438654482365,
0.00015175010776147246,
-0.008869914337992668,
0.01951526291668415,
0.014215242117643356,
0.0023909311275929213,
-0.02064613066613674,
-0.0104494234547019,
0.04253869503736496,
-0.04594225436449051,
-0.031123625114560127,
-0.022414224222302437,
-0.019117368385195732,
0.010446751490235329,
0.028195997700095177,
0.02470429055392742,
0.041749920696020126,
0.08628369867801666,
0.019407829269766808,
-0.050617486238479614,
0.03828493505716324,
-0.050438299775123596,
-0.03335525840520859,
-0.008557599037885666,
-0.06884846836328506,
0.010279961861670017,
0.03225553780794144,
0.02223341353237629,
-0.004649033769965172,
-0.03710779547691345,
0.022862955927848816,
-0.06306225061416626,
-0.03484494984149933,
-0.011030874215066433,
0.025142773985862732,
0.007502143736928701,
0.02529788762331009,
0.014338268898427486,
-0.0759093388915062,
0.009193251840770245,
-0.009050470776855946,
-0.05414123833179474,
-0.03929871693253517,
-0.003672524355351925,
0.008144094608724117,
-0.028940880671143532,
-0.0031257455702871084,
0.008194256573915482,
-0.02982085570693016,
0.017673537135124207,
0.04157595708966255,
-0.038531139492988586,
0.037291716784238815,
-0.019245872274041176,
-0.04516683146357536,
-0.009590205736458302,
0.01365214679390192,
-0.006382893770933151,
-0.049291666597127914,
0.03213832154870033,
0.03762025758624077,
0.025499116629362106,
0.027335915714502335,
-0.0033616411965340376,
0.025696754455566406,
0.016081897541880608,
-0.014944168739020824,
-0.02063482441008091,
-0.008453906513750553,
-0.0024349838495254517,
0.023551134392619133,
-0.023047851398587227,
-0.003937207628041506,
-0.04903065413236618,
0.05538789555430412,
-0.009937960654497147,
-0.03570147603750229,
-0.04371868073940277,
0.005501915700733662,
-0.055342692881822586,
-0.014603293500840664,
-0.004813405219465494,
-0.014483076520264149,
0.054429586976766586,
0.021480655297636986,
0.013888660818338394,
0.0061425683088600636,
0.0018637125613167882,
0.017725814133882523,
0.027493730187416077,
-0.012594833970069885,
-0.0024584797210991383,
-0.02810725010931492,
0.00940187182277441,
0.022969061508774757,
0.0026179114356637,
0.029119571670889854,
-0.00032774682040326297,
-0.03661172091960907,
-0.021322855725884438,
0.022162824869155884,
-0.005577710922807455,
0.02119792066514492,
0.01879160664975643,
-0.012672796845436096,
-0.0006695394404232502,
-0.01136280782520771,
-0.0420813113451004,
-0.0273320022970438,
0.011521046049892902,
-0.033228110522031784,
0.01869230344891548,
-0.050866883248090744,
-0.08568937331438065,
0.02851550467312336,
0.012876994907855988,
0.0023127689491957426,
0.0062028588727116585,
-0.033700130879879,
0.00006158207543194294,
-0.018249358981847763,
0.043830811977386475,
0.08253718167543411,
-0.0684833899140358,
-0.019563429057598114,
0.012810882180929184,
0.014425016939640045,
0.0195845328271389,
-0.002535648178309202,
-0.071486696600914,
-0.006111812312155962,
-0.010303339920938015,
0.03432060033082962,
-0.026120685040950775,
-0.03653820976614952,
-0.036418166011571884,
-0.019649414345622063,
0.0044434391893446445,
-0.007782150059938431,
-0.0006059012375771999,
-0.005235816352069378,
-0.013709272257983685,
-0.02332005649805069,
-0.004592434503138065,
-0.022729968652129173,
-0.018633393570780754,
0.032934751361608505,
-0.022641638293862343,
0.027938053011894226,
-0.008054737001657486,
0.02695457451045513,
0.014262188225984573,
-0.0086611183360219,
0.01870700716972351,
-0.05728181079030037,
-0.007756854873150587,
0.011758306995034218,
0.029087936505675316,
-0.005886853206902742,
0.036858029663562775,
-0.023242849856615067,
-0.021848902106285095,
-0.025831278413534164,
-0.004656999371945858,
-0.011538318358361721,
0.005681960377842188,
0.02771078050136566,
0.049514543265104294,
0.007288736756891012,
0.0024021631106734276,
0.0009626440005376935,
-0.013223175890743732,
0.06618101894855499,
-0.03004704788327217,
-0.054036129266023636,
-0.009830908849835396,
-0.040365420281887054,
0.03546737879514694,
0.029386429116129875,
0.0030831836629658937,
-0.038787271827459335,
0.03830002620816231,
0.021167723461985588,
0.002916606841608882,
0.030208339914679527,
-0.020887916907668114,
0.023656219244003296,
-0.02962024323642254,
-0.020259443670511246,
-0.10345873981714249,
0.000596173747908324,
0.03405691683292389,
-0.016797631978988647,
-0.034132685512304306,
0.011800384148955345,
-0.02976636216044426,
0.03404790535569191,
-0.07165412604808807,
-0.0556769035756588,
0.031729452311992645,
0.006921467836946249,
-0.007380589842796326,
-0.025150116533041,
-0.03442090004682541,
0.024471862241625786,
0.049996938556432724,
-0.039695288985967636,
-0.002532247919589281,
-0.026027565822005272,
0.057250868529081345,
-0.026114940643310547,
0.018813129514455795,
-0.004874948412179947,
0.008054456673562527,
0.060907747596502304,
0.028361404314637184,
0.005513953045010567,
0.05276947468519211,
-0.028490982949733734,
0.03016667813062668,
0.030189767479896545,
-0.0016952983569353819,
0.0020705771166831255,
0.024105960503220558,
0.031920839101076126,
-0.02135467529296875,
0.01789124496281147,
0.0016123591922223568,
0.011919793672859669,
-0.030769452452659607,
0.0632343664765358,
0.027262108400464058,
-0.03422174230217934,
-0.03378237038850784,
0.016732418909668922,
-0.0396689809858799,
0.006930289324373007,
-0.006667007692158222,
-0.020917493849992752,
-0.03573388606309891,
0.055842041969299316,
-0.0009196863393299282,
-0.009013161063194275,
0.07202374190092087,
0.03260419890284538,
-0.02660151943564415,
0.023194734007120132,
0.0643451139330864,
0.09577758610248566,
0.030464714393019676,
-0.0016919871559366584,
0.06678886711597443,
-0.023184172809123993,
-0.04468770697712898,
0.021199429407715797,
-0.014637019485235214,
-0.00586675014346838,
-0.03755577281117439,
0.009889439679682255,
0.056972354650497437,
-0.009709220379590988,
0.060123927891254425,
-0.03470965102314949,
0.002902005100622773,
0.0011738310568034649,
0.01157546415925026,
0.016264520585536957,
0.05018462613224983,
-0.01522921398282051,
0.05534002184867859,
-0.02034667506814003,
-0.007605908438563347,
0.005595572292804718,
-0.015014585107564926,
0.0022959033958613873,
0.009914943017065525,
-0.011083219200372696,
-0.010866216383874416,
0.011170103214681149,
0.024943098425865173,
0.07861640304327011,
-0.03852933645248413,
-0.014194216579198837,
-0.028424933552742004,
0.049954853951931,
0.01501151267439127,
0.01356753334403038,
-0.043640993535518646,
-0.0353875569999218,
0.0012827165191993117,
-0.04372941702604294,
-0.04141690954566002,
-0.0105869947001338,
-0.005085996817797422,
0.045356716960668564,
-0.04889589920639992,
0.0176822729408741,
0.05079832300543785,
-0.026001157239079475,
-0.030346693471074104,
-0.04267631098628044,
-0.01884458214044571,
-0.045673761516809464,
-0.07873684167861938,
0.004230692517012358,
-0.007674747612327337,
-0.020807774737477303,
-0.05237864702939987,
-0.00805892888456583,
-0.016104890033602715,
-0.03407658636569977,
0.025063222274184227,
-0.05204373598098755,
-0.027429761365056038,
0.01693941466510296,
0.020972054451704025,
-0.011103400029242039,
0.02386876568198204,
0.05049679055809975,
0.014531321823596954,
-0.01779947802424431,
-0.019034493714571,
0.020300835371017456,
0.04620768502354622,
0.018352080136537552,
0.023651370778679848,
-0.06265425682067871,
0.030953707173466682,
0.006800925359129906,
0.0024512626696377993,
-0.08548608422279358,
0.00576546136289835,
0.029123393818736076,
-0.029520273208618164,
0.030812708660960197,
-0.0051207575015723705,
0.028271567076444626,
-0.004723952151834965,
-0.0018613727297633886,
-0.013655992224812508,
0.028359366580843925,
0.04613540321588516,
-0.024647826328873634,
0.07241518795490265,
0.02931290864944458,
0.007075501140207052,
-0.061842139810323715,
-0.015879562124609947,
0.0031160619109869003,
-0.023061184212565422,
-0.05020624399185181,
0.003026237478479743,
-0.03725345805287361,
-0.11021049320697784,
-0.013351453468203545,
0.009224260225892067,
-0.06237037479877472,
-0.03141175955533981,
-0.0210060253739357,
0.012468487955629826,
-0.049027398228645325,
0.028894400224089622,
-0.04117279872298241,
0.03713713958859444,
-0.012348570860922337,
-0.02059878595173359,
0.010045715607702732,
0.03823688253760338,
0.0162915401160717,
0.006380581762641668,
0.02031143195927143,
-0.03898386284708977,
-0.013665907084941864,
-0.024315467104315758,
0.014149482361972332,
0.06204782426357269,
0.03684183582663536,
0.00475719291716814
] | [
-0.07706688344478607,
-0.03515326604247093,
-0.029171550646424294,
-0.005986851640045643,
0.09091852605342865,
-0.03905756399035454,
-0.047478899359703064,
0.04593336209654808,
0.003582102246582508,
-0.004782077390700579,
0.02323422022163868,
0.0012017287081107497,
0.014009813778102398,
-0.016110416501760483,
0.09049161523580551,
0.006018684711307287,
0.0032429276034235954,
-0.023708608001470566,
-0.011745980940759182,
0.00994260236620903,
-0.021007662639021873,
-0.00004228760371915996,
-0.014871918596327305,
-0.035413455218076706,
0.01737675815820694,
0.046543095260858536,
0.019075050950050354,
-0.016818130388855934,
-0.014375553466379642,
-0.19938109815120697,
0.015492990612983704,
0.027227511629462242,
0.03979486599564552,
-0.014061631634831429,
0.016097111627459526,
0.050616975873708725,
0.01220900658518076,
0.01373089849948883,
0.004659574944525957,
0.012102418579161167,
0.021986650303006172,
0.002112952759489417,
-0.04364895820617676,
-0.0054578944109380245,
0.01930997334420681,
0.0071660433895885944,
-0.04214772954583168,
-0.010147658176720142,
0.0050027864053845406,
-0.014170684851706028,
-0.07709962129592896,
0.0016939043998718262,
-0.0011137430556118488,
-0.017423037439584732,
-0.032308418303728104,
0.02889343723654747,
0.042856909334659576,
0.07762464135885239,
0.011425323784351349,
0.027892401441931725,
0.0045508770272135735,
-0.012345981784164906,
-0.15860021114349365,
0.0823286771774292,
0.036828771233558655,
0.061159100383520126,
-0.021885771304368973,
-0.010249938815832138,
-0.0067320880480110645,
0.05510964244604111,
-0.025922304019331932,
-0.02251245640218258,
-0.04973879083991051,
0.05535869672894478,
0.000694406742695719,
-0.025530269369482994,
-0.028051625937223434,
0.019517460837960243,
0.051546309143304825,
-0.05491626635193825,
0.008197569288313389,
0.020038478076457977,
-0.03178973123431206,
0.0035288208164274693,
-0.022220982238650322,
0.021583061665296555,
-0.017313214018940926,
0.07189600169658661,
0.025554953143000603,
0.027903195470571518,
0.044423799961805344,
-0.010935407131910324,
0.07977479696273804,
0.0515262633562088,
-0.1205519437789917,
-0.010205346159636974,
0.010805582627654076,
0.024978293105959892,
-0.006459943950176239,
0.4502388536930084,
-0.02117421291768551,
-0.04281288757920265,
0.037101563066244125,
0.04939538985490799,
0.0032533290795981884,
-0.015592771582305431,
0.016832822933793068,
-0.043125852942466736,
0.025620875880122185,
-0.018819140270352364,
0.025658253580331802,
-0.029642421752214432,
0.05211861431598663,
-0.07164984196424484,
0.050894781947135925,
-0.03320624306797981,
0.018725469708442688,
0.017141303047537804,
-0.015605030581355095,
0.0010643493151292205,
-0.014534646645188332,
-0.023787738755345345,
0.03877710923552513,
0.007135354448109865,
0.032768186181783676,
-0.04005228728055954,
0.0298505499958992,
0.05259568616747856,
0.051076944917440414,
0.02259407378733158,
0.03511018306016922,
-0.003986575175076723,
-0.0798264890909195,
0.006626585498452187,
-0.015093398280441761,
0.03299425169825554,
0.018961012363433838,
-0.020734358578920364,
0.018333621323108673,
0.019772816449403763,
-0.022119468078017235,
-0.010837116278707981,
0.0211825892329216,
-0.003409463679417968,
-0.04819121211767197,
0.12037090957164764,
-0.010930221527814865,
-0.02081388421356678,
-0.031902462244033813,
-0.0541369691491127,
0.034510575234889984,
0.04890917241573334,
0.013718401081860065,
-0.03440319001674652,
0.008648714981973171,
0.011950654909014702,
0.08089834451675415,
-0.07487175613641739,
-0.06294097751379013,
-0.011913930997252464,
-0.0031221809331327677,
-0.04129070043563843,
-0.024654263630509377,
0.025180237367749214,
0.04152531549334526,
-0.053566787391901016,
-0.014164717867970467,
-0.0014536252710968256,
0.03818614408373833,
-0.030394038185477257,
0.01610267348587513,
0.007893427275121212,
0.01115533895790577,
0.005563406739383936,
0.04559412598609924,
-0.006390159018337727,
-0.018945682793855667,
0.024703552946448326,
0.031022701412439346,
-0.004580668173730373,
0.0025194198824465275,
-0.006529335398226976,
-0.05860625579953194,
-0.002505945973098278,
-0.051045212894678116,
-0.05086555331945419,
-0.09076152741909027,
-0.015473121777176857,
-0.003697730600833893,
0.004029843490570784,
-0.03196779265999794,
-0.007312683388590813,
-0.057000502943992615,
0.03931594640016556,
-0.034058138728141785,
0.0012246208498254418,
0.035254064947366714,
0.009929608553647995,
0.012489196844398975,
-0.03172121196985245,
-0.00874723494052887,
0.03308888524770737,
-0.007051706314086914,
0.04489722102880478,
-0.09034890681505203,
0.01819581352174282,
0.050765618681907654,
-0.047437988221645355,
0.06401611864566803,
0.04586483910679817,
-0.008640148676931858,
-0.0003629729908425361,
0.0015716955531388521,
0.007717982400208712,
-0.014050005003809929,
-0.033043067902326584,
-0.012172866612672806,
-0.03263648599386215,
0.021675903350114822,
0.031060444191098213,
-0.021862851455807686,
-0.03575580567121506,
-0.027747968211770058,
-0.34486857056617737,
-0.019276009872555733,
-0.013493853621184826,
-0.002321750158444047,
0.0073931156657636166,
-0.06894388794898987,
0.006807559635490179,
-0.020708521828055382,
-0.0362367182970047,
0.06664687395095825,
0.07493984699249268,
-0.011142694391310215,
0.011879353784024715,
-0.07853806763887405,
0.008916868828237057,
0.04978340119123459,
-0.009798511862754822,
-0.0038592196069657803,
-0.017563506960868835,
-0.004675799049437046,
-0.012836755253374577,
-0.054870910942554474,
-0.01599249616265297,
-0.017381038516759872,
0.01496865414083004,
-0.029712773859500885,
0.10705696791410446,
0.05242210626602173,
0.06082937866449356,
-0.030848143622279167,
0.04924679547548294,
-0.0076660155318677425,
0.02212790958583355,
-0.10356895625591278,
-0.008325658738613129,
-0.023565083742141724,
0.0068595074117183685,
0.01747506856918335,
0.027768898755311966,
-0.044314224272966385,
-0.01655041240155697,
0.02122492901980877,
-0.05442524701356888,
-0.010944957844913006,
-0.04395206645131111,
0.009386328980326653,
-0.018973279744386673,
-0.016924090683460236,
-0.014645067974925041,
0.07978782057762146,
-0.007481362204998732,
-0.008917141705751419,
0.014597215689718723,
0.033218689262866974,
0.003970305435359478,
-0.0036963096354156733,
-0.06383451074361801,
0.0067103710025548935,
0.026610329747200012,
-0.005903363227844238,
0.02360817976295948,
0.072161465883255,
0.032004691660404205,
-0.09284063428640366,
-0.024134505540132523,
-0.0007230989285744727,
-0.024101629853248596,
-0.0011587749468162656,
0.023996856063604355,
-0.0040863812901079655,
-0.01792292855679989,
0.1045142263174057,
-0.013244903646409512,
0.04404086247086525,
0.011692006140947342,
0.019343223422765732,
0.0005670321406796575,
0.0011725472286343575,
0.0028300336562097073,
-0.017603950574994087,
0.023736365139484406,
-0.02697463147342205,
-0.0037188034038990736,
-0.061158549040555954,
0.001958817709237337,
0.01004052348434925,
-0.01255844347178936,
-0.06294328719377518,
0.057020287960767746,
0.0438675619661808,
0.0020260850433260202,
-0.031638048589229584,
0.007428755983710289,
-0.0689157247543335,
0.08305850625038147,
0.012625430710613728,
-0.264907568693161,
0.03831636160612106,
0.08235695213079453,
0.023385176435112953,
-0.022365348413586617,
0.004779771901667118,
0.05691106244921684,
-0.06531769037246704,
-0.0027382809203118086,
0.020191848278045654,
0.05436132848262787,
0.04975851625204086,
0.005527862347662449,
-0.026731276884675026,
0.001199101097881794,
-0.018637508153915405,
0.06769758462905884,
-0.009829855524003506,
0.025436557829380035,
0.007621454074978828,
-0.0274007860571146,
-0.022677376866340637,
0.13420283794403076,
0.007274317089468241,
-0.009289348497986794,
-0.009400748647749424,
-0.028364546597003937,
-0.01233122032135725,
0.04006635770201683,
0.02352343313395977,
-0.007371213287115097,
0.028065452352166176,
0.00009837259131018072,
-0.010620526038110256,
0.03587961569428444,
-0.02413911558687687,
-0.03335653990507126,
0.01850823685526848,
0.03207911178469658,
-0.005580242723226547,
-0.015550896525382996,
0.0088717145845294,
-0.0610162615776062,
0.03488573804497719,
0.04756321758031845,
-0.014000453986227512,
0.0178973525762558,
-0.03926873207092285,
-0.05704176798462868,
-0.012343117967247963,
-0.0017844625981524587,
-0.006908157374709845,
-0.02265883982181549,
-0.002455641282722354,
0.016780182719230652,
0.06310934573411942,
0.02725684642791748,
-0.03431175276637077,
0.002007898176088929,
-0.019700096920132637,
-0.013189228251576424,
-0.10161805897951126,
0.13330012559890747,
0.00010703545558499172,
0.017895858734846115
] | [
0.0014085657894611359,
-0.008227920159697533,
-0.04291331395506859,
0.023079367354512215,
0.043328914791345596,
0.023744860664010048,
0.009786750189960003,
0.051449697464704514,
-0.039307851344347,
-0.021801359951496124,
-0.0456230528652668,
0.0039016955997794867,
0.025324175134301186,
0.013831833377480507,
0.006874256767332554,
-0.021067434921860695,
0.007996688596904278,
-0.006015965715050697,
0.013096882961690426,
-0.009983808733522892,
-0.038494791835546494,
0.05237921327352524,
0.028850307688117027,
-0.01362315658479929,
0.04992161691188812,
0.04874756932258606,
-0.029160115867853165,
-0.0053234403021633625,
0.0323505774140358,
-0.10941814631223679,
0.028034549206495285,
-0.0211165938526392,
0.017055004835128784,
-0.005754849407821894,
0.016685418784618378,
0.010821538046002388,
-0.014242812059819698,
-0.010151071473956108,
0.013188806362450123,
0.00035323871998116374,
-0.020988306030631065,
0.013784983195364475,
0.002343349624425173,
0.008209595456719398,
-0.05593201518058777,
-0.03908154368400574,
-0.0382441021502018,
-0.014627759344875813,
-0.005981513299047947,
-0.02576950192451477,
-0.03159399703145027,
-0.009114649146795273,
-0.0004673832154367119,
0.004204245749861002,
0.045811813324689865,
-0.006782228127121925,
-0.032564450055360794,
-0.01621970720589161,
-0.022599957883358,
-0.034556690603494644,
0.004079004283994436,
-0.02945544756948948,
-0.04748260974884033,
-0.010722453705966473,
-0.02431902103126049,
-0.020618457347154617,
-0.018701577559113503,
0.004278051666915417,
0.03035779856145382,
0.02078894153237343,
-0.006510223727673292,
0.024077126756310463,
-0.05514043942093849,
-0.03486526757478714,
0.018505603075027466,
0.02950432524085045,
0.022172916680574417,
0.02097213640809059,
0.021771786734461784,
-0.021066203713417053,
-0.0250632893294096,
0.02625412493944168,
-0.008442380465567112,
0.02303129807114601,
-0.002003359142690897,
0.0076737115159630775,
0.030168280005455017,
-0.012232844717800617,
0.00876547023653984,
-0.005997863132506609,
0.027233626693487167,
0.0217280313372612,
0.017925018444657326,
0.006503489334136248,
-0.12724259495735168,
0.00013656199735123664,
0.01320316456258297,
-0.0020902047399431467,
-0.009967444464564323,
0.8232755064964294,
-0.010715202428400517,
-0.005231115967035294,
0.019203972071409225,
0.0053077079355716705,
-0.023516559973359108,
-0.024461248889565468,
-0.03249196335673332,
0.009382878430187702,
0.003055029083043337,
-0.029637344181537628,
0.04646798223257065,
-0.010385239496827126,
0.042572133243083954,
0.04388874024152756,
0.004515096079558134,
0.016869500279426575,
0.028536804020404816,
-0.02469875104725361,
-0.013541360385715961,
0.009584861807525158,
0.00989525392651558,
-0.009203539229929447,
0.015165058895945549,
0.004507494159042835,
-0.01467123907059431,
-0.2010117471218109,
-0.030641905963420868,
-6.876915254746948e-33,
0.05351635441184044,
-0.025987420231103897,
0.013285056687891483,
-0.02248266153037548,
0.012549814768135548,
0.013716019690036774,
-0.013917842879891396,
0.027682850137352943,
0.0007437269086949527,
-0.015047915279865265,
0.029530739411711693,
-0.011960040777921677,
-0.01565897837281227,
-0.012287167832255363,
-0.0003907035570591688,
0.011611751280725002,
-0.0034042580518871546,
0.05298152193427086,
-0.0406738817691803,
0.02984369918704033,
0.002215609885752201,
0.012744655832648277,
0.004855611827224493,
0.03452355042099953,
0.00539284385740757,
0.010882637463510036,
0.05416291579604149,
-0.009424361400306225,
0.00005090255945106037,
-0.04516291990876198,
-0.03319503739476204,
0.011189725250005722,
-0.019271522760391235,
0.024119272828102112,
0.00753523176535964,
-0.053342465311288834,
-0.013635484501719475,
-0.006927172187715769,
-0.013657601550221443,
-0.009968368336558342,
0.0014952551573514938,
0.013916942290961742,
-0.07629796117544174,
0.018979836255311966,
-0.011579586192965508,
-0.001680389977991581,
0.03763952478766441,
0.057293690741062164,
-0.011154976673424244,
0.03717677295207977,
0.0056428066454827785,
0.018368713557720184,
0.011110745370388031,
0.03242829069495201,
-0.016404878348112106,
0.0305524542927742,
-0.051046643406152725,
0.0406106598675251,
0.02850152924656868,
0.007528098300099373,
-0.0022418550215661526,
0.013365392573177814,
-0.002231462625786662,
0.03150803968310356,
0.0280772615224123,
-0.008375369943678379,
-0.013546029105782509,
-0.039923813194036484,
0.02980157919228077,
0.039084628224372864,
-0.0343906506896019,
-0.021299516782164574,
-0.0012837094254791737,
-0.014622480608522892,
0.05010415241122246,
-0.0076684122905135155,
-0.023496050387620926,
-0.012694599106907845,
0.02932189591228962,
0.022650860249996185,
-0.00908704288303852,
-0.013437130488455296,
0.01364945713430643,
-0.028529364615678787,
-0.020365286618471146,
-0.04625040292739868,
0.0075348191894590855,
-0.005066411569714546,
-0.04058966040611267,
-0.010267592035233974,
0.044519755989313126,
-0.001951412414200604,
0.003744144458323717,
-0.009965751320123672,
-0.045671261847019196,
7.421381462844784e-33,
0.022370893508195877,
-0.011479833163321018,
0.004536269698292017,
0.01176556758582592,
0.024398133158683777,
-0.02906627021729946,
0.006338099017739296,
0.005019966512918472,
0.0023630752693861723,
0.033732544630765915,
0.007629868108779192,
0.0336739681661129,
-0.011630857363343239,
0.017289886251091957,
0.0734642893075943,
-0.04395071789622307,
0.034016430377960205,
-0.017146455124020576,
-0.028788968920707703,
0.016554413363337517,
-0.005992881488054991,
-0.02506834827363491,
0.023606691509485245,
0.014027167111635208,
0.01612069457769394,
0.05915931239724159,
-0.0035946997813880444,
-0.0026418056804686785,
0.002299112966284156,
-0.022786462679505348,
0.022831611335277557,
0.04203316569328308,
-0.023003563284873962,
-0.023792428895831108,
-0.05598394200205803,
0.0636029914021492,
0.00011563384032342583,
0.013353808782994747,
-0.01634420081973076,
0.01385451853275299,
0.011743703857064247,
0.011087014339864254,
0.004664386622607708,
0.006443076767027378,
-0.0045409733429551125,
-0.04544353485107422,
-0.017611157149076462,
-0.013721379451453686,
-0.00543579226359725,
-0.010044475086033344,
0.0064938669092953205,
0.016497375443577766,
0.0015713494503870606,
0.003601504024118185,
0.021145131438970566,
-0.013952484354376793,
-0.017761072143912315,
0.03437833860516548,
-0.0188150592148304,
0.008978408761322498,
-0.011864760890603065,
0.01021695975214243,
-0.019972186535596848,
0.020325763151049614,
-0.06334186345338821,
-0.047865837812423706,
-0.013870444148778915,
-0.020889218896627426,
0.013755221851170063,
0.019791249185800552,
0.020470833405852318,
0.024691926315426826,
-0.00519026443362236,
0.016444183886051178,
0.004636314697563648,
-0.03553241863846779,
-0.004187420476227999,
-0.022425929084420204,
-0.011651885695755482,
0.016284583136439323,
0.015962230041623116,
0.007351745385676622,
0.03935346379876137,
0.0008763026562519372,
0.002352943643927574,
0.005957622081041336,
-0.03326747193932533,
0.013992981053888798,
0.04613892734050751,
0.019828110933303833,
-0.0016173679614439607,
-0.028642626479268074,
-0.031595226377248764,
0.03341567888855934,
0.016252489760518074,
-1.286992734605974e-8,
0.0010851200204342604,
-0.0034970692358911037,
-0.044824060052633286,
0.014830917119979858,
0.047451503574848175,
0.012883362360298634,
-0.0106805469840765,
0.014715920202434063,
-0.011510764248669147,
0.02450689487159252,
0.028593232855200768,
-0.022776944562792778,
-0.004283674992620945,
0.015434840694069862,
0.02439146302640438,
-0.020319946110248566,
0.037370383739471436,
0.012406046502292156,
0.013232351280748844,
0.0074587371200323105,
-0.0006828710902482271,
0.02904905378818512,
-0.0017441996606066823,
0.010867536067962646,
0.00784067902714014,
-0.02602229081094265,
0.01613629423081875,
-0.09265764057636261,
-0.01041490864008665,
0.01784338988363743,
0.03519756719470024,
-0.019668858498334885,
-0.01681588776409626,
0.011911731213331223,
-0.004896989557892084,
-0.06114921718835831,
0.03301257640123367,
0.030509745702147484,
-0.004137581679970026,
0.02751905471086502,
-0.04732375219464302,
0.02955198660492897,
-0.03277632221579552,
-0.018939495086669922,
-0.035254448652267456,
-0.03606971725821495,
-0.049133673310279846,
0.004286241717636585,
-0.00176422658842057,
-0.029808370396494865,
0.045521657913923264,
-0.010833516716957092,
-0.04793552681803703,
-0.0065562729723751545,
0.030163684859871864,
0.0011303601786494255,
-0.0225974190980196,
-0.02053125947713852,
-0.06265532225370407,
-0.02243024855852127,
-0.019382650032639503,
0.015481012873351574,
0.0073600877076387405,
-0.03199391067028046
] | where-does-r-studio-install-packageslibraries | https://markhneedham.com/blog/2014/08/14/where-does-r-studio-install-packageslibraries |
false | 2014-08-22 11:05:54 | R: Rook - Hello world example - 'Cannot find a suitable app in file' | [
"r-2"
] | [
"R"
] | I've been playing around with the http://cran.r-project.org/web/packages/Rook/README.html[Rook] library and struggled a bit getting a basic Hello World application up and running so I thought I should document it for future me.
I wanted to spin up a web server using Rook and serve a page with the text 'Hello World'. I https://docs.google.com/presentation/d/1AT8nQo6jrZ9SwPgdwqkHZI_2SeqGQormy-EWWmm_rlk/edit#slide=id.i112[started with the following code]:
[source,r]
----
library(Rook)
s <- Rhttpd$new()
s$add(name='MyApp',app='helloworld.R')
s$start()
s$browse("MyApp")
----
where +++<cite>+++helloWorld.R+++</cite>+++ contained the following code:
[source,r]
----
function(env){
list(
status=200,
headers = list(
'Content-Type' = 'text/html'
),
body = paste('<h1>Hello World!</h1>')
)
}
----
Unfortunately that failed on the 's$add' line with the following error message:
[source,r]
----
> s$add(name='MyApp',app='helloworld.R')
Error in .Object$initialize(...) :
Cannot find a suitable app in file helloworld.R
----
I hadn't realised that you actually need to assign that function to a variable 'app' in order for it to be picked up:
[source,r]
----
app <- function(env){
list(
status=200,
headers = list(
'Content-Type' = 'text/html'
),
body = paste('<h1>Hello World!</h1>')
)
}
----
Once I fixed that everything seemed to work as expected:s
[source,r]
----
> s
Server started on 127.0.0.1:27120
[1] MyApp http://127.0.0.1:27120/custom/MyApp
Call browse() with an index number or name to run an application.
---- | null | null | [
-0.010800673626363277,
0.037067756056785583,
-0.030822064727544785,
0.030722549185156822,
0.06112875044345856,
0.008285557851195335,
0.017250504344701767,
0.009514882229268551,
0.010268236510455608,
0.002818068489432335,
-0.03472638130187988,
-0.008842265233397484,
-0.085087351500988,
0.0026678682770580053,
0.0037395243998616934,
0.047271642833948135,
0.09047208726406097,
-0.018478255718946457,
0.006419050507247448,
0.00009833367221290246,
0.013534029945731163,
0.08103647828102112,
-0.013803735375404358,
0.02321508713066578,
0.023270556703209877,
0.04674117639660835,
0.007248607464134693,
0.015575356781482697,
-0.06466315686702728,
-0.0085822232067585,
0.04392227530479431,
-0.0035377477761358023,
0.010058353655040264,
-0.043624285608530045,
0.018716031685471535,
-0.0026408773846924305,
-0.008652796968817711,
0.005239890888333321,
0.008200124837458134,
0.0035410320851951838,
-0.03553423658013344,
0.03409861773252487,
-0.016451790928840637,
0.0019216210348531604,
-0.02637222409248352,
0.01590745337307453,
-0.04428890347480774,
0.03270680829882622,
0.00819606427103281,
-0.019858982414007187,
-0.07020929455757141,
0.03662647679448128,
-0.01973186805844307,
-0.04301272705197334,
-0.011591074988245964,
0.034865621477365494,
0.013060567900538445,
-0.08265525102615356,
0.015469859354197979,
-0.04781552031636238,
-0.003705355105921626,
0.02750641666352749,
0.009657460264861584,
0.03785768151283264,
0.006317113991826773,
-0.014043747447431087,
-0.008801490068435669,
0.037150438874959946,
-0.03511583060026169,
-0.008337116800248623,
-0.002333259442821145,
-0.0017132234061136842,
-0.0293817687779665,
-0.032549601048231125,
0.009349939413368702,
-0.03040112741291523,
-0.005381864029914141,
0.07759194821119308,
-0.010561426170170307,
0.026947908103466034,
-0.006153593305498362,
0.0017065397696569562,
0.01764981634914875,
0.0017134546069428325,
-0.01189904659986496,
-0.024427328258752823,
-0.03379487618803978,
-0.0217591542750597,
-0.05841531977057457,
0.06609638780355453,
0.01337631605565548,
-0.05950833112001419,
0.008671071380376816,
0.027386285364627838,
0.03433052822947502,
0.025709282606840134,
-0.012208224274218082,
0.015457911416888237,
0.01153890322893858,
0.00840661209076643,
-0.08364677429199219,
0.0037847759667783976,
0.04255368933081627,
-0.011423081159591675,
-0.07881444692611694,
-0.001324336975812912,
-0.00624468270689249,
-0.02505025640130043,
-0.038741108030080795,
0.017656192183494568,
-0.002486441982910037,
0.011645054444670677,
-0.00997121911495924,
-0.012202986516058445,
-0.04943525046110153,
0.10692878812551498,
0.014024686068296432,
-0.00792451947927475,
0.0022651487961411476,
0.016911931335926056,
0.03261590376496315,
0.05181761085987091,
-0.011151560582220554,
0.08946410566568375,
0.013223539106547832,
0.06387777626514435,
-0.0051269615069031715,
0.02562638185918331,
-0.04584735631942749,
-0.07514510303735733,
-0.0037381756119430065,
0.07527099549770355,
-0.019697684794664383,
0.02377893775701523,
-0.027805564925074577,
-0.0004974306211806834,
-0.018520165234804153,
-0.04263690114021301,
0.08831044286489487,
0.024014145135879517,
0.0207753274589777,
-0.016735631972551346,
0.005279950797557831,
-0.02569355070590973,
0.052883464843034744,
0.016081426292657852,
-0.0024501746520400047,
-0.033087264746427536,
-0.06582190096378326,
0.03233740106225014,
-0.006033352576196194,
-0.005515701603144407,
0.06977129727602005,
-0.011376375332474709,
0.027533305808901787,
0.06470014154911041,
0.04465106129646301,
0.010790910571813583,
-0.02140071988105774,
-0.0028432311955839396,
0.029329119250178337,
0.02993663027882576,
-0.01573324389755726,
0.06012730300426483,
-0.04501570016145706,
-0.01392448041588068,
-0.0015560840256512165,
0.030653800815343857,
-0.023639895021915436,
-0.04762838035821915,
-0.03993874788284302,
-0.04532461240887642,
0.056211020797491074,
-0.009353921748697758,
0.02661292813718319,
0.02271592617034912,
0.06909319013357162,
0.004886649549007416,
0.05974002182483673,
0.020017927512526512,
-0.07923484593629837,
0.037172913551330566,
0.02016736939549446,
0.017538197338581085,
0.02692967839539051,
-0.015470113605260849,
0.08628245443105698,
0.011693346314132214,
0.009563989005982876,
0.03726111724972725,
-0.09709250181913376,
-0.07621163874864578,
-0.017700770869851112,
0.0028439508751034737,
0.07319620996713638,
-0.027333583682775497,
-0.020423557609319687,
0.08957687765359879,
0.020111048594117165,
0.029480190947651863,
0.025983043015003204,
0.009802531450986862,
0.008619949221611023,
-0.02211562916636467,
-0.04757380113005638,
0.012383248656988144,
0.04572281986474991,
0.015499944798648357,
-0.030711593106389046,
0.005363804753869772,
-0.03337038680911064,
0.02823800779879093,
0.03550518676638603,
-0.009243348613381386,
0.062036409974098206,
0.02524580806493759,
0.03297596424818039,
0.0016364778857678175,
0.019243063405156136,
-0.05302399769425392,
0.017851553857326508,
0.0050970748998224735,
0.016254736110568047,
0.0007062286604195833,
-0.015603171661496162,
0.13080640137195587,
0.06445907801389694,
-0.020070822909474373,
-0.03384045884013176,
0.019150882959365845,
-0.006923212204128504,
-0.0349351204931736,
0.03271700441837311,
0.031760863959789276,
-0.0415068082511425,
0.017401061952114105,
0.020621856674551964,
-0.001823248341679573,
-0.012226270511746407,
-0.03084898367524147,
-0.005722822155803442,
0.06895200908184052,
-0.025611940771341324,
0.03451855480670929,
0.02176533080637455,
-0.037524450570344925,
0.004861439578235149,
-0.03287076950073242,
-0.07767104357481003,
-0.015674471855163574,
0.025474118068814278,
-0.01483429130166769,
0.04965232312679291,
-0.02558203786611557,
-0.023945778608322144,
-0.031658634543418884,
-0.052929144352674484,
0.042579472064971924,
0.041461341083049774,
0.03857257217168808,
-0.005559895187616348,
0.04018258675932884,
-0.03391994535923004,
0.0006977224256843328,
-0.033888719975948334,
-0.03057880327105522,
-0.03548673912882805,
-0.020964330062270164,
0.0017150897765532136,
0.03933337330818176,
0.01710505597293377,
0.00899843405932188,
-0.01625296287238598,
-0.00628353375941515,
-0.008141621015965939,
-0.03632844612002373,
0.03559793531894684,
-0.02753216028213501,
-0.011594400741159916,
-0.02715872973203659,
0.006578557658940554,
0.042224541306495667,
-0.03726360201835632,
-0.026029711589217186,
-0.013407132588326931,
-0.05045315995812416,
0.04251468554139137,
-0.07983125746250153,
-0.0382394976913929,
-0.002505664946511388,
-0.009736488573253155,
0.050586991012096405,
0.0009043843019753695,
0.02043941803276539,
0.0562700554728508,
0.01520519144833088,
0.028980381786823273,
0.007143231574445963,
0.00004307926064939238,
0.04299922287464142,
0.026965152472257614,
0.0020359631162136793,
0.02946518547832966,
-0.005885655991733074,
-0.014336517080664635,
-0.041766081005334854,
0.01681942492723465,
-0.04850023612380028,
-0.2621684670448303,
0.024923114106059074,
0.010842448100447655,
0.0014317026361823082,
0.035147905349731445,
-0.01590660959482193,
0.011320504359900951,
-0.02495267428457737,
0.00006568319804500788,
0.0158282071352005,
-0.027671413496136665,
-0.03544970601797104,
-0.010097728110849857,
0.034144915640354156,
0.021185770630836487,
0.014962058514356613,
-0.011277341283857822,
-0.03262585029006004,
-0.016932357102632523,
0.02973429672420025,
-0.017071597278118134,
-0.04198451340198517,
0.0388546884059906,
0.03106657974421978,
0.013371254317462444,
0.03875281661748886,
-0.046524375677108765,
0.06423686444759369,
-0.027393655851483345,
-0.054263826459646225,
0.022360434755682945,
-0.029977459460496902,
0.00859823264181614,
0.0030636286828666925,
-0.016268428415060043,
0.006535148248076439,
0.05839977413415909,
0.044188421219587326,
-0.0009206240065395832,
0.011461803689599037,
-0.020563067868351936,
-0.0215615201741457,
0.020838625729084015,
-0.024720001965761185,
0.08997202664613724,
-0.03478424996137619,
-0.07759560644626617,
-0.017416272312402725,
-0.041326768696308136,
0.06224078685045242,
-0.034700267016887665,
-0.01768309436738491,
-0.009240386076271534,
0.05732313171029091,
-0.016215572133660316,
-0.03531242907047272,
-0.032996952533721924,
0.004729262087494135,
-0.029565773904323578,
-0.052421897649765015,
0.0128115713596344,
-0.05473968759179115,
-0.04792902246117592,
-0.02310584858059883,
-0.003992148209363222,
-0.09789569675922394,
-0.05001794546842575,
-0.015190423466265202,
0.057226717472076416,
0.0422787107527256,
-0.04391342028975487,
-0.011715082451701164,
-0.010962553322315216,
-0.11478379368782043,
-0.01906333677470684,
-0.05893078073859215,
-0.057117633521556854,
-0.0220732893794775,
0.00582583574578166,
0.03701971471309662,
-0.04734449461102486,
-0.03171117603778839,
0.023188380524516106,
0.021287593990564346,
0.02006143145263195,
0.0067984252236783504,
0.04031062498688698,
-0.027730420231819153,
-0.009530622512102127,
0.00027866472373716533,
0.045750174671411514,
-0.0595378503203392,
-0.028144601732492447,
0.01053998339921236,
0.0014628784265369177,
0.007438473403453827,
0.0026605846360325813,
-0.008972052484750748,
0.05396479368209839,
0.06511806696653366,
0.030020205304026604,
-0.029293809086084366,
0.03626026213169098,
-0.04647331312298775,
0.0027940187137573957,
0.0023091300390660763,
-0.05897830054163933,
-0.004586076829582453,
0.05066227912902832,
0.02928987890481949,
0.000341909151757136,
-0.0006071130628697574,
0.03031979501247406,
-0.0512053556740284,
-0.04212494567036629,
-0.007182452827692032,
0.026531696319580078,
0.004476634785532951,
0.0012785207945853472,
-0.015018239617347717,
-0.05191381275653839,
0.014707689173519611,
0.011739591136574745,
-0.03279993683099747,
-0.012836107052862644,
-0.018529057502746582,
0.02184019237756729,
-0.024829450994729996,
0.0091041699051857,
0.0032697429414838552,
0.01378753874450922,
0.010854393243789673,
0.02500796504318714,
-0.015344088897109032,
0.01934666745364666,
-0.02984999120235443,
-0.03884311392903328,
-0.02034158445894718,
0.012115017510950565,
-0.006184868980199099,
-0.008007961325347424,
-0.004368560388684273,
0.031313806772232056,
0.0217862781137228,
0.03606259077787399,
-0.028761686757206917,
0.020135892555117607,
0.0036571654491126537,
-0.013827626593410969,
-0.016341060400009155,
-0.028156762942671776,
-0.031532205641269684,
0.012763955630362034,
-0.025850526988506317,
-0.020139915868639946,
-0.06574121862649918,
0.05533064901828766,
-0.017177706584334373,
-0.02444426156580448,
-0.028868017718195915,
0.010071727447211742,
-0.05687643215060234,
-0.01541590504348278,
-0.0006232077139429748,
-0.005761520937085152,
0.0468573272228241,
0.031167838722467422,
0.02179996483027935,
-0.008581195026636124,
-0.016138017177581787,
0.011493366211652756,
0.013673716224730015,
-0.030138181522488594,
-0.023501327261328697,
-0.05819762498140335,
0.010228922590613365,
0.01437589805573225,
0.003256306517869234,
0.029431747272610664,
-0.003950128331780434,
0.012411038391292095,
-0.023012755438685417,
0.03065100871026516,
0.0031678383238613605,
0.025962719693779945,
-0.002819706918671727,
0.025379611179232597,
0.010008559562265873,
-0.03103848546743393,
-0.06323567777872086,
-0.04309656471014023,
0.013076084665954113,
-0.006331524346023798,
0.04422703757882118,
-0.019199393689632416,
-0.08223044872283936,
0.01761717163026333,
0.010759146884083748,
0.0156065309420228,
0.017863577231764793,
-0.020300747826695442,
-0.019878027960658073,
-0.04364921525120735,
0.07419227063655853,
0.07788606733083725,
-0.05805773288011551,
-0.019480377435684204,
-0.01283412054181099,
0.04405086487531662,
-0.012809745967388153,
0.0026329969987273216,
-0.07253952324390411,
-0.016336169093847275,
-0.037972934544086456,
0.02301534079015255,
-0.014644112437963486,
-0.06412209570407867,
-0.05087621137499809,
-0.020558243617415428,
0.011271804571151733,
0.001020714407786727,
-0.0008721847552806139,
0.00896869134157896,
-0.01895291544497013,
-0.03701583668589592,
-0.008701149374246597,
-0.007129874546080828,
-0.04078034684062004,
0.02682161144912243,
-0.01881924644112587,
0.03388979658484459,
0.0016827672952786088,
0.0585276260972023,
0.017126843333244324,
0.0076174745336174965,
0.002155493013560772,
-0.04074561968445778,
-0.006739672273397446,
0.001055312342941761,
0.05533949285745621,
0.002246446441859007,
0.04189039021730423,
-0.007445096503943205,
0.0023290514945983887,
-0.03662025183439255,
0.0006161523051559925,
-0.01337804738432169,
-0.005004499573260546,
0.016304166987538338,
0.07165505737066269,
-0.00440339045599103,
0.011825520545244217,
0.025608070194721222,
-0.020381435751914978,
0.023117106407880783,
-0.020375851541757584,
-0.03518807888031006,
0.026613492518663406,
-0.04090897738933563,
0.037671349942684174,
0.030907930806279182,
0.020777294412255287,
-0.06840653717517853,
0.013841703534126282,
0.059831202030181885,
-0.000639881647657603,
0.026082688942551613,
-0.02026226744055748,
0.02272002212703228,
-0.0077389865182340145,
-0.004057205282151699,
-0.09380453079938889,
-0.010584958828985691,
0.021566228941082954,
-0.004440804943442345,
-0.030701424926519394,
-0.01353602297604084,
-0.01711316592991352,
0.017816435545682907,
-0.034345850348472595,
-0.038940150290727615,
0.036909010261297226,
0.013263339176774025,
-0.017782632261514664,
0.010032014921307564,
-0.026994019746780396,
0.007426264230161905,
0.01893853209912777,
-0.044402945786714554,
-0.007394326850771904,
-0.044241152703762054,
0.04768231883645058,
-0.022761182859539986,
0.0336955264210701,
-0.000982212834060192,
-0.008750258013606071,
0.04364650323987007,
0.03956730291247368,
-0.01578415557742119,
0.07447009533643723,
-0.01795833744108677,
0.019677437841892242,
0.033917780965566635,
0.008823013864457607,
-0.0010068072006106377,
0.019635384902358055,
-0.01794542744755745,
-0.0490262508392334,
0.008842544630169868,
0.004887325689196587,
-0.006967366207391024,
-0.0305082518607378,
0.0648486539721489,
-0.015577031299471855,
-0.038235727697610855,
-0.015747195109725,
0.006179984658956528,
-0.05104857310652733,
0.0029266392812132835,
-0.016370126977562904,
-0.026419008150696754,
-0.05287482216954231,
0.07015116512775421,
0.014937005005776882,
0.0065559386275708675,
0.08207416534423828,
-0.001823614351451397,
-0.03374180197715759,
0.0035105037968605757,
0.05410933494567871,
0.08668484538793564,
0.018167542293667793,
-0.008641664870083332,
0.0677461251616478,
-0.023828936740756035,
-0.05734092742204666,
0.02519938349723816,
-0.035379424691200256,
-0.004478535149246454,
-0.02613350935280323,
0.006415671203285456,
0.07705893367528915,
-0.0575173981487751,
0.03980576619505882,
-0.015588507056236267,
-0.01315877865999937,
0.00945295486599207,
0.03792668506503105,
0.01786133088171482,
0.06367245316505432,
0.018731221556663513,
0.08662603795528412,
-0.007940848357975483,
-0.01680184341967106,
0.03295591101050377,
-0.010194191709160805,
-0.028546268120408058,
-0.001035581692121923,
-0.01111044641584158,
-0.00610439945012331,
0.024326570332050323,
-0.017974240705370903,
0.06843125820159912,
-0.007640971336513758,
-0.01810464821755886,
-0.003488613059744239,
0.034946586936712265,
0.002921527251601219,
0.022991789504885674,
-0.01062722411006689,
-0.061353445053100586,
-0.00642307149246335,
-0.028797926381230354,
-0.021061714738607407,
0.0013938198098912835,
-0.03843720629811287,
0.050902269780635834,
-0.05225277692079544,
0.030666647478938103,
0.004343525040894747,
0.0022028719540685415,
-0.04000245779752731,
-0.029679730534553528,
-0.0396752767264843,
-0.04681443050503731,
-0.057079020887613297,
0.0004969271831214428,
0.014544163830578327,
-0.026544442400336266,
-0.058682892471551895,
-0.020922286435961723,
0.0033986452035605907,
-0.0005438541411422193,
0.005088300444185734,
-0.03530595824122429,
-0.029167914763092995,
0.0254353117197752,
0.027354389429092407,
0.015233359299600124,
0.0531005859375,
0.026061153039336205,
-0.002743653254583478,
-0.0253033097833395,
-0.011957762762904167,
0.004635773133486509,
0.05462229996919632,
-0.003717942163348198,
0.003940306603908539,
-0.05897720158100128,
0.03684483841061592,
0.030793659389019012,
0.015221388079226017,
-0.08877987414598465,
-0.01714085042476654,
0.013510648161172867,
-0.02303226850926876,
0.04992127791047096,
0.027395203709602356,
0.035964496433734894,
-0.022392308339476585,
-0.026601232588291168,
-0.012351103127002716,
0.03566162660717964,
0.04511008411645889,
-0.026634886860847473,
0.07472480088472366,
0.013910413719713688,
0.0011632952373474836,
-0.06557508558034897,
-0.006372016854584217,
0.007432588376104832,
-0.016132434830069542,
-0.04296892136335373,
0.000285309215541929,
-0.032280083745718,
-0.08652270585298538,
-0.0183272548019886,
0.009937424212694168,
-0.023211855441331863,
-0.016481323167681694,
-0.0029483786784112453,
0.05496775358915329,
-0.055687759071588516,
0.05319305136799812,
-0.03350788727402687,
0.030465615913271904,
-0.010044701397418976,
-0.03188122808933258,
-0.008700636215507984,
0.05105121433734894,
0.006363604683429003,
-0.035159409046173096,
0.03821150213479996,
-0.05610588937997818,
-0.008423734456300735,
-0.01959098130464554,
-0.004276272375136614,
0.04485302418470383,
-0.016795024275779724,
0.01818588562309742
] | [
-0.08235600590705872,
-0.06168727949261665,
0.0016874894499778748,
-0.07341642677783966,
0.04613586887717247,
-0.048716623336076736,
-0.039511408656835556,
0.01224055141210556,
-0.0027082408778369427,
-0.018677648156881332,
0.0014641975285485387,
-0.01014244370162487,
0.013256397098302841,
0.006419150624424219,
0.07449012994766235,
0.007044775877147913,
-0.021808842197060585,
-0.06362398713827133,
-0.005868738517165184,
0.017895754426717758,
-0.03134877607226372,
0.009588496759533882,
-0.024309644475579262,
-0.053855378180742264,
-0.017909901216626167,
0.02290586195886135,
0.012853574939072132,
-0.012963355518877506,
-0.015429954044520855,
-0.18328672647476196,
-0.011890485882759094,
-0.031845565885305405,
0.008817563764750957,
0.015895508229732513,
0.01024598442018032,
0.025165166705846786,
0.01757456175982952,
0.0013342112069949508,
-0.011054499074816704,
0.02818300947546959,
0.026658732444047928,
0.03394229710102081,
-0.0450010821223259,
0.01789374090731144,
0.07789293676614761,
-0.017187511548399925,
-0.022938180714845657,
-0.015489364042878151,
-0.011846703477203846,
-0.00042033326462842524,
-0.053189147263765335,
0.022516753524541855,
-0.011788204312324524,
-0.040419310331344604,
-0.0024028290063142776,
0.03847147896885872,
0.053623951971530914,
0.09301520884037018,
0.015853144228458405,
0.05384334921836853,
0.008615541271865368,
-0.02278411202132702,
-0.1599120795726776,
0.1246238574385643,
0.016800126060843468,
0.030452650040388107,
-0.04259423911571503,
-0.014780896715819836,
-0.0026024985127151012,
0.059843357652425766,
0.010339021682739258,
0.005373888649046421,
0.004327628295868635,
0.07348674535751343,
0.003346315585076809,
-0.025309070944786072,
-0.010276081040501595,
0.028298312798142433,
0.04609992727637291,
-0.05854823812842369,
-0.028010213747620583,
-0.013098048977553844,
-0.013537152670323849,
0.0015445208409801126,
-0.04073183983564377,
0.024685854092240334,
-0.02219650335609913,
0.07191767543554306,
0.03588937595486641,
0.017519552260637283,
0.04489579424262047,
-0.028504498302936554,
0.07099326699972153,
-0.0077595217153429985,
-0.09155888110399246,
0.006271307356655598,
-0.00022590893786400557,
-0.009470454417169094,
-0.06875757873058319,
0.4325489103794098,
0.004692604765295982,
-0.018108446151018143,
0.04190180078148842,
0.006874114274978638,
0.028013668954372406,
-0.00034057311131618917,
-0.02710198238492012,
-0.042187392711639404,
-0.027111928910017014,
-0.008457403630018234,
0.0017274003475904465,
-0.021514125168323517,
0.07223132252693176,
-0.04264473542571068,
0.015082237310707569,
-0.022138511762022972,
0.014802476391196251,
-0.004806697368621826,
-0.003434865502640605,
0.013340885750949383,
-0.0029201549477875233,
-0.026887523010373116,
0.006496510002762079,
0.01295723021030426,
0.012921151705086231,
-0.022653918713331223,
0.03148720785975456,
0.07032459229230881,
0.028710009530186653,
0.016500921919941902,
0.06321733444929123,
0.010088826529681683,
-0.04590747877955437,
-0.004662085324525833,
0.013642455451190472,
0.015278789214789867,
0.03154508396983147,
-0.012376192025840282,
-0.003543321043252945,
0.01863652653992176,
-0.04293965920805931,
-0.02691185288131237,
0.027298178523778915,
-0.013341772370040417,
-0.035365741699934006,
0.09059814363718033,
0.033187661319971085,
-0.017862869426608086,
-0.03939807787537575,
-0.04771193116903305,
-0.012479530647397041,
0.029727058485150337,
0.04521958529949188,
-0.03863232210278511,
-0.016538254916667938,
0.010909613221883774,
0.06601732224225998,
-0.020973674952983856,
-0.044530004262924194,
-0.03340953215956688,
-0.005602243356406689,
-0.04505682736635208,
-0.045601923018693924,
0.030372468754649162,
0.024204708635807037,
-0.10818751156330109,
-0.020857643336057663,
0.023651015013456345,
0.019651059061288834,
-0.03238510340452194,
-0.00030212479759939015,
-0.012203729711472988,
-0.031289637088775635,
-0.00186596077401191,
0.035898059606552124,
-0.03328448534011841,
-0.03315308690071106,
0.0016536280745640397,
0.06567610800266266,
0.016961000859737396,
-0.00385025586001575,
-0.0059507982805371284,
-0.047433365136384964,
-0.010920856148004532,
-0.05399257317185402,
-0.08534147590398788,
-0.055548761039972305,
-0.02111675962805748,
-0.005749609787017107,
-0.031484007835388184,
-0.050027064979076385,
-0.020299892872571945,
-0.048495519906282425,
0.025616351515054703,
-0.03907274454832077,
-0.00018807979358825833,
0.006643594708293676,
-0.020792590454220772,
0.04140177741646767,
-0.07180994749069214,
0.05012001469731331,
0.0036549177020788193,
-0.016368158161640167,
0.02212178148329258,
-0.04876597970724106,
0.05190194770693779,
0.05803719535470009,
-0.056663718074560165,
0.050825364887714386,
0.032736994326114655,
-0.055443476885557175,
0.0137235252186656,
0.016002992168068886,
0.02629769966006279,
0.002795437118038535,
-0.005828105844557285,
-0.03207019716501236,
-0.013530701398849487,
0.030003391206264496,
0.039908211678266525,
-0.03937946632504463,
0.002988262102007866,
-0.022152209654450417,
-0.3631610572338104,
-0.023366885259747505,
-0.027307752519845963,
-0.012912863865494728,
-0.006864618044346571,
-0.050407834351062775,
0.015055268071591854,
-0.009026113897562027,
-0.008415128104388714,
0.0193663090467453,
0.1042555570602417,
-0.02925589494407177,
0.04147413372993469,
-0.03708215802907944,
0.014321264810860157,
0.03456626459956169,
-0.03185676410794258,
-0.00552002526819706,
-0.005302277393639088,
0.03168415278196335,
0.007423117756843567,
-0.028142636641860008,
-0.021172018721699715,
-0.05487889051437378,
0.0008642850443720818,
-0.018694354221224785,
0.10151712596416473,
0.036088429391384125,
0.056069087237119675,
-0.03936683014035225,
0.0818590298295021,
0.01933954656124115,
0.014550170861184597,
-0.09265212714672089,
0.002562224632129073,
-0.0046983445063233376,
0.01540460716933012,
0.030598238110542297,
-0.0024055398534983397,
-0.01450507901608944,
-0.0620642751455307,
0.02637038752436638,
-0.044238507747650146,
-0.04722995311021805,
-0.019069969654083252,
-0.0002741635253187269,
-0.015379698015749454,
-0.036986418068408966,
-0.016441095620393753,
0.07499933987855911,
0.008382492698729038,
0.025631867349147797,
0.008337573148310184,
0.06097261980175972,
0.006756302900612354,
-0.014970263466238976,
-0.03547803312540054,
0.008407658897340298,
0.023366181179881096,
0.020909592509269714,
0.03769620135426521,
0.03058919869363308,
0.049967240542173386,
-0.04855385050177574,
-0.000196219451026991,
0.00658063730224967,
0.007206800859421492,
0.00941211823374033,
0.05235256999731064,
-0.017924200743436813,
-0.040493350476026535,
0.0833563357591629,
0.024385511875152588,
0.04765389859676361,
0.014267862774431705,
0.00954030267894268,
-0.0034133733715862036,
0.0076178559102118015,
0.019027410075068474,
-0.007190524134784937,
-0.00043709680903702974,
-0.02695295214653015,
0.04529886692762375,
-0.03255047649145126,
-0.027808809652924538,
0.05745775252580643,
-0.008789901621639729,
-0.035808779299259186,
0.08615022897720337,
0.0017952665220946074,
-0.015769371762871742,
-0.013943438418209553,
-0.020905597135424614,
-0.055199481546878815,
0.062199998646974564,
-0.046649519354104996,
-0.2806108593940735,
0.021747445687651634,
0.07482623308897018,
0.0813322439789772,
-0.01414369698613882,
-0.019427068531513214,
0.025571847334504128,
-0.0369684137403965,
-0.02908695489168167,
0.015741556882858276,
0.0186309777200222,
0.002265721093863249,
-0.01386635098606348,
-0.029114283621311188,
0.012494709342718124,
-0.019260523840785027,
0.038691792637109756,
0.0017796035390347242,
0.019575048238039017,
-0.010203972458839417,
0.04803331196308136,
-0.026511721312999725,
0.16161373257637024,
0.01681155152618885,
0.014407182112336159,
0.0280655175447464,
-0.02214662916958332,
0.00958597008138895,
0.041337672621011734,
0.021020401269197464,
-0.00020813182345591486,
-0.014381280168890953,
0.038055356591939926,
-0.006165157072246075,
0.04758544638752937,
-0.02750452607870102,
-0.012681326828897,
0.04753350093960762,
0.012602624483406544,
0.002553956350311637,
-0.05154598876833916,
0.04255828633904457,
-0.02971397526562214,
0.0457717627286911,
0.03944369778037071,
-0.007713415659964085,
0.02060978300869465,
-0.008366980589926243,
-0.043410662561655045,
0.005653611849993467,
-0.03257346525788307,
-0.042917586863040924,
-0.022502737119793892,
-0.03210093453526497,
-0.0015864247689023614,
0.051546577364206314,
0.05684610828757286,
-0.046878669410943985,
0.00723726861178875,
0.041486289352178574,
0.01935601606965065,
-0.05093589425086975,
0.14619922637939453,
0.03753231093287468,
0.033139776438474655
] | [
0.00007019309850875288,
0.0423097126185894,
-0.04075097292661667,
-0.03503545746207237,
-0.0019389946246519685,
0.00773850129917264,
-0.02540440298616886,
0.011807707138359547,
-0.044799987226724625,
-0.008681150153279305,
-0.032613176852464676,
-0.007820344530045986,
0.046326085925102234,
-0.039091747254133224,
-0.0026022354140877724,
0.008785583078861237,
0.02502540685236454,
0.010712835937738419,
0.04302747920155525,
-0.03856571763753891,
-0.04406436160206795,
0.01777205429971218,
0.051221396774053574,
-0.002028828952461481,
-0.042283084243535995,
0.05084500461816788,
-0.07200945913791656,
0.03384492173790932,
0.018102621659636497,
-0.13307678699493408,
-0.005325641483068466,
-0.031452689319849014,
-0.03335509076714516,
0.00015003031876403838,
-0.01462938729673624,
0.04379566013813019,
-0.04665450006723404,
-0.006259195040911436,
-0.025116795673966408,
0.0009955742862075567,
0.03068615309894085,
-0.0015431263018399477,
-0.008696602657437325,
0.018769370391964912,
-0.029243726283311844,
-0.03488827124238014,
-0.05669910088181496,
0.013239562511444092,
-0.0036007524468004704,
-0.0127473846077919,
-0.05007839575409889,
-0.013570008799433708,
0.011518788523972034,
-0.022052397951483727,
0.03929027542471886,
-0.014985362999141216,
-0.025118762627243996,
-0.01419866643846035,
0.012459170073270798,
-0.031554605811834335,
0.026705607771873474,
0.0033941266592592,
-0.005621952936053276,
-0.030275970697402954,
0.006348130293190479,
-0.033718936145305634,
-0.034606900066137314,
-0.016931265592575073,
-0.016357433050870895,
0.023256631568074226,
-0.03485601022839546,
0.01852869987487793,
-0.05245211720466614,
-0.009843792766332626,
-0.043736424297094345,
-0.024264149367809296,
0.020206090062856674,
0.002491008723154664,
0.018872860819101334,
-0.005640724208205938,
-0.018909825012087822,
-0.025351017713546753,
0.010709867812693119,
0.015873610973358154,
-0.01570972241461277,
-0.04830148071050644,
0.008101163432002068,
0.02358105219900608,
0.0013696526875719428,
-0.009274490177631378,
-0.010416890494525433,
-0.01457585021853447,
0.0061638243496418,
0.045586057007312775,
-0.08083543181419373,
-0.0028266271110624075,
0.017161883413791656,
-0.003441717242822051,
-0.015695638954639435,
0.8150323033332825,
-0.00799534097313881,
-0.004025731235742569,
0.0032166228629648685,
-0.00756012974306941,
-0.01774377003312111,
-0.0352325476706028,
0.005571998190134764,
0.009562413208186626,
-0.013659544289112091,
-0.06044111028313637,
-0.010960852727293968,
-0.022324973717331886,
0.015619711950421333,
-0.012219849042594433,
-0.013078374788165092,
0.017093373462557793,
0.016529813408851624,
0.010679432190954685,
0.03720741346478462,
0.03849032148718834,
0.04128703102469444,
0.00575693603605032,
0.030746445059776306,
-0.0011699630413204432,
0.02727149985730648,
-0.1903209686279297,
-0.008352434262633324,
-7.591398353591997e-33,
0.03312200307846069,
-0.04161728173494339,
-0.02167588844895363,
0.006298147141933441,
0.04172900691628456,
-0.024992242455482483,
-0.002144893165677786,
0.02046475186944008,
0.003981152083724737,
-0.01416836678981781,
0.055050019174814224,
-0.005019775591790676,
-0.03181544691324234,
0.013305680826306343,
-0.005935699213296175,
0.043986786156892776,
0.0024688050616532564,
0.0317792147397995,
-0.019620122388005257,
-0.0002859405940398574,
0.008512395434081554,
0.029649140313267708,
0.02671521157026291,
0.04926076903939247,
0.041016288101673126,
0.04659898951649666,
-0.004983567167073488,
0.008377762511372566,
0.0029012577142566442,
-0.033060405403375626,
0.009955824352800846,
-0.018466074019670486,
-0.06334324926137924,
-0.01314902026206255,
0.021342437714338303,
-0.0392271913588047,
-0.018228331580758095,
0.004953758325427771,
-0.03284505009651184,
-0.02556070126593113,
0.007199469022452831,
-0.02872953750193119,
-0.026857836171984673,
-0.012641034089028835,
-0.01700572669506073,
-0.006211434956640005,
0.003007278311997652,
0.01258351281285286,
0.004732372704893351,
-0.00046248474973253906,
0.015021066181361675,
0.00026757430168800056,
0.007207912392914295,
-0.0029479225631803274,
0.002250587334856391,
-0.02373391017317772,
0.03523242101073265,
0.03072870336472988,
0.007859040051698685,
0.019340496510267258,
-0.006171296816319227,
0.008419465273618698,
0.002305018249899149,
0.01915743015706539,
0.03887364640831947,
-0.031439896672964096,
0.021542243659496307,
0.009903501719236374,
-0.0064384834840893745,
-0.019978264346718788,
-0.012912963517010212,
-0.0320059172809124,
0.013004054315388203,
-0.006487278267741203,
0.03749058023095131,
-0.006985213607549667,
0.01360224187374115,
-0.05913947895169258,
0.023396046832203865,
0.02838483452796936,
0.019398966804146767,
-0.009920705109834671,
-0.010293271392583847,
-0.04558708891272545,
-0.04734359309077263,
-0.012753741815686226,
0.0020865811966359615,
-0.021169913932681084,
-0.016431963071227074,
0.020338937640190125,
-0.009254652075469494,
0.05705118551850319,
0.0178003441542387,
-0.01691887155175209,
-0.020159520208835602,
7.01717891410691e-33,
-0.010848743841052055,
-0.004930585622787476,
-0.00541936419904232,
0.012639393098652363,
0.03073550947010517,
0.016995416954159737,
0.03401535749435425,
0.013204230926930904,
-0.00823966134339571,
0.028845489025115967,
-0.038268305361270905,
0.010104082524776459,
-0.04252771660685539,
0.03359223157167435,
0.07597590237855911,
-0.044921956956386566,
0.03339643403887749,
0.011049576103687286,
0.01734921894967556,
0.01785440184175968,
0.021728355437517166,
0.044056929647922516,
0.017846401780843735,
0.038978248834609985,
0.04528198763728142,
0.045953430235385895,
0.0018036594847217202,
-0.003947731107473373,
-0.010498498566448689,
0.029317526146769524,
-0.0030081316363066435,
-0.023780131712555885,
-0.0033961425069719553,
0.027111543342471123,
-0.02477646805346012,
0.02348513714969158,
0.018991744145751,
0.008661883883178234,
-0.010652439668774605,
0.011046968400478363,
0.03150251507759094,
-0.007283426821231842,
-0.020382791757583618,
0.03307700902223587,
0.015225633978843689,
-0.0033677241299301386,
-0.01055938471108675,
0.021973397582769394,
-0.003765588626265526,
0.01599835604429245,
-0.01236218772828579,
0.018872559070587158,
0.01786179095506668,
-0.010059383697807789,
0.03505300357937813,
-0.006864896975457668,
-0.027610139921307564,
0.021945932880043983,
0.02177797071635723,
-0.0128290681168437,
-0.03203511983156204,
0.009954055771231651,
-0.0535474568605423,
0.001216418924741447,
-0.03469476103782654,
0.005125314462929964,
-0.06632857769727707,
-0.04300994798541069,
0.03956421837210655,
0.04656510055065155,
-0.029263891279697418,
0.024755224585533142,
-0.00909424852579832,
0.01873195543885231,
-0.0007881350466050208,
0.051094476133584976,
0.01088252104818821,
0.019022991880774498,
-0.011212917044758797,
-0.0009532409603707492,
-0.017151396721601486,
0.021488308906555176,
0.014565939083695412,
-0.04215133562684059,
0.038124095648527145,
0.0097310496494174,
-0.055262740701436996,
0.018297510221600533,
0.028871554881334305,
-0.02071811817586422,
0.03494733199477196,
-0.029140692204236984,
-0.023394279181957245,
-0.01202590111643076,
-0.027133453637361526,
-1.2527919146521072e-8,
0.006237001158297062,
-0.004725368693470955,
-0.033924806863069534,
0.003650595434010029,
0.035665929317474365,
0.0036554543767124414,
-0.006732467096298933,
-0.05069101229310036,
0.026828330010175705,
0.03381165489554405,
0.022121235728263855,
0.006292293313890696,
0.03989321365952492,
0.04646829888224602,
0.01674172654747963,
-0.026335300877690315,
0.03142232820391655,
0.004848595708608627,
0.015997737646102905,
0.02101244404911995,
0.028638219460844994,
0.03229578211903572,
0.004099918529391289,
0.017321450635790825,
0.0021315368358045816,
-0.04031871259212494,
0.0113789401948452,
-0.100542813539505,
-0.04899081587791443,
0.010714645497500896,
0.025118812918663025,
-0.015968505293130875,
0.008460350334644318,
0.02220800891518593,
-0.007020197808742523,
-0.017015598714351654,
0.052044566720724106,
0.02472584694623947,
0.012951508164405823,
-0.007413357496261597,
-0.004319673404097557,
0.014643997885286808,
-0.014166844077408314,
-0.040379222482442856,
-0.04232858121395111,
-0.006080872379243374,
-0.034422509372234344,
0.013709496706724167,
0.015230356715619564,
-0.047809142619371414,
-0.00026339685427956283,
-0.011876787059009075,
-0.0032922402024269104,
-0.027196500450372696,
0.05273984372615814,
0.028327206149697304,
0.051396798342466354,
-0.03541633114218712,
0.0070576793514192104,
-0.009610610082745552,
0.046189434826374054,
0.008366653695702553,
-0.007762257941067219,
-0.04196983948349953
] | r-rook-hello-world-example-cannot-find-a-suitable-app-in-file | https://markhneedham.com/blog/2014/08/22/r-rook-hello-world-example-cannot-find-a-suitable-app-in-file |
false | 2014-08-22 12:51:36 | Neo4j: LOAD CSV - Handling empty columns | [
"neo4j"
] | [
"neo4j"
] | A common problem that people encounter when trying to import CSV files into Neo4j using Cypher's http://docs.neo4j.org/chunked/stable/cypherdoc-importing-csv-files-with-cypher.html[LOAD CSV] command is how to handle empty or 'null' entries in said files.
For example let's try and import the following file which has 3 columns, 1 populated, 2 empty:
[source,text]
----
$ cat /tmp/foo.csv
a,b,c
mark,,
----
[source,cypher]
----
load csv with headers from "file:/tmp/foo.csv" as row
MERGE (p:Person {a: row.a})
SET p.b = row.b, p.c = row.c
RETURN p
----
When we execute that query we'll see that our Person node has properties 'b' and 'c' with no value:
[source,cypher]
----
==> +-----------------------------+
==> | p |
==> +-----------------------------+
==> | Node[5]{a:"mark",b:"",c:""} |
==> +-----------------------------+
==> 1 row
==> Nodes created: 1
==> Properties set: 3
==> Labels added: 1
==> 26 ms
----
That isn't what we want - we don't want those properties to be set unless they have a value.
TO achieve this we need to introduce a conditional when setting the 'b' and 'c' properties. We'll assume that 'a' is always present as that's the key for our Person nodes.
The following query will do what we want:
[source,cypher]
----
load csv with headers from "file:/tmp/foo.csv" as row
MERGE (p:Person {a: row.a})
FOREACH(ignoreMe IN CASE WHEN trim(row.b) <> "" THEN [1] ELSE [] END | SET p.b = row.b)
FOREACH(ignoreMe IN CASE WHEN trim(row.c) <> "" THEN [1] ELSE [] END | SET p.c = row.c)
RETURN p
----
Since there's no if or else statements in cypher we create our own conditional statement by using FOREACH. If there's a value in the CSV column then we'll loop once and set the property and if not we won't loop at all and therefore no property will be set.
[source,cypher]
----
==> +-------------------+
==> | p |
==> +-------------------+
==> | Node[4]{a:"mark"} |
==> +-------------------+
==> 1 row
==> Nodes created: 1
==> Properties set: 1
==> Labels added: 1
---- | null | null | [
-0.004668219015002251,
-0.00753707205876708,
-0.02782667800784111,
0.0373554453253746,
0.09766589105129242,
-0.006623345427215099,
0.009410043247044086,
0.025153741240501404,
-0.005245087202638388,
-0.031043659895658493,
-0.034676872193813324,
-0.008603522554039955,
-0.07019771635532379,
0.0221711453050375,
-0.009425563737750053,
0.06983058899641037,
0.08388358354568481,
0.022248001769185066,
0.013715947046875954,
-0.01996595226228237,
0.02428407035768032,
0.021896429359912872,
-0.004146744962781668,
0.037108488380908966,
0.03170932084321976,
-0.03661397844552994,
-0.014951886609196663,
-0.005959927104413509,
-0.041297271847724915,
0.011361987330019474,
0.0544276088476181,
-0.010347933508455753,
0.02427714876830578,
-0.04118369147181511,
0.013035796582698822,
0.009122921153903008,
-0.041551921516656876,
0.015220632776618004,
-0.022025514394044876,
0.0004989150329492986,
-0.04529375210404396,
0.019014813005924225,
-0.026134248822927475,
0.01813136227428913,
-0.02650081366300583,
-0.006156849209219217,
-0.02639772929251194,
0.03582005202770233,
-0.01944158971309662,
-0.004374601878225803,
-0.06658142805099487,
0.013960055075585842,
-0.007802293170243502,
0.0027396054938435555,
0.031051240861415863,
0.04020822420716286,
-0.01665157824754715,
-0.060143496841192245,
0.060079220682382584,
-0.021760759875178337,
0.002885933266952634,
-0.021900136023759842,
-0.0013987354468554258,
0.02958049438893795,
0.01817951165139675,
-0.05241519212722778,
-0.009906584396958351,
0.07961469143629074,
-0.05881289765238762,
-0.02840249612927437,
0.003707776078954339,
0.037852995097637177,
-0.01801641471683979,
-0.02940288931131363,
-0.010230416432023048,
-0.04373794049024582,
-0.009937631897628307,
0.03643964231014252,
0.023074716329574585,
0.06817314028739929,
-0.010862195864319801,
0.014026058837771416,
0.003596760332584381,
0.005367250181734562,
0.018721170723438263,
-0.05770169571042061,
-0.041500724852085114,
-0.025453465059399605,
-0.043314676731824875,
0.048326458781957626,
0.030553001910448074,
-0.02548222616314888,
-0.008905154652893543,
-0.011653119698166847,
-0.02567088045179844,
0.017304427921772003,
-0.012454850599169731,
0.011476135812699795,
0.03489067032933235,
0.00009452406811760738,
-0.02610563300549984,
0.003951428458094597,
0.007248135283589363,
0.005227424204349518,
-0.07944507151842117,
-0.024265870451927185,
-0.0224937591701746,
-0.024647610262036324,
0.00360512756742537,
0.004589138086885214,
-0.04154694452881813,
-0.04120074585080147,
-0.008550253696739674,
-0.0009638220071792603,
-0.09418528527021408,
0.06298312544822693,
0.027683919295668602,
0.019669678062200546,
-0.014152231626212597,
0.034066617488861084,
0.028196759521961212,
0.016864066943526268,
0.008479110896587372,
0.07159202545881271,
0.02879875898361206,
0.02574586309492588,
0.008146590553224087,
0.045797400176525116,
-0.0074410405941307545,
-0.0847499668598175,
-0.03205762803554535,
0.05805833265185356,
0.00872641708701849,
0.009590879082679749,
-0.011474843136966228,
-0.025613058358430862,
-0.008417608216404915,
0.03046450763940811,
0.044269878417253494,
0.0137943709269166,
-0.008263017982244492,
-0.05267447978258133,
0.051658112555742264,
0.0344163216650486,
0.031111927703022957,
0.009472696110606194,
-0.008813096210360527,
-0.05022803694009781,
-0.01186884380877018,
0.016266392543911934,
0.0552845299243927,
0.02794451080262661,
0.10323315113782883,
-0.03163408860564232,
-0.017747007310390472,
0.11854393035173416,
0.007532227784395218,
0.011233746074140072,
-0.017766805365681648,
-0.0010814432753250003,
0.0394226536154747,
0.04479224234819412,
0.025920657441020012,
0.04701760411262512,
-0.004319832194596529,
-0.012093625031411648,
-0.023086538538336754,
0.04092384874820709,
-0.00869574025273323,
0.007999439723789692,
-0.031815752387046814,
-0.058914825320243835,
0.057365719228982925,
-0.04129737243056297,
0.019024711102247238,
0.03981334716081619,
0.061517830938100815,
0.008704116567969322,
0.025970883667469025,
-0.011583833955228329,
-0.07814928889274597,
0.055085793137550354,
-0.0384579561650753,
0.0003890494699589908,
0.007693833205848932,
0.02425013668835163,
0.04935085400938988,
0.027970165014266968,
-0.002500619273632765,
0.033663973212242126,
-0.09277936071157455,
-0.031740348786115646,
-0.03212403878569603,
-0.007600013632327318,
0.05367468297481537,
-0.03497191518545151,
0.0020006655249744654,
0.05974563583731651,
-0.021513694897294044,
0.0273461751639843,
0.043101921677589417,
0.0033801451791077852,
0.03242559731006622,
-0.03387308865785599,
-0.06911449134349823,
0.055278606712818146,
0.010680865496397018,
-0.028178533539175987,
-0.013211766257882118,
0.018985234200954437,
-0.026835927739739418,
0.015713980421423912,
0.038432832807302475,
-0.013781983405351639,
0.05211228132247925,
0.025906702503561974,
0.0161178819835186,
-0.020251216366887093,
0.026562929153442383,
-0.04657110944390297,
0.028603289276361465,
-0.0065859341993927956,
-0.018389174714684486,
0.0036198936868458986,
-0.017601775005459785,
0.10614681988954544,
0.04857555776834488,
0.0001458525803172961,
-0.05636774003505707,
0.0517534576356411,
0.014735924080014229,
-0.032564468681812286,
0.032112035900354385,
-0.014335674233734608,
-0.02973307855427265,
0.0007430522819049656,
-0.03157651424407959,
0.00489005446434021,
-0.011442061513662338,
-0.003649104153737426,
0.022509755566716194,
0.03886159136891365,
-0.00553281931206584,
0.0380244143307209,
0.017263997346162796,
-0.026724275201559067,
0.0028372365050017834,
-0.060036901384592056,
-0.06174715235829353,
0.022947415709495544,
0.046356309205293655,
0.010526482947170734,
0.05638173595070839,
-0.023288415744900703,
-0.005782312247902155,
-0.026355892419815063,
-0.04940604045987129,
0.022959504276514053,
0.06646166741847992,
0.05679710581898689,
-0.014813635498285294,
0.04350820183753967,
-0.036977965384721756,
-0.012239906005561352,
-0.01463054958730936,
-0.03900599852204323,
-0.030011214315891266,
-0.006195640191435814,
0.036148883402347565,
-0.01110067218542099,
0.017263367772102356,
-0.022293899208307266,
0.007324984762817621,
-0.012822137214243412,
0.018055075779557228,
-0.005045610014349222,
0.024395810440182686,
-0.0003394234518054873,
0.012372581288218498,
-0.05606002360582352,
-0.00824956689029932,
0.06393232941627502,
-0.06641142070293427,
-0.03326793015003204,
0.01229183841496706,
-0.054313722997903824,
0.033736929297447205,
-0.05008978396654129,
-0.03314876928925514,
-0.02251722849905491,
0.020527910441160202,
0.03413829579949379,
0.007177182473242283,
-0.0025282802525907755,
0.07079499214887619,
0.018826711922883987,
-0.0037331932689994574,
0.026863498613238335,
0.02347620762884617,
0.06179304048418999,
0.004007325973361731,
0.04025343060493469,
0.045657768845558167,
-0.015219624154269695,
-0.01937500201165676,
-0.009733935818076134,
-0.014743874780833721,
-0.03014506585896015,
-0.2703278064727783,
0.06882000714540482,
-0.030288461595773697,
-0.07290404289960861,
0.024876410141587257,
-0.037939880043268204,
0.021862873807549477,
-0.015436115674674511,
-0.031660448759794235,
0.03147141635417938,
0.00239420123398304,
-0.027240445837378502,
-0.029587483033537865,
0.039872780442237854,
0.016230082139372826,
0.01208448689430952,
0.0014166791224852204,
-0.07220254093408585,
0.014378600753843784,
0.03771260008215904,
-0.019808460026979446,
-0.01316770724952221,
0.022264719009399414,
0.010990345850586891,
0.014247645623981953,
0.04730496555566788,
-0.08076129108667374,
0.06724158674478531,
-0.0659090206027031,
-0.04514707997441292,
-0.0037316810339689255,
-0.04882258549332619,
-0.0052486020140349865,
0.002151383087038994,
-0.0047905053943395615,
-0.017655204981565475,
0.05524573102593422,
0.015394392423331738,
-0.008460002951323986,
0.02832625061273575,
-0.05699075385928154,
-0.038867536932229996,
-0.00009203375520883128,
-0.020167406648397446,
0.0825841873884201,
-0.026521671563386917,
-0.05526841804385185,
-0.012019082903862,
-0.02700209617614746,
0.07931392639875412,
-0.041083429008722305,
-0.028627624735236168,
-0.028703855350613594,
0.030495798215270042,
-0.01592872105538845,
0.010593370534479618,
-0.008917315863072872,
-0.007192329503595829,
-0.04451752081513405,
-0.0369345024228096,
-0.006885104812681675,
-0.0508287250995636,
0.005575511604547501,
-0.06383898109197617,
-0.0014172116061672568,
-0.05335092172026634,
-0.08921878039836884,
-0.039136309176683426,
0.05390186980366707,
0.041222330182790756,
-0.021909864619374275,
0.0379241406917572,
0.006431104149669409,
-0.10037564486265182,
-0.02585412748157978,
-0.06540039926767349,
0.006021258886903524,
-0.006591991055756807,
-0.04868949577212334,
0.023510757833719254,
-0.04786461964249611,
-0.06202350929379463,
0.026089025661349297,
0.03710069879889488,
0.011658928357064724,
-0.002490045502781868,
0.020486194640398026,
-0.02086094208061695,
-0.04652407392859459,
0.004446518607437611,
0.05288582667708397,
-0.027504736557602882,
0.002363271312788129,
0.005883905570954084,
-0.03758839890360832,
0.018428802490234375,
-0.0032337193842977285,
-0.019018877297639847,
0.03054048866033554,
0.048046283423900604,
0.06367983669042587,
-0.025264812633395195,
0.01738799177110195,
-0.038855813443660736,
-0.025911487638950348,
-0.016584239900112152,
-0.03929303213953972,
0.0430116280913353,
0.02311801351606846,
0.021147888153791428,
0.0014044608687981963,
0.002369666239246726,
0.01024283841252327,
-0.05418730899691582,
-0.02535589225590229,
0.024162016808986664,
0.011678570881485939,
0.013453654944896698,
0.03804151341319084,
-0.021339917555451393,
-0.05842870846390724,
0.033769819885492325,
0.0305322278290987,
-0.015452269464731216,
-0.06516662985086441,
-0.024324344471096992,
-0.018110373988747597,
-0.025685446336865425,
-0.02133180946111679,
-0.017552947625517845,
-0.04579818621277809,
0.01938210427761078,
0.024153385311365128,
-0.03235087916254997,
0.04273568466305733,
-0.019251452758908272,
-0.04636504128575325,
-0.02249300666153431,
-0.016216587275266647,
-0.005510344635695219,
-0.0215570330619812,
-0.022332753986120224,
-0.0110640162602067,
0.052184056490659714,
0.04311307147145271,
-0.009568321518599987,
-0.008732394315302372,
0.020929956808686256,
0.022487176582217216,
-0.006425919011235237,
-0.007863838225603104,
-0.016928020864725113,
0.03781639039516449,
-0.024749206379055977,
-0.06888657063245773,
-0.016506027430295944,
0.04222735017538071,
-0.006101035512983799,
0.009440764784812927,
-0.0347147136926651,
0.02064288966357708,
-0.05599154904484749,
0.03530003875494003,
-0.005737917963415384,
0.007626870181411505,
0.042976681143045425,
0.011608322151005268,
-0.001949116587638855,
-0.03234856203198433,
0.01869337446987629,
-0.004770055413246155,
0.018659869208931923,
-0.05836644023656845,
-0.00609272625297308,
-0.005598781164735556,
0.010100869461894035,
0.030535707250237465,
0.03651851788163185,
0.010239895433187485,
0.04479781165719032,
0.00649108923971653,
0.0005780747160315514,
0.016804542392492294,
0.020078185945749283,
0.041814129799604416,
0.04385549575090408,
-0.008467859588563442,
0.01017437968403101,
-0.01765555702149868,
-0.02813851088285446,
-0.02313651517033577,
-0.029205286875367165,
-0.022891147062182426,
-0.015072443522512913,
-0.020293433219194412,
-0.043020833283662796,
0.025181611999869347,
0.017416641116142273,
0.01466528233140707,
0.04421280696988106,
0.0012345921713858843,
-0.020724374800920486,
-0.011978499591350555,
0.013322214595973492,
0.05497002229094505,
-0.0493791289627552,
-0.01690635457634926,
-0.019571823999285698,
-0.014658743515610695,
0.011636395938694477,
0.015993716195225716,
-0.0755293071269989,
-0.038654036819934845,
-0.02010556310415268,
0.02791760303080082,
-0.033767953515052795,
-0.047005508095026016,
-0.019226720556616783,
0.006565510295331478,
-0.008626802824437618,
0.002073651412501931,
0.02165115810930729,
0.03110615350306034,
-0.02818118967115879,
0.0032487711869180202,
0.02308843843638897,
-0.0014458339428529143,
-0.008240117691457272,
0.031875092536211014,
-0.0058781448751688,
-0.0054023084230721,
-0.010558624751865864,
0.053739018738269806,
0.019875116646289825,
-0.013899334706366062,
-0.028151851147413254,
-0.024773776531219482,
0.019475847482681274,
-0.02252436988055706,
0.04382038488984108,
0.004553935024887323,
-0.0002496041124686599,
-0.00006308669981081039,
0.004534207750111818,
0.003945302218198776,
0.011449918150901794,
-0.017285827547311783,
-0.030278850346803665,
0.021548401564359665,
0.047570403665304184,
0.005972396582365036,
0.023402318358421326,
0.007788640912622213,
-0.06941059976816177,
0.05515003576874733,
-0.023103028535842896,
-0.0620327927172184,
-0.0068953693844377995,
-0.028852948918938637,
0.008413375355303288,
0.03718213364481926,
0.0032028830610215664,
-0.042508143931627274,
0.05554642528295517,
0.06105537712574005,
0.01535488199442625,
0.020122405141592026,
-0.004294327925890684,
0.03459377959370613,
-0.007055284921079874,
-0.03736605495214462,
-0.0879991203546524,
0.01850951835513115,
0.05505150184035301,
-0.012317613698542118,
0.004056995268911123,
-0.01800006814301014,
-0.011706851422786713,
0.014216369949281216,
-0.04911218583583832,
-0.04174816980957985,
0.0441056564450264,
-0.008441486395895481,
0.05623422935605049,
0.01885896921157837,
-0.057850323617458344,
-0.00345920049585402,
0.07106157392263412,
-0.03920667618513107,
-0.027654891833662987,
-0.04839988797903061,
0.05893934518098831,
-0.02665259689092636,
0.02725585550069809,
-0.012979420833289623,
-0.0489848330616951,
0.04104913771152496,
0.03159022703766823,
0.0513303205370903,
0.04350337013602257,
-0.039960749447345734,
0.04079402983188629,
0.03224083036184311,
-0.04590890184044838,
0.015547663904726505,
0.045742426067590714,
-0.009703608229756355,
-0.05229124799370766,
0.018208222463726997,
0.03327404707670212,
-0.0018020996358245611,
-0.0471942201256752,
0.05933452770113945,
0.00307260500267148,
-0.03630714491009712,
-0.03667333722114563,
0.0397125706076622,
-0.00619568070396781,
-0.0022735558450222015,
-0.05941226705908775,
0.01728690415620804,
-0.04471711814403534,
0.034845203161239624,
-0.02180185541510582,
-0.010797325521707535,
0.08256413042545319,
-0.017319517210125923,
0.0054346476681530476,
0.008335632272064686,
0.08398418128490448,
0.10288114845752716,
0.03697405382990837,
0.014075546525418758,
0.06028961390256882,
-0.0062891277484595776,
-0.03572951629757881,
-0.02639678865671158,
-0.03408712521195412,
0.013845564797520638,
0.005029559601098299,
-0.015482352115213871,
0.06889713555574417,
-0.018851561471819878,
0.08385323733091354,
-0.018261121585965157,
-0.009957227855920792,
-0.019939688965678215,
-0.011582646518945694,
0.03584830090403557,
0.05589868873357773,
0.02408670261502266,
0.0417095310986042,
-0.027503540739417076,
-0.005349496845155954,
0.0038691407535225153,
0.0100790373980999,
-0.026635613292455673,
0.03493628650903702,
-0.03835834190249443,
-0.021220238879323006,
0.01243081595748663,
0.01954818144440651,
0.07905486971139908,
-0.02382323518395424,
-0.0077596306800842285,
-0.004392421338707209,
0.009896901436150074,
-0.02680163085460663,
0.014237480238080025,
-0.008655233308672905,
-0.03959186375141144,
-0.017986563965678215,
-0.0457470528781414,
-0.03371995687484741,
0.003304459620267153,
-0.021419217810034752,
-0.009798098355531693,
0.009572695940732956,
-0.0033358009532094,
-0.0009487936622463167,
-0.007129354868084192,
-0.03377211466431618,
-0.05105985328555107,
-0.03773302957415581,
-0.06477640569210052,
-0.07579810917377472,
-0.0063513037748634815,
-0.004638350568711758,
0.0052667222917079926,
0.009875047020614147,
-0.016727235168218613,
-0.020656123757362366,
-0.022989781573414803,
0.03978198394179344,
-0.015787994489073753,
-0.008995008654892445,
0.01326578576117754,
0.019076332449913025,
0.006027292925864458,
0.018734296783804893,
0.03576040640473366,
-0.018278785049915314,
-0.01709688827395439,
0.007096064742654562,
0.01908312924206257,
0.03917770832777023,
-0.0009229093557223678,
0.008944310247898102,
-0.07066835463047028,
-0.006137309595942497,
0.024215033277869225,
-0.023438654839992523,
-0.08689157664775848,
0.019435910508036613,
0.06747620552778244,
0.0035317952279001474,
0.04356784373521805,
0.001448248978704214,
-0.005348934326320887,
-0.026846827939152718,
0.009142563678324223,
-0.004525199066847563,
0.019675100222229958,
0.033883288502693176,
-0.01700899563729763,
0.055608708411455154,
0.0336153581738472,
-0.007870134897530079,
-0.03342380002140999,
-0.02522742561995983,
-0.017026303336024284,
0.024830972775816917,
-0.03905747830867767,
-0.005847123451530933,
-0.05681634321808815,
-0.06527774035930634,
-0.03564027324318886,
-0.01771991327404976,
-0.03570086508989334,
-0.009982841089367867,
-0.0058323098346591,
-0.00043632733286358416,
-0.039731159806251526,
0.02041846327483654,
-0.03136004880070686,
0.031237922608852386,
-0.038975369185209274,
-0.027634942904114723,
-0.01646268181502819,
0.038502614945173264,
-0.00106526049785316,
-0.010180127806961536,
0.03944423794746399,
-0.044153906404972076,
0.008996895514428616,
-0.030880605801939964,
0.008518153801560402,
0.053602855652570724,
0.010063826106488705,
0.031882889568805695
] | [
-0.04839906096458435,
0.0011484638089314103,
-0.03096901625394821,
-0.03432837501168251,
0.07408450543880463,
-0.02148088626563549,
-0.004910274874418974,
-0.03218483552336693,
0.02208869718015194,
0.019813338294625282,
0.03904973343014717,
-0.038998477160930634,
-0.007144119590520859,
-0.009889811277389526,
0.019696488976478577,
-0.03648446500301361,
-0.026881318539381027,
-0.01836959272623062,
-0.059395816177129745,
0.08005828410387039,
-0.04334351792931557,
-0.05806346237659454,
-0.011028972454369068,
-0.05387266352772713,
0.021624300628900528,
-0.007375276181846857,
0.04584895074367523,
-0.013884840533137321,
-0.01617300882935524,
-0.24135521054267883,
-0.04231056571006775,
-0.008824233897030354,
-0.021941302344202995,
0.005268017761409283,
0.03083413653075695,
-0.00530991842970252,
0.06744509935379028,
-0.05649420619010925,
0.0023029427975416183,
0.035843200981616974,
0.05117622762918472,
-0.015986401587724686,
-0.043849535286426544,
-0.02055484987795353,
-0.003935304936021566,
0.005760609172284603,
0.009532371535897255,
-0.032268524169921875,
0.009359331801533699,
0.020196590572595596,
-0.016856655478477478,
-0.009266805835068226,
-0.012148994021117687,
-0.014667556621134281,
-0.03593860939145088,
0.042039234191179276,
0.03758580982685089,
0.05191658437252045,
0.007149675395339727,
0.050156496465206146,
0.00042729306733235717,
0.012929967604577541,
-0.12471026927232742,
0.07031335681676865,
0.03967328742146492,
0.021693073213100433,
-0.06693002581596375,
-0.016014447435736656,
-0.06369692087173462,
0.06482046097517014,
0.003142697038128972,
-0.004910547751933336,
-0.04933466762304306,
0.1199837476015091,
0.009121280163526535,
-0.003128772834315896,
-0.017055371776223183,
0.01664106361567974,
0.025960054248571396,
-0.04596627131104469,
-0.0591815784573555,
-0.003543249797075987,
-0.02587832696735859,
0.006975942756980658,
-0.028395026922225952,
0.0719165951013565,
-0.03059503622353077,
0.044818006455898285,
-0.020536372438073158,
0.015383697114884853,
0.017784107476472855,
-0.00446502398699522,
0.04855797439813614,
0.06787464767694473,
-0.09234219044446945,
-0.018308307975530624,
0.02030823938548565,
0.009719093330204487,
0.0326433964073658,
0.4044627249240875,
-0.017483536154031754,
-0.000016454336218885146,
0.014517460018396378,
0.02806980162858963,
0.004622430074959993,
0.01978723332285881,
-0.003420955501496792,
-0.031040826812386513,
0.043413516134023666,
-0.01149718277156353,
-0.009130646474659443,
-0.045902352780103683,
0.024982184171676636,
-0.09785744547843933,
-0.014112151227891445,
0.009304790757596493,
0.05984767526388168,
-0.0037805079482495785,
-0.045756302773952484,
0.0044664014130830765,
0.029610630124807358,
-0.01634211279451847,
0.052804652601480484,
0.008606424555182457,
0.04048871621489525,
0.010372700169682503,
0.004686717875301838,
0.05305679515004158,
0.01896091364324093,
0.03459056839346886,
0.05183728039264679,
0.0006006052135489881,
-0.06532222777605057,
0.046699464321136475,
0.007288219407200813,
-0.005640455987304449,
0.014248267747461796,
-0.01653566211462021,
-0.02673809416592121,
-0.019122838973999023,
-0.00319850817322731,
-0.026268646121025085,
0.0447349026799202,
0.0047700051218271255,
-0.030398115515708923,
0.1090763583779335,
-0.029262766242027283,
-0.016127845272421837,
-0.033451955765485764,
-0.06189611926674843,
0.005336046684533358,
0.02993130497634411,
-0.02015429176390171,
-0.028223201632499695,
-0.021294018253684044,
0.016305414959788322,
0.062219101935625076,
-0.02632727287709713,
-0.1047997698187828,
-0.02018357627093792,
-0.024662543088197708,
-0.020343651995062828,
-0.04597385227680206,
0.08598952740430832,
0.016992395743727684,
-0.04770009219646454,
-0.04035436362028122,
0.007408517878502607,
0.019313892349600792,
-0.05621154606342316,
0.02483866922557354,
-0.009606701321899891,
-0.04774456098675728,
-0.04761679098010063,
0.10080109536647797,
0.003725763875991106,
-0.04395700618624687,
-0.01727849803864956,
0.03209976851940155,
0.010006982833147049,
-0.035511571913957596,
0.02688479796051979,
-0.02549710124731064,
0.043306123465299606,
-0.04880290478467941,
-0.05001278594136238,
-0.08193168044090271,
0.031218761578202248,
-0.03625297546386719,
-0.024676993489265442,
-0.015917150303721428,
-0.01858547329902649,
-0.02625664882361889,
0.046702925115823746,
-0.06086426600813866,
0.004418819211423397,
-0.009063398465514183,
-0.01567666232585907,
0.003349699778482318,
-0.03989415988326073,
0.05664520710706711,
0.0158963855355978,
0.0070787700824439526,
0.029047321528196335,
-0.041409097611904144,
-0.014804880134761333,
0.06771249324083328,
-0.03887038677930832,
0.07205044478178024,
0.039934564381837845,
-0.036748629063367844,
0.03229726105928421,
-0.037778984755277634,
-0.004907498601824045,
-0.002857754472643137,
-0.033591434359550476,
-0.008249431848526001,
-0.013644560240209103,
0.05951394885778427,
0.02683830074965954,
-0.04310894384980202,
-0.03301212936639786,
-0.013451631180942059,
-0.36046916246414185,
-0.01641189120709896,
-0.015812868252396584,
-0.028609178960323334,
0.02288856729865074,
-0.020063767209649086,
-0.007957831025123596,
0.001032654894515872,
-0.004933618009090424,
0.014744313433766365,
0.06872348487377167,
0.0009973749984055758,
-0.01874421536922455,
-0.08193263411521912,
-0.0014135469682514668,
0.03259260579943657,
0.019270658493041992,
-0.006238248664885759,
-0.019017687067389488,
0.03903565928339958,
-0.00056941102957353,
-0.07861954718828201,
-0.03354077786207199,
-0.035353854298591614,
0.02805567905306816,
-0.005137999076396227,
0.0848008245229721,
-0.01455239113420248,
0.05928008258342743,
-0.05444531515240669,
0.030426574870944023,
0.02582058124244213,
-0.023842403665184975,
-0.04217437654733658,
0.0017020275117829442,
-0.03427252918481827,
-0.016023928299546242,
0.04939262568950653,
-0.01004556193947792,
0.03264344856142998,
-0.005793252494186163,
-0.01899101957678795,
-0.025176292285323143,
-0.02220454066991806,
0.03720107302069664,
-0.004069857764989138,
-0.02736942656338215,
0.012373625300824642,
0.0015651538269594312,
0.06150567904114723,
-0.010627130046486855,
0.02023506537079811,
0.004967125598341227,
0.06383765488862991,
0.056289881467819214,
-0.026896798983216286,
-0.030493782833218575,
-0.012733114883303642,
0.050521619617938995,
0.04410172998905182,
0.00019658035307656974,
0.02581561915576458,
0.05130709707736969,
-0.07738146930932999,
0.017807217314839363,
-0.02239076979458332,
0.03145546838641167,
-0.009171701036393642,
0.02988514117896557,
-0.025238176807761192,
-0.02732381783425808,
0.08958431333303452,
-0.008198277093470097,
0.03711824119091034,
0.004691781476140022,
0.07328766584396362,
-0.024116216227412224,
0.013843072578310966,
0.03237359970808029,
0.013203317299485207,
0.047247663140296936,
-0.019841428846120834,
0.08056434243917465,
-0.010545339435338974,
0.009861539117991924,
0.09057484567165375,
-0.012265236116945744,
-0.02398381568491459,
0.04386148601770401,
-0.023611020296812057,
-0.01372536737471819,
-0.0062811668030917645,
0.009440247900784016,
-0.01958085410296917,
0.09691203385591507,
-0.013133713975548744,
-0.25054267048835754,
0.029285863041877747,
0.01962364837527275,
0.03368667885661125,
0.025679634883999825,
0.010575582273304462,
-0.0013962499797344208,
-0.05073491483926773,
-0.00918817799538374,
0.015614619478583336,
0.03224698454141617,
0.030293693765997887,
0.01550243329256773,
-0.02692701667547226,
-0.011781010776758194,
-0.00047238089609891176,
0.06081995740532875,
0.028394319117069244,
0.0644620805978775,
-0.015098351053893566,
0.032295964658260345,
-0.024666540324687958,
0.1925625205039978,
0.04236696660518646,
0.0028577118646353483,
0.0046202815137803555,
-0.030810881406068802,
0.018040549010038376,
0.03809227794408798,
0.032550960779190063,
-0.02402896247804165,
0.04388043284416199,
0.03692366182804108,
0.0682162195444107,
0.0019966026302427053,
-0.04570264369249344,
-0.01638559252023697,
0.048231080174446106,
0.03310602158308029,
-0.04158259928226471,
-0.04456733539700508,
0.004625437781214714,
-0.06080014258623123,
0.01423482596874237,
0.032481592148542404,
-0.06085415184497833,
-0.020896419882774353,
-0.017541727051138878,
-0.03665497526526451,
-0.016341937705874443,
-0.029277237132191658,
-0.0060276794247329235,
-0.00633681146427989,
-0.0553213432431221,
0.004664898384362459,
0.04566853120923042,
0.004285414237529039,
-0.029455574229359627,
0.027547137811779976,
0.021050525829195976,
0.007038369309157133,
-0.061663225293159485,
0.09850668907165527,
0.023008331656455994,
-0.019704628735780716
] | [
0.020591523498296738,
0.0700816959142685,
-0.007079750765115023,
0.04876936227083206,
-0.026058470830321312,
0.002405692357569933,
-0.020766034722328186,
0.005808644462376833,
0.005246057640761137,
0.030296212062239647,
-0.042038444429636,
-0.042709510773420334,
0.055048372596502304,
-0.027568960562348366,
-0.0009707261924631894,
-0.006221283692866564,
-0.03302815556526184,
0.053778890520334244,
0.01969369500875473,
-0.03850015997886658,
-0.049006324261426926,
0.0011089890031144023,
0.027947796508669853,
-0.026184972375631332,
-0.00715304259210825,
0.002987075597047806,
-0.05058358982205391,
-0.014904769137501717,
0.014327540062367916,
-0.09406258165836334,
-0.03219963237643242,
-0.02667362429201603,
-0.018411412835121155,
0.0551055371761322,
-0.02323317900300026,
0.019141728058457375,
0.041838858276605606,
0.055683284997940063,
-0.029660653322935104,
0.03831994906067848,
0.028927629813551903,
0.001165613066405058,
-0.021572338417172432,
-0.001589540159329772,
0.004165573511272669,
-0.003244339721277356,
-0.025566676631569862,
-0.02963106706738472,
0.0026520092505961657,
-0.026936961337924004,
-0.07266850024461746,
-0.011800143867731094,
-0.013196879997849464,
-0.008454705588519573,
-0.008555740118026733,
0.0005943650030530989,
-0.04868445172905922,
-0.009236426092684269,
0.0036608518566936255,
-0.012064858339726925,
0.013085919432342052,
-0.03811785206198692,
-0.071283258497715,
-0.012422974221408367,
0.04005748778581619,
-0.010760004632174969,
-0.005002045538276434,
0.04269839823246002,
0.01862792670726776,
0.005819833837449551,
-0.02423870377242565,
0.03312776982784271,
-0.07065125554800034,
0.02136700227856636,
-0.02307034283876419,
0.04575591906905174,
0.04746084287762642,
-0.029979923740029335,
0.0002229931706096977,
-0.014454247429966927,
-0.04026555269956589,
-0.013857182115316391,
-0.045105017721652985,
-0.008201192133128643,
-0.04000810906291008,
0.024097098037600517,
-0.03258631005883217,
0.018276367336511612,
-0.023291248828172684,
0.03635760396718979,
-0.02583296410739422,
0.03997564688324928,
0.013117581605911255,
-0.014892226085066795,
-0.07533353567123413,
0.026657866314053535,
0.014725523069500923,
0.003466887166723609,
0.01095943059772253,
0.7940215468406677,
-0.003939928021281958,
-0.010858775116503239,
-0.007380463182926178,
0.00927155651152134,
-0.004997739568352699,
-0.002208530670031905,
0.012917025946080685,
0.007951119914650917,
-0.018728436902165413,
-0.02227085456252098,
0.00703342305496335,
-0.002334271790459752,
-0.021739527583122253,
-0.026808978989720345,
-0.011970398016273975,
0.05644712969660759,
0.02630196139216423,
-0.00631032045930624,
-0.02944016270339489,
-0.028662877157330513,
-0.0114374328404665,
-0.037956174463033676,
-0.043548326939344406,
-0.025288978591561317,
-0.01496866811066866,
-0.14961989223957062,
0.008321556262671947,
-6.997115429590281e-33,
0.011533539742231369,
0.0007839289028197527,
0.07680822163820267,
0.037241313606500626,
0.04605530574917793,
0.022341199219226837,
0.010766281746327877,
0.006176860071718693,
-0.03403906524181366,
-0.04100700840353966,
0.0019021196058019996,
-0.026437100023031235,
0.003897240152582526,
-0.024777427315711975,
-0.019722890108823776,
-0.02343418076634407,
0.01508305873721838,
0.010445717722177505,
-0.045010652393102646,
-0.0038329139351844788,
0.04097970202565193,
0.07044321298599243,
0.0015006873290985823,
0.05318903923034668,
0.015405857935547829,
0.011284946464002132,
-0.0187628623098135,
-0.0031331959180533886,
-0.010722652077674866,
-0.05876890569925308,
-0.0817585289478302,
0.0706014409661293,
0.005491032265126705,
-0.030660515651106834,
0.008725784718990326,
-0.0729212611913681,
0.0013628849992528558,
-0.006849734112620354,
-0.020452583208680153,
-0.05293656885623932,
-0.045153889805078506,
0.003630870720371604,
0.007639605551958084,
-0.007250448688864708,
-0.06657833606004715,
-0.03701755404472351,
0.0029942237306386232,
0.0033039546106010675,
0.01048656739294529,
0.03652848303318024,
0.06972771137952805,
0.033644694834947586,
-0.009489424526691437,
0.012628299184143543,
-0.029501695185899734,
0.02367280423641205,
0.005867458414286375,
0.0035312273539602757,
-0.00911277998238802,
0.021943747997283936,
0.04426294192671776,
-0.001478821155615151,
-0.011066132225096226,
0.04431403800845146,
0.039710454642772675,
0.026035325601696968,
0.041094820946455,
0.016301296651363373,
0.014737836085259914,
0.031155234202742577,
-0.020139962434768677,
0.07535114884376526,
-0.014750071801245213,
-0.05060287564992905,
0.056920066475868225,
-0.00970535073429346,
-0.02761008031666279,
-0.04314481094479561,
0.013839175924658775,
0.03301048278808594,
-0.006842570845037699,
-0.011650237254798412,
0.03254442662000656,
-0.0017541719134896994,
-0.018566951155662537,
-0.010816844180226326,
0.01782325468957424,
0.039869025349617004,
0.022210923954844475,
0.006251841317862272,
0.05150120332837105,
0.02266630157828331,
0.008162916637957096,
-0.02901908941566944,
-0.028402140364050865,
6.700030538255057e-33,
0.007944838143885136,
0.01298436801880598,
-0.017886415123939514,
0.002424399135634303,
0.0230992641299963,
0.02099040150642395,
0.004241511691361666,
-0.01261571142822504,
-0.02090802602469921,
0.040323011577129364,
0.026348432525992393,
-0.03185573220252991,
0.0036086265463382006,
0.021639052778482437,
0.020351121202111244,
0.015557965263724327,
-0.013125774450600147,
-0.06069691479206085,
-0.016695866361260414,
0.009650017134845257,
-0.00007435034058289602,
-0.0033239529002457857,
0.016195110976696014,
0.020035395398736,
0.03842153772711754,
-0.004439809825271368,
0.008299415931105614,
0.009275386109948158,
-0.019051965326070786,
-0.010505852289497852,
-0.005005505867302418,
-0.039701830595731735,
-0.025689858943223953,
-0.05376464128494263,
0.015382692217826843,
0.0022495666053146124,
-0.005206179339438677,
0.0255903173238039,
0.030560865998268127,
0.01398555375635624,
-0.014373484067618847,
0.04361110180616379,
-0.03159105405211449,
0.06756272166967392,
0.028435420244932175,
0.029021037742495537,
0.010744970291852951,
0.016549639403820038,
0.004939413163810968,
0.05781714990735054,
0.02025514468550682,
0.023759830743074417,
0.011645599268376827,
0.028205901384353638,
0.03956853225827217,
-0.06080656498670578,
0.01212313398718834,
0.019763793796300888,
-0.002925603184849024,
-0.04019511863589287,
-0.06336759030818939,
-0.022717434912919998,
-0.02666405588388443,
0.03615511953830719,
0.0018921255832538009,
-0.00487262848764658,
-0.05230070278048515,
0.009578843601047993,
-0.024706631898880005,
-0.027470028027892113,
0.019051918759942055,
-0.020817620679736137,
-0.017412588000297546,
0.011845076456665993,
-0.007760769687592983,
-0.018716277554631233,
-0.0068372515961527824,
-0.030595196411013603,
-0.025034572929143906,
0.038772810250520706,
0.017879636958241463,
0.00010221765114692971,
0.031076975166797638,
0.019515452906489372,
0.008624174632132053,
0.0015849327901378274,
-0.02014188840985298,
0.001027813646942377,
0.0009046069462783635,
0.0555795393884182,
-0.0008300620829686522,
-0.05320180952548981,
-0.008090270683169365,
0.05154164135456085,
-0.05965986102819443,
-1.2340198196625352e-8,
-0.04787146672606468,
0.04027216136455536,
-0.04621291160583496,
-0.0034922207705676556,
-0.0033110398799180984,
0.01074079517275095,
-0.012158950790762901,
-0.005527803674340248,
0.022911662235856056,
0.022297486662864685,
0.012734000571072102,
-0.03648346662521362,
0.036347582936286926,
0.005755726248025894,
0.0053625511936843395,
-0.04059538245201111,
-0.004537305328994989,
-0.02899538353085518,
0.018904956057667732,
0.010058894753456116,
-0.014912400394678116,
0.03549797832965851,
-0.055312369018793106,
0.051386844366788864,
0.03077150695025921,
0.0013214575592428446,
0.0024160612374544144,
-0.05877590924501419,
0.02363475412130356,
-0.017681820318102837,
-0.013186519965529442,
-0.021850192919373512,
-0.0018199154874309897,
0.038422949612140656,
-0.004494940396398306,
-0.010766740888357162,
0.020926769822835922,
0.05018474906682968,
0.012565629556775093,
0.05399995669722557,
0.00863641407340765,
0.018168671056628227,
-0.03732449933886528,
-0.018516017124056816,
-0.017869971692562103,
-0.022673150524497032,
-0.0688423216342926,
0.0026795752346515656,
0.026471806690096855,
-0.01901950128376484,
0.028323521837592125,
-0.006674088537693024,
0.009998428635299206,
0.017555754631757736,
0.04998934268951416,
0.0009845237946137786,
0.007333394140005112,
0.025117212906479836,
0.01801394298672676,
-0.016240766271948814,
0.01743018813431263,
-0.006124270614236593,
-0.03451821580529213,
-0.009318677708506584
] | neo4j-load-csv-handling-empty-columns | https://markhneedham.com/blog/2014/08/22/neo4j-load-csv-handling-empty-columns |
false | 2014-01-27 11:32:03 | Neo4j: org.eclipse.jetty.io.EofException - Caused by: java.io.IOException: Broken pipe | [
"neo4j"
] | [
"neo4j"
] | From scouring the Neo4j google group and Stack Overflow I've noticed that https://www.google.co.uk/search?q=neo4j+eofexception&oq=neo4j+eofexception&aqs=chrome..69i57.2370j0j4&sourceid=chrome&espv=210&es_sm=91&ie=UTF-8[a few people] have been hitting the following exception when executing queries against Neo4j server:
[source,text]
----
SEVERE: The response of the WebApplicationException cannot be utilized as the response is already committed. Re-throwing to the HTTP container
javax.ws.rs.WebApplicationException: javax.ws.rs.WebApplicationException: org.eclipse.jetty.io.EofException
at org.neo4j.server.rest.repr.OutputFormat$1.write(OutputFormat.java:174)
at com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:71)
at com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:57)
at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1437)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:698)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1506)
at org.neo4j.server.rest.security.SecurityFilter.doFilter(SecurityFilter.java:112)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1477)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:211)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1096)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:432)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:175)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1030)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)
at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:445)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:268)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:229)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:358)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:601)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:532)
at java.lang.Thread.run(Thread.java:744)
Caused by: javax.ws.rs.WebApplicationException: org.eclipse.jetty.io.EofException
at org.neo4j.server.rest.repr.formats.StreamingJsonFormat$StreamingListWriter.writeValue(StreamingJsonFormat.java:316)
at org.neo4j.server.rest.repr.ListWriter.writeValue(ListWriter.java:75)
at org.neo4j.server.rest.repr.ValueRepresentation.addTo(ValueRepresentation.java:49)
at org.neo4j.server.rest.repr.ListRepresentation.serialize(ListRepresentation.java:65)
at org.neo4j.server.rest.repr.Serializer.serialize(Serializer.java:75)
at org.neo4j.server.rest.repr.MappingSerializer.putList(MappingSerializer.java:61)
at org.neo4j.server.rest.repr.ListRepresentation.putTo(ListRepresentation.java:85)
at org.neo4j.server.rest.repr.ObjectRepresentation$PropertyGetter.putTo(ObjectRepresentation.java:133)
at org.neo4j.server.rest.repr.ObjectRepresentation.serialize(ObjectRepresentation.java:144)
at org.neo4j.server.rest.repr.MappingRepresentation.serialize(MappingRepresentation.java:41)
at org.neo4j.server.rest.repr.OutputFormat$1.write(OutputFormat.java:160)
... 30 more
Caused by: org.eclipse.jetty.io.EofException
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:186)
at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:335)
at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:125)
at org.eclipse.jetty.server.HttpConnection$ContentCallback.process(HttpConnection.java:784)
at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:79)
at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:356)
at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:631)
at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:661)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:198)
at com.sun.jersey.spi.container.servlet.WebComponent$Writer.write(WebComponent.java:307)
at com.sun.jersey.spi.container.ContainerResponse$CommittingOutputStream.write(ContainerResponse.java:134)
at org.codehaus.jackson.impl.Utf8Generator._flushBuffer(Utf8Generator.java:1754)
at org.codehaus.jackson.impl.Utf8Generator.writeNumber(Utf8Generator.java:886)
at org.codehaus.jackson.map.ser.StdSerializers$LongSerializer.serialize(StdSerializers.java:170)
at org.codehaus.jackson.map.ser.StdSerializers$LongSerializer.serialize(StdSerializers.java:158)
at org.codehaus.jackson.map.ser.StdSerializerProvider._serializeValue(StdSerializerProvider.java:610)
at org.codehaus.jackson.map.ser.StdSerializerProvider.serializeValue(StdSerializerProvider.java:256)
at org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:1613)
at org.codehaus.jackson.impl.JsonGeneratorBase.writeObject(JsonGeneratorBase.java:314)
at org.neo4j.server.rest.repr.formats.StreamingJsonFormat$StreamingListWriter.writeValue(StreamingJsonFormat.java:312)
... 40 more
Caused by: java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcherImpl.writev0(Native Method)
at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51)
at sun.nio.ch.IOUtil.write(IOUtil.java:148)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:524)
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:167)
... 59 more
----
I'd not come across it myself but the error message suggests that the client has closed the connection while the server is still trying to write out a response.
This suggests that you need to write a query which runs for a long time. I created the following data set to try and force this to happen:
[source,java]
----
public class DenseNodes
{
private static final DynamicRelationshipType FOO = DynamicRelationshipType.withName( "FOO" );
private static final Label BAR = DynamicLabel.label( "Bar" );
public static void main( String[] args ) throws IOException
{
String path = "/tmp/dense";
FileUtils.deleteRecursively( new File( path ) );
GraphDatabaseService db = new GraphDatabaseFactory().newEmbeddedDatabase( path );
for ( int i = 0; i < 10; i++ )
{
try ( Transaction tx = db.beginTx() )
{
Node node = db.createNode( BAR );
for ( int j = 0; j < 100_000; j++ )
{
node.createRelationshipTo( db.createNode(), FOO );
}
tx.success();
}
}
}
}
----
This script creates 10 nodes with 100,000 relationships and as a by-product we have 1,000,000 nodes with 1 relationship.
We can execute the following query using a Jersey client to take us over the timeout and force the EOFException:
[source,java]
----
public class DenseMe
{
public static void main( String[] args ) throws IOException
{
String query = "MATCH (a:Bar)-[:`FOO`]->(b) RETURN a,b";
long start = System.currentTimeMillis();
executeViaHTTP( query );
long end = System.currentTimeMillis();
System.out.println(end - start);
}
private static void executeViaHTTP( String query ) throws IOException
{
ObjectNode entity = JsonNodeFactory.instance.objectNode();
entity.put("query", query );
ClientResponse response = client().resource( "http://localhost:7474/db/data/cypher" )
.accept( MediaType.APPLICATION_JSON_TYPE )
.type(MediaType.APPLICATION_JSON_TYPE)
.post( ClientResponse.class, entity );
InputStream stream = response.getEntityInputStream();
BufferedReader reader = new BufferedReader( new InputStreamReader( stream ) );
char[] buffer = new char[1024];
int bytesRead;
while ( (bytesRead = reader.read( buffer )) != -1 )
{
for ( int i = 0; i < bytesRead; i++ )
{
System.out.print( buffer[i] );
}
}
}
private static Client client()
{
DefaultClientConfig defaultClientConfig = new DefaultClientConfig();
defaultClientConfig.getClasses().add( JacksonJsonProvider.class );
Client client = Client.create( defaultClientConfig );
return client;
}
}
----
There are two ways that we can attempt to work around this problem:
. Increase the timeout on the Jersey Client
. Stream the response to the client so we don't build up such a huge response on the server</p> </ol>
+
We'll start with the former, which requires the following tweak to the +++<cite>+++client+++</cite>+++ function:
+
~~~java private static Client client() { DefaultClientConfig defaultClientConfig = new DefaultClientConfig(); defaultClientConfig.getClasses().add( JacksonJsonProvider.class ); Client client = Client.create( defaultClientConfig ); client.setConnectTimeout(1_000_000); client.setReadTimeout( 1_000_000 ); return client; } ~~~
+
If we run that we'll end up with the following response using a 4GB heap:
+
~~~text { "message" : "Java heap space", "exception" : "OutOfMemoryError", "fullname" : "java.lang.OutOfMemoryError", "stacktrace" : [ ] } ~~~
+
I was tailing the GC logs while running the query and the majority of time was being spent in Full GC while the query was running:
+
~~~text 2014-01-27T10:27:26.101+0000: 239848.812: Total time for which application threads were stopped: 5.5309550 seconds 2014-01-27T10:27:26.101+0000: 239848.812: [Full GC2014-01-27T10:27:26.101+0000: 239848.812: [CMS: 3512768K\->3512768K(3512768K), 5.4359920 secs] 4126207K\->4126207K(4126208K), [CMS Perm : 41512K\->41512K(69300K)], 5.4360820 secs] [Times: user=5.43 sys=0.00, real=5.43 secs] 2014-01-27T10:27:31.537+0000: 239854.249: [Full GC2014-01-27T10:27:31.537+0000: 239854.249: [CMS: 3512768K\->3512768K(3512768K), 5.4878690 secs] 4126207K\->4126207K(4126208K), [CMS Perm : 41512K\->41512K(69300K)], 5.4879470 secs] [Times: user=5.49 sys=0.01, real=5.49 secs] 2014-01-27T10:27:37.025+0000: 239859.737: Total time for which application threads were stopped: 10.9243140 seconds 2014-01-27T10:27:37.025+0000: 239859.737: [Full GC2014-01-27T10:27:37.025+0000: 239859.737: [CMS: 3512768K\->3512768K(3512768K), 5.4437040 secs] 4126207K\->4126207K(4126208K), [CMS Perm : 41512K\->41512K(69300K)], 5.4437790 secs] [Times: user=5.44 sys=0.01, real=5.44 secs] 2014-01-27T10:27:42.469+0000: 239865.181: [Full GC2014-01-27T10:27:42.469+0000: 239865.181: [CMS: 3512768K\->3512768K(3512768K), 5.4283480 secs] 4126207K\->4126207K(4126208K), [CMS Perm : 41512K\->41512K(69300K)], 5.4284400 secs] [Times: user=5.43 sys=0.00, real=5.43 secs] 2014-01-27T10:27:47.898+0000: 239870.609: Total time for which application threads were stopped: 10.8724950 seconds 2014-01-27T10:27:47.898+0000: 239870.609: [Full GC2014-01-27T10:27:47.898+0000: 239870.609: [CMS: 3512768K\->3512768K(3512768K), 5.4385630 secs] 4126208K\->4126207K(4126208K), [CMS Perm : 41512K\->41512K(69300K)], 5.4386540 secs] [Times: user=5.43 sys=0.01, real=5.44 secs] 2014-01-27T10:27:53.337+0000: 239876.048: Total time for which application threads were stopped: 5.4389110 seconds ~~~
+
The second option is to http://docs.neo4j.org/chunked/stable/rest-api-streaming.html[stream back the response] by adding the following header to our request:
+
~~~java ClientResponse response = client().resource( "http://localhost:7474/db/data/cypher" ) .accept( MediaType.APPLICATION_JSON_TYPE ) .type(MediaType.APPLICATION_JSON_TYPE) .header( "X-Stream", "true" ) .post( ClientResponse.class, entity ); ~~~
+
If we do that then we'll get back the first rows of the query immediately although although we'll have to be careful with what we do with the response or we could see an OutOfMemory exception on the client instead.
+
We might also want to think whether we actually need to return that many rows in the first place. A lot of the time a subset is more than enough. | null | null | [
0.005540205165743828,
-0.060535602271556854,
-0.002089947462081909,
0.025714252144098282,
0.0817754864692688,
-0.002167126862332225,
0.03437846153974533,
0.033089008182287216,
0.0016510920831933618,
-0.03073349967598915,
-0.005156948696821928,
-0.017263522371649742,
-0.06799183785915375,
0.018517082557082176,
-0.005153266247361898,
0.04954352229833603,
0.07083825021982193,
0.02577865682542324,
0.028222257271409035,
-0.02291744574904442,
0.0019208673620596528,
0.037729762494564056,
-0.00013853595010004938,
0.018795086070895195,
0.03126809746026993,
0.011001947335898876,
-0.015741849318146706,
-0.009940292686223984,
-0.06486264616250992,
-0.011139185167849064,
0.05632980167865753,
0.01752566359937191,
0.012988238595426083,
-0.013713084161281586,
0.027402326464653015,
-0.02806667611002922,
-0.011919951997697353,
0.0043347240425646305,
-0.018272999674081802,
0.01497806329280138,
-0.07214421778917313,
0.022467201575636864,
-0.02747570537030697,
0.015167058445513248,
-0.029860936105251312,
0.012689925730228424,
-0.019694551825523376,
0.03203187137842178,
0.011776628904044628,
0.004638932645320892,
-0.09890394657850266,
0.032146334648132324,
-0.043140895664691925,
-0.000762715470045805,
0.01828286051750183,
0.038908977061510086,
-0.010761464014649391,
-0.0758930966258049,
0.054678454995155334,
-0.043073855340480804,
-0.013336881063878536,
-0.030824758112430573,
0.014450211077928543,
0.0029595098458230495,
-0.017076527699828148,
-0.028673455119132996,
-0.002743087476119399,
0.08576639741659164,
-0.057236433029174805,
-0.013304917141795158,
0.02247014082968235,
0.015437443740665913,
-0.00411270372569561,
-0.0026172692887485027,
0.03842419013381004,
-0.06662771850824356,
-0.0090883057564497,
0.05131896585226059,
0.037015173584222794,
0.04587522894144058,
-0.017649643123149872,
-0.0020680357702076435,
0.033512864261865616,
0.012944137677550316,
0.010776265524327755,
-0.0404619462788105,
-0.011591262184083462,
-0.011351143009960651,
-0.025615781545639038,
0.04565788805484772,
0.03547977656126022,
-0.04445805773139,
-0.013066108338534832,
0.01614144630730152,
-0.03511795774102211,
0.03003729321062565,
-0.012763675302267075,
0.008420447818934917,
0.014823637902736664,
0.0013739167479798198,
-0.03981035575270653,
-0.0057483636774122715,
0.003923634998500347,
0.04288526996970177,
-0.07344573736190796,
-0.02866939641535282,
-0.03467651456594467,
-0.02240854501724243,
0.005327840335667133,
-0.00010557422501733527,
-0.03668942302465439,
0.03647713363170624,
-0.024988507851958275,
0.000623004452791065,
-0.09224402904510498,
0.08839515596628189,
0.01331961341202259,
-0.01235928013920784,
-0.028833340853452682,
0.03079499863088131,
0.04797302186489105,
0.02716444618999958,
0.0024705135729163885,
0.06813574582338333,
-0.013523395173251629,
0.04317193850874901,
-0.01139927003532648,
0.032511789351701736,
-0.01827905885875225,
-0.07351968437433243,
-0.011330773122608662,
0.052958421409130096,
0.012210629880428314,
0.019693301990628242,
-0.0038034976460039616,
-0.00747109716758132,
-0.011112270876765251,
-0.008196307346224785,
0.06696368753910065,
0.025056883692741394,
-0.029959479346871376,
-0.03949277102947235,
0.004078180529177189,
0.026946857571601868,
0.053743500262498856,
0.025493670254945755,
-0.02563810534775257,
-0.030823443084955215,
-0.022610029205679893,
0.025732189416885376,
0.019668443128466606,
0.02273440919816494,
0.047792721539735794,
-0.0046910555101931095,
-0.01089717447757721,
0.118373341858387,
0.020957250148057938,
0.029478801414370537,
-0.017270606011152267,
0.02471308968961239,
0.04560604318976402,
0.020633408799767494,
-0.008597739972174168,
0.055256739258766174,
0.013348216190934181,
0.0045895567163825035,
-0.011023059487342834,
0.051212064921855927,
-0.013680350966751575,
0.01054508425295353,
-0.0382954403758049,
-0.08805204182863235,
0.03351932018995285,
-0.06361327320337296,
0.00214566383510828,
0.016087962314486504,
0.061154551804065704,
-0.0010172390611842275,
0.03978698328137398,
-0.0015805988805368543,
-0.070681132376194,
0.03586292266845703,
0.02118729241192341,
0.02031504362821579,
-0.019403424113988876,
0.01949680596590042,
0.05133283510804176,
0.039245299994945526,
0.011760306544601917,
0.032899245619773865,
-0.0776841938495636,
-0.09481053799390793,
-0.0017877633217722178,
-0.0056587220169603825,
0.06913936883211136,
-0.00799012091010809,
-0.00629400834441185,
0.04226302355527878,
0.0041306051425635815,
0.02528867870569229,
0.008459547534584999,
-0.015722842887043953,
0.036265816539525986,
-0.04372965916991234,
-0.06511932611465454,
0.0505838543176651,
0.05470733344554901,
-0.03165105730295181,
-0.055834297090768814,
0.011348375119268894,
-0.01686706766486168,
0.004074961878359318,
0.005861195735633373,
-0.02990044839680195,
0.04316633939743042,
-0.0006350005278363824,
0.05472290515899658,
-0.015950419008731842,
0.04552074521780014,
-0.06495704501867294,
0.039059385657310486,
0.0008752061403356493,
0.003933893516659737,
-0.008783779107034206,
0.005943643860518932,
0.11184420436620712,
0.03947174549102783,
-0.009397581219673157,
-0.06694536656141281,
0.045034412294626236,
0.03388996794819832,
-0.03984927758574486,
0.03098759986460209,
-0.012190178968012333,
0.0037206439301371574,
0.013936002738773823,
-0.02889976091682911,
-0.02132280170917511,
-0.0055051022209227085,
-0.03891316428780556,
-0.002366685541346669,
0.07570952922105789,
-0.04022056609392166,
0.0638132244348526,
0.024294918403029442,
-0.016009701415896416,
0.0013902663486078382,
-0.03291696310043335,
-0.02549697831273079,
0.019834376871585846,
0.001296006958000362,
-0.0066239796578884125,
0.05294971540570259,
-0.026406683027744293,
-0.015060455538332462,
-0.026911111548542976,
-0.011426878161728382,
0.038432732224464417,
0.03705320134758949,
0.052998386323451996,
-0.020455406978726387,
0.04148044064640999,
-0.04168501868844032,
0.0012490830849856138,
-0.011145669966936111,
-0.041062433272600174,
-0.04053293541073799,
-0.012576288543641567,
0.015683554112911224,
0.006105031352490187,
0.012230310589075089,
-0.00662362901493907,
0.018754474818706512,
0.004752208944410086,
0.0035366981755942106,
-0.017368758097290993,
0.03877687454223633,
-0.02034917101264,
0.005149661097675562,
-0.015275641344487667,
-0.023330414667725563,
0.037894606590270996,
-0.045145418494939804,
-0.04270496591925621,
0.0056556458584964275,
-0.06311625242233276,
0.049592286348342896,
-0.04986811429262161,
-0.04756256937980652,
0.0032867426052689552,
0.03910471498966217,
0.04262896254658699,
0.013701759278774261,
-0.007672191597521305,
0.08127200603485107,
-0.008931602351367474,
0.009992429055273533,
0.031805381178855896,
-0.0029769728425890207,
0.023355277255177498,
-0.023947710171341896,
0.020613141357898712,
0.03619413450360298,
-0.023491712287068367,
0.005108969286084175,
-0.05083753913640976,
0.022584451362490654,
-0.017367100343108177,
-0.28288012742996216,
0.05077758803963661,
-0.0022505230735987425,
-0.030087068676948547,
0.039228878915309906,
-0.009488401934504509,
0.021407751366496086,
-0.03438413888216019,
-0.006174054462462664,
0.019283460453152657,
-0.012065880000591278,
-0.02927033044397831,
0.0017581288702785969,
0.03221115842461586,
0.010216748341917992,
-0.00009547204535920173,
0.02223421260714531,
-0.0377599336206913,
-0.006989614572376013,
0.01617962308228016,
0.0034763237927109003,
-0.047440946102142334,
0.013870189897716045,
0.021575743332505226,
0.032190535217523575,
0.0506989061832428,
-0.07073651999235153,
0.042730577290058136,
-0.049112506210803986,
-0.034350790083408356,
0.031619761139154434,
-0.028416169807314873,
0.021024592220783234,
0.00719606876373291,
-0.052899159491062164,
-0.007539264392107725,
0.015267710201442242,
0.00802718847990036,
-0.03138146176934242,
0.012370744720101357,
-0.00871254038065672,
-0.09445463865995407,
-0.03662144020199776,
-0.0011159649584442377,
0.061396803706884384,
-0.0029996437951922417,
-0.0636168047785759,
0.0030686326790601015,
-0.009531371295452118,
0.08161988854408264,
-0.03476428985595703,
-0.028533276170492172,
0.003444345435127616,
0.024294232949614525,
-0.020688379183411598,
-0.03027760423719883,
-0.03820642828941345,
0.0044589899480342865,
-0.02856636978685856,
-0.02264750748872757,
-0.008261813782155514,
-0.04687098413705826,
-0.005506799556314945,
-0.03880738466978073,
-0.048695433884859085,
-0.049270279705524445,
-0.05850588157773018,
-0.01953810639679432,
0.06438747048377991,
0.0008453842019662261,
-0.027409352362155914,
0.04102005809545517,
0.013368462212383747,
-0.09967882186174393,
-0.017566315829753876,
-0.038130879402160645,
-0.037442225962877274,
0.009380140341818333,
-0.029427915811538696,
0.04749245569109917,
-0.048295337706804276,
-0.042700525373220444,
-0.016868438571691513,
0.014197752811014652,
0.042082324624061584,
-0.0170243289321661,
0.01527361385524273,
-0.05460673198103905,
-0.02379370667040348,
0.023489773273468018,
0.07453958690166473,
-0.024907104671001434,
-0.026578163728117943,
-0.03274320811033249,
0.008223515935242176,
0.06012650951743126,
0.002864229027181864,
0.01585879549384117,
-0.00901111587882042,
0.03756014257669449,
0.026295198127627373,
-0.035714928060770035,
0.02332403138279915,
-0.018789395689964294,
-0.011494657024741173,
-0.02477262169122696,
-0.06048344075679779,
0.009504509158432484,
0.014950614422559738,
0.028400370851159096,
0.023821234703063965,
-0.015765978023409843,
0.015816181898117065,
-0.041440919041633606,
-0.04164429008960724,
-0.0006743488484062254,
0.014101497828960419,
0.043010830879211426,
0.04938863217830658,
-0.03726627677679062,
-0.04224708303809166,
0.021947013214230537,
0.03432118520140648,
-0.005831284448504448,
-0.05263795331120491,
-0.04645562544465065,
-0.029632827267050743,
-0.01724986359477043,
0.0022511444985866547,
0.01169506274163723,
-0.014152154326438904,
0.0485600121319294,
0.018687158823013306,
-0.01009242981672287,
0.015820683911442757,
-0.022710692137479782,
-0.030871782451868057,
-0.04856473580002785,
0.0059024877846241,
-0.006779815070331097,
0.0037425358314067125,
-0.00025822187308222055,
-0.013403033837676048,
0.04132440313696861,
0.048854928463697433,
0.013651080429553986,
0.040712740272283554,
-0.0021333738695830107,
0.017611786723136902,
0.011927218176424503,
-0.005601196084171534,
-0.04242727532982826,
0.021541975438594818,
-0.04080096632242203,
-0.0625358447432518,
-0.01163711491972208,
0.05783839523792267,
-0.018892927095294,
-0.02743421494960785,
-0.027701931074261665,
0.022970838472247124,
-0.07359468191862106,
-0.013161206617951393,
-0.0014407159760594368,
-0.003977345302700996,
0.04251835495233536,
-0.01653076708316803,
0.036148037761449814,
-0.022604485973715782,
-0.040233708918094635,
-0.0116255609318614,
0.005055357702076435,
-0.02848094515502453,
0.018262850120663643,
0.015744736418128014,
0.007757807616144419,
-0.0058411420322954655,
0.02381836622953415,
0.050811849534511566,
0.01953711546957493,
-0.012820304371416569,
-0.025457240641117096,
0.02289806306362152,
0.009876024909317493,
0.048912592232227325,
0.026333721354603767,
-0.0039075566455721855,
0.008572891354560852,
-0.009134858846664429,
-0.010755058377981186,
-0.024242449551820755,
0.0014475993812084198,
-0.011513744480907917,
0.032495371997356415,
-0.0029555882792919874,
-0.06902070343494415,
0.03436309099197388,
0.0037631045561283827,
0.023202374577522278,
0.03714040294289589,
0.024720290675759315,
0.012905332259833813,
-0.038953348994255066,
0.025085315108299255,
0.032669130712747574,
-0.04587835446000099,
-0.01775313727557659,
-0.012702295556664467,
0.008237619884312153,
0.01612979918718338,
0.008227318525314331,
-0.07408514618873596,
-0.018698781728744507,
0.004902097396552563,
0.023620355874300003,
-0.03360077366232872,
-0.06468313187360764,
-0.012133221141994,
0.013863624073565006,
-0.02408963069319725,
0.02562638558447361,
-0.0010505744721740484,
0.008460466749966145,
-0.044920265674591064,
-0.007115419488400221,
0.04182910919189453,
-0.037606291472911835,
-0.009242015890777111,
0.01016196422278881,
-0.004275391343981028,
0.035071440041065216,
-0.025876866653561592,
0.009344212710857391,
0.013177909888327122,
0.004625852685421705,
-0.013017388060688972,
-0.0523795522749424,
0.02400345355272293,
0.0435011126101017,
0.05725356191396713,
-0.006167756859213114,
-0.00976746715605259,
-0.03394618630409241,
-0.0032824636436998844,
-0.025705046951770782,
0.04430616647005081,
0.022186970338225365,
0.006558471359312534,
0.016420073807239532,
0.047278665006160736,
0.02389688603579998,
0.03931909427046776,
-0.013833433389663696,
-0.02760586142539978,
0.06527121365070343,
-0.06668535619974136,
-0.02016759105026722,
-0.012137000449001789,
-0.07467939704656601,
0.015514708124101162,
0.021400034427642822,
0.015578029677271843,
-0.021854054182767868,
0.0624375119805336,
0.059758927673101425,
0.00906259473413229,
0.024905530735850334,
-0.008495105430483818,
0.03285897523164749,
-0.020375771448016167,
-0.012745189480483532,
-0.08651231229305267,
-0.011541065759956837,
0.04761219769716263,
-0.011073580943048,
0.02117753215134144,
-0.023716237396001816,
-0.042792052030563354,
-0.0015220302157104015,
-0.04451826214790344,
-0.03421789035201073,
0.011345195583999157,
-0.04671357572078705,
0.013739735819399357,
0.009248948656022549,
-0.05734558030962944,
0.03592833876609802,
0.031190140172839165,
-0.040022894740104675,
-0.03768717870116234,
-0.02109844610095024,
0.06016257032752037,
-0.00717884860932827,
0.025296323001384735,
-0.05100099742412567,
-0.017836427316069603,
0.08529286086559296,
0.008290321566164494,
0.0014148609479889274,
0.046425361186265945,
-0.03159407898783684,
0.039230212569236755,
0.028463730588555336,
0.000024689403289812617,
0.0028468952514231205,
0.016383806243538857,
-0.027552824467420578,
-0.07208386808633804,
0.01797034591436386,
0.010604140348732471,
-0.02482529915869236,
-0.03328061103820801,
0.05050990730524063,
0.0012628263793885708,
-0.03692658618092537,
-0.024603743106126785,
0.010595675557851791,
-0.04193506017327309,
-0.03887563198804855,
-0.06112305447459221,
0.03238300606608391,
-0.05158187076449394,
0.05963318049907684,
-0.0086982948705554,
0.02305692806839943,
0.07806133478879929,
-0.0022225971333682537,
0.007012154441326857,
0.019765956327319145,
0.09419658035039902,
0.07696471363306046,
-0.007680277340114117,
0.010600551031529903,
0.06737542897462845,
-0.02001672424376011,
-0.037261754274368286,
0.007794232573360205,
-0.035578154027462006,
-0.05696349963545799,
0.003850830253213644,
-0.0041206590831279755,
0.052059728652238846,
-0.005815742537379265,
0.08238647133111954,
-0.018090611323714256,
-0.006440878380089998,
-0.024778855964541435,
-0.0005636611022055149,
0.03306649997830391,
0.006945427041500807,
0.019613638520240784,
0.038041915744543076,
-0.04018694907426834,
-0.030891090631484985,
0.010749558918178082,
0.012940952554345131,
-0.026624197140336037,
0.005642807576805353,
-0.0322781503200531,
0.015164432115852833,
0.01763344556093216,
0.014595006592571735,
0.07896135002374649,
-0.012778102420270443,
0.004488905426114798,
-0.011861147359013557,
0.0182509608566761,
-0.0033282109070569277,
0.01712319254875183,
-0.0065636951476335526,
-0.04017253965139389,
-0.021718373522162437,
-0.04553879797458649,
-0.0042329574935138226,
-0.01603245735168457,
-0.06556599587202072,
0.005415175575762987,
-0.017117977142333984,
0.02002389170229435,
0.004396143369376659,
-0.04556236043572426,
-0.025330496951937675,
-0.05595368891954422,
-0.04913977161049843,
-0.038260966539382935,
-0.0774352103471756,
-0.0051884884014725685,
0.009148030541837215,
-0.006284965202212334,
-0.02614782378077507,
-0.016019580885767937,
-0.01357843168079853,
-0.005985422525554895,
0.059686142951250076,
-0.03705691918730736,
0.013492359779775143,
0.014661598950624466,
0.005815725773572922,
0.020859478041529655,
0.01920343190431595,
0.05749558284878731,
0.007169661577790976,
0.018639851361513138,
-0.01893257349729538,
-0.013453775085508823,
0.05036057159304619,
0.007256874814629555,
0.014047485776245594,
-0.10080228000879288,
0.006905305664986372,
0.020195690914988518,
0.009405335411429405,
-0.056290749460458755,
0.0023204500321298838,
0.05272170901298523,
-0.01640559919178486,
0.03963585942983627,
0.0031609442085027695,
-0.006887443363666534,
-0.02817540615797043,
0.008636205457150936,
-0.0035394674632698298,
-0.0070172520354390144,
0.0304692555218935,
-0.015071343630552292,
0.0694253072142601,
0.06742089241743088,
-0.036749377846717834,
-0.025597350671887398,
0.004698061849921942,
0.006412444170564413,
-0.0008594919345341623,
-0.044412754476070404,
-0.038515571504831314,
-0.06208905577659607,
-0.08369985967874527,
-0.013382327742874622,
-0.003531775902956724,
-0.024491917341947556,
-0.019119080156087875,
0.021275654435157776,
0.042784109711647034,
-0.02643713727593422,
0.022118180990219116,
-0.027522290125489235,
0.029781682416796684,
-0.015487663447856903,
-0.014538981951773167,
-0.010212778113782406,
-0.005885212682187557,
0.016143307089805603,
-0.023407399654388428,
0.022386079654097557,
-0.03720942139625549,
0.020328404381871223,
-0.02691621519625187,
0.02955031767487526,
0.04701189324259758,
0.031095163896679878,
0.0103146368637681
] | [
-0.07323402166366577,
-0.020941363647580147,
-0.027607552707195282,
-0.04580582305788994,
0.03169757127761841,
-0.06021534278988838,
-0.018768133595585823,
0.04958110675215721,
0.0044894153252244,
-0.03289542347192764,
0.018049197271466255,
-0.01817857287824154,
-0.008967124857008457,
0.021824324503540993,
0.03834887966513634,
-0.007535118609666824,
-0.053030725568532944,
-0.04401480033993721,
-0.014657066203653812,
0.05967869237065315,
0.02935069240629673,
-0.03408428281545639,
0.0017094023060053587,
-0.039887409657239914,
-0.0173200573772192,
0.03331556171178818,
0.020944634452462196,
-0.025578821077942848,
-0.04489593207836151,
-0.1775202453136444,
-0.005679435096681118,
-0.013733260333538055,
0.0056432695128023624,
-0.005676134955137968,
0.0033041585702449083,
0.023916561156511307,
0.002485745819285512,
-0.006474500522017479,
0.007193509489297867,
0.04401906579732895,
-0.008075997233390808,
0.025993425399065018,
-0.07564818859100342,
0.01352684199810028,
0.046098046004772186,
0.007977842353284359,
-0.02235705591738224,
0.0017182877054437995,
-0.008421325124800205,
0.014424597844481468,
-0.053956691175699234,
-0.02563103847205639,
0.024577246978878975,
0.0017863952089101076,
0.005624189041554928,
0.010778330266475677,
0.03930797800421715,
0.08738455921411514,
0.02169734239578247,
0.04655705392360687,
0.027056261897087097,
-0.0014484541025012732,
-0.13614635169506073,
0.09649738669395447,
0.009159217588603497,
0.016273563727736473,
-0.02505786530673504,
-0.017270078882575035,
0.0013692122884094715,
0.05055329576134682,
0.016218259930610657,
-0.0050405277870595455,
-0.04770524799823761,
0.08920599520206451,
-0.016498684883117676,
0.06555026024580002,
0.017094960436224937,
0.021746350452303886,
0.0398806631565094,
-0.036512989550828934,
-0.05368621274828911,
0.011161447502672672,
-0.01886104792356491,
-0.008979800157248974,
-0.03352733328938484,
0.04519204422831535,
-0.03583149611949921,
0.061851080507040024,
0.014049460180103779,
0.05818617343902588,
0.013598558492958546,
0.015917539596557617,
0.07975110411643982,
0.017999865114688873,
-0.09478457272052765,
0.014426187612116337,
0.011906878091394901,
0.007774029392749071,
-0.003157059196382761,
0.37743616104125977,
0.014048922806978226,
-0.005958741530776024,
0.02669493295252323,
0.06465842574834824,
0.012598228640854359,
-0.042287662625312805,
-0.003775543998926878,
-0.06688536703586578,
0.03596650809049606,
-0.021689943969249725,
-0.0031892554834485054,
-0.046961843967437744,
0.055074308067560196,
-0.07444588094949722,
-0.01835818588733673,
0.05679565295577049,
0.04044743627309799,
0.016826391220092773,
-0.06806294620037079,
0.022977152839303017,
-0.03722049668431282,
-0.021571626886725426,
0.04126414656639099,
0.013191323727369308,
0.042012397199869156,
-0.011524411849677563,
0.0025682616978883743,
0.07119840383529663,
0.02144428715109825,
0.005920517724007368,
0.04494735971093178,
-0.01530554611235857,
-0.07496581226587296,
0.0009338287054561079,
0.008803986012935638,
0.0074030086398124695,
0.04197656735777855,
-0.04826245456933975,
-0.029523096978664398,
0.03695767745375633,
-0.009865942411124706,
-0.06504903733730316,
-0.0365021638572216,
0.00595442159101367,
-0.04559886455535889,
0.13090817630290985,
-0.0023029125295579433,
-0.019712412729859352,
-0.04165319725871086,
-0.041049934923648834,
0.0011078262468799949,
0.06900238245725632,
-0.0047020455822348595,
-0.03781207650899887,
-0.02744830958545208,
0.022156158462166786,
0.06625208258628845,
-0.005379759706556797,
-0.05511097609996796,
-0.009184307418763638,
0.004391747992485762,
-0.03655346482992172,
-0.022457988932728767,
0.11013230681419373,
0.03970673307776451,
-0.09350672364234924,
-0.0345979705452919,
0.021419376134872437,
-0.007292734459042549,
-0.032071053981781006,
0.007596620358526707,
0.011669176630675793,
-0.03337114304304123,
-0.052203189581632614,
0.039255641400814056,
-0.024535447359085083,
-0.0037478378508239985,
-0.022537004202604294,
0.020846283063292503,
0.025721922516822815,
0.00023911338939797133,
0.005913632456213236,
-0.04904856160283089,
-0.010473009198904037,
-0.047033242881298065,
-0.09656582027673721,
-0.07292044907808304,
0.036378033459186554,
0.004071128088980913,
-0.04223530739545822,
-0.05567241832613945,
-0.017686957493424416,
-0.05313120782375336,
0.10684236884117126,
-0.021166164427995682,
-0.004306042566895485,
0.0026459654327481985,
-0.0079413540661335,
0.007169465068727732,
-0.02897672727704048,
0.08225858956575394,
0.030161280184984207,
-0.005042754579335451,
0.04439309984445572,
-0.030311748385429382,
0.03015206567943096,
0.040975719690322876,
-0.021116210147738457,
0.04900934919714928,
0.012410848401486874,
-0.06359351426362991,
0.029307588934898376,
-0.02550620213150978,
0.01547146774828434,
-0.0191507525742054,
0.011946777813136578,
-0.011270626448094845,
0.013326650485396385,
0.03784063458442688,
-0.0018583014607429504,
-0.020716635510325432,
0.01073005422949791,
0.013681423850357533,
-0.34843581914901733,
-0.03747526556253433,
-0.012382606975734234,
-0.033992230892181396,
-0.03146426007151604,
-0.01069527119398117,
0.019525768235325813,
-0.03831365332007408,
0.014037156477570534,
0.028614649549126625,
0.09038393944501877,
0.014722339808940887,
-0.0037206816487014294,
-0.10042037814855576,
0.02638920769095421,
-0.0062952772714197636,
-0.0210301224142313,
0.01737198233604431,
-0.01556368637830019,
0.002550832461565733,
-0.012457228265702724,
-0.06288786977529526,
-0.008626163005828857,
-0.023820428177714348,
-0.019059231504797935,
-0.010531803593039513,
0.09571872651576996,
0.04836409538984299,
0.039736390113830566,
-0.09430889040231705,
0.05206368491053581,
0.02581094764173031,
0.020342526957392693,
-0.10634330660104752,
-0.011259178631007671,
-0.04836568608880043,
0.01425254251807928,
0.02207537554204464,
0.019815318286418915,
-0.02324618771672249,
-0.05349866300821304,
-0.0129165630787611,
-0.057194970548152924,
-0.04656728729605675,
0.021789133548736572,
0.004182107746601105,
-0.04492153972387314,
-0.0015230276621878147,
0.015288091264665127,
0.10110341757535934,
-0.006250087171792984,
0.0034114723093807697,
0.024136198684573174,
0.05184337869286537,
0.0650268942117691,
-0.013509022071957588,
-0.050236526876688004,
-0.005438205320388079,
0.039521437138319016,
0.012391840107738972,
0.027572551742196083,
0.04520411044359207,
0.05333553999662399,
-0.058909688144922256,
0.014879404567182064,
0.012702779844403267,
0.0018721552332863212,
0.007075352594256401,
0.04893858730792999,
-0.05889854580163956,
-0.055780377238988876,
0.14963600039482117,
-0.005322908982634544,
-0.0015506084309890866,
0.033583879470825195,
0.043549202382564545,
0.007278232369571924,
-0.04711388051509857,
0.040113866329193115,
0.007402506191283464,
0.038549166172742844,
-0.003801875514909625,
0.06852681189775467,
-0.056885603815317154,
-0.01061776839196682,
0.07349034398794174,
0.00623301463201642,
-0.02357596345245838,
0.05648201331496239,
-0.01987457275390625,
-0.026333054527640343,
-0.007160823326557875,
-0.029175417497754097,
-0.05453525483608246,
0.041511356830596924,
-0.03484809771180153,
-0.2548157870769501,
0.020480157807469368,
0.03257398307323456,
0.04330804944038391,
0.01093937549740076,
0.028218530118465424,
0.030325056985020638,
-0.02860538475215435,
-0.020333481952548027,
0.016049209982156754,
0.024131111800670624,
0.011722651310265064,
-0.02639777399599552,
-0.0035805809311568737,
0.005145805887877941,
0.011926129460334778,
0.004539526998996735,
0.049189820885658264,
0.03540398180484772,
-0.01716271974146366,
0.03464768826961517,
-0.019319262355566025,
0.15337957441806793,
0.017644133418798447,
0.007914246059954166,
0.055947765707969666,
-0.029042646288871765,
0.02893793024122715,
0.07454906404018402,
-0.0172804594039917,
-0.02551332488656044,
0.041821662336587906,
0.0062983534298837185,
0.023474322631955147,
0.011594245210289955,
-0.08955317735671997,
0.029741909354925156,
0.033599045127630234,
0.01550254411995411,
-0.029975492507219315,
-0.011115020141005516,
0.032169364392757416,
-0.010124187916517258,
0.007470962591469288,
0.09523898363113403,
-0.006648652721196413,
0.008037474937736988,
-0.04869295284152031,
-0.07935862243175507,
-0.014815056696534157,
-0.03452565148472786,
-0.07314825057983398,
-0.02003626525402069,
-0.019082285463809967,
-0.01354556530714035,
0.0525803379714489,
0.024266133084893227,
-0.07160070538520813,
-0.02244962751865387,
0.003952974919229746,
0.005808386951684952,
-0.02537715621292591,
0.07172133773565292,
-0.00969616323709488,
0.014511623419821262
] | [
0.019750256091356277,
0.03961627185344696,
0.01636490412056446,
-0.0075294869020581245,
0.008255958557128906,
0.004155157599598169,
-0.01323147676885128,
0.00200599804520607,
-0.01140992809087038,
-0.027614127844572067,
-0.027868526056408882,
0.006551555823534727,
0.04996620491147041,
0.0034153207670897245,
0.006921473424881697,
-0.02014113962650299,
0.010026290081441402,
0.02625446394085884,
0.014842529781162739,
-0.0023735647555440664,
-0.003558177500963211,
-0.007670123595744371,
0.03221074119210243,
-0.04254373908042908,
-0.015043610706925392,
0.04448600113391876,
-0.015676449984312057,
-0.014852861873805523,
0.017803752794861794,
-0.1307402402162552,
-0.00020167497859802097,
-0.03214374929666519,
-0.03212892636656761,
-0.02061542682349682,
-0.006892188917845488,
0.024889139458537102,
0.0433528870344162,
-0.006215618923306465,
-0.047179512679576874,
0.030006593093276024,
0.010686193592846394,
-0.013524689711630344,
-0.037528447806835175,
0.028476009145379066,
-0.014876380562782288,
-0.049708910286426544,
-0.01482972502708435,
-0.04373003914952278,
-0.022784246131777763,
-0.00010212999768555164,
-0.009921079501509666,
-0.022380013018846512,
0.016766607761383057,
0.012590613216161728,
-0.02254069410264492,
-0.004244254436343908,
-0.04973889887332916,
0.005451382603496313,
0.04623308405280113,
0.0036772633902728558,
0.03731010854244232,
-0.015863146632909775,
-0.015662357211112976,
-0.029010426253080368,
-0.006765632890164852,
-0.009341935627162457,
0.03652093559503555,
-0.006379210390150547,
-0.01784987933933735,
0.023409876972436905,
-0.014221620745956898,
0.05229012668132782,
-0.0719325989484787,
-0.008794814348220825,
-0.04228424280881882,
0.020852692425251007,
0.03890693187713623,
-0.0055501810275018215,
-0.009508458897471428,
0.028893643990159035,
-0.011685863137245178,
-0.00037555518792942166,
-0.006847845856100321,
0.020483624190092087,
-0.007329309359192848,
0.023639479652047157,
-0.002203427255153656,
-0.01433614268898964,
0.036614175885915756,
0.04445044323801994,
-0.058576393872499466,
-0.002978102769702673,
0.012858129106462002,
-0.01102436613291502,
-0.08808678388595581,
-0.008209196850657463,
0.00450698658823967,
0.003290570108219981,
0.008298254571855068,
0.8116028904914856,
0.0601644292473793,
0.01810719259083271,
0.02816702425479889,
0.016218286007642746,
0.012034217827022076,
-0.011418317444622517,
0.018382830545306206,
0.042142968624830246,
0.004185964819043875,
-0.010193217545747757,
-0.04606102779507637,
0.02241585962474346,
0.030531786382198334,
0.013282791711390018,
0.002331697614863515,
0.021914441138505936,
0.020345725119113922,
-0.022150663658976555,
0.016320446506142616,
0.06550920754671097,
0.032752200961112976,
0.019111566245555878,
0.0067029837518930435,
0.012720330618321896,
0.021847272291779518,
-0.1270410716533661,
-0.024036359041929245,
-7.327834887722378e-33,
0.03843320533633232,
0.018755415454506874,
0.048500996083021164,
0.01583636738359928,
0.01867399923503399,
-0.015386094339191914,
0.006252719089388847,
-0.0016160404775291681,
-0.006006715819239616,
-0.05813825875520706,
-0.032451335340738297,
-0.005034453235566616,
0.004808227065950632,
-0.034792087972164154,
0.0038477014750242233,
-0.014772528782486916,
0.013082286342978477,
0.027156667783856392,
0.009528843685984612,
0.022315258160233498,
-0.005758308805525303,
0.03760169446468353,
-0.00918306689709425,
-0.012428210116922855,
-0.03668617084622383,
0.021605126559734344,
-0.005491087678819895,
0.0111750029027462,
-0.017225679010152817,
-0.04347265884280205,
-0.012090425938367844,
-0.02079041860997677,
-0.02916395105421543,
0.005530147347599268,
0.03100653365254402,
-0.06158456951379776,
-0.01350339874625206,
0.007046904414892197,
-0.04147983342409134,
-0.08185621351003647,
-0.04478207975625992,
0.008005106821656227,
-0.034207671880722046,
0.023363454267382622,
-0.03710521012544632,
-0.05744404345750809,
-0.008518951945006847,
-0.021562162786722183,
0.006859469227492809,
-0.008576051332056522,
-0.010103813372552395,
0.0216128621250391,
0.005779653321951628,
0.0018628044053912163,
-0.047941599041223526,
0.008505607023835182,
0.032573290169239044,
0.03991540148854256,
-0.04403224214911461,
0.005086757242679596,
0.01913970708847046,
-0.0018446603789925575,
-0.03767295554280281,
0.040943995118141174,
0.035942524671554565,
0.009428348392248154,
0.013015725649893284,
0.015333691611886024,
-0.032309629023075104,
0.01820974051952362,
-0.042938947677612305,
-0.0004565721028484404,
0.012845274992287159,
0.004904887173324823,
0.008538843132555485,
-0.04238668456673622,
0.021437929943203926,
0.005207768641412258,
0.0007522414089180529,
0.05663387477397919,
-0.0006391401402652264,
-0.028265399858355522,
-0.00032411361462436616,
-0.03366733714938164,
-0.009104127064347267,
-0.01179872639477253,
0.020930195227265358,
0.016367532312870026,
0.06287672370672226,
0.05214200168848038,
0.0686284676194191,
0.010476171970367432,
0.003253439674153924,
-0.00784355215728283,
-0.024479759857058525,
7.150246343987931e-33,
-0.05116133764386177,
0.014667467214167118,
-0.031610406935214996,
0.016832321882247925,
0.027173513546586037,
0.010483583435416222,
0.02870207652449608,
0.034699540585279465,
-0.04385538399219513,
0.015308652073144913,
-0.02024024724960327,
-0.010907384566962719,
0.011104557663202286,
0.06534578651189804,
0.01641545630991459,
0.01007872261106968,
0.027611570432782173,
-0.05313999205827713,
0.04548836499452591,
0.013807669281959534,
0.017394741997122765,
-0.009053508751094341,
0.004650698974728584,
0.023093922063708305,
0.030736107379198074,
0.03592181205749512,
0.01790625788271427,
-0.01072029396891594,
-0.03046286106109619,
-0.0326707623898983,
0.04246560111641884,
-0.02962600439786911,
0.0006358101963996887,
-0.045469604432582855,
-0.014492731541395187,
-0.023409336805343628,
-0.019429897889494896,
0.040704187005758286,
0.014913734048604965,
-0.014124016277492046,
0.005781085230410099,
-0.05317181348800659,
-0.006152171641588211,
0.06569808721542358,
0.039510905742645264,
0.015753695741295815,
0.013600897043943405,
-0.01439209096133709,
-0.0032378474716097116,
0.04136890918016434,
-0.029763126745820045,
0.03856804594397545,
-0.003533929819241166,
0.02976982854306698,
0.039207566529512405,
-0.03885047510266304,
0.0008148468914441764,
0.009809641167521477,
0.002904652850702405,
0.032463330775499344,
0.010757850483059883,
-0.010984841734170914,
-0.02350374311208725,
0.028204238042235374,
-0.0037519598845392466,
-0.019397279247641563,
-0.026538992300629616,
0.006871430668979883,
-0.026326732710003853,
-0.01210666261613369,
-0.007352143060415983,
-0.0302671417593956,
-0.015164472162723541,
0.030228814110159874,
0.04816676676273346,
-0.023409832268953323,
-0.008948071859776974,
-0.018282437697052956,
-0.059999775141477585,
0.01135281566530466,
0.005247102119028568,
0.042311083525419235,
-0.024478677660226822,
-0.045205894857645035,
0.04157598316669464,
-0.022167561575770378,
-0.007342950906604528,
0.019395124167203903,
-0.04631735011935234,
-0.04714661091566086,
0.02791532129049301,
-0.0001324423064943403,
-0.07915676385164261,
0.02832219749689102,
-0.036293771117925644,
-1.2406209393134304e-8,
0.005642967764288187,
-0.009702215902507305,
-0.008688666857779026,
-0.006110571790486574,
0.011214978992938995,
-0.000831743935123086,
-0.02194860577583313,
-0.0009361105039715767,
-0.011515720747411251,
0.013710711151361465,
-0.005848062690347433,
0.0009227639529854059,
0.022519981488585472,
0.003801327897235751,
0.03972882032394409,
-0.04631210118532181,
-0.008562162518501282,
-0.004511592444032431,
0.02851216308772564,
0.005528004840016365,
0.02804424613714218,
0.025944948196411133,
-0.002910743234679103,
0.025495266541838646,
0.005206363275647163,
-0.012021316215395927,
0.07818160206079483,
-0.03506436571478844,
-0.005788866896182299,
-0.054869163781404495,
-0.056286703795194626,
-0.010323622263967991,
-0.04978795349597931,
-0.01989743299782276,
-0.0480487234890461,
0.010430874302983284,
0.009420466609299183,
0.008216368965804577,
0.0012197933392599225,
0.027427397668361664,
-0.02140001580119133,
0.024093879386782646,
-0.02115999534726143,
-0.013281290419399738,
0.007457215804606676,
0.04734167456626892,
-0.0377236045897007,
0.022156430408358574,
0.04956454411149025,
-0.04566075652837753,
-0.04943087697029114,
-0.016002090647816658,
0.02090119756758213,
0.016576427966356277,
0.03693290054798126,
-0.00032965303398668766,
0.027230190113186836,
-0.034980449825525284,
0.012110804207623005,
-0.013888861984014511,
0.058372337371110916,
0.02874899096786976,
-0.040069758892059326,
-0.022271407768130302
] | neo4j-org-eclipse-jetty-io-eofexception-caused-by-java-io-ioexception-broken-pipe | https://markhneedham.com/blog/2014/01/27/neo4j-org-eclipse-jetty-io-eofexception-caused-by-java-io-ioexception-broken-pipe |
false | 2014-01-27 09:42:18 | Neo4j HA: org.neo4j.graphdb.TransactionFailureException: Timeout waiting for database to allow new transactions. Blocking components (1): [] | [
"neo4j"
] | [
"neo4j"
] | As I http://www.markhneedham.com/blog/2014/01/24/neo4j-ha-election-could-not-pick-a-winner/[mentioned in my previous post], I've been spending quite a bit of time working with Neo4j HA and recently came across the following exception in +++<cite>+++data/graph.db/messages.log+++</cite>+++:
[source,text]
----
org.neo4j.graphdb.TransactionFailureException: Timeout waiting for database to allow new transactions. Blocking components (1): []
at org.neo4j.kernel.ha.HighlyAvailableGraphDatabase.beginTx(HighlyAvailableGraphDatabase.java:199)
at org.neo4j.kernel.TransactionBuilderImpl.begin(TransactionBuilderImpl.java:43)
at org.neo4j.kernel.InternalAbstractGraphDatabase.beginTx(InternalAbstractGraphDatabase.java:949)
at org.neo4j.server.rest.transactional.TransactionalRequestDispatcher.dispatch(TransactionalRequestDispatcher.java:52)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:698)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1506)
at org.neo4j.server.rest.security.SecurityFilter.doFilter(SecurityFilter.java:112)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1477)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:211)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1096)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:432)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:175)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1030)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)
at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:445)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:268)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:229)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:358)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:601)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:532)
at java.lang.Thread.run(Thread.java:744)
----
I traced the error message back to https://github.com/neo4j/neo4j/blob/master/community/kernel/src/main/java/org/neo4j/kernel/AvailabilityGuard.java#L212[AvailabilityGuard#describeWhoIsBlocking] and discovered that this error message is thrown when we don't want the cluster to accept transactions.
Usually the blocking component (the thing that's stopping transactions from being accepted) is described but in this case the error message indicates that the cluster hasn't been formed.
I was able to reproduce the error message by trying to commit a transaction from a slave in a cluster which was misconfigured so that the slaves were unable to interact with the master.
To find the root cause for this error message we need to scroll up the log a bit and look for the exception that happened immediately before this one. In this case we see the following:
[source,text]
----
2014-01-24 11:48:53.889+0000 WARN [o.n.k.h.c.HighAvailabilityModeSwitcher]: Consistency checker failed
org.neo4j.com.ComException: MasterClient20 could not connect to /10.137.62.4:6001
at org.neo4j.com.Client$1.create(Client.java:141) ~[neo4j-com-2.0.0.jar:2.0.0]
at org.neo4j.com.Client$1.create(Client.java:123) ~[neo4j-com-2.0.0.jar:2.0.0]
at org.neo4j.com.ResourcePool.acquire(ResourcePool.java:175) ~[neo4j-com-2.0.0.jar:2.0.0]
at org.neo4j.com.Client.getChannel(Client.java:336) ~[neo4j-com-2.0.0.jar:2.0.0]
at org.neo4j.com.Client.sendRequest(Client.java:216) ~[neo4j-com-2.0.0.jar:2.0.0]
at org.neo4j.kernel.ha.MasterClient20.getMasterIdForCommittedTx(MasterClient20.java:359) ~[neo4j-ha-2.0.0.jar:2.0.0]
at org.neo4j.kernel.ha.cluster.HighAvailabilityModeSwitcher.checkDataConsistencyWithMaster(HighAvailabilityModeSwitcher.java:679) [neo4j-ha-2.0.0.jar:2.0.0]
at org.neo4j.kernel.ha.cluster.HighAvailabilityModeSwitcher.checkDataConsistency(HighAvailabilityModeSwitcher.java:498) [neo4j-ha-2.0.0.jar:2.0.0]
at org.neo4j.kernel.ha.cluster.HighAvailabilityModeSwitcher.access$900(HighAvailabilityModeSwitcher.java:110) [neo4j-ha-2.0.0.jar:2.0.0]
at org.neo4j.kernel.ha.cluster.HighAvailabilityModeSwitcher$2.run(HighAvailabilityModeSwitcher.java:393) [neo4j-ha-2.0.0.jar:2.0.0]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_51]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_51]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51]
at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]
----
A quick configuration change was able to get me going again but you could also see this error message if firewall rules were misconfigured so that's something else to look out for. | null | null | [
-0.01144243311136961,
-0.0458214096724987,
-0.02604472078382969,
0.015365167520940304,
0.0787358209490776,
-0.025320280343294144,
0.0556035079061985,
0.009347468614578247,
0.005792473908513784,
-0.021985337138175964,
-0.004515706095844507,
-0.015193391591310501,
-0.06450363993644714,
0.02322070114314556,
0.006490710191428661,
0.05366899445652962,
0.06093971058726311,
0.0059313527308404446,
0.022432440891861916,
-0.05281992629170418,
0.025431299582123756,
0.04853341728448868,
0.0013142353855073452,
0.020919570699334145,
0.04598977044224739,
0.02404438890516758,
-0.005843375343829393,
-0.0021064900793135166,
-0.04774771258234978,
-0.018225189298391342,
0.06270822137594223,
0.022421421483159065,
-0.0011338561307638884,
0.007630448322743177,
0.021135052666068077,
-0.0008084049914032221,
-0.01781339943408966,
-0.003030470572412014,
0.003437058301642537,
-0.007573606446385384,
-0.049912407994270325,
0.03514120727777481,
-0.03689305856823921,
0.045457370579242706,
-0.029690293595194817,
0.016022292897105217,
-0.014416423626244068,
0.040015049278736115,
0.026187628507614136,
-0.01878049224615097,
-0.09229341149330139,
0.034213170409202576,
-0.011869549751281738,
0.014438877813518047,
0.014864753000438213,
0.04141906648874283,
0.003068272490054369,
-0.06912513077259064,
0.06560003757476807,
-0.041100192815065384,
-0.004210854880511761,
-0.029240038245916367,
-0.003977429587393999,
-0.0007551395683549345,
-0.020103877410292625,
-0.021514784544706345,
0.025020120665431023,
0.07309252768754959,
-0.05546493083238602,
-0.009525781497359276,
-0.013911734335124493,
0.006771691609174013,
-0.013614887371659279,
0.02520357258617878,
0.019649576395750046,
-0.07551450282335281,
0.002641040366142988,
0.05913243070244789,
0.02695460245013237,
0.054130129516124725,
-0.013613788411021233,
-0.023236455395817757,
0.019251318648457527,
0.008947739377617836,
0.01821182854473591,
-0.06629287451505661,
-0.032133761793375015,
-0.038201186805963516,
-0.04081162437796593,
0.050574891269207,
0.02667785994708538,
-0.041195955127477646,
0.003497380530461669,
0.019642449915409088,
-0.03950604051351547,
0.015350020490586758,
0.0055472394451498985,
0.0073432475328445435,
0.03142843768000603,
-0.011263580992817879,
-0.039329592138528824,
-0.021980395540595055,
0.005154701415449381,
0.038972530514001846,
-0.07352621853351593,
-0.020939696580171585,
-0.03446412831544876,
-0.0354933924973011,
-0.011564202606678009,
-0.012597025372087955,
-0.027769459411501884,
0.028475293889641762,
-0.002632102696225047,
0.004868511576205492,
-0.07773178815841675,
0.09226636588573456,
0.007640794385224581,
-0.033042341470718384,
-0.012012309394776821,
0.019615186378359795,
0.05251665040850639,
0.027457162737846375,
-0.013605723157525063,
0.0815705955028534,
0.012636053375899792,
0.0453525073826313,
0.005216848570853472,
0.045320648699998856,
-0.02548348717391491,
-0.06856486201286316,
-0.015158772468566895,
0.07222841680049896,
-0.007998976856470108,
0.023716198280453682,
-0.014312738552689552,
-0.022121228277683258,
-0.007639061659574509,
0.017596213147044182,
0.04986138641834259,
0.02742331102490425,
0.001662469352595508,
-0.03750404715538025,
0.022721953690052032,
0.03916238248348236,
0.031471990048885345,
0.01919097825884819,
-0.01330503262579441,
-0.028294306248426437,
-0.01000795979052782,
0.013405148871243,
0.022830892354249954,
0.04028446599841118,
0.04667855426669121,
0.010219174437224865,
0.004483260214328766,
0.10394439101219177,
0.02251328155398369,
0.022663598880171776,
-0.03138483315706253,
0.039691805839538574,
0.04454609751701355,
0.04334203898906708,
0.0149082588031888,
0.04422345384955406,
0.00843079388141632,
-0.009223558939993382,
-0.004884639754891396,
0.05796114727854729,
-0.011188850738108158,
0.017330417409539223,
-0.04018620401620865,
-0.0836057960987091,
0.026445867493748665,
-0.056804776191711426,
-0.016389725729823112,
0.04764564335346222,
0.05975351110100746,
-0.0008110664784908295,
0.0331445150077343,
-0.003955160267651081,
-0.06937052309513092,
0.04577432945370674,
0.02957037277519703,
0.02134179323911667,
-0.020769763737916946,
0.0059250034391880035,
0.06411712616682053,
0.027914905920624733,
0.011807123199105263,
0.025809792801737785,
-0.09020764380693436,
-0.07463262975215912,
-0.014488802291452885,
-0.0098386500030756,
0.06802744418382645,
0.0029212534427642822,
0.0038437161128968,
0.03640101104974747,
0.020116033032536507,
0.02848869562149048,
0.03055548667907715,
0.004150025080889463,
0.03205109387636185,
-0.06068681553006172,
-0.061643291264772415,
0.07120373100042343,
0.034039366990327835,
-0.03096158429980278,
-0.0634441077709198,
0.022277945652604103,
-0.020023327320814133,
0.010274715721607208,
0.004125826060771942,
-0.023444313555955887,
0.0396295040845871,
0.016064295545220375,
0.04822825267910957,
-0.010168876498937607,
0.04430851340293884,
-0.056650545448064804,
0.04426822066307068,
0.016741234809160233,
-0.010641869157552719,
0.00930962897837162,
-0.006901033688336611,
0.10744503140449524,
0.02797524258494377,
0.003915003500878811,
-0.05633538216352463,
0.05652177706360817,
0.018872076645493507,
-0.034862931817770004,
0.01880931295454502,
-0.015402461402118206,
0.002357501070946455,
-0.014145966619253159,
-0.03607605770230293,
-0.03897256404161453,
0.008935838006436825,
-0.0358382947742939,
0.003627915633842349,
0.08610355108976364,
-0.035964541137218475,
0.06077380105853081,
0.005111261270940304,
-0.02437276393175125,
-0.02283262461423874,
-0.020315883681178093,
-0.02921125292778015,
0.028844362124800682,
0.0006926102796569467,
-0.022503292188048363,
0.05207306891679764,
-0.014486214146018028,
-0.026848575100302696,
-0.03254377469420433,
-0.027050137519836426,
0.03967493399977684,
0.04303259402513504,
0.03482116013765335,
-0.018981151282787323,
0.04187413677573204,
-0.04765986651182175,
0.0001456405152566731,
-0.02757418528199196,
-0.05591171234846115,
-0.0373377799987793,
-0.019678441807627678,
0.03707301244139671,
0.009287250228226185,
0.026032481342554092,
-0.02560235932469368,
0.021035904064774513,
-0.002203043783083558,
-0.0009501963504590094,
-0.043815165758132935,
0.02992309257388115,
0.012174151837825775,
-0.010320781730115414,
-0.031039578840136528,
-0.03637224808335304,
0.04188823327422142,
-0.06539665162563324,
-0.05420387536287308,
0.007486005779355764,
-0.0665694996714592,
0.05844911187887192,
-0.046143896877765656,
-0.033973947167396545,
0.014821110293269157,
0.017199423164129257,
0.0684565082192421,
0.011819468811154366,
-0.02229188196361065,
0.07101184874773026,
-0.007045523729175329,
0.020181206986308098,
0.02915055677294731,
0.0006320052198134363,
0.045579612255096436,
-0.001896408386528492,
0.03727085888385773,
0.019901875406503677,
-0.014030445367097855,
0.009472604840993881,
-0.041492704302072525,
-0.008643927983939648,
-0.017899708822369576,
-0.27725863456726074,
0.030293982475996017,
-0.0054140854626894,
-0.04639127850532532,
0.016317259520292282,
0.0034972422290593386,
0.009466650895774364,
-0.003995614591985941,
-0.030969230458140373,
0.003594924695789814,
-0.004253576509654522,
-0.0271469634026289,
-0.005783456843346357,
0.03195808082818985,
0.0012920403387397528,
0.011888683773577213,
0.017730191349983215,
-0.0550411120057106,
-0.011845119297504425,
0.020503072068095207,
-0.007078372407704592,
-0.035696130245923996,
-0.0057363323867321014,
0.008798801340162754,
0.015573068521916866,
0.05218120664358139,
-0.0742204412817955,
0.03211576119065285,
-0.044017575681209564,
-0.02630728855729103,
0.02507071942090988,
-0.025535261258482933,
0.00453595956787467,
-0.012047152034938335,
-0.019757993519306183,
0.002620598068460822,
0.007932491600513458,
0.01688990741968155,
-0.026354560628533363,
0.03417186439037323,
-0.020516885444521904,
-0.08586825430393219,
-0.008944790810346603,
0.001018323004245758,
0.07417649775743484,
0.0014762756181880832,
-0.07601720094680786,
-0.0012062079040333629,
-0.02319795824587345,
0.06996891647577286,
-0.026558661833405495,
-0.016641765832901,
0.008052447810769081,
0.018506890162825584,
-0.0041589196771383286,
-0.016367552801966667,
-0.03367222845554352,
-0.0130403907969594,
-0.04456309974193573,
-0.023052088916301727,
-0.020744258537888527,
-0.04663967341184616,
0.004319129511713982,
-0.05001043155789375,
-0.038445863872766495,
-0.043948352336883545,
-0.03646063432097435,
-0.014630407094955444,
0.05266690254211426,
0.012413975782692432,
0.0008280591573566198,
0.04586268961429596,
0.012121142819523811,
-0.10568389296531677,
-0.028597021475434303,
-0.04800960421562195,
-0.025931065902113914,
0.007302081678062677,
-0.04467814788222313,
0.040715236216783524,
-0.027673376724123955,
-0.03736356273293495,
-0.013407687656581402,
0.004582181107252836,
0.039616908878088,
0.0021277109626680613,
0.025368092581629753,
-0.019535599276423454,
-0.03644511103630066,
0.015906808897852898,
0.06472624093294144,
0.004294225946068764,
-0.03564704582095146,
-0.032077208161354065,
0.0058723334223032,
0.03323986008763313,
-0.01650577411055565,
-0.008270022459328175,
-0.013915092684328556,
0.05202991142868996,
0.04184642434120178,
-0.04558990150690079,
0.0223318412899971,
-0.05179538577795029,
-0.032278917729854584,
-0.004496343899518251,
-0.06076336279511452,
0.020032059401273727,
0.018212666735053062,
0.02622384764254093,
0.017335766926407814,
-0.028921227902173996,
0.03209134191274643,
-0.05483277887105942,
-0.038717351853847504,
-0.02251632697880268,
0.0008129573543556035,
0.0264450591057539,
0.031102145090699196,
-0.03703371807932854,
-0.046708159148693085,
0.025468863546848297,
0.030873103067278862,
-0.02906251884996891,
-0.04586346819996834,
-0.04478120431303978,
-0.046235695481300354,
-0.0264278594404459,
-0.001616535591892898,
0.0033047092147171497,
-0.028152335435152054,
0.037119049578905106,
0.036843616515398026,
0.008809843100607395,
0.006666976492851973,
-0.020327253267169,
-0.04317913204431534,
-0.034204017370939255,
0.017330946400761604,
-0.026707621291279793,
0.0014427793212234974,
-0.0023768593091517687,
-0.003618722315877676,
0.01075330376625061,
0.0634760707616806,
-0.004718294367194176,
0.026150858029723167,
-0.00645772460848093,
0.016938533633947372,
0.02989070862531662,
-0.014029542915523052,
-0.03860644996166229,
0.017812931910157204,
-0.043470073491334915,
-0.04035529866814613,
0.012542967684566975,
0.05119334161281586,
-0.020353110507130623,
-0.009534225799143314,
-0.037981338798999786,
0.003548283129930496,
-0.05930967628955841,
-0.01869897171854973,
-0.011128566227853298,
-0.018304841592907906,
0.04790432006120682,
-0.018625738099217415,
0.021315809339284897,
-0.03865792602300644,
-0.028497153893113136,
0.0012082699686288834,
0.008620253764092922,
-0.012362838722765446,
0.029261818155646324,
-0.010311790741980076,
-0.0007405905053019524,
-0.005549558904021978,
0.01626455970108509,
0.042922381311655045,
0.025321364402770996,
-0.02848747745156288,
-0.015481500886380672,
0.02559587173163891,
0.0141512556001544,
0.03231973201036453,
0.01678544282913208,
-0.011649830266833305,
0.0005320957279764116,
-0.004058097489178181,
-0.00936470553278923,
-0.0156470388174057,
0.007821958512067795,
-0.004937398247420788,
0.02432047761976719,
-0.001373572158627212,
-0.06832549721002579,
0.022919468581676483,
-0.028833486139774323,
0.022862104699015617,
0.034649353474378586,
0.040821537375450134,
-0.003574721049517393,
-0.0328616201877594,
0.03372938185930252,
0.046960070729255676,
-0.046930957585573196,
-0.015894856303930283,
0.014659407548606396,
0.003985526971518993,
0.02527911216020584,
-0.019115673378109932,
-0.050652362406253815,
-0.0016446738736703992,
-0.010682174004614353,
0.012810799293220043,
-0.051588162779808044,
-0.057337917387485504,
0.0077468934468925,
0.00017504440620541573,
0.002187850885093212,
0.01992245577275753,
0.0018558544106781483,
0.025916649028658867,
-0.0346994549036026,
-0.013553809374570847,
0.0414481982588768,
-0.0237015038728714,
-0.00803439598530531,
0.011534654535353184,
0.0015154356369748712,
0.015216846019029617,
-0.039171844720840454,
0.015160144306719303,
0.005671829916536808,
-0.00007664014265174046,
-0.0033394366037100554,
-0.05001797527074814,
0.026471829041838646,
0.01884029433131218,
0.04795805737376213,
0.008775323629379272,
0.007436572574079037,
-0.023999063298106194,
-0.009891158901154995,
-0.02827393263578415,
0.020495761185884476,
-0.003008277853950858,
0.008060990832746029,
0.03157801926136017,
0.046067312359809875,
0.010236463509500027,
0.04904956743121147,
-0.006569880526512861,
-0.023058993741869926,
0.07315932214260101,
-0.045278701931238174,
-0.024895770475268364,
-0.00017991606728173792,
-0.05470544844865799,
0.01635584980249405,
0.019474321976304054,
0.012137711979448795,
-0.03194025158882141,
0.042850561439991,
0.04861285537481308,
0.005944063887000084,
0.05148065462708473,
-0.022394634783267975,
0.03870650753378868,
-0.03716864436864853,
-0.03565657138824463,
-0.09867329895496368,
0.003779433900490403,
0.02565678395330906,
-0.022209620103240013,
0.005208590533584356,
-0.021492866799235344,
-0.04252602905035019,
-0.013973872177302837,
-0.05428122729063034,
-0.03402771055698395,
0.017768725752830505,
-0.03135697916150093,
0.008534666150808334,
0.02732262574136257,
-0.04721539095044136,
0.017533430829644203,
0.0201424453407526,
-0.04090818762779236,
-0.05838383361697197,
-0.0276414193212986,
0.07002664357423782,
0.013124744407832623,
0.04308813437819481,
-0.04673083871603012,
0.007443719077855349,
0.08733827620744705,
0.0325155183672905,
0.028582923114299774,
0.049103643745183945,
-0.03574017062783241,
0.05077923834323883,
0.046339791268110275,
0.021197613328695297,
0.0037588998675346375,
0.011939617805182934,
-0.02664383314549923,
-0.060967639088630676,
0.023159697651863098,
0.0034270763862878084,
-0.02786349505186081,
-0.03655439242720604,
0.06018843129277229,
0.001375816878862679,
-0.02492949180305004,
-0.02149338461458683,
0.004230099264532328,
-0.03664761036634445,
-0.016101501882076263,
-0.05186651647090912,
0.033122170716524124,
-0.027672307565808296,
0.05904095619916916,
-0.0357528030872345,
0.030302967876195908,
0.06948267668485641,
-0.019514556974172592,
0.006378761027008295,
0.0017936741933226585,
0.08660634607076645,
0.07841786742210388,
-0.013191796839237213,
0.010100883431732655,
0.06959731131792068,
0.01372151542454958,
-0.043493565171957016,
0.01641193777322769,
-0.044094450771808624,
-0.053098227828741074,
-0.007217044476419687,
-0.02044190838932991,
0.060939766466617584,
-0.02213292568922043,
0.05367673933506012,
-0.03547249361872673,
-0.005594348534941673,
-0.013576514087617397,
-0.012139190919697285,
0.0440053828060627,
0.030710136517882347,
0.014985499903559685,
0.03434409946203232,
-0.04027421772480011,
-0.026044901460409164,
0.0008122723083943129,
0.01464543305337429,
-0.03756511211395264,
0.021465931087732315,
-0.0347352959215641,
0.004931311588734388,
0.04112504795193672,
0.029300013557076454,
0.08807369321584702,
-0.008415726013481617,
0.010740768164396286,
-0.005229019559919834,
0.0288556981831789,
-0.012895400635898113,
0.008090877905488014,
-0.008993081748485565,
-0.02315712161362171,
-0.012158790603280067,
-0.02880736254155636,
0.012235557660460472,
-0.02107890136539936,
-0.043623264878988266,
0.022062746807932854,
-0.04543861746788025,
0.005925599951297045,
0.012779416516423225,
-0.03755153715610504,
-0.04487479105591774,
-0.05240087956190109,
-0.03991153836250305,
-0.03291793167591095,
-0.07808008790016174,
0.025959569960832596,
0.007936469279229641,
-0.00931257288902998,
-0.03393641114234924,
-0.003414310747757554,
0.0136906448751688,
-0.007390728686004877,
0.06652840226888657,
-0.06713321059942245,
0.018429294228553772,
0.0017391799483448267,
0.016572793945670128,
0.009496700018644333,
0.03829699754714966,
0.05958057940006256,
-0.010730061680078506,
0.0075652627274394035,
-0.010362742468714714,
0.00968930684030056,
0.0483764223754406,
0.031674858182668686,
0.010137215256690979,
-0.08908600360155106,
-0.005759099964052439,
0.03222896531224251,
-0.009026802144944668,
-0.05576368793845177,
0.011686467565596104,
0.03973143547773361,
-0.00780509365722537,
0.048358697444200516,
0.008539672009646893,
-0.019264882430434227,
-0.04510364681482315,
0.011761114001274109,
-0.01691208966076374,
-0.009817492216825485,
0.03852807357907295,
-0.025098523125052452,
0.06363403797149658,
0.07274547964334488,
-0.023968510329723358,
-0.022974660620093346,
0.012995660305023193,
0.01804697886109352,
0.00818970799446106,
-0.04092784598469734,
-0.04422415792942047,
-0.0632118508219719,
-0.09121868759393692,
-0.022534063085913658,
0.018777547404170036,
-0.01229152362793684,
-0.02436085045337677,
0.02206176146864891,
0.021938897669315338,
-0.05778173729777336,
0.024947552010416985,
-0.03204117342829704,
0.01667371764779091,
-0.019325928762555122,
-0.02988412231206894,
-0.024298572912812233,
-0.001646513119339943,
0.00916754174977541,
-0.004234431777149439,
0.03281088173389435,
-0.06612998992204666,
0.012979132123291492,
-0.016883578151464462,
0.01500354241579771,
0.045033007860183716,
0.007561482489109039,
-0.005753119010478258
] | [
-0.09890491515398026,
-0.03495590016245842,
-0.044618088752031326,
-0.017000630497932434,
0.03535190597176552,
-0.03696160763502121,
0.004147411324083805,
0.046480756253004074,
0.03133024275302887,
-0.011725050397217274,
0.02434939704835415,
-0.015488877892494202,
-0.0028461040928959846,
0.027717294171452522,
0.03998284414410591,
0.004536036401987076,
-0.033140894025564194,
-0.06825877726078033,
-0.010671676136553288,
0.059958815574645996,
-0.01216594036668539,
-0.035361070185899734,
-0.022416872903704643,
-0.04828721284866333,
0.024616628885269165,
0.030967935919761658,
0.03877211734652519,
-0.021089453250169754,
-0.04519850015640259,
-0.20229604840278625,
0.018711518496274948,
-0.010729793459177017,
-0.0011222108732908964,
-0.02418036200106144,
0.028540467843413353,
0.017494214698672295,
0.01522604189813137,
0.0005273856222629547,
0.014414005912840366,
0.03606870025396347,
-0.0019388006767258048,
0.03953694924712181,
-0.09262067824602127,
-0.0081075644120574,
0.04651135578751564,
-0.01911700889468193,
-0.0075895278714597225,
-0.011089101433753967,
-0.010389633476734161,
0.022098209708929062,
-0.05477451533079147,
0.008378679864108562,
0.038421764969825745,
-0.004290554206818342,
0.0315975621342659,
0.029756611213088036,
0.05644308775663376,
0.07310125231742859,
0.019197965040802956,
0.03656473755836487,
0.0175454281270504,
0.022929856553673744,
-0.12496190518140793,
0.06099036708474159,
0.008769347332417965,
0.01976252719759941,
-0.03428265079855919,
-0.028249410912394524,
-0.004398882854729891,
0.0653219148516655,
0.04501226544380188,
-0.02128347009420395,
-0.042542461305856705,
0.0734802633523941,
-0.00715889036655426,
0.032932449132204056,
0.009339562617242336,
0.016815191134810448,
0.038443971425294876,
-0.031683627516031265,
-0.08106590062379837,
-0.007413092069327831,
-0.03397521376609802,
-0.025978652760386467,
-0.04456561431288719,
0.04910606890916824,
-0.024408822879195213,
0.06981273740530014,
-0.005315694492310286,
0.06170709431171417,
0.03850306570529938,
0.04747070372104645,
0.09826238453388214,
0.024873720481991768,
-0.09971567988395691,
0.011959024704992771,
-0.01278202049434185,
-0.0028573106974363327,
-0.000385246763471514,
0.3903244733810425,
0.009759582579135895,
0.0008324153604917228,
0.0003952374972868711,
0.0696929544210434,
0.002216569148004055,
-0.021560510620474815,
-0.00868102815002203,
-0.06969837099313736,
0.005365484859794378,
-0.026244116947054863,
0.025686264038085938,
-0.042611509561538696,
0.08850714564323425,
-0.06874263286590576,
-0.004767800681293011,
0.04432288929820061,
0.048385027796030045,
0.01598828285932541,
-0.06337273865938187,
0.030632061883807182,
-0.03739890083670616,
0.021752385422587395,
0.015004045329988003,
0.029356176033616066,
0.021035224199295044,
-0.014392202720046043,
0.010936560109257698,
0.06340336054563522,
0.029521474614739418,
-0.0004198185633867979,
0.03918595239520073,
-0.008012743666768074,
-0.09703517705202103,
0.0046465094201266766,
-0.008132651448249817,
-0.0041485619731247425,
0.01476457342505455,
-0.04773414880037308,
-0.02247948944568634,
0.0008188295178115368,
-0.019225144758820534,
-0.059197455644607544,
-0.023368660360574722,
0.008983533829450607,
-0.053512196987867355,
0.10682684928178787,
0.016956577077507973,
-0.01529651042073965,
-0.014587657526135445,
-0.04970526322722435,
-0.0032259072177112103,
0.04497401788830757,
-0.005354542750865221,
-0.06025198847055435,
-0.02025291509926319,
0.019059527665376663,
0.05301058292388916,
0.0035309947561472654,
-0.05302753299474716,
-0.00736548937857151,
0.0042571802623569965,
-0.02278156206011772,
-0.033052921295166016,
0.09606839716434479,
0.041844118386507034,
-0.10008515417575836,
-0.02905406802892685,
0.028138892725110054,
-0.0017420323565602303,
-0.044649556279182434,
-0.01697726547718048,
0.013143048621714115,
-0.054076746106147766,
-0.023617403581738472,
0.06704288721084595,
-0.039113156497478485,
-0.01760067231953144,
-0.036501444876194,
0.016382526606321335,
0.008463461883366108,
0.016651563346385956,
0.00820181891322136,
-0.051230791956186295,
-0.023959729820489883,
-0.034750740975141525,
-0.06976759433746338,
-0.09912233799695969,
0.030195029452443123,
-0.0035806349478662014,
-0.03818005695939064,
-0.05972209572792053,
-0.023339172825217247,
-0.07067602872848511,
0.10862948000431061,
-0.04495065286755562,
-0.05542885512113571,
-0.014627129770815372,
-0.02277025580406189,
-0.012985065579414368,
-0.03984525799751282,
0.061034563928842545,
0.050526928156614304,
-0.010662825778126717,
0.04075291007757187,
-0.04473324865102768,
0.023087691515684128,
0.0401277057826519,
-0.03298069164156914,
0.04689436033368111,
0.0032357254531234503,
-0.0407838299870491,
0.024183552712202072,
-0.04173343628644943,
0.04028273746371269,
-0.019838400185108185,
0.003281138837337494,
-0.0014181099832057953,
0.009463665075600147,
0.043321575969457626,
0.004565467592328787,
-0.009907209314405918,
0.026914721354842186,
0.00945054180920124,
-0.3531475067138672,
-0.05218610540032387,
-0.04941907897591591,
-0.0005388722056522965,
-0.0063503277488052845,
-0.013817507773637772,
0.02392050065100193,
-0.05552280694246292,
0.003026359947398305,
0.03617459535598755,
0.08784560114145279,
0.0004775207780767232,
-0.009302577003836632,
-0.0912301316857338,
0.016398819163441658,
0.01921750232577324,
-0.05603569373488426,
0.01567026600241661,
-0.01632613129913807,
-0.01859661377966404,
0.004210480488836765,
-0.03294192627072334,
-0.03089265525341034,
-0.030093964189291,
-0.006900000851601362,
0.004412069916725159,
0.10962735861539841,
0.013436807319521904,
0.01733294315636158,
-0.06787833571434021,
0.0413823202252388,
0.017092853784561157,
0.0015067823696881533,
-0.09976790100336075,
0.0017200254369527102,
-0.013858039863407612,
-0.0035758560989052057,
0.006962171755731106,
0.019240831956267357,
-0.017106615006923676,
-0.057932574301958084,
-0.011881327256560326,
-0.04820913448929787,
-0.05000004172325134,
0.015121089294552803,
0.024875422939658165,
-0.026874173432588577,
0.0128545006737113,
0.013609632849693298,
0.0798400267958641,
0.02340567670762539,
0.011859669350087643,
0.016624361276626587,
0.06866542249917984,
0.05595158413052559,
-0.03244197368621826,
-0.06037302315235138,
-0.01057896576821804,
0.03530115261673927,
0.009262822568416595,
0.029772786423563957,
0.034591194242239,
0.016040345653891563,
-0.0354623943567276,
0.016754521057009697,
0.011584902182221413,
-0.008400410413742065,
-0.0014378719497472048,
0.01768258586525917,
-0.05292084068059921,
-0.04263690114021301,
0.11915997415781021,
0.013430498540401459,
0.0046865795738995075,
0.031450770795345306,
0.05310637503862381,
-0.00955731701105833,
-0.01925959438085556,
0.02994157187640667,
0.023150060325860977,
0.02419360913336277,
-0.037210479378700256,
0.06877512484788895,
-0.008561089634895325,
-0.03954590857028961,
0.08161105960607529,
0.02164919674396515,
-0.01115726213902235,
0.05809054523706436,
-0.000892106385435909,
-0.016576645895838737,
0.01012458000332117,
-0.057287100702524185,
-0.059410210698843,
0.05282905697822571,
-0.03602093830704689,
-0.25258690118789673,
0.041561584919691086,
0.03640967980027199,
0.049028974026441574,
0.001974556827917695,
0.04451167583465576,
0.032027676701545715,
-0.024057501927018166,
-0.017709042876958847,
0.010576585307717323,
0.03198778256773949,
0.0382944792509079,
-0.024967674165964127,
-0.012538791634142399,
0.0031692232005298138,
-0.001668818760663271,
0.016663454473018646,
0.025462502613663673,
0.028524545952677727,
0.010501384735107422,
0.03278813138604164,
-0.017187289893627167,
0.15539325773715973,
0.025362122803926468,
0.01392345130443573,
0.051459215581417084,
-0.02232026867568493,
0.028048763051629066,
0.051684893667697906,
-0.0035843655932694674,
-0.026780039072036743,
0.023485885933041573,
0.006310771685093641,
0.016842063516378403,
0.015730060636997223,
-0.044095560908317566,
-0.0020078395027667284,
0.044758591800928116,
0.016450390219688416,
-0.02902338281273842,
-0.029936714097857475,
0.05124865472316742,
-0.02423723228275776,
0.03643359988927841,
0.08554016053676605,
-0.008187901228666306,
-0.014523377642035484,
-0.015301384031772614,
-0.04760237783193588,
-0.0032114945352077484,
-0.03551701828837395,
-0.07426474243402481,
-0.02370440401136875,
-0.012333382852375507,
-0.014866964891552925,
0.07754366844892502,
0.03845459595322609,
-0.036618515849113464,
0.009440043941140175,
0.003998535685241222,
0.024406224489212036,
-0.020689407363533974,
0.0831434577703476,
-0.01601693034172058,
0.00284300884231925
] | [
0.014850815758109093,
0.038039688020944595,
-0.011062146164476871,
0.017004715278744698,
-0.015244915150105953,
-0.010242996737360954,
-0.008770273067057133,
-0.015825483947992325,
-0.028342371806502342,
0.007446795701980591,
-0.014282464981079102,
0.026551488786935806,
0.05343908816576004,
-0.0006378366961143911,
0.00443774601444602,
-0.00016319153655786067,
0.011655802838504314,
0.0007839113823138177,
0.0333283394575119,
0.03285514563322067,
-0.015538198873400688,
0.001999101135879755,
0.007510396186262369,
-0.03508554399013519,
0.008508618921041489,
0.021931415423750877,
-0.036077313125133514,
0.0035741268657147884,
0.013626154512166977,
-0.13619846105575562,
-0.01345029380172491,
-0.03372662886977196,
-0.011026720516383648,
0.002448079874739051,
-0.003066249890252948,
-0.008991166017949581,
0.025968709960579872,
0.008527709171175957,
-0.017609143629670143,
0.023150533437728882,
0.023058010265231133,
-0.011117838323116302,
-0.03936362639069557,
0.03769362345337868,
-0.01348582748323679,
-0.041643913835287094,
-0.01137144397944212,
-0.013426837511360645,
0.005167308263480663,
0.013054808601737022,
-0.027019016444683075,
-0.0057482426054775715,
0.03343774750828743,
0.009385463781654835,
0.005806062836199999,
0.01821541227400303,
-0.03125942125916481,
0.003278937190771103,
0.030458955094218254,
0.003421584377065301,
0.053382422775030136,
-0.015340428799390793,
-0.036458730697631836,
-0.033651165664196014,
-0.03400043770670891,
-0.005967848468571901,
0.02435166761279106,
-0.010351372882723808,
-0.02275790087878704,
0.017612535506486893,
-0.01934685744345188,
0.042314015328884125,
-0.10883861035108566,
-0.0061277118511497974,
-0.040519144386053085,
0.009699884802103043,
0.04270109534263611,
-0.0016792725073173642,
-0.013170097023248672,
-0.004114384297281504,
-0.03482341766357422,
-0.004718069452792406,
-0.009157686494290829,
0.01413033064454794,
-0.023288723081350327,
0.026892978698015213,
-0.01039137039333582,
-0.016115382313728333,
0.009763108566403389,
0.030231032520532608,
-0.04562576115131378,
0.03502652794122696,
0.0074507626704871655,
-0.04495895653963089,
-0.10759925097227097,
-0.009120523929595947,
0.01959243416786194,
0.006664902903139591,
0.025204526260495186,
0.7900341153144836,
0.06770411133766174,
0.00716820266097784,
0.014688318595290184,
0.010730825364589691,
0.0032665652688592672,
0.009172964841127396,
0.009451743215322495,
0.009984565898776054,
-0.014133932068943977,
0.007218988612294197,
-0.038663048297166824,
0.04866742715239525,
0.04259607195854187,
0.022763803601264954,
-0.013780764304101467,
0.05216752365231514,
0.009488951414823532,
-0.045879997313022614,
-0.005561641417443752,
0.04665064439177513,
0.023529455065727234,
0.024506714195013046,
-0.012642782181501389,
-0.016160771250724792,
0.0072052511386573315,
-0.14041981101036072,
-0.012620707042515278,
-7.45962323281291e-33,
0.019732225686311722,
0.0182737335562706,
0.021227773278951645,
0.0016483913641422987,
0.0008261534967459738,
0.017089731991291046,
-0.025605306029319763,
-0.04423096403479576,
-0.009205341339111328,
-0.04188893362879753,
-0.05035661160945892,
-0.036359965801239014,
0.02511657029390335,
-0.04600326344370842,
0.021702459082007408,
-0.005981863010674715,
0.02576400898396969,
0.032072097063064575,
0.022426605224609375,
0.007706024218350649,
-0.0062224301509559155,
0.0565047413110733,
-0.004270664881914854,
0.038754358887672424,
-0.03728732094168663,
0.05681131035089493,
-0.02996467612683773,
-0.0008950703195296228,
-0.005950979422777891,
-0.041190456598997116,
-0.02023754082620144,
-0.025770923122763634,
-0.01117212325334549,
0.0026062598917633295,
0.009854908101260662,
-0.04663712903857231,
-0.043491050601005554,
-0.003180659143254161,
-0.03581865131855011,
-0.09883346408605576,
-0.07998336106538773,
0.02141387388110161,
-0.044584088027477264,
0.027622226625680923,
-0.04857823997735977,
0.006769654806703329,
-0.02209046296775341,
0.010272295214235783,
0.00023949079331941903,
0.010078606195747852,
-0.03703518956899643,
0.008480502292513847,
0.018763180822134018,
-0.0026761016342788935,
-0.050656408071517944,
0.005375503096729517,
0.03923865407705307,
0.028386039659380913,
-0.03706956282258034,
0.006941607687622309,
0.031567104160785675,
-0.02729937806725502,
-0.040009815245866776,
0.04795687273144722,
0.008272852748632431,
0.035839419811964035,
-0.022335341200232506,
0.0002293379366165027,
-0.011298593133687973,
-0.0008172839879989624,
-0.038517437875270844,
0.037944573909044266,
0.015917854383587837,
0.012735164724290371,
0.02352418377995491,
-0.05050987750291824,
0.0023827452678233385,
-0.01626434735953808,
-0.016122059896588326,
0.03280049189925194,
-0.022447830066084862,
-0.04891229420900345,
0.006431262474507093,
-0.03941861912608147,
-0.005558602977544069,
-0.001377331675030291,
0.03538428246974945,
0.010462643578648567,
0.07606719434261322,
0.03811343386769295,
0.05491993576288223,
0.007490137126296759,
0.008155813440680504,
-0.017321869730949402,
-0.004026731010526419,
7.255088685137771e-33,
-0.044287312775850296,
-0.011485826224088669,
0.0029749139212071896,
0.023827509954571724,
0.0414854921400547,
0.029186299070715904,
-0.007138968911021948,
0.028719626367092133,
-0.062088433653116226,
0.015590770170092583,
-0.01872243359684944,
0.0036817986983805895,
0.012898378074169159,
0.025965997949242592,
0.03855568915605545,
-0.005827517714351416,
0.01812058314681053,
-0.04016588255763054,
0.026064597070217133,
0.02534474991261959,
0.003240960882976651,
-0.002307096729055047,
-0.014104831032454967,
0.05234997346997261,
0.025364063680171967,
0.04502122104167938,
-0.021349050104618073,
-0.01853511855006218,
-0.019890813156962395,
0.002800966612994671,
0.00781211955472827,
-0.037102870643138885,
0.00676615908741951,
-0.02526497282087803,
0.013717424124479294,
-0.025378433987498283,
-0.027163341641426086,
0.02876908890902996,
0.02643875777721405,
-0.0011408455902710557,
-0.007996583357453346,
-0.039341140538454056,
-0.035682208836078644,
0.07492776215076447,
0.022502563893795013,
0.019657285884022713,
-0.014784456230700016,
-0.00042214852874167264,
-0.00032342670601792634,
0.01260725874453783,
-0.01739698089659214,
0.05348898470401764,
0.031882915645837784,
0.03075087070465088,
0.03175590559840202,
-0.019441921263933182,
0.013844890519976616,
0.028602227568626404,
0.006432957947254181,
0.039836861193180084,
-0.020878974348306656,
0.021206717938184738,
-0.02361810766160488,
0.04771064221858978,
0.0038980552926659584,
-0.041287750005722046,
-0.005139324348419905,
-0.005281420890241861,
-0.016635609790682793,
0.00863809697329998,
-0.006432170979678631,
0.004134668502956629,
-0.016275543719530106,
0.026004139333963394,
0.09651841968297958,
-0.012623417191207409,
-0.028727540746331215,
0.01162777654826641,
-0.05916520208120346,
0.01632617600262165,
-0.00493685994297266,
0.048407893627882004,
-0.0006072962423786521,
-0.0180149395018816,
0.025709368288517,
-0.01344409491866827,
-0.018008142709732056,
0.01178271695971489,
-0.0523548349738121,
-0.032550353556871414,
0.011059912852942944,
0.0015830169431865215,
-0.06476110219955444,
0.023279014974832535,
-0.03707955777645111,
-1.2637465296450046e-8,
-0.03077969141304493,
-0.028142858296632767,
-0.00777847645804286,
-0.016095099970698357,
0.012668987736105919,
0.05187389627099037,
-0.004057596437633038,
0.02268996462225914,
-0.009872385300695896,
0.048363182693719864,
0.020548991858959198,
0.023551244288682938,
0.024272490292787552,
-0.028774339705705643,
0.011759749613702297,
-0.0631835013628006,
0.017206119373440742,
-0.01650814898312092,
0.02738724648952484,
0.020220652222633362,
0.027509473264217377,
0.01901373453438282,
-0.04361487552523613,
0.009829908609390259,
0.0035648334305733442,
-0.03946615755558014,
0.05378826707601547,
-0.024551261216402054,
-0.006474744062870741,
-0.04202868416905403,
-0.03997790440917015,
-0.004835416097193956,
-0.011563211679458618,
-0.016269544139504433,
-0.05680813640356064,
0.009609110653400421,
0.03597275912761688,
0.02292397990822792,
0.017555266618728638,
0.02810119464993477,
-0.023209698498249054,
0.02345355413854122,
-0.036079298704862595,
-0.023615865036845207,
-0.03204142674803734,
0.030176978558301926,
-0.0333898589015007,
0.0288223996758461,
0.07244420051574707,
-0.054088663309812546,
-0.039470426738262177,
-0.026569591835141182,
0.037909939885139465,
-0.01849653199315071,
0.041651658713817596,
0.01655697263777256,
0.005216732155531645,
-0.015320613980293274,
0.02123402990400791,
-0.016825275495648384,
0.06564409285783768,
-0.0058789667673408985,
-0.03243259713053703,
-0.027897177264094353
] | neo4j-ha-org-neo4j-graphdb-transactionfailureexception-timeout-waiting-for-database-to-allow-new-transactions-blocking-components-1 | https://markhneedham.com/blog/2014/01/27/neo4j-ha-org-neo4j-graphdb-transactionfailureexception-timeout-waiting-for-database-to-allow-new-transactions-blocking-components-1 |
false | 2014-01-19 19:29:16 | Neo4j Backup: java.lang.ClassCastException: org.jboss.netty.buffer.BigEndianHeapChannelBuffer cannot be cast to org.neo4j.cluster.com.message.Message | [
"neo4j"
] | [
"neo4j"
] | _(as Gabriel points out in the comments the ability to do a 'HA backup' doesn't exist in more recent versions of Neo4j. I'll leave this post here for people still running on older versions who encounter the error.)_
When using Neo4j's online backup facility there are two ways of triggering it, either by using the 'http://docs.neo4j.org/chunked/milestone/backup-embedded-and-server.html[single://]' or 'http://docs.neo4j.org/chunked/milestone/backup-ha.html[ha://]' syntax and these behave slightly differently.
If you're using the 'single://' syntax and don't specify a port then it will connect to '6362' by default:
[source,bash]
----
./neo4j-backup -from single://192.168.1.34 -to /mnt/backup/neo4j-backup
----
If you've changed the backup port via the 'online_backup_server' property in +++<cite>+++conf/neo4j.properties+++</cite>+++ you'll need to set the port explicitly:
[source,text]
----
online_backup_server=192.168.1.34:6363
----
[source,bash]
----
./neo4j-backup -from single://192.168.1.34:6363 -to /mnt/backup/neo4j-backup
----
If you're using the 'ha://' syntax then the backup client joins the HA cluster, works out which machine is the master and then creates a backup from that machine.
In order for the backup client to join the cluster it connects to port '5001' by default:
[source,bash]
----
./neo4j-backup -from ha://192.168.1.34 -to /mnt/backup/neo4j-backup
----
If you've changed the 'ha.cluster_server' property then you'll need to set the port explicitly:
[source,text]
----
ha.cluster_server=192.168.1.34:5002
----
[source,bash]
----
./neo4j-backup -from ha://192.168.1.34:5002 -to /mnt/backup/neo4j-backup
----
A mistake that I made when first using this utility was to use the 'ha://' syntax with the backup port. e.g.
[source,bash]
----
./neo4j-backup -from ha://192.168.1.34:6362 -to /mnt/backup/neo4j-backup
----
If you do this you'll end up with the following exception:
[source,text]
----
2014-01-19 19:24:30.842+0000 ERROR [o.n.c.c.NetworkSender]: Receive exception:
java.lang.ClassCastException: org.jboss.netty.buffer.BigEndianHeapChannelBuffer cannot be cast to org.neo4j.cluster.com.message.Message
at org.neo4j.cluster.com.NetworkSender$NetworkMessageSender.messageReceived(NetworkSender.java:409) ~[neo4j-cluster-2.0.0.jar:2.0.0]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268) ~[netty-3.6.3.Final.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255) ~[netty-3.6.3.Final.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88) ~[netty-3.6.3.Final.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:107) ~[netty-3.6.3.Final.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312) ~[netty-3.6.3.Final.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:88) ~[netty-3.6.3.Final.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) ~[netty-3.6.3.Final.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45]
----
Let me know in the comments if any of this doesn't make sense. There are lots of other examples to follow on http://docs.neo4j.org/chunked/milestone/re04.html[neo4j-backup's man page] in the manual as well. | null | null | [
0.0033338237553834915,
-0.024109620600938797,
0.00024719335488043725,
0.029327280819416046,
0.09290793538093567,
-0.009753316640853882,
0.03569119796156883,
0.006315627600997686,
0.01645304076373577,
-0.02563139796257019,
-0.016882004216313362,
-0.003199678845703602,
-0.05621274560689926,
0.02891530469059944,
-0.01575423963367939,
0.06171705201268196,
0.08220188319683075,
0.023913465440273285,
0.007091837469488382,
-0.011804752983152866,
0.017964599654078484,
0.04886075109243393,
0.01880062185227871,
0.032434310764074326,
0.03247011452913284,
0.005914301611483097,
-0.006527686025947332,
0.002626451663672924,
-0.04445979371666908,
-0.03378972038626671,
0.04633017256855965,
-0.0021453332155942917,
0.024945681914687157,
0.0013517988845705986,
0.023543942719697952,
0.001958069857209921,
-0.03809671849012375,
0.006124038249254227,
-0.002452474320307374,
-0.011472850106656551,
-0.07011061161756516,
0.03051868826150894,
-0.021689221262931824,
0.039944302290678024,
-0.04985084757208824,
0.022809704765677452,
-0.043052565306425095,
0.025337664410471916,
0.018025437369942665,
-0.00426581222563982,
-0.10423345118761063,
0.006316131446510553,
-0.014306479133665562,
-0.008033900521695614,
0.007126173470169306,
0.03873484581708908,
0.0028438239824026823,
-0.06826789677143097,
0.041117262095212936,
-0.019320661202073097,
-0.015165908262133598,
-0.004351865034550428,
-0.012347964569926262,
0.01005627866834402,
-0.015080791898071766,
-0.04806877672672272,
0.03640786185860634,
0.05338575318455696,
-0.05402841046452522,
0.00655759684741497,
0.0029309052042663097,
0.010798872448503971,
-0.026201725006103516,
-0.020640216767787933,
0.008631079457700253,
-0.04946321249008179,
-0.006918426603078842,
0.030550414696335793,
0.0629829466342926,
0.06907626986503601,
-0.019343024119734764,
0.00017992433276958764,
0.003396964631974697,
0.011668013408780098,
0.014233235269784927,
-0.05581611022353172,
-0.03214322030544281,
-0.020889412611722946,
-0.07097971439361572,
0.0683935135602951,
0.0036199442110955715,
-0.05210011824965477,
0.026807572692632675,
-0.000997839029878378,
-0.015001675114035606,
0.031549420207738876,
-0.009008483029901981,
0.0033791500609368086,
0.039604008197784424,
-0.020461315289139748,
-0.046539951115846634,
-0.023399855941534042,
-0.032125912606716156,
0.011975669302046299,
-0.0874812975525856,
-0.018227647989988327,
-0.0332002118229866,
0.0006777227972634137,
0.004679955076426268,
-0.04342358931899071,
-0.019241938367486,
0.008999756537377834,
-0.026617342606186867,
0.009636340662837029,
-0.07218900322914124,
0.059748295694589615,
0.01911928690969944,
-0.00936899147927761,
0.00871336180716753,
0.01589774526655674,
0.04895348474383354,
0.045070454478263855,
-0.011179307475686073,
0.07668053358793259,
-0.005214679520577192,
0.028944021090865135,
0.01054785493761301,
0.034626640379428864,
-0.03591838479042053,
-0.07403960824012756,
-0.019313892349600792,
0.07915233075618744,
-0.014783612452447414,
0.02535942755639553,
0.00714829470962286,
-0.012839375995099545,
-0.013283992186188698,
0.017628755420446396,
0.054172731935977936,
0.020297423005104065,
-0.002035037614405155,
-0.02444223128259182,
0.006832085084170103,
0.03870489075779915,
0.05084344744682312,
0.03165778890252113,
-0.03832721337676048,
-0.044789791107177734,
-0.02325555682182312,
-0.002386395586654544,
0.02100185863673687,
0.035367678850889206,
0.03626174479722977,
-0.0197491105645895,
0.02093808725476265,
0.10174848139286041,
0.06333043426275253,
0.015208039432764053,
-0.04586140066385269,
0.03174664080142975,
0.04501137509942055,
0.04626297578215599,
0.01793835684657097,
0.05630190297961235,
0.014875421300530434,
-0.025511199608445168,
-0.005690528079867363,
0.04072529822587967,
0.004834088031202555,
0.006977953016757965,
-0.04088996723294258,
-0.07225742936134338,
0.06802554428577423,
-0.041767384856939316,
-0.013817121274769306,
0.061938103288412094,
0.07478328049182892,
0.015779724344611168,
0.020093830302357674,
0.025365659967064857,
-0.0844380334019661,
0.07284419983625412,
0.0069134971126914024,
0.0139675447717309,
-0.01246420107781887,
0.01392070110887289,
0.0672050416469574,
0.023297196254134178,
0.03234925866127014,
0.01713559404015541,
-0.0854482501745224,
-0.09722602367401123,
0.00835525430738926,
-0.004737016744911671,
0.06123996526002884,
-0.0416487380862236,
-0.000375223346054554,
0.050136443227529526,
0.013998890295624733,
0.03011138178408146,
0.00794573500752449,
0.0002382245729677379,
0.01125052385032177,
-0.057273514568805695,
-0.05823106691241264,
0.07801756262779236,
0.022711744531989098,
-0.03595009818673134,
-0.03507642820477486,
0.00963139533996582,
-0.012195917777717113,
0.017218586057424545,
0.029428360983729362,
-0.0077527654357254505,
0.05719883367419243,
0.01839996874332428,
0.012225167825818062,
-0.006751392502337694,
0.03171706199645996,
-0.03843314200639725,
0.04180189594626427,
0.024971501901745796,
-0.0008719963952898979,
0.03434458747506142,
-0.012188545428216457,
0.09706287831068039,
0.06492720544338226,
0.0032723122276365757,
-0.03224428743124008,
0.04916452616453171,
0.0128276152536273,
-0.01881648227572441,
-0.014511906541883945,
-0.006288063712418079,
-0.012171680107712746,
0.015824273228645325,
-0.036946143954992294,
-0.04071786627173424,
-0.018655385822057724,
-0.027198178693652153,
0.0032437194604426622,
0.052156299352645874,
-0.029715588316321373,
0.052854593843221664,
0.009640415199100971,
-0.003998700994998217,
0.0014255353016778827,
-0.02464103139936924,
-0.05565808713436127,
0.02024957910180092,
0.0009027356863953173,
-0.010939870961010456,
0.07653823494911194,
-0.02056272327899933,
-0.0033702112268656492,
-0.04020563140511513,
-0.019386429339647293,
0.06654001772403717,
0.03604723513126373,
0.04441438987851143,
-0.01882050186395645,
0.046112775802612305,
-0.056049562990665436,
0.009872328490018845,
-0.01679764874279499,
-0.05424521490931511,
-0.03666430339217186,
-0.01553227100521326,
0.035718973726034164,
-0.015086056664586067,
0.023416636511683464,
-0.03158864378929138,
0.023070896044373512,
0.007433515507727861,
0.03705519437789917,
-0.014776286669075489,
0.04615122452378273,
0.0011099281255155802,
0.010218464769423008,
-0.031802162528038025,
-0.032332565635442734,
0.052769165486097336,
-0.060204315930604935,
-0.04163123294711113,
-0.012406433001160622,
-0.05850156769156456,
0.044383663684129715,
-0.054346468299627304,
-0.03817316144704819,
0.0018652480794116855,
0.03302207961678505,
0.026000402867794037,
0.02827727235853672,
0.005610479041934013,
0.06864134222269058,
0.0284329392015934,
0.005954250227659941,
0.029406892135739326,
0.012468197382986546,
0.05769171938300133,
-0.01884475164115429,
0.03333853930234909,
0.02538825385272503,
-0.03843267634510994,
-0.01298595778644085,
-0.03904440253973007,
-0.000011989454833383206,
-0.027326034381985664,
-0.28251397609710693,
0.05458807200193405,
-0.007748637814074755,
-0.05774668976664543,
-0.0007798154256306589,
-0.029824912548065186,
-0.0005291385459713638,
-0.02047545462846756,
-0.04873700067400932,
-0.0034369470085948706,
-0.020328165963292122,
-0.04657486081123352,
0.016061929985880852,
0.010225769132375717,
0.0049210283905267715,
0.004968025255948305,
0.005212982185184956,
-0.043650008738040924,
-0.015887606889009476,
-0.0010070903226733208,
-0.023626409471035004,
-0.021882476285099983,
0.0011370483553037047,
0.015065724030137062,
0.015520606189966202,
0.046525999903678894,
-0.07450038939714432,
0.04455436393618584,
-0.05934330075979233,
-0.04123501852154732,
-0.013241813518106937,
-0.021506190299987793,
0.016808779910206795,
0.020956508815288544,
-0.02147570066154003,
-0.015148024074733257,
0.04731026664376259,
0.0009306870051659644,
0.0064363982528448105,
0.009992399252951145,
-0.033931296318769455,
-0.040132422000169754,
-0.0018191556446254253,
-0.00026996724773198366,
0.08276006579399109,
-0.02284085378050804,
-0.07991967350244522,
0.0053925528191030025,
-0.013050703331828117,
0.06938900798559189,
-0.019811000674962997,
-0.026107771322131157,
-0.004516579210758209,
0.005372494924813509,
-0.013470885343849659,
-0.0285267885774374,
-0.027193574234843254,
0.003468284150585532,
-0.0205539483577013,
-0.03833191841840744,
-0.007549924775958061,
-0.03122090734541416,
0.011597837321460247,
-0.04751081392168999,
-0.028006140142679214,
-0.05073128268122673,
-0.06550800800323486,
-0.029839973896741867,
0.07358618825674057,
0.01676921918988228,
-0.024379100650548935,
0.0465632788836956,
-0.018830718472599983,
-0.09507503360509872,
-0.03632771223783493,
-0.04747369885444641,
-0.032305892556905746,
-0.017397401854395866,
-0.03337198123335838,
0.06259609758853912,
-0.03920259326696396,
-0.039742205291986465,
-0.008053233847022057,
0.017368348315358162,
0.022491512820124626,
-0.00001446359783585649,
0.03463251516222954,
-0.003267780179157853,
-0.0056848605163395405,
0.029283547773957253,
0.06835190206766129,
-0.011484532617032528,
-0.015013633295893669,
-0.005300224758684635,
-0.005206744186580181,
0.032867319881916046,
-0.010288607329130173,
-0.0071034603752195835,
0.03439988195896149,
0.04596938565373421,
0.04127942770719528,
-0.026886362582445145,
0.026049263775348663,
-0.04595908522605896,
-0.023421475663781166,
0.0017113012727349997,
-0.047430865466594696,
0.018776388838887215,
0.016289686784148216,
0.039607882499694824,
-0.02038203738629818,
-0.01636624149978161,
0.038200244307518005,
-0.05521755293011665,
-0.012611295096576214,
-0.016494765877723694,
-0.005355158820748329,
0.03212807700037956,
0.05429477244615555,
-0.022511616349220276,
-0.05468457192182541,
0.034735050052404404,
0.042065996676683426,
-0.03490360081195831,
-0.05575552210211754,
-0.016514591872692108,
-0.02212265506386757,
-0.007306205108761787,
0.00983777828514576,
0.014580640941858292,
-0.009774965234100819,
0.043771304190158844,
0.06440563499927521,
-0.015206843614578247,
0.041641298681497574,
-0.018567072227597237,
-0.028307314962148666,
-0.020559439435601234,
0.012643108144402504,
-0.016171623021364212,
-0.023447327315807343,
-0.005450207274407148,
-0.027362048625946045,
0.03378363698720932,
0.05378307029604912,
0.023645615205168724,
0.013808964751660824,
-0.00381491775624454,
0.031527213752269745,
-0.008678050711750984,
-0.0033316954504698515,
-0.0513535737991333,
-0.002796292072162032,
-0.03742241486907005,
-0.03526553884148598,
-0.00687030702829361,
0.054778698831796646,
-0.02746475115418434,
-0.019711174070835114,
-0.011372830718755722,
0.0007252258947119117,
-0.06451547145843506,
-0.003284058067947626,
0.008085024543106556,
-0.007771384436637163,
0.05723261833190918,
-0.026648642495274544,
-0.005337133537977934,
-0.04206617549061775,
-0.012905685231089592,
0.015507897362112999,
0.015778793022036552,
-0.029479030519723892,
-0.007770176976919174,
0.019018756225705147,
0.001030616695061326,
-0.0037594849709421396,
0.03357674553990364,
0.05198444426059723,
0.008805720135569572,
0.002630620263516903,
-0.007838983088731766,
0.025022009387612343,
0.0080806203186512,
0.039843011647462845,
-0.005800304003059864,
-0.02419755794107914,
-0.01609182171523571,
-0.004280282184481621,
-0.0031685091089457273,
-0.026245567947626114,
-0.0028352204244583845,
0.005442737136036158,
0.0329572930932045,
-0.0160597562789917,
-0.0614069364964962,
0.04230279475450516,
-0.010586559772491455,
0.008634733036160469,
0.04189741984009743,
0.010835383087396622,
0.010442567989230156,
-0.03232540935277939,
0.0461052767932415,
0.051574863493442535,
-0.05146493390202522,
-0.0008766792016103864,
0.0031408770009875298,
-0.0020805897656828165,
0.001385910203680396,
-0.008899232372641563,
-0.05190804600715637,
-0.029311325401067734,
-0.012024647556245327,
0.04418718442320824,
-0.02340792492032051,
-0.0490022636950016,
-0.0038407158572226763,
-0.008368244394659996,
-0.006215954665094614,
0.019474033266305923,
0.021716073155403137,
0.024243636056780815,
-0.03649812191724777,
-0.04909504950046539,
0.030991334468126297,
-0.014848077669739723,
-0.006235936190932989,
0.007029994856566191,
0.0028339631389826536,
0.031871549785137177,
-0.03395875543355942,
0.03721514716744423,
0.03443801775574684,
0.0018719512736424804,
-0.02310318872332573,
-0.03432914987206459,
0.013602355495095253,
-0.026372617110610008,
0.033067867159843445,
-0.00046080307220108807,
0.01492764800786972,
-0.020792396739125252,
-0.017133623361587524,
-0.034980617463588715,
-0.014489633031189442,
-0.010685787536203861,
-0.016186410561203957,
0.01057775691151619,
0.04881889745593071,
0.0009517633588984609,
0.01792605221271515,
-0.02211269922554493,
-0.014191553927958012,
0.06032198667526245,
-0.028194738551974297,
-0.040301766246557236,
0.0067781670950353146,
-0.05852397158741951,
0.015353279188275337,
0.022914977744221687,
0.007075903005897999,
-0.029102077707648277,
0.03656090050935745,
0.05752437934279442,
-0.0015949117951095104,
0.010185747407376766,
-0.034633684903383255,
0.03453591465950012,
-0.04855789244174957,
-0.01836531050503254,
-0.0910593569278717,
0.010379710234701633,
0.010852252133190632,
-0.0012123910710215569,
-0.012602109462022781,
-0.0021895437967032194,
-0.04693901166319847,
-0.002089626621454954,
-0.06920598447322845,
-0.04234476014971733,
0.030082261189818382,
-0.022903408855199814,
0.025021985173225403,
0.015284547582268715,
-0.05632489547133446,
0.017547154799103737,
0.03607291355729103,
-0.04023797810077667,
-0.04594528675079346,
-0.0441179983317852,
0.03401922062039375,
-0.004774912726134062,
0.04606788605451584,
-0.020337099209427834,
-0.024700598791241646,
0.05711441859602928,
0.033121395856142044,
0.031890999525785446,
0.04952697828412056,
-0.01849828101694584,
0.020941000431776047,
0.03440761938691139,
0.009672373533248901,
-0.007246583234518766,
0.023028535768389702,
-0.04426649585366249,
-0.042366109788417816,
0.02115897461771965,
0.006817045621573925,
-0.005269341170787811,
-0.029509514570236206,
0.04086580127477646,
0.008967261761426926,
-0.024149416014552116,
-0.027735505253076553,
0.03519351780414581,
-0.03872697800397873,
-0.01891482248902321,
-0.03814475238323212,
0.004313596524298191,
-0.03281121701002121,
0.03398032486438751,
-0.02395874634385109,
0.011251164600253105,
0.0716557726264,
-0.022645514458417892,
-0.0037475372664630413,
0.021285133436322212,
0.08401240408420563,
0.0883605107665062,
0.010739841498434544,
0.016031848266720772,
0.08430571854114532,
-0.013454507105052471,
-0.031139830127358437,
0.0061662448570132256,
-0.03471113368868828,
-0.02310195565223694,
-0.004879226442426443,
0.010523977689445019,
0.06661661714315414,
-0.029846448451280594,
0.06921239197254181,
-0.03681005910038948,
0.0013079775962978601,
-0.01979195512831211,
-0.00020632213272619992,
0.04258742928504944,
0.03204973042011261,
0.01960774138569832,
0.05165768042206764,
-0.032189611345529556,
-0.03313574194908142,
0.006080123595893383,
0.012563519179821014,
-0.01666836068034172,
0.022308679297566414,
-0.012672833167016506,
-0.005506800953298807,
0.037998419255018234,
0.011254731565713882,
0.06587445735931396,
-0.017124563455581665,
0.007915448397397995,
0.019412755966186523,
0.027667628601193428,
-0.025288334116339684,
0.0188274048268795,
-0.0071658180095255375,
-0.03506995737552643,
-0.01988309435546398,
-0.011242575012147427,
-0.0065912362188100815,
-0.022908750921487808,
-0.017835581675171852,
0.02541663683950901,
-0.012127945199608803,
-0.0026424566749483347,
-0.01488436758518219,
-0.029326722025871277,
-0.02245907671749592,
-0.03222055733203888,
-0.030717141926288605,
-0.0681748315691948,
-0.07346230745315552,
0.021206296980381012,
-0.007398094050586224,
-0.013070771470665932,
-0.026409611105918884,
-0.010968837887048721,
-0.01872754469513893,
-0.013504797592759132,
0.04330023005604744,
-0.049385279417037964,
-0.0075927372090518475,
-0.014787185937166214,
0.0146869458258152,
0.028641467913985252,
0.05611442029476166,
0.060355398803949356,
0.006443878170102835,
-0.00677234772592783,
-0.007122591137886047,
-0.0012411420466378331,
0.046981457620859146,
0.020138533785939217,
-0.021315792575478554,
-0.08111724257469177,
0.009398339316248894,
0.04144091159105301,
0.011347065679728985,
-0.06577814370393753,
0.005700938403606415,
0.07512378692626953,
0.0024538328871130943,
0.03401651605963707,
-0.005133150145411491,
-0.028399404138326645,
-0.04841446876525879,
-0.007419008295983076,
-0.031232809647917747,
-0.007262154016643763,
0.03450051695108414,
-0.012702896259725094,
0.07645002007484436,
0.062415432184934616,
-0.026174159720540047,
-0.028169920668005943,
-0.004617368336766958,
0.007646723184734583,
0.0027093272656202316,
-0.041008591651916504,
-0.05204949155449867,
-0.05611587315797806,
-0.1041998565196991,
-0.04224294796586037,
0.0013845209032297134,
-0.020647600293159485,
-0.02951311133801937,
0.00819330383092165,
0.007316817529499531,
-0.058655932545661926,
0.04009171947836876,
-0.046508874744176865,
0.016010815277695656,
-0.028452401980757713,
-0.02976754680275917,
-0.042506154626607895,
0.0044698454439640045,
0.01671544462442398,
-0.017998671159148216,
0.0421760231256485,
-0.05111217871308327,
0.014407764188945293,
-0.017995133996009827,
0.017807986587285995,
0.04057208076119423,
0.020776832476258278,
0.015198644250631332
] | [
-0.09301046282052994,
-0.03489675745368004,
-0.045392848551273346,
-0.019618479534983635,
0.07129283249378204,
-0.047198355197906494,
-0.05509775131940842,
0.00999438390135765,
0.0011731550330296159,
-0.03731482848525047,
0.029138529673218727,
-0.03681228309869766,
0.005967908073216677,
-0.003822395345196128,
0.052774231880903244,
0.02195405401289463,
-0.04325975105166435,
-0.04782382771372795,
-0.0376334972679615,
0.05635375902056694,
-0.033995721489191055,
-0.055766794830560684,
-0.006558732595294714,
-0.01090060081332922,
-0.0039423187263309956,
0.0252113938331604,
0.04679745435714722,
-0.02748950384557247,
-0.03812350705265999,
-0.21265025436878204,
0.005032359156757593,
-0.010483145713806152,
-0.01283636037260294,
0.007992635481059551,
0.021902523934841156,
0.045528609305620193,
0.05163745582103729,
-0.03603963553905487,
0.01309051364660263,
0.06586814671754837,
0.02491188980638981,
0.0042638699524104595,
-0.03719525411725044,
-0.021093077957630157,
0.039495017379522324,
0.015862083062529564,
-0.0028801148291677237,
-0.015500247478485107,
0.015194687061011791,
-0.01630774326622486,
0.010791340842843056,
0.0602966770529747,
-0.0009682130184955895,
-0.02234685607254505,
0.014427010901272297,
0.049365438520908356,
0.05892188102006912,
0.07763180136680603,
0.004250426311045885,
0.027362490072846413,
0.027416402474045753,
0.014902015216648579,
-0.1359662115573883,
0.03457370027899742,
0.05061492696404457,
-0.007036847993731499,
-0.03972852602601051,
-0.025317737832665443,
-0.022018376737833023,
0.060298096388578415,
-0.0016898632748052478,
-0.0019150420557707548,
-0.08384787291288376,
0.08352735638618469,
-0.0012923908652737737,
-0.0013605860294774175,
0.027876056730747223,
0.024394022300839424,
0.03743068128824234,
-0.019000615924596786,
-0.031852252781391144,
0.02172013558447361,
-0.0447533056139946,
0.01826389878988266,
-0.03484748303890228,
-0.013498411513864994,
-0.018975920975208282,
0.0406578965485096,
-0.02688036859035492,
0.022647356614470482,
0.010353266261518002,
0.03882397338747978,
0.11015449464321136,
0.04044722393155098,
-0.09173537790775299,
0.004579180385917425,
0.006805076729506254,
0.03508062660694122,
0.010584616102278233,
0.42142441868782043,
-0.0031299516558647156,
-0.006739211734384298,
0.01373396348208189,
0.03668760880827904,
0.008999766781926155,
0.010496529750525951,
-0.00632968544960022,
-0.027988262474536896,
0.04461333528161049,
-0.027463693171739578,
0.01951717399060726,
-0.02886168658733368,
0.04876949265599251,
-0.0751880407333374,
0.022348176687955856,
0.03689558431506157,
0.026384765282273293,
0.05463556945323944,
-0.07313588261604309,
-0.001499084522947669,
-0.013899137265980244,
0.03250088915228844,
0.07777857035398483,
0.014577582478523254,
0.02828558348119259,
0.01125161349773407,
-0.001898893155157566,
0.039179012179374695,
0.03947886824607849,
0.03275143727660179,
0.028839141130447388,
-0.03743719682097435,
-0.062207162380218506,
-0.016222257167100906,
-0.028916900977492332,
0.013509565033018589,
0.028319362550973892,
-0.06203734502196312,
-0.005307115148752928,
0.009405343793332577,
-0.028244027867913246,
-0.04845694825053215,
0.0014195569092407823,
0.003362043760716915,
-0.027530742809176445,
0.1042712852358818,
0.014602814801037312,
-0.009829219430685043,
-0.013697000220417976,
-0.05640504136681557,
-0.0026776455342769623,
0.03566138818860054,
0.008200688287615776,
-0.07081575691699982,
0.0004210491315461695,
-0.0024271435104310513,
0.06398503482341766,
-0.01587754115462303,
-0.07674466073513031,
0.017099816352128983,
0.0006134241702966392,
-0.030546793714165688,
-0.045068178325891495,
0.06924615800380707,
0.023333556950092316,
-0.10729927569627762,
-0.03462110459804535,
0.0375220887362957,
0.05619293451309204,
-0.04611999914050102,
-0.03360706567764282,
-0.011151808314025402,
-0.028471993282437325,
-0.037144966423511505,
0.06500192731618881,
-0.02983039990067482,
-0.02240133285522461,
-0.04445157200098038,
0.01867177151143551,
0.008796440437436104,
-0.01974153332412243,
-0.009570019319653511,
-0.04122481122612953,
-0.011816815473139286,
-0.04907933622598648,
-0.06811133027076721,
-0.09561532735824585,
0.03123408928513527,
-0.017864137887954712,
-0.02632208541035652,
-0.06921957433223724,
-0.012855654582381248,
-0.03430183231830597,
0.06663662195205688,
0.00497500691562891,
-0.03161405771970749,
-0.053759634494781494,
0.01091075874865055,
-0.021214192733168602,
-0.03994029387831688,
0.04529262334108353,
0.027124838903546333,
0.01180671714246273,
-0.016138553619384766,
-0.0783269926905632,
0.001706416136585176,
0.04705285280942917,
-0.024251101538538933,
0.0440959557890892,
0.03582604229450226,
-0.04898212105035782,
0.013957369141280651,
0.009253107942640781,
0.048289328813552856,
-0.032665327191352844,
0.0033814008347690105,
-0.011498730629682541,
0.005074212793260813,
0.024662960320711136,
0.022943032905459404,
-0.011269092559814453,
-0.006519475486129522,
-0.007084555923938751,
-0.32535552978515625,
-0.03178546205163002,
-0.03377145156264305,
-0.03549737110733986,
0.02800452709197998,
-0.02724352665245533,
0.03954681009054184,
-0.019404083490371704,
0.0196260716766119,
0.020617419853806496,
0.08955004066228867,
-0.047722913324832916,
0.00669050170108676,
-0.07686410844326019,
-0.004104304127395153,
0.06472603231668472,
0.0023473857436329126,
-0.024137228727340698,
-0.02937418222427368,
0.000753010215703398,
0.029300937429070473,
-0.05663572624325752,
-0.04241439327597618,
-0.003193214302882552,
0.02037259005010128,
-0.005315350368618965,
0.09102416783571243,
-0.03183920681476593,
0.06846888363361359,
-0.025774743407964706,
0.0447111651301384,
0.012059749104082584,
-0.0005364284152165055,
-0.11163021624088287,
-0.01264620665460825,
-0.015344963409006596,
0.029540525749325752,
0.0248488187789917,
0.008565583266317844,
0.009929731488227844,
-0.039513297379016876,
-0.010557305999100208,
-0.07729046791791916,
-0.04645790532231331,
0.021222440525889397,
-0.007614580448716879,
-0.019943781197071075,
0.019567424431443214,
-0.00250598625279963,
0.044449593871831894,
0.017629306763410568,
0.039218056946992874,
-0.033916961401700974,
0.020182639360427856,
0.03051067888736725,
-0.0013450453989207745,
-0.03696296364068985,
-0.01086853165179491,
0.052526481449604034,
0.032667409628629684,
0.01663437858223915,
0.06864172220230103,
-0.0022890926338732243,
-0.07663688063621521,
0.024681974202394485,
-0.03060109354555607,
-0.014476112090051174,
0.016040997579693794,
0.04359353706240654,
-0.05240821838378906,
0.0019483176292851567,
0.09734118729829788,
-0.0011036262148991227,
0.05716307833790779,
0.03949081897735596,
0.020128712058067322,
-0.030678661540150642,
-0.01873699575662613,
0.028475098311901093,
-0.02675740048289299,
0.04937487840652466,
-0.03575685992836952,
0.07563178241252899,
-0.023087412118911743,
-0.001983621157705784,
0.07081445306539536,
-0.004895687568932772,
-0.024950969964265823,
0.03922431170940399,
0.01548942644149065,
-0.03036251664161682,
-0.015981709584593773,
-0.007069233804941177,
-0.08271440118551254,
0.09217255562543869,
-0.01827901601791382,
-0.24290499091148376,
0.035445503890514374,
0.0038257716223597527,
0.060654543340206146,
-0.014199018478393555,
0.042286671698093414,
0.025423360988497734,
-0.02341647818684578,
-0.015686893835663795,
0.046316035091876984,
0.015554750338196754,
0.04947957023978233,
-0.02422930672764778,
0.023807484656572342,
0.03750172257423401,
-0.015795886516571045,
-0.00576339615508914,
0.028523065149784088,
0.0037538977339863777,
-0.01801827922463417,
0.03240984305739403,
-0.021368833258748055,
0.107926145195961,
0.0009937710128724575,
0.008849512785673141,
0.05119642987847328,
-0.04520779848098755,
0.029972393065690994,
0.04859689623117447,
-0.01556660607457161,
-0.05514533445239067,
0.05457495525479317,
-0.013421490788459778,
0.011304173618555069,
-0.0071347481571137905,
-0.049173738807439804,
-0.014043512754142284,
0.04871336743235588,
0.050057586282491684,
-0.023386145010590553,
-0.04336068406701088,
0.03960289806127548,
-0.020106665790081024,
0.044081613421440125,
0.09081608802080154,
-0.03944043070077896,
-0.015313223004341125,
-0.00611397298052907,
-0.06577590107917786,
-0.015202325768768787,
-0.05192416533827782,
-0.060559794306755066,
0.008123169653117657,
-0.009773154743015766,
0.0005636935820803046,
0.055050257593393326,
0.03544778749346733,
-0.03681378439068794,
0.002547421958297491,
0.01998722366988659,
0.028534336015582085,
-0.018855130299925804,
0.13506171107292175,
-0.023504571989178658,
0.013756686821579933
] | [
0.02617582678794861,
0.04505394771695137,
-0.034483831375837326,
0.045364949852228165,
0.015652192756533623,
0.026279091835021973,
-0.03591306135058403,
0.010825269855558872,
-0.020002545788884163,
-0.038026005029678345,
-0.03921043500304222,
-0.0024559476878494024,
0.06009967625141144,
-0.021263189613819122,
0.0016316338442265987,
-0.003993687219917774,
-0.015769634395837784,
0.047855883836746216,
0.027271002531051636,
-0.03531986102461815,
-0.06055064499378204,
-0.021776920184493065,
0.04807819426059723,
0.010815111920237541,
0.016631443053483963,
0.01791752129793167,
0.0034276298247277737,
-0.015864484012126923,
-0.0017072218470275402,
-0.11150632053613663,
-0.03987622633576393,
-0.02006310597062111,
0.009312145411968231,
-0.0026685602497309446,
0.004783469717949629,
0.07120075076818466,
0.05975349247455597,
0.021620720624923706,
-0.036482375115156174,
0.014702296815812588,
0.03729350119829178,
-0.017269443720579147,
-0.001755447476170957,
-0.0018819996621459723,
-0.02138695679605007,
-0.036189451813697815,
-0.07517796754837036,
-0.009687799960374832,
0.01178254559636116,
-0.00035432676668278873,
-0.052271440625190735,
0.004001965746283531,
-0.0016416028374806046,
0.01656285487115383,
-0.022105559706687927,
0.022253695875406265,
-0.01852315105497837,
-0.009442339651286602,
0.023006519302725792,
-0.03312375396490097,
0.03129466250538826,
0.0014935480430722237,
-0.03449892997741699,
-0.041568391025066376,
0.006562341004610062,
-0.004828842356801033,
0.008300947025418282,
0.008560682646930218,
-0.0069053685292601585,
0.03422513231635094,
0.01465262845158577,
0.049383390694856644,
-0.061048153787851334,
-0.02646591328084469,
-0.012010600417852402,
0.04104838892817497,
0.08022364228963852,
-0.0044087632559239864,
-0.024475503712892532,
0.04956478625535965,
-0.04798741638660431,
-0.0019848926458507776,
-0.02864573523402214,
-0.008517463691532612,
-0.08352014422416687,
0.03557160496711731,
-0.047552675008773804,
-0.018705133348703384,
-0.009775140322744846,
-0.022763358429074287,
-0.021264569833874702,
0.017378173768520355,
-0.011638770811259747,
-0.0345858559012413,
-0.06894556432962418,
-0.03907642513513565,
-0.001134756370447576,
-0.002532562706619501,
0.044268131256103516,
0.7452366948127747,
0.008313599042594433,
0.010290920734405518,
0.019700031727552414,
0.0007167645962908864,
-0.014582429081201553,
-0.012165265157818794,
0.03141128644347191,
-0.024694975465536118,
0.019106069579720497,
0.03605741634964943,
-0.03230931609869003,
0.00509734358638525,
0.03390778973698616,
0.034642864018678665,
0.018566953018307686,
0.05387097969651222,
0.04169343039393425,
-0.012147190049290657,
-0.05088398605585098,
0.03731892630457878,
0.049792058765888214,
-0.0023881185334175825,
0.036203254014253616,
0.023733804002404213,
0.001342820469290018,
-0.1886536329984665,
-0.023393766954541206,
-6.605563404119162e-33,
0.04081301763653755,
-0.018700001761317253,
0.07339418679475784,
-0.0006637104088440537,
0.04241582006216049,
0.010785235092043877,
-0.0013235131045803428,
-0.0121163884177804,
-0.025483131408691406,
-0.03241155669093132,
-0.04465365782380104,
-0.024191176518797874,
0.024168722331523895,
-0.031181609258055687,
0.0014863800024613738,
-0.04983261227607727,
0.012048562988638878,
0.02756718173623085,
0.0031658692751079798,
-0.008418568409979343,
0.01729382947087288,
0.05272664129734039,
-0.03431945666670799,
0.05356888845562935,
-0.014216835610568523,
0.009667463600635529,
0.028771696612238884,
0.01969812624156475,
-0.014236854389309883,
-0.03955637663602829,
-0.050837233662605286,
0.0015543230110779405,
-0.02696279250085354,
-0.021694138646125793,
0.007538014557212591,
-0.0624670647084713,
-0.06748202443122864,
0.02727128192782402,
-0.05027727410197258,
-0.04363765940070152,
-0.05599747970700264,
-0.02249106764793396,
-0.019165512174367905,
-0.030802540481090546,
-0.029301103204488754,
-0.01119023934006691,
0.023395493626594543,
0.00011419593647588044,
0.01694849133491516,
-0.0016842279583215714,
-0.014378873631358147,
0.022082114592194557,
0.013923830352723598,
-0.0036411560140550137,
-0.051775842905044556,
-0.040791455656290054,
0.0059237913228571415,
-0.0037290165200829506,
0.006609709933400154,
-0.009582322090864182,
0.05465822294354439,
-0.03966355323791504,
-0.01891949214041233,
0.03073909692466259,
0.02245100773870945,
0.02284451760351658,
0.015004322864115238,
0.030373401939868927,
0.028038090094923973,
0.09588710963726044,
-0.022832615301012993,
0.03808223828673363,
-0.027373595163226128,
-0.0279829204082489,
0.027587968856096268,
-0.06840306520462036,
0.0029395809397101402,
0.014802878722548485,
0.00316130300052464,
0.05530316382646561,
-0.03653225302696228,
-0.025702044367790222,
-0.01943245530128479,
-0.02932838909327984,
0.007419355679303408,
-0.01241032499819994,
0.045778632164001465,
0.036131370812654495,
0.02157304622232914,
0.03893666714429855,
0.03750469908118248,
0.004698069766163826,
0.011552700772881508,
-0.05945736914873123,
-0.005329944659024477,
6.260493364015433e-33,
-0.005144478753209114,
-0.036084942519664764,
-0.03554273396730423,
0.00969820935279131,
0.023252731189131737,
0.0034572926815599203,
-0.02289395220577717,
0.0462820865213871,
-0.05422325059771538,
0.04093064367771149,
0.01728326827287674,
-0.019570309668779373,
-0.04758259654045105,
0.0003417807456571609,
0.028800245374441147,
0.0069822994992136955,
0.02112075313925743,
-0.07656344771385193,
0.013933583162724972,
0.024180587381124496,
0.0026230947114527225,
-0.015412232838571072,
-0.01904991827905178,
0.0420905165374279,
0.030691741034388542,
0.016583096235990524,
-0.01829160563647747,
0.0075096748769283295,
-0.025950726121664047,
-0.008820083923637867,
-0.02284904383122921,
-0.04324176907539368,
-0.03209827095270157,
0.017968319356441498,
0.00036012398777529597,
0.02058611996471882,
0.002694227732717991,
0.0069956849329173565,
-0.009164084680378437,
-0.0433872751891613,
0.022485824301838875,
-0.00941002182662487,
-0.047453947365283966,
0.05579403415322304,
0.03301435336470604,
0.03869369626045227,
0.014934937469661236,
0.03379138559103012,
-0.012913377024233341,
0.02451053075492382,
0.028290197253227234,
0.04045284911990166,
-0.017968768253922462,
0.053064603358507156,
0.04440883547067642,
-0.024338150396943092,
-0.003405187977477908,
0.02664194442331791,
-0.03982510790228844,
0.0418207161128521,
-0.010639846324920654,
-0.02631182223558426,
-0.03971167653799057,
0.039442528039216995,
-0.025197751820087433,
-0.06200003623962402,
0.030329860746860504,
0.007523220498114824,
-0.01575280912220478,
0.022960050031542778,
0.0069014448672533035,
0.0655103474855423,
0.007169205229729414,
0.08017641305923462,
0.006914887577295303,
-0.028087947517633438,
-0.02629861980676651,
0.0055393134243786335,
-0.05162545666098595,
0.05537503585219383,
-0.009353947825729847,
0.005446015391498804,
-0.01001198310405016,
0.0058867838233709335,
0.02448946237564087,
-0.021931225433945656,
0.002857951680198312,
0.03617861494421959,
-0.011457315646111965,
0.001967489020898938,
0.025484565645456314,
-0.04206211492419243,
-0.06388751417398453,
0.07429701089859009,
-0.06012723967432976,
-1.190671028439283e-8,
-0.01136808842420578,
0.019427716732025146,
-0.03056185320019722,
0.018087392672896385,
-0.026038987562060356,
0.008410986512899399,
-0.02535260282456875,
-0.026989474892616272,
-0.03130736202001572,
0.035977303981781006,
0.015663187950849533,
-0.031528227031230927,
-0.0043057785369455814,
-0.0294041708111763,
0.022915657609701157,
-0.06893135607242584,
-0.010791032575070858,
0.004193770233541727,
0.03959432989358902,
0.016870955005288124,
0.02502027526497841,
0.002910881768912077,
-0.023632487282156944,
0.027463851496577263,
0.027568763121962547,
-0.005948618520051241,
0.03555626422166824,
-0.02041875757277012,
-0.00459356838837266,
-0.06414495408535004,
-0.006839639972895384,
-0.023472942411899567,
-0.03778427466750145,
0.010784384794533253,
-0.01255727093666792,
-0.015264207497239113,
0.043010953813791275,
0.05391809344291687,
0.016078278422355652,
0.04402042552828789,
0.029540646821260452,
0.0136653957888484,
-0.04435991123318672,
-0.0381162203848362,
-0.019063228741288185,
0.026554081588983536,
-0.051521141082048416,
-0.009455275721848011,
0.03545280545949936,
-0.037567514926195145,
-0.03756247088313103,
-0.02771477773785591,
0.08440201729536057,
0.030727796256542206,
0.0645456463098526,
-0.01098392903804779,
-0.006596642546355724,
-0.026369430124759674,
-0.0011258029844611883,
0.00021937181008979678,
0.07047490775585175,
0.007748859468847513,
-0.01117519661784172,
-0.01786147616803646
] | neo4j-backup-java-lang-classcastexception-org-jboss-netty-buffer-bigendianheapchannelbuffer-cannot-be-cast-to-org-neo4j-cluster-com-message-message | https://markhneedham.com/blog/2014/01/19/neo4j-backup-java-lang-classcastexception-org-jboss-netty-buffer-bigendianheapchannelbuffer-cannot-be-cast-to-org-neo4j-cluster-com-message-message |
false | 2014-01-31 07:14:53 | Neo4j 2.0.0: Cypher - Index Hints and Neo.ClientError.Schema.NoSuchIndex | [
"neo4j",
"cypher"
] | [
"neo4j"
] | One of the features added into the more recent versions of Neo4j's cypher query language is the ability to http://docs.neo4j.org/chunked/stable/query-using.html[tell Cypher which index you'd like to use in your queries].
We'll use the football dataset, so let's start by creating an index on the 'name' property of nodes labelled 'Player':
[source,cypher]
----
CREATE INDEX ON :Player(name)
----
Let's say we want to write a query to find 'Wayne Rooney' while explicitly using this index. We might start with the following query:
[source,cypher]
----
MATCH p
USING INDEX p:Player(name)
WHERE p.name = "Wayne Rooney"
RETURN p
----
If we run that we'll see this error:
[source,text]
----
Cannot use index hint in this context. The label and property comparison must be specified on a non-optional node
Label: `Player`
Property name: `name`
Neo.ClientError.Schema.NoSuchIndex
----
We need to specify the label on the node in the 'MATCH' part of the query for our hint to work e.g.
[source,cypher]
----
MATCH (p:Player)
USING INDEX p:Player(name)
WHERE p.name = "Wayne Rooney"
RETURN p
----
Now we might decide that we want to find 'Wayne Rooney' or 'Robin Van Persie' so we change our query slightly:
[source,cypher]
----
MATCH (p:Player)
USING INDEX p:Player(name)
WHERE p.name = "Wayne Rooney" OR p.name = "Robin Van Persie"
RETURN p
----
But this one fails too!
[source,cypher]
----
Cannot use index hint in this context. The label and property comparison must be specified on a non-optional node
Label: `Player`
Property name: `name`
Neo.ClientError.Schema.NoSuchIndex
----
The problem here is that when you use 'OR' it's currently not using an index but rather a label scan so the hint to use the index doesn't make sense to Cypher.
The final way I've seen people get confused using index hints is when matching node properties inline e.g.
[source,cypher]
----
MATCH (p:Player {name: "Wayne Rooney"})
USING INDEX p:Player(name)
RETURN p
----
If we run that we'll be back in the land of exceptions:
[source,text]
----
Cannot use index hint in this context. The label and property comparison must be specified on a non-optional node
Label: `Player`
Property name: `name`
Neo.ClientError.Schema.NoSuchIndex
----
We can work around that by pulling out the inline matching of the 'name' property":
[source,cypher]
----
MATCH (p:Player)
USING INDEX p:Player(name)
WHERE p.name = "Wayne Rooney"
RETURN p
---- | null | null | [
-0.012792909517884254,
-0.007718953769654036,
-0.010969792492687702,
0.040508780628442764,
0.07489024102687836,
-0.015219831839203835,
0.02222610078752041,
0.02161557413637638,
0.020645756274461746,
-0.023876262828707695,
-0.022303199395537376,
0.01771143637597561,
-0.07348889857530594,
0.04105578735470772,
0.009823797270655632,
0.07704661041498184,
0.06906762719154358,
0.028799396008253098,
0.006828586105257273,
-0.01702110469341278,
0.013889509253203869,
0.055790286511182785,
-0.014216233044862747,
0.031000403687357903,
0.06060131639242172,
0.009021432138979435,
-0.019368615001440048,
0.004196444526314735,
-0.03251955658197403,
0.008684443309903145,
0.048930954188108444,
-0.0038128718733787537,
0.023342888802289963,
-0.027042243629693985,
0.01190266665071249,
-0.001246972125954926,
-0.025897089391946793,
0.00039578735595569015,
-0.012256870977580547,
-0.001475550583563745,
-0.05900374799966812,
0.03865329548716545,
-0.012294283136725426,
0.018433593213558197,
-0.037871427834033966,
-0.004262365400791168,
-0.05773277208209038,
0.03492002561688423,
0.0010852947598323226,
0.011574659496545792,
-0.09049201756715775,
0.03431395813822746,
-0.024484308436512947,
0.02027992531657219,
0.00611743563786149,
0.020244430750608444,
-0.004013775382190943,
-0.0701008141040802,
0.028570035472512245,
-0.0025370775256305933,
-0.003235624870285392,
0.0028670821338891983,
0.00980359222739935,
0.016474438831210136,
-0.006410094443708658,
-0.04526933282613754,
0.0006699762889184058,
0.05825212225317955,
-0.0783078595995903,
-0.028050078079104424,
-0.0026818159967660904,
0.014789819717407227,
-0.006083964370191097,
-0.012089090421795845,
0.00196006684564054,
-0.02919403836131096,
0.005294182803481817,
0.05338893085718155,
0.042074546217918396,
0.05953524261713028,
-0.015364923514425755,
0.01909475401043892,
0.002190997125580907,
0.02479023113846779,
-0.003668117104098201,
-0.019596662372350693,
-0.028332572430372238,
-0.016136400401592255,
-0.03202629089355469,
0.04052317142486572,
0.03324878215789795,
-0.04958512261509895,
-0.0052818842232227325,
-0.013515837490558624,
-0.029081696644425392,
-0.00918529462069273,
0.014915788546204567,
-0.021072249859571457,
-0.01312681008130312,
-0.023861253634095192,
-0.019089151173830032,
-0.04269145056605339,
0.004142099525779486,
0.012137708254158497,
-0.07787252962589264,
-0.028929779306054115,
-0.012278999201953411,
-0.01669660583138466,
0.0011623717145994306,
-0.008596198633313179,
-0.04014322906732559,
-0.005013699643313885,
-0.007220765110105276,
0.020682085305452347,
-0.06738978624343872,
0.05994848534464836,
0.02656986564397812,
0.006259089335799217,
-0.023398762568831444,
0.04624393209815025,
0.030315520241856575,
0.015575866214931011,
0.0076600369065999985,
0.05691719800233841,
0.006601808127015829,
0.03360123559832573,
0.02709619328379631,
0.06320567429065704,
-0.00282226107083261,
-0.07143056392669678,
-0.0196136012673378,
0.06191069260239601,
-0.005965711548924446,
0.0038452360313385725,
-0.030309144407510757,
-0.04851466417312622,
-0.0058731455355882645,
0.013966617174446583,
0.05292169004678726,
0.04032021760940552,
0.0017985135782510042,
-0.051067106425762177,
0.04856235161423683,
0.021558299660682678,
0.024589810520410538,
-0.00010537133493926376,
-0.029589790850877762,
-0.044866371899843216,
-0.004937564022839069,
-0.0003621311334427446,
0.027521634474396706,
0.025128692388534546,
0.07775633782148361,
-0.009731519035995007,
-0.023439880460500717,
0.1111697256565094,
0.03274660184979439,
0.014426499605178833,
-0.033087361603975296,
0.018028801307082176,
0.04477646201848984,
0.012911418452858925,
0.005353887565433979,
0.0694197565317154,
0.0015293959295377135,
-0.011800232343375683,
0.005307134706526995,
0.0790635421872139,
-0.017933091148734093,
-0.0008711618138477206,
-0.011268901638686657,
-0.061945632100105286,
0.048660922795534134,
-0.048839032649993896,
0.030189361423254013,
0.0657435953617096,
0.06352775543928146,
0.01682109199464321,
0.025539303198456764,
0.005190686788409948,
-0.06338512152433395,
0.03772449865937233,
-0.0056348261423408985,
-0.00793174933642149,
0.02456538751721382,
0.00966702587902546,
0.06670531630516052,
0.028154922649264336,
0.0005678977468051016,
0.03677448630332947,
-0.09799542278051376,
-0.0690566822886467,
-0.007294107228517532,
-0.009328426793217659,
0.06766200065612793,
-0.03310178592801094,
0.015128351747989655,
0.048802826553583145,
0.0019296922255307436,
0.030249599367380142,
0.05321037396788597,
-0.016156770288944244,
0.010069345124065876,
-0.036793820559978485,
-0.07375591993331909,
0.03205364942550659,
0.02010723575949669,
-0.05823040381073952,
-0.056360114365816116,
0.046727802604436874,
-0.0015194059815257788,
0.003287912579253316,
0.009259634651243687,
-0.01801108755171299,
0.02151932194828987,
-0.00858556292951107,
0.0189502090215683,
-0.005669004749506712,
0.021607516333460808,
-0.044558994472026825,
0.04432452842593193,
0.035960033535957336,
-0.008166400715708733,
0.00018744224507827312,
-0.011237027123570442,
0.13403238356113434,
0.06386639177799225,
-0.026862697675824165,
-0.045167226344347,
0.02658158726990223,
0.02071990817785263,
-0.04037203639745712,
0.03960176929831505,
-0.04101699963212013,
-0.013085996732115746,
-0.025299347937107086,
-0.03360447287559509,
-0.020772043615579605,
0.0056376708671450615,
-0.03588474169373512,
0.010004812851548195,
0.06008405238389969,
-0.04619300365447998,
0.04483705013990402,
0.02623174898326397,
-0.0062867277301847935,
0.009022352285683155,
-0.03924715518951416,
-0.050173308700323105,
0.05020461603999138,
-0.005097987130284309,
-0.007208527065813541,
0.05031012371182442,
-0.02789546735584736,
-0.00909979734569788,
-0.02884332463145256,
-0.018863510340452194,
0.049863461405038834,
0.06379993259906769,
0.0643390566110611,
-0.022606605663895607,
0.04594725742936134,
-0.03963029384613037,
0.01054213847965002,
-0.011447991244494915,
-0.05991749465465546,
-0.037787530571222305,
-0.027449026703834534,
0.02108723111450672,
-0.013787932693958282,
0.010389165952801704,
-0.015290767885744572,
0.018584974110126495,
-0.011054033413529396,
0.017037784680724144,
0.01737852208316326,
0.024919481948018074,
0.035150010138750076,
0.0053748395293951035,
-0.05537253990769386,
-0.02503271959722042,
0.03142334148287773,
-0.044393390417099,
-0.0463951975107193,
-0.02053687535226345,
-0.044098369777202606,
0.01847352832555771,
-0.06611490249633789,
-0.02917412295937538,
-0.00149531289935112,
0.030257070437073708,
0.034824296832084656,
0.00549409119412303,
0.030332377180457115,
0.04706898331642151,
0.004592804238200188,
0.024530641734600067,
0.02975722961127758,
0.0038981607649475336,
0.05706683173775673,
-0.007672158535569906,
0.06205868721008301,
0.03586287051439285,
-0.03756537660956383,
-0.00047321931924670935,
-0.020755423232913017,
-0.014124663546681404,
-0.015397018752992153,
-0.2647199034690857,
0.06368333846330643,
-0.04367588832974434,
-0.05723370611667633,
0.02185402624309063,
-0.028419341892004013,
-0.00996687076985836,
-0.023083370178937912,
-0.02578967623412609,
0.025954389944672585,
-0.01605284959077835,
-0.04296846687793732,
-0.0068979933857917786,
0.019726324826478958,
0.01850675605237484,
0.018731357529759407,
-0.012721449136734009,
-0.07690898329019547,
-0.009174557402729988,
0.04079549387097359,
-0.00494285486638546,
-0.025219807401299477,
0.005507919937372208,
0.002743129152804613,
0.013573020696640015,
0.04651506990194321,
-0.09266813844442368,
0.015289306640625,
-0.049719296395778656,
-0.04583339765667915,
-0.00772204902023077,
-0.022370945662260056,
0.0026376971509307623,
0.0028796985279768705,
-0.02952420711517334,
-0.02997157908976078,
0.04840700328350067,
-0.014570202678442001,
0.0014756240416318178,
0.02817542292177677,
-0.06848608702421188,
-0.05428425595164299,
0.0002763105439953506,
-0.03525679185986519,
0.07614760845899582,
-0.0027065123431384563,
-0.0889345183968544,
-0.024715974926948547,
-0.032891895622015,
0.06195380911231041,
-0.037525150924921036,
-0.02537323161959648,
-0.0004724789469037205,
0.007302178535610437,
-0.023396186530590057,
-0.03045080602169037,
-0.0023774614091962576,
-0.021507691591978073,
-0.05873677134513855,
-0.036157067865133286,
-0.009077280759811401,
-0.038656704127788544,
0.014373554848134518,
-0.04090627282857895,
-0.005901277996599674,
-0.05570909380912781,
-0.0525650717318058,
-0.02897711470723152,
0.0507240928709507,
0.020807571709156036,
-0.016660500317811966,
0.027859555557370186,
0.004134368151426315,
-0.10501064360141754,
-0.051288895308971405,
-0.013575604185461998,
0.03154326602816582,
-0.01734265498816967,
-0.022361282259225845,
0.028671232983469963,
-0.04573466256260872,
-0.05381935462355614,
0.003251343034207821,
0.021952880546450615,
0.008243530988693237,
0.03831977769732475,
0.006603149231523275,
-0.01618809439241886,
-0.02762133628129959,
0.011741065420210361,
0.05399015545845032,
-0.021263059228658676,
-0.009669577702879906,
0.009006030857563019,
-0.0008001491660252213,
0.021536827087402344,
0.018706241622567177,
-0.027139706537127495,
0.010100153274834156,
0.06248917430639267,
0.03326272591948509,
-0.01250459998846054,
0.0187328290194273,
-0.013527309522032738,
-0.024894803762435913,
0.016635006293654442,
-0.05247088894248009,
0.011729251593351364,
0.030497413128614426,
0.011730621568858624,
0.002506163204088807,
-0.014326062984764576,
-0.00014322245260700583,
-0.037811387330293655,
-0.02688121423125267,
-0.019579535350203514,
0.03460060805082321,
0.01641979068517685,
0.043207231909036636,
-0.04544218257069588,
-0.07595939934253693,
0.038382139056921005,
0.03279741108417511,
-0.027500459924340248,
-0.08844015002250671,
-0.0336313396692276,
-0.011884202249348164,
-0.03768164664506912,
0.0013835638528689742,
0.01880805566906929,
-0.04590747877955437,
0.046233560889959335,
0.03154256194829941,
-0.012551724910736084,
0.04850419983267784,
-0.015401238575577736,
-0.017146678641438484,
-0.02114812284708023,
0.0091268764808774,
-0.02349393256008625,
-0.011217298917472363,
0.005276563577353954,
-0.00384550541639328,
0.06915625184774399,
0.061768583953380585,
-0.004406123422086239,
0.002784240059554577,
-0.0021361950784921646,
-0.004261324647814035,
0.018966348841786385,
-0.009694257751107216,
-0.021970681846141815,
0.025973932817578316,
-0.04817899689078331,
-0.013905276544392109,
-0.0037370624486356974,
0.04481005296111107,
-0.02603473886847496,
-0.006277174688875675,
-0.03495589271187782,
0.04332618787884712,
-0.04690095782279968,
0.026576949283480644,
-0.0060166711919009686,
0.017237944528460503,
0.07210912555456161,
-0.018692104145884514,
0.010187679901719093,
-0.06256061047315598,
-0.006857973523437977,
0.005736926570534706,
-0.005020951386541128,
-0.054595526307821274,
0.0037104589864611626,
-0.018016595393419266,
-0.00784260407090187,
0.01149673480540514,
0.06748661398887634,
0.013367974199354649,
0.02946188859641552,
0.002278359839692712,
-0.011738631874322891,
0.00901058129966259,
0.03263992816209793,
0.04541667923331261,
0.0015257220948114991,
-0.014838417060673237,
-0.0028063016943633556,
-0.015833310782909393,
-0.012345420196652412,
-0.009636808186769485,
-0.002857914427295327,
-0.03006400540471077,
-0.001967561198398471,
-0.041534412652254105,
-0.058710284531116486,
0.022166352719068527,
-0.006067464593797922,
0.02770880050957203,
0.05716530606150627,
0.0011026991996914148,
-0.003372729290276766,
-0.02574506215751171,
0.021152477711439133,
0.06121628358960152,
-0.031170234084129333,
-0.01967848651111126,
-0.013657668605446815,
-0.0385330393910408,
-0.016876166686415672,
0.02314252220094204,
-0.06627396494150162,
-0.0316593274474144,
-0.0026818644255399704,
0.013768598437309265,
-0.019198307767510414,
-0.05742344260215759,
0.010374839417636395,
0.013155441731214523,
-0.003143991343677044,
0.058147817850112915,
0.005889152176678181,
0.01515408419072628,
-0.020154723897576332,
0.012474850751459599,
0.04938516765832901,
-0.00011967703903792426,
-0.01333311665803194,
0.026915280148386955,
-0.0026689369697123766,
0.019740059971809387,
-0.026262305676937103,
0.03629419952630997,
0.0329778790473938,
0.00525903794914484,
-0.00998904649168253,
-0.06781686097383499,
0.03075343370437622,
0.003846786916255951,
0.07123959809541702,
-0.004604110028594732,
0.0018081861780956388,
-0.023042526096105576,
0.0034121242351830006,
-0.026865707710385323,
0.0028360257856547832,
0.009939721785485744,
-0.029227526858448982,
-0.004567548166960478,
0.02517571672797203,
-0.012248320505023003,
0.043530143797397614,
-0.001345858909189701,
-0.03383848816156387,
0.05538954585790634,
-0.02134661376476288,
-0.03903216868638992,
0.005181849002838135,
-0.05156984552741051,
0.016728762537240982,
0.020434629172086716,
0.022014271467924118,
-0.05501763895153999,
0.05827655643224716,
0.0657021701335907,
0.031367380172014236,
0.022530796006321907,
-0.0328495055437088,
0.025184614583849907,
-0.02669287845492363,
-0.03993634507060051,
-0.07588336616754532,
0.00203017913736403,
0.039636529982089996,
0.005988656543195248,
0.007572972681373358,
-0.013372396118938923,
-0.013653389178216457,
0.003965956158936024,
-0.04547747224569321,
-0.027069276198744774,
0.026156865060329437,
-0.00036484809243120253,
0.038136184215545654,
0.035919882357120514,
-0.05060044676065445,
-0.010906999930739403,
0.0643739178776741,
-0.01883443258702755,
-0.02222941443324089,
-0.05265654996037483,
0.032495804131031036,
-0.02596605382859707,
0.05028713122010231,
-0.02219703234732151,
-0.03667210415005684,
0.047849465161561966,
0.030537033453583717,
0.04768679663538933,
0.04034803435206413,
-0.025110343471169472,
0.03003157489001751,
0.03729190304875374,
-0.013261284679174423,
0.016993731260299683,
0.04709549993276596,
-0.018875015899538994,
-0.05874159559607506,
0.03314584121108055,
-0.000348215049598366,
-0.02755865268409252,
-0.05326774716377258,
0.05447694659233093,
0.006709611508995295,
-0.057307224720716476,
-0.026399146765470505,
0.020506590604782104,
-0.018933825194835663,
-0.02680991403758526,
-0.035009440034627914,
0.009479324333369732,
-0.03241494297981262,
0.05310865491628647,
-0.006377372425049543,
0.0067769805900752544,
0.08170934021472931,
0.0025820464361459017,
-0.006022936664521694,
0.029203856363892555,
0.06933706998825073,
0.08948428928852081,
0.04948566108942032,
0.0033957837149500847,
0.07907871901988983,
0.0025496603921055794,
-0.03151937201619148,
-0.019735043868422508,
-0.03849899768829346,
-0.00632571242749691,
0.011104423552751541,
0.0001358356821583584,
0.055193983018398285,
-0.04020452871918678,
0.06919742375612259,
-0.02835799939930439,
-0.01427755318582058,
-0.005837550852447748,
-0.01422449667006731,
0.045184191316366196,
0.058997370302677155,
-0.0016670451732352376,
0.05110330134630203,
-0.030998531728982925,
-0.03507518395781517,
0.0070021492429077625,
0.00019772241648752242,
-0.026655646041035652,
0.0022608067374676466,
-0.05746173486113548,
0.0024365398567169905,
0.00367545522749424,
0.025598570704460144,
0.10359479486942291,
-0.0391039215028286,
-0.022161701694130898,
0.006016453728079796,
0.016602283343672752,
0.0039028432220220566,
0.01924237050116062,
-0.012745628133416176,
-0.015921834856271744,
-0.026303740218281746,
-0.029875606298446655,
-0.02274635061621666,
-0.02166730724275112,
-0.042253926396369934,
0.014651590026915073,
-0.019236786291003227,
-0.0020911898463964462,
-0.014375156722962856,
-0.005202921107411385,
-0.034298527985811234,
-0.059883665293455124,
-0.05996553972363472,
-0.054240480065345764,
-0.06755581498146057,
-0.015544068068265915,
0.010466130450367928,
0.009950135834515095,
-0.025280633941292763,
-0.003569951979443431,
-0.013325337320566177,
-0.005188142880797386,
0.04889301210641861,
-0.031670164316892624,
0.006213431246578693,
0.004050128627568483,
0.03074556589126587,
0.02956232987344265,
0.0229877308011055,
0.05152218043804169,
-0.029772132635116577,
0.013643278740346432,
-0.012177029624581337,
0.027079952880740166,
0.029063016176223755,
0.02113747037947178,
0.0036908111069351435,
-0.06794313341379166,
-0.01856253668665886,
0.01683245226740837,
-0.03284328430891037,
-0.0696549117565155,
-0.00019225878349971026,
0.03720414265990257,
0.001270882086828351,
0.02693409100174904,
0.002866500522941351,
-0.018077941611409187,
-0.028118355199694633,
0.02764720655977726,
0.012728900648653507,
0.0011893992777913809,
0.023827677592635155,
-0.022471636533737183,
0.07126346975564957,
0.02278909832239151,
-0.01093185506761074,
-0.03465751186013222,
-0.02626556158065796,
0.0030715561006218195,
-0.002972933230921626,
-0.0363309271633625,
-0.039251431822776794,
-0.051717475056648254,
-0.08538620173931122,
-0.026302000507712364,
0.00605390639975667,
-0.034250449389219284,
-0.021585268899798393,
-0.0026913557667285204,
0.03179873526096344,
-0.005977977998554707,
0.055286750197410583,
-0.05043371394276619,
0.049128275364637375,
-0.006353357341140509,
-0.0003782681014854461,
-0.040326423943042755,
0.009348670020699501,
-0.02055538073182106,
0.012965166009962559,
0.03517702594399452,
-0.05049021914601326,
-0.010150625370442867,
-0.039506491273641586,
0.005544345360249281,
0.028783602640032768,
0.01648126170039177,
0.017254017293453217
] | [
-0.053516875952482224,
-0.01407161820679903,
-0.058602653443813324,
-0.014326147735118866,
0.08910532295703888,
-0.006885628681629896,
0.032449573278427124,
0.007005034014582634,
0.03233885020017624,
-0.020543120801448822,
0.037281911820173264,
-0.057038068771362305,
-0.02032049186527729,
0.00693042716011405,
0.04231928288936615,
-0.01059467252343893,
-0.04136565327644348,
-0.024376697838306427,
-0.026549719274044037,
0.005834708455950022,
-0.008974685333669186,
-0.004014233127236366,
-0.0016814462142065167,
-0.03616280108690262,
0.011677755042910576,
0.030246373265981674,
0.03971002250909805,
-0.004819526337087154,
-0.04167364165186882,
-0.22657150030136108,
0.02039831504225731,
0.01848999410867691,
0.01798643171787262,
0.01647174544632435,
0.005588606931269169,
0.0016767679480835795,
0.021247118711471558,
-0.012082411907613277,
0.04515284672379494,
0.022196214646100998,
-0.008505105972290039,
0.006972851697355509,
-0.054681919515132904,
-0.02507411316037178,
0.04896264523267746,
0.023512912914156914,
-0.017348848283290863,
-0.010632631368935108,
-0.013974876143038273,
0.04392737150192261,
-0.0169026181101799,
0.0031043316703289747,
-0.009501665830612183,
-0.012412880547344685,
0.015683434903621674,
0.09282510727643967,
0.03338019922375679,
0.05601915717124939,
0.012626197189092636,
0.07423927634954453,
0.045012466609478,
0.015994030982255936,
-0.14132346212863922,
0.05886062979698181,
-0.0006056024576537311,
-0.015455659478902817,
-0.04423539340496063,
-0.016530213877558708,
-0.04247164726257324,
0.06660368293523788,
0.0406104251742363,
0.0023608265910297632,
-0.03354806452989578,
0.06162998080253601,
-0.023077379912137985,
0.001401372137479484,
-0.01208924874663353,
-0.013339044526219368,
0.05025339126586914,
-0.00963337067514658,
-0.049494147300720215,
0.005675661377608776,
-0.04254579171538353,
-0.06680649518966675,
-0.039518408477306366,
0.05268684774637222,
-0.02975109964609146,
0.045803144574165344,
0.008694911375641823,
0.0240307729691267,
0.01758541725575924,
0.014281785115599632,
0.026487477123737335,
0.05588401108980179,
-0.07933524996042252,
-0.02761917933821678,
0.017426632344722748,
0.013453597202897072,
-0.03704226389527321,
0.3963180482387543,
0.012788067571818829,
0.01744666136801243,
-0.02194173075258732,
0.036611463874578476,
0.0019911909475922585,
-0.047812215983867645,
0.010209405794739723,
-0.046338051557540894,
0.027494298294186592,
-0.004985545761883259,
-0.017270402982831,
-0.03311165049672127,
0.014873843640089035,
-0.06856367737054825,
-0.019928278401494026,
0.024001287296414375,
0.03569089621305466,
0.006707814056426287,
0.020302729681134224,
0.0009018130949698389,
0.0094681978225708,
0.012824532575905323,
0.025077898055315018,
0.032833728939294815,
0.002665374893695116,
0.04202756658196449,
0.009667696431279182,
0.055180128663778305,
0.008634187281131744,
0.04535957798361778,
0.017618272453546524,
-0.023881899192929268,
-0.07711128890514374,
0.02454317733645439,
0.016637925058603287,
0.005138612352311611,
0.02920767292380333,
-0.012570621445775032,
-0.004189976956695318,
0.042036399245262146,
-0.003648575162515044,
-0.060209013521671295,
0.01646335795521736,
0.012348663993179798,
-0.024157237261533737,
0.11565696448087692,
-0.01881524547934532,
-0.03186511993408203,
-0.051304083317518234,
-0.05381183326244354,
-0.00035403523361310363,
0.023940758779644966,
-0.02061627246439457,
-0.04736066982150078,
-0.06369217485189438,
0.029473626986145973,
0.0927300676703453,
-0.038580168038606644,
-0.08705057203769684,
0.021630601957440376,
-0.01088409312069416,
-0.03192424029111862,
-0.026902666315436363,
0.076121024787426,
-0.004414440598338842,
-0.11733954399824142,
-0.039790794253349304,
0.015950504690408707,
-0.019332075491547585,
-0.09163017570972443,
0.007392355240881443,
-0.002510263118892908,
-0.06186460703611374,
-0.0010505293030291796,
0.06299508363008499,
0.03200390562415123,
-0.025819113478064537,
-0.02847539819777012,
0.06725156307220459,
-0.016378702595829964,
-0.014305525459349155,
-0.0215728972107172,
-0.034192945808172226,
-0.002200680784881115,
-0.05769497528672218,
-0.027132174000144005,
-0.05641502887010574,
0.005165052600204945,
-0.008039399050176144,
-0.01754648983478546,
-0.027715587988495827,
0.0012757065705955029,
-0.026355503126978874,
0.070621557533741,
-0.0527142696082592,
-0.005391192156821489,
-0.03560402989387512,
0.007341162301599979,
0.01172531209886074,
-0.05124620720744133,
0.042421597987413406,
0.006860202644020319,
0.023119481280446053,
0.0225471630692482,
-0.036654338240623474,
0.03310775011777878,
0.041382916271686554,
-0.052891384810209274,
0.04721108078956604,
-0.01665901206433773,
-0.05754779651761055,
0.015804626047611237,
-0.055002205073833466,
0.02142001874744892,
-0.02958633564412594,
-0.010405653156340122,
-0.0015705239493399858,
0.018224485218524933,
0.00419223215430975,
0.045737046748399734,
-0.026983318850398064,
-0.0006179821211844683,
-0.0433105044066906,
-0.3572062849998474,
-0.04304417222738266,
-0.039688754826784134,
-0.00466191815212369,
-0.01482656504958868,
-0.015467796474695206,
0.0019091606372967362,
-0.012318995781242847,
-0.004887446295469999,
0.047389622777700424,
0.05465088412165642,
0.02017558552324772,
-0.034635599702596664,
-0.09604296833276749,
-0.01650632545351982,
0.03332952409982681,
-0.002331687370315194,
-0.01703309454023838,
-0.0012086167698726058,
0.038856517523527145,
0.03126455098390579,
-0.03825829550623894,
-0.031521476805210114,
-0.03562694787979126,
0.019612591713666916,
-0.036168377846479416,
0.13704800605773926,
0.05768882483243942,
0.0014622121816501021,
-0.06421712785959244,
0.035213273018598557,
0.0005295381415635347,
-0.03748896345496178,
-0.051315587013959885,
0.014139559119939804,
-0.015464074909687042,
0.026349840685725212,
0.024080639705061913,
0.002645484171807766,
-0.029749559238553047,
-0.032871171832084656,
-0.004367755725979805,
-0.007197186816483736,
-0.03083592653274536,
-0.045006684958934784,
0.03315388783812523,
-0.05042894557118416,
-0.04098821431398392,
0.01966872252523899,
0.1172184869647026,
0.0400678813457489,
0.05764363706111908,
0.04428990185260773,
-0.015145815908908844,
0.014390470460057259,
-0.03833318129181862,
-0.03095521591603756,
-0.028828049078583717,
0.01283156219869852,
0.006851963233202696,
-0.008900321088731289,
-0.011441219598054886,
0.05190971866250038,
-0.08284193277359009,
0.011506495997309685,
-0.012997112236917019,
0.025296447798609734,
-0.001892658299766481,
0.023327894508838654,
-0.04301317408680916,
-0.046044670045375824,
0.09263642132282257,
0.014915818348526955,
0.07331225275993347,
0.04102232679724693,
0.04251118749380112,
0.011620495468378067,
0.00015324771811719984,
0.04776756465435028,
0.01439282763749361,
0.0403311625123024,
-0.0436050184071064,
0.08967524021863937,
-0.03392069414258003,
0.011640018783509731,
0.03966372460126877,
0.02835722640156746,
-0.0413217693567276,
0.06473630666732788,
-0.006792547646909952,
-0.021577591076493263,
0.0023594622034579515,
-0.036053530871868134,
-0.02476133033633232,
0.05625337362289429,
-0.04764657840132713,
-0.24213865399360657,
0.06608615815639496,
0.027800897136330605,
0.07989170402288437,
0.01769201271235943,
0.013287963345646858,
0.024526406079530716,
-0.014166156761348248,
-0.0346926711499691,
0.008981435559689999,
0.02142094075679779,
0.024475134909152985,
-0.00196718517690897,
-0.02788848616182804,
-0.03414478898048401,
-0.004650821443647146,
0.05197653919458389,
0.013349982909858227,
0.051537174731492996,
0.035529643297195435,
0.08229555189609528,
-0.007307537365704775,
0.1999388188123703,
0.018167728558182716,
0.03649545833468437,
0.019579531624913216,
-0.04614834859967232,
-0.01062254048883915,
0.014231317676603794,
0.027014223858714104,
-0.0064092534594237804,
0.03966452553868294,
0.02132459729909897,
0.04870026186108589,
0.03711649402976036,
-0.018658405169844627,
-0.0045606656931340694,
0.03572266176342964,
-0.008410974405705929,
-0.06911414861679077,
0.011648764833807945,
0.027644645422697067,
-0.05378662422299385,
0.018960367888212204,
0.049492400139570236,
0.002161601325497031,
0.003088034689426422,
0.01996990106999874,
-0.07117810100317001,
-0.02510789781808853,
-0.04384075477719307,
-0.032256804406642914,
-0.02233453281223774,
-0.021786972880363464,
-0.01175469160079956,
0.026486346498131752,
0.007042772602289915,
-0.023943185806274414,
0.053011372685432434,
0.0021675615571439266,
-0.010986286215484142,
-0.01673312298953533,
0.09413128346204758,
-0.02626672573387623,
-0.0014384425012394786
] | [
0.049644242972135544,
0.05599033087491989,
0.020904768258333206,
0.0039857071824371815,
-0.0032244024332612753,
0.05809926986694336,
-0.007481291424483061,
0.01480698399245739,
-0.013949629850685596,
0.0001819468743633479,
-0.039278529584407806,
0.0008870667079463601,
0.04954790696501732,
-0.0005685330834239721,
-0.002586238319054246,
-0.008830673061311245,
-0.022410113364458084,
0.039206162095069885,
0.029109850525856018,
-0.009370428510010242,
-0.024349983781576157,
-0.0069429147988557816,
0.037864625453948975,
-0.025070220232009888,
-0.037987589836120605,
0.006730095949023962,
-0.02908441051840782,
0.013196785934269428,
0.02061532251536846,
-0.09111793339252472,
-0.05331502482295036,
0.0007677094545215368,
0.01036580465734005,
0.048393603414297104,
-0.07086806744337082,
-0.02722286805510521,
0.004521303344517946,
0.014062863774597645,
-0.027629222720861435,
0.014779635705053806,
0.043389931321144104,
-0.003088175319135189,
-0.03675386682152748,
0.029010189697146416,
-0.002629937371239066,
-0.011452553793787956,
-0.028503067791461945,
0.004939008038491011,
0.009357333183288574,
-0.007075175177305937,
-0.0754309669137001,
-0.015678152441978455,
0.018342837691307068,
0.0013258621329441667,
0.011016632430255413,
0.007913561537861824,
-0.078213170170784,
-0.012841583229601383,
0.010162072256207466,
-0.004974649287760258,
0.05079289898276329,
-0.009207420982420444,
-0.05324997007846832,
-0.040967073291540146,
-0.013876903802156448,
-0.004356732591986656,
0.01508070807904005,
0.018083270639181137,
-0.003882389049977064,
0.021986275911331177,
-0.005580393131822348,
0.051138985902071,
-0.06851724535226822,
-0.008390165865421295,
-0.06404469907283783,
0.06773367524147034,
0.0359070710837841,
-0.0336352102458477,
0.011935049667954445,
-0.011340148746967316,
-0.011621479876339436,
0.000986004015430808,
0.015052626840770245,
-0.02049560658633709,
-0.008968355134129524,
-0.04145132750272751,
0.004809455014765263,
-0.03739476948976517,
-0.0029462615493685007,
0.02669377252459526,
-0.030438607558608055,
-0.00577356806024909,
-0.012140067294239998,
-0.004876213148236275,
-0.05744073539972305,
0.03247172012925148,
0.02937229536473751,
0.003674740670248866,
0.02139623463153839,
0.8029850125312805,
0.033925168216228485,
-0.011137363500893116,
-0.016174284741282463,
0.015500703826546669,
-0.014853065833449364,
0.01711519993841648,
0.004963228013366461,
0.006044612731784582,
-0.011352202855050564,
0.019460858777165413,
-0.03085891157388687,
0.03077017515897751,
-0.01901882141828537,
-0.0003306106082163751,
-0.006324592512100935,
0.049098171293735504,
0.027959581464529037,
-0.0012349127791821957,
-0.03257559984922409,
0.03401228040456772,
-0.012513427995145321,
0.018465109169483185,
-0.010591266676783562,
0.012617162428796291,
0.01137352455407381,
-0.12318454682826996,
-0.005977545399218798,
-7.217910737557139e-33,
0.04248061031103134,
0.004447295796126127,
0.053473204374313354,
0.02529309131205082,
-0.02451762557029724,
0.0185861699283123,
0.05232254043221474,
-0.0039893873035907745,
-0.04385053738951683,
-0.05494373291730881,
-0.0171375535428524,
0.008866737596690655,
-0.00018316337082069367,
-0.05155489221215248,
0.005158610176295042,
-0.04000425711274147,
-0.024990452453494072,
0.015882326290011406,
0.007008546032011509,
-0.004501854535192251,
0.01359624695032835,
0.03249473124742508,
-0.007703432813286781,
0.016627877950668335,
-0.02007470279932022,
0.029531441628932953,
-0.0352870374917984,
-0.05673903599381447,
-0.007529616821557283,
-0.04956061393022537,
-0.05424914136528969,
0.02437046356499195,
0.0007765712216496468,
-0.02622680738568306,
0.023109033703804016,
-0.06629480421543121,
-0.025803271681070328,
0.012931669130921364,
-0.02325649932026863,
-0.051119353622198105,
-0.050474777817726135,
-0.02663062885403633,
-0.007805785164237022,
-0.04036039113998413,
-0.0585247240960598,
-0.0051070163026452065,
-0.05002471059560776,
0.007216718513518572,
-0.01784304715692997,
0.014511920511722565,
0.04307420179247856,
0.015086979605257511,
-0.017041252925992012,
-0.016449829563498497,
-0.005720206536352634,
0.028813574463129044,
0.025096964091062546,
0.012405378744006157,
-0.03513394296169281,
-0.00755805429071188,
0.05380058288574219,
0.0053561171516776085,
-0.01911972463130951,
0.049639347940683365,
0.01755988970398903,
0.02854093164205551,
-0.014641735702753067,
-0.01248735561966896,
-0.018221955746412277,
0.027193741872906685,
-0.018809719011187553,
0.0304325632750988,
0.004438319243490696,
-0.017387036234140396,
0.04765116050839424,
-0.045977745205163956,
-0.04101518541574478,
-0.05868386849761009,
0.003912728279829025,
0.04266860708594322,
-0.028265001252293587,
-0.0004686107859015465,
-0.0032510755117982626,
-0.04837843403220177,
0.0023259148001670837,
-0.023643970489501953,
0.02777155302464962,
0.00028317447868175805,
0.0636063814163208,
0.0017865668050944805,
0.06939998269081116,
0.012288758531212807,
-0.025923706591129303,
-0.035946257412433624,
-0.027798961848020554,
6.460916620198572e-33,
-0.02349003776907921,
0.0016823644982650876,
-0.02154129557311535,
0.010768837295472622,
0.0315670408308506,
-0.013826758600771427,
0.02938077785074711,
0.028517737984657288,
-0.0331931933760643,
0.058177608996629715,
0.0003490699746180326,
-0.02775351144373417,
0.0013625104911625385,
0.007130206096917391,
0.028467411175370216,
-0.010811799205839634,
-0.0012739241356030107,
-0.048088401556015015,
0.02050674706697464,
0.04611174762248993,
-0.007385358214378357,
-0.011408847756683826,
-0.0033697548788040876,
0.035299353301525116,
-0.011752628721296787,
-0.0053012254647910595,
0.03360748663544655,
0.008134255185723305,
-0.015173430554568768,
-0.01416570134460926,
0.02207797020673752,
-0.04306676983833313,
-0.008690642192959785,
-0.03711097314953804,
0.0021148270461708307,
0.017694318667054176,
-0.011169852688908577,
-0.016881905496120453,
0.004259448032826185,
-0.015991579741239548,
0.018993385136127472,
0.013068579137325287,
-0.021318627521395683,
0.0855303704738617,
0.027809489518404007,
-0.025066420435905457,
-0.013627031818032265,
0.0052106138318777084,
0.022398995235562325,
0.022631051018834114,
0.018926726654171944,
0.01905190572142601,
-0.0037767034955322742,
0.024088911712169647,
0.003542717546224594,
-0.048981644213199615,
-0.026814332231879234,
0.024331707507371902,
-0.017314614728093147,
0.02660098299384117,
-0.017725534737110138,
0.004180313553661108,
-0.06014978513121605,
0.03933223709464073,
0.018176954239606857,
-0.01146999653428793,
-0.057077452540397644,
0.0244026780128479,
-0.028822097927331924,
-0.014909181743860245,
-0.007886471226811409,
-0.006246289703994989,
0.011889254674315453,
0.03915300592780113,
0.03496929258108139,
0.006375982891768217,
-0.022733882069587708,
0.01977839134633541,
-0.028964437544345856,
0.04134691506624222,
0.018145417794585228,
0.03174644336104393,
0.009370825253427029,
0.0075941202230751514,
-0.008348113857209682,
-0.00953486654907465,
-0.016767991706728935,
0.0658949762582779,
-0.03744084760546684,
-0.0029695858247578144,
0.05140553414821625,
-0.006519628223031759,
-0.006089562084525824,
0.04051010683178902,
-0.021307863295078278,
-1.24802657097689e-8,
-0.05196231231093407,
0.032062459737062454,
-0.01918114349246025,
0.024557732045650482,
-0.0206269733607769,
0.011809274554252625,
-0.015804797410964966,
-0.011253871954977512,
0.011293517425656319,
0.007557679433375597,
0.0381564199924469,
-0.005612135399132967,
0.02317875809967518,
-0.008580658584833145,
0.014583905227482319,
-0.04298710823059082,
-0.02997819520533085,
0.005437417887151241,
0.03442627936601639,
0.04766007885336876,
-0.04279652610421181,
0.040838032960891724,
-0.029529090970754623,
0.016139527782797813,
0.018057052046060562,
-0.024084215983748436,
0.042757999151945114,
-0.068805031478405,
0.007473432924598455,
-0.015490718185901642,
-0.005501159001141787,
-0.006952043157070875,
0.009698796086013317,
0.039336297661066055,
-0.017157375812530518,
-0.028653159737586975,
-0.0096741933375597,
0.0269134733825922,
0.028315946459770203,
0.03348920866847038,
0.001888096216134727,
0.023885196074843407,
-0.0376746766269207,
-0.04242592677474022,
0.00621034624055028,
-0.006724711507558823,
-0.07453236728906631,
-0.004067623056471348,
0.07354293018579483,
-0.029707057401537895,
-0.03318161889910698,
0.0015907183988019824,
0.028250452131032944,
0.012654880993068218,
0.0818156972527504,
-0.0063638524152338505,
-0.012323474511504173,
0.035777706652879715,
0.006250286940485239,
-0.03918188810348511,
-0.005564311984926462,
0.007769430987536907,
-0.03131513670086861,
0.02252192050218582
] | neo4j-2-0-0-cypher-index-hints-and-neo-clienterror-schema-nosuchindex | https://markhneedham.com/blog/2014/01/31/neo4j-2-0-0-cypher-index-hints-and-neo-clienterror-schema-nosuchindex |
false | 2014-01-31 06:51:06 | Java: Work out the serialVersionUID of a class | [
"java"
] | [
"Java"
] | Earlier in the week I wanted to work out the +++<cite>+++serialVersionUID+++</cite>+++ of a serializable class so that I could override its +++<cite>+++toString+++</cite>+++ method without breaking everything.
I came across http://betweengo.com/2005/07/30/serialver/[Frank Kim's blog post] which suggested using the +++<cite>+++serialver+++</cite>+++ tool which comes with the JDK.
I created a little Maven project to test this tool out on a very simple class:
[source,java]
----
import java.io.Serializable;
public class SerialiseMe implements Serializable
{
}
----
If we compile that class into a JAR and then run the +++<cite>+++serialver+++</cite>+++ tool we see the following output:
[source,bash]
----
$ serialver -classpath target/serialiser-0.0.1-SNAPSHOT.jar SerialiseMe
SerialiseMe: static final long serialVersionUID = -6060222249255158490L;
----
I wanted to quickly confirm that I could serialise and deserialise this class using this value so I wrote the following bit of code to serialise the class (when it didn't have a serial version UID):
[source,java]
----
public class Serialiser
{
public static void main( String[] args ) throws IOException, ClassNotFoundException
{
ByteArrayOutputStream bout = new ByteArrayOutputStream( );
ObjectOutputStream oout = new ObjectOutputStream( bout );
Object value = new SerialiseMe();
oout.writeObject( value );
oout.close();
byte[] bytes = bout.toByteArray();
FileOutputStream fileOuputStream = new FileOutputStream("/tmp/foo.txt");
fileOuputStream.write(bytes);
fileOuputStream.close();
}
}
----
After I'd done that, I wrote the following bit of code to deserialise the file:
[source,java]
----
public class Deserialiser
{
public static void main( String[] args ) throws IOException, ClassNotFoundException
{
FileInputStream fileInputStream = new FileInputStream( new File( "/tmp/foo.txt" ) );
byte[] bytes = IOUtils.toByteArray( fileInputStream );
ByteArrayInputStream in = new ByteArrayInputStream( bytes, 0, bytes.length );
ObjectInputStream oin = new ObjectInputStream( in );
Object object = oin.readObject();
}
}
----
I plugged the serial version UID into the class and was able to deserialise it correctly. I tried changing one of the digits just to check it would blow up and indeed it did:
[source,java]
----
import java.io.Serializable;
public class SerialiseMe implements Serializable
{
static final long serialVersionUID = -6060222249255158491L;
}
----
[source,text]
----
Exception in thread "main" java.io.InvalidClassException: SerialiseMe; local class incompatible: stream classdesc serialVersionUID = -6060222249255158490, local class serialVersionUID = -6060222249255158491
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:604)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1620)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at Deserialiser.main(Deserialiser.java:18)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
----
+++<cite>+++serialver+++</cite>+++ #ftw! | null | null | [
0.007826638408005238,
-0.02573365345597267,
-0.029258601367473602,
0.013113238848745823,
0.050745707005262375,
-0.006593822501599789,
0.03028096631169319,
0.03020980767905712,
-0.010371030308306217,
-0.02554595284163952,
0.02028040960431099,
-0.009933240711688995,
-0.06657247245311737,
0.024419069290161133,
-0.04476286470890045,
0.06786814332008362,
0.05579734593629837,
-0.011287725530564785,
0.010518894530832767,
0.01713709719479084,
0.008687040768563747,
0.032128553837537766,
-0.03392565995454788,
0.005005587358027697,
0.014742165803909302,
0.009765595197677612,
0.00652402313426137,
0.009592005051672459,
-0.0646354928612709,
-0.02331005223095417,
0.034799911081790924,
-0.016169825568795204,
0.011952229775488377,
0.02867128700017929,
-0.0023354284930974245,
0.002010779920965433,
-0.019185639917850494,
-0.009351263754069805,
0.009433534927666187,
0.021485034376382828,
-0.06680919229984283,
0.019287802278995514,
-0.036405298858881,
-0.010549487546086311,
-0.0524505078792572,
0.0003655361942946911,
0.003399910405278206,
-0.00017376261530444026,
-0.0388859398663044,
-0.00002394757029833272,
-0.06400559097528458,
0.03545336425304413,
-0.03623365983366966,
-0.000019083117877016775,
0.014048485085368156,
0.06427969038486481,
0.024671372026205063,
-0.08882293850183487,
0.034700907766819,
-0.05931583791971207,
0.011830735020339489,
-0.020375609397888184,
-0.005448198411613703,
0.025844082236289978,
-0.013205751776695251,
-0.03623264655470848,
-0.025273267179727554,
0.037752583622932434,
-0.05511128902435303,
-0.03824584186077118,
-0.013729088939726353,
-0.005677827633917332,
-0.029434023424983025,
-0.01190926507115364,
0.023081321269273758,
-0.0548674538731575,
0.012386150658130646,
0.050129663199186325,
0.01682390831410885,
0.04238419979810715,
-0.022419504821300507,
-0.000991263659670949,
0.023501060903072357,
0.0020791173446923494,
0.058306578546762466,
-0.02805342525243759,
-0.0366891473531723,
0.014813960529863834,
-0.03646906465291977,
0.041360944509506226,
-0.0001904018281493336,
-0.011540028266608715,
-0.006280113011598587,
0.039853535592556,
-0.023897457867860794,
0.03210415318608284,
-0.026880785822868347,
0.009390904568135738,
0.01492292806506157,
0.002135666785761714,
-0.03029092773795128,
-0.007318445947021246,
0.044886842370033264,
0.050713155418634415,
-0.09193775057792664,
-0.010936165228486061,
-0.03178605064749718,
-0.03179765120148659,
0.004261731170117855,
0.0003543558996170759,
-0.00481993705034256,
0.017632871866226196,
-0.03606947138905525,
0.008671398274600506,
-0.05664447322487831,
0.052716583013534546,
0.006048846058547497,
-0.03238426893949509,
0.029996350407600403,
0.06745336949825287,
0.01660294085741043,
0.03360287845134735,
0.010939459316432476,
0.0795515701174736,
0.008116334676742554,
0.02848081663250923,
-0.039180267602205276,
0.04736342653632164,
-0.04623163118958473,
-0.07627761363983154,
0.006536184344440699,
0.03122716397047043,
0.021702472120523453,
0.03073364496231079,
0.0036376232746988535,
0.010890753008425236,
-0.018934158608317375,
-0.0026933280751109123,
0.013839486986398697,
0.041377805173397064,
-0.026675410568714142,
-0.030275776982307434,
-0.035472381860017776,
-0.007508745416998863,
0.020365068688988686,
0.012795382179319859,
-0.00093224854208529,
-0.015031016431748867,
0.007813605479896069,
0.05432507023215294,
0.0021160882897675037,
0.04982732608914375,
0.07256703078746796,
-0.029180964455008507,
0.00993818137794733,
0.06728856265544891,
-0.02458840236067772,
0.06358896940946579,
-0.02433723956346512,
0.016678115352988243,
0.030840998515486717,
0.028458314016461372,
0.009123739786446095,
0.01185851264744997,
0.013356196694076061,
0.0006882690940983593,
0.00946318730711937,
0.03535822778940201,
-0.032001275569200516,
-0.007144381757825613,
-0.043212372809648514,
-0.09950736910104752,
0.03855695575475693,
-0.045254096388816833,
-0.021174713969230652,
0.01629127748310566,
0.07349179685115814,
0.028202969580888748,
0.06243240833282471,
0.010190953500568867,
-0.07689400762319565,
0.025836165994405746,
0.005144193768501282,
0.030465634539723396,
0.011339196935296059,
-0.006927287206053734,
0.041847266256809235,
0.04404156282544136,
-0.002895571058616042,
0.022226404398679733,
-0.08267875760793686,
-0.06488834321498871,
-0.013305997475981712,
-0.015016928315162659,
0.05788935348391533,
-0.019055714830756187,
0.0005515431403182447,
0.06400851160287857,
0.019807016476988792,
0.02390836924314499,
0.008607404306530952,
0.01596430130302906,
0.01125754788517952,
-0.06520077586174011,
-0.03963349759578705,
0.03151562437415123,
0.04910387843847275,
-0.010097385384142399,
-0.038199275732040405,
0.022499239072203636,
-0.018483228981494904,
0.007021715398877859,
0.024915965273976326,
-0.010642226785421371,
0.027051836252212524,
0.03317714482545853,
0.018078191205859184,
-0.03551235795021057,
0.07831406593322754,
-0.06790484488010406,
-0.000048886551667237654,
-0.0034214504994452,
-0.01984201930463314,
-0.01753653585910797,
-0.0066480087116360664,
0.12031298875808716,
0.04063132405281067,
-0.009245489723980427,
-0.04672114551067352,
0.043303489685058594,
0.02267652004957199,
-0.05216100439429283,
0.010840755887329578,
-0.02640681341290474,
-0.016581403091549873,
0.030241848900914192,
-0.03844728693366051,
-0.002315077930688858,
0.019232388585805893,
-0.01612377166748047,
0.013732475228607655,
0.07792098820209503,
-0.02768127992749214,
0.03691979870200157,
0.04229115694761276,
-0.010977757163345814,
0.015994204208254814,
-0.04028832167387009,
-0.06458155065774918,
0.015342230908572674,
-0.0004016980528831482,
-0.010766522027552128,
0.04915124922990799,
-0.055381640791893005,
-0.05135876312851906,
-0.01763165555894375,
-0.05802787467837334,
-0.016502629965543747,
0.041830360889434814,
0.06018347293138504,
-0.025625279173254967,
0.027938995510339737,
-0.02030254155397415,
0.017118332907557487,
-0.026189718395471573,
-0.03614337742328644,
0.018442103639245033,
0.015393456444144249,
-0.007687434554100037,
0.009957409463822842,
-0.023664692416787148,
0.03933006152510643,
0.041360124945640564,
0.021948745474219322,
-0.02761567011475563,
0.013189981691539288,
0.04119753837585449,
-0.036278560757637024,
-0.010285702534019947,
-0.04578585550189018,
-0.007914646528661251,
0.015086552128195763,
-0.03758815675973892,
-0.04937995225191116,
0.026059992611408234,
-0.1027001291513443,
0.02994607575237751,
-0.01656799204647541,
-0.07413256168365479,
-0.01970311813056469,
0.01054779626429081,
0.027440320700407028,
-0.0060498896054923534,
0.03403020650148392,
0.09977598488330841,
0.008157595992088318,
-0.007038506679236889,
-0.0071009197272360325,
0.025164859369397163,
0.01673349365592003,
-0.0027531685773283243,
0.01238580048084259,
0.039513807743787766,
0.016032027080655098,
-0.028501108288764954,
-0.02454620972275734,
0.018129894509911537,
-0.004550279583781958,
-0.24877838790416718,
0.033851899206638336,
-0.05053231865167618,
-0.051855143159627914,
0.023827118799090385,
-0.008002231828868389,
0.012585588730871677,
-0.0706014484167099,
-0.016553932800889015,
0.03272665664553642,
-0.033668339252471924,
-0.03657306730747223,
-0.011785715818405151,
0.05764357000589371,
-0.011556578800082207,
0.015934890136122704,
0.027195528149604797,
-0.021998967975378036,
0.0005248679080978036,
0.048308365046978,
-0.0007995096384547651,
-0.06613022089004517,
-0.0024029116611927748,
0.030035261064767838,
0.03544139862060547,
0.023476680740714073,
-0.08917440474033356,
0.05065469816327095,
-0.03486348316073418,
-0.020801153033971786,
0.01667175628244877,
-0.03889746218919754,
0.003822668921202421,
-0.0009530481765978038,
-0.007959910668432713,
-0.0036875754594802856,
0.013775533996522427,
0.055876076221466064,
-0.02240671031177044,
0.024057410657405853,
-0.030087875202298164,
-0.05438996106386185,
-0.02951289527118206,
-0.008928431198000908,
0.05464472621679306,
-0.020869756117463112,
-0.03291688486933708,
-0.005478818900883198,
-0.04049063101410866,
0.08039415627717972,
-0.06817076355218887,
-0.030798111110925674,
0.010460581630468369,
0.015196106396615505,
-0.026615746319293976,
-0.046491045504808426,
0.008049524389207363,
-0.013930016197264194,
-0.010867039673030376,
-0.03706702962517738,
0.010745982639491558,
-0.044932346791028976,
-0.0009045351180247962,
-0.035332199186086655,
-0.05320419371128082,
-0.05230417475104332,
-0.061704400926828384,
0.01322481594979763,
0.06470822542905807,
0.02604801207780838,
-0.021450906991958618,
0.015751134604215622,
0.016198918223381042,
-0.10705171525478363,
-0.02776111476123333,
-0.05135995149612427,
-0.037051234394311905,
-0.01676422730088234,
-0.050955161452293396,
0.043230362236499786,
-0.03909369558095932,
-0.010921377688646317,
0.021646639332175255,
0.03285149112343788,
0.01597774773836136,
-0.028948113322257996,
0.0239659883081913,
-0.026099398732185364,
0.0017452877946197987,
-0.0158244501799345,
0.0648871511220932,
-0.031279344111680984,
-0.018384864553809166,
-0.0453236922621727,
0.01229017786681652,
0.0379590280354023,
0.03163951635360718,
0.0007936100591905415,
0.020048532634973526,
-0.0073369708843529224,
0.040075454860925674,
-0.04574045538902283,
0.02121524140238762,
-0.06672509759664536,
0.00967987161129713,
-0.024773532524704933,
-0.07792315632104874,
0.039136264473199844,
-0.0031966145616024733,
0.023834044113755226,
0.001964176306501031,
-0.014972261153161526,
0.002520966809242964,
-0.0397808663547039,
-0.03264625370502472,
-0.020039942115545273,
0.004633870907127857,
0.06115452200174332,
0.03266260400414467,
-0.03721761330962181,
-0.03326217830181122,
0.019885016605257988,
0.0110832704231143,
-0.018047332763671875,
-0.054335687309503555,
-0.03723540157079697,
-0.018938088789582253,
-0.006250548176467419,
-0.025896422564983368,
0.0286666639149189,
-0.04432656988501549,
0.028687626123428345,
0.035099584609270096,
-0.023566795513033867,
-0.005065146367996931,
-0.004871840588748455,
-0.02964772656559944,
-0.03185511380434036,
-0.022234871983528137,
0.00007141429523471743,
0.008007297292351723,
-0.009084372781217098,
0.00300319935195148,
0.023535091429948807,
0.025394020602107048,
-0.00405609467998147,
0.051014915108680725,
0.0038931011222302914,
-0.02499690093100071,
0.0021866413298994303,
0.04216550290584564,
-0.05553895980119705,
0.0068131787702441216,
-0.01655520312488079,
-0.037186067551374435,
-0.017193924635648727,
0.027097143232822418,
-0.007398402784019709,
-0.022213423624634743,
-0.02026227116584778,
0.034492023289203644,
-0.04487265646457672,
-0.021832818165421486,
-0.022969288751482964,
-0.01349851954728365,
0.0783018246293068,
-0.04286313056945801,
0.05116812512278557,
0.002768506994470954,
-0.04118834808468819,
-0.031741913408041,
-0.009405904449522495,
-0.020273471251130104,
0.027376379817724228,
0.015125786885619164,
-0.008437897078692913,
0.016281919553875923,
0.004513558000326157,
0.0371120311319828,
0.008501039817929268,
0.014105801470577717,
-0.029849331825971603,
0.009536821395158768,
-0.0009666879195719957,
0.04939563199877739,
0.00831508170813322,
0.002941386541351676,
-0.014924601651728153,
-0.02800937369465828,
-0.029817912727594376,
-0.02500508353114128,
0.006159065756946802,
-0.030105188488960266,
0.0595933236181736,
-0.0335417203605175,
-0.08965587615966797,
0.006202431861311197,
0.03989263251423836,
0.007549233268946409,
0.01701837033033371,
-0.01568899117410183,
0.04858437925577164,
-0.031434379518032074,
0.02912464737892151,
0.04828853905200958,
-0.04144218936562538,
0.0023056112695485353,
-0.037623174488544464,
0.0034945886582136154,
-0.005301476921886206,
-0.011332442983984947,
-0.0397694930434227,
0.007273973897099495,
0.01166877243667841,
0.009062216617166996,
-0.03388454392552376,
-0.013851441442966461,
-0.021714825183153152,
0.0125508364289999,
-0.012250897474586964,
-0.019323430955410004,
0.013067220337688923,
0.013655687682330608,
-0.027115799486637115,
0.007631790358573198,
0.031577154994010925,
-0.00011626045306911692,
0.0172992292791605,
0.01201991830021143,
-0.0016335246618837118,
0.03726143762469292,
-0.03699328377842903,
0.03952287882566452,
0.04343455284833908,
-0.005542980041354895,
-0.04466540366411209,
-0.0019059226615354419,
0.03453604504466057,
0.02640364319086075,
0.05900533124804497,
0.05363938957452774,
0.002003789646551013,
-0.008578596636652946,
-0.000385770748835057,
-0.024548687040805817,
0.008809346705675125,
-0.02037191018462181,
-0.003497387282550335,
0.0037526912055909634,
0.06137874349951744,
0.01662321947515011,
0.05848994106054306,
-0.027516376227140427,
-0.022746538743376732,
0.09361220896244049,
-0.059561971575021744,
-0.03686852380633354,
-0.006703567691147327,
-0.04786372557282448,
0.004217899404466152,
0.029520491138100624,
0.0754213035106659,
-0.04545601084828377,
0.07743766903877258,
0.04238763079047203,
0.0002341917424928397,
0.05978855863213539,
0.015127571299672127,
0.056261491030454636,
-0.02673233114182949,
-0.015908334404230118,
-0.0879630520939827,
0.013082519173622131,
0.07663094997406006,
0.03559908643364906,
-0.014861329458653927,
-0.04569254815578461,
-0.0382910892367363,
0.007728509604930878,
-0.0665937066078186,
-0.02809324860572815,
0.026584941893815994,
-0.014181241393089294,
0.006130988709628582,
0.016459381207823753,
-0.0031873444095253944,
0.06666982173919678,
0.03264499828219414,
-0.05018337443470955,
-0.019623398780822754,
-0.0304920244961977,
0.04360196366906166,
0.03833797201514244,
0.024571076035499573,
-0.023617183789610863,
0.01264233235269785,
0.06346604228019714,
0.024643559008836746,
0.02210439182817936,
0.018770698457956314,
-0.028714479878544807,
0.04649573937058449,
0.03773805499076843,
-0.033507633954286575,
0.02451561763882637,
0.007866214029490948,
-0.01170257106423378,
-0.052617043256759644,
-0.0059611438773572445,
0.0015630392590537667,
-0.019413763657212257,
-0.02778422273695469,
0.039689820259809494,
0.014701769687235355,
-0.05152750387787819,
-0.07452332973480225,
0.02385118044912815,
-0.025860324501991272,
-0.020607806742191315,
-0.02496209926903248,
0.003567962907254696,
-0.037808939814567566,
0.05323173478245735,
-0.009628300555050373,
-0.0060994625091552734,
0.07910088449716568,
-0.019887326285243034,
-0.012089734897017479,
-0.017099162563681602,
0.09012102335691452,
0.06409962475299835,
-0.013977769762277603,
-0.006150460802018642,
0.04044680297374725,
-0.018885286524891853,
-0.020466895774006844,
0.009747060015797615,
-0.024694884195923805,
-0.012900635600090027,
0.04080750420689583,
-0.0120055191218853,
0.07102244347333908,
-0.006548572797328234,
0.0624806247651577,
-0.04659971594810486,
-0.014693550765514374,
-0.014309556223452091,
0.037416428327560425,
0.03558329492807388,
0.013381035067141056,
0.019257433712482452,
0.025507505983114243,
-0.0007629182073287666,
-0.0491621270775795,
0.014213740825653076,
0.003227500943467021,
-0.029151149094104767,
0.0064934310503304005,
-0.008168768137693405,
0.015336187556385994,
0.029236815869808197,
0.037983208894729614,
0.05614539235830307,
0.009390626102685928,
-0.013814283534884453,
-0.01713653840124607,
0.046762630343437195,
0.007715972606092691,
-0.0012523755431175232,
-0.025104768574237823,
-0.02230813167989254,
-0.014351172372698784,
-0.026454370468854904,
0.010401285253465176,
-0.01653367094695568,
-0.012884353287518024,
0.016424769535660744,
-0.00833915639668703,
0.012261473573744297,
0.016207823529839516,
0.003135920502245426,
-0.05171942338347435,
-0.05834849551320076,
-0.06059473380446434,
-0.04119028523564339,
-0.0632329210639,
0.011345261707901955,
-0.005810734815895557,
-0.0018332585459575057,
-0.05315166339278221,
-0.009684575721621513,
-0.05271027609705925,
-0.005431977100670338,
0.021209878847002983,
-0.05818619579076767,
-0.016376255080103874,
0.02200358919799328,
0.044855423271656036,
0.026003165170550346,
0.013010412454605103,
0.04090974107384682,
0.014656750485301018,
-0.013323728926479816,
0.0010544968536123633,
-0.016218720003962517,
0.06148133426904678,
0.0038137768860906363,
0.0021300953812897205,
-0.0907980352640152,
0.023262498900294304,
0.05514882877469063,
0.0031630564481019974,
-0.06933456659317017,
-0.001198823913000524,
0.05416509881615639,
-0.01387963630259037,
0.03785042464733124,
0.008551088161766529,
0.007768930867314339,
0.0042170011438429356,
-0.027666300535202026,
0.014669199474155903,
0.003780931234359741,
0.0665949285030365,
-0.005443332251161337,
0.08412466943264008,
0.07013526558876038,
-0.024330101907253265,
-0.021034000441432,
-0.01196182332932949,
-0.01869855634868145,
0.005289492662996054,
-0.06468826532363892,
-0.0435699000954628,
-0.060689669102430344,
-0.05543194338679314,
0.0017208517529070377,
0.01242887694388628,
-0.04253445193171501,
-0.02276267297565937,
0.012348057702183723,
0.05412870645523071,
-0.028819764032959938,
0.00993253756314516,
-0.05558156594634056,
0.035061031579971313,
-0.008709478192031384,
-0.008893046528100967,
-0.011287941597402096,
0.005195137578994036,
0.0318569578230381,
0.023518653586506844,
0.0048720818012952805,
-0.026889434084296227,
0.010803157463669777,
0.004570490680634975,
0.03275982663035393,
0.04488296061754227,
0.017906036227941513,
-0.027489762753248215
] | [
-0.09757549315690994,
0.007866036146879196,
-0.023068640381097794,
-0.04357686638832092,
0.029169345274567604,
-0.11247947812080383,
-0.04112180322408676,
0.04455624148249626,
-0.024363288655877113,
-0.01839928701519966,
0.010394367389380932,
-0.02554565668106079,
-0.015878181904554367,
-0.03597545251250267,
0.07451760023832321,
-0.03773074224591255,
0.014097068458795547,
-0.00900381337851286,
0.04881000891327858,
0.0034770965576171875,
0.0514976941049099,
-0.015820037573575974,
-0.017067458480596542,
-0.03734034672379494,
0.01891142502427101,
0.07698815315961838,
0.022733233869075775,
-0.03686830773949623,
-0.005968240089714527,
-0.2086152285337448,
0.02468009665608406,
0.0032038118224591017,
0.004377665463835001,
0.018350662663578987,
-0.007052922621369362,
0.05037275701761246,
0.021782061085104942,
0.019545432180166245,
0.021513035520911217,
0.054021552205085754,
0.0009029569337144494,
0.038306932896375656,
-0.05463896691799164,
-0.016525741666555405,
-0.01643420197069645,
-0.03374651074409485,
-0.008708378300070763,
-0.028532039374113083,
0.030749958008527756,
-0.015806743875145912,
-0.11001826822757721,
0.017617659643292427,
0.033337708562612534,
-0.017905928194522858,
0.010691764764487743,
0.003044873708859086,
0.06942940503358841,
0.08457890897989273,
-0.014230380766093731,
-0.015521028079092503,
-0.02372427098453045,
0.00030136239365674555,
-0.1406857967376709,
0.10501810908317566,
-0.006821400951594114,
0.018216410651803017,
-0.010242341086268425,
0.004489926155656576,
0.0011147625045850873,
0.07085911929607391,
-0.007092328742146492,
-0.017304645851254463,
-0.06079362705349922,
0.07614222168922424,
0.01801677793264389,
0.016458868980407715,
0.011221395805478096,
-0.002164012985303998,
0.04369915649294853,
-0.02659975364804268,
-0.10347524285316467,
-0.04710391163825989,
0.0361323356628418,
-0.030506489798426628,
-0.04607095196843147,
0.012128450907766819,
0.013860116712749004,
0.013101809658110142,
0.03559782728552818,
-0.007616524118930101,
0.007229037582874298,
-0.011958169750869274,
0.02506399154663086,
0.0034223494585603476,
-0.0822962149977684,
-0.0034565285313874483,
-0.008816922083497047,
-0.0016442190390080214,
0.016747673973441124,
0.37657707929611206,
-0.03556076064705849,
-0.031001100316643715,
0.0637696161866188,
0.004144436679780483,
0.017923172563314438,
0.0011124055599793792,
-0.003874079789966345,
-0.0559401735663414,
0.005362052470445633,
-0.04663734510540962,
-0.0025889521930366755,
0.02762979455292225,
0.046255551278591156,
-0.02505658008158207,
0.025486279278993607,
0.04419952630996704,
0.013929958455264568,
0.0031876927241683006,
-0.027603838592767715,
0.06203875690698624,
-0.015712160617113113,
0.0011202784953638911,
-0.0074586570262908936,
0.02946300245821476,
-0.0009569997200742364,
-0.06865797936916351,
0.0031371426302939653,
0.04113096371293068,
0.03572862967848778,
0.005884499289095402,
0.013009974732995033,
-0.03681696578860283,
-0.1012374684214592,
-0.028015252202749252,
0.032654546201229095,
0.03147651627659798,
0.0018291345331817865,
-0.05140040069818497,
0.013373414985835552,
0.0045793065801262856,
-0.02972550131380558,
-0.01686907559633255,
-0.03612900897860527,
-0.007220898754894733,
-0.08170434087514877,
0.1296856701374054,
-0.01576816476881504,
0.012676967307925224,
0.0032719201408326626,
-0.021621476858854294,
0.027058005332946777,
0.053522948175668716,
-0.021219773218035698,
-0.06021233648061752,
0.030369985848665237,
0.029488224536180496,
0.08919917047023773,
0.0390276238322258,
-0.06372018158435822,
-0.02407248318195343,
-0.03122924640774727,
-0.02563677355647087,
-0.022956881672143936,
0.06498130410909653,
0.04767896607518196,
-0.056255899369716644,
0.001703046727925539,
0.040766190737485886,
-0.0031902403570711613,
-0.054435595870018005,
-0.016270924359560013,
0.025843236595392227,
-0.02586405724287033,
0.02751849591732025,
0.043052662163972855,
-0.00931613240391016,
0.023760296404361725,
0.0029513223562389612,
0.04311896860599518,
0.019768783822655678,
0.008520595729351044,
0.02870858646929264,
-0.07833518087863922,
-0.003289569867774844,
-0.004348776303231716,
-0.07627736777067184,
-0.094457246363163,
0.024145355448126793,
-0.020936742424964905,
0.02612452022731304,
0.018182899802923203,
0.014585199765861034,
-0.045149143785238266,
0.06476917862892151,
-0.004589398391544819,
-0.010508214123547077,
0.013611813075840473,
-0.0048414599150419235,
-0.023486679419875145,
-0.06939314305782318,
0.014708594419062138,
0.08542464673519135,
0.008003453724086285,
0.019608421251177788,
-0.028416186571121216,
0.0063836402259767056,
0.06862378120422363,
-0.03966187313199043,
0.013135232962667942,
0.0037550742272287607,
-0.043916478753089905,
-0.0317346416413784,
-0.023190300911664963,
0.042487457394599915,
-0.05697667971253395,
-0.017261620610952377,
-0.0018084030598402023,
0.05945098400115967,
0.01933467760682106,
0.0006293948972597718,
-0.06644416600465775,
-0.04161959886550903,
0.0027891015633940697,
-0.34185564517974854,
-0.014862350188195705,
0.0014919019304215908,
-0.023380113765597343,
0.011902987957000732,
-0.07553377747535706,
0.025391526520252228,
-0.03460926190018654,
-0.005384619813412428,
-0.015856489539146423,
0.07925599068403244,
-0.03879747539758682,
-0.0014211832312867045,
-0.04145080968737602,
-0.015984149649739265,
0.040682923048734665,
-0.038017988204956055,
-0.028089681640267372,
-0.03231365978717804,
0.014894734136760235,
0.018117547035217285,
-0.014721761457622051,
-0.02533925510942936,
-0.008235355839133263,
0.0010959103237837553,
-0.01674610748887062,
0.08334238827228546,
-0.017016354948282242,
0.050051406025886536,
-0.029568778350949287,
0.04163195565342903,
0.05175551027059555,
0.003791640978306532,
-0.10184837132692337,
-0.04537151753902435,
-0.023386966437101364,
-0.026811862364411354,
0.03771274909377098,
0.014583991840481758,
0.004476563539355993,
-0.024391891434788704,
0.046078067272901535,
-0.03307831287384033,
-0.060530293732881546,
-0.022634228691458702,
0.0028403711039572954,
-0.025776417925953865,
-0.0675220787525177,
0.011950586922466755,
0.08829151839017868,
-0.028124971315264702,
0.02508518286049366,
0.012898629531264305,
0.018075615167617798,
0.0012052616802975535,
-0.03557945415377617,
-0.0356130450963974,
-0.03462638333439827,
0.057966455817222595,
-0.029845362529158592,
0.07033683359622955,
0.06664858013391495,
0.04689944535493851,
-0.03007269836962223,
-0.032756924629211426,
-0.011183742433786392,
-0.01436903141438961,
-0.0029544399585574865,
0.027802255004644394,
-0.02657000534236431,
-0.022205358371138573,
0.09069850295782089,
0.001968920696526766,
-0.0033449623733758926,
0.010269966907799244,
0.06682056933641434,
0.0061911726370453835,
-0.0011893586488440633,
0.034202463924884796,
-0.0068634808994829655,
0.02399303950369358,
0.039123356342315674,
0.017861634492874146,
-0.026651794090867043,
-0.01771581918001175,
0.06553169339895248,
-0.0072644297033548355,
-0.0015130265383049846,
0.033339329063892365,
0.005682261660695076,
-0.04803816229104996,
-0.007014780305325985,
0.008197053335607052,
-0.039117712527513504,
0.03660300001502037,
0.020292092114686966,
-0.2627871036529541,
0.01697932556271553,
0.05874328687787056,
0.06043889373540878,
0.004159527365118265,
0.01095065101981163,
0.017723780125379562,
-0.07663659006357193,
-0.010953926481306553,
0.03319854661822319,
0.020156973972916603,
0.03442445397377014,
0.002954330760985613,
-0.021996058523654938,
0.0534285269677639,
0.008357425220310688,
0.06009028106927872,
0.011502369306981564,
0.034166883677244186,
-0.03608354181051254,
-0.007558600977063179,
-0.05208864063024521,
0.17503784596920013,
0.028842635452747345,
0.024413058534264565,
0.0014220528537407517,
0.021814236417412758,
0.048738908022642136,
0.05181935802102089,
0.012468409724533558,
0.012506375089287758,
-0.0170428603887558,
0.09644348919391632,
0.0005171620869077742,
0.016556818038225174,
-0.041516173630952835,
0.0060572512447834015,
0.03130645677447319,
0.03583322465419769,
-0.0042460025288164616,
-0.0294675100594759,
0.022972214967012405,
-0.07139625400304794,
0.029256640002131462,
0.0972386971116066,
0.02865874022245407,
-0.02973133698105812,
-0.04955711588263512,
-0.06305450201034546,
-0.004911436233669519,
-0.006248973775655031,
-0.03350382670760155,
-0.020104601979255676,
0.012740454636514187,
0.0025618658401072025,
0.05640137195587158,
-0.011866587214171886,
-0.04034462571144104,
-0.049968816339969635,
0.02288365177810192,
0.006413901690393686,
-0.0006232570158317685,
0.098670095205307,
0.06547021865844727,
0.0039132428355515
] | [
-0.015529261901974678,
0.04761918634176254,
-0.02592814899981022,
-0.03678528591990471,
-0.006376852281391621,
0.013581853359937668,
-0.028423331677913666,
0.05202287435531616,
-0.030983829870820045,
-0.010516731068491936,
-0.006616666447371244,
0.014051234349608421,
0.005476104561239481,
-0.03852981701493263,
0.005278689321130514,
-0.06406844407320023,
-0.0017402376979589462,
0.035686347633600235,
0.03882164508104324,
0.013801200315356255,
0.011053782887756824,
0.027784334495663643,
0.009324667975306511,
-0.034606922417879105,
-0.006300793960690498,
0.05408814549446106,
-0.0058091189712285995,
0.005241424776613712,
-0.006942537613213062,
-0.1233404278755188,
-0.029311055317521095,
0.008971103467047215,
-0.006257181521505117,
-0.02461237460374832,
-0.0030648079700767994,
-0.010555007494986057,
0.02475346438586712,
0.044907137751579285,
-0.01672394573688507,
-0.031651027500629425,
-0.0032503907568752766,
-0.003323557088151574,
-0.013504672795534134,
0.04032263159751892,
-0.021196676418185234,
-0.06535057723522186,
-0.03955572098493576,
-0.03547871112823486,
-0.01573300175368786,
0.002126024104654789,
-0.061518099159002304,
0.013241823762655258,
0.011718125082552433,
0.014099923893809319,
0.03174371272325516,
-0.030547361820936203,
0.002486255019903183,
0.01584271527826786,
0.012021711096167564,
-0.024755040183663368,
-0.005557956639677286,
0.026322094723582268,
-0.038153231143951416,
-0.021415723487734795,
-0.009692621417343616,
-0.02640751749277115,
0.01882743649184704,
0.014132184907793999,
0.017225265502929688,
-0.006346600595861673,
-0.012675341218709946,
-0.011052118614315987,
-0.023134129121899605,
0.012056184001266956,
-0.024688513949513435,
0.0235908180475235,
0.002150723710656166,
-0.019955091178417206,
0.010476995259523392,
-0.006636339705437422,
-0.01752972975373268,
-0.0030040054116398096,
0.012568472884595394,
-0.003104761941358447,
-0.009577136486768723,
0.015877271071076393,
-0.011243283748626709,
0.026031963527202606,
-0.00672561302781105,
0.02597529999911785,
-0.009002060629427433,
0.019101548939943314,
0.0238625667989254,
-0.022023681551218033,
-0.07639540731906891,
0.03453579545021057,
-0.05612844601273537,
-0.0023901150561869144,
0.00012804381549358368,
0.8312774896621704,
0.02595905400812626,
0.061200980097055435,
0.030777251347899437,
0.027034882456064224,
0.012354583479464054,
0.010852658189833164,
0.00402835151180625,
-0.02462422288954258,
0.015570619143545628,
-0.013879776932299137,
0.030902864411473274,
0.01258275005966425,
0.024328025057911873,
0.0030561103485524654,
0.03647959232330322,
0.02935127168893814,
-0.011550618335604668,
0.03639822453260422,
-0.010212146677076817,
0.021216679364442825,
0.019593751057982445,
-0.02205461822450161,
-0.03243131935596466,
0.008231312036514282,
0.005470611155033112,
-0.16044633090496063,
0.013282732106745243,
-7.764320184753679e-33,
0.03931498900055885,
-0.03816349804401398,
0.012889843434095383,
0.02690647356212139,
-0.012743579223752022,
-0.022259287536144257,
0.03307270631194115,
0.03887396678328514,
-0.008973872289061546,
-0.0485614538192749,
-0.020542318001389503,
-0.03292697295546532,
-0.02691280096769333,
0.00587253225967288,
0.03665664792060852,
-0.015467304736375809,
-0.00859438069164753,
0.01716097630560398,
-0.000997122609987855,
0.035884201526641846,
0.014644470997154713,
0.02266833558678627,
0.004033446311950684,
0.0006181423086673021,
0.02618463523685932,
0.052140012383461,
0.009909157641232014,
-0.017853233963251114,
0.0006607566028833389,
-0.027319997549057007,
-0.01568698137998581,
-0.0025237593799829483,
0.016183843836188316,
-0.03034844435751438,
0.011773350648581982,
-0.05604713782668114,
-0.023596016690135002,
-0.003880830481648445,
-0.03647814318537712,
-0.04935343563556671,
-0.07462672144174576,
-0.00843757577240467,
-0.058321841061115265,
0.024671833962202072,
-0.03935700282454491,
-0.040755268186330795,
0.010721788741648197,
0.04209716245532036,
0.0058861589059233665,
0.04549421742558479,
0.014681684784591198,
0.02326156571507454,
-0.015398501418530941,
0.0036455329973250628,
-0.021534131839871407,
0.03532404825091362,
-0.004915885627269745,
0.01482941024005413,
-0.03444604203104973,
0.01928531564772129,
-0.011367004364728928,
-0.004411434754729271,
0.00729564530774951,
0.031253986060619354,
0.02571791410446167,
-0.0020514829084277153,
-0.019263802096247673,
-0.01748647354543209,
0.014116425067186356,
0.032005373388528824,
-0.055436454713344574,
0.022193338721990585,
-0.01781441457569599,
-0.03677423298358917,
0.002908421214669943,
0.016574585810303688,
0.025348830968141556,
-0.006086694076657295,
-0.018579255789518356,
0.01323805470019579,
-0.006963164079934359,
0.000573318509850651,
0.00989867839962244,
-0.02763819321990013,
-0.0076567200012505054,
0.01885705068707466,
0.024697866290807724,
-0.006540320347994566,
0.012033705599606037,
0.015799634158611298,
0.0694185271859169,
0.03233649581670761,
-0.023575417697429657,
-0.00464726472273469,
-0.03791367635130882,
7.224176857130991e-33,
0.018408622592687607,
0.0019104647217318416,
-0.0204441137611866,
0.000047310128138633445,
-0.014422759413719177,
0.007225909736007452,
0.008933289907872677,
0.03644968569278717,
-0.09180126339197159,
0.013610759750008583,
-0.038725800812244415,
0.004752716980874538,
-0.004447979852557182,
-0.003736987477168441,
0.0654621496796608,
-0.032860297709703445,
0.01937766745686531,
0.01755858212709427,
0.030134832486510277,
0.007877042517066002,
0.05692275986075401,
0.0060773673467338085,
0.050872527062892914,
0.010577648878097534,
0.036826323717832565,
0.009159537963569164,
-0.057191167026758194,
0.012608874589204788,
-0.022879160940647125,
-0.02470684051513672,
0.0722365453839302,
0.008189389482140541,
0.000575301528442651,
-0.05401055887341499,
-0.036137089133262634,
0.04161113128066063,
0.00275209522806108,
-0.005594728980213404,
0.02070329524576664,
0.029513197019696236,
-0.006474451161921024,
-0.019324686378240585,
-0.002874866360798478,
0.01850961148738861,
0.02393711358308792,
-0.028053855523467064,
-0.000862944289110601,
0.017152654007077217,
0.03573542460799217,
0.004752619192004204,
-0.015064394101500511,
0.024779651314020157,
0.00931333564221859,
0.001009333529509604,
0.018604816868901253,
-0.024647554382681847,
-0.003677327884361148,
0.005678754299879074,
-0.038620758801698685,
0.03992253169417381,
0.010382005013525486,
-0.005533660762012005,
-0.024618757888674736,
0.015360837802290916,
-0.027552910149097443,
-0.021429045125842094,
0.04987597465515137,
0.012886691838502884,
-0.03230888023972511,
-0.006253902334719896,
0.01623687520623207,
-0.00666899373754859,
-0.013911196030676365,
0.05654448643326759,
0.06390521675348282,
-0.022653011605143547,
-0.02152235247194767,
0.0012096351711079478,
-0.04202410206198692,
0.0008484052959829569,
0.02567342109978199,
0.02153163217008114,
-0.014581931754946709,
-0.004730881191790104,
0.008443485014140606,
-0.03281347453594208,
-0.0231279656291008,
-0.00877727847546339,
0.0020940254908055067,
0.00845458172261715,
-0.028119320049881935,
0.008922702632844448,
-0.04596550762653351,
-0.0009967166697606444,
-0.004592952784150839,
-1.3032962264958314e-8,
-0.005113810300827026,
-0.01611287146806717,
-0.03108370304107666,
0.01927420124411583,
0.03387651592493057,
0.02914968505501747,
-0.06588386744260788,
-0.00485625397413969,
0.02731596864759922,
-0.011531146243214607,
0.025188129395246506,
-0.060296718031167984,
0.009778566658496857,
0.014912053942680359,
0.0346488356590271,
-0.041036076843738556,
0.006326186470687389,
-0.03455789014697075,
0.013468044809997082,
-0.0013907196698710322,
0.016887329518795013,
0.027056992053985596,
-0.025425158441066742,
0.0019766665063798428,
-0.018831124529242516,
-0.014572147279977798,
0.020756499841809273,
-0.050004441291093826,
0.0131320059299469,
0.013928702101111412,
0.010757988318800926,
-0.0038147433660924435,
-0.032346710562705994,
-0.008229614235460758,
-0.027442678809165955,
-0.008695543743669987,
0.027855338528752327,
0.03145599365234375,
-0.009338818490505219,
0.00530150206759572,
-0.001848504296503961,
0.0070708743296563625,
-0.054070670157670975,
-0.014809268526732922,
0.016390850767493248,
-0.0072544110007584095,
-0.015844663605093956,
-0.0029339713510125875,
-0.018120339140295982,
-0.02871779538691044,
-0.006278950721025467,
-0.005705696064978838,
0.03924139589071274,
-0.007031179033219814,
0.010048458352684975,
0.0006892617675475776,
0.0127967344596982,
-0.013640403747558594,
0.018988700583577156,
-0.022422481328248978,
0.044645752757787704,
-0.014820748008787632,
-0.02621505968272686,
-0.017649581655859947
] | java-work-out-the-serialversionuid-of-a-class | https://markhneedham.com/blog/2014/01/31/java-work-out-the-serialversionuid-of-a-class |
false | 2014-01-31 23:59:58 | Java: Handling a RuntimeException in a Runnable | [
"java"
] | [
"Java"
] | At the end of last year I was playing around with http://www.markhneedham.com/blog/2013/11/17/java-schedule-a-job-to-run-on-a-time-interval/[running scheduled tasks to monitor a Neo4j cluster] and one of the problems I ran into was that the monitoring would sometimes exit.
I eventually realised that this was because a RuntimeException was being thrown inside the Runnable method and I wasn't handling it. The following code demonstrates the problem:
[source,java]
----
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.*;
public class RunnableBlog {
public static void main(String[] args) throws ExecutionException, InterruptedException {
ScheduledExecutorService executor = Executors.newSingleThreadScheduledExecutor();
executor.scheduleAtFixedRate(new Runnable() {
@Override
public void run() {
System.out.println(Thread.currentThread().getName() + " -> " + System.currentTimeMillis());
throw new RuntimeException("game over");
}
}, 0, 1000, TimeUnit.MILLISECONDS).get();
System.out.println("exit");
executor.shutdown();
}
}
----
If we run that code we'll see the RuntimeException but the executor won't exit because the thread died without informing it:
[source,text]
----
Exception in thread "main" pool-1-thread-1 -> 1391212558074
java.util.concurrent.ExecutionException: java.lang.RuntimeException: game over
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
at java.util.concurrent.FutureTask.get(FutureTask.java:111)
at RunnableBlog.main(RunnableBlog.java:11)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
Caused by: java.lang.RuntimeException: game over
at RunnableBlog$1.run(RunnableBlog.java:16)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
----
At the time I ended up adding a try catch block and printing the exception like so:
[source,java]
----
public class RunnableBlog {
public static void main(String[] args) throws ExecutionException, InterruptedException {
ScheduledExecutorService executor = Executors.newSingleThreadScheduledExecutor();
executor.scheduleAtFixedRate(new Runnable() {
@Override
public void run() {
try {
System.out.println(Thread.currentThread().getName() + " -> " + System.currentTimeMillis());
throw new RuntimeException("game over");
} catch (RuntimeException e) {
e.printStackTrace();
}
}
}, 0, 1000, TimeUnit.MILLISECONDS).get();
System.out.println("exit");
executor.shutdown();
}
}
----
This allows the exception to be recognised and as far as I can tell means that the thread executing the Runnable doesn't die.
[source,text]
----
java.lang.RuntimeException: game over
pool-1-thread-1 -> 1391212651955
at RunnableBlog$1.run(RunnableBlog.java:16)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
pool-1-thread-1 -> 1391212652956
java.lang.RuntimeException: game over
at RunnableBlog$1.run(RunnableBlog.java:16)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
pool-1-thread-1 -> 1391212653955
java.lang.RuntimeException: game over
at RunnableBlog$1.run(RunnableBlog.java:16)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
----
This worked well and allowed me to keep monitoring the cluster.
However, I recently started reading 'http://www.amazon.co.uk/Java-Concurrency-Practice-Brian-Goetz/dp/0321349601[Java Concurrency in Practice]' (only 6 years after I bought it!) and realised that this might not be the proper way of handling the RuntimeException. <p.The authors suggest the proper way of handling an exception is to let the thread die but inform the framework that it's died so another thread can be spun up in its place. We end up with the following code instead: ~~~java public class RunnableBlog { public static void main(String[] args) throws ExecutionException, InterruptedException { ScheduledExecutorService executor = Executors.newSingleThreadScheduledExecutor(); executor.scheduleAtFixedRate(new Runnable() { @Override public void run() { try { System.out.println(Thread.currentThread().getName() + " \-> " + System.currentTimeMillis()); throw new RuntimeException("game over"); } catch (RuntimeException e) { Thread t = Thread.currentThread(); t.getUncaughtExceptionHandler().uncaughtException(t, e); } } }, 0, 1000, TimeUnit.MILLISECONDS).get(); System.out.println("exit"); executor.shutdown(); } } ~~~
I don't see much difference between the two approaches so it'd be great if someone could explain to me why this approach is better than my previous one of catching the exception and printing the stack trace. | null | null | [
0.008776837959885597,
-0.03278769925236702,
-0.015811612829566002,
0.023572241887450218,
0.08159216493368149,
0.01049440074712038,
0.035253554582595825,
0.03331383317708969,
0.0016934203449636698,
-0.017695197835564613,
0.0038550461176782846,
-0.00015399687981698662,
-0.07803169637918472,
0.019828077405691147,
-0.010376016609370708,
0.05860815569758415,
0.09978869557380676,
-0.014890515245497227,
0.01932179555296898,
-0.02365480177104473,
0.026875168085098267,
0.05234985798597336,
0.009189344011247158,
0.050648655742406845,
0.021408138796687126,
0.005914571229368448,
-0.0012569016544148326,
0.008051693439483643,
-0.04928961396217346,
-0.002405270002782345,
0.029178546741604805,
0.018416915088891983,
0.01766948401927948,
-0.004264645744115114,
0.04167967289686203,
-0.01767813041806221,
-0.030094236135482788,
0.008549641817808151,
-0.013292539864778519,
0.02706948295235634,
-0.05576454475522041,
0.017675401642918587,
-0.05734788626432419,
0.011196446605026722,
-0.030018603429198265,
0.023631706833839417,
0.01984194479882717,
0.006958811543881893,
0.0038933970499783754,
-0.019899163395166397,
-0.08206315338611603,
0.0341075174510479,
-0.016669100150465965,
0.008497958071529865,
0.0034403956960886717,
0.05176027491688728,
0.03853188827633858,
-0.09225469827651978,
0.04161098599433899,
-0.048205871134996414,
-0.002026214264333248,
-0.053644340485334396,
-0.024385979399085045,
0.012688225135207176,
-0.004239409696310759,
-0.00449008634313941,
0.03169165924191475,
0.059759799391031265,
-0.040109869092702866,
-0.010617195628583431,
-0.04514326900243759,
0.0020721403416246176,
-0.01708388887345791,
0.01325777918100357,
0.004324049223214388,
-0.07324222475290298,
0.007497879676520824,
0.0711134523153305,
0.026439441367983818,
0.05170997232198715,
-0.029777638614177704,
-0.014511833898723125,
0.07248833775520325,
0.01534073892980814,
0.010882871225476265,
-0.03134698048233986,
-0.02627924643456936,
-0.04278019070625305,
-0.03939966857433319,
0.04898868873715401,
0.03744639456272125,
-0.03093075379729271,
-0.02644582837820053,
0.02700231410562992,
-0.04185832291841507,
0.020238716155290604,
-0.007365229073911905,
0.014291634783148766,
-0.003765601199120283,
-0.011490246281027794,
-0.0071622817777097225,
-0.007365730125457048,
-0.007999667897820473,
0.05743100866675377,
-0.05129965394735336,
-0.036209121346473694,
-0.02393033169209957,
-0.027801189571619034,
-0.013934381306171417,
-0.00747539522126317,
-0.05013926699757576,
0.032728929072618484,
0.024951916188001633,
0.000006294992090261076,
-0.08266471326351166,
0.07171717286109924,
0.013330849818885326,
-0.02158781699836254,
-0.000357020297087729,
0.010887866839766502,
0.0469665490090847,
0.023234669119119644,
-0.009726510383188725,
0.08078853785991669,
-0.012449914589524269,
0.04968367889523506,
-0.02041277475655079,
0.012629708275198936,
-0.010615481063723564,
-0.07547667622566223,
0.0026615539100021124,
0.0462832897901535,
0.004051009193062782,
0.010937832295894623,
0.01318790577352047,
-0.014833446592092514,
-0.017972778528928757,
-0.0021429569460451603,
0.052206844091415405,
0.0529729463160038,
-0.015154140070080757,
-0.04155528172850609,
0.019459186121821404,
0.004823506344109774,
0.002628775080665946,
0.01688232086598873,
-0.010432097129523754,
-0.014319234527647495,
-0.006169256288558245,
0.014642240479588509,
0.028583552688360214,
0.020931003615260124,
0.041767045855522156,
-0.03889242932200432,
0.005607894621789455,
0.07222054898738861,
-0.002834782935678959,
0.03519359603524208,
-0.03543052077293396,
0.04180233180522919,
0.04996485635638237,
0.0487787164747715,
-0.019360030069947243,
0.016644585877656937,
0.013760951347649097,
-0.013867730274796486,
0.010015151463449001,
0.02728147618472576,
-0.008962219581007957,
0.006044397596269846,
-0.053383469581604004,
-0.07551771402359009,
0.03251975402235985,
-0.06327886879444122,
-0.005257113836705685,
0.018406204879283905,
0.07459688931703568,
-0.00663859723135829,
0.023948995396494865,
-0.0013889375841245055,
-0.06109819933772087,
0.00015115883434191346,
0.009670382365584373,
0.01814795471727848,
-0.01323638018220663,
-0.0015369895845651627,
0.044896967709064484,
0.02430741675198078,
-0.03737320378422737,
0.00838861521333456,
-0.06612182408571243,
-0.0713387057185173,
-0.007686676923185587,
-0.011435750871896744,
0.038854941725730896,
-0.03186473995447159,
-0.002080971607938409,
0.027589695528149605,
0.022997882217168808,
0.029573772102594376,
0.017445683479309082,
0.002574293175712228,
0.0063036782667040825,
-0.04577990248799324,
-0.07506508380174637,
0.05450114607810974,
0.042192548513412476,
-0.03125656023621559,
-0.06440947204828262,
0.017141085118055344,
-0.020465951412916183,
0.023419827222824097,
0.03539020195603371,
-0.020710626617074013,
0.07265197485685349,
0.02158697135746479,
0.02576466277241707,
-0.013332812115550041,
0.05984418839216232,
-0.064996138215065,
0.032178014516830444,
0.01243444625288248,
-0.030807601287961006,
0.004330572206526995,
0.022816263139247894,
0.1018512174487114,
0.027184072881937027,
-0.03201527148485184,
-0.07838066667318344,
0.04646860435605049,
0.012427426874637604,
-0.05321739986538887,
0.001951030921190977,
-0.03337091580033302,
0.001353084691800177,
0.030865123495459557,
-0.032974228262901306,
-0.01745464652776718,
-0.012318320572376251,
-0.03278546780347824,
-0.004078929778188467,
0.08380977064371109,
-0.03697051480412483,
0.06824878603219986,
0.012519319541752338,
-0.011819091625511646,
-0.00849234126508236,
-0.04502999410033226,
-0.046500325202941895,
0.017345236614346504,
0.007802191656082869,
-0.027567675337195396,
0.05431031808257103,
-0.016850655898451805,
-0.04544349014759064,
-0.03434623032808304,
-0.04191165044903755,
0.019317543134093285,
0.03126009926199913,
0.06702174246311188,
0.022144317626953125,
0.05446868762373924,
-0.03272261098027229,
-0.008365448564291,
-0.03144163638353348,
-0.05550782009959221,
-0.008871725760400295,
-0.0011602840386331081,
0.025281164795160294,
0.045613545924425125,
0.0032987380400300026,
0.004721711855381727,
0.04586566984653473,
-0.0109210554510355,
-0.020698556676506996,
-0.032074447721242905,
0.0303653534501791,
0.005650308448821306,
-0.015450214967131615,
-0.014274124056100845,
-0.002473876578733325,
0.03339508920907974,
-0.04756036028265953,
-0.0322246178984642,
0.03430713713169098,
-0.05837869644165039,
0.07140009850263596,
-0.050804995000362396,
-0.06762146949768066,
0.01685156114399433,
0.0017725737998262048,
0.03986716642975807,
0.007254273630678654,
0.012739026919007301,
0.07993731647729874,
-0.002198741538450122,
-0.00833948515355587,
-0.0070504420436918736,
0.023352092131972313,
0.013487016782164574,
0.0013225652510300279,
0.01605154015123844,
0.015540010295808315,
-0.0156273040920496,
-0.00317973829805851,
-0.0667961910367012,
0.016116252169013023,
-0.055018145591020584,
-0.2642170786857605,
0.01480077300220728,
0.004923411179333925,
-0.03339053690433502,
0.033676277846097946,
0.027744701132178307,
0.01789853721857071,
-0.01785767450928688,
-0.007295428309589624,
0.02492527849972248,
-0.005648849532008171,
-0.0276203490793705,
-0.015653809532523155,
0.0362364687025547,
-0.016881631687283516,
0.004384906496852636,
0.01692998968064785,
-0.05023110285401344,
-0.006727916654199362,
0.026756586506962776,
-0.005147865042090416,
-0.06679771840572357,
-0.009688306599855423,
0.02016311325132847,
0.0344049371778965,
0.06959232687950134,
-0.07061555236577988,
0.04799038544297218,
-0.012603329494595528,
-0.009102760814130306,
0.0111847510561347,
-0.03247898817062378,
0.013085936196148396,
-0.03242531046271324,
-0.018010981380939484,
-0.018893970176577568,
-0.0038669686764478683,
0.02849406935274601,
-0.007462041452527046,
0.029470495879650116,
-0.03386496379971504,
-0.08271904289722443,
-0.030315641313791275,
0.0005482381675392389,
0.05278647318482399,
0.029616741463541985,
-0.06181850656867027,
-0.011326564475893974,
-0.024221094325184822,
0.06287750601768494,
-0.017480481415987015,
-0.020770473405718803,
-0.012620584107935429,
0.0220730472356081,
-0.029412025585770607,
-0.005204727873206139,
-0.045171573758125305,
-0.020373176783323288,
-0.02664787881076336,
-0.015586319379508495,
-0.008197064511477947,
-0.050710756331682205,
0.016126098111271858,
-0.02927740290760994,
-0.05888337269425392,
-0.022394834086298943,
-0.04277142509818077,
0.011367116123437881,
0.05926283076405525,
0.001904550939798355,
-0.029830994084477425,
-0.0024368660524487495,
0.007940764538943768,
-0.11664443463087082,
-0.025101862847805023,
0.013845820911228657,
-0.045597143471241,
-0.0013316444819793105,
-0.01320077758282423,
0.03639715537428856,
-0.03764169663190842,
-0.02337181568145752,
0.025730084627866745,
0.015286446548998356,
0.05334951728582382,
-0.0008488607709296048,
0.003213829593732953,
-0.03674886003136635,
-0.016369448974728584,
-0.00613471120595932,
0.060262005776166916,
-0.023639047518372536,
-0.00330339465290308,
-0.03256995230913162,
0.00975533202290535,
0.05976997688412666,
0.01346544362604618,
0.007249695714563131,
-0.020961815491318703,
0.046567946672439575,
0.033630624413490295,
-0.07481513917446136,
0.010003948584198952,
-0.018758712336421013,
-0.0025466184597462416,
-0.0180588960647583,
-0.05325470492243767,
0.021346423774957657,
0.018488429486751556,
0.031151607632637024,
0.003617944661527872,
-0.005147323943674564,
0.025110820308327675,
-0.051108602434396744,
-0.01257499773055315,
-0.03786265105009079,
0.024653106927871704,
0.06208689883351326,
0.01688271202147007,
-0.03741471469402313,
-0.08614673465490341,
0.007593628019094467,
0.02515939623117447,
0.0014887098222970963,
-0.031615693122148514,
-0.052664369344711304,
-0.018101928755640984,
-0.03173525258898735,
0.008319634012877941,
0.010347452946007252,
-0.054935239255428314,
0.030711164698004723,
0.04362984746694565,
0.021186495199799538,
0.007108732126653194,
-0.03950650244951248,
-0.04347289726138115,
-0.054117850959300995,
-0.0186602883040905,
-0.0008025725255720317,
0.005442711524665356,
-0.003562880912795663,
-0.006581761408597231,
0.0024326059501618147,
0.05775745213031769,
-0.006503227632492781,
0.04261035472154617,
-0.011776527389883995,
0.009024042636156082,
0.032167948782444,
0.0102467006072402,
-0.04424925893545151,
0.03312484920024872,
-0.058548156172037125,
-0.05429228022694588,
0.006985061801970005,
0.03979610651731491,
-0.02727661468088627,
-0.038017719984054565,
-0.036232054233551025,
0.03523065522313118,
-0.07692299783229828,
-0.030864432454109192,
-0.0010671286145225167,
-0.007331946864724159,
0.061286572366952896,
-0.013713105581700802,
0.016536669805645943,
-0.008828120306134224,
-0.02874016761779785,
-0.010703729465603828,
-0.030485142022371292,
-0.026592547073960304,
0.053630392998456955,
0.019878551363945007,
0.017247667536139488,
0.03523004427552223,
-0.013133130967617035,
0.00879049301147461,
0.0202985480427742,
-0.012136809527873993,
0.0026390422135591507,
0.020622950047254562,
0.014490358531475067,
0.027015911415219307,
0.013459634967148304,
0.002841049572452903,
0.00857155304402113,
-0.03063705936074257,
-0.021866779774427414,
-0.012594541534781456,
-0.012854602187871933,
-0.023439722135663033,
0.005148467607796192,
-0.03327430784702301,
-0.041624195873737335,
0.03194582834839821,
-0.005142384208738804,
0.03121235966682434,
0.002842807909473777,
0.0009427794138900936,
0.01655486598610878,
-0.027459872886538506,
0.016675924882292747,
0.08020512014627457,
-0.048309143632650375,
0.001897420734167099,
0.0026234507095068693,
0.027539066970348358,
0.019087091088294983,
0.0036649685353040695,
-0.004884691443294287,
0.015263554640114307,
-0.010894383303821087,
0.015553736127912998,
-0.053740084171295166,
-0.022176040336489677,
-0.016619352623820305,
0.002689879620447755,
-0.003760731779038906,
-0.00979709718376398,
0.01683836616575718,
0.009152662940323353,
-0.033839430660009384,
-0.017611006274819374,
0.003620636649429798,
-0.016740482300519943,
-0.01201044861227274,
0.04768668860197067,
-0.017879953607916832,
-0.0017520800465717912,
-0.04689573869109154,
0.029602739959955215,
0.022488441318273544,
-0.02176939696073532,
-0.05379069969058037,
-0.01811091974377632,
0.017115259543061256,
0.04564720764756203,
0.044271644204854965,
-0.021855782717466354,
-0.01261873822659254,
-0.029986634850502014,
-0.0042107487097382545,
-0.035971496254205704,
0.03158954903483391,
0.019293898716568947,
0.0036197786685079336,
0.03633696213364601,
0.07049033045768738,
0.030764365568757057,
0.051176752895116806,
-0.017743762582540512,
-0.006276557222008705,
0.04449030011892319,
-0.07673131674528122,
-0.04052386060357094,
-0.001783115090802312,
-0.0549563504755497,
-0.00889649335294962,
-0.0024288203567266464,
-0.013860794715583324,
-0.06470219790935516,
0.035715553909540176,
0.05811980366706848,
0.025644708424806595,
0.06789316236972809,
-0.0011252143885940313,
0.02768622897565365,
-0.04159556329250336,
-0.005461188033223152,
-0.0912671759724617,
-0.004531941842287779,
0.04022345691919327,
0.008484896272420883,
0.04194146767258644,
-0.02698977291584015,
-0.02070877142250538,
0.017762351781129837,
-0.04587266594171524,
-0.031235795468091965,
0.03720153495669365,
-0.04062263295054436,
-0.008159509859979153,
0.05365931615233421,
-0.05911621078848839,
0.03285578638315201,
0.027342425659298897,
-0.012738976627588272,
-0.05124317854642868,
-0.03184736147522926,
0.05612284317612648,
0.03570541739463806,
0.018704552203416824,
-0.04852958768606186,
-0.007902827113866806,
0.09877485036849976,
0.017156735062599182,
0.029184162616729736,
0.05789564549922943,
-0.011335558257997036,
0.05637836083769798,
0.029668303206562996,
0.004324125126004219,
-0.023987647145986557,
0.016163306310772896,
-0.005662599578499794,
-0.05345628038048744,
0.018560847267508507,
0.005904652643948793,
-0.028395911678671837,
-0.035416435450315475,
0.042910244315862656,
0.01203925535082817,
-0.021364664658904076,
-0.01701931841671467,
-0.013132648542523384,
-0.03671153262257576,
-0.02770215831696987,
-0.05965390428900719,
0.014320527203381062,
-0.06010699272155762,
0.07201464474201202,
-0.004105055704712868,
0.025470536202192307,
0.07753212749958038,
0.016487950459122658,
0.009201386012136936,
-0.0026302579790353775,
0.07554340362548828,
0.064035564661026,
0.005052110645920038,
0.003908624406903982,
0.06320232152938843,
-0.03106345422565937,
-0.026602651923894882,
-0.0035335433203727007,
-0.030111165717244148,
-0.0423026941716671,
-0.0068478453904390335,
0.026703637093305588,
0.06874989718198776,
-0.0100118862465024,
0.0536653995513916,
-0.027431227266788483,
-0.01620824821293354,
0.013386867940425873,
0.03300995007157326,
0.038852207362651825,
0.021167676895856857,
0.006395120173692703,
0.03881919011473656,
-0.01406458392739296,
-0.02656986378133297,
0.02491549216210842,
-0.01892007887363434,
-0.003907050937414169,
0.02752380445599556,
-0.0005079474067315459,
0.03586326912045479,
0.030872942879796028,
0.00986382458359003,
0.06835728883743286,
0.01699933409690857,
0.016482790932059288,
-0.023024601861834526,
0.0023082930129021406,
-0.002627319423481822,
-0.003282405436038971,
-0.016341358423233032,
-0.003918057773262262,
-0.01662212796509266,
-0.01924227550625801,
-0.02045232057571411,
-0.02523164264857769,
-0.06404159218072891,
0.030829429626464844,
-0.04477652162313461,
0.03939726576209068,
0.008632456883788109,
-0.020149901509284973,
-0.04797767847776413,
-0.037112921476364136,
-0.058871086686849594,
-0.012531123124063015,
-0.05603116750717163,
0.0038585469592362642,
0.03611793369054794,
0.025760188698768616,
-0.042047999799251556,
-0.011337687261402607,
0.006460364442318678,
-0.01246245764195919,
0.046404749155044556,
-0.03847536817193031,
-0.028393985703587532,
0.028550611808896065,
-0.00408475287258625,
0.039110343903303146,
0.03528878092765808,
0.07664044201374054,
-0.03446071967482567,
-0.0007540638325735927,
-0.03292534127831459,
-0.011311620473861694,
0.03784261271357536,
0.02593492902815342,
0.013148240745067596,
-0.07440763711929321,
0.016010332852602005,
0.030301380902528763,
-0.024983905255794525,
-0.05182373523712158,
0.01463853195309639,
0.044194530695676804,
-0.018326710909605026,
0.06189143657684326,
-0.03201174736022949,
0.00970445666462183,
-0.06181381270289421,
0.011357318609952927,
-0.001398478983901441,
0.01498471386730671,
0.03600755333900452,
-0.012757230550050735,
0.06368745118379593,
0.03442529961466789,
-0.03100365772843361,
-0.005095938686281443,
0.024808086454868317,
-0.001225017593242228,
-0.036798492074012756,
-0.016153283417224884,
-0.05646301805973053,
-0.06687307357788086,
-0.07358664274215698,
0.009756166487932205,
0.04052251949906349,
0.00023460689408238977,
-0.05494091659784317,
0.03510042652487755,
0.029895516112446785,
-0.06546887010335922,
0.014256596565246582,
-0.03936750069260597,
0.024631081148982048,
-0.037527989596128464,
-0.02394026517868042,
0.015471256338059902,
-0.004157035145908594,
-0.026036467403173447,
0.00383916893042624,
0.022063108161091805,
-0.010816306807100773,
0.007727235555648804,
-0.01810614950954914,
0.014586411416530609,
0.03279964253306389,
0.0057569704949855804,
-0.017864041030406952
] | [
-0.09317577630281448,
-0.02427780069410801,
-0.024551432579755783,
-0.043289415538311005,
0.031074324622750282,
-0.04149702191352844,
0.019068453460931778,
0.04358688369393349,
0.025327099487185478,
-0.020161326974630356,
0.005717095453292131,
-0.02886546403169632,
-0.0016604050761088729,
0.02654353715479374,
0.06500397622585297,
-0.011610164307057858,
-0.03164636343717575,
-0.03668710216879845,
-0.012601436115801334,
-0.0009489615331403911,
0.033196479082107544,
-0.02031312696635723,
-0.029104679822921753,
-0.06547924131155014,
0.011188672855496407,
0.06520576030015945,
0.016701560467481613,
-0.038178689777851105,
-0.02038334123790264,
-0.18526962399482727,
0.004705432336777449,
-0.027991747483611107,
0.013785160146653652,
-0.00820328388363123,
-0.002031897194683552,
0.033514536917209625,
0.011104240082204342,
0.049073364585638046,
0.006562523543834686,
0.06118244305253029,
-0.0026373988948762417,
0.058665428310632706,
-0.08783187717199326,
-0.03173753619194031,
-0.002378887962549925,
-0.023944806307554245,
0.0030351311434060335,
-0.0326329842209816,
0.0004429707187227905,
0.004948417190462351,
-0.06651023030281067,
-0.006549473386257887,
0.030218077823519707,
-0.028069982305169106,
-0.004093612544238567,
-0.00911819189786911,
0.05277319252490997,
0.07484878599643707,
0.031438618898391724,
0.031405460089445114,
0.013852651230990887,
-0.030815931037068367,
-0.1273544728755951,
0.0783655196428299,
0.03963525965809822,
0.010014603845775127,
0.011555280536413193,
-0.019148850813508034,
-0.0017054375493898988,
0.06107189133763313,
-0.0019902391359210014,
-0.007788111921399832,
0.0011917571537196636,
0.08429007232189178,
0.004897499922662973,
-0.005032233893871307,
0.011032741516828537,
0.008431071415543556,
0.0394427627325058,
-0.03841697797179222,
-0.07312015444040298,
-0.0561818964779377,
0.011109672486782074,
-0.0084796492010355,
-0.021784096956253052,
0.05290428549051285,
-0.013833323493599892,
0.07175768166780472,
0.05686302110552788,
0.07183646410703659,
0.02401839941740036,
-0.010105391032993793,
0.060797229409217834,
0.0005920438561588526,
-0.07852482050657272,
0.023411711677908897,
0.0032235239632427692,
0.006442052312195301,
-0.04419485107064247,
0.3968370854854584,
-0.02227720431983471,
-0.023218324407935143,
0.02439289167523384,
0.06319212913513184,
-0.0011474789353087544,
-0.02158505469560623,
-0.014280644245445728,
-0.06007528305053711,
-0.011331703513860703,
-0.031855251640081406,
0.0339127779006958,
0.0033950465731322765,
0.07611922919750214,
-0.03281746059656143,
0.0021797132212668657,
0.04703032597899437,
0.04093502461910248,
0.0013637508964166045,
-0.035293277353048325,
0.06176203489303589,
-0.015450769104063511,
-0.005250650458037853,
0.007996421307325363,
0.003954647108912468,
0.019917011260986328,
-0.04703422635793686,
0.025129815563559532,
0.06013515219092369,
0.02434885874390602,
-0.03766512870788574,
0.05352097004652023,
-0.05222758650779724,
-0.07067439705133438,
-0.0036532566882669926,
0.02872021123766899,
0.013623700477182865,
0.044883452355861664,
-0.04127804934978485,
-0.01298536453396082,
-0.012960324995219707,
-0.006221205927431583,
-0.045203808695077896,
0.022903259843587875,
-0.041652847081422806,
-0.022074170410633087,
0.10429400950670242,
0.025737546384334564,
-0.032114189118146896,
0.021055346354842186,
-0.05973071604967117,
-0.050399888306856155,
0.03425202891230583,
-0.027339233085513115,
-0.05589917674660683,
0.0008829485159367323,
0.02144041284918785,
0.06609412282705307,
0.026677479967474937,
-0.03539315238595009,
-0.009375955909490585,
-0.02652832493185997,
-0.017142539843916893,
-0.026309018954634666,
0.041688334196805954,
0.060649268329143524,
-0.06113379821181297,
-0.03761082515120506,
0.01665639504790306,
-0.006681138649582863,
-0.052492473274469376,
-0.023538146167993546,
-0.0024326869752258062,
-0.025938689708709717,
-0.053935661911964417,
0.05225469917058945,
-0.0022612581960856915,
-0.0022938114125281572,
0.02015901915729046,
0.040167178958654404,
0.020319178700447083,
0.039621759206056595,
0.007694496773183346,
-0.03692450374364853,
-0.014827674254775047,
-0.009241942316293716,
-0.11176188290119171,
-0.05120554566383362,
0.016527503728866577,
-0.0000206904824153753,
-0.012770372442901134,
-0.04420417547225952,
-0.0598163865506649,
-0.06519394367933273,
0.09440013766288757,
-0.018367132171988487,
-0.028086327016353607,
0.018358144909143448,
-0.010861142538487911,
0.008692249655723572,
-0.03548795357346535,
0.028748631477355957,
0.043984267860651016,
-0.006832638289779425,
0.0677390992641449,
-0.06575033068656921,
0.0249262023717165,
0.020394252613186836,
-0.04838847368955612,
0.055954884737730026,
0.008248076774179935,
-0.047577232122421265,
-0.025308700278401375,
-0.01444791629910469,
0.030153896659612656,
-0.034296244382858276,
-0.008200467564165592,
-0.00397852947935462,
0.04675254225730896,
0.05024919658899307,
-0.00010078428749693558,
-0.021045586094260216,
0.027115052565932274,
0.03313213586807251,
-0.33042821288108826,
-0.059465933591127396,
-0.009299196302890778,
-0.01593923754990101,
-0.013709113001823425,
0.005048217251896858,
0.008853403851389885,
-0.05203802138566971,
-0.018910076469182968,
-0.008736290037631989,
0.10456874221563339,
-0.04422923922538757,
0.0019903385546058416,
-0.10757371038198471,
0.030327610671520233,
0.009521047584712505,
-0.08443811535835266,
-0.01734754629433155,
-0.03449244424700737,
0.02743389829993248,
0.022472988814115524,
-0.03882264345884323,
-0.008425096049904823,
-0.03377237170934677,
-0.02013235166668892,
-0.040368568152189255,
0.10571545362472534,
0.005643072538077831,
0.08778900653123856,
-0.06794285029172897,
0.029111897572875023,
-0.014537676237523556,
-0.006769183091819286,
-0.08666340261697769,
-0.014392593875527382,
-0.03871876746416092,
-0.023825425654649734,
-0.0035420809872448444,
0.014725246466696262,
-0.00705989683046937,
-0.0820569396018982,
0.01884029433131218,
-0.06866538524627686,
-0.0501662939786911,
-0.002678025048226118,
0.009851493872702122,
-0.004825226496905088,
-0.06047675758600235,
0.005419532768428326,
0.057433776557445526,
0.0060139549896121025,
-0.03080526553094387,
0.027509989216923714,
0.02960769087076187,
0.05909092351794243,
-0.035540658980607986,
-0.0539681501686573,
0.0012352005578577518,
0.009906540624797344,
0.0006440593278966844,
0.02510848455131054,
0.08586633950471878,
0.009817693382501602,
-0.02811957150697708,
0.01688203029334545,
0.026790857315063477,
-0.004543669521808624,
-0.0006267860298976302,
0.0074594453908503056,
-0.04676935821771622,
-0.041836753487586975,
0.1170046254992485,
0.005625587422400713,
-0.03510710969567299,
0.03125994652509689,
0.02579338103532791,
0.02116464078426361,
-0.038791313767433167,
0.026965003460645676,
0.008742853999137878,
0.015850739553570747,
-0.0145419891923666,
0.060594554990530014,
0.0033355718478560448,
-0.0317380391061306,
0.04214772582054138,
-0.01206438522785902,
0.011192628182470798,
0.0741734728217125,
-0.006703218910843134,
-0.026983032003045082,
0.01698189042508602,
-0.023872708901762962,
-0.036222755908966064,
0.07037995010614395,
-0.010839761234819889,
-0.24281208217144012,
0.014133396558463573,
0.028898514807224274,
0.039607368409633636,
0.0018738193903118372,
0.009850922971963882,
0.02002180553972721,
-0.019130129367113113,
-0.015583032742142677,
0.036524876952171326,
0.021548978984355927,
0.011111065745353699,
-0.025702891871333122,
0.00039169267984107137,
0.022737747058272362,
0.013888467103242874,
0.01778235286474228,
0.026788903400301933,
0.035494402050971985,
-0.0038133994676172733,
0.017248423770070076,
-0.01796186901628971,
0.15249736607074738,
0.0005036054644733667,
0.06244218349456787,
0.07602976262569427,
0.004155450500547886,
0.0263967402279377,
0.09476824104785919,
0.016020838171243668,
-0.006321049761027098,
-0.022288162261247635,
0.07949785143136978,
0.017305385321378708,
0.03414488956332207,
-0.1001012995839119,
0.031224027276039124,
0.05921952426433563,
0.02780386433005333,
-0.0034753172658383846,
-0.022959919646382332,
0.030347906053066254,
-0.004707077983766794,
0.006916507612913847,
0.09848131984472275,
0.021854717284440994,
-0.04304911941289902,
-0.07505059987306595,
-0.05226507782936096,
0.023641452193260193,
-0.026538832113146782,
-0.0714341476559639,
-0.0004226701275911182,
-0.031223881989717484,
-0.03235235437750816,
0.08694744110107422,
0.015280501917004585,
-0.023562688380479813,
-0.02383415214717388,
0.0016417847946286201,
0.048316292464733124,
-0.014753763563930988,
0.11062633991241455,
-0.01334954984486103,
0.007391137070953846
] | [
0.012828771956264973,
0.027476122602820396,
-0.010552351363003254,
0.008872898295521736,
0.01573229767382145,
0.01140927616506815,
0.000942870625294745,
0.009616710245609283,
0.0010334271937608719,
-0.023687386885285378,
-0.03710348159074783,
-0.011284222826361656,
0.002414550632238388,
-0.016936756670475006,
-0.005762874148786068,
-0.0570121593773365,
0.04203292727470398,
0.02260182984173298,
0.03708432987332344,
-0.00915931910276413,
-0.01924356073141098,
0.024488678202033043,
0.03727203980088234,
-0.019886299967765808,
-0.019740471616387367,
0.04866085201501846,
-0.025485079735517502,
-0.04941490665078163,
-0.014138049446046352,
-0.11372248828411102,
-0.01357164978981018,
-0.02711356431245804,
-0.024265144020318985,
-0.009698967449367046,
-0.002261614892631769,
0.0249213557690382,
0.025028815492987633,
0.016035519540309906,
-0.012336731888353825,
-0.017736904323101044,
-0.011576536111533642,
-0.03085024654865265,
-0.024092407897114754,
-0.005481647327542305,
-0.018809063360095024,
-0.022589394822716713,
-0.052345581352710724,
-0.042711857706308365,
-0.02860233001410961,
0.016992513090372086,
-0.04431571811437607,
-0.020765533670783043,
0.020600121468305588,
-0.01288472581654787,
0.017291929572820663,
0.03402877226471901,
-0.008886648342013359,
0.013372225686907768,
0.010890350677073002,
-0.020835505798459053,
0.04429825022816658,
-0.02840719185769558,
-0.0540773905813694,
-0.021935848519206047,
-0.0037443276960402727,
-0.050700511783361435,
0.046327248215675354,
-0.002249260200187564,
-0.0018087726784870028,
-0.01955147087574005,
-0.014837268739938736,
0.06001925840973854,
-0.0251814853399992,
-0.0184980109333992,
-0.05961688235402107,
0.055723387748003006,
0.05967635288834572,
-0.028487708419561386,
0.010884351097047329,
-0.019994111731648445,
-0.03220104053616524,
0.008842202834784985,
0.003944733180105686,
0.0203426294028759,
0.0004864118236582726,
-0.006811569444835186,
-0.007332167588174343,
0.02231796272099018,
0.0410928800702095,
0.022654186934232712,
-0.04707106947898865,
0.06276283413171768,
-0.025968315079808235,
0.01061917096376419,
-0.0594046525657177,
0.01750294491648674,
-0.029824841767549515,
0.004245493095368147,
0.01243511401116848,
0.8154428601264954,
0.02135520428419113,
0.017328720539808273,
0.04408056288957596,
0.03835795447230339,
0.00042048300383612514,
-0.00008125384920276701,
-0.06042104586958885,
-0.016209343448281288,
-0.0005278386524878442,
-0.03443044424057007,
0.024921000003814697,
-0.0030520479194819927,
0.043925829231739044,
0.01736542023718357,
0.05464290827512741,
0.018915370106697083,
0.0386810377240181,
0.024173583835363388,
0.014135126955807209,
0.053036004304885864,
0.050844062119722366,
-0.0055798254907131195,
0.0037255198694765568,
-0.004382796585559845,
0.02774607203900814,
-0.12435393780469894,
0.009759454056620598,
-7.719156222427148e-33,
0.04895447939634323,
-0.04293961077928543,
0.04814309626817703,
-0.001671216799877584,
0.003590939100831747,
0.011248535476624966,
-0.022495253011584282,
0.04993227496743202,
0.028876522555947304,
-0.05873962491750717,
-0.031918611377477646,
-0.03744785860180855,
0.027270199730992317,
-0.03325841948390007,
0.04628315940499306,
-0.019315430894494057,
0.03023153357207775,
0.029953747987747192,
0.00538225332275033,
-0.005902891047298908,
0.010382138192653656,
0.028280168771743774,
-0.014671122655272484,
0.004658958408981562,
-0.022950535640120506,
0.04537960886955261,
0.045340646058321,
-0.015225253067910671,
0.0013755178079009056,
-0.024014746770262718,
-0.01154184341430664,
-0.02493414096534252,
-0.023730875924229622,
0.012005187571048737,
0.01698755845427513,
-0.04362053424119949,
-0.046326033771038055,
0.016231942921876907,
-0.007849788293242455,
-0.06903854012489319,
-0.0662371814250946,
-0.0012049160432070494,
-0.007839066907763481,
0.005438794381916523,
-0.01615595631301403,
-0.03240642324090004,
0.0020755466539412737,
0.0423537977039814,
-0.005362795200198889,
0.04637648165225983,
-0.005485977977514267,
-0.004538785200566053,
-0.006909681484103203,
-0.03642786294221878,
-0.024216335266828537,
0.029370376840233803,
0.0361541286110878,
0.03761620447039604,
-0.032268814742565155,
0.06392151862382889,
0.010612268932163715,
0.003562367055565119,
-0.024814702570438385,
0.05179597809910774,
-0.0017736920854076743,
0.02156026102602482,
-0.009475580416619778,
-0.008371212519705296,
0.0031670581083744764,
0.027813628315925598,
-0.0316266268491745,
-0.00248708575963974,
0.016820726916193962,
0.025814976543188095,
0.012216649949550629,
-0.009508229792118073,
0.027601607143878937,
-0.01580240949988365,
-0.04784102737903595,
0.027199599891901016,
0.02289365977048874,
-0.009187189862132072,
-0.007803474087268114,
-0.059629783034324646,
0.013958458788692951,
0.007226333022117615,
0.017724186182022095,
0.0010409444803372025,
0.0297133419662714,
0.03705805540084839,
0.035070937126874924,
0.01582435704767704,
-0.00942936073988676,
0.011173629201948643,
-0.042839329689741135,
7.062046064109858e-33,
-0.020891815423965454,
-0.028511207550764084,
-0.04215872660279274,
-0.0005079071852378547,
0.020449625328183174,
-0.0007561679813079536,
-0.006895426195114851,
0.0177704319357872,
-0.05867769569158554,
0.010041316971182823,
-0.05278854817152023,
0.009172054007649422,
-0.023957490921020508,
0.038502272218465805,
0.028112459927797318,
-0.026921436190605164,
0.06518840044736862,
-0.004323174711316824,
0.0012875811662524939,
0.01816285215318203,
0.04481414332985878,
-0.0005992146907374263,
0.01970459707081318,
0.003917377907782793,
0.06690576672554016,
0.009609624743461609,
-0.015240631066262722,
0.0038731179665774107,
-0.0238972008228302,
0.010033831000328064,
0.037606142461299896,
-0.03894295170903206,
0.004251105710864067,
-0.01824766770005226,
0.020821599289774895,
-0.0029195176903158426,
-0.013891984708607197,
-0.016905246302485466,
0.010838965885341167,
0.013191557489335537,
-0.00373477884568274,
-0.021122928708791733,
-0.01375616155564785,
0.03207356855273247,
0.018723968416452408,
0.02679275907576084,
-0.011276506818830967,
0.023337991908192635,
-0.03489353880286217,
0.004367365501821041,
-0.033704083412885666,
-0.01959948055446148,
0.022003790363669395,
0.04454491287469864,
0.008560395799577236,
-0.012257491238415241,
-0.021442988887429237,
0.02941121906042099,
-0.014572222717106342,
0.0020753429271280766,
0.019624769687652588,
-0.060614991933107376,
-0.006468201521784067,
0.021314550191164017,
-0.0020468507427722216,
-0.03452348709106445,
0.026490451768040657,
-0.032743606716394424,
-0.03207436576485634,
0.00979671161621809,
-0.00804765336215496,
0.007902431301772594,
-0.038297202438116074,
0.05135156214237213,
0.0025885330978780985,
-0.006038180086761713,
-0.011046363040804863,
-0.002119249664247036,
-0.0750477984547615,
0.004835986997932196,
0.005946395918726921,
0.030894843861460686,
0.00027155879070051014,
-0.028783630579710007,
0.04254467040300369,
-0.015687372535467148,
-0.03411024436354637,
0.0024463010486215353,
-0.026885533705353737,
-0.03168000280857086,
-0.014935711398720741,
0.011690542101860046,
-0.015146924182772636,
0.01213713176548481,
-0.011004735715687275,
-1.2709497454466145e-8,
0.03429270163178444,
-0.013370797038078308,
-0.004573215264827013,
0.002521007787436247,
0.03624526411294937,
0.004031828138977289,
-0.0355960875749588,
-0.014730882830917835,
-0.011594844050705433,
0.052488233894109726,
0.020250482484698296,
-0.02262004092335701,
0.03281211480498314,
0.02429620549082756,
0.013396583497524261,
-0.0442814901471138,
0.011727439239621162,
-0.027197623625397682,
0.018570460379123688,
0.018292995169758797,
0.03316427022218704,
0.004914579447358847,
-0.019054004922509193,
0.024713659659028053,
-0.016116581857204437,
-0.010599860921502113,
0.05651865154504776,
-0.056865327060222626,
0.01415893156081438,
-0.035056669265031815,
-0.021249933168292046,
-0.021159790456295013,
0.0019389304798096418,
-0.028267206624150276,
-0.059421904385089874,
0.0025050994008779526,
-0.0033212818671017885,
0.037125114351511,
0.027325119823217392,
0.02462872304022312,
-0.022679109126329422,
0.003284787992015481,
-0.013883997686207294,
0.0020260384771972895,
0.01964540034532547,
0.009484775364398956,
-0.04435211047530174,
-0.01437593623995781,
0.004074962344020605,
-0.04421175643801689,
-0.04621575027704239,
0.018179576843976974,
0.029923859983682632,
-0.0013966443948447704,
0.01799706183373928,
0.0006960502360016108,
0.018185995519161224,
-0.025997476652264595,
-0.010794864036142826,
0.021686309948563576,
0.05016409233212471,
-0.00037811644142493606,
-0.06885884702205658,
-0.05052746459841728
] | java-handling-a-runtimeexception-in-a-runnable | https://markhneedham.com/blog/2014/01/31/java-handling-a-runtimeexception-in-a-runnable |
false | 2014-01-31 22:41:57 | Neo4j 2.0.0: Optimising a football query | [
"neo4j"
] | [
"neo4j"
] | A couple of months ago I wrote a blog post explaining http://www.markhneedham.com/blog/2013/11/08/neo4j-2-0-0-m06-applying-wes-freemans-cypher-optimisation-tricks/[how I'd applied Wes Freeman's Cypher optimisation patterns to a query] - since then Neo4j 2.0.0 has been released and I've extended the model so I thought I'd try again.
The updated model looks like this:
image::{{<siteurl>}}/uploads/2014/01/2014-01-31_22-25-20.png[2014 01 31 22 25 20,600]
The query is similar to before - I want to calculate the top away goal scorers in the 2012-2013 season. I started off with this:
[source,cypher]
----
MATCH (game)<-[:contains_match]-(season:Season),
(team)<-[:away_team]-(game),
(stats)-[:in]->(game),
(team)<-[:for]-(stats)<-[:played]-(player)
WHERE season.name = "2012-2013"
RETURN player.name,
COLLECT(DISTINCT team.name),
SUM(stats.goals) as goals
ORDER BY goals DESC
LIMIT 10
----
When I executed this query https://github.com/mneedham/cypher-query-tuning[using my Python query tuning tool] and the average time was 3.31 seconds.
I separated the MATCH statements into smaller individual statements just to see what would happen:
[source,cypher]
----
MATCH (game)<-[:contains_match]-(season:Season)
MATCH (team)<-[:away_team]-(game)
MATCH (stats)-[:in]->(game)
MATCH (team)<-[:for]-(stats)<-[:played]-(player)
WHERE season.name = "2012-2013"
RETURN player.name,
COLLECT(DISTINCT team.name),
SUM(stats.goals) as goals
ORDER BY goals DESC
LIMIT 10
----
That reduced the time to 178 milliseconds which is quite a nice improvement for so little effort. As I understand it, this is down to the traversal matcher handling smaller patterns more effectively than it handles longer patterns.
The next step was to move the WHERE clause up so that it filtered out rows right at the beginning of the query rather than letting them hang around for another 3 MATCH statements:
[source,cypher]
----
MATCH (game)<-[:contains_match]-(season:Season)
WHERE season.name = "2012-2013"
MATCH (team)<-[:away_team]-(game)
MATCH (stats)-[:in]->(game)
MATCH (team)<-[:for]-(stats)<-[:played]-(player)
RETURN player.name,
COLLECT(DISTINCT team.name),
SUM(stats.goals) as goals
ORDER BY goals DESC
LIMIT 10
----
That took the time down to 131 milliseconds. At this stage I also tried putting the 'MATCH (team)\<-[:away_team]-(game)' line first to see what would happen.
[source,cypher]
----
MATCH (team)<-[:away_team]-(game)
MATCH (game)<-[:contains_match]-(season:Season)
WHERE season.name = "2012-2013"
MATCH (stats)-[:in]->(game)
MATCH (team)<-[:for]-(stats)<-[:played]-(player)
RETURN player.name,
COLLECT(DISTINCT team.name),
SUM(stats.goals) as goals
ORDER BY goals DESC
LIMIT 10
----
I expected it to be a bit slower since we were now keeping around more games than necessary again and as expected the time rose to 172 milliseconds - slightly quicker than our first attempt at tweaking.
I reverted that change and realised that there would be a lot of 'stats' nodes which didn't have any goals associated with them and would therefore have a 'goals' property value of 0. I tried filtering those nodes out before the 'SUM' part of the query:
[source,cypher]
----
MATCH (game)<-[:contains_match]-(season:Season)
WHERE season.name = "2012-2013"
MATCH (team)<-[:away_team]-(game)
MATCH (stats)-[:in]->(game)
MATCH (team)<-[:for]-(stats)<-[:played]-(player)
WHERE stats.goals > 0
RETURN player.name,
COLLECT(DISTINCT team.name),
SUM(stats.goals) as goals
ORDER BY goals DESC
LIMIT 10
----
This proved to be a very good optimisation - the time reduced to 47 milliseconds, an improvement of almost 3x on the previous optimisation and 63x quicker than the original query.
The main optimisation pattern used here was reducing the number of rows being passed through the query.
Ideally you don't want to be passing unnecessary rows through each stage of the query - rows can be filtered out either by using more specific MATCH clauses or in this case by a WHERE clause.
Wes and I presented http://vimeo.com/84900121[a webinar on Cypher query optimisation] last week which so if you want to learn more about tuning queries that might be worth a watch. | null | null | [
0.019647644832730293,
-0.015317288227379322,
0.022891737520694733,
-0.012721074745059013,
0.07970469444990158,
-0.01981370709836483,
0.04966801404953003,
0.0043702637776732445,
0.02858356200158596,
-0.017390573397278786,
0.003980383742600679,
-0.008138331584632397,
-0.0704369768500328,
0.027584876865148544,
0.009401723742485046,
0.06509806215763092,
0.03902079164981842,
0.024070797488093376,
0.005263559520244598,
-0.024251997470855713,
0.02174409106373787,
0.05967644602060318,
-0.010582268238067627,
0.03200000151991844,
0.05063316971063614,
0.021937664598226547,
-0.0005117766559123993,
-0.013270043767988682,
-0.04311444237828255,
0.012780916877090931,
0.04814969003200531,
-0.007278029806911945,
0.024943877011537552,
-0.029702870175242424,
0.011993683874607086,
-0.010102756321430206,
-0.05726145952939987,
0.03166012093424797,
-0.018459782004356384,
-0.012407200410962105,
-0.050294097512960434,
0.03297584131360054,
-0.04220999404788017,
0.011906939558684826,
-0.05068407207727432,
0.005757552105933428,
-0.03222472965717316,
0.03167174011468887,
0.0035438735503703356,
0.0029243649914860725,
-0.08016569912433624,
0.021725794300436974,
-0.007829735986888409,
-0.01409230474382639,
-0.0023445826955139637,
0.04644406959414482,
0.03207407146692276,
-0.0628066435456276,
0.026115937158465385,
-0.007877934724092484,
-0.015903200954198837,
-0.01261870190501213,
-0.01230290811508894,
0.028409576043486595,
-0.002227547112852335,
-0.05657963454723358,
-0.008846980519592762,
0.04003463685512543,
-0.04363574832677841,
-0.013985530473291874,
-0.00564283924177289,
0.00973785575479269,
0.01061768177896738,
-0.009030678309500217,
-0.001124079804867506,
-0.03507273644208908,
0.00910470075905323,
0.06939560920000076,
0.03422607481479645,
0.03654245287179947,
-0.02366635575890541,
0.0019225866999477148,
0.0221097469329834,
0.026266874745488167,
-0.0017837536288425326,
-0.02744186297059059,
-0.01977379620075226,
-0.04459713026881218,
-0.03578467667102814,
0.058648791164159775,
0.020518159493803978,
-0.06570515781641006,
0.015692640095949173,
0.0035702146124094725,
-0.03155766800045967,
0.0005449372110888362,
0.011485460214316845,
0.01960633136332035,
0.00962917972356081,
-0.038745805621147156,
-0.012235880829393864,
-0.046176496893167496,
-0.0007280189893208444,
-0.011975155211985111,
-0.07198777049779892,
-0.029786506667733192,
-0.03049023635685444,
-0.014781933277845383,
-0.007131133694201708,
-0.011612975038588047,
-0.03207819163799286,
0.022824009880423546,
-0.0011339752236381173,
0.019366949796676636,
-0.08042167127132416,
0.04609685018658638,
0.022198012098670006,
-0.028396770358085632,
-0.021833108738064766,
0.019419865682721138,
0.017384784296154976,
0.008999374695122242,
0.004090604837983847,
0.07661276310682297,
-0.007880480960011482,
0.06484057009220123,
0.04931553453207016,
0.043571505695581436,
-0.02491943910717964,
-0.07483398914337158,
-0.000036082630685996264,
0.06801479309797287,
-0.02175760082900524,
0.026988524943590164,
-0.018340962007641792,
-0.05327146127820015,
-0.02322516404092312,
0.0011906353756785393,
0.05901360884308815,
0.03768530488014221,
0.009818742983043194,
-0.037792570888996124,
0.035474054515361786,
0.01097323838621378,
0.03401874750852585,
0.024342648684978485,
-0.031832076609134674,
-0.03387412801384926,
-0.026654863730072975,
-0.004640662111341953,
0.03162052854895592,
0.01588531769812107,
0.024194836616516113,
-0.032881274819374084,
0.015034649521112442,
0.12032996118068695,
0.03144653141498566,
-0.01367420144379139,
-0.025009846314787865,
0.014478648081421852,
0.05879155918955803,
0.034320589154958725,
0.020356643944978714,
0.047015730291604996,
0.009716903790831566,
-0.019506990909576416,
0.00686245784163475,
0.06979972869157791,
-0.012359383516013622,
0.0028510268311947584,
-0.0298420749604702,
-0.046854548156261444,
0.07090511918067932,
-0.02137225680053234,
-0.03323796018958092,
0.06734474003314972,
0.053691085427999496,
0.03899603709578514,
0.04353293403983116,
0.0013387770159170032,
-0.07241828739643097,
0.027124593034386635,
0.017647363245487213,
0.019420333206653595,
0.01939469203352928,
0.001669957535341382,
0.09223707765340805,
0.02448105812072754,
0.006673564203083515,
0.04510428011417389,
-0.09420962631702423,
-0.07333382964134216,
0.0015405849553644657,
-0.023593977093696594,
0.06003508344292641,
-0.022234562784433365,
0.020884372293949127,
0.05989619344472885,
0.009507938288152218,
0.03358544409275055,
0.03258251026272774,
0.0018004210432991385,
0.02359374798834324,
-0.037284109741449356,
-0.04470651596784592,
0.05348942428827286,
0.03717265650629997,
-0.062264230102300644,
-0.0742218941450119,
0.04741354659199715,
-0.045929066836833954,
-0.011502411216497421,
0.011092383414506912,
-0.020470792427659035,
0.018426595255732536,
0.029912708327174187,
0.041428517550230026,
0.0013922175858169794,
0.029524963349103928,
-0.04378602281212807,
0.041990961879491806,
0.033648159354925156,
-0.02772151492536068,
-0.007235932629555464,
0.0020369028206914663,
0.10313040018081665,
0.04044489935040474,
-0.022636257112026215,
-0.06004279851913452,
0.011161896400153637,
0.024742554873228073,
0.0023038650397211313,
0.010386311449110508,
-0.014191021211445332,
0.001037558657117188,
-0.033213451504707336,
-0.03859834745526314,
-0.0215850118547678,
0.005881926044821739,
-0.02413797937333584,
0.019948439672589302,
0.058015868067741394,
-0.0067159561440348625,
0.04702622815966606,
-0.011150062084197998,
0.0292135588824749,
-0.023646347224712372,
-0.03840421885251999,
-0.053887929767370224,
0.045839082449674606,
0.021693261340260506,
-0.007102720905095339,
0.04328671842813492,
-0.01633812114596367,
-0.007063720375299454,
-0.0050494978204369545,
-0.035617295652627945,
0.03393236920237541,
0.03917757794260979,
0.05762329697608948,
0.0026198544073849916,
0.032257165759801865,
-0.0276852585375309,
0.021270114928483963,
-0.028340648859739304,
-0.041796471923589706,
-0.06197651848196983,
-0.05381789803504944,
0.0157399233430624,
0.005067186895757914,
0.03158893063664436,
-0.02187899313867092,
0.0252506323158741,
0.014055190607905388,
0.01184262614697218,
0.013942919671535492,
0.020710580050945282,
0.0063536823727190495,
-0.029829606413841248,
-0.018476473167538643,
-0.041790541261434555,
0.0398363433778286,
-0.05804162099957466,
-0.03296082466840744,
-0.008406668901443481,
-0.06975166499614716,
0.03640522435307503,
-0.058237697929143906,
-0.014365490525960922,
0.0003186100802849978,
0.01674429513514042,
0.060543522238731384,
0.020043665543198586,
0.019242318347096443,
0.06643451005220413,
0.00936874933540821,
0.004880958236753941,
0.016135061159729958,
0.006039400584995747,
0.057153601199388504,
0.006762264762073755,
0.05034979060292244,
0.03824934735894203,
-0.026915427297353745,
0.005515084136277437,
-0.035174205899238586,
-0.007211127784103155,
-0.02788860723376274,
-0.27456095814704895,
0.06446895003318787,
-0.024591907858848572,
-0.03591278940439224,
0.011953379027545452,
-0.02246333472430706,
-0.008162613026797771,
-0.02209147997200489,
-0.037977200001478195,
0.011322159320116043,
-0.010535953566432,
-0.02485557831823826,
-0.028147362172603607,
0.0510253868997097,
0.021390430629253387,
0.028821993619203568,
-0.005536575336009264,
-0.0510055311024189,
-0.017464956268668175,
0.042218130081892014,
0.025577189400792122,
-0.04647790640592575,
-0.03270420804619789,
-0.0022960519418120384,
0.006827385630458593,
0.052364666014909744,
-0.08131269365549088,
0.009360358119010925,
-0.06443032622337341,
-0.015203830786049366,
-0.014262080192565918,
-0.024938929826021194,
0.011083431541919708,
0.002493210369721055,
-0.03125371038913727,
-0.016627151519060135,
0.029345473274588585,
0.012846726924180984,
-0.004405482672154903,
0.024045106023550034,
-0.05990548059344292,
-0.03669225797057152,
-0.021725967526435852,
-0.00599805498495698,
0.10771068930625916,
0.014114602468907833,
-0.05599077418446541,
-0.013252167031168938,
-0.01956637017428875,
0.05534850060939789,
-0.015274202451109886,
-0.04071590676903725,
-0.01804732345044613,
0.02943742647767067,
-0.02112611010670662,
-0.055124279111623764,
0.001407322008162737,
-0.03592314198613167,
-0.034356147050857544,
-0.01966724544763565,
-0.013322906568646431,
-0.050823383033275604,
0.03204093873500824,
-0.027234846726059914,
-0.007295731920748949,
-0.026933548972010612,
-0.05020090192556381,
-0.03487084433436394,
0.03154119849205017,
0.0034843345638364553,
-0.02213553711771965,
0.016805747523903847,
-0.025522449985146523,
-0.09586626291275024,
-0.055094633251428604,
-0.02889886684715748,
0.028216468170285225,
0.024374932050704956,
-0.008480559103190899,
0.046156711876392365,
-0.058359019458293915,
-0.047166381031274796,
-0.005451417062431574,
0.0281046275049448,
0.018221227452158928,
-0.0012817857787013054,
0.00918657798320055,
-0.011699794791638851,
-0.04163016751408577,
-0.007688438519835472,
0.049227457493543625,
-0.0399819016456604,
-0.00900809746235609,
0.03961004689335823,
-0.002036353573203087,
0.02576560340821743,
0.0021822242997586727,
-0.00956578366458416,
0.0031185781117528677,
0.054620496928691864,
0.03998282551765442,
-0.036499276757240295,
0.0011704606004059315,
-0.018168581649661064,
-0.038944024592638016,
0.0034426325000822544,
-0.03637358546257019,
-0.006690549198538065,
0.03297361359000206,
0.02174893021583557,
0.00880852434784174,
-0.0146472854539752,
-0.010613786987960339,
-0.0007543119136244059,
-0.04002832993865013,
-0.024465464055538177,
0.037574250251054764,
0.008068359456956387,
0.028081092983484268,
-0.03480474650859833,
-0.06857867538928986,
0.01194352563470602,
0.022400569170713425,
-0.006989271845668554,
-0.07629218697547913,
-0.04336019232869148,
-0.015909450128674507,
-0.036759257316589355,
0.012617027387022972,
0.007246576249599457,
-0.04609089344739914,
0.03129511699080467,
0.027412455528974533,
-0.019985811784863472,
0.05410224571824074,
-0.003491263370960951,
-0.02333247661590576,
-0.03775137662887573,
0.029149848967790604,
-0.003202173626050353,
-0.0007343064062297344,
-0.002409558044746518,
0.026360537856817245,
0.05271322280168533,
0.019773300737142563,
0.012332869693636894,
0.037779513746500015,
0.0030227391980588436,
0.03170037269592285,
0.01428717840462923,
-0.0013143542455509305,
-0.013983582146465778,
0.020237645134329796,
-0.06625916063785553,
-0.0027848565950989723,
0.006992467679083347,
0.05518034100532532,
-0.03493742644786835,
-0.02417737804353237,
-0.03265681117773056,
0.03649362176656723,
-0.04225766658782959,
-0.0031882403418421745,
-0.014106553979218006,
0.027852950617671013,
0.06385358422994614,
-0.018377266824245453,
0.022130602970719337,
-0.013157470151782036,
-0.00777703570201993,
-0.006853019818663597,
-0.013112383894622326,
-0.054282523691654205,
0.0011395341716706753,
-0.021780697628855705,
0.007611186243593693,
0.017933806404471397,
0.023483391851186752,
0.0017440906958654523,
0.0011191611411049962,
-0.00833201501518488,
-0.019155655056238174,
0.0015361374244093895,
0.037832293659448624,
0.0474526509642601,
0.0625315010547638,
-0.022348923608660698,
-0.012632802128791809,
-0.005525314714759588,
0.005195205099880695,
-0.00815015658736229,
0.014248291961848736,
-0.02326301671564579,
-0.0013728165067732334,
-0.029129991307854652,
-0.06346739083528519,
0.039649710059165955,
0.021923208609223366,
0.005493426229804754,
0.036157917231321335,
-0.008219175972044468,
-0.018581781536340714,
-0.006847325712442398,
0.026893770322203636,
0.083712138235569,
-0.05366296321153641,
-0.02397562563419342,
-0.010821860283613205,
-0.0021149434614926577,
-0.011801861226558685,
0.02777518704533577,
-0.05458473041653633,
-0.04072318971157074,
-0.006575173232704401,
0.02278922125697136,
-0.034022413194179535,
-0.03871205449104309,
-0.00092850107466802,
-0.012461893260478973,
-0.011547992937266827,
0.05005580931901932,
0.01517709530889988,
0.01550170499831438,
-0.008186898194253445,
-0.009626992978155613,
0.02260890230536461,
-0.008353488519787788,
-0.010739976540207863,
-0.02137547731399536,
-0.018236979842185974,
0.030410492792725563,
-0.03454579785466194,
0.011893682181835175,
0.02850869856774807,
0.0044401767663657665,
0.018546167761087418,
-0.06297150254249573,
0.039933424443006516,
-0.01637934520840645,
0.05210403725504875,
-0.01603136956691742,
-0.019329389557242393,
-0.012386539950966835,
-0.007781718857586384,
-0.04110376164317131,
0.006962087471038103,
-0.004925552289932966,
-0.006784349679946899,
-0.0014025176642462611,
0.0433628223836422,
-0.004088256508111954,
0.051182325929403305,
-0.022660737857222557,
-0.024968910962343216,
0.05122433975338936,
-0.03324791416525841,
-0.01912856101989746,
-0.025045843794941902,
-0.04232488200068474,
-0.0018023357260972261,
0.007474483456462622,
0.023022133857011795,
-0.05702769756317139,
0.07002377510070801,
0.041101571172475815,
0.040061112493276596,
0.054174549877643585,
-0.004421105608344078,
0.020664220675826073,
-0.03870755061507225,
-0.03147561103105545,
-0.07819484174251556,
-0.0008284688228741288,
0.06414113193750381,
0.03419987112283707,
0.009022867307066917,
0.006738785654306412,
-0.016991931945085526,
0.019370777532458305,
-0.05641886219382286,
-0.03919156640768051,
0.014187710359692574,
-0.029548894613981247,
0.031827934086322784,
0.021064674481749535,
-0.058801162987947464,
-0.0037651967722922564,
0.05276493355631828,
-0.014087509363889694,
-0.044560506939888,
-0.04189131781458855,
0.041435644030570984,
-0.04166213423013687,
0.028396671637892723,
-0.01512111071497202,
-0.03994246944785118,
0.0787355974316597,
0.018870409578084946,
0.048803675919771194,
0.03207465633749962,
-0.011586545035243034,
0.029900364577770233,
0.03474617376923561,
0.028080180287361145,
0.003785915207117796,
0.030599549412727356,
-0.039553266018629074,
-0.03458598628640175,
0.03767352178692818,
0.006533505395054817,
-0.0018227206310257316,
-0.04055361449718475,
0.06839499622583389,
0.0015627481043338776,
-0.05073102191090584,
-0.0450388640165329,
0.016933895647525787,
-0.02971462346613407,
-0.03080943040549755,
-0.018674898892641068,
0.011926349252462387,
-0.03633711487054825,
0.05710628256201744,
-0.00017083832062780857,
0.007142308633774519,
0.056979067623615265,
0.0022211074829101562,
-0.013264462351799011,
0.02644786424934864,
0.08342456072568893,
0.09547094255685806,
0.031216003000736237,
0.0035275497939437628,
0.0685127004981041,
-0.012524732388556004,
-0.036231569945812225,
-0.019351832568645477,
-0.031454138457775116,
-0.0042472118511796,
0.027426479384303093,
0.018856629729270935,
0.07088286429643631,
-0.030653810128569603,
0.06393391638994217,
-0.030846042558550835,
-0.028795775026082993,
0.0014721346087753773,
-0.026364851742982864,
0.03058585897088051,
0.07824722677469254,
0.001306559657678008,
0.047458939254283905,
-0.05343044176697731,
-0.03359070047736168,
0.005362126510590315,
-0.004646554589271545,
-0.009759519249200821,
0.016332173720002174,
-0.047761376947164536,
0.0033915124367922544,
0.013897835277020931,
0.034233998507261276,
0.09420450031757355,
-0.03745126351714134,
0.0053314040414988995,
-0.003559740725904703,
-0.0034319916740059853,
-0.007542334962636232,
0.010398379527032375,
-0.016680607572197914,
-0.015354585833847523,
-0.032809529453516006,
-0.04089530184864998,
-0.03642556443810463,
-0.03333815559744835,
-0.04535721242427826,
0.008052903227508068,
-0.01046382449567318,
-0.0036914078518748283,
-0.0029785691294819117,
-0.014305299147963524,
-0.03211424872279167,
-0.051468804478645325,
-0.05880193039774895,
-0.05336882919073105,
-0.09255993366241455,
-0.018770169466733932,
0.034060221165418625,
0.03259975090622902,
-0.029545918107032776,
0.012024632655084133,
-0.01791556552052498,
-0.03281500190496445,
0.05169481411576271,
-0.03966958075761795,
0.0065459636971354485,
0.003393088933080435,
0.024032091721892357,
0.02512122131884098,
0.016808994114398956,
0.052988313138484955,
-0.0015259197680279613,
0.014695849269628525,
-0.020033665001392365,
0.02234652452170849,
0.04861689731478691,
0.029892971739172935,
-0.0008105594897642732,
-0.06861092895269394,
-0.011484301649034023,
0.028333531692624092,
-0.03738913685083389,
-0.07927710562944412,
0.0008397752535529435,
0.03263062611222267,
0.02360234223306179,
0.04417119175195694,
-0.022165369242429733,
-0.014132368378341198,
-0.031156741082668304,
0.0056719593703746796,
0.004500964656472206,
0.0037259503733366728,
0.017687899991869926,
-0.025473041459918022,
0.08496608585119247,
0.025943690910935402,
-0.04624778777360916,
-0.035834942013025284,
-0.036519765853881836,
-0.003378218272700906,
0.01482300739735365,
-0.04638732597231865,
-0.023790111765265465,
-0.056800488382577896,
-0.08277339488267899,
-0.020014071837067604,
0.017435887828469276,
-0.024816248565912247,
-0.027152439579367638,
-0.006406855303794146,
0.025884557515382767,
-0.010878217406570911,
0.015879353508353233,
-0.05176261439919472,
0.045914437621831894,
-0.011190473102033138,
-0.010091766715049744,
-0.03560752794146538,
0.013495712541043758,
-0.002863463247194886,
0.034322772175073624,
0.0016998539213091135,
-0.06170976534485817,
-0.002477107336744666,
-0.04084081947803497,
-0.0031670602038502693,
0.016531405970454216,
0.009727764874696732,
0.02061331830918789
] | [
-0.06560750305652618,
-0.0028915000148117542,
-0.015237119048833847,
-0.020438503473997116,
0.08221901953220367,
-0.01224880013614893,
0.014704160392284393,
0.028491033241152763,
0.06392265111207962,
0.016189025714993477,
0.03976859524846077,
-0.05927833169698715,
-0.007086748722940683,
-0.000731892476323992,
0.042210210114717484,
-0.028057603165507317,
-0.04962848499417305,
-0.06947455555200577,
-0.03043369948863983,
0.03387688845396042,
-0.04205896705389023,
-0.02182288095355034,
-0.021707408130168915,
-0.040989309549331665,
0.04186943545937538,
0.02188853546977043,
0.028421591967344284,
-0.023610105738043785,
-0.0429144948720932,
-0.22480550408363342,
-0.0035599067341536283,
0.0027885467279702425,
0.025076083838939667,
-0.0057268221862614155,
0.011313640512526035,
0.019764764234423637,
0.01246409397572279,
-0.00865518394857645,
0.043757304549217224,
0.049219097942113876,
0.017074625939130783,
0.0323939211666584,
-0.06150097772479057,
-0.03186192363500595,
0.04726318269968033,
0.017207130789756775,
-0.018897293135523796,
0.0028963065706193447,
-0.0009322419064119458,
0.045108187943696976,
-0.01986781507730484,
-0.014357195235788822,
-0.011489304713904858,
0.0015879507409408689,
0.03194485977292061,
0.07160083204507828,
0.038350269198417664,
0.056945689022541046,
0.045490674674510956,
0.0714513286948204,
0.025744615122675896,
0.01712764985859394,
-0.1660085767507553,
0.04993698000907898,
-0.010201698169112206,
-0.0032144912984222174,
-0.059454627335071564,
-0.016411861404776573,
-0.016120143234729767,
0.07595325261354446,
0.008973815478384495,
-0.022831441834568977,
-0.024072930216789246,
0.03091244027018547,
0.009133323095738888,
0.02809608355164528,
-0.0101381940767169,
0.0027403756976127625,
0.03292688727378845,
-0.0007328100618906319,
-0.03146002069115639,
0.017017047852277756,
-0.04452844336628914,
-0.0352160781621933,
-0.03751227632164955,
0.03351251035928726,
-0.03341275453567505,
0.0439813993871212,
0.016168605536222458,
0.03160618990659714,
0.05117380991578102,
0.04728194698691368,
0.021526770666241646,
0.02034946344792843,
-0.09613420814275742,
-0.017934469506144524,
0.007911928929388523,
0.022807525470852852,
-0.014400072395801544,
0.4146273136138916,
0.025925004854798317,
0.00025252715568058193,
0.014821695163846016,
0.07116428762674332,
0.0007843413623049855,
-0.03717446327209473,
0.005986478179693222,
-0.059990640729665756,
0.030396554619073868,
-0.001968501368537545,
-0.02444692701101303,
-0.02792941778898239,
0.036130066961050034,
-0.06296680122613907,
-0.012314347550272942,
0.04048833250999451,
0.018543027341365814,
0.025135131552815437,
0.004914418328553438,
0.020957639440894127,
-0.0057103876024484634,
0.0015001771971583366,
0.02849019318819046,
0.004012230783700943,
-0.0008741724886931479,
0.06393725425004959,
0.019277630373835564,
0.06850239634513855,
0.012606970965862274,
0.031360287219285965,
0.04804912209510803,
-0.013841313309967518,
-0.08813858032226562,
0.0216701440513134,
-0.0011810496216639876,
-0.0037224451079964638,
0.031713079661130905,
-0.030542418360710144,
-0.0007220263942144811,
0.02873106300830841,
-0.021145887672901154,
-0.05366043746471405,
0.051952291280031204,
-0.009869012050330639,
-0.04238934442400932,
0.1396702527999878,
-0.00887975562363863,
-0.034951429814100266,
-0.0020558738615363836,
-0.04224076494574547,
-0.01847536675632,
0.03138335421681404,
0.014379501342773438,
-0.07031592726707458,
-0.04279628023505211,
0.017173809930682182,
0.06347481161355972,
-0.044008105993270874,
-0.08861915022134781,
-0.014770169742405415,
-0.04290671646595001,
-0.026764709502458572,
-0.032186929136514664,
0.05657809600234032,
0.032551538199186325,
-0.1055891141295433,
-0.009138975292444229,
-0.003378605004400015,
-0.010787124745547771,
-0.05756889283657074,
0.02381189540028572,
0.006439469289034605,
-0.06351398676633835,
-0.0028249078895896673,
0.06473362445831299,
0.013695525005459785,
-0.011653928086161613,
-0.04633420705795288,
0.05997476354241371,
-0.018640337511897087,
0.01615854725241661,
-0.007568797096610069,
-0.049962665885686874,
-0.0007379241287708282,
-0.06498336791992188,
-0.03614583611488342,
-0.07150302827358246,
0.017646970227360725,
-0.039507970213890076,
-0.04707154631614685,
-0.04245848208665848,
-0.027473624795675278,
-0.03800835460424423,
0.06302070617675781,
-0.035554200410842896,
0.0028347645420581102,
-0.015557521022856236,
-0.006907134782522917,
0.0034862637985497713,
-0.05107779800891876,
-0.020130669698119164,
0.004367355722934008,
0.020164623856544495,
0.014419390819966793,
-0.038787614554166794,
0.024059733375906944,
0.0584862120449543,
-0.03488284349441528,
0.0793689638376236,
0.019672363996505737,
-0.060311052948236465,
-0.04112903028726578,
-0.034212347120046616,
0.007207701914012432,
-0.012856177054345608,
0.01845606416463852,
-0.025799717754125595,
0.005048046819865704,
-0.004315617028623819,
0.048450980335474014,
-0.03348667547106743,
0.023932911455631256,
-0.015600014477968216,
-0.33686599135398865,
-0.023108504712581635,
-0.03354427218437195,
-0.010472159832715988,
0.018098881468176842,
-0.010597527958452702,
-0.0007430200930684805,
-0.03577262535691261,
0.0436350554227829,
0.04680387303233147,
0.0758705586194992,
0.02428901381790638,
-0.026377173140645027,
-0.06832772493362427,
-0.0000567535862501245,
0.009035000577569008,
-0.026123620569705963,
-0.010508829727768898,
-0.012241596356034279,
0.03001558594405651,
0.05287373438477516,
-0.03865384683012962,
-0.04015335440635681,
-0.04449308291077614,
-0.003593279980123043,
-0.0650346651673317,
0.12236852943897247,
0.039959270507097244,
0.027264177799224854,
-0.04872098192572594,
0.03900526836514473,
-0.006484822370111942,
-0.010622814297676086,
-0.04471462965011597,
0.02727215178310871,
-0.030635956674814224,
0.029520215466618538,
-0.02309420146048069,
-0.006976038217544556,
-0.04108876734972,
-0.029871221631765366,
-0.001185890636406839,
-0.04176833853125572,
-0.04076163098216057,
-0.05045131966471672,
0.04524150863289833,
-0.02659880369901657,
-0.018306661397218704,
-0.004976608790457249,
0.07860841602087021,
0.03553448244929314,
0.03212124481797218,
0.06466048210859299,
-0.01858983375132084,
0.0387604646384716,
-0.04114629700779915,
-0.08893875032663345,
-0.00034913173294626176,
-0.0025544632226228714,
0.031072350218892097,
-0.0050863418728113174,
0.003319563576951623,
0.04497646540403366,
-0.08877842873334885,
0.015892911702394485,
-0.002882314845919609,
0.028014009818434715,
-0.011960159055888653,
0.009805748239159584,
-0.026650818064808846,
-0.021763231605291367,
0.04675794392824173,
0.010283472947776318,
0.03852291405200958,
0.05556972697377205,
0.0334465354681015,
0.00577900605276227,
0.01469248253852129,
0.0332023911178112,
0.0198955237865448,
0.05935174599289894,
-0.059353817254304886,
0.07612466812133789,
-0.03390776365995407,
-0.0049501140601933,
0.035222288221120834,
0.016195455566048622,
-0.006527242250740528,
0.05302780494093895,
0.02734515629708767,
-0.03819828853011131,
-0.0027513294480741024,
-0.04096183180809021,
-0.01325865089893341,
0.050482068210840225,
-0.042467888444662094,
-0.24109183251857758,
0.03185135871171951,
0.04231935739517212,
0.03280942887067795,
0.042119916528463364,
-0.01288126315921545,
0.004951883107423782,
-0.01901811733841896,
-0.03037809208035469,
0.009913611225783825,
0.021022869274020195,
0.03927170857787132,
0.00039709045086055994,
0.000747667218092829,
-0.011962886899709702,
-0.014314630068838596,
0.010672076605260372,
-0.005352928768843412,
0.06268139183521271,
0.01995733566582203,
0.05640297755599022,
-0.014358953572809696,
0.18702182173728943,
0.023778239265084267,
0.039682790637016296,
0.06296712160110474,
-0.040679436177015305,
-0.03457409888505936,
0.021844957023859024,
-0.009858575649559498,
-0.0086481599137187,
0.03285922110080719,
0.02874283492565155,
0.07726237177848816,
-0.005806331522762775,
-0.017421847209334373,
-0.011222727596759796,
0.0830427035689354,
-0.000903982378076762,
-0.06631790101528168,
0.02003544755280018,
0.0225828904658556,
-0.021938730031251907,
0.03707553446292877,
0.07640914618968964,
-0.0071836500428617,
-0.010152788832783699,
-0.0108035858720541,
-0.08015121519565582,
-0.004021821543574333,
-0.04227587953209877,
-0.04871544614434242,
-0.014497162774205208,
-0.025967877358198166,
0.004200643859803677,
0.044140029698610306,
0.022440697997808456,
-0.034637849777936935,
0.03994186595082283,
-0.012140067294239998,
-0.02739296294748783,
-0.02540604956448078,
0.0635405033826828,
-0.03845547139644623,
0.012715338729321957
] | [
0.011786910705268383,
0.06272658705711365,
0.001166031346656382,
0.03444764018058777,
-0.0008321241475641727,
0.03187018632888794,
-0.008375369012355804,
0.023906107991933823,
-0.0052290721796453,
-0.007865389809012413,
-0.0463135689496994,
0.012648134492337704,
0.04760435223579407,
0.010460499674081802,
0.002706147264689207,
-0.014399921521544456,
-0.02221963368356228,
0.037262123078107834,
0.01123366504907608,
-0.01225320901721716,
-0.020395943894982338,
-0.002407013438642025,
0.009469958953559399,
-0.006224730983376503,
-0.017001338303089142,
0.00874362699687481,
-0.02751835249364376,
0.02719542756676674,
0.008453958667814732,
-0.10262078046798706,
-0.050747305154800415,
-0.028902310878038406,
0.018874701112508774,
0.04856538400053978,
-0.03542952612042427,
-0.026373205706477165,
-0.008145473897457123,
-0.0014216386480256915,
-0.0014688895316794515,
0.010246285237371922,
0.018375089392066002,
-0.008222914300858974,
-0.024391641840338707,
-0.015395821072161198,
0.010616549290716648,
0.003120486391708255,
-0.02463415265083313,
-0.013046886771917343,
-0.007963852025568485,
0.0133914640173316,
-0.06412583589553833,
-0.0018039597198367119,
-0.013283129781484604,
0.02679070457816124,
0.03002418763935566,
0.015433598309755325,
-0.04701216146349907,
-0.006422216072678566,
-0.010095556266605854,
-0.04814620688557625,
0.02499426156282425,
-0.024292221292853355,
-0.06734257191419601,
-0.023754442110657692,
-0.015727609395980835,
-0.018212899565696716,
-0.005248792003840208,
0.029902853071689606,
0.012279078364372253,
0.005198518745601177,
0.006319766864180565,
0.028370436280965805,
-0.03258032351732254,
-0.03799767047166824,
-0.021689921617507935,
0.030135462060570717,
0.011327077634632587,
-0.04964999109506607,
0.005313132423907518,
0.008828786201775074,
-0.02062012068927288,
0.017908941954374313,
-0.004487112630158663,
-0.020610742270946503,
-0.013228694908320904,
-0.03225424513220787,
0.00851418823003769,
0.008266305550932884,
0.01962486281991005,
0.003921459428966045,
-0.01887141540646553,
0.008478865027427673,
-0.007473348174244165,
0.017850099131464958,
-0.08738507330417633,
0.01662478782236576,
0.01747867278754711,
-0.027949711307883263,
0.016727415844798088,
0.8465407490730286,
0.032080166041851044,
0.0038940799422562122,
-0.0064290412701666355,
0.021539917215704918,
0.025425665080547333,
0.022873057052493095,
0.029663585126399994,
0.014234902337193489,
-0.007809414993971586,
-0.012890543788671494,
-0.011868080124258995,
0.03869885206222534,
-0.0011899067321792245,
0.04025191068649292,
-0.010340617969632149,
0.06157680228352547,
-0.01057372521609068,
0.026186008006334305,
-0.019485797733068466,
0.010420645587146282,
0.0008927712333388627,
0.025389084592461586,
-0.0023842572700232267,
0.031107736751437187,
0.003183318069204688,
-0.15325599908828735,
-0.026429446414113045,
-7.075120500026879e-33,
0.03175007179379463,
-0.006229573395103216,
0.058849968016147614,
0.008323661051690578,
-0.022818777710199356,
0.010006077587604523,
0.010662168264389038,
-0.03368281200528145,
-0.023822441697120667,
-0.04152897372841835,
-0.0028477066662162542,
0.02038847655057907,
-0.015418573282659054,
-0.01131677720695734,
0.038566142320632935,
-0.03183918073773384,
-0.008412348106503487,
0.012584419921040535,
0.00816581305116415,
0.022953081876039505,
0.022134708240628242,
0.015039396472275257,
-0.027471357956528664,
0.022516047582030296,
0.006801418960094452,
0.046788059175014496,
-0.019439609721302986,
-0.040737830102443695,
-0.01709309034049511,
-0.04345722869038582,
-0.0542883574962616,
0.0022727539762854576,
-0.014656693674623966,
-0.024917423725128174,
0.016123158857226372,
-0.04411952197551727,
-0.0040652877651154995,
-0.009181931614875793,
-0.032948415726423264,
-0.03550252690911293,
-0.044004764407873154,
-0.004571252968162298,
-0.010686798021197319,
-0.037956804037094116,
-0.051803939044475555,
-0.010273768566548824,
-0.004745823796838522,
0.02005012519657612,
-0.011789889074862003,
-0.00044985447311773896,
0.03325497359037399,
-0.010149230249226093,
0.017536813393235207,
-0.024747010320425034,
-0.012993783690035343,
0.026488905772566795,
0.009243013337254524,
0.008222956210374832,
-0.00998165924102068,
0.01284375973045826,
0.04548197612166405,
-0.02494838461279869,
-0.0031044797506183386,
0.046376485377550125,
0.017101120203733444,
0.027828272432088852,
0.009690307080745697,
0.001119027379900217,
-0.007273520343005657,
0.02536427229642868,
-0.0585382916033268,
0.04563936963677406,
-0.010420220904052258,
-0.02875569649040699,
0.05371654033660889,
-0.04260968789458275,
0.015734205022454262,
-0.007589741609990597,
-0.028065944090485573,
0.045736078172922134,
0.01227725762873888,
-0.002331753494217992,
-0.02394820749759674,
-0.04160889983177185,
-0.01512075774371624,
0.006762122735381126,
0.03982766345143318,
0.030506543815135956,
0.015421212650835514,
0.0021741013042628765,
0.053012359887361526,
0.027287617325782776,
-0.011992722749710083,
-0.0004370617098174989,
-0.04411756992340088,
6.982350485859984e-33,
-0.03166326507925987,
-0.006430535111576319,
-0.013175789266824722,
-0.020723940804600716,
0.04521690681576729,
-0.018567293882369995,
0.024239450693130493,
-0.000009196643986797426,
-0.02671900950372219,
0.027672186493873596,
-0.021702840924263,
-0.043193940073251724,
0.0015579169848933816,
0.01076231338083744,
0.03412560001015663,
-0.014017057605087757,
0.018887048587203026,
-0.01876535825431347,
0.0010482888901606202,
0.013373242691159248,
0.00921641755849123,
0.008254501037299633,
0.008542340248823166,
0.004798761568963528,
-0.01131831482052803,
0.032039836049079895,
0.022399865090847015,
0.00855671800673008,
-0.024146171286702156,
0.003908584825694561,
0.027542607858777046,
-0.04597777873277664,
-0.005871392786502838,
-0.03138168528676033,
-0.002061165403574705,
0.02562488429248333,
-0.016260268166661263,
-0.027357110753655434,
-0.0032849744893610477,
0.01853887178003788,
0.01822555623948574,
0.007342069875448942,
-0.015350805595517159,
0.06112435460090637,
0.02599775418639183,
0.015057067386806011,
0.0027552570682018995,
-0.025965148583054543,
0.02169676125049591,
0.015705563127994537,
0.01574004627764225,
-0.0039205169305205345,
-0.050640713423490524,
0.02953001856803894,
0.01062651164829731,
-0.04292696341872215,
-0.01342079695314169,
0.015483352355659008,
-0.0071649993769824505,
-0.01748683489859104,
-0.01848522014915943,
0.005154332611709833,
-0.04809841141104698,
0.02478128857910633,
0.004679195117205381,
0.02831379510462284,
-0.018997615203261375,
-0.000723083212506026,
-0.004611099138855934,
0.023875756189227104,
-0.01319566648453474,
0.0084233982488513,
0.012444455176591873,
0.046310123056173325,
-0.0013921484351158142,
0.00024424935691058636,
-0.027766108512878418,
0.02869345247745514,
-0.028208542615175247,
0.030198754742741585,
0.013161787763237953,
-0.0131734823808074,
0.011887048371136189,
0.020069366320967674,
-0.006216511595994234,
-0.0035604028962552547,
-0.00326326210051775,
0.03997676074504852,
-0.011673349887132645,
-0.01052734162658453,
0.041283853352069855,
-0.030777255073189735,
0.006195421796292067,
0.05672818422317505,
-0.010116846300661564,
-1.302630892041634e-8,
-0.042836420238018036,
0.016528485342860222,
-0.02138664200901985,
0.027661429718136787,
-0.00839135330170393,
0.029290953651070595,
0.012027998454868793,
-0.028085727244615555,
-0.000973187736235559,
-0.0018300649244338274,
0.027870353311300278,
-0.01524099987000227,
0.019620001316070557,
-0.012066029012203217,
0.010743245482444763,
-0.04008221626281738,
-0.02140013873577118,
-0.004932499956339598,
0.03434469923377037,
0.011135749518871307,
-0.023811979219317436,
0.03292405977845192,
-0.05201922357082367,
0.002943316474556923,
0.009196355007588863,
-0.007459757383912802,
0.006425818428397179,
-0.06938952207565308,
-0.004590970929712057,
-0.030248746275901794,
0.021396012976765633,
-0.0278411116451025,
0.005583674181252718,
0.03889336809515953,
-0.028044117614626884,
-0.03225478157401085,
0.02508045732975006,
0.014330501668155193,
0.019375598058104515,
0.029733503237366676,
-0.0256047286093235,
0.015270130708813667,
-0.03417208045721054,
-0.031144587323069572,
-0.010001284070312977,
0.0063092573545873165,
-0.030351990833878517,
-0.030159085988998413,
0.041306715458631516,
-0.05004405230283737,
-0.0019704571459442377,
-0.011472279205918312,
0.029729945585131645,
0.0166847575455904,
0.0354619100689888,
0.025229526683688164,
-0.005113392136991024,
-0.013550003990530968,
-0.023695049807429314,
-0.04425833374261856,
0.011047661304473877,
0.011682536453008652,
-0.033778704702854156,
0.003972149454057217
] | neo4j-2-0-0-optimising-a-football-query | https://markhneedham.com/blog/2014/01/31/neo4j-2-0-0-optimising-a-football-query |
false | 2014-01-24 10:30:41 | Neo4j HA: Election could not pick a winner | [
"neo4j"
] | [
"neo4j"
] | Recently I've been spending a reasonable chunk of my time helping people get up and running with their http://docs.neo4j.org/chunked/stable/ha-setup-tutorial.html[Neo4j High Availability cluster] and there's sometimes confusion around how it should be configured.
A Neo4j cluster typically consists of a master and two slaves and you'd usually have it configured so that any machine can be the master.
However, there is a http://docs.neo4j.org/chunked/stable/ha-configuration.html[configuration parameter] 'ha.slave_only' which can be set to 'true' to ensure that a machine will never be elected as master when an election takes place.
We might configure our machine with that setting if it's acting as a reporting instance but we need to make sure that 2 members don't have that setting otherwise we won't have any failover in the cluster.
For example, if we set two of the machines in the cluster to be slave only and then stop the master we'll see output similar to the following in +++<cite>+++data/graph.db/messages.log+++</cite>+++:
[source,text]
----
2014-01-23 11:17:24.510+0000 INFO [o.n.c.p.a.m.MultiPaxosContext$ElectionContextImpl]: Doing elections for role coordinator
2014-01-23 11:17:24.510+0000 DEBUG [o.n.c.p.e.ElectionState$2]: ElectionState: election-[performRoleElections]->election from:cluster://10.239.8.251:5001 conversation-id:3/13#
2014-01-23 11:17:24.513+0000 DEBUG [o.n.c.p.e.ElectionState$2]: ElectionState: election-[vote:coordinator]->election from:cluster://10.151.24.237:5001 conversation-id:3/13#
2014-01-23 11:17:24.515+0000 DEBUG [o.n.c.p.e.ElectionState$2]: ElectionState: election-[voted]->election from:cluster://10.138.29.197:5001 conversation-id:3/13#
2014-01-23 11:17:24.516+0000 DEBUG [o.n.c.p.e.ElectionState$2]: ElectionState: election-[voted]->election from:cluster://10.151.24.237:5001 conversation-id:3/13#
2014-01-23 11:17:24.519+0000 DEBUG [o.n.c.p.a.m.MultiPaxosContext$ElectionContextImpl$2]: Elections ended up with list []
2014-01-23 11:17:24.519+0000 WARN [o.n.c.p.e.ElectionState]: Election could not pick a winner
----
This message initially looks confusing but what it's telling us is that the cluster was unable to elect a new master, in this case because there were no machines that could be elected as master.
So if you see that message in your logs, check your config to make sure that there are actually machines to choose from. | null | null | [
0.007592799607664347,
-0.02861751616001129,
-0.02414724975824356,
0.04157107695937157,
0.08023642003536224,
-0.0009489020449109375,
0.02555992640554905,
0.022096319124102592,
0.022810200229287148,
-0.019947079941630363,
-0.017645573243498802,
-0.014671511016786098,
-0.07211761176586151,
0.020481297746300697,
-0.025130517780780792,
0.06788156926631927,
0.07606129348278046,
0.008980173617601395,
0.003354717744514346,
-0.037155747413635254,
0.042256250977516174,
0.05368807539343834,
0.01853327639400959,
0.02850903943181038,
0.023115817457437515,
0.02079395018517971,
0.021907802671194077,
-0.008307107724249363,
-0.03257284685969353,
-0.01697595790028572,
0.038268111646175385,
-0.0021712323650717735,
0.012636088766157627,
0.017670348286628723,
0.03151177242398262,
-0.011837213300168514,
-0.040025606751441956,
0.01053689606487751,
0.00138619146309793,
-0.011821961961686611,
-0.06057256832718849,
0.04332171007990837,
-0.011945756152272224,
0.02074798382818699,
-0.04151149094104767,
-0.005872019566595554,
-0.04749737307429314,
0.04547107219696045,
0.01772092841565609,
-0.009765655733644962,
-0.10466571897268295,
0.02806391566991806,
-0.0156511589884758,
0.03218661993741989,
-0.010683778673410416,
0.03026491217315197,
0.025967098772525787,
-0.05943144112825394,
0.044481310993433,
-0.029613064602017403,
-0.024595998227596283,
-0.027526045218110085,
-0.01797058805823326,
0.020671237260103226,
0.006576190236955881,
-0.04764336720108986,
0.023020809516310692,
0.06046079099178314,
-0.03916526958346367,
-0.013882498256862164,
-0.0073532238602638245,
0.01737540028989315,
0.015942567959427834,
-0.004114414099603891,
0.013968520797789097,
-0.04349963739514351,
0.01193531509488821,
0.04484020546078682,
0.024985259398818016,
0.047980595380067825,
-0.040536679327487946,
-0.0034147133119404316,
0.021294455975294113,
0.036214571446180344,
-0.0025914160069078207,
-0.05866556242108345,
-0.030268965288996696,
-0.019966719672083855,
-0.05413088575005531,
0.04788248986005783,
-0.0013996869092807174,
-0.04431013762950897,
0.004392491653561592,
0.009209176525473595,
-0.025058524683117867,
0.0014622827293351293,
0.018949134275317192,
0.00981028750538826,
0.02358401194214821,
-0.040248919278383255,
-0.02061048522591591,
-0.008974527940154076,
-0.02192503772675991,
0.010465377010405064,
-0.0954989343881607,
-0.0015524951741099358,
-0.04308014735579491,
-0.007588618900626898,
0.005245082080364227,
-0.016868673264980316,
-0.013101198710501194,
-0.014958824962377548,
-0.0012414894299581647,
0.003036217764019966,
-0.08435219526290894,
0.07572107762098312,
0.01624746434390545,
-0.021662790328264236,
0.011949796229600906,
0.004680190701037645,
0.04413401335477829,
0.07034699618816376,
-0.018309853971004486,
0.08471976965665817,
-0.025405775755643845,
0.029541071504354477,
0.013850409537553787,
0.05271844565868378,
-0.02827075868844986,
-0.07451292872428894,
-0.025626668706536293,
0.06416638195514679,
0.0035864519886672497,
0.022296976298093796,
-0.011866473592817783,
-0.023238522931933403,
-0.01721310243010521,
0.027720555663108826,
0.07059815526008606,
0.06047658994793892,
-0.01376129686832428,
-0.046375930309295654,
0.03431258723139763,
0.01621370203793049,
0.017726831138134003,
0.01525579858571291,
-0.0326228067278862,
-0.028043139725923538,
-0.02475491166114807,
0.0033014253713190556,
0.01789918914437294,
0.027093423530459404,
0.04501064494252205,
-0.02063584327697754,
0.01805231161415577,
0.09290756285190582,
0.0303219985216856,
0.009512939490377903,
-0.0041479612700641155,
0.02901998534798622,
0.03698340803384781,
0.034392617642879486,
0.006549520418047905,
0.04943238943815231,
-0.004941816441714764,
-0.01208583265542984,
-0.0043345121666789055,
0.058962393552064896,
0.017914608120918274,
0.00047384228673763573,
-0.04020011052489281,
-0.054937247186899185,
0.03893129527568817,
-0.04412756860256195,
-0.0002829678123816848,
0.0493687279522419,
0.07092759013175964,
0.013190066441893578,
0.02678585611283779,
-0.0014991292264312506,
-0.07274646311998367,
0.05879805609583855,
-0.0023494150955229998,
0.01737481728196144,
0.019443441182374954,
0.00971553660929203,
0.05478918179869652,
0.03486030176281929,
0.002777231391519308,
0.018935024738311768,
-0.09124808013439178,
-0.07470735162496567,
0.006833991967141628,
-0.004656663630157709,
0.05165286362171173,
-0.0012985100038349628,
0.01305380742996931,
0.05614781752228737,
0.037819210439920425,
0.02065141685307026,
0.01957680843770504,
-0.009267151355743408,
0.02273055724799633,
-0.040912799537181854,
-0.06803470849990845,
0.06269799917936325,
0.014397510327398777,
-0.05327940732240677,
-0.04162527248263359,
-0.008451031520962715,
-0.02965676225721836,
0.011717484332621098,
0.02484140731394291,
-0.021364176645874977,
0.049335043877363205,
0.021902164444327354,
0.03364350274205208,
-0.021523214876651764,
0.025497501716017723,
-0.018643328920006752,
0.06590715795755386,
0.008352226577699184,
-0.01881054788827896,
0.03247157111763954,
-0.002355240983888507,
0.10933222621679306,
0.05826600641012192,
-0.010678200982511044,
-0.0598851777613163,
0.06961384415626526,
0.011787662282586098,
-0.03525039553642273,
0.006124687381088734,
-0.02143130451440811,
-0.011427515186369419,
0.00779031403362751,
-0.05902078002691269,
-0.034563228487968445,
0.01871281862258911,
-0.038513608276844025,
0.018005138263106346,
0.06314786523580551,
-0.029696281999349594,
0.059713393449783325,
0.01631736382842064,
-0.0007299536373466253,
0.005209094844758511,
-0.022650115191936493,
-0.0449163094162941,
0.024401862174272537,
0.006641276180744171,
-0.01983109675347805,
0.06772002577781677,
-0.027163896709680557,
-0.0008649770170450211,
-0.02724509872496128,
-0.027860308066010475,
0.03736580163240433,
0.031139791011810303,
0.05039602518081665,
-0.017218785360455513,
0.050088878720998764,
-0.05931234732270241,
0.0029406575486063957,
-0.003055652603507042,
-0.04321705922484398,
-0.029420040547847748,
-0.03256242722272873,
0.008066091686487198,
-0.02980136126279831,
0.023383766412734985,
-0.04726307839155197,
0.04398459568619728,
-0.01097257249057293,
0.0363549068570137,
-0.0211752001196146,
0.042331572622060776,
-0.000052748946473002434,
0.000712877546902746,
-0.03348326310515404,
-0.024897877126932144,
0.0635162740945816,
-0.05324921756982803,
-0.0289949718862772,
-0.00888286903500557,
-0.05800054222345352,
0.057340413331985474,
-0.07782646268606186,
-0.026322342455387115,
0.0042420304380357265,
0.021892210468649864,
0.04573439061641693,
0.03621925041079521,
-0.003150981618091464,
0.05874018743634224,
0.037173379212617874,
0.02864018827676773,
0.017288057133555412,
-0.008717790246009827,
0.051529232412576675,
-0.027757851406931877,
0.029125208035111427,
0.017444783821702003,
-0.03832581639289856,
-0.0026100706309080124,
-0.042911347001791,
0.014306003227829933,
-0.02106138877570629,
-0.2818340063095093,
0.03176497668027878,
-0.023542257025837898,
-0.045498572289943695,
0.017272520810365677,
-0.0256204791367054,
-0.00019266277377028018,
-0.016015395522117615,
-0.016960645094513893,
0.005034606903791428,
-0.010970273986458778,
-0.04646754264831543,
-0.014141030609607697,
0.02387942560017109,
0.008910318836569786,
0.0138034513220191,
-0.017960254102945328,
-0.05004386603832245,
0.009672372601926327,
0.010219286195933819,
-0.026344390586018562,
-0.03840728476643562,
0.004356950055807829,
0.006712119095027447,
0.025882797315716743,
0.05350000411272049,
-0.07741571962833405,
0.03974566608667374,
-0.03378729894757271,
-0.027932122349739075,
-0.014233766123652458,
-0.017224527895450592,
0.01487705484032631,
0.006914951838552952,
-0.0018845635931938887,
-0.025482501834630966,
0.04952215030789375,
0.018822839483618736,
-0.0009393910295329988,
0.0240748543292284,
-0.0337454229593277,
-0.057180680334568024,
-0.009018296375870705,
-0.009046883322298527,
0.07787615060806274,
0.016858413815498352,
-0.08275917917490005,
-0.012832775712013245,
-0.04354526475071907,
0.0699915960431099,
-0.025924699380993843,
-0.018322402611374855,
-0.0005262740887701511,
0.04111132398247719,
-0.014687811024487019,
-0.003007748629897833,
-0.027956245467066765,
0.03883364051580429,
-0.04650788754224777,
-0.0280134417116642,
-0.03325759246945381,
-0.06533098220825195,
0.010435549542307854,
-0.07337258011102676,
-0.01701309345662594,
-0.034374017268419266,
-0.07398416846990585,
-0.010720539838075638,
0.054975707083940506,
0.011881137266755104,
-0.01667284406721592,
0.02536541223526001,
-0.01670713536441326,
-0.09411696344614029,
-0.02955107018351555,
-0.04192294925451279,
-0.013059350661933422,
0.0033044947776943445,
-0.010275237262248993,
0.06933824717998505,
-0.04580496624112129,
-0.04565780609846115,
0.007264261599630117,
-0.0006684704567305744,
0.02358270063996315,
-0.015634139999747276,
0.04176267609000206,
-0.014130407944321632,
-0.02111135609447956,
0.014909285120666027,
0.059116218239068985,
-0.02036602422595024,
-0.04318597912788391,
-0.01758800633251667,
0.01180358324199915,
0.022687407210469246,
-0.01326310820877552,
0.0028196843340992928,
-0.0009531410760246217,
0.05120810121297836,
0.02949252724647522,
-0.04025480896234512,
0.01695404388010502,
-0.030069919303059578,
-0.017349129542708397,
0.013580401428043842,
-0.061189595609903336,
0.024088095873594284,
0.03446880728006363,
0.046786077320575714,
0.005074490327388048,
-0.021314280107617378,
0.03599974140524864,
-0.055955398827791214,
-0.0035766116343438625,
-0.012675849720835686,
0.0072861299850046635,
0.02732904627919197,
0.03659922257065773,
-0.018072480335831642,
-0.06907408684492111,
0.03617151826620102,
0.035454340279102325,
-0.01566091738641262,
-0.06906245648860931,
-0.017356587573885918,
-0.014217063784599304,
-0.021229373291134834,
0.03437744453549385,
-0.004824002273380756,
-0.01664215698838234,
0.024565426632761955,
0.0370626337826252,
-0.030284462496638298,
0.030536916106939316,
-0.010730649344623089,
-0.0384303480386734,
-0.029667051509022713,
0.005685088690370321,
-0.003901815041899681,
-0.04107864573597908,
-0.014020990580320358,
-0.002611863659694791,
0.027422407642006874,
0.04671350494027138,
0.011341055855154991,
0.012044408358633518,
0.00042622347245924175,
0.033659931272268295,
-0.007759051397442818,
-0.004771523643285036,
-0.0394146703183651,
-0.01394944079220295,
-0.029714027419686317,
-0.03197886794805527,
-0.026448218151926994,
0.05441569536924362,
-0.024974972009658813,
-0.02561667375266552,
-0.021347656846046448,
-0.014399171806871891,
-0.06636189669370651,
-0.0096224844455719,
-0.004095270298421383,
0.02514529787003994,
0.06513500213623047,
-0.024106282740831375,
0.031027192249894142,
-0.024132471531629562,
-0.006802595220506191,
0.026313908398151398,
0.005207869689911604,
-0.04238591715693474,
0.006917595397680998,
0.008224454708397388,
-0.012818788178265095,
0.010399100370705128,
0.05205154046416283,
0.03738418594002724,
0.02690684050321579,
-0.007914811372756958,
-0.002724006772041321,
0.023780526593327522,
-0.019215287640690804,
0.0517999641597271,
0.011532160453498363,
-0.025190507993102074,
-0.00029386597452685237,
-0.008429826237261295,
-0.007890629582107067,
-0.012422475963830948,
0.013572155497968197,
-0.03292606398463249,
0.01458335667848587,
-0.021677512675523758,
-0.06281683593988419,
0.033343639224767685,
-0.02953869290649891,
0.003442135639488697,
0.021769750863313675,
0.006890862714499235,
-0.008816562592983246,
-0.022480323910713196,
0.04148560389876366,
0.05029037222266197,
-0.042467664927244186,
-0.010638082399964333,
0.006918983533978462,
0.0034418939612805843,
0.002808382036164403,
0.0017993225483223796,
-0.05588223412632942,
-0.0046661426313221455,
-0.00828112754970789,
0.03154795989394188,
-0.0697244331240654,
-0.07674294710159302,
-0.012767985463142395,
-0.011218469589948654,
-0.01101246289908886,
0.028816448524594307,
0.004505339544266462,
0.013574005104601383,
-0.010785376653075218,
-0.023518234491348267,
0.023658469319343567,
-0.013913401402533054,
-0.024387899786233902,
0.016224876046180725,
-0.00082109693903476,
-0.014484614133834839,
-0.017544511705636978,
0.02973073348402977,
0.01472532656043768,
-0.011885521002113819,
-0.0067616780288517475,
-0.04286480322480202,
0.02548195980489254,
-0.023597151041030884,
0.03844665735960007,
-0.0058339363895356655,
0.011500935070216656,
-0.03106803447008133,
0.003190256655216217,
-0.03388245776295662,
0.0027394338976591825,
-0.011244382709264755,
0.006626782938838005,
0.032195620238780975,
0.027093183249235153,
0.012528897263109684,
0.036853887140750885,
-0.0065272473730146885,
-0.030650578439235687,
0.07176236063241959,
-0.03473925217986107,
-0.020525207743048668,
-0.002987718442454934,
-0.06112690642476082,
0.0026234856341034174,
0.0023742804769426584,
-0.014930041506886482,
-0.04747204855084419,
0.019365739077329636,
0.030704328790307045,
0.017063328996300697,
0.010649194940924644,
-0.028889773413538933,
0.03549548611044884,
-0.05055388808250427,
-0.007760903798043728,
-0.08857966214418411,
0.002264381153509021,
0.007896380499005318,
0.01449102908372879,
0.015000587329268456,
0.00527100870385766,
-0.018473835662007332,
-0.008451187051832676,
-0.03732473775744438,
-0.02798422798514366,
0.05374647304415703,
-0.028865113854408264,
0.004133004229515791,
0.02770365960896015,
-0.06790313124656677,
0.00833356473594904,
0.0219867080450058,
-0.04675864055752754,
-0.03228379786014557,
-0.013349230401217937,
0.054731644690036774,
0.0018130479147657752,
0.027706559747457504,
-0.04691724106669426,
-0.03064858913421631,
0.06709721684455872,
0.04531221464276314,
0.03070095367729664,
0.060226164758205414,
-0.03498958796262741,
0.04363810271024704,
0.020545929670333862,
0.011622317135334015,
-0.024980004876852036,
0.013415539637207985,
-0.040471844375133514,
-0.04453523829579353,
0.03739033639431,
0.00712991738691926,
0.005000144708901644,
-0.04415968805551529,
0.06333105266094208,
0.008435158990323544,
-0.044127192348241806,
-0.05633809044957161,
0.05235545337200165,
-0.024113336578011513,
-0.02211996726691723,
-0.06429018080234528,
0.021834181621670723,
-0.032399844378232956,
0.04723091050982475,
-0.013057253323495388,
0.022673988714814186,
0.09214223176240921,
-0.031001251190900803,
-0.0026755803264677525,
0.040456607937812805,
0.08796890825033188,
0.09134744107723236,
0.05150285363197327,
-0.002679994562640786,
0.07859864830970764,
-0.005939880385994911,
-0.04249515011906624,
-0.020561758428812027,
-0.01798219420015812,
-0.015923138707876205,
0.014678443782031536,
-0.007311819586902857,
0.07256615161895752,
-0.030907202512025833,
0.0795174241065979,
-0.026630688458681107,
-0.001293871784582734,
-0.009835135191679,
0.010943190194666386,
0.04557402804493904,
0.043061792850494385,
0.017887236550450325,
0.02672405168414116,
-0.02339644357562065,
-0.007830744609236717,
0.01844095066189766,
-0.002460924442857504,
-0.030025672167539597,
0.031751468777656555,
-0.015020426362752914,
0.009751719422638416,
0.030577030032873154,
0.026291947811841965,
0.07316646724939346,
0.010135289281606674,
0.012077500112354755,
0.014803593046963215,
-0.0026655897963792086,
-0.030479993671178818,
0.0031146686524152756,
-0.018742548301815987,
-0.01277389656752348,
-0.029772255569696426,
-0.02481340616941452,
-0.03659351170063019,
-0.02637852169573307,
-0.027284029871225357,
0.015946563333272934,
-0.021424461156129837,
0.01201603002846241,
-0.00928590539842844,
-0.01003858633339405,
-0.031787849962711334,
-0.016829565167427063,
-0.048254549503326416,
-0.052384357899427414,
-0.05338209494948387,
0.024951821193099022,
0.003766600973904133,
0.034578703343868256,
-0.012706088833510876,
-0.011306245811283588,
-0.020272189751267433,
-0.02678145095705986,
0.045771196484565735,
-0.05601191893219948,
-0.002522493712604046,
-0.0032078151125460863,
0.01686345972120762,
0.02115047536790371,
0.03430185094475746,
0.056634530425071716,
0.005825928878039122,
-0.008020385168492794,
-0.0260990709066391,
0.014858155511319637,
0.022073982283473015,
0.009178305976092815,
-0.006454345304518938,
-0.07866442203521729,
-0.00935432780534029,
0.020768731832504272,
-0.0021812014747411013,
-0.07254853844642639,
0.017709894105792046,
0.06492089480161667,
0.009729567915201187,
0.03904162347316742,
-0.025210775434970856,
-0.01570194400846958,
-0.017628315836191177,
0.0019018511520698667,
-0.027417507022619247,
0.0031694702338427305,
0.045675862580537796,
0.0037125847302377224,
0.08757974207401276,
0.05429025739431381,
-0.0387992188334465,
-0.029883895069360733,
0.006291939411312342,
-0.015748053789138794,
0.014109380543231964,
-0.035614725202322006,
-0.035868771374225616,
-0.044180452823638916,
-0.09041167795658112,
-0.05580483749508858,
0.007828749716281891,
-0.021147308871150017,
-0.03047822043299675,
-0.002038173843175173,
0.0034412608947604895,
-0.054742734879255295,
0.01939687691628933,
-0.02894025854766369,
0.008501477539539337,
-0.039987996220588684,
-0.0327431820333004,
0.0016561627853661776,
-0.0021744724363088608,
-0.02527834288775921,
0.001031072111800313,
0.03692071884870529,
-0.0527900829911232,
-0.009233379736542702,
-0.01060433965176344,
0.03168521448969841,
0.029948735609650612,
0.011076747439801693,
0.008477611467242241
] | [
-0.07819631695747375,
-0.010152295231819153,
-0.0458691380918026,
-0.021273398771882057,
0.05530496686697006,
-0.011876874603331089,
-0.016741985455155373,
0.0043047755025327206,
0.014598098583519459,
-0.01048528216779232,
0.029092304408550262,
-0.025884367525577545,
-0.007791512180119753,
-0.016356879845261574,
0.07909981906414032,
-0.004619569983333349,
-0.036396145820617676,
-0.03178402781486511,
-0.0047169215977191925,
0.06897138804197311,
0.0004913920420221984,
-0.05623459815979004,
-0.04470813646912575,
-0.015355013310909271,
-0.006047317758202553,
0.02480762079358101,
0.05954365059733391,
-0.005207863170653582,
-0.026727566495537758,
-0.23088976740837097,
0.021463705226778984,
-0.007384194526821375,
0.001954790437594056,
0.0023524484131485224,
0.039848726242780685,
0.028921736404299736,
0.037345752120018005,
-0.0024698772467672825,
-0.002296956954523921,
0.03639405593276024,
0.01572134532034397,
0.011097542010247707,
-0.059899818152189255,
-0.020698217675089836,
0.056137409061193466,
-0.0017889130394905806,
-0.029169639572501183,
-0.01247935276478529,
-0.04431237652897835,
-0.010119609534740448,
-0.011242863722145557,
0.019615748897194862,
0.003014772431924939,
0.0043098460882902145,
0.03224347531795502,
0.044208548963069916,
0.05803525820374489,
0.0578296072781086,
-0.0016867227386683226,
0.015506405383348465,
0.015295762568712234,
0.03218396008014679,
-0.1517578810453415,
0.05156145989894867,
0.031936466693878174,
0.024000955745577812,
-0.03928110748529434,
-0.039399243891239166,
-0.03454471752047539,
0.07456032186746597,
0.034428831189870834,
-0.005271404515951872,
-0.05281515046954155,
0.039231400936841965,
-0.013924947939813137,
0.03104952909052372,
-0.004683297127485275,
0.0335242785513401,
0.04534877464175224,
-0.02210787497460842,
-0.047308750450611115,
0.010712197050452232,
-0.04105290398001671,
0.003430696204304695,
-0.04157589003443718,
0.022161440923810005,
-0.012772577814757824,
0.04036945104598999,
-0.03536112606525421,
0.035646952688694,
0.01980697177350521,
0.04181932657957077,
0.07701542973518372,
0.03232893347740173,
-0.07986172288656235,
0.006805672310292721,
-0.015620430000126362,
0.007234896998852491,
-0.003553063841536641,
0.44066721200942993,
-0.0007543371175415814,
-0.022135643288493156,
0.03518346697092056,
0.04162071645259857,
0.0023911911994218826,
0.010722926817834377,
-0.013735194690525532,
-0.041559357196092606,
0.01452444028109312,
-0.011438763700425625,
0.03210030496120453,
-0.027002688497304916,
0.03974207863211632,
-0.08990573137998581,
0.027920274063944817,
0.014210965484380722,
0.024117879569530487,
0.026516305282711983,
-0.042691148817539215,
0.012079853564500809,
-0.010095486417412758,
0.03279887139797211,
0.053296301513910294,
0.016721677035093307,
0.05755828693509102,
-0.008402307517826557,
0.0303592998534441,
0.055472925305366516,
0.03854712098836899,
-0.007025918457657099,
0.011452182196080685,
-0.0010297668632119894,
-0.05422944948077202,
0.02368839830160141,
0.018901284784078598,
-0.01163095235824585,
0.025968503206968307,
-0.035370707511901855,
-0.013498157262802124,
0.03085547499358654,
-0.03640155494213104,
-0.01776198297739029,
0.0194095429033041,
-0.02614304982125759,
-0.02443544752895832,
0.11176817119121552,
-0.0032818748150020838,
-0.011147208511829376,
-0.030406629666686058,
-0.032566893845796585,
-0.008719852194190025,
0.025321027263998985,
-0.00870522577315569,
-0.08533808588981628,
-0.011584722436964512,
0.016597721725702286,
0.04500659927725792,
-0.009594125673174858,
-0.07343924045562744,
-0.03134865686297417,
0.012513495981693268,
-0.020551245659589767,
-0.028923003003001213,
0.07119181007146835,
0.0544460229575634,
-0.11053347587585449,
-0.03633252531290054,
0.027368798851966858,
0.02861449308693409,
-0.05562251806259155,
-0.0033677914179861546,
0.003502878360450268,
-0.03687545284628868,
-0.024626320227980614,
0.0637621283531189,
-0.03388696536421776,
-0.018964633345603943,
-0.00264350906945765,
-0.0030096203554421663,
0.010775413364171982,
-0.010199176147580147,
0.017903557047247887,
-0.04096471145749092,
-0.009890403598546982,
-0.05328865349292755,
-0.05219784006476402,
-0.10058293491601944,
0.015002267435193062,
-0.03538207337260246,
-0.039431747049093246,
-0.07041403651237488,
0.013883652165532112,
-0.07202872633934021,
0.09150594472885132,
-0.019011162221431732,
-0.05984915420413017,
-0.004624818917363882,
0.013654003851115704,
-0.020634910091757774,
-0.03218087553977966,
-0.015611611306667328,
0.07701539993286133,
-0.05118601396679878,
0.03452210873365402,
-0.06031348928809166,
0.021542081609368324,
0.03600073233246803,
-0.016045473515987396,
0.06690390408039093,
0.0361282117664814,
-0.02679450437426567,
0.007177662570029497,
-0.015289110131561756,
0.01908051036298275,
-0.015718065202236176,
0.00470420578494668,
-0.010808504186570644,
-0.007653208915144205,
0.02275349199771881,
0.02388443797826767,
0.013729266822338104,
0.032481204718351364,
-0.01964116096496582,
-0.35862258076667786,
-0.06576760858297348,
-0.04754558950662613,
-0.001715776277706027,
-0.003993257414549589,
-0.03149431571364403,
0.053033214062452316,
-0.028879163786768913,
-0.01266859844326973,
0.015750080347061157,
0.0639033317565918,
-0.01777588203549385,
-0.008665495552122593,
-0.040405869483947754,
-0.004313925746828318,
0.06345435231924057,
-0.018764548003673553,
-0.004371416289359331,
-0.04580933228135109,
0.021691342815756798,
0.02624361589550972,
-0.030699672177433968,
-0.016330456361174583,
-0.042951978743076324,
0.00003116542211500928,
0.006770599167793989,
0.09600166976451874,
-0.011883978731930256,
0.052185773849487305,
-0.023320112377405167,
0.04562677815556526,
0.0034920773468911648,
-0.025850946083664894,
-0.09183880686759949,
0.02523823082447052,
0.014629471115767956,
-0.008447428233921528,
-0.0012624593218788505,
0.01828663982450962,
0.0010777649004012346,
-0.054126348346471786,
0.00467319693416357,
-0.08936301618814468,
-0.05744779855012894,
-0.004293281584978104,
0.012293310835957527,
-0.014818629249930382,
0.022132633253932,
-0.012778615579009056,
0.02969512902200222,
0.022882170975208282,
-0.0007128278375603259,
-0.01770598255097866,
0.040477052330970764,
0.025037869811058044,
-0.023332107812166214,
-0.07624989002943039,
-0.011266345158219337,
0.026545502245426178,
0.025273965671658516,
0.03540417551994324,
0.05323512479662895,
-0.0013515496393665671,
-0.06760158389806747,
0.032037489116191864,
-0.008857320994138718,
-0.02496469020843506,
0.010459461249411106,
0.047886501997709274,
-0.06295104324817657,
-0.018746694549918175,
0.08862925320863724,
0.003514064708724618,
0.03149336203932762,
0.04058608040213585,
0.010700319893658161,
-0.03831479325890541,
0.002132752677425742,
0.014708424918353558,
0.007195529527962208,
0.048146188259124756,
-0.0423598475754261,
0.051811981946229935,
-0.0037560053169727325,
-0.00884308572858572,
0.06192447245121002,
-0.003440949833020568,
-0.011540142819285393,
0.06924811750650406,
0.022742634639143944,
-0.027783595025539398,
0.006073297001421452,
-0.029264630749821663,
-0.045278068631887436,
0.03384174406528473,
-0.033348795026540756,
-0.25955453515052795,
0.04100106656551361,
0.03200473636388779,
0.07076244801282883,
-0.0008295123116113245,
-0.012895960360765457,
0.01585685834288597,
-0.024401625618338585,
-0.014192627742886543,
0.030529571697115898,
0.04035463556647301,
0.09721768647432327,
-0.01614496484398842,
-0.01061938889324665,
0.0034081677440553904,
0.004651140887290239,
0.01586206629872322,
0.0014601980801671743,
-0.007800493389368057,
-0.03800357133150101,
0.030507978051900864,
-0.031658247113227844,
0.1510264128446579,
0.009890671819448471,
0.008505339734256268,
0.04012233763933182,
-0.0045259129256010056,
0.0482238307595253,
0.02514801174402237,
-0.014757482334971428,
-0.010553753934800625,
0.009293248876929283,
0.01898321881890297,
0.01442185789346695,
0.03785955160856247,
-0.06257569044828415,
-0.0015423763543367386,
0.01975477859377861,
0.04557574912905693,
-0.0023281157482415438,
-0.021800030022859573,
0.034740954637527466,
-0.02338210679590702,
0.023947088047862053,
0.06414716690778732,
-0.036294519901275635,
-0.009418254718184471,
-0.008547745645046234,
-0.0456712506711483,
0.014381523244082928,
-0.0515553243458271,
-0.058674126863479614,
-0.007187843322753906,
-0.001628750585950911,
0.002340668812394142,
0.08481723070144653,
0.016142340376973152,
-0.04409756138920784,
0.026305723935365677,
0.01881139725446701,
0.005864069797098637,
-0.029269849881529808,
0.10477506369352341,
-0.010871517471969128,
0.0008491469197906554
] | [
0.016716206446290016,
0.03816548362374306,
-0.01335644070059061,
0.058557018637657166,
0.01987093687057495,
0.02162996679544449,
-0.03298880532383919,
-0.01480241771787405,
-0.03435242176055908,
-0.0030904337763786316,
-0.029570147395133972,
0.01692291349172592,
0.06840357184410095,
-0.022792259231209755,
0.004375760443508625,
0.0259614996612072,
0.026942791417241096,
0.019365498796105385,
0.03265317156910896,
-0.012118831276893616,
-0.005657499190419912,
-0.00629465701058507,
0.014633866026997566,
-0.0029182794969528913,
-0.014828613959252834,
0.006099233403801918,
-0.03831105679273605,
-0.009835383854806423,
0.006601547356694937,
-0.11920779943466187,
-0.028254948556423187,
-0.04426107183098793,
-0.0062138717621564865,
0.01811983808875084,
0.018281351774930954,
0.013847162947058678,
0.04730089008808136,
0.008302658796310425,
-0.03048567660152912,
0.012978406623005867,
0.06869418919086456,
0.013410661369562149,
-0.018488813191652298,
-0.021975528448820114,
-0.005465770605951548,
-0.015263251960277557,
-0.05360312759876251,
-0.002840030239894986,
0.007352097891271114,
-0.028047187253832817,
-0.021943600848317146,
0.020678166300058365,
0.025456810370087624,
0.02721765823662281,
0.008161742240190506,
0.023845689371228218,
-0.010727526620030403,
-0.008870560675859451,
0.0152213079854846,
-0.010069327428936958,
0.042413130402565,
0.012574516236782074,
-0.048721253871917725,
-0.03249651938676834,
-0.040858473628759384,
0.003279242431744933,
0.020596425980329514,
0.008900707587599754,
-0.0241698045283556,
0.015353052876889706,
-0.004256927873939276,
0.042332813143730164,
-0.04968106001615524,
-0.021959107369184494,
-0.008129001595079899,
0.017045168206095695,
0.06027904897928238,
-0.02448827587068081,
-0.0008821156807243824,
0.04529789835214615,
-0.042692918330430984,
0.032476600259542465,
-0.007717398460954428,
0.015651211142539978,
-0.0310530886054039,
-0.014362115412950516,
-0.02124711312353611,
-0.05019726976752281,
0.015144391916692257,
0.00033325509866699576,
-0.04592389985918999,
0.029520947486162186,
-0.016893330961465836,
-0.017257381230592728,
-0.07405036687850952,
-0.01710740476846695,
0.01227562502026558,
0.011874653398990631,
0.04729947820305824,
0.8110147714614868,
0.0090146753937006,
-0.00744764506816864,
-0.00574229983612895,
-0.021575255319476128,
-0.012555629014968872,
-0.0049429344944655895,
-0.009873657487332821,
-0.009714777581393719,
-0.00947530660778284,
0.011871157214045525,
-0.022767946124076843,
0.02285262756049633,
0.035113949328660965,
0.049797333776950836,
0.029195323586463928,
0.048763878643512726,
0.012957028113305569,
-0.010326451621949673,
-0.03347928449511528,
0.030062206089496613,
0.008079693652689457,
0.0002980466524604708,
0.029401184991002083,
-0.010391068644821644,
0.04059017449617386,
-0.17584680020809174,
-0.018962625414133072,
-7.416930747358984e-33,
0.031281594187021255,
-0.048346299678087234,
0.05549154430627823,
0.01601887308061123,
0.03024468943476677,
0.02457851730287075,
-0.018518002703785896,
-0.06091635301709175,
-0.028682280331850052,
-0.02506641298532486,
0.012229062616825104,
-0.02186569757759571,
0.015701232478022575,
-0.01924831233918667,
0.010644793510437012,
-0.03941897302865982,
0.03608895465731621,
0.02400507777929306,
-0.0016376515850424767,
-0.007146998308598995,
-0.01745591126382351,
0.06695549935102463,
-0.025404460728168488,
0.036011356860399246,
0.023992490023374557,
0.039045605808496475,
0.010035675950348377,
-0.01352041494101286,
0.00021937026758678257,
-0.027853522449731827,
-0.06367717683315277,
-0.0018696142360568047,
-0.005761550273746252,
-0.03388233482837677,
-0.04048387333750725,
-0.050541091710329056,
-0.034068670123815536,
-0.008796300739049911,
-0.04046078026294708,
-0.07240616530179977,
-0.03617582470178604,
0.01680910959839821,
0.0032262669410556555,
-0.05122034624218941,
-0.034238703548908234,
-0.007036140188574791,
0.025626597926020622,
0.002510542282834649,
0.01359548419713974,
0.01280222088098526,
-0.021653179079294205,
-0.007171556353569031,
0.023124702274799347,
0.005068955477327108,
-0.02916102483868599,
-0.00750928046181798,
0.015908092260360718,
0.014072107151150703,
0.016154086217284203,
0.00423226086422801,
0.01487763598561287,
-0.0423368364572525,
-0.04098287597298622,
0.02302967570722103,
0.032197143882513046,
0.0047656274400651455,
0.0020919707603752613,
-0.0005602407618425786,
0.034566834568977356,
0.02985151670873165,
-0.029806841164827347,
0.005031175911426544,
-0.024607772007584572,
-0.002338600577786565,
0.010864167474210262,
-0.05586390942335129,
-0.010110507719218731,
-0.01231306605041027,
-0.013456693850457668,
0.04414595291018486,
-0.012650338932871819,
-0.023950358852744102,
-0.01127321831882,
-0.02345583215355873,
-0.009801103733479977,
-0.028111761435866356,
0.0347275510430336,
0.009882881306111813,
0.014300674200057983,
0.0478627011179924,
0.005315424408763647,
0.006525118835270405,
-0.009010164067149162,
-0.030561627820134163,
-0.05240536853671074,
6.87757279689944e-33,
-0.01366398949176073,
-0.03568189963698387,
-0.020931584760546684,
0.008051598444581032,
0.04048549756407738,
0.03586480766534805,
-0.013977103866636753,
0.004960135091096163,
-0.04946887493133545,
0.030558377504348755,
-0.007858970202505589,
-0.010196981020271778,
-0.018250850960612297,
0.03596236929297447,
0.040393684059381485,
0.0011713874991983175,
0.027564624324440956,
-0.029813669621944427,
0.02942136861383915,
0.02109375409781933,
0.011987581849098206,
-0.008639294654130936,
0.004473005887120962,
0.026665978133678436,
0.031030338257551193,
0.01853211224079132,
-0.022606680169701576,
0.03236078470945358,
-0.02093917690217495,
-0.0038016256876289845,
-0.007304230239242315,
-0.07450301200151443,
-0.007705065421760082,
0.02624625898897648,
0.019192416220903397,
-0.0017782098148018122,
0.004222745541483164,
0.006185994949191809,
-0.004982188809663057,
-0.005681946408003569,
0.006438335403800011,
0.004489454440772533,
-0.021819185465574265,
0.04615761339664459,
0.011256234720349312,
0.0379333458840847,
0.0053249248303473,
0.004992518573999405,
-0.01016691979020834,
0.03808624669909477,
-0.02271842211484909,
0.0076902820728719234,
0.011350415647029877,
0.04339464753866196,
-0.01661607250571251,
-0.05321555212140083,
-0.015601259656250477,
0.0430937223136425,
-0.028060194104909897,
0.055465806275606155,
-0.009216698817908764,
-0.007403531577438116,
-0.033757422119379044,
0.029761381447315216,
-0.01486976258456707,
-0.037774331867694855,
-0.014087768271565437,
-0.02393726445734501,
0.03167317435145378,
0.01961766742169857,
-0.014248409308493137,
0.02954082563519478,
0.0004747514321934432,
0.051865965127944946,
0.026499010622501373,
-0.0027864365838468075,
-0.03386014327406883,
0.005944012198597193,
-0.022864028811454773,
0.013395171612501144,
-0.01853873021900654,
0.001954837003722787,
-0.014802103862166405,
-0.028680909425020218,
0.04456663876771927,
-0.004798200912773609,
0.025459149852395058,
0.031999778002500534,
0.007077380083501339,
0.011991235427558422,
0.011581162922084332,
-0.027872858569025993,
-0.03215508162975311,
0.023682523518800735,
-0.07025262713432312,
-1.2746375510630514e-8,
-0.0037173323798924685,
-0.010269596241414547,
-0.0030178208835422993,
0.005307308863848448,
-0.012992189265787601,
0.021744379773736,
-0.011988614685833454,
-0.022129954770207405,
-0.038102854043245316,
0.03799945488572121,
0.06484129279851913,
-0.03209015727043152,
0.009927026927471161,
-0.03704943507909775,
0.027270298451185226,
-0.06568042933940887,
0.006136097479611635,
0.0009636614122428,
0.02743723802268505,
0.008854072540998459,
0.022666988894343376,
0.03058510832488537,
-0.05613591894507408,
0.04493436962366104,
0.014271982945501804,
-0.00022588061983697116,
0.01972733438014984,
-0.07111091911792755,
-0.044663283973932266,
-0.011578688398003578,
-0.0322122685611248,
-0.011538119986653328,
-0.03766880929470062,
0.009767585434019566,
-0.03338344022631645,
-0.008312941528856754,
-0.0016288657207041979,
0.010386192239820957,
0.05631176754832268,
0.014014996588230133,
0.017749466001987457,
0.030016455799341202,
-0.029979441314935684,
-0.03144443407654762,
-0.009187256917357445,
0.03278707340359688,
-0.01324686873704195,
-0.005201105028390884,
0.04940524324774742,
-0.04133197292685509,
-0.023220697417855263,
-0.019113894551992416,
0.008388487622141838,
0.024533560499548912,
0.038968876004219055,
-0.01998635195195675,
0.014808164909482002,
-0.014940710738301277,
0.03025653585791588,
-0.016349246725440025,
0.03218144178390503,
0.011692875064909458,
-0.03240814805030823,
-0.011105261743068695
] | neo4j-ha-election-could-not-pick-a-winner | https://markhneedham.com/blog/2014/01/24/neo4j-ha-election-could-not-pick-a-winner |
false | 2014-01-12 17:44:46 | Learning about bitmaps | [
"software-development"
] | [
"Software Development"
] | A few weeks ago https://twitter.com/apcj[Alistair] and I were working on the code used to model the http://docs.neo4j.org/chunked/milestone/graphdb-neo4j-labels.html[labels] that a node has attached to it in a Neo4j database.
The way this works is that chunks of 32 nodes ids are represented as a 32 bit http://en.wikipedia.org/wiki/Bitmap[bitmap] for each label where a 1 for a bit means that a node has the label and a 0 means that it doesn't.
For example, let's say we have node ids 0-31 where 0 is the highest bit and 31 is the lowest bit. If only node 0 has the label then that'd be represented as the following value:
[source,java]
----
java> int bitmap = 1 << 31;
int bitmap = -2147483648
----
If we imagine the 32 bits positioned next to each other it would http://www.binaryconvert.com/convert_signed_int.html[look like this]:
image::{{<siteurl>}}/uploads/2014/01/2014-01-12_15-45-16.png[2014 01 12 15 45 16,600]
[source,java]
----
java> 0X80000000;
Integer res16 = -2147483648
----
The next thing we want to do is work out whether a node has a label applied or not. We can do this by using a bitwise AND.
For example to check whether the highest bit is set we would write the following code:
[source,java]
----
java> bitmap & (1 << 31);
Integer res10 = -2147483648
----
That is set as we would imagine. Now let's check a a few bits that we know aren't set:
[source,java]
----
java> bitmap & (1 << 0);
Integer res11 = 0
java> bitmap & (1 << 1);
Integer res12 = 0
java> bitmap & (1 << 30);
Integer res13 = 0
----
Another operation we might want to do is set another bit on our existing bitmap for which we can use a bitwise inclusive OR.
A bitwise inclusive OR means that a bit will be set if either value has the bit set or if both have it set.
Let's set the second highest bit. and visualise that calculation:
image::{{<siteurl>}}/uploads/2014/01/2014-01-12_15-45-161.png[2014 01 12 15 45 16,600]
If we evaluate that we'd expect the two highest bits to be set:
[source,java]
----
java> bitmap |= (1 << 30);
Integer res14 = -1073741824
----
Now if we visualise the bitmap we'll see that is indeed the case:
image::{{<siteurl>}}/uploads/2014/01/2014-01-12_17-16-21.png[2014 01 12 17 16 21,600]
[source,java]
----
java> 0XC0000000;
Integer res15 = -1073741824
----
The next operation we want to do is to unset a bit that we're already set for which we can use a bitwise exclusive OR.
An exclusive OR means that a bit will only remain set if there's a combination of (0 and 1) or (1 and 0) in the calculation. If there are two 1's or 2 0's then it'll be unset.
Let's unset the 2nd highest bit so that we're left with just the top bit being set.
If we visualise that we have the following calculation:
image::{{<siteurl>}}/uploads/2014/01/2014-01-12_17-33-21.png[2014 01 12 17 33 21,600]
And if we evaluate that we're back to our original bitmap:
[source,java]
----
java> bitmap ^= (1 << 30);
Integer res2 = -2147483648
----
I used the http://www.javarepl.com/console.html[Java REPL] to evaluate the code samples in this post and http://www.roseindia.net/java/master-java/bitwise-bitshift-operators.shtml[this article explains bitshift operators very clearly].
The Neo4j version of the bitmap described in this post is in the https://github.com/neo4j/neo4j/blob/master/community/lucene-index/src/main/java/org/neo4j/kernel/api/impl/index/bitmaps/BitmapFormat.java[BitmapFormat] class on github. | null | null | [
-0.0006489824736490846,
-0.02846035175025463,
-0.0172051340341568,
0.03672941029071808,
0.07879514247179031,
0.0009055910049937665,
0.024360332638025284,
0.02121165208518505,
0.000825184746645391,
-0.011257115751504898,
-0.016008445993065834,
-0.032272953540086746,
-0.06467390060424805,
0.03682570904493332,
-0.00722762243822217,
0.05645044147968292,
0.0725821852684021,
0.005340711213648319,
0.021938327699899673,
-0.022409046068787575,
0.025618037208914757,
0.020934944972395897,
0.0006324171554297209,
0.023307466879487038,
0.02577616460621357,
0.021393602713942528,
-0.005638181697577238,
-0.006727905943989754,
-0.04861694574356079,
0.0027072399388998747,
0.041253067553043365,
0.015423465520143509,
0.02920655906200409,
0.005235651042312384,
0.03184937685728073,
-0.01469991635531187,
-0.0572788380086422,
0.0016474255826324224,
-0.012777149677276611,
-0.010688014328479767,
-0.054125647991895676,
0.0416388139128685,
0.003131117206066847,
0.04077180102467537,
-0.05077647790312767,
-0.011704063042998314,
-0.05756475031375885,
0.032768454402685165,
0.005202962551265955,
0.024915501475334167,
-0.08478513360023499,
0.03591727465391159,
-0.030673814937472343,
0.04550671949982643,
-0.004487792495638132,
0.0426362119615078,
0.021415725350379944,
-0.05427335947751999,
0.03811543062329292,
-0.036274127662181854,
0.01121121272444725,
-0.019100027158856392,
-0.015532826073467731,
0.014343722723424435,
-0.009429117664694786,
-0.04894079640507698,
-0.01563280262053013,
0.06802012771368027,
-0.05351060628890991,
-0.017544016242027283,
0.0003379056288395077,
0.023130284622311592,
-0.012537576258182526,
-0.022976264357566833,
0.013833759352564812,
-0.0688181221485138,
0.0024122598115354776,
0.04716786369681358,
0.02785644680261612,
0.04802460968494415,
-0.0428340882062912,
0.03246388956904411,
0.03948424756526947,
0.012924149632453918,
0.0009574159048497677,
-0.026630686596035957,
-0.02256862074136734,
-0.045620646327733994,
-0.05521080270409584,
0.0314023494720459,
-0.0007161264074966311,
-0.04606383293867111,
-0.0006118943565525115,
0.017892515286803246,
-0.03987681865692139,
-0.0027955379337072372,
-0.01285480335354805,
-0.0043034786358475685,
0.01773127168416977,
-0.013724406249821186,
-0.022266853600740433,
-0.02621578425168991,
0.02241893857717514,
0.0067039355635643005,
-0.07419586926698685,
-0.01969320699572563,
-0.023220347240567207,
-0.02275308035314083,
0.020757393911480904,
-0.00974301714450121,
-0.028237752616405487,
0.00216118642129004,
-0.018759960308670998,
0.00029384830850176513,
-0.05686042457818985,
0.05552355572581291,
0.0018612858839333057,
-0.017359262332320213,
-0.009911752305924892,
0.04014977440237999,
0.05981149151921272,
0.03473038226366043,
-0.007840394042432308,
0.0837709829211235,
-0.015164150856435299,
0.024127542972564697,
-0.008905591443181038,
0.042255084961652756,
-0.02556169591844082,
-0.05756106600165367,
-0.022016817703843117,
0.07603778690099716,
0.0058029876090586185,
0.0002537656109780073,
-0.006234811153262854,
-0.023946471512317657,
-0.012122179381549358,
-0.0030850975308567286,
0.05187506601214409,
0.015078453347086906,
0.0061737182550132275,
-0.059102654457092285,
0.016545800492167473,
-0.004810661543160677,
0.022816386073827744,
0.00812171958386898,
-0.036476749926805496,
-0.021242789924144745,
-0.022193700075149536,
-0.0017136060632765293,
0.009872376918792725,
0.02824537642300129,
0.048553165048360825,
-0.03472687676548958,
0.009470202028751373,
0.08741319179534912,
0.0032052318565547466,
0.015610309317708015,
-0.023279091343283653,
0.014874417334794998,
0.04635629802942276,
0.00259534758515656,
0.03076213411986828,
0.04991672933101654,
0.013925718143582344,
-0.00029256491689011455,
0.010670614428818226,
0.0754588171839714,
-0.02900070697069168,
0.003956370521336794,
-0.03283223137259483,
-0.056605394929647446,
0.04268570989370346,
-0.03739287704229355,
-0.012478913180530071,
0.051233138889074326,
0.062449853867292404,
0.014505031518638134,
0.02752934768795967,
-0.009115004912018776,
-0.08053546398878098,
0.04037163406610489,
0.025469524785876274,
0.009899703785777092,
-0.007555566728115082,
0.0036594117991626263,
0.07513437420129776,
0.040009621530771255,
0.004251537378877401,
0.032136913388967514,
-0.08191295713186264,
-0.0692446157336235,
-0.003600212512537837,
-0.019167976453900337,
0.07291983813047409,
-0.020241180434823036,
0.036520570516586304,
0.019762231037020683,
0.012164403684437275,
0.02042756788432598,
0.013620845973491669,
-0.006033850833773613,
0.03064604662358761,
-0.04043349251151085,
-0.04254800081253052,
0.06140695512294769,
0.041681863367557526,
-0.05390609800815582,
-0.04228400066494942,
0.03713908791542053,
-0.008868682198226452,
0.007370678707957268,
0.02596690133213997,
-0.028346171602606773,
0.025872161611914635,
0.009518923237919807,
0.036307964473962784,
0.00041196757229045033,
0.03109550103545189,
-0.05259474739432335,
0.01072613149881363,
0.0287762600928545,
-0.02971222996711731,
0.012930294498801231,
0.006542373448610306,
0.1203870102763176,
0.06367757171392441,
-0.02888096496462822,
-0.05629348009824753,
0.012655924074351788,
0.013318806886672974,
-0.044709280133247375,
0.016029125079512596,
-0.013619618490338326,
-0.006090933457016945,
-0.008808274753391743,
-0.04978712275624275,
-0.012390702962875366,
0.02619447559118271,
-0.04227697476744652,
0.008476031012833118,
0.04934310168027878,
-0.03370799496769905,
0.05223942548036575,
0.004268784541636705,
-0.0032300055027008057,
0.006321054883301258,
-0.03545733913779259,
-0.06637255102396011,
0.03580290079116821,
-0.0026419186033308506,
-0.010759774595499039,
0.04089130088686943,
-0.031120046973228455,
-0.01433777529746294,
-0.02308710664510727,
-0.0032390395645052195,
0.025793513283133507,
0.04344429075717926,
0.057382237166166306,
-0.005274373572319746,
0.01553464587777853,
-0.03839251399040222,
-0.015931185334920883,
-0.034611936658620834,
-0.04710361361503601,
-0.043195467442274094,
-0.008545265533030033,
0.04133522883057594,
0.014204231090843678,
0.02963477000594139,
0.0056409030221402645,
0.03987733647227287,
0.0017712687840685248,
0.01747858338057995,
-0.02897639013826847,
0.0462726391851902,
0.01704544574022293,
-0.007671952713280916,
-0.001099199173040688,
-0.02312096394598484,
0.057688094675540924,
-0.03796303644776344,
-0.043327488005161285,
0.0034375882241874933,
-0.04478520154953003,
0.0697656199336052,
-0.07187367230653763,
-0.02776585891842842,
-0.007824216969311237,
0.030355624854564667,
0.05427398905158043,
0.008320877328515053,
0.004400784615427256,
0.07962197810411453,
-0.01296839490532875,
0.015973418951034546,
0.0022343203891068697,
-0.012765548191964626,
0.047621071338653564,
-0.01743348315358162,
0.04956976696848869,
0.031234579160809517,
-0.01914178393781185,
-0.01389852724969387,
-0.019348975270986557,
0.01847953163087368,
-0.01168792974203825,
-0.2748703062534332,
0.07642196118831635,
-0.03851515054702759,
-0.05527348071336746,
0.005071116611361504,
-0.028371084481477737,
0.007340212352573872,
-0.029151517897844315,
-0.02360285446047783,
0.013496103696525097,
-0.011965502984821796,
-0.05019405111670494,
-0.020693505182862282,
0.037498749792575836,
0.02519945614039898,
-0.00009237503400072455,
0.000088430468167644,
-0.05083153024315834,
-0.011468969285488129,
0.036601074039936066,
-0.006734676193445921,
-0.047979336231946945,
-0.002385518280789256,
0.03196210414171219,
0.017772572115063667,
0.042586833238601685,
-0.08056454360485077,
0.010809029452502728,
-0.039123568683862686,
-0.03905805945396423,
-0.004820895381271839,
-0.023223038762807846,
0.02945980802178383,
-0.008003289811313152,
-0.019213147461414337,
-0.020466960966587067,
0.025409039109945297,
0.006226667668670416,
-0.0007308999192900956,
0.02832205779850483,
-0.040105003863573074,
-0.047792308032512665,
0.007386669050902128,
-0.008298465050756931,
0.09214404225349426,
0.00004565560448099859,
-0.08373522758483887,
-0.012195710092782974,
-0.018091030418872833,
0.06631400436162949,
-0.006334899924695492,
-0.013895166106522083,
-0.010237881913781166,
0.028401773422956467,
-0.02976025454699993,
-0.02568952552974224,
-0.004009090829640627,
-0.006303711794316769,
-0.04972657561302185,
-0.04907047003507614,
-0.006385428830981255,
-0.05514173582196236,
-0.0035975328646600246,
-0.042511824518442154,
0.006580797489732504,
-0.05515826493501663,
-0.08276042342185974,
-0.00783772673457861,
0.05315346643328667,
0.004689209163188934,
-0.017427442595362663,
0.02840857021510601,
-0.002549265744164586,
-0.10531261563301086,
-0.027322396636009216,
-0.03242403268814087,
-0.015737760812044144,
0.0053201355040073395,
-0.011194451712071896,
0.048210933804512024,
-0.03872702643275261,
-0.05096251145005226,
0.01506098173558712,
0.024358903989195824,
0.036999039351940155,
-0.01434816513210535,
0.021903742104768753,
-0.017327560111880302,
-0.018282270058989525,
0.01978253573179245,
0.0689101368188858,
-0.005925858858972788,
-0.03310088440775871,
-0.013516212813556194,
0.001302284188568592,
0.02472386322915554,
0.014152969233691692,
-0.0019104481907561421,
0.005154624581336975,
0.05132598057389259,
0.04976839944720268,
-0.024053748697042465,
0.02400844357907772,
-0.028152097016572952,
-0.03328998386859894,
0.005977137014269829,
-0.039225105196237564,
0.009328261017799377,
0.021474668756127357,
0.020824968814849854,
-0.011810103431344032,
-0.01304306834936142,
0.02556878887116909,
-0.05798525735735893,
-0.027493055909872055,
-0.010367989540100098,
0.001954494509845972,
0.017105918377637863,
0.0485987551510334,
-0.04929410293698311,
-0.031057709828019142,
0.03359207138419151,
0.03179604932665825,
0.0036930227652192116,
-0.050363946706056595,
-0.02839040197432041,
-0.041782446205616,
-0.019691048189997673,
0.01010833028703928,
0.009144814684987068,
-0.0016627507284283638,
0.06094381958246231,
0.012573545798659325,
-0.02206818014383316,
0.03824423998594284,
0.01568528264760971,
-0.02429848536849022,
-0.02879435010254383,
0.019451266154646873,
-0.02129933051764965,
-0.012995107099413872,
0.02115507423877716,
0.01396885421127081,
0.04126226529479027,
0.029569918289780617,
-0.0034094739239662886,
0.038406725972890854,
-0.01280889380723238,
0.021707061678171158,
-0.014155097305774689,
-0.0017212438397109509,
-0.04854026436805725,
0.01574457436800003,
-0.04600370302796364,
-0.03290298208594322,
-0.003833587747067213,
0.05776020884513855,
-0.03266623243689537,
-0.004482930526137352,
-0.03534994646906853,
0.02622462622821331,
-0.05469741299748421,
0.011047297157347202,
-0.015283172950148582,
0.01075142901390791,
0.06273169070482254,
0.0056098224595189095,
0.017461977899074554,
-0.031541697680950165,
-0.01249812450259924,
0.009610762819647789,
-0.00035909327561967075,
-0.035946089774370193,
0.02281477302312851,
0.008110466413199902,
-0.005442685913294554,
0.004005236551165581,
0.030356410890817642,
0.01800835318863392,
0.02679315395653248,
0.007581518031656742,
-0.005506215151399374,
0.02857167460024357,
0.00531120365485549,
0.04217886924743652,
0.0352780744433403,
-0.016808828338980675,
0.019590776413679123,
-0.03155305236577988,
-0.002103020902723074,
-0.005520820617675781,
-0.010286670178174973,
-0.03418226167559624,
0.04079461470246315,
-0.035822682082653046,
-0.05989617109298706,
0.027085451409220695,
-0.006768086459487677,
0.028128337115049362,
0.04803704842925072,
0.00810252409428358,
0.014851676300168037,
-0.0208972729742527,
0.05673670023679733,
0.05821308121085167,
-0.05842343717813492,
0.015393789857625961,
0.020634867250919342,
-0.00903127808123827,
-0.011508970521390438,
0.015273809432983398,
-0.043839871883392334,
-0.03626661002635956,
-0.034395989030599594,
0.03306383267045021,
-0.03899228945374489,
-0.04095442220568657,
-0.025570962578058243,
-0.000976824783720076,
-0.02044680528342724,
0.013753334991633892,
0.02118605561554432,
0.002472237916663289,
-0.04163322225213051,
0.0076920953579247,
0.03176804631948471,
-0.019943898543715477,
0.0038619190454483032,
0.015316934324800968,
-0.03285180404782295,
0.0026868032291531563,
-0.00852123647928238,
0.016656728461384773,
0.03625166043639183,
-0.024543633684515953,
-0.00119869876652956,
-0.0620528981089592,
0.026470407843589783,
-0.007209365721791983,
0.07164347916841507,
-0.014128949493169785,
-0.011143608950078487,
-0.0393855981528759,
0.031119603663682938,
-0.013339180499315262,
-0.0017226464115083218,
-0.008860577829182148,
-0.018868491053581238,
0.00020509511523414403,
0.030555404722690582,
0.00854270439594984,
0.033539265394210815,
-0.005637199152261019,
-0.027056820690631866,
0.07365734130144119,
-0.02919629029929638,
-0.030826658010482788,
-0.024830017238855362,
-0.05196179449558258,
-0.01057860441505909,
-0.007672654930502176,
0.01815270259976387,
-0.013044438324868679,
0.06999360024929047,
0.053131796419620514,
0.012327727861702442,
0.0012985586654394865,
-0.02638823725283146,
0.018477026373147964,
-0.02894054353237152,
0.002343566622585058,
-0.06935136765241623,
0.01616901159286499,
0.03392630070447922,
0.02423890307545662,
-0.007130143698304892,
-0.016934968531131744,
-0.03984828665852547,
-0.02098873443901539,
-0.08463528007268906,
-0.02203993685543537,
0.042083024978637695,
0.008293775841593742,
0.0256461463868618,
0.011156663298606873,
-0.06551828235387802,
-0.006080245599150658,
0.024152178317308426,
-0.04339588060975075,
-0.05675625056028366,
-0.04196759685873985,
0.04908768832683563,
-0.023542776703834534,
0.02569717913866043,
-0.02567949891090393,
-0.022058378905057907,
0.06800010055303574,
0.015058979392051697,
0.06629906594753265,
0.047724828124046326,
-0.01824207231402397,
0.04408276826143265,
0.035724665969610214,
-0.0022666247095912695,
-0.017665667459368706,
0.013242424465715885,
-0.018793398514389992,
-0.06162149831652641,
-0.0026612619403749704,
0.001997979125007987,
-0.03220692276954651,
-0.03437775745987892,
0.06096459925174713,
0.012419226579368114,
-0.026688352227211,
-0.052274126559495926,
0.04703968018293381,
-0.03216477856040001,
-0.022681890055537224,
-0.04773090034723282,
0.010980880819261074,
-0.035623177886009216,
0.05162802338600159,
-0.012640971690416336,
0.004828033037483692,
0.08133810013532639,
-0.007620690856128931,
-0.005468097981065512,
0.0014557214453816414,
0.11558915674686432,
0.08531729876995087,
0.04983322322368622,
0.016179000958800316,
0.07156039029359818,
-0.024255793541669846,
-0.032742589712142944,
-0.02370617911219597,
-0.012545190751552582,
-0.01620425097644329,
0.026379529386758804,
-0.004962910898029804,
0.07994940876960754,
-0.05671115592122078,
0.08245550096035004,
-0.046001631766557693,
0.0012574957218021154,
0.004298606887459755,
-0.012190079316496849,
0.015019900165498257,
0.07361378520727158,
0.013682622462511063,
0.01936110109090805,
-0.04401376470923424,
-0.015184281393885612,
0.032959241420030594,
-0.01881680265069008,
-0.02249486930668354,
0.015223207883536816,
-0.005343723110854626,
0.012954738922417164,
-0.013099010102450848,
0.03673167899250984,
0.09318412095308304,
-0.021909061819314957,
-0.008857826702296734,
0.005118809174746275,
0.009165209718048573,
-0.010947106406092644,
0.016320854425430298,
-0.014987705275416374,
-0.009231430478394032,
-0.025866027921438217,
-0.022387802600860596,
-0.021188247948884964,
-0.02260340191423893,
-0.03269997611641884,
0.016072284430265427,
-0.017246589064598083,
-0.01634877175092697,
-0.004402990452945232,
-0.02106618881225586,
-0.039541855454444885,
-0.05944220721721649,
-0.048203304409980774,
-0.04537047818303108,
-0.09091874212026596,
0.003441763110458851,
0.009792515076696873,
-0.0069992500357329845,
-0.021319447085261345,
-0.009790612384676933,
-0.019352015107870102,
-0.025603724643588066,
0.062060967087745667,
-0.0573880672454834,
-0.004361380357295275,
0.024882273748517036,
0.028680965304374695,
0.005002127494663,
0.05729484558105469,
0.05119921639561653,
-0.02190055511891842,
0.00655911723151803,
-0.02055894397199154,
-0.0008915136568248272,
0.05979176238179207,
0.04656307026743889,
-0.005868096370249987,
-0.07691257447004318,
-0.007761089596897364,
0.04276059940457344,
-0.02987697534263134,
-0.07388035953044891,
-0.015557650476694107,
0.028297681361436844,
-0.006695575546473265,
0.0373261496424675,
-0.019771603867411613,
-0.00843164511024952,
-0.026352761313319206,
0.008183835074305534,
-0.021355675533413887,
-0.020628923550248146,
0.04362979903817177,
-0.03985811397433281,
0.09617897123098373,
0.03763023763895035,
-0.03511317819356918,
-0.02499457634985447,
-0.022390615195035934,
-0.009788348339498043,
0.009842080064117908,
-0.042340368032455444,
-0.0426514595746994,
-0.04702039062976837,
-0.08949118852615356,
-0.005044697783887386,
0.023065974935889244,
-0.011151310987770557,
-0.03918579965829849,
0.019047118723392487,
0.0518205426633358,
-0.030034653842449188,
0.006066177040338516,
-0.040333978831768036,
0.05973314866423607,
-0.02349179983139038,
-0.014725484885275364,
-0.01991303265094757,
0.004906416404992342,
-0.017977552488446236,
0.003955749794840813,
0.03035154566168785,
-0.061455726623535156,
0.005494830664247274,
-0.01657215692102909,
0.03265717253088951,
0.05209566652774811,
0.037405628710985184,
0.013045660220086575
] | [
-0.08386675268411636,
-0.05298621580004692,
-0.0544440932571888,
-0.038678351789712906,
0.059840451925992966,
-0.023155437782406807,
-0.003946386743336916,
0.032164666801691055,
0.012848903425037861,
-0.0007544568507000804,
0.03642567992210388,
-0.04465481638908386,
-0.00010791474778670818,
0.015131117776036263,
0.05812327563762665,
0.007818096317350864,
-0.027625078335404396,
-0.0482923723757267,
-0.002892725169658661,
0.046365607529878616,
0.03870626166462898,
-0.04029465094208717,
-0.025382572785019875,
-0.04585406184196472,
0.03705437853932381,
0.03661363944411278,
0.04848567023873329,
-0.03484725579619408,
-0.0002973768569063395,
-0.2349938303232193,
0.033839717507362366,
0.0219535231590271,
0.03877897560596466,
-0.04616241529583931,
0.011981716379523277,
0.0036063757725059986,
0.03716765344142914,
-0.008494744077324867,
0.009469929151237011,
0.04623253643512726,
0.0026842784136533737,
0.009214496240019798,
-0.06114378944039345,
-0.0278968196362257,
0.03378300741314888,
0.023015020415186882,
-0.032093945890665054,
-0.04303901642560959,
-0.02022935450077057,
0.014333211816847324,
-0.04171847552061081,
0.01826532371342182,
-0.010627350769937038,
0.007503659464418888,
0.006182973738759756,
0.04329421743750572,
0.027576014399528503,
0.052578531205654144,
0.03897497430443764,
0.026033982634544373,
0.017725344747304916,
0.005766586400568485,
-0.11286415159702301,
0.07355663925409317,
0.050366055220365524,
0.04454325512051582,
-0.04030315577983856,
-0.030112622305750847,
-0.03487536683678627,
0.08375104516744614,
0.046214740723371506,
0.00013984189718030393,
-0.03335723653435707,
0.04732854291796684,
-0.009459210559725761,
-0.01596059650182724,
0.012974962592124939,
0.03626521676778793,
0.032796718180179596,
-0.05420762300491333,
-0.0785217359662056,
0.025153277441859245,
-0.013642965815961361,
-0.0228387750685215,
-0.03330443799495697,
-0.003769499948248267,
-0.01321369782090187,
0.05165982246398926,
-0.006145667750388384,
0.034459445625543594,
0.007381926290690899,
0.021252352744340897,
0.031060069799423218,
0.013219370506703854,
-0.07045761495828629,
0.010399393737316132,
-0.014407237991690636,
0.02744554728269577,
0.007985904812812805,
0.4052278697490692,
-0.006828750018030405,
-0.020677318796515465,
0.01673503965139389,
0.03833978250622749,
0.0023488278966397047,
-0.027186913415789604,
-0.010299338027834892,
-0.059643909335136414,
0.005158142652362585,
-0.011344114318490028,
-0.010487341322004795,
-0.04647902026772499,
0.049959003925323486,
-0.07630372792482376,
0.008887240663170815,
-0.006447650492191315,
0.06188448145985603,
0.03399210795760155,
-0.014373891055583954,
0.017429916188120842,
-0.0327206552028656,
0.029104899615049362,
0.049933336675167084,
0.00046985549852252007,
0.04737240448594093,
0.019615910947322845,
-0.003519889200106263,
0.050678279250860214,
0.016270598396658897,
0.04804159328341484,
0.04030027613043785,
0.0013598973164334893,
-0.05604611337184906,
0.02991456910967827,
0.005641320254653692,
-0.005304674617946148,
0.03559558838605881,
-0.012946694158017635,
-0.019002316519618034,
0.012478276155889034,
-0.0055348314344882965,
-0.010822138749063015,
0.04136977717280388,
0.016304025426506996,
-0.04361286759376526,
0.12218780815601349,
-0.025246886536478996,
-0.01261723879724741,
-0.029677290469408035,
-0.05145864188671112,
0.011041215620934963,
0.03717413544654846,
-0.041145872324705124,
-0.0522955060005188,
-0.03131382539868355,
0.03633534908294678,
0.06881158798933029,
-0.02222548983991146,
-0.09256146103143692,
0.007012771442532539,
0.010350515134632587,
-0.03315393254160881,
-0.02790389209985733,
0.07151621580123901,
0.036445267498493195,
-0.07820985466241837,
-0.00009329857130069286,
0.007017705123871565,
0.025782421231269836,
-0.09081792831420898,
0.011309823021292686,
0.02315370738506317,
-0.04279370605945587,
-0.03157106786966324,
0.05764761567115784,
-0.016136933118104935,
-0.03379456326365471,
-0.0366348996758461,
0.029295606538653374,
-0.005117211956530809,
-0.03362125903367996,
-0.009369113482534885,
-0.03802883252501488,
-0.013472559861838818,
-0.0436612106859684,
-0.055471763014793396,
-0.08477573096752167,
0.01604434661567211,
-0.021320458501577377,
-0.019627604633569717,
0.00010634901991579682,
-0.015525944530963898,
-0.05218329280614853,
0.0862932875752449,
-0.04673738032579422,
-0.057636767625808716,
-0.015204906463623047,
0.031108124181628227,
-0.0192841999232769,
-0.03239205479621887,
0.047698013484478,
0.016340212896466255,
-0.010345468297600746,
0.0364709235727787,
-0.048898641020059586,
0.012830055318772793,
0.0725933238863945,
-0.019069567322731018,
0.058825213462114334,
0.03364034742116928,
-0.026106487959623337,
-0.00761656928807497,
-0.030394773930311203,
0.011814191937446594,
0.001075652427971363,
-0.025889813899993896,
0.020723657682538033,
0.009863831102848053,
0.02125711739063263,
0.04422586038708687,
-0.047064200043678284,
-0.04549715295433998,
-0.026399968191981316,
-0.3570684790611267,
-0.05945109575986862,
-0.017316102981567383,
-0.009786601178348064,
0.04122922942042351,
-0.023087739944458008,
0.01769956573843956,
-0.02413131482899189,
0.009814958088099957,
0.01179070770740509,
0.07992219924926758,
-0.02064368687570095,
-0.03149191662669182,
-0.10374119877815247,
-0.027171555906534195,
0.047629039734601974,
-0.008609249256551266,
-0.023026028648018837,
-0.015344765968620777,
0.023117374628782272,
-0.020821625366806984,
-0.03402681276202202,
-0.039767537266016006,
-0.03894703462719917,
-0.025393903255462646,
-0.024575281888246536,
0.1314747929573059,
-0.006334713194519281,
0.0454886257648468,
-0.03138234093785286,
0.014319025911390781,
-0.015638018026947975,
-0.030989043414592743,
-0.051418330520391464,
0.021785929799079895,
-0.007569673005491495,
-0.03632136061787605,
0.0442170687019825,
-0.00015978020383045077,
-0.009933085180819035,
-0.0704837366938591,
-0.021085703745484352,
-0.03958984091877937,
-0.07271046936511993,
0.0007060816860757768,
0.01564945839345455,
-0.02587941102683544,
-0.00708943884819746,
0.034037794917821884,
0.06399575620889664,
0.004958189558237791,
0.03127528727054596,
-0.0011582914739847183,
0.03888099640607834,
0.04304178059101105,
-0.026226341724395752,
-0.06345565617084503,
-0.03686930239200592,
0.013717615976929665,
0.029676146805286407,
0.010495445691049099,
-0.0050698136910796165,
-0.0022106156684458256,
-0.06806294620037079,
0.017612863332033157,
0.031329166144132614,
-0.016808606684207916,
-0.026709208264946938,
0.04569050669670105,
-0.039614174515008926,
-0.016192244365811348,
0.1331663280725479,
0.020020781084895134,
0.015975279733538628,
0.06747843325138092,
0.045436959713697433,
-0.009085324592888355,
-0.005392002873122692,
0.03708988428115845,
0.0064791105687618256,
0.028783762827515602,
-0.019324421882629395,
0.06556519865989685,
-0.03526844084262848,
-0.009877982549369335,
0.06396295875310898,
0.0017066969303414226,
-0.020540310069918633,
0.04901065304875374,
-0.0008120264974422753,
-0.0012211647117510438,
0.0019271388882771134,
-0.008232442662119865,
-0.07055442035198212,
0.04351548105478287,
-0.030997581779956818,
-0.2631172835826874,
0.04983251541852951,
0.013643134385347366,
0.06872864067554474,
-0.0022628558799624443,
0.01980798877775669,
0.05587593466043472,
-0.0071233175694942474,
-0.013986505568027496,
-0.008004565723240376,
-0.003669286845251918,
0.060070645064115524,
0.013923496007919312,
-0.03269672393798828,
-0.009953691624104977,
-0.001107088290154934,
0.014180119149386883,
-0.002986416220664978,
0.041726890951395035,
0.01350736990571022,
0.03782397136092186,
0.005729984492063522,
0.18886789679527283,
0.03713269904255867,
-0.0018323810072615743,
0.03371904790401459,
-0.026976196095347404,
0.04970627650618553,
0.06596764177083969,
0.01937900297343731,
-0.02908273972570896,
0.03562499210238457,
0.04060006141662598,
0.01129524689167738,
0.017272962257266045,
-0.02480003796517849,
-0.028123369440436363,
0.025444885715842247,
0.01910269260406494,
-0.0034120548516511917,
0.019864829257130623,
0.01883922889828682,
-0.07054639607667923,
0.03169446438550949,
0.07350118458271027,
-0.015701374039053917,
-0.010776720009744167,
0.00590208126232028,
-0.04032902419567108,
-0.012655171565711498,
-0.04300558939576149,
-0.02397761680185795,
-0.02133329212665558,
-0.02603956311941147,
0.004333892371505499,
0.06600891798734665,
0.006868454162031412,
-0.026907218620181084,
-0.007303406950086355,
-0.0026209764182567596,
-0.012070710770785809,
-0.034268904477357864,
0.1039699837565422,
-0.008632296696305275,
-0.0035084085538983345
] | [
0.028458643704652786,
0.06999026983976364,
-0.02769496664404869,
-0.0030603373888880014,
-0.004854998085647821,
-0.015513676218688488,
0.0017225398914888501,
0.01818990148603916,
-0.02662765607237816,
0.0016418960876762867,
-0.04371551051735878,
-0.0012662461958825588,
0.06530154496431351,
-0.01952851377427578,
0.020350508391857147,
0.01675068773329258,
-0.004545310977846384,
0.050911009311676025,
0.025737658143043518,
-0.03415083885192871,
-0.046272289007902145,
0.0041520423255860806,
0.0622851736843586,
-0.023446252569556236,
-0.0015507357893511653,
0.0510726235806942,
-0.02653396502137184,
-0.016156768426299095,
0.028659755364060402,
-0.12617072463035583,
0.0015684787649661303,
-0.012923645786941051,
-0.0027152809780091047,
0.005459532607346773,
-0.018380165100097656,
0.04971927031874657,
-0.002243947936221957,
0.002242037793621421,
0.017153222113847733,
0.03327301889657974,
0.02114199474453926,
-0.005382583476603031,
-0.039490193128585815,
-0.008464355953037739,
0.019628774374723434,
-0.02492341212928295,
-0.02241707406938076,
0.0005474936915561557,
0.00014673566329292953,
0.00045555844553746283,
-0.04713591933250427,
-0.0061438181437551975,
-0.010522621683776379,
0.030939847230911255,
-0.003789281938225031,
-0.040074292570352554,
-0.03854677081108093,
0.004121021833270788,
-0.006338153500109911,
0.039216332137584686,
0.011691047810018063,
0.00013600251986645162,
-0.04110175743699074,
-0.035297442227602005,
-0.021156717091798782,
-0.008075831457972527,
0.017354002222418785,
-0.007600425276905298,
0.00939470436424017,
0.0077913436107337475,
-0.0010337687563151121,
0.04834236949682236,
-0.06345906853675842,
-0.01902901940047741,
-0.032375335693359375,
0.014712505973875523,
0.04277552664279938,
0.0022296938113868237,
-0.01503297034651041,
0.0012792745837941766,
-0.026560654863715172,
-0.006686497945338488,
0.001757369376718998,
-0.0036708309780806303,
-0.039614416658878326,
-0.02359612286090851,
0.0018400192493572831,
-0.010500122793018818,
0.01327154878526926,
0.03367263078689575,
-0.04280063509941101,
0.02395377866923809,
-0.016346214339137077,
-0.009250513277947903,
-0.07311218976974487,
0.016382072120904922,
-0.005679068621248007,
-0.010737413540482521,
0.020463885739445686,
0.812102198600769,
-0.014950983226299286,
-0.005242626648396254,
0.019028950482606888,
-0.022317614406347275,
0.0006418503471650183,
0.00255301664583385,
-0.032324060797691345,
0.006861146539449692,
-0.006732594221830368,
-0.01568669266998768,
0.006139503326267004,
-0.005381388124078512,
0.01915665902197361,
-0.012663054279983044,
0.003946166019886732,
0.010356323793530464,
0.01955251395702362,
-0.004441377241164446,
-0.007423751056194305,
-0.0007123263785615563,
0.0010735893156379461,
0.0061971526592969894,
-0.013088393025100231,
0.01958254538476467,
-0.02893267199397087,
-0.15441496670246124,
-0.022880572825670242,
-6.717012758204592e-33,
0.07007234543561935,
-0.014616490341722965,
0.020308032631874084,
0.005304973106831312,
0.025023814290761948,
0.03511499613523483,
-0.00911570992320776,
-0.00364071037620306,
-0.014355849474668503,
-0.040578700602054596,
0.018994541838765144,
-0.030698269605636597,
0.028184527531266212,
-0.014372235164046288,
0.006290295161306858,
-0.019628413021564484,
0.002141485456377268,
0.016274316236376762,
-0.008501733653247356,
0.005678151734173298,
0.0020122379064559937,
0.015628041699528694,
-0.028508145362138748,
0.014265066012740135,
0.019158311188220978,
0.007492617703974247,
0.001126214163377881,
0.009676605463027954,
0.0029202806763350964,
-0.0610315203666687,
-0.030344322323799133,
0.011302446946501732,
-0.008643006905913353,
-0.04067966341972351,
0.05095318332314491,
-0.05510804429650307,
0.004393163602799177,
0.029095198959112167,
-0.03655199334025383,
-0.08055175095796585,
-0.04763270169496536,
0.01657874695956707,
-0.01645558886229992,
-0.020955897867679596,
-0.014841164462268353,
-0.014343814924359322,
-0.02173318713903427,
0.01800415851175785,
0.013972438871860504,
0.00996147096157074,
0.011851534247398376,
0.024686681106686592,
-0.013456069864332676,
0.0039183530025184155,
-0.03440782055258751,
-0.006663552951067686,
0.022838478907942772,
0.01984826661646366,
-0.03603406250476837,
0.050242677330970764,
0.02317386493086815,
0.0008340732892975211,
0.009739081375300884,
0.04414771497249603,
-0.003186292015016079,
0.026181673631072044,
0.00969657488167286,
0.020678238943219185,
0.026170993223786354,
0.07182144373655319,
-0.05376806482672691,
0.05045577883720398,
-0.004109819885343313,
-0.030137481167912483,
0.0032002590596675873,
-0.05527254939079285,
-0.03482385352253914,
-0.026159022003412247,
-0.012017683126032352,
0.04555568844079971,
0.003346814773976803,
-0.038308825343847275,
0.042119044810533524,
-0.015382418408989906,
-0.006575893610715866,
-0.02289608120918274,
0.011061840690672398,
-0.0024375927168875933,
0.027534935623407364,
0.0053127300925552845,
0.06411317735910416,
0.04650967940688133,
-0.010482745245099068,
-0.00650034612044692,
-0.004907939583063126,
6.781776619463146e-33,
-0.027403509244322777,
0.006436415947973728,
-0.017541544511914253,
-0.0002484232827555388,
0.0074069686233997345,
-0.020170850679278374,
0.04448738694190979,
0.0357932411134243,
-0.03776595741510391,
0.07032085955142975,
0.021732304245233536,
-0.00940968282520771,
-0.005107501987367868,
0.015787513926625252,
0.05154593288898468,
-0.05046441778540611,
0.014600776135921478,
-0.014283143915235996,
0.022461777552962303,
0.06334764510393143,
-0.0015253432793542743,
0.017782699316740036,
-0.005406443495303392,
0.00465540774166584,
0.057550765573978424,
0.029104193672537804,
-0.023795222863554955,
0.011857787147164345,
-0.022467318922281265,
-0.01752644218504429,
0.027149321511387825,
-0.05154915899038315,
-0.009289488196372986,
-0.06878908723592758,
0.02600807510316372,
0.002840072615072131,
0.012018630281090736,
-0.01715414971113205,
0.03306670859456062,
-0.0003507055516820401,
0.041180793195962906,
-0.01588190719485283,
-0.048511818051338196,
0.07347890734672546,
-0.00043299392564222217,
-0.008115386590361595,
0.016244536265730858,
0.042715296149253845,
-0.009114967659115791,
-0.020264513790607452,
0.020116593688726425,
0.010478019714355469,
0.012815305963158607,
0.019062474370002747,
0.032599471509456635,
-0.04300012066960335,
-0.0538833886384964,
0.04137730225920677,
0.02803024835884571,
0.02480565384030342,
-0.014807350933551788,
-0.04740681126713753,
-0.0016151106683537364,
0.025253843516111374,
-0.026543673127889633,
-0.021569835022091866,
-0.019643759354948997,
-0.03095196560025215,
-0.03431084007024765,
0.040854133665561676,
0.008979879319667816,
0.0017998013645410538,
-0.007943682372570038,
0.06265674531459808,
0.020739754661917686,
-0.031924955546855927,
-0.025236161425709724,
0.01773129031062126,
-0.02754054218530655,
0.04514539614319801,
0.017860841006040573,
0.04905922710895538,
-0.03501741960644722,
0.002945500425994396,
0.011868349276483059,
-0.013620895333588123,
-0.026949966326355934,
-0.0014805702958256006,
-0.048738785088062286,
-0.021637333557009697,
-0.005112221464514732,
-0.006838736589998007,
-0.025610072538256645,
0.06174550950527191,
-0.00015526911010965705,
-1.226935797404849e-8,
-0.023403795436024666,
0.006095096468925476,
-0.04052130505442619,
-0.012002360075712204,
0.05240051448345184,
0.022179115563631058,
-0.01870477944612503,
-0.0027838328387588263,
0.00017676556308288127,
0.01583811081945896,
0.04004340246319771,
-0.01945025473833084,
-0.012202234007418156,
0.007090553641319275,
0.008013591170310974,
-0.07637632638216019,
0.02181190811097622,
-0.03346630930900574,
0.033241283148527145,
0.025414010509848595,
0.015904607251286507,
0.010773563757538795,
-0.01886243373155594,
-0.0007590917521156371,
0.006363571155816317,
-0.05004022270441055,
0.06492505222558975,
-0.04559428617358208,
0.013310377486050129,
-0.013700582087039948,
-0.0005728586111217737,
-0.0024314478505402803,
0.004544381517916918,
0.04163915663957596,
-0.019452109932899475,
-0.012369828298687935,
0.01140601746737957,
0.04630320891737938,
0.008175493218004704,
0.028626535087823868,
-0.022939302027225494,
0.010736138559877872,
-0.016964582726359367,
-0.029531583189964294,
-0.02139822021126747,
0.004095834214240313,
-0.021891826763749123,
0.014207644388079643,
0.02462497353553772,
-0.009148471988737583,
-0.013960305601358414,
-0.012426776811480522,
0.03285868093371391,
0.0042607905343174934,
0.030868439003825188,
-0.02027912251651287,
0.003177970414981246,
-0.06106967478990555,
-0.022919848561286926,
0.051061224192380905,
0.02858496829867363,
-0.024193324148654938,
-0.021693367511034012,
-0.02083977870643139
] | learning-about-bitmaps | https://markhneedham.com/blog/2014/01/12/learning-about-bitmaps |