chunk_id
large_string
question_id
large_string
language
large_string
chunk_index
int64
chunk_text
large_string
sparse_text
large_string
dense_vector
list
sparse_indices
list
sparse_values
list
export_source
large_string
37494160_c0
37494160
julia
0
Title: JULIA: What's Erro! Lagrange Polynomials function Problem title: JULIA: What's Erro! Lagrange Polynomials function Tags: function, polynomials, julia Problem: JULIA: What's Erro! Lagrange Polynomials function function lg(X,Y,Xint) n = length(X) L = ones(1:n) for k = collect(1:n) L[k] = 1 for c = collec...
JULIA: What's Erro! Lagrange Polynomials function JULIA: What's Erro! Lagrange Polynomials function function polynomials julia JULIA What Erro Lagrange Polynomials Xint JULIA: What's Erro! Lagrange Polynomials function ========================= When Executed LoadError: InexactError() while loading In[76], in ...
[ 0.0185546875, 0.00994873046875, 0.00775146484375, 0.0089111328125, -0.013671875, 0.01129150390625, 0.033447265625, 0.0023345947265625, 0.00421142578125, -0.0032806396484375, -0.000152587890625, -0.00537109375, 0.0032958984375, -0.0191650390625, 0.00799560546875, 0.02734375, 0.0119628...
[ 30357, 67991, 12, 4865, 3768, 74, 7, 1004, 516, 38, 56822, 94250, 63306, 1687, 15403, 32354, 35874, 14801, 11, 53190, 18, 14847, 211603, 2091, 712, 18468, 31611, 360, 3355, 47013, 132, 12960, 72367, 214, 1065, 11835, 125195, 72134, 13315, ...
[ 0.196533203125, 0.2215576171875, 0.0180816650390625, 0.107421875, 0.097900390625, 0.03900146484375, 0.043182373046875, 0.166015625, 0.197021484375, 0.0572509765625, 0.1392822265625, 0.253173828125, 0.154052734375, 0.1307373046875, 0.13037109375, 0.1717529296875, 0.1419677734375, 0....
embed
58524042_c0
58524042
julia
0
Title: Not possible to increase number of threads in Julia Problem title: Not possible to increase number of threads in Julia Tags: julia, multithreading Problem: Not possible to increase number of threads in Julia I changed the number of threads to 4 following the documentation . I know that the maximum number of thre...
Not possible to increase number of threads in Julia Not possible to increase number of threads in Julia julia multithreading Not Julia Sys.CPU_THREADS JULIA_NUM_THREADS Threads.nthreads Not possible to increase number of threads in Julia I changed the number of threads to 4 following the documentation . I know that the...
[ 0.006591796875, 0.0034942626953125, -0.00933837890625, 0.021240234375, 0.017822265625, -0.0031890869140625, -0.005767822265625, -0.0181884765625, -0.01068115234375, -0.0079345703125, -0.0274658203125, 0.01123046875, -0.022216796875, -0.00628662109375, 0.003173828125, -0.0010986328125, ...
[ 11205, 7722, 51312, 14012, 111, 86997, 7, 23, 60592, 14801, 11, 3869, 65847, 4843, 26214, 23415, 41519, 30357, 67991, 109020, 136719, 927, 39116, 98816, 47, 201, 209806, 38132, 84046, 13526, 382, 831, 18, 15549, 442, 3217, 44084, 5423, 1019...
[ 0.0928955078125, 0.1453857421875, 0.1878662109375, 0.13232421875, 0.029449462890625, 0.262939453125, 0.1429443359375, 0.117431640625, 0.299560546875, 0.214111328125, 0.1099853515625, 0.1158447265625, 0.1671142578125, 0.095947265625, 0.15380859375, 0.07037353515625, 0.1671142578125, ...
embed
64979820_c0
64979820
julia
0
Title: Issues with installing Devectorize package in Julia Problem title: Issues with installing Devectorize package in Julia Tags: julia, package, vectorization Problem: Issues with installing Devectorize package in Julia I wanted to install the devectorize package in Julia , but I'm having an issue. I run (@v1.5) pkg...
Issues with installing Devectorize package in Julia Issues with installing Devectorize package in Julia julia package vectorization Issues Devectorize Julia v1.5 ERROR Pkg.add Issues with installing Devectorize package in Julia I wanted to install the devectorize package in Julia , but I'm having an issue. I run I have...
[ 0.0179443359375, 0.02978515625, -0.0036773681640625, 0.01092529296875, 0.005615234375, 0.012939453125, 0.004119873046875, -0.03125, -0.0223388671875, 0.01708984375, 0.00531005859375, -0.0257568359375, -0.00970458984375, -0.0026092529296875, -0.0159912109375, 0.01458740234375, 0.01153...
[ 223317, 678, 20600, 124031, 18770, 20650, 98169, 23, 60592, 14801, 11, 173, 47691, 81, 42876, 151206, 8517, 4028, 36663, 7226, 1284, 19441, 31089, 11675, 37842, 17106, 5701, 16750, 110, 51713, 8060 ]
[ 0.157470703125, 0.04705810546875, 0.1490478515625, 0.19873046875, 0.166015625, 0.1845703125, 0.1778564453125, 0.084228515625, 0.28564453125, 0.168212890625, 0.10302734375, 0.126708984375, 0.1275634765625, 0.074951171875, 0.1744384765625, 0.09869384765625, 0.121826171875, 0.07525634...
embed
43954157_c0
43954157
julia
0
Title: syntax confusion: function call versus array indexing Problem title: syntax confusion: function call versus array indexing Tags: julia Problem: syntax confusion: function call versus array indexing Original title: "Kronecker product in Julia" Assume: p = 0.7; PI = [p 1-p;1-p p]; and: Q = zeros(20,20); In Matlab ...
syntax confusion: function call versus array indexing syntax confusion: function call versus array indexing julia MethodError Base Array Float64 syntax confusion: function call versus array indexing Original title: "Kronecker product in Julia" Assume: and: In Matlab we can run: while in Julia: this leads to the followi...
[ -0.002166748046875, 0.004241943359375, -0.005889892578125, 0.0013580322265625, -0.004241943359375, -0.0257568359375, -0.006561279296875, -0.0206298828125, -0.0128173828125, -0.004425048828125, 0.020751953125, 0.0157470703125, -0.031494140625, -0.032958984375, -0.0078125, -0.02099609375...
[ 6002, 86531, 169463, 32354, 11782, 119475, 10298, 53, 63262, 214, 14801, 11, 74644, 18468, 31611, 44978, 69253, 38699, 13307, 44759, 86345, 11050, 12996, 23, 60592, 66596, 360, 7656, 6114, 642, 831, 11675, 12960, 37105, 25632, 18499, 11249, 2...
[ 0.1478271484375, 0.1781005859375, 0.197509765625, 0.169921875, 0.2257080078125, 0.18017578125, 0.1575927734375, 0.1602783203125, 0.1998291015625, 0.1329345703125, 0.215087890625, 0.1513671875, 0.09857177734375, 0.07049560546875, 0.076416015625, 0.0765380859375, 0.1044921875, 0.1103...
embed
72596137_c0
72596137
julia
0
Title: Language Julia: convert vector in matrix Problem title: Language Julia: convert vector in matrix Tags: matrix, vec, julia, vector, copy Problem: Language Julia: convert vector in matrix Who can help. To transform a vector into a one-dimensional matrix just run in Julia: a = copy(permutedims([1,2,3])) To transfor...
Language Julia: convert vector in matrix Language Julia: convert vector in matrix matrix vec julia vector copy Language Julia Matrix Int64 Language Julia: convert vector in matrix Who can help. To transform a vector into a one-dimensional matrix just run in Julia: To transform the matrix "a" into a vector just use: If ...
[ 0.00927734375, 0.0098876953125, -0.0101318359375, 0.03173828125, 0.01483154296875, 0.004913330078125, -0.0269775390625, -0.002105712890625, -0.00823974609375, -0.00531005859375, -0.021728515625, -0.0299072265625, -0.011962890625, 0.0081787109375, -0.0390625, -0.01025390625, 0.0029907...
[ 83658, 60592, 12, 96760, 173, 18770, 23, 50944, 425, 22834, 14801, 11, 43658, 194234, 18, 13307, 40469, 831, 4358, 717, 27198, 10, 3934, 1632, 157955, 1660, 11675, 4527, 4263, 765, 116, 138, 74, 201, 190, 305, 47, 3642, 3249, 3173, 363,...
[ 0.1822509765625, 0.28857421875, 0.0204620361328125, 0.16650390625, 0.200439453125, 0.240966796875, 0.1038818359375, 0.2078857421875, 0.1092529296875, 0.13720703125, 0.18212890625, 0.1319580078125, 0.0926513671875, 0.16943359375, 0.0239715576171875, 0.1744384765625, 0.0194091796875, ...
embed
73003030_c0
73003030
julia
0
Title: Oceananigans HDF5 format, manipulate the time axis Problem title: Oceananigans HDF5 format, manipulate the time axis Tags: julia, hdf5 Problem: Oceananigans HDF5 format, manipulate the time axis I ran a ocean model using Oceananigans in Julia. And I used JLD2OutputWriter to write the output into jld2 HDF5 file. ...
Oceananigans HDF5 format, manipulate the time axis Oceananigans HDF5 format, manipulate the time axis julia hdf5 Oceananigans HDF5 FieldDataset test4_lang.jld2 d4.fields Dict FieldTimeSeries InMemory Center Face CPU Oceananigans HDF5 format, manipulate the time axis I ran a ocean model using Oceananigans in Julia. And ...
[ 0.0181884765625, 0.0067138671875, -0.000583648681640625, 0.0014190673828125, 0.0135498046875, -0.004241943359375, -0.0038299560546875, 0.0220947265625, -0.0279541015625, -0.01348876953125, -0.00689697265625, -0.01190185546875, -0.0076904296875, -0.01177978515625, 0.00592041015625, -0.0...
[ 55609, 66, 53437, 7, 4732, 919, 758, 9384, 45258, 67, 1733, 10, 33102, 14801, 11, 26488, 420, 117657, 137989, 3509, 3034, 617, 3066, 170, 7344, 304, 104, 28394, 60897, 70059, 138724, 4514, 11588, 26219, 86039, 13028, 77904, 3299, 17368, 2...
[ 0.1583251953125, 0.10357666015625, 0.22265625, 0.0556640625, 0.133056640625, 0.13525390625, 0.202880859375, 0.19677734375, 0.2078857421875, 0.0572509765625, 0.16015625, 0.07659912109375, 0.189697265625, 0.1456298828125, 0.109130859375, 0.08038330078125, 0.1004638671875, 0.116088867...
embed
67027176_c1
67027176
julia
1
) @variable(model, M[i=1:n, j=1:n], Symmetric) @SDconstraint(model, Ui ⪰ 0) @SDconstraint(model, Wi ⪰ 0) @SDconstraint(model, Ei'*M*Ei ⪰ 0) @SDconstraint(model, Pi - Ei'*Wi*Ei ⪰ 0) @SDconstraint(model, Ai'*Pi + Pi*Ai + Ei'*Ui*Ei ⪯ 0) optimize!(model) Pi = value.(Pi) The first line of the error which repeats to great le...
) @variable(model, M[i=1:n, j=1:n], Symmetric) @SDconstraint(model, Ui ⪰ 0) @SDconstraint(model, Wi ⪰ 0) @SDconstraint(model, Ei'*M*Ei ⪰ 0) @SDconstraint(model, Pi - Ei'*Wi*Ei ⪰ 0) @SDconstraint(model, Ai'*Pi + Pi*Ai + Ei'*Ui*Ei ⪯ 0) optimize!(model) Pi = value.(Pi) The first line of the error which repeats to great le...
[ -0.021484375, 0.00098419189453125, -0.00927734375, 0.0031280517578125, 0.00140380859375, -0.010009765625, -0.01300048828125, -0.000560760498046875, 0.01177978515625, -0.0208740234375, -0.01531982421875, 0.0052490234375, 0.017333984375, -0.026611328125, 0.01611328125, 0.0098876953125, ...
[ 1388, 1374, 21690, 2886, 51734, 276, 14, 33000, 1647, 4843, 39, 186518, 22916, 2271, 2816, 4288, 345, 757, 5140, 4565, 3065, 25, 36119, 5860, 29348, 997, 58559, 15572, 20650, 90295, 2203, 34292, 5117, 13315, 18499, 3129, 119140, 7, 47, 67...
[ 0.05194091796875, 0.1170654296875, 0.134521484375, 0.06903076171875, 0.20556640625, 0.0858154296875, 0.01654052734375, 0.010284423828125, 0.12548828125, 0.018951416015625, 0.03643798828125, 0.1566162109375, 0.062225341796875, 0.0621337890625, 0.1395263671875, 0.0204315185546875, 0.00...
embed
61171670_c0
61171670
julia
0
Title: Get Type in Array Problem title: Get Type in Array Tags: julia Problem: Get Type in Array How can I get the type inside an array? a = [1,2,3] I can get the type of a typeof(a) Vector{Int64} but I actually want Int64 . First, I thought a newbie work-around could be typeof(a[1]) Int64 but this is actually not corr...
Get Type in Array Get Type in Array julia Get Type Array Vector Int64 Union Missing Get Type in Array How can I get the type inside an array? I can get the type of a but I actually want Int64 . First, I thought a newbie work-around could be but this is actually not correct, as can be seen here: The type of the vector i...
[ -0.000453948974609375, 0.003997802734375, -0.01409912109375, 0.040283203125, -0.004180908203125, -0.01019287109375, 0.006866455078125, 0.0098876953125, -0.01165771484375, 0.003448486328125, -0.000606536865234375, -0.02001953125, -0.0341796875, -0.0057373046875, -0.00946044921875, -0.00...
[ 20779, 60457, 23, 69253, 53, 14801, 11, 2609, 18770, 360, 18, 13307, 32528, 16771, 214, 831, 2046, 70, 10644, 46132, 10298, 111, 10, 1284, 20653, 3444, 17569, 9014, 67688, 959, 26785, 173, 135261, 5117, 12830, 3642, 19305 ]
[ 0.1234130859375, 0.255859375, 0.097412109375, 0.190185546875, 0.1492919921875, 0.123291015625, 0.08837890625, 0.1702880859375, 0.183837890625, 0.03790283203125, 0.07464599609375, 0.1888427734375, 0.1712646484375, 0.16015625, 0.1229248046875, 0.03118896484375, 0.119873046875, 0.0349...
embed
52041074_c0
52041074
julia
0
Title: How to change an individual pixel of an RGBA image? Problem title: How to change an individual pixel of an RGBA image? Tags: julia, image-processing Problem: How to change an individual pixel of an RGBA image? In the below code I was trying to make the red component of the first pixel to be zero. julia> image1 =...
How to change an individual pixel of an RGBA image? How to change an individual pixel of an RGBA image? julia image-processing How RGBA image1 background1.png ERROR How to change an individual pixel of an RGBA image? In the below code I was trying to make the red component of the first pixel to be zero. Turns out the R...
[ 0.0019989013671875, -0.00750732421875, 0.0164794921875, 0.036865234375, 0.02783203125, 0.00396728515625, 0.016845703125, 0.00164794921875, -0.00885009765625, 0.039794921875, 0.005401611328125, 0.0194091796875, 0.0002918243408203125, 0.009033203125, 0.0164794921875, -0.01336669921875, ...
[ 11249, 47, 15549, 11651, 98009, 111, 171052, 284, 29569, 14801, 11, 63923, 418, 76615, 128468, 151206, 24638, 142, 35064, 18151, 31577, 3249, 4842, 82761, 5117, 186, 45234, 10644, 23, 60592, 83, 566, 561, 22819, 3917, 5809, 1052, 527, 619, ...
[ 0.1158447265625, 0.08282470703125, 0.2158203125, 0.1868896484375, 0.2568359375, 0.040252685546875, 0.1708984375, 0.1561279296875, 0.16845703125, 0.1722412109375, 0.13720703125, 0.0863037109375, 0.0540771484375, 0.18115234375, 0.104248046875, 0.088623046875, 0.0489501953125, 0.01841...
embed
58443530_c0
58443530
julia
0
Title: Julia - Check object has attribute Problem title: Julia - Check object has attribute Tags: oop, julia Problem: Julia - Check object has attribute Suppose I have struct as below. struct Foo attr1 attr2 end I can then instantiate and get the attr1 and attr2 julia> foo = Foo(1,2) julia> foo.attr1 1 I'm just wonderi...
Julia - Check object has attribute Julia - Check object has attribute oop julia Julia Check Foo attr1 attr2 foo.attr1 Julia - Check object has attribute Suppose I have struct as below. I can then instantiate and get the attr1 and attr2 I'm just wondering if I can do any checking that my object foo has attr1 ? For refer...
[ 0.0247802734375, 0.0027618408203125, -0.021728515625, -0.00799560546875, 0.007568359375, 0.0035552978515625, 0.017578125, -0.00125885009765625, -0.014892578125, -0.00150299072265625, 0.004150390625, -0.00421142578125, 0.00885009765625, -0.0002155303955078125, 0.0022125244140625, -0.016...
[ 60592, 20, 38679, 36746, 1556, 150380, 13, 32500, 14801, 11, 9572, 31, 243, 42, 418, 304, 5775, 27639, 121691, 765, 36716, 237, 35064, 831, 34648, 101426, 2046, 136, 149016, 54, 2499, 175199, 450, 759, 91067, 17198, 50828, 256, 22332, 661...
[ 0.316650390625, 0.045745849609375, 0.2410888671875, 0.1910400390625, 0.1517333984375, 0.2413330078125, 0.0692138671875, 0.1580810546875, 0.232177734375, 0.1826171875, 0.16064453125, 0.1490478515625, 0.1478271484375, 0.1416015625, 0.1312255859375, 0.1383056640625, 0.142822265625, 0....
embed
79226303_c0
79226303
julia
0
Title: Disconnect from client in MongoDB in Julia Problem title: Disconnect from client in MongoDB in Julia Tags: mongodb, client, julia Problem: Disconnect from client in MongoDB in Julia After connecting a client to Mongoc with Julia (Version 1.11.1). I try to disconnect. I found this : julia> destroy!(client) ERROR:...
Disconnect from client in MongoDB in Julia Disconnect from client in MongoDB in Julia mongodb client julia UndefVarError client Disconnect MongoDB Julia ERROR Main Suggestion Stacktrace REPL Disconnect from client in MongoDB in Julia After connecting a client to Mongoc with Julia (Version 1.11.1). I try to disconnect. ...
[ 0.0167236328125, 0.0172119140625, 0.0037078857421875, 0.0260009765625, -0.0012359619140625, -0.010498046875, -0.0093994140625, -0.0089111328125, -0.0172119140625, -0.0086669921875, 0.0106201171875, -0.01043701171875, -0.00007915496826171875, -0.0186767578125, 0.01373291015625, -0.01080...
[ 6206, 135457, 1295, 23282, 23, 7465, 519, 39463, 60592, 2667, 7803, 275, 14801, 11, 5533, 4240, 81827, 18468, 151206, 12321, 104235, 6512, 32111, 99407, 9069, 21130, 37067, 47, 144743, 6652, 678, 178390, 38245, 92134, 9790, 2837, 14037, 903, ...
[ 0.08880615234375, 0.255859375, 0.1536865234375, 0.2149658203125, 0.0927734375, 0.1160888671875, 0.191162109375, 0.259033203125, 0.314453125, 0.07012939453125, 0.073974609375, 0.0833740234375, 0.1732177734375, 0.099853515625, 0.044677734375, 0.1064453125, 0.16259765625, 0.0453186035...
embed
56284352_c0
56284352
julia
0
Title: Create a Julia Datetime from a TimePeriod and StartDate Problem title: Create a Julia Datetime from a TimePeriod and StartDate Tags: julia Problem: Create a Julia Datetime from a TimePeriod and StartDate I want to convert an Int64 representing the number of microseconds passed since 12:00:00 midnight, January 1,...
Create a Julia Datetime from a TimePeriod and StartDate Create a Julia Datetime from a TimePeriod and StartDate julia a Create Julia Datetime TimePeriod StartDate Dates.Microsecond Dates.format HH:MM:SS.sss Create a Julia Datetime from a TimePeriod and StartDate I want to convert an Int64 representing the number of mic...
[ 0.0152587890625, 0.0177001953125, -0.01019287109375, 0.0205078125, -0.0118408203125, 0.00396728515625, 0.006378173828125, 0.0002956390380859375, -0.00396728515625, -0.03466796875, 0.0166015625, 0.022705078125, 0.01116943359375, 0.01171875, -0.0023956298828125, -0.00457763671875, -0.0...
[ 151313, 10, 60592, 25512, 6032, 1295, 19055, 15277, 14, 2199, 136, 13794, 86291, 14801, 11, 10581, 15322, 191633, 51727, 78288, 25590, 15268, 7, 3444, 96760, 360, 18, 13307, 33636, 14012, 11948, 115081, 16792, 40008, 6632, 4122, 54350, 18982,...
[ 0.14697265625, 0.0626220703125, 0.3125, 0.1668701171875, 0.255615234375, 0.1334228515625, 0.0989990234375, 0.0892333984375, 0.09820556640625, 0.097412109375, 0.0604248046875, 0.1302490234375, 0.1876220703125, 0.205322265625, 0.1424560546875, 0.04595947265625, 0.111083984375, 0.2364...
embed
33856959_c0
33856959
julia
0
Title: How to decrease the points border line width in gadfly Problem title: How to decrease the points border line width in gadfly Tags: julia, gadfly Problem: How to decrease the points border line width in gadfly I'm trying to plot 100k points in a scatter plot. I couldn't distinguish between the points as the line ...
How to decrease the points border line width in gadfly How to decrease the points border line width in gadfly julia gadfly How Geom.point Theme panel_fill default_point_size default_color How to decrease the points border line width in gadfly I'm trying to plot 100k points in a scatter plot. I couldn't distinguish betw...
[ 0.01806640625, 0.0133056640625, 0.00106048583984375, -0.0169677734375, 0.00537109375, -0.03466796875, 0.002685546875, 0.00009822845458984375, 0.00994873046875, 0.0174560546875, 0.000522613525390625, -0.0177001953125, -0.01483154296875, -0.00836181640625, 0.01080322265625, 0.02026367187...
[ 11249, 47, 227204, 26847, 132988, 13315, 146984, 23, 15575, 35121, 70, 14801, 11, 2206, 306, 38496, 104384, 16138, 116115, 114977, 62539, 46133, 31577, 23577, 805, 92, 16275, 3055, 157167, 17721, 10932, 5792, 6957, 3917, 87388 ]
[ 0.0635986328125, 0.0638427734375, 0.2470703125, 0.177490234375, 0.22119140625, 0.15771484375, 0.201904296875, 0.055908203125, 0.14111328125, 0.2130126953125, 0.02008056640625, 0.11279296875, 0.0882568359375, 0.0200958251953125, 0.0836181640625, 0.129150390625, 0.1082763671875, 0.09...
embed
65686031_c0
65686031
julia
0
Title: Combinations adding up to a target - Julia lang Problem title: Combinations adding up to a target - Julia lang Tags: knapsack-problem, julia-jump, combinations, julia Problem: Combinations adding up to a target - Julia lang I am new to Julia, I've asked this question in a simpler form, I need to expand it a bit ...
Combinations adding up to a target - Julia lang Combinations adding up to a target - Julia lang knapsack-problem julia-jump combinations julia JuMP Combinations Julia Group Cbc Model Cbc.Optimizer Bin res_x Combinations adding up to a target - Julia lang I am new to Julia, I've asked this question in a simpler form, I ...
[ -0.017822265625, 0.0211181640625, -0.032470703125, 0.0174560546875, 0.013916015625, 0.034912109375, 0.010498046875, 0.006683349609375, 0.01531982421875, -0.0145263671875, -0.0162353515625, -0.01708984375, 0.007232666015625, 0.0047607421875, 0.005645751953125, -0.007171630859375, 0.01...
[ 106935, 19, 21094, 154107, 1257, 47, 30388, 60592, 1937, 98099, 433, 2594, 38953, 14801, 11, 461, 2676, 162515, 3314, 9088, 10760, 65037, 13293, 39029, 20520, 4383, 16666, 3332, 425, 3525, 71062, 3871, 7413, 101935, 10298, 450, 15190, 24233, ...
[ 0.19189453125, 0.166259765625, 0.104736328125, 0.18212890625, 0.146728515625, 0.1187744140625, 0.277587890625, 0.2783203125, 0.140625, 0.11669921875, 0.1141357421875, 0.1239013671875, 0.1663818359375, 0.1668701171875, 0.134033203125, 0.1043701171875, 0.1485595703125, 0.245849609375...
embed
36961520_c1
36961520
julia
1
? I choose Gadfly as I am more comfortable with the ggplot syntax, but I kept coming across plots() and the Pyplot() packages in my googling. EDIT/WORKING CODE: I got it working, the sticking point was to pass the log of the desired breakpoints. Much thanks to Felipe for the lambda function, I was not familiar with how...
? I choose Gadfly as I am more comfortable with the ggplot syntax, but I kept coming across plots() and the Pyplot() packages in my googling. EDIT/WORKING CODE: I got it working, the sticking point was to pass the log of the desired breakpoints. Much thanks to Felipe for the lambda function, I was not familiar with how...
[ 0.0174560546875, 0.0269775390625, 0.01336669921875, -0.0225830078125, 0.00982666015625, 0.00323486328125, 0.0196533203125, -0.006988525390625, 0.01251220703125, 0.00154876708984375, 0.017578125, -0.0361328125, 0.001190185546875, -0.030029296875, 0.0245361328125, -0.0081787109375, -0....
[ 705, 87, 55076, 99047, 35121, 1286, 104577, 70, 6, 9815, 105710, 6002, 86531, 93544, 36880, 23577, 7, 132, 27512, 98169, 8244, 8399, 4163, 442, 20697, 47593, 214, 6275, 27875, 12684, 104851, 36356, 38496, 120686, 21, 6492, 85, 32354, 16031,...
[ 0.055908203125, 0.042022705078125, 0.17529296875, 0.22216796875, 0.32421875, 0.05517578125, 0.13134765625, 0.032958984375, 0.0172576904296875, 0.122314453125, 0.278564453125, 0.0633544921875, 0.1492919921875, 0.006805419921875, 0.0164337158203125, 0.181640625, 0.04571533203125, 0.0...
embed
74531234_c0
74531234
julia
0
Title: Is it possible to set a specific alignment for each part of the text within a Term.jl's Panel? Problem title: Is it possible to set a specific alignment for each part of the text within a Term.jl's Panel? Tags: julia Problem: Is it possible to set a specific alignment for each part of the text within a...
Is it possible to set a specific alignment for each part of the text within a Term.jl's Panel? Is it possible to set a specific alignment for each part of the text within a Term.jl's Panel? julia Term Term.jl Panel Is it possible to set a specific alignment for each part of the text within a Term.jl's Panel? ...
[ 0.01953125, -0.00823974609375, -0.00933837890625, 0.04443359375, -0.0008392333984375, -0.0009918212890625, -0.0013580322265625, 0.01275634765625, -0.004608154296875, 0.05419921875, 0.0125732421875, 0.00897216796875, 0.00787353515625, 0.0115966796875, 0.007720947265625, 0.0093994140625,...
[ 2071, 442, 7722, 5423, 29458, 6, 143420, 674, 100, 12638, 2831, 7986, 28032, 2994, 39, 51349, 3768, 84291, 14801, 11, 5, 3444, 59911, 140992, 37842, 4966, 2856, 756, 47, 70, 25737, 16940 ]
[ 0.0295257568359375, 0.009033203125, 0.1488037109375, 0.1571044921875, 0.1888427734375, 0.00250244140625, 0.27783203125, 0.148681640625, 0.0192413330078125, 0.070556640625, 0.13134765625, 0.175537109375, 0.09820556640625, 0.1395263671875, 0.08642578125, 0.175048828125, 0.0388793945312...
embed
69163519_c0
69163519
julia
0
Title: Can you create a singleton in Julia? Problem title: Can you create a singleton in Julia? Tags: julia Problem: Can you create a singleton in Julia? I know that Julia does not have OOP but that multiple dispatch enables similar ideas. Given how seemingly contentious the use of singletons are in Python, I am wonder...
Can you create a singleton in Julia? Can you create a singleton in Julia? julia Can Julia Can you create a singleton in Julia? I know that Julia does not have OOP but that multiple dispatch enables similar ideas. Given how seemingly contentious the use of singletons are in Python, I am wondering if there is a similar i...
[ 0.014892578125, 0.0263671875, 0.000812530517578125, 0.002166748046875, 0.0196533203125, 0.01446533203125, 0.0223388671875, -0.01202392578125, 0.00787353515625, -0.02880859375, -0.0230712890625, -0.019775390625, 0.0038299560546875, -0.01055908203125, 0.0052490234375, -0.0096435546875, ...
[ 4171, 398, 28282, 10, 11001, 1507, 23, 60592, 14801, 11, 959, 765, 180, 20880, 48716, 58580, 257, 206, 22, 19736, 21373, 25647, 10941, 14, 4527, 67772, 145581, 149016, 6528, 36716, 831, 4734, 34648, 24145, 3917, 64549, 748, 13695, 28560, ...
[ 0.108642578125, 0.055511474609375, 0.1986083984375, 0.08209228515625, 0.2127685546875, 0.2337646484375, 0.122802734375, 0.316162109375, 0.19189453125, 0.1402587890625, 0.0208282470703125, 0.0030517578125, 0.0533447265625, 0.179931640625, 0.10107421875, 0.060791015625, 0.0709228515625...
embed
64565276_c0
64565276
julia
0
Title: Julia DataFrames - How to do one-hot encoding? Problem title: Julia DataFrames - How to do one-hot encoding? Tags: julia, dataframe, one-hot-encoding Problem: Julia DataFrames - How to do one-hot encoding? I'm using Julia's DataFrames.jl package. In it, I have a dataframe with a columns containing a list of stri...
Julia DataFrames - How to do one-hot encoding? Julia DataFrames - How to do one-hot encoding? julia dataframe one-hot-encoding Julia DataFrames How Original Dataframe col1 col2 After One-hot Julia DataFrames - How to do one-hot encoding? I'm using Julia's DataFrames.jl package. In it, I have a dataframe with a columns ...
[ 0.046875, -0.000919342041015625, -0.007537841796875, 0.019287109375, 0.011474609375, 0.0001583099365234375, 0.025146484375, -0.005157470703125, 0.00537109375, 0.01190185546875, -0.0322265625, -0.00537109375, -0.003570556640625, 0.01458740234375, -0.00543212890625, -0.01708984375, 0.0...
[ 60592, 11809, 108386, 3716, 11249, 47, 54, 1632, 9, 21620, 22, 587, 6238, 14801, 11, 2053, 160328, 66332, 34525, 3365, 418, 304, 24372, 6561, 17368, 5, 51349, 98169, 765, 678, 316, 70541, 5303, 79315, 196707, 62, 335, 391, 14602, 7068, ...
[ 0.27880859375, 0.0936279296875, 0.181396484375, 0.1519775390625, 0.096435546875, 0.0269012451171875, 0.0799560546875, 0.1890869140625, 0.0169677734375, 0.251220703125, 0.0960693359375, 0.18212890625, 0.1400146484375, 0.18115234375, 0.145263671875, 0.0972900390625, 0.2205810546875, ...
embed
16878256_c0
16878256
julia
0
Title: Julia error: no method haskey(Dict{String,Dict{String,String}},ASCIIString) Problem title: Julia error: no method haskey(Dict{String,Dict{String,String}},ASCIIString) Tags: julia Problem: Julia error: no method haskey(Dict{String,Dict{String,String}},ASCIIString) Code signals: Base.haskey, Graphics.set_source, a...
Julia error: no method haskey(Dict{String,Dict{String,String}},ASCIIString) Julia error: no method haskey(Dict{String,Dict{String,String}},ASCIIString) julia Base.haskey Graphics.set_source at Julia Dict ASCIIString example1.jl Warning Inifile Color ERROR Users thinkpad20 IniFile.jl:41 IniFile.jl:67 Winston Winston.jl:...
[ 0.0213623046875, 0.023681640625, 0.006561279296875, 0.006622314453125, 0.0240478515625, -0.01348876953125, 0.00014209747314453125, -0.01531982421875, -0.0115966796875, 0.0220947265625, -0.00131988525390625, -0.001251220703125, -0.000553131103515625, 0.004150390625, 0.0062255859375, -0....
[ 60592, 18499, 110, 55300, 1556, 19770, 14055, 15390, 71713, 214, 134165, 2852, 14801, 11, 44978, 10557, 189682, 3509, 60427, 99, 60897, 18, 125429, 10001, 27781, 51349, 5550, 5933, 29822, 51193, 151206, 53400, 5351, 4299, 1549, 174350, 31982, ...
[ 0.30615234375, 0.18310546875, 0.150146484375, 0.207763671875, 0.15625, 0.2337646484375, 0.1070556640625, 0.080810546875, 0.1280517578125, 0.04974365234375, 0.09033203125, 0.139892578125, 0.208984375, 0.152099609375, 0.186767578125, 0.134033203125, 0.1925048828125, 0.06170654296875,...
embed
59834496_c0
59834496
julia
0
Title: Iterators product on array of arrays Problem title: Iterators product on array of arrays Tags: julia Problem: Iterators product on array of arrays How can I create an iterator on the product of arrays, from an array of arrays? The Array size not predetermined. Basically the following works as I wish: for i in Ba...
Iterators product on array of arrays Iterators product on array of arrays julia Iterators Base.Iterators.product Iterators product on array of arrays How can I create an iterator on the product of arrays, from an array of arrays? The Array size not predetermined. Basically the following works as I wish: But I would lik...
[ 0.0016021728515625, 0.00665283203125, -0.01300048828125, 0.006317138671875, -0.01458740234375, 0.00244140625, 0.01123046875, -0.007049560546875, 0.001922607421875, -0.0123291015625, 0.0006103515625, 0.0220947265625, 0.00799560546875, -0.0167236328125, 0.001190185546875, -0.0078125, 0...
[ 87, 8560, 22230, 12996, 98, 10298, 53, 111, 4778, 14801, 11, 44978, 568, 57877, 11249, 831, 28282, 142, 17, 720, 4597, 70, 1295, 69253, 13267, 959, 1653, 13, 30524, 25632, 43240, 237, 32599, 4966, 2806, 1884, 4488, 100, 1284, 12921, 167...
[ 0.1083984375, 0.2529296875, 0.1761474609375, 0.2388916015625, 0.124267578125, 0.1793212890625, 0.137939453125, 0.1566162109375, 0.13916015625, 0.1317138671875, 0.0694580078125, 0.1339111328125, 0.056640625, 0.183349609375, 0.020721435546875, 0.054473876953125, 0.1715087890625, 0.01...
embed
35387703_c0
35387703
julia
0
Title: The principle of binary representation of data types in Julia Problem title: The principle of binary representation of data types in Julia Tags: julia Problem: The principle of binary representation of data types in Julia julia> type TestA a::Int32 b::Int64 end julia> type TestB a::Int64 b::Int64 end julia> size...
The principle of binary representation of data types in Julia The principle of binary representation of data types in Julia julia Julia TestA a::Int32 b::Int64 TestB a::Int64 The principle of binary representation of data types in Julia I am expeced that sizeof(TestA) will be 4+8=12. I am curious about the principle be...
[ 0.0306396484375, 0.004974365234375, 0.000579833984375, 0.054443359375, -0.006195068359375, 0.01416015625, -0.005706787109375, 0.007049560546875, 0.003173828125, 0.0306396484375, 0.003082275390625, -0.0185546875, 0, 0.01275634765625, 0.0167236328125, 0.000415802001953125, 0.0223388671...
[ 24702, 133, 2394, 6635, 18811, 1363, 2053, 52895, 23, 60592, 14801, 11, 8647, 284, 10, 18, 6460, 876, 13307, 571, 14700, 13267, 4390, 111337, 1221, 201, 1328, 1019, 1369, 1530, 193844, 50155, 28302, 44084, 136, 765, 5701, 461, 7884, 3066,...
[ 0.1761474609375, 0.09698486328125, 0.1998291015625, 0.15283203125, 0.2281494140625, 0.012298583984375, 0.1263427734375, 0.212158203125, 0.0618896484375, 0.30078125, 0.1815185546875, 0.08563232421875, 0.193603515625, 0.184326171875, 0.0386962890625, 0.032562255859375, 0.1317138671875,...
embed
77634296_c0
77634296
julia
0
Title: Julia, read data from text file (Fortran- like) Problem title: Julia, read data from text file (Fortran- like) Tags: file, julia, readline Problem: Julia, read data from text file (Fortran- like) How to convert following simple Fortran to Julia? integer n,i,ne,m,k(10,2) real x(10),a(10) open(1,'t.txt') READ(1,*)...
Julia, read data from text file (Fortran- like) Julia, read data from text file (Fortran- like) file julia readline text Julia Fortran t.txt READ Julia, read data from text file (Fortran- like) How to convert following simple Fortran to Julia? The contents of file t.txt could be I'm old Fortraner. I made several attemp...
[ 0.033447265625, -0.00799560546875, 0.000888824462890625, 0.02197265625, 0.014404296875, -0.0169677734375, 0.021728515625, 0.009521484375, -0.0045166015625, -0.002532958984375, -0.0086669921875, -0.01190185546875, -0.032958984375, -0.01202392578125, -0.001953125, -0.017333984375, 0.00...
[ 60592, 4, 12301, 2053, 1295, 7986, 11435, 18537, 50713, 1884, 14801, 11, 2256, 19953, 1603, 808, 5, 124326, 188300, 11249, 47, 96760, 25632, 8781, 10941, 5809, 186, 10332, 56, 40368, 81887, 15490, 84434 ]
[ 0.314453125, 0.020263671875, 0.1839599609375, 0.138671875, 0.1199951171875, 0.15673828125, 0.1519775390625, 0.09381103515625, 0.1937255859375, 0.123779296875, 0.2039794921875, 0.14990234375, 0.1771240234375, 0.1455078125, 0.250244140625, 0.1285400390625, 0.0145416259765625, 0.21289...
embed
69603153_c0
69603153
julia
0
Title: why the performance different when I calling two times and have low complie times occupation rate? Problem title: why the performance different when I calling two times and have low complie times occupation rate? Tags: julia Problem: why the performance different when I calling two times and have low complie tim...
why the performance different when I calling two times and have low complie times occupation rate? why the performance different when I calling two times and have low complie times occupation rate? julia why the performance different when I calling two times and have low complie times occupation rate? this is three fun...
[ 0.004119873046875, -0.00592041015625, -0.017333984375, 0.02197265625, 0.0140380859375, -0.00079345703125, 0.005767822265625, 0.01171875, 0.0022735595703125, -0.0057373046875, 0.00299072265625, 0.01165771484375, -0.0177001953125, -0.0240478515625, 0.0196533203125, 0.0035247802734375, ...
[ 15400, 23718, 12921, 159029, 6626, 20028, 765, 27226, 9969, 6387, 167618, 34515, 14801, 11, 3229, 87, 136, 17262, 32354, 5117, 11782, 17932, 53383, 51584, 6305, 27781, 1340, 1733, 31635, 16648, 135913, 75616, 1305, 2046, 821, 58627, 5, 2500, ...
[ 0.1407470703125, 0.22119140625, 0.162841796875, 0.1788330078125, 0.1522216796875, 0.208251953125, 0.043487548828125, 0.1702880859375, 0.1414794921875, 0.1781005859375, 0.1934814453125, 0.1287841796875, 0.2091064453125, 0.152587890625, 0.0244140625, 0.011993408203125, 0.1031494140625,...
embed
65749844_c0
65749844
julia
0
Title: Julia, merge 2d array onto 3d array? Problem title: Julia, merge 2d array onto 3d array? Tags: arrays, concatenation, julia Problem: Julia, merge 2d array onto 3d array? I have a 3d array, and would like to copy the bottom "slice", i.e. final row of all columns and dim3, and then paste it on the bottom of the or...
Julia, merge 2d array onto 3d array? Julia, merge 2d array onto 3d array? arrays concatenation julia Julia Array Int64 ERROR DimensionMismatch Julia, merge 2d array onto 3d array? I have a 3d array, and would like to copy the bottom "slice", i.e. final row of all columns and dim3, and then paste it on the bottom of the...
[ 0.01458740234375, 0.025390625, -0.0067138671875, -0.0026702880859375, 0.005035400390625, -0.000530242919921875, -0.010986328125, 0.01165771484375, 0.0015411376953125, 0.01123046875, 0.011962890625, -0.03076171875, 0.00124359130859375, -0.01263427734375, -0.0198974609375, -0.01403808593...
[ 60592, 42564, 116, 71, 10298, 53, 98, 188, 138, 4778, 158, 4460, 33, 14801, 11, 69253, 13307, 151206, 161202, 130777, 98753, 1884, 43658, 103136, 13348, 2704, 15555, 756, 3365, 316, 34355, 363, 71099, 16916, 104, 63769, 26518, 37842, 24592,...
[ 0.2958984375, 0.2489013671875, 0.1519775390625, 0.1416015625, 0.1912841796875, 0.1461181640625, 0.073486328125, 0.110595703125, 0.159423828125, 0.071533203125, 0.07415771484375, 0.1099853515625, 0.092529296875, 0.2010498046875, 0.0999755859375, 0.1337890625, 0.1500244140625, 0.0731...
embed
73235277_c0
73235277
julia
0
Title: Adding evenly spaced axis ticks on log axis plot in Julia Problem title: Adding evenly spaced axis ticks on log axis plot in Julia Tags: plot, julia Problem: Adding evenly spaced axis ticks on log axis plot in Julia I'm trying to so get a plot in Julia to show tick labels for each power of 10 on the y axis, when...
Adding evenly spaced axis ticks on log axis plot in Julia Adding evenly spaced axis ticks on log axis plot in Julia plot julia Adding Julia LinRange Adding evenly spaced axis ticks on log axis plot in Julia I'm trying to so get a plot in Julia to show tick labels for each power of 10 on the y axis, when I run the follo...
[ 0.022216796875, 0.0084228515625, 0.0196533203125, -0.0201416015625, 0.013671875, 0.0035247802734375, 0.00113677978515625, -0.0031585693359375, -0.00482177734375, 0.001800537109375, 0.016845703125, 0.0103759765625, -0.0263671875, -0.0185546875, 0.0146484375, -0.01495361328125, 0.00037...
[ 62, 59725, 3853, 538, 32628, 71, 10, 33102, 1053, 22824, 98, 12684, 23577, 23, 60592, 14801, 11, 25497, 1052, 51459, 7639, 2594, 67967, 12638, 14537, 111, 209, 113, 11675, 16188, 4734, 8353, 9193, 136, 2389, 15190, 100, 1286, 4527, 118, ...
[ 0.058135986328125, 0.06536865234375, 0.1650390625, 0.07818603515625, 0.1400146484375, 0.055908203125, 0.03900146484375, 0.13916015625, 0.1737060546875, 0.14990234375, 0.058013916015625, 0.0997314453125, 0.14599609375, 0.049102783203125, 0.267822265625, 0.14794921875, 0.05316162109375...
embed
46103307_c0
46103307
julia
0
Title: Docker Julia dependency Problem title: Docker Julia dependency Tags: docker, julia-jump, julia Problem: Docker Julia dependency Julia is installed on my host machine. Julia script runs very well from here. I invoke docker with shared Julia installation directories. Julia script is run from these shared directori...
Docker Julia dependency Docker Julia dependency docker julia-jump julia Docker Julia Docker Julia dependency Julia is installed on my host machine. Julia script runs very well from here. I invoke docker with shared Julia installation directories. Julia script is run from these shared directories within docker (i.e. the...
[ 0.01318359375, 0.00762939453125, -0.00445556640625, 0.0250244140625, 0.00592041015625, 0.0166015625, 0.00543212890625, -0.023681640625, -0.00958251953125, -0.0123291015625, -0.017822265625, -0.0208740234375, -0.01556396484375, 0.0172119140625, 0.0086669921875, -0.0107421875, 0.005249...
[ 984, 11050, 60592, 42548, 27771, 54, 14801, 11, 461, 2676, 20600, 297, 98, 759, 27980, 36279, 26499, 127877, 4552, 5299, 1295, 3688, 23, 23253, 678, 99764, 59720, 14364, 3387, 11675, 6097, 28032, 2685, 110, 29569, 46132, 87, 2046, 25632, ...
[ 0.1317138671875, 0.2144775390625, 0.320068359375, 0.1522216796875, 0.016998291015625, 0.1025390625, 0.232177734375, 0.178955078125, 0.1776123046875, 0.1507568359375, 0.11962890625, 0.0535888671875, 0.013092041015625, 0.0276947021484375, 0.0789794921875, 0.0377197265625, 0.19384765625...
embed
79253933_c0
79253933
julia
0
Title: How do I redirect a request to another page? Problem title: How do I redirect a request to another page? Tags: genie.jl, julia Problem: How do I redirect a request to another page? route("/home") do s = GenieSession.session() if !GenieSession.isset(s, :userId) redirect(:login) end end This is a part of the main ...
How do I redirect a request to another page? How do I redirect a request to another page? genie.jl julia How GenieSession.session GenieSession.isset genie.jl How do I redirect a request to another page? This is a part of the main page of a web app and if the user is not logged in, the user should be redirected to the l...
[ 0.00025177001953125, 0.0185546875, 0.0125732421875, -0.01318359375, -0.0106201171875, 0.0027618408203125, -0.004302978515625, -0.01092529296875, -0.01080322265625, -0.053466796875, 0.0108642578125, -0.018798828125, -0.04150390625, 0.0027923583984375, -0.0072021484375, 0.0040283203125, ...
[ 11249, 54, 87, 456, 80581, 10, 50336, 47, 15700, 9191, 38240, 13, 51349, 14801, 11, 71491, 294, 90, 6889, 169234, 63700, 3293, 2831, 5201, 1467, 4027, 2174, 38937, 959, 73088, 5608, 73655, 209806, 6713, 1884, 3884, 4332, 214, 398, 3934, ...
[ 0.0936279296875, 0.052337646484375, 0.0303802490234375, 0.135009765625, 0.282958984375, 0.0635986328125, 0.2227783203125, 0.2000732421875, 0.1485595703125, 0.1993408203125, 0.1278076171875, 0.086181640625, 0.1185302734375, 0.10235595703125, 0.08001708984375, 0.1484375, 0.053192138671...
embed
36639887_c0
36639887
julia
0
Title: How to change parametric type during instantiation in Julia Problem title: How to change parametric type during instantiation in Julia Tags: parameterized-constructor, types, julia Problem: How to change parametric type during instantiation in Julia I'm trying to do the following type Foo{T} x::changeType(T) end...
How to change parametric type during instantiation in Julia How to change parametric type during instantiation in Julia parameterized-constructor types julia How Julia Foo x::changeType How to change parametric type during instantiation in Julia I'm trying to do the following where the function changeType changes the t...
[ -0.004638671875, -0.0012359619140625, -0.00897216796875, 0.0135498046875, 0.0194091796875, -0.00994873046875, 0.00193023681640625, -0.0029296875, 0.0050048828125, 0.01092529296875, 0.0027618408203125, -0.0235595703125, -0.0101318359375, -0.00390625, 0.0036163330078125, -0.030029296875,...
[ 11249, 47, 15549, 121, 186518, 10644, 20271, 34648, 14, 2320, 23, 60592, 171859, 29367, 36716, 748, 52895, 14801, 11, 9572, 31, 1022, 152028, 196707, 31577, 25632, 32354, 65572, 3789, 17723, 45, 10763, 111789, 64, 13, 3917, 903, 18499 ]
[ 0.0858154296875, 0.06494140625, 0.211669921875, 0.1396484375, 0.184814453125, 0.21142578125, 0.1336669921875, 0.14794921875, 0.154541015625, 0.083740234375, 0.074462890625, 0.28564453125, 0.1739501953125, 0.056854248046875, 0.061859130859375, 0.0193634033203125, 0.1541748046875, 0....
embed
45657887_c0
45657887
julia
0
Title: Regular expression to split a string in Julia Problem title: Regular expression to split a string in Julia Tags: regex, julia Problem: Regular expression to split a string in Julia I have strings that I need to split them each time I see one of "^" or "+" character. Specifically, I need to to it in julia but I g...
Regular expression to split a string in Julia Regular expression to split a string in Julia regex julia Regular Julia Verb Pos Noun Inf2 A3sg Pnon Nom Regular expression to split a string in Julia I have strings that I need to split them each time I see one of "^" or "+" character. Specifically, I need to to it in juli...
[ -0.023681640625, 0.00174713134765625, -0.01287841796875, 0.037353515625, 0.00087738037109375, 0.02392578125, 0.00958251953125, 0.001708984375, 0.0009765625, -0.0186767578125, -0.00543212890625, -0.005828857421875, -0.0257568359375, -0.00762939453125, -0.005279541015625, -0.005462646484...
[ 47881, 42, 125195, 47, 65450, 79315, 23, 60592, 6835, 3355, 14801, 11, 1446, 275, 13498, 309, 46757, 304, 62, 363, 177, 6431, 438, 39, 7, 3871, 12638, 1733, 1957, 111, 8353, 1328, 62816, 442, 11678, 41371, 33106, 4488, 27781, 100231, 39...
[ 0.2181396484375, 0.046630859375, 0.2391357421875, 0.066650390625, 0.2216796875, 0.25341796875, 0.1148681640625, 0.299560546875, 0.134765625, 0.1771240234375, 0.210205078125, 0.161376953125, 0.100830078125, 0.037628173828125, 0.1107177734375, 0.0791015625, 0.06304931640625, 0.042266...
embed
56335785_c0
56335785
julia
0
Title: Using dropdown selection with Plotly Julia Problem title: Using dropdown selection with Plotly Julia Tags: interactive, plotly, plots.jl, julia Problem: Using dropdown selection with Plotly Julia Using Plotly in Julia, I would like to filter the plot data based on the selection event for a dropdown as shown in t...
Using dropdown selection with Plotly Julia Using dropdown selection with Plotly Julia interactive plotly plots.jl julia Using Plotly Julia plots.jl Using dropdown selection with Plotly Julia Using Plotly in Julia, I would like to filter the plot data based on the selection event for a dropdown as shown in the example f...
[ 0.0040283203125, 0.0274658203125, -0.01611328125, -0.007049560546875, -0.004974365234375, -0.001007080078125, 0.01708984375, 0.00051116943359375, -0.000054836273193359375, 0.00811767578125, -0.0234375, -0.012939453125, -0.03173828125, -0.01177978515625, -0.00726318359375, 0.00579833984...
[ 345, 36069, 34695, 132216, 678, 168763, 538, 60592, 212398, 23577, 7, 51349, 14801, 11, 1884, 46312, 2053, 35509, 19732, 100, 27781, 76465, 7225, 145581, 64977, 209806, 3642, 54, 214, 82424, 959, 8060, 132283 ]
[ 0.04119873046875, 0.1260986328125, 0.1324462890625, 0.19970703125, 0.01373291015625, 0.187255859375, 0.179443359375, 0.259521484375, 0.0927734375, 0.1817626953125, 0.01092529296875, 0.0894775390625, 0.1346435546875, 0.07122802734375, 0.0396728515625, 0.215087890625, 0.1175537109375, ...
embed
75060708_c0
75060708
julia
0
Title: PyJulia: %julia magic ignores local assigments Problem title: PyJulia: %julia magic ignores local assigments Tags: jupyter-notebook, julia Problem: PyJulia: %julia magic ignores local assigments I'm getting weird results when using the %julia magic inside of functions. Here is a minimal example (copied from the ...
PyJulia: %julia magic ignores local assigments PyJulia: %julia magic ignores local assigments jupyter-notebook julia julia PyJulia load_ext julia.magic PyJulia: %julia magic ignores local assigments I'm getting weird results when using the %julia magic inside of functions. Here is a minimal example (copied from the doc...
[ 0.0220947265625, 0.01361083984375, -0.002288818359375, 0.0142822265625, 0.01251220703125, -0.0040283203125, 0.0260009765625, -0.01007080078125, -0.0084228515625, 0.00408935546875, -0.004058837890625, 0.01470947265625, -0.00799560546875, -0.0012054443359375, 0.0164794921875, -0.01080322...
[ 27512, 105214, 399, 1745, 461, 7884, 49846, 124962, 7, 4000, 237, 20561, 9035, 1129, 6493, 720, 48345, 14137, 14801, 11, 72367, 3355, 18, 91088, 20949, 179459, 50339, 17368, 46132, 32354, 20187, 27781, 209806, 45380, 1294, 41206, 2046, 16750,...
[ 0.12890625, 0.206298828125, 0.193359375, 0.1383056640625, 0.175537109375, 0.1951904296875, 0.213623046875, 0.1798095703125, 0.031585693359375, 0.150146484375, 0.0535888671875, 0.193603515625, 0.104736328125, 0.0430908203125, 0.0836181640625, 0.1156005859375, 0.1273193359375, 0.1356...
embed
30795277_c0
30795277
julia
0
Title: How do I create a recursive typealias in julia? Problem title: How do I create a recursive typealias in julia? Tags: types, type-alias, recursion, julia Problem: How do I create a recursive typealias in julia? I would like to create a nested tuple type, that can hold itself, or the particular type it contains. S...
How do I create a recursive typealias in julia? How do I create a recursive typealias in julia? types type-alias recursion julia LoadError UndefVarError How NestedTuple Tuple Union How do I create a recursive typealias in julia? I would like to create a nested tuple type, that can hold itself, or the particular type it...
[ 0.00323486328125, 0.029052734375, -0.0030670166015625, 0.02685546875, 0.002197265625, 0.01409912109375, 0.00011110305786132812, 0.00775146484375, 0.0031585693359375, -0.01220703125, -0.000507354736328125, -0.031494140625, -0.01153564453125, 0.0201416015625, 0.026123046875, -0.009460449...
[ 11249, 28282, 195625, 5844, 10644, 41763, 7, 23, 14801, 11, 52895, 2091, 18468, 5533, 4240, 81827, 28701, 71, 15665, 8705, 1371, 32528, 54, 10, 1884, 8512, 370, 831, 16401, 68034, 17311, 70541, 18499, 8562, 3638, 16940, 121254 ]
[ 0.055908203125, 0.14404296875, 0.206787109375, 0.1934814453125, 0.2098388671875, 0.2216796875, 0.1533203125, 0.07330322265625, 0.2052001953125, 0.198974609375, 0.1466064453125, 0.0197906494140625, 0.034423828125, 0.0296630859375, 0.078125, 0.1190185546875, 0.176025390625, 0.0600585...
embed
14107226_c0
14107226
julia
0
Title: Constructing a multi-dimensional array in Julia Problem title: Constructing a multi-dimensional array in Julia Tags: multidimensional-array, julia Problem: Constructing a multi-dimensional array in Julia In MATLAB, the following syntax can be used to create 1-d matrix a and 2-d matrix b : a = [2,3] b = [2,3;4,5]...
Constructing a multi-dimensional array in Julia Constructing a multi-dimensional array in Julia multidimensional-array julia Constructing Julia Constructing a multi-dimensional array in Julia In MATLAB, the following syntax can be used to create 1-d matrix a and 2-d matrix b : In Julia, constructing the 1-d array a usi...
[ 0.0169677734375, 0.02001953125, -0.010986328125, 0.03759765625, 0.0089111328125, 0.00299072265625, -0.030029296875, 0.008544921875, -0.012939453125, 0.014404296875, -0.005279541015625, -0.03271484375, -0.00885009765625, -0.00714111328125, -0.012451171875, -0.0152587890625, -0.0011978...
[ 1657, 36716, 6024, 157955, 10298, 53, 23, 60592, 19305, 14801, 11, 52136, 89549, 25632, 6002, 86531, 831, 11814, 28282, 4317, 71, 50944, 425, 10, 136, 4720, 876, 360, 64549, 5701, 43240, 35782, 88606, 449, 28960, 102, 49086, 16610, 19774, ...
[ 0.0197601318359375, 0.137451171875, 0.07562255859375, 0.1595458984375, 0.134765625, 0.1138916015625, 0.051116943359375, 0.29638671875, 0.1085205078125, 0.1585693359375, 0.099609375, 0.06756591796875, 0.1851806640625, 0.0277252197265625, 0.08221435546875, 0.1826171875, 0.010498046875,...
embed
27639720_c0
27639720
julia
0
Title: Can I throw an error in c code just like Rcpp's stop() in Julia Problem title: Can I throw an error in c code just like Rcpp's stop() in Julia Tags: julia, c, c%2B%2B Problem: Can I throw an error in c code just like Rcpp's stop() in Julia In my origin C++ code, I use assert() , but if I want to use th...
Can I throw an error in c code just like Rcpp's stop() in Julia Can I throw an error in c code just like Rcpp's stop() in Julia julia c c%2B%2B Can Rcpp Julia Rcpp::stop CMD Can I throw an error in c code just like Rcpp's stop() in Julia In my origin C++ code, I use assert() , but if I want to use this code i...
[ 0.01904296875, 0.0281982421875, 0.0013275146484375, 0.002838134765625, 0.008056640625, 0.0125732421875, 0.01080322265625, -0.01123046875, -0.016845703125, -0.0245361328125, -0.00958251953125, -0.01312255859375, -0.00007486343383789062, -0.01312255859375, 0.0294189453125, 0.009765625, ...
[ 4171, 87, 104250, 142, 18499, 23, 501, 18151, 1660, 1884, 627, 238, 6366, 3768, 7279, 132, 60592, 14801, 11, 19111, 313, 44644, 59665, 37223, 4527, 237, 33657, 91995, 32354, 360, 831, 12, 23468, 678, 12765, 14373, 959, 31089 ]
[ 0.130615234375, 0.053924560546875, 0.1953125, 0.0272064208984375, 0.21240234375, 0.081298828125, 0.135498046875, 0.2149658203125, 0.043426513671875, 0.0811767578125, 0.116943359375, 0.060760498046875, 0.2286376953125, 0.0775146484375, 0.1954345703125, 0.113525390625, 0.30419921875, ...
embed
55629427_c0
55629427
julia
0
Title: How can you make a stacked area / line chart in Julia with Plots.jl? Problem title: How can you make a stacked area / line chart in Julia with Plots.jl? Tags: julia, plot, stacked-area-chart Problem: How can you make a stacked area / line chart in Julia with Plots.jl? I would like to create a stacked area chart,...
How can you make a stacked area / line chart in Julia with Plots.jl? How can you make a stacked area / line chart in Julia with Plots.jl? julia plot stacked-area-chart How Julia Plots.jl How can you make a stacked area / line chart in Julia with Plots.jl? I would like to create a stacked area chart, similar to this for...
[ -0.001434326171875, 0.014404296875, 0.0252685546875, 0.01806640625, -0.0098876953125, 0.00738525390625, 0.0079345703125, -0.01470947265625, -0.004638671875, 0.0029754638671875, -0.019287109375, -0.00799560546875, -0.00897216796875, 0.027099609375, -0.00168609619140625, 0.009765625, -...
[ 11249, 831, 398, 3249, 10, 177261, 297, 16128, 248, 13315, 116287, 23, 60592, 678, 168763, 7, 5, 51349, 14801, 11, 23577, 3464, 9254, 18, 1884, 28282, 21373, 903, 17368, 139124, 54, 105237, 4527, 99047, 35121, 27512, 683, 12631, 4420, 361...
[ 0.082275390625, 0.08770751953125, 0.0191650390625, 0.1226806640625, 0.0596923828125, 0.2232666015625, 0.130859375, 0.1824951171875, 0.07513427734375, 0.16162109375, 0.2396240234375, 0.091552734375, 0.28173828125, 0.07720947265625, 0.2313232421875, 0.136474609375, 0.045196533203125, ...
embed
71050392_c0
71050392
julia
0
Title: How to run a function on a separate thread in Julia? Problem title: How to run a function on a separate thread in Julia? Tags: julia Problem: How to run a function on a separate thread in Julia? I want to run a function on a separate core. I wrote a script that runs it asynchronously in parallel two times. const...
How to run a function on a separate thread in Julia? How to run a function on a separate thread in Julia? julia How Julia Channel my_function Task Thread Threads.threadid Info How to run a function on a separate thread in Julia? I want to run a function on a separate core. I wrote a script that runs it asynchronously i...
[ 0.00982666015625, -0.0086669921875, -0.0084228515625, -0.0013580322265625, 0.00168609619140625, -0.003570556640625, 0.0322265625, -0.00958251953125, -0.0205078125, -0.059326171875, 0.00072479248046875, 0.005035400390625, -0.01953125, 0.0093994140625, 0.021728515625, -0.00946044921875, ...
[ 11249, 47, 11675, 32354, 98, 10, 84797, 86997, 23, 60592, 14801, 11, 55969, 759, 137175, 9598, 136719, 39116, 532, 14048, 3444, 56458, 54397, 26499, 127877, 12654, 101966, 95103, 6626, 20028, 15044, 5701, 831, 12921 ]
[ 0.09417724609375, 0.06298828125, 0.1817626953125, 0.2249755859375, 0.152099609375, 0.078125, 0.233642578125, 0.2408447265625, 0.1014404296875, 0.296142578125, 0.16357421875, 0.1243896484375, 0.1435546875, 0.1060791015625, 0.209716796875, 0.089599609375, 0.175537109375, 0.0811767578...
embed
78342413_c0
78342413
julia
0
Title: Julia pmap not actually using multiple threads? Problem title: Julia pmap not actually using multiple threads? Tags: julia, parallel-processing Problem: Julia pmap not actually using multiple threads? I'm running julia --threads 4 Then the commands using Distributed @time pmap(x->begin println(x); sleep(1); prin...
Julia pmap not actually using multiple threads? Julia pmap not actually using multiple threads? julia parallel-processing multiple Distributed Julia MiB Julia pmap not actually using multiple threads? I'm running Then the commands I get the output Which clearly indicates that this is being run serially. Why is the code...
[ 0.01177978515625, 0.0230712890625, -0.00823974609375, 0.00469970703125, -0.0107421875, -0.002716064453125, 0.006805419921875, -0.016845703125, 0.0031280517578125, -0.01324462890625, -0.01141357421875, -0.00136566162109375, -0.0069580078125, -0.00177764892578125, -0.018798828125, -0.005...
[ 60592, 3592, 2631, 959, 20653, 17368, 48716, 86997, 7, 14801, 11, 95103, 63923, 214, 75571, 1208, 571, 51042, 75101, 140992, 123019, 117414, 83, 8035, 11675, 35686, 44084, 18151, 23 ]
[ 0.25439453125, 0.060333251953125, 0.1690673828125, 0.106201171875, 0.0799560546875, 0.10418701171875, 0.1669921875, 0.176513671875, 0.014312744140625, 0.1668701171875, 0.1546630859375, 0.1983642578125, 0.11376953125, 0.01025390625, 0.1170654296875, 0.091796875, 0.1226806640625, 0.0...
embed
47449177_c1
47449177
julia
1
izers trigger. Causing "a" and "b" both to be added to the fin_calls array. When b is also changed so something else, nothing further occurs. What is the correct way to understand what is going on? This is in julia 6.0 My ability to reproduce this seems varied. On original machine it showed for 0.6.0. On another machin...
izers trigger. Causing "a" and "b" both to be added to the fin_calls array. When b is also changed so something else, nothing further occurs. What is the correct way to understand what is going on? This is in julia 6.0 My ability to reproduce this seems varied. On original machine it showed for 0.6.0. On another machin...
[ 0.020751953125, -0.00994873046875, -0.0069580078125, -0.00180816650390625, 0.001678466796875, -0.006011962890625, 0.037841796875, -0.01214599609375, 0.0201416015625, 0.01123046875, -0.00592041015625, 0.032470703125, -0.005218505859375, 0.04150390625, 0.0179443359375, -0.0267333984375, ...
[ 445, 1314, 185553, 60570, 11, 136, 275, 15044, 49814, 2270, 454, 85763, 7, 10298, 53, 14847, 876, 2843, 98816, 221, 9844, 37076, 33720, 53333, 74918, 26785, 3917, 47, 28219, 2367, 7730, 98, 14801, 2289, 2389, 81273, 42238, 10861, 7311, 36...
[ 0.2105712890625, 0.26904296875, 0.317626953125, 0.1014404296875, 0.172119140625, 0.0789794921875, 0.14501953125, 0.1220703125, 0.1539306640625, 0.192626953125, 0.020477294921875, 0.2215576171875, 0.1151123046875, 0.0888671875, 0.044189453125, 0.0128173828125, 0.1383056640625, 0.000...
embed
64081468_c0
64081468
julia
0
Title: Reshaping a circular buffer to the thrid dimension Problem title: Reshaping a circular buffer to the thrid dimension Tags: julia Problem: Reshaping a circular buffer to the thrid dimension julia> data = CircularBuffer{Vector{Float64}}(4) 0-element CircularBuffer{Array{Float64,1}} julia> push!(data, rand(2)) 1-el...
Reshaping a circular buffer to the thrid dimension Reshaping a circular buffer to the thrid dimension julia DataStructures Reshaping Array Float64 CircularBuffer Vector ERROR DimensionMismatch Stacktrace _throw_dmrs Int64 Tuple reshapedarray.jl:180 _reshape reshapedarray.jl:175 reshapedarray.jl:112 Vararg reshapedarray...
[ -0.000308990478515625, 0.0162353515625, -0.00445556640625, 0.017822265625, -0.001312255859375, 0.01043701171875, 0.0108642578125, 0.01519775390625, -0.00122833251953125, 0.016845703125, -0.006866455078125, -0.0458984375, -0.0040283203125, -0.0036468505859375, -0.006011962890625, -0.016...
[ 853, 2420, 10366, 115339, 373, 18234, 47, 5675, 19040, 91403, 14801, 11, 11809, 71713, 18190, 69253, 38699, 13307, 209449, 42, 7235, 2609, 18770, 151206, 161202, 130777, 98753, 6512, 99407, 15555, 4295, 8705, 456, 1081, 7092, 51349, 39425, 10...
[ 0.1136474609375, 0.19677734375, 0.06353759765625, 0.2032470703125, 0.14404296875, 0.27001953125, 0.117919921875, 0.0302581787109375, 0.200439453125, 0.2081298828125, 0.1129150390625, 0.07611083984375, 0.036712646484375, 0.040557861328125, 0.020050048828125, 0.04937744140625, 0.074584...
embed
60012645_c1
60012645
julia
1
not working: cost, gradient! = regularised_cost(opt_train, y_train, initial_theta, 0.01) res = optimize(regularised_cost, gradient!, initial_theta, LBFGS(), Optim.Options(g_tol = 1e-12, iterations = 1000, store_trace = true, show_trace = true)) How do I pass my training examples and labels along with the gradients so ...
not working: cost, gradient! = regularised_cost(opt_train, y_train, initial_theta, 0.01) res = optimize(regularised_cost, gradient!, initial_theta, LBFGS(), Optim.Options(g_tol = 1e-12, iterations = 1000, store_trace = true, show_trace = true)) How do I pass my training examples and labels along with the gradients so ...
[ 0.02099609375, 0.0203857421875, -0.0045166015625, -0.031982421875, 0.00860595703125, 0.0103759765625, 0.02197265625, -0.0126953125, 0.0034637451171875, -0.046875, 0.00537109375, -0.01275634765625, 0.006561279296875, -0.01287841796875, 0.01220703125, -0.006744384765625, -0.00625610351...
[ 959, 20697, 12, 11034, 4, 35358, 2517, 38, 2203, 20324, 52021, 587, 271, 2146, 18, 1517, 73, 113, 61475, 2347, 102, 182149, 3332, 15572, 20650, 144867, 3679, 297, 339, 82350, 34162, 43938, 5, 39029, 5256, 177, 13728, 106, 13, 9955, 17, ...
[ 0.1070556640625, 0.1832275390625, 0.004547119140625, 0.2352294921875, 0.047332763671875, 0.218017578125, 0.153564453125, 0.1807861328125, 0.013092041015625, 0.1832275390625, 0.15185546875, 0.147705078125, 0.136474609375, 0.122314453125, 0.083740234375, 0.177734375, 0.05999755859375, ...
embed
45725836_c0
45725836
julia
0
Title: Using "where" syntax to parametrize a function in Julia Problem title: Using "where" syntax to parametrize a function in Julia Tags: julia Problem: Using "where" syntax to parametrize a function in Julia Reading the Julia documentation on parametric methods , I can't for the life of me figure...
Using "where" syntax to parametrize a function in Julia Using "where" syntax to parametrize a function in Julia julia Using Julia Real x::T Using "where" syntax to parametrize a function in Julia Reading the Julia documentation on parametric methods , I can't for the life of me figure out the differ...
[ 0.02490234375, 0.01611328125, -0.0191650390625, -0.016357421875, 0.007537841796875, -0.0036773681640625, 0.0030975341796875, 0.00079345703125, 0.00445556640625, 0.0009765625, 0.01031494140625, -0.05615234375, -0.009033203125, -0.0257568359375, 0.00885009765625, 0.000804901123046875, ...
[ 345, 6953, 136913, 1230, 41502, 6002, 86531, 170358, 731, 32354, 60592, 47, 23, 14801, 11, 5120, 1022, 12, 618, 209806, 121, 186518, 150624, 831, 18, 6897, 26366, 60212, 17721, 6097, 6626, 80934, 196219, 484, 109109, 77947 ]
[ 0.06109619140625, 0.001861572265625, 0.258056640625, 0.039947509765625, 0.04205322265625, 0.1217041015625, 0.188232421875, 0.2388916015625, 0.130859375, 0.1563720703125, 0.28515625, 0.009063720703125, 0.012298583984375, 0.1861572265625, 0.1104736328125, 0.205322265625, 0.091064453125...
embed
70547486_c0
70547486
julia
0
Title: How do I prevent one value from exceeding another value in a vector when minimizing it? Problem title: How do I prevent one value from exceeding another value in a vector when minimizing it? Tags: optimization, minimization, constraints, julia Problem: How do I prevent one value from exceeding another value in a...
How do I prevent one value from exceeding another value in a vector when minimizing it? How do I prevent one value from exceeding another value in a vector when minimizing it? optimization minimization constraints julia exceeding Optim How init_x Optim.minimizer Optim.optimize Vector Float64 How do I prevent one value ...
[ 0.0086669921875, 0.020263671875, -0.020751953125, 0.01385498046875, 0.0177001953125, -0.009033203125, 0.0224609375, -0.0223388671875, -0.0031890869140625, 0.0172119140625, -0.00092315673828125, -0.0028076171875, -0.00872802734375, -0.011962890625, 0.01611328125, -0.00921630859375, 0....
[ 11249, 56282, 1632, 34292, 1295, 204839, 214, 15700, 173, 18770, 14786, 84382, 54, 87, 23, 3229, 87235, 47691, 158, 2816, 4288, 14801, 11, 43938, 217, 425, 1249, 8559, 56, 100433, 2609, 38699, 13307, 442, 32354, 31577, 11814, 18151, 15572, ...
[ 0.03399658203125, 0.2088623046875, 0.0894775390625, 0.181640625, 0.0748291015625, 0.1964111328125, 0.044952392578125, 0.087890625, 0.156494140625, 0.16845703125, 0.2222900390625, 0.1466064453125, 0.0187225341796875, 0.010284423828125, 0.06268310546875, 0.021148681640625, 0.2020263671...
embed
50512529_c0
50512529
julia
0
Title: Apply `&` on a boolean array Problem title: Apply `&` on a boolean array Tags: julia Problem: Apply `&` on a boolean array I have an array of boolean values and I want to get the logical and of all elements. What is the most efficient way to do that? I tried &([true,false,false]...) but it throws the err...
Apply `&` on a boolean array Apply `&` on a boolean array julia Apply Apply `&` on a boolean array I have an array of boolean values and I want to get the logical and of all elements. What is the most efficient way to do that? I tried but it throws the error: Surprisingly (at least to me) the following expressi...
[ 0.01446533203125, 0.0169677734375, -0.0030975341796875, 0.00787353515625, -0.0052490234375, 0.007781982421875, 0.005401611328125, 0.00994873046875, 0.0101318359375, -0.005462646484375, 0.000028252601623535156, 0.000934600830078125, 0.005828857421875, 0.00927734375, -0.0029296875, -0.00...
[ 5659, 538, 1230, 25133, 74, 98, 337, 31, 34677, 10298, 53, 14801, 11, 765, 111, 142424, 3444, 47, 2046, 70, 62775, 289, 136, 756, 80854, 2684, 93766, 3917, 54, 37842, 104250, 18499, 22876, 25632, 125195, 151575, 90, 29568, 3642, 5036, 4...
[ 0.1768798828125, 0.1380615234375, 0.2135009765625, 0.1922607421875, 0.1455078125, 0.111328125, 0.0838623046875, 0.1624755859375, 0.2210693359375, 0.17138671875, 0.128662109375, 0.103759765625, 0.047088623046875, 0.003387451171875, 0.1431884765625, 0.160888671875, 0.081787109375, 0....
embed
31417119_c0
31417119
julia
0
Title: How to extract the specific type from an instance of a generic type in julia? Problem title: How to extract the specific type from an instance of a generic type in julia? Tags: types, abstract-type, julia Problem: How to extract the specific type from an instance of a generic type in julia? How do I get the subt...
How to extract the specific type from an instance of a generic type in julia? How to extract the specific type from an instance of a generic type in julia? types abstract-type julia an How Dog Number snout::T Float64 How to extract the specific type from an instance of a generic type in julia? How do I get the subtype ...
[ 0.0152587890625, 0.003570556640625, 0.006622314453125, 0.007720947265625, 0.005035400390625, 0.003753662109375, -0.0014190673828125, 0.0021209716796875, -0.001220703125, -0.0050048828125, -0.00994873046875, -0.045166015625, -0.017822265625, -0.00762939453125, 0.00689697265625, -0.00151...
[ 11249, 125663, 29458, 10644, 1295, 110527, 189534, 23, 14801, 11, 47, 52895, 164789, 50986, 41129, 103332, 91, 30198, 618, 38699, 257, 13307, 2046, 1614, 121, 186518, 65395, 365, 3917, 99, 77336, 10269, 44457 ]
[ 0.06640625, 0.1787109375, 0.1993408203125, 0.221435546875, 0.0760498046875, 0.1710205078125, 0.183349609375, 0.0784912109375, 0.20166015625, 0.1903076171875, 0.029754638671875, 0.150390625, 0.136474609375, 0.209716796875, 0.1578369140625, 0.1156005859375, 0.0360107421875, 0.1923828...
embed
78602002_c0
78602002
julia
0
Title: Custom Labels for Makie axis Problem title: Custom Labels for Makie axis Tags: julia, makie.jl Problem: Custom Labels for Makie axis I'm trying to shift some data in a Makie plot (I'm using a meshscatter, but have a simpler example). If fig = Figure() Axis(fig[1,1], xticks = 0:10:60, xtickformat = x -> string.(x...
Custom Labels for Makie axis Custom Labels for Makie axis julia makie.jl Custom Labels Makie Figure Axis makie.jl Custom Labels for Makie axis I'm trying to shift some data in a Makie plot (I'm using a meshscatter, but have a simpler example). If I get the formats with a ".0" on the end of each label, but do not want t...
[ 0.0260009765625, 0.00167083740234375, 0.0113525390625, -0.00982666015625, -0.00439453125, -0.00958251953125, 0.00885009765625, 0.0126953125, -0.01007080078125, 0.0311279296875, 0.00138092041015625, -0.01007080078125, -0.024658203125, -0.005035400390625, 0.022705078125, -0.0095825195312...
[ 130664, 17630, 100, 13676, 478, 10, 33102, 14801, 11, 95208, 13, 5, 51349, 55412, 62, 31577, 122925, 2053, 23577, 17368, 163, 1495, 16275, 3055, 8781, 27781, 9384, 678, 2389, 3564, 12638, 67967, 54, 959, 3444, 2856, 135179, 209806, 127877, ...
[ 0.1851806640625, 0.293701171875, 0.0557861328125, 0.1407470703125, 0.205078125, 0.0406494140625, 0.1719970703125, 0.1170654296875, 0.07330322265625, 0.1251220703125, 0.1378173828125, 0.1068115234375, 0.1217041015625, 0.111328125, 0.00665283203125, 0.03521728515625, 0.1837158203125, ...
embed
45560718_c1
45560718
julia
1
to jump in. qpsk1(s) = s[1+(rand(Int8)&3)] # Blazingly fast qpsk2(s) = s[1+rand(Bool)+2rand(Bool)] # Very fast qpsk3(s) = s[rand(1:4,1)] # Compiler issue here? qpsk4(s) = s[rand(1:4)] # Why slow? qpsk5(s) = rand([s]) # Ridiculously slow!! function test_orig(n) # Test qpsk(), very fast(branching!), why? for i = 1:n qps...
to jump in. qpsk1(s) = s[1+(rand(Int8)&3)] # Blazingly fast qpsk2(s) = s[1+rand(Bool)+2rand(Bool)] # Very fast qpsk3(s) = s[rand(1:4,1)] # Compiler issue here? qpsk4(s) = s[rand(1:4)] # Why slow? qpsk5(s) = rand([s]) # Ridiculously slow!! function test_orig(n) # Test qpsk(), very fast(branching!), why? for i = 1:n qps...
[ -0.0274658203125, 0.0299072265625, -0.0003414154052734375, -0.01263427734375, -0.01055908203125, 0.000324249267578125, 0.0054931640625, -0.00909423828125, 0.0034027099609375, -0.0087890625, 0.006256103515625, -0.005859375, -0.0269775390625, -0.0286865234375, 0.00154876708984375, 0.0097...
[ 47, 88203, 23, 5, 8096, 254, 1042, 418, 132, 7, 2203, 91, 1328, 37214, 18, 50490, 21320, 468, 22446, 35401, 538, 4271, 304, 929, 54651, 99342, 363, 15612, 34759, 31089, 3688, 617, 29557, 44084, 72803, 758, 27388, 71333, 79850, 1146, 323...
[ 0.1390380859375, 0.2308349609375, 0.231201171875, 0.030914306640625, 0.1258544921875, 0.1263427734375, 0.25244140625, 0.0899658203125, 0.0125732421875, 0.10595703125, 0.06243896484375, 0.1126708984375, 0.1197509765625, 0.1676025390625, 0.0760498046875, 0.134033203125, 0.0714111328125...
embed
31492701_c0
31492701
julia
0
Title: Pearson's r in Julia Problem title: Pearson's r in Julia Tags: julia Problem: Pearson's r in Julia I couldn't find an already made function in Julia to compute Pearson's r so I resorted to trying to make it myself however I run into trouble. code: r(x,y) = (sum(x*y) - (sum(x)*sum(y))/length(x))/sqrt((s...
Pearson's r in Julia Pearson's r in Julia julia Pearson Julia ERROR Array Int64 none:1 Pearson's r in Julia I couldn't find an already made function in Julia to compute Pearson's r so I resorted to trying to make it myself however I run into trouble. code: if I attempt to run this on two arrays: I get the fol...
[ 0.0081787109375, 0.01531982421875, 0.010009765625, 0.006195068359375, -0.007049560546875, 0.0118408203125, 0.01025390625, 0.006683349609375, -0.003387451171875, -0.0031890869140625, 0.00201416015625, 0.00171661376953125, -0.00927734375, -0.0361328125, -0.0177001953125, -0.015625, 0.0...
[ 1460, 147, 1681, 54764, 3768, 74, 7, 1690, 23, 60592, 14801, 11, 151206, 24638, 69253, 53, 360, 18, 13307, 351, 13, 19721, 25, 69427, 7413, 21771, 7228, 32354, 9969, 6743, 31577, 35978, 49903, 11675, 3934, 63134, 18151, 81887, 903, 98, ...
[ 0.16357421875, 0.2127685546875, 0.2159423828125, 0.012176513671875, 0.1190185546875, 0.03277587890625, 0.094970703125, 0.19091796875, 0.1138916015625, 0.310791015625, 0.16357421875, 0.05316162109375, 0.1536865234375, 0.0728759765625, 0.145751953125, 0.0869140625, 0.038330078125, 0....
embed
57041078_c0
57041078
julia
0
Title: How to implement feature extraction in Julia Problem title: How to implement feature extraction in Julia Tags: feature-extraction, machine-learning, julia Problem: How to implement feature extraction in Julia I am trying to make a binary classifier using machine learning and I am trying to develop other features...
How to implement feature extraction in Julia How to implement feature extraction in Julia feature-extraction machine-learning julia How Julia How to implement feature extraction in Julia I am trying to make a binary classifier using machine learning and I am trying to develop other features for my data using correlated...
[ 0.0291748046875, 0.013427734375, -0.000030994415283203125, 0.01458740234375, 0.027587890625, -0.0028228759765625, 0.015869140625, -0.00433349609375, -0.0130615234375, -0.0106201171875, -0.0203857421875, -0.033935546875, -0.00732421875, 0.011474609375, -0.00927734375, -0.004638671875, ...
[ 11249, 47, 29479, 60213, 4173, 10763, 23, 60592, 3355, 117474, 36279, 152538, 14801, 11, 31577, 3249, 2394, 6635, 18507, 85789, 17368, 52080, 85493, 3789, 66139, 2053, 8231, 174822, 2606, 150380, 765, 33938, 5045, 5809, 959, 2046, 46389, 1815...
[ 0.1217041015625, 0.0831298828125, 0.224853515625, 0.248291015625, 0.2200927734375, 0.1553955078125, 0.1229248046875, 0.313720703125, 0.1578369140625, 0.188720703125, 0.0953369140625, 0.10888671875, 0.175048828125, 0.116943359375, 0.04583740234375, 0.01239013671875, 0.148193359375, ...
embed
23369248_c0
23369248
julia
0
Title: export R list into Julia via JSON Problem title: export R list into Julia via JSON Tags: json, julia, r Problem: export R list into Julia via JSON suppose I have this list in R x = list(a=1:3,b=8:20) and I write this to a json file on disk with library(jsonlite) cat(toJSON(x),file="f.json") how can I use the Jul...
export R list into Julia via JSON export R list into Julia via JSON json julia r JSON Julia f.json JSON.parse Users export R list into Julia via JSON suppose I have this list in R and I write this to a json file on disk with how can I use the Julia JSON package to read that? Can I? gives a mistake - I guess it expects ...
[ 0.011962890625, 0.0184326171875, -0.002899169921875, 0.02197265625, 0.00113677978515625, -0.0042724609375, 0.0185546875, 0.00185394287109375, -0.01385498046875, 0.0150146484375, -0.00726318359375, 0.02001953125, -0.01165771484375, 0.0024566650390625, 0.00095367431640625, 0.005462646484...
[ 31255, 627, 5303, 3934, 60592, 1829, 821, 58627, 1647, 1681, 14801, 11, 1690, 1238, 5, 170, 2500, 184, 53400, 139124, 765, 23, 33022, 47, 11435, 98, 28338, 3642, 831, 4527, 98169, 12301, 450, 4171, 76199, 121742, 57767, 41206, 10, 79315, ...
[ 0.2052001953125, 0.19287109375, 0.21337890625, 0.1533203125, 0.304931640625, 0.08154296875, 0.152587890625, 0.2198486328125, 0.1185302734375, 0.181396484375, 0.1827392578125, 0.1246337890625, 0.10546875, 0.0916748046875, 0.0025634765625, 0.1219482421875, 0.0943603515625, 0.06286621...
embed
64427821_c0
64427821
julia
0
Title: How do I convert ArrayFire Image to Julia Image? Problem title: How do I convert ArrayFire Image to Julia Image? Tags: julia, plots.jl, arrayfire Problem: How do I convert ArrayFire Image to Julia Image? I want to use the plotting functionality of Plots.jl with an image loaded using the load_image() function of ...
How do I convert ArrayFire Image to Julia Image? How do I convert ArrayFire Image to Julia Image? julia plots.jl arrayfire How ArrayFire Image Julia load_image AFArray Array Float32 RGB Any plots.jl How do I convert ArrayFire Image to Julia Image? I want to use the plotting functionality of Plots.jl with an image loade...
[ 0.020263671875, 0.00408935546875, -0.00555419921875, 0.01324462890625, 0.013427734375, 0.0267333984375, 0.01287841796875, -0.02978515625, -0.0029449462890625, 0.01470947265625, -0.002044677734375, 0.01513671875, -0.00970458984375, 0.004913330078125, -0.00775146484375, -0.03515625, -0...
[ 11249, 54, 87, 96760, 69253, 53, 6159, 107, 22710, 47, 60592, 14801, 11, 23577, 7, 51349, 10298, 73702, 72367, 37926, 28211, 7614, 7092, 38699, 6460, 171052, 28541, 3444, 4527, 1916, 123309, 2481, 168763, 5, 678, 29569, 454, 132, 32354, 7...
[ 0.07525634765625, 0.04150390625, 0.0377197265625, 0.185791015625, 0.1810302734375, 0.13037109375, 0.2281494140625, 0.2337646484375, 0.2462158203125, 0.1436767578125, 0.317138671875, 0.1806640625, 0.148193359375, 0.160400390625, 0.0821533203125, 0.1697998046875, 0.0897216796875, 0.2...
embed
64546248_c0
64546248
julia
0
Title: Interact.jl unable to create widget in Jupyter notebook + Julia Problem title: Interact.jl unable to create widget in Jupyter notebook + Julia Tags: jupyter-notebook, julia Problem: Interact.jl unable to create widget in Jupyter notebook + Julia I have recently installed Julia and trying to run Interact but it s...
Interact.jl unable to create widget in Jupyter notebook + Julia Interact.jl unable to create widget in Jupyter notebook + Julia jupyter-notebook julia Interact.jl Jupyter Julia Interact.jl unable to create widget in Jupyter notebook + Julia I have recently installed Julia and trying to run Interact but it seems that In...
[ -0.002960205078125, 0.00830078125, 0.0008392333984375, 0.01031494140625, 0.001373291015625, 0.0150146484375, 0.004913330078125, -0.017578125, -0.0296630859375, 0.005889892578125, -0.0172119140625, -0.033447265625, 0.00159454345703125, -0.00008106231689453125, -0.0002727508544921875, 0....
[ 5337, 47013, 51349, 51, 2886, 28282, 148631, 23, 3314, 6493, 720, 74305, 997, 60592, 1129, 48345, 14137, 14801, 11, 20600, 31577, 11675, 959, 19048, 139392, 25632, 98441, 107951, 29117, 46765, 53588, 98169, 4002, 17780, 28398, 80383, 461, 372...
[ 0.1893310546875, 0.240478515625, 0.1751708984375, 0.038360595703125, 0.136474609375, 0.167724609375, 0.300537109375, 0.08331298828125, 0.1094970703125, 0.1346435546875, 0.13720703125, 0.2119140625, 0.0765380859375, 0.27001953125, 0.051300048828125, 0.1214599609375, 0.06695556640625, ...
embed
65541891_c0
65541891
julia
0
Title: Slice matrix by discrete ranges in julia Problem title: Slice matrix by discrete ranges in julia Tags: julia, arrays, matrix, slice Problem: Slice matrix by discrete ranges in julia Given a 2-D matrix: arr = rand(10,10) I would like to slice it by discrete ranges, e.g. row 2 to 4 followed by row 6 to 8, leading ...
Slice matrix by discrete ranges in julia Slice matrix by discrete ranges in julia julia arrays matrix slice Slice Slice matrix by discrete ranges in julia Given a 2-D matrix: I would like to slice it by discrete ranges, e.g. row 2 to 4 followed by row 6 to 8, leading to a 6x10 matrix. Since I haven't found a similar ex...
[ 0.004180908203125, 0.00714111328125, 0.004425048828125, 0.023193359375, -0.00433349609375, -0.004119873046875, -0.0028533935546875, 0.021240234375, 0.0235595703125, 0.0172119140625, -0.00634765625, -0.012451171875, 0.0030364990234375, -0.01434326171875, -0.00579833984375, -0.0031433105...
[ 159, 13348, 50944, 425, 390, 81604, 13, 37457, 23, 14801, 11, 10298, 4778, 91, 4720, 397, 1884, 15555, 116, 47, 201, 134629, 305, 382, 105207, 963, 29806, 37842, 2301, 18, 4488, 5809, 11522, 3917 ]
[ 0.041717529296875, 0.2130126953125, 0.175537109375, 0.0859375, 0.09765625, 0.22265625, 0.06317138671875, 0.1927490234375, 0.06365966796875, 0.2083740234375, 0.166259765625, 0.0634765625, 0.0235137939453125, 0.0687255859375, 0.088134765625, 0.07562255859375, 0.042388916015625, 0.119...
embed
19171809_c0
19171809
julia
0
Title: Getting all combinations of splitting an array into two equally sized groups in Julia Problem title: Getting all combinations of splitting an array into two equally sized groups in Julia Tags: julia, combinations Problem: Getting all combinations of splitting an array into two equally sized groups in Julia Given...
Getting all combinations of splitting an array into two equally sized groups in Julia Getting all combinations of splitting an array into two equally sized groups in Julia julia combinations Getting Julia Getting all combinations of splitting an array into two equally sized groups in Julia Given an array of 20 numbers,...
[ -0.01446533203125, 0.0252685546875, -0.01373291015625, 0.00592041015625, 0.01153564453125, 0.0263671875, -0.0021209716796875, -0.0186767578125, 0.002349853515625, 0.005218505859375, -0.03173828125, 0.0047607421875, 0.001495361328125, 0.011474609375, -0.009033203125, 0.0014190673828125,...
[ 210732, 756, 162515, 7, 111, 65450, 1916, 10298, 53, 3934, 6626, 105950, 13267, 94407, 23, 60592, 14801, 11, 387, 101935, 2806, 1884, 125663, 7722, 678, 1492, 12638, 12989, 959, 5526, 418, 116, 138, 4958, 1221, 8337, 163, 79442, 1295, 387...
[ 0.12744140625, 0.1680908203125, 0.272705078125, 0.1029052734375, 0.03326416015625, 0.1776123046875, 0.07861328125, 0.147705078125, 0.0926513671875, 0.149658203125, 0.16748046875, 0.13525390625, 0.07965087890625, 0.20947265625, 0.0843505859375, 0.328125, 0.1854248046875, 0.120727539...
embed
73043742_c0
73043742
julia
0
Title: Reading Strings as Vectors Julia Problem title: Reading Strings as Vectors Julia Tags: julia-dataframe, julia, jupyter-notebook Problem: Reading Strings as Vectors Julia I currently have a Julia dataframe of the form A B "[1,2]" "[3,4]" and would like to make it of the form A1 A2 B1 B2 1 2 3 4 or of the form (wh...
Reading Strings as Vectors Julia Reading Strings as Vectors Julia julia-dataframe julia jupyter-notebook Reading Strings Vectors Julia Reading Strings as Vectors Julia I currently have a Julia dataframe of the form A B "[1,2]" "[3,4]" and would like to make it of the form A1 A2 B1 B2 1 2 3 4 or of the form (where the v...
[ 0.0184326171875, 0.0201416015625, -0.0208740234375, 0.04248046875, 0.01177978515625, 0.005584716796875, 0.022216796875, -0.017578125, -0.0152587890625, -0.0064697265625, -0.019775390625, -0.0302734375, -0.0286865234375, 0.0003509521484375, -0.019775390625, -0.006378173828125, 0.00344...
[ 104951, 23351, 5180, 237, 52884, 22230, 60592, 14801, 11, 10135, 160328, 1129, 6493, 720, 48345, 14137, 87, 82424, 765, 10, 2053, 3173, 62, 335, 133063, 82449, 2806, 1884, 47, 3249, 111, 418, 304, 106, 116, 138, 201, 707, 136913, 22834, ...
[ 0.2408447265625, 0.2464599609375, 0.174072265625, 0.1298828125, 0.276123046875, 0.22021484375, 0.309814453125, 0.182373046875, 0.10357666015625, 0.1065673828125, 0.2391357421875, 0.046234130859375, 0.0631103515625, 0.130615234375, 0.1383056640625, 0.1221923828125, 0.03863525390625, ...
embed
73681084_c0
73681084
julia
0
Title: How to install BBEdit Syntax highlighting Problem title: How to install BBEdit Syntax highlighting Tags: installation, julia Problem: How to install BBEdit Syntax highlighting I'd like to try this https://github.com/JuliaEditorSupport/julia-textwrangler-bbedit but I didn't understand how to install it. For insta...
How to install BBEdit Syntax highlighting How to install BBEdit Syntax highlighting installation julia How BBEdit Syntax BBEditTextWrangler-julia.plist Library Application Support Language Modules How to install BBEdit Syntax highlighting I'd like to try this https://github.com/JuliaEditorSupport/julia-textwrangler-bbe...
[ -0.004974365234375, 0.0113525390625, -0.015625, 0.019287109375, -0.00738525390625, 0.01324462890625, 0.018798828125, -0.01953125, 0.0047607421875, 0.03271484375, 0.002410888671875, -0.004974365234375, -0.028076171875, -0.026611328125, 0.01416015625, -0.0262451171875, -0.0036163330078...
[ 11249, 47, 20600, 40746, 125270, 19010, 86531, 127308, 214, 59720, 14801, 11, 174379, 1456, 5445, 603, 461, 7884, 6562, 103835, 104921, 58832, 83658, 63014, 1884, 9790, 903, 15769, 32102, 105214, 399, 748, 2037, 6982, 22829, 434, 5125, 45082,...
[ 0.07861328125, 0.04290771484375, 0.2066650390625, 0.18505859375, 0.26220703125, 0.1680908203125, 0.225830078125, 0.2406005859375, 0.127197265625, 0.163818359375, 0.149658203125, 0.1258544921875, 0.1358642578125, 0.01202392578125, 0.150390625, 0.128173828125, 0.122314453125, 0.15747...
embed
48392052_c0
48392052
julia
0
Title: What's Julia's equivalent of R's seq(..., length.out = n) Problem title: What's Julia's equivalent of R's seq(..., length.out = n) Tags: r, julia Problem: What's Julia's equivalent of R's seq(..., length.out = n) I can see from this link that R's equivalent of seq is n:m in ( http:/...
What's Julia's equivalent of R's seq(..., length.out = n) What's Julia's equivalent of R's seq(..., length.out = n) r julia What Julia length.out What's Julia's equivalent of R's seq(..., length.out = n) I can see from this link that R's equivalent of seq is n:m in ( http://www.johnmyleswh...
[ 0.02001953125, 0.031494140625, -0.01116943359375, 0.031982421875, 0.0159912109375, 0.00433349609375, 0.02001953125, 0.006805419921875, 0.00933837890625, -0.00457763671875, -0.01007080078125, -0.017333984375, -0.0068359375, 0.016845703125, -0.0032958984375, -0.01434326171875, -0.00196...
[ 3768, 60592, 183234, 627, 40, 864, 140909, 6056, 653, 1690, 14801, 11, 4865, 25, 111, 83, 12, 39, 23, 148477, 58875, 461, 7884, 4295, 965, 408, 32262, 7225, 275, 959, 127918, 305, 76067, 76199, 501, 102107, 38704, 2289, 77495, 6183, 262...
[ 0.065185546875, 0.314453125, 0.2147216796875, 0.1707763671875, 0.134765625, 0.2330322265625, 0.1837158203125, 0.20751953125, 0.1075439453125, 0.1136474609375, 0.242431640625, 0.16552734375, 0.017333984375, 0.036407470703125, 0.0205841064453125, 0.006134033203125, 0.07421875, 0.1467...
embed
32416984_c0
32416984
julia
0
Title: Overlapping Arrays in Julia - solutions with pointers? Problem title: Overlapping Arrays in Julia - solutions with pointers? Tags: pointers, julia Problem: Overlapping Arrays in Julia - solutions with pointers? I have a large Float64 array x and often treat a slice of it as matrix before changing exactly that sl...
Overlapping Arrays in Julia - solutions with pointers? Overlapping Arrays in Julia - solutions with pointers? pointers julia Overlapping Arrays Julia pointer_to_array Overlapping Arrays in Julia - solutions with pointers? I have a large Float64 array x and often treat a slice of it as matrix before changing exactly tha...
[ 0.0289306640625, 0.0235595703125, -0.0078125, -0.005462646484375, 0.00787353515625, -0.0024871826171875, -0.01239013671875, -0.0164794921875, 0.00151824951171875, -0.0208740234375, -0.0084228515625, -0.00982666015625, -0.009033203125, -0.0150146484375, 0.00787353515625, -0.009643554687...
[ 9578, 143, 26783, 69253, 4778, 23, 60592, 51347, 678, 6275, 1314, 14801, 11, 56, 188, 19305, 21334, 38699, 257, 13307, 10298, 53, 1022, 27983, 85689, 13348, 50944, 425, 8108, 151134, 66161, 4171, 209303, 15005, 903, 91, 237, 113, 3129, 21...
[ 0.1510009765625, 0.20166015625, 0.1273193359375, 0.1522216796875, 0.1622314453125, 0.10504150390625, 0.301513671875, 0.1812744140625, 0.121337890625, 0.19775390625, 0.164794921875, 0.19482421875, 0.1466064453125, 0.1522216796875, 0.168212890625, 0.1339111328125, 0.03955078125, 0.14...
embed
74347754_c0
74347754
julia
0
Title: why underscores are not recommended for variable names in Julia? Problem title: why underscores are not recommended for variable names in Julia? Tags: julia Problem: why underscores are not recommended for variable names in Julia? I read in the Julia doc page https://docs.julialang.org/en/v1/manual/variables/#:~...
why underscores are not recommended for variable names in Julia? why underscores are not recommended for variable names in Julia? julia Julia why underscores are not recommended for variable names in Julia? I read in the Julia doc page https://docs.julialang.org/en/v1/manual/variables/#:~:text=Variable%20names%20must%2...
[ 0.0184326171875, 0.00799560546875, -0.01116943359375, 0.01202392578125, -0.0040283203125, 0.0152587890625, 0.002349853515625, 0.0034027099609375, -0.0174560546875, 0.02783203125, -0.0003490447998046875, -0.0322265625, -0.002197265625, -0.00921630859375, 0.00897216796875, 0.002944946289...
[ 15400, 1379, 12064, 2109, 621, 959, 170198, 100, 77336, 123055, 23, 60592, 14801, 11, 12301, 51584, 29713, 461, 7884, 3066, 334, 21690, 19736, 22829, 81827, 14, 2886, 11627, 6820, 76228, 39, 125458, 176726, 64688, 24243, 89397, 20947, 34, 2...
[ 0.126953125, 0.205810546875, 0.179443359375, 0.1513671875, 0.0247955322265625, 0.1387939453125, 0.1761474609375, 0.041290283203125, 0.2384033203125, 0.1695556640625, 0.0675048828125, 0.27978515625, 0.168701171875, 0.09796142578125, 0.0125732421875, 0.05096435546875, 0.01849365234375,...
embed
34936593_c0
34936593
julia
0
Title: Overload object comparison when adding to a set in Julia? Problem title: Overload object comparison when adding to a set in Julia? Tags: types, julia Problem: Overload object comparison when adding to a set in Julia? Is there a way to overload how Base.Set does its object comparisons in Julia? I tried overloadin...
Overload object comparison when adding to a set in Julia? Overload object comparison when adding to a set in Julia? types julia Overload Julia Base.Set Test a::Test b::Test a.x b.x a.y b.y Set Overload object comparison when adding to a set in Julia? Is there a way to overload how Base.Set does its object comparisons i...
[ 0.0177001953125, 0.0037078857421875, 0.0201416015625, 0.01708984375, 0.00116729736328125, -0.0067138671875, -0.003631591796875, -0.0185546875, -0.00201416015625, 0.030517578125, -0.00787353515625, 0.009521484375, 0.01202392578125, -0.00677490234375, -0.0103759765625, -0.0057373046875, ...
[ 9578, 63033, 36746, 225490, 3229, 154107, 47, 5423, 23, 60592, 52895, 14801, 11, 44978, 294, 126, 8647, 111337, 876, 425, 53, 19943, 3917, 645, 3642, 14602, 37842, 71723, 69112, 7464, 94419, 237, 12921, 5608, 5701, 76199 ]
[ 0.1328125, 0.239990234375, 0.159423828125, 0.210205078125, 0.027587890625, 0.1375732421875, 0.051544189453125, 0.1402587890625, 0.04095458984375, 0.27294921875, 0.109130859375, 0.16455078125, 0.1158447265625, 0.1553955078125, 0.072265625, 0.06982421875, 0.138916015625, 0.1094970703...
embed
65849286_c2
65849286
julia
2
array, Serialization.jl:1112, deserialize_array, Serialization.jl:1104, Serialization.jl:786, Serialization.jl:1010, Serialization.jl:878, Serialization.jl:947, deserialize_typename, Serialization.jl:1177, clusterserialize.jl:68, deserialize_datatype, Serialization.jl:0, Serialization.jl:790, Serialization.jl:795, dese...
array, Serialization.jl:1112, deserialize_array, Serialization.jl:1104, Serialization.jl:786, Serialization.jl:1010, Serialization.jl:878, Serialization.jl:947, deserialize_typename, Serialization.jl:1177, clusterserialize.jl:68, deserialize_datatype, Serialization.jl:0, Serialization.jl:790, Serialization.jl:795, dese...
[ 0.0252685546875, 0.0233154296875, -0.01708984375, 0.0130615234375, 0.00811767578125, -0.007415771484375, -0.033935546875, -0.01348876953125, -0.0133056640625, 0.01904296875, -0.00848388671875, -0.024658203125, -0.0025787353515625, -0.01043701171875, 0.003387451171875, -0.00222778320312...
[ 10298, 53, 4, 135188, 47691, 5, 51349, 19993, 1530, 224, 25435, 119066, 19305, 7709, 12, 172228, 15110, 963, 200439, 14889, 966, 50986, 11627, 14546, 234737, 16028, 10135, 53861, 123048, 167255, 4432, 89914, 5046, 85590, 7, 1662, 26008, 74258...
[ 0.19384765625, 0.16845703125, 0.0810546875, 0.288818359375, 0.196044921875, 0.0386962890625, 0.241943359375, 0.18603515625, 0.214599609375, 0.1915283203125, 0.257080078125, 0.1793212890625, 0.1728515625, 0.2203369140625, 0.020751953125, 0.254150390625, 0.08721923828125, 0.163696289...
embed
66002626_c0
66002626
julia
0
Title: Julia: ctrl+c does not interrupt Problem title: Julia: ctrl+c does not interrupt Tags: julia-jump, julia Problem: Julia: ctrl+c does not interrupt I'm using REPL inside VScode and trying to fix a code that gets stuck inside a certain package. I want to figure out which process is taking time by looking at the st...
Julia: ctrl+c does not interrupt Julia: ctrl+c does not interrupt julia-jump julia Julia Julia: ctrl+c does not interrupt I'm using REPL inside VScode and trying to fix a code that gets stuck inside a certain package. I want to figure out which process is taking time by looking at the stack trace but cannot interrupt b...
[ -0.002471923828125, 0.002838134765625, 0.00063323974609375, 0.031005859375, -0.0087890625, 0.00168609619140625, 0.00762939453125, -0.006622314453125, -0.015380859375, -0.00457763671875, -0.0267333984375, -0.00604248046875, -0.020751953125, 0.02734375, 0.016845703125, 0.01129150390625, ...
[ 60592, 108963, 54123, 1328, 238, 14602, 959, 206735, 14801, 11, 461, 2676, 17368, 9069, 21130, 46132, 44160, 40899, 30022, 18151, 179933, 98169, 26366, 1810, 9433, 35971, 1733, 16487, 177261, 144851, 53418, 35644, 30501, 425, 27998, 168360, 133...
[ 0.281982421875, 0.0711669921875, 0.1729736328125, 0.1787109375, 0.1485595703125, 0.046142578125, 0.136474609375, 0.201171875, 0.1746826171875, 0.1287841796875, 0.1448974609375, 0.1552734375, 0.05474853515625, 0.110595703125, 0.228271484375, 0.074462890625, 0.1470947265625, 0.219848...
embed
52411479_c0
52411479
julia
0
Title: Capture the output of a process in Julia Problem title: Capture the output of a process in Julia Tags: ipc, julia, pipe, stdout Problem: Capture the output of a process in Julia I want to run a process and capture its output. According the documentation , method open(command, stdio=devnull; write::Bool = false, ...
Capture the output of a process in Julia Capture the output of a process in Julia ipc julia pipe stdout Capture Julia write::Bool read::Bool Base.Process Capture the output of a process in Julia I want to run a process and capture its output. According the documentation , method open(command, stdio=devnull; write::Bool...
[ 0.0216064453125, -0.00067138671875, -0.027099609375, 0.025390625, 0.003448486328125, -0.019287109375, 0.01513671875, -0.03857421875, -0.01171875, 0.0130615234375, -0.01470947265625, 0.005767822265625, 0.000850677490234375, 0.0283203125, 0.00151824951171875, -0.006378173828125, 0.0090...
[ 14304, 6644, 70, 140992, 111, 9433, 23, 60592, 10, 17, 57095, 14801, 11, 137158, 6138, 246, 1003, 33022, 12647, 929, 12301, 44978, 5, 10752, 26531, 3444, 11675, 136, 141621, 6863, 209806, 55300, 9803, 277, 12018, 5670, 18548, 139550, 98320,...
[ 0.2012939453125, 0.1102294921875, 0.04864501953125, 0.27490234375, 0.091064453125, 0.2049560546875, 0.1302490234375, 0.318115234375, 0.006591796875, 0.030426025390625, 0.1260986328125, 0.200439453125, 0.116455078125, 0.158935546875, 0.114501953125, 0.003021240234375, 0.0654296875, ...
embed
48494895_c0
48494895
julia
0
Title: Julia: creating SparseArrays Problem title: Julia: creating SparseArrays Tags: sparse-matrix, julia Problem: Julia: creating SparseArrays I want to create a sparse array where I define a rule to combine duplicates. The documentation says that I can do this with sparse(i,j,v,[m,n,combine]) . I've tried in the exa...
Julia: creating SparseArrays Julia: creating SparseArrays sparse-matrix julia Julia SparseArrays Julia: creating SparseArrays I want to create a sparse array where I define a rule to combine duplicates. The documentation says that I can do this with sparse(i,j,v,[m,n,combine]) . I've tried in the example below but am u...
[ -0.002593994140625, 0.04345703125, -0.015625, 0.0087890625, 0.0034332275390625, -0.0023345947265625, 0.0185546875, -0.007659912109375, -0.006683349609375, 0.01495361328125, -0.00445556640625, 0.00384521484375, 0.00946044921875, -0.016357421875, -0.01519775390625, -0.0021514892578125, ...
[ 60592, 12, 105233, 37456, 184, 7614, 7092, 27148, 192, 87427, 14801, 11, 7, 3444, 28282, 10, 10298, 53, 61924, 79986, 47, 70163, 171763, 1636, 209806, 17378, 831, 54, 903, 678, 132, 14, 170, 334, 39, 19, 277, 46187, 37842, 27781, 35064,...
[ 0.268798828125, 0.01177978515625, 0.1141357421875, 0.20556640625, 0.1907958984375, 0.149658203125, 0.2159423828125, 0.2130126953125, 0.01177978515625, 0.08880615234375, 0.142333984375, 0.0643310546875, 0.0176849365234375, 0.091064453125, 0.1668701171875, 0.01177978515625, 0.204833984...
embed
69026247_c0
69026247
julia
0
Title: Setting values to a specific element in an array of dictionary overrides all values in array Problem title: Setting values to a specific element in an array of dictionary overrides all values in array Tags: dictionary, julia Problem: Setting values to a specific element in an array of dictionary overrides all va...
Setting values to a specific element in an array of dictionary overrides all values in array Setting values to a specific element in an array of dictionary overrides all values in array dictionary julia Setting Dict Setting values to a specific element in an array of dictionary overrides all values in array I'm trying ...
[ 0.01470947265625, 0.0106201171875, -0.034423828125, -0.00086212158203125, -0.005126953125, -0.01324462890625, 0.0029449462890625, -0.0010223388671875, 0.005126953125, 0.058837890625, -0.021484375, 0.00148773193359375, -0.0019378662109375, 0.005889892578125, 0.0263671875, -0.01330566406...
[ 503, 19514, 142424, 47, 29458, 12830, 10298, 53, 45, 10763, 6635, 645, 416, 988, 756, 23, 14801, 11, 60897, 18, 31577, 95486, 34292, 31913, 10484, 674, 15400, 5106, 140992 ]
[ 0.1243896484375, 0.06109619140625, 0.209716796875, 0.1328125, 0.172119140625, 0.1522216796875, 0.142578125, 0.0870361328125, 0.054168701171875, 0.12744140625, 0.073974609375, 0.06512451171875, 0.1414794921875, 0.079833984375, 0.091552734375, 0.036041259765625, 0.1239013671875, 0.08...
embed
42312319_c0
42312319
julia
0
Title: How do I add a dimension to an array? (opposite of `squeeze`) Problem title: How do I add a dimension to an array? (opposite of `squeeze`) Tags: julia Problem: How do I add a dimension to an array? (opposite of `squeeze`) I can never remember how to do this this. How can go from a Vector (size (n1) ) to a Column...
How do I add a dimension to an array? (opposite of `squeeze`) How do I add a dimension to an array? (opposite of `squeeze`) julia How How do I add a dimension to an array? (opposite of `squeeze`) I can never remember how to do this this. How can go from a Vector (size (n1) ) to a Column Matrix (size (n1,1) )? or from a...
[ 0.015869140625, 0.0216064453125, -0.0157470703125, 0.01324462890625, -0.00616455078125, -0.0030975341796875, 0.004974365234375, -0.00640869140625, 0.001312255859375, -0.019287109375, 0.009033203125, -0.051025390625, -0.031494140625, 0.00970458984375, -0.0294189453125, -0.022216796875, ...
[ 11249, 54, 87, 15190, 10, 91403, 47, 142, 10298, 53, 2146, 77087, 13, 30590, 6659, 14801, 11, 111, 831, 8306, 37629, 3642, 903, 738, 1295, 2609, 18770, 62539, 17727, 233987, 194234, 10461, 69253, 363, 304, 617, 3444, 3714, 5646, 4527, 6...
[ 0.10113525390625, 0.0499267578125, 0.07666015625, 0.1968994140625, 0.095458984375, 0.298095703125, 0.129638671875, 0.05462646484375, 0.2041015625, 0.1817626953125, 0.1307373046875, 0.164306640625, 0.0745849609375, 0.1771240234375, 0.1663818359375, 0.07733154296875, 0.028656005859375,...
embed
70661425_c0
70661425
julia
0
Title: How to make type stable generator with a while condition like map? Problem title: How to make type stable generator with a while condition like map? Tags: julia, control-flow, list-comprehension, types Problem: How to make type stable generator with a while condition like map? Say I'm simulating an experiment an...
How to make type stable generator with a while condition like map? How to make type stable generator with a while condition like map? julia control-flow list-comprehension types How Any Bool How to make type stable generator with a while condition like map? Say I'm simulating an experiment and I don't know when the ste...
[ 0.0137939453125, 0.003936767578125, -0.00286865234375, 0.0111083984375, -0.00482177734375, 0.01104736328125, 0.0206298828125, 0.000370025634765625, -0.0068359375, -0.046142578125, -0.01141357421875, 0.0002880096435546875, -0.004150390625, 0.0111083984375, 0.01513671875, -0.005126953125...
[ 11249, 3249, 10644, 144142, 145823, 678, 12960, 35431, 1884, 22288, 47, 14801, 11, 6226, 118664, 5303, 52895, 28541, 2460, 929, 40226, 1916, 28007, 3714, 3229, 29954, 121011, 25944, 10298, 32354, 56112, 18, 3917, 163846 ]
[ 0.0723876953125, 0.09893798828125, 0.227783203125, 0.2568359375, 0.256591796875, 0.055267333984375, 0.171630859375, 0.1923828125, 0.08349609375, 0.167724609375, 0.007720947265625, 0.0787353515625, 0.0645751953125, 0.10638427734375, 0.144287109375, 0.090576171875, 0.16162109375, 0.1...
embed
64410904_c0
64410904
julia
0
Title: Julia plot / statsplot does show default labels instead of column names Problem title: Julia plot / statsplot does show default labels instead of column names Tags: plots.jl, julia, pluto.jl, dataframe Problem: Julia plot / statsplot does show default labels instead of column names My Julia plot does show defaul...
Julia plot / statsplot does show default labels instead of column names Julia plot / statsplot does show default labels instead of column names plots.jl julia pluto.jl dataframe DataFrames Julia Plots Statplots df_test DataFrame plots.jl pluto.jl Julia plot / statsplot does show default labels instead of column names M...
[ 0.036865234375, 0.0166015625, 0.007110595703125, 0.00921630859375, -0.0037841796875, -0.01263427734375, 0.0155029296875, -0.02978515625, 0.00011348724365234375, 0.05078125, -0.017822265625, -0.00116729736328125, -0.00628662109375, 0.01544189453125, 0.01385498046875, 0.00738525390625, ...
[ 60592, 23577, 248, 63841, 105710, 14602, 7639, 114977, 67967, 7, 64457, 3365, 316, 123055, 51349, 14801, 11, 12266, 188, 160328, 108386, 168763, 23888, 6954, 11809, 2646, 113, 418, 136, 304, 10, 876, 157666, 86869, 31089, 15490, 143726, 14745...
[ 0.27978515625, 0.2183837890625, 0.0343017578125, 0.1158447265625, 0.1900634765625, 0.04107666015625, 0.1126708984375, 0.234619140625, 0.2607421875, 0.0390625, 0.1417236328125, 0.09912109375, 0.12890625, 0.1243896484375, 0.1025390625, 0.132568359375, 0.07342529296875, 0.059600830078...
embed
67821781_c0
67821781
julia
0
Title: Add function docstrings with Documenter.jl Problem title: Add function docstrings with Documenter.jl Tags: julia, documentation-generation Problem: Add function docstrings with Documenter.jl I'm trying to create a documentation for a Julia package using Documenter.jl . (I'm fairly new to Julia in general though....
Add function docstrings with Documenter.jl Add function docstrings with Documenter.jl julia documentation-generation Add Documenter.jl Functions Add function docstrings with Documenter.jl I'm trying to create a documentation for a Julia package using Documenter.jl . (I'm fairly new to Julia in general though.) Now I wa...
[ 0.0108642578125, 0.01239013671875, -0.0103759765625, -0.01080322265625, -0.0235595703125, 0.01507568359375, 0.0157470703125, 0.002685546875, 0.003814697265625, -0.03076171875, 0.0126953125, -0.0118408203125, -0.015380859375, 0.0062255859375, 0.01513671875, -0.0062255859375, -0.002761...
[ 29117, 32354, 51584, 91693, 7, 678, 43101, 56, 51349, 5, 14801, 11, 209806, 48281, 28670, 10763, 28282, 60592, 98169, 17368, 180663, 3525, 4537, 149016, 3642, 831, 2046, 756, 10, 108975, 23, 15190, 1238, 1829, 16188, 34695, 11435, 2806, 230...
[ 0.1416015625, 0.2216796875, 0.2100830078125, 0.268310546875, 0.08544921875, 0.108154296875, 0.235107421875, 0.1632080078125, 0.213134765625, 0.0367431640625, 0.14892578125, 0.1171875, 0.23388671875, 0.1026611328125, 0.178955078125, 0.07952880859375, 0.0623779296875, 0.260498046875,...
embed
38859306_c0
38859306
julia
0
Title: Find the first occurrence of a given column Problem title: Find the first occurrence of a given column Tags: julia, multidimensional-array Problem: Find the first occurrence of a given column In the documentation i have found a function findfirst which is capable of returning the index of the first element, whic...
Find the first occurrence of a given column Find the first occurrence of a given column julia multidimensional-array Find Find the first occurrence of a given column In the documentation i have found a function findfirst which is capable of returning the index of the first element, which is equal to the given one. In m...
[ 0.00799560546875, -0.004913330078125, -0.00927734375, 0.0303955078125, -0.0079345703125, -0.004180908203125, 0.0164794921875, -0.0257568359375, 0.010009765625, -0.017333984375, 0.00103759765625, 0.012939453125, -0.021240234375, 0.0135498046875, -0.007171630859375, -0.006927490234375, ...
[ 26040, 70, 5117, 74918, 42, 6620, 34475, 3365, 316, 19, 14801, 11, 6024, 157955, 19305, 209806, 14037, 32354, 7413, 13448, 271, 87709, 30646, 214, 63262, 12830, 105950, 1632, 173, 18770, 10298, 3444, 47, 3714, 3642, 54, 442, 25612, 3917, ...
[ 0.1602783203125, 0.00732421875, 0.1888427734375, 0.1796875, 0.1646728515625, 0.111328125, 0.1168212890625, 0.1793212890625, 0.2000732421875, 0.0770263671875, 0.10595703125, 0.06689453125, 0.0283355712890625, 0.09857177734375, 0.077880859375, 0.0838623046875, 0.038299560546875, 0.16...
embed
61795002_c0
61795002
julia
0
Title: Having a hard time installing Julia (IJulia + Python) Problem title: Having a hard time installing Julia (IJulia + Python) Tags: python, julia Problem: Having a hard time installing Julia (IJulia + Python) I am struggling with installing "IJulia" in Julia. I tried Pkg.add("IJulia") and .build("IJulia") but there...
Having a hard time installing Julia (IJulia + Python) Having a hard time installing Julia (IJulia + Python) python julia Having Julia IJulia Python Pkg.add Having a hard time installing Julia (IJulia + Python) I am struggling with installing "IJulia" in Julia. I tried Pkg.add("IJulia") and .build("IJulia") but there mu...
[ 0.01336669921875, 0.01019287109375, -0.00299072265625, 0.0286865234375, -0.0003643035888671875, 0.01470947265625, 0.021484375, -0.031494140625, -0.00909423828125, -0.004180908203125, -0.0076904296875, -0.01104736328125, -0.02001953125, -0.005096435546875, -0.01165771484375, 0.001869201...
[ 171855, 7941, 1733, 20600, 214, 60592, 46765, 53588, 997, 145581, 17198, 50828, 14801, 11, 436, 8517, 4028, 237875, 58, 23, 37842, 5, 177149, 8110, 2967, 903, 2831, 442, 13695, 54433, 2806, 5045, 77947, 2174, 22008, 831, 4358, 166996, 449, ...
[ 0.050079345703125, 0.122802734375, 0.1165771484375, 0.1829833984375, 0.0771484375, 0.2890625, 0.1695556640625, 0.298828125, 0.1319580078125, 0.2467041015625, 0.10791015625, 0.137939453125, 0.2109375, 0.146484375, 0.04656982421875, 0.193115234375, 0.09033203125, 0.10009765625, 0.0...
embed
68213886_c0
68213886
julia
0
Title: Problem with extracting values from vector for for loop Problem title: Problem with extracting values from vector for for loop Tags: julia Problem: Problem with extracting values from vector for for loop I am trying to extract values from a vector to generate random numbers from a GEV distribution. I keep gettin...
Problem with extracting values from vector for for loop Problem with extracting values from vector for for loop julia vector Problem Truncated Poisson GeneralizedExtremeValue Problem with extracting values from vector for for loop I am trying to extract values from a vector to generate random numbers from a GEV distrib...
[ 0.0133056640625, 0.006195068359375, -0.006439208984375, -0.0126953125, 0.0091552734375, 0.00689697265625, 0.0045166015625, -0.0012664794921875, 0.00445556640625, -0.01068115234375, 0.004730224609375, -0.007171630859375, -0.01531982421875, -0.0093994140625, 0.005767822265625, -0.0037231...
[ 15649, 678, 125663, 214, 142424, 1295, 173, 18770, 100, 40956, 14801, 11, 19419, 16336, 3674, 64249, 1681, 9082, 54076, 856, 50770, 31577, 139392, 96759, 101935, 527, 40972, 113068, 13695, 20949, 18499, 18151, 3525, 1528, 5351, 959, 452, 6953...
[ 0.1419677734375, 0.04638671875, 0.2156982421875, 0.06243896484375, 0.198486328125, 0.1285400390625, 0.18310546875, 0.223876953125, 0.1070556640625, 0.1920166015625, 0.15771484375, 0.1153564453125, 0.05865478515625, 0.114013671875, 0.025390625, 0.151123046875, 0.0986328125, 0.063537...
embed
67445082_c0
67445082
julia
0
Title: How to find a substring or a char in an array of strings in Julia Problem title: How to find a substring or a char in an array of strings in Julia Tags: julia, string, performance Problem: How to find a substring or a char in an array of strings in Julia Whats a more efficient way to do the same thing that the n...
How to find a substring or a char in an array of strings in Julia How to find a substring or a char in an array of strings in Julia julia string performance How Julia Please Thx Hello World How to find a substring or a char in an array of strings in Julia Whats a more efficient way to do the same thing that the next li...
[ 0.003814697265625, -0.000396728515625, -0.0016021728515625, 0.0223388671875, -0.00750732421875, 0.00616455078125, 0.041748046875, -0.004241943359375, 0.004364013671875, -0.0067138671875, -0.002471923828125, -0.0054931640625, -0.0062255859375, 0.01025390625, -0.012451171875, -0.01202392...
[ 11249, 7413, 1614, 91693, 707, 21441, 10298, 53, 79315, 23, 60592, 14801, 11, 23718, 30607, 6003, 425, 35378, 6661, 47, 10, 1286, 93766, 3917, 5701, 13580, 11737, 13315, 18151, 20594, 31577, 5117, 12830, 1193, 1556, 1407, 58437, 31330, 572,...
[ 0.08380126953125, 0.1663818359375, 0.220703125, 0.2423095703125, 0.0684814453125, 0.199951171875, 0.1605224609375, 0.1043701171875, 0.2427978515625, 0.07696533203125, 0.298583984375, 0.183349609375, 0.111572265625, 0.1583251953125, 0.179931640625, 0.061279296875, 0.0958251953125, 0...
embed
40269430_c0
40269430
julia
0
Title: How does Julia using behave on missing package? Problem title: How does Julia using behave on missing package? Tags: julia Problem: How does Julia using behave on missing package? So what exactly does Julia do with the statement using Foo if you don't have package Foo installed? As I understood Julia starts sear...
How does Julia using behave on missing package? How does Julia using behave on missing package? julia behave Foo How Julia JULIA_LOAD_PATH Foo.jl How does Julia using behave on missing package? So what exactly does Julia do with the statement using Foo if you don't have package Foo installed? As I understood Julia star...
[ 0.0157470703125, -0.005828857421875, -0.0201416015625, 0.01153564453125, -0.0038299560546875, 0.0218505859375, 0.0439453125, -0.01025390625, -0.002655029296875, -0.007659912109375, -0.01446533203125, -0.01312255859375, -0.0228271484375, 0.011474609375, -0.00122833251953125, -0.02111816...
[ 11249, 60592, 17368, 186, 68991, 98, 132283, 98169, 14801, 11, 9572, 31, 30357, 67991, 17014, 12351, 65135, 841, 51349, 54, 678, 63805, 2174, 2301, 18, 20600, 4034, 157318, 3642, 74855, 17366, 14364, 5, 176302, 133784, 35829, 28032, 31344, ...
[ 0.04486083984375, 0.309814453125, 0.166259765625, 0.08331298828125, 0.14599609375, 0.10284423828125, 0.1990966796875, 0.1959228515625, 0.2384033203125, 0.19287109375, 0.156982421875, 0.13623046875, 0.1961669921875, 0.1937255859375, 0.100830078125, 0.0615234375, 0.1312255859375, 0.0...
embed
70106993_c0
70106993
julia
0
Title: How to draw a boundary line on a scatter plot for classifier in Julia? Problem title: How to draw a boundary line on a scatter plot for classifier in Julia? Tags: scatter-plot, plot, julia Problem: How to draw a boundary line on a scatter plot for classifier in Julia? If I want to draw a boundary line to separat...
How to draw a boundary line on a scatter plot for classifier in Julia? How to draw a boundary line on a scatter plot for classifier in Julia? scatter-plot plot julia How Julia How to draw a boundary line on a scatter plot for classifier in Julia? If I want to draw a boundary line to separate two classes which is the re...
[ 0.01336669921875, 0.00885009765625, 0.0108642578125, 0.002410888671875, 0.01141357421875, 0.022705078125, 0.032470703125, -0.0185546875, -0.01129150390625, 0.021484375, -0.0228271484375, -0.0123291015625, -0.01104736328125, 0.004486083984375, 0.020263671875, -0.0189208984375, -0.0207...
[ 11249, 47, 79442, 10, 99091, 6635, 13315, 98, 16275, 3055, 23577, 100, 18507, 85789, 23, 60592, 105710, 14801, 11, 3444, 84797, 6626, 61112, 16750, 442, 49726, 121413, 22556, 50997, 26847, 9709, 272, 169123, 11177, 7398, 8705, 83, 959 ]
[ 0.0899658203125, 0.05792236328125, 0.1904296875, 0.0281829833984375, 0.1881103515625, 0.148681640625, 0.184326171875, 0.09075927734375, 0.1417236328125, 0.1466064453125, 0.1500244140625, 0.052215576171875, 0.130859375, 0.1885986328125, 0.0728759765625, 0.297607421875, 0.1217041015625...
embed
66356619_c0
66356619
julia
0
Title: Julia DSP: Convolution of discrete signals Problem title: Julia DSP: Convolution of discrete signals Tags: julia, convolution, signal-processing Problem: Julia DSP: Convolution of discrete signals Here is the problem . I want to write a convolution for two simple signals x[n]=0.2^n*u[n] and h[n]=u[n+2] for some ...
Julia DSP: Convolution of discrete signals Julia DSP: Convolution of discrete signals julia convolution signal-processing Plots Julia DSP Convolution Julia DSP: Convolution of discrete signals Here is the problem . I want to write a convolution for two simple signals x[n]=0.2^n*u[n] and h[n]=u[n+2] for some values of n...
[ -0.0018310546875, 0.0223388671875, -0.006683349609375, 0.0128173828125, 0.0032958984375, 0.01007080078125, 0.005401611328125, -0.002197265625, 0.00836181640625, -0.003692626953125, 0.0045166015625, -0.0311279296875, 0.037109375, 0.043212890625, 0.0024871826171875, -0.00946044921875, ...
[ 60592, 391, 9434, 12, 1657, 137089, 81604, 26073, 14801, 11, 158, 63923, 168763, 11853, 2967, 3444, 33022, 10, 100, 6626, 8781, 1022, 1065, 19, 1369, 133684, 8353, 1639, 34, 1096, 54651, 3060, 142424, 111, 653, 3293, 3642, 29479, 1650, 22...
[ 0.2379150390625, 0.048248291015625, 0.167236328125, 0.0025634765625, 0.060577392578125, 0.284423828125, 0.149658203125, 0.267333984375, 0.1317138671875, 0.0838623046875, 0.1556396484375, 0.038970947265625, 0.1214599609375, 0.0557861328125, 0.0953369140625, 0.08270263671875, 0.1922607...
embed
40687337_c0
40687337
julia
0
Title: Making a no parameter type have "defaults" Problem title: Making a no parameter type have "defaults" Tags: types, julia Problem: Making a no parameter type have "defaults" I essentially want to do the following: typealias CVODE_BDF CVODE_BDF{:Newton,:Dense} that is, allow a user to pass to my...
Making a no parameter type have "defaults" Making a no parameter type have "defaults" types julia Making CVODE_BDF Newton Dense T.parameters Making a no parameter type have "defaults" I essentially want to do the following: that is, allow a user to pass to my function CVODE_BDF and, if they did not ...
[ -0.000225067138671875, 0.0177001953125, 0.0020599365234375, 0.032470703125, 0.001983642578125, -0.0069580078125, 0.00701904296875, -0.01385498046875, 0.00225830078125, 0.031982421875, -0.0123291015625, -0.02978515625, -0.004791259765625, 0.01239013671875, -0.01165771484375, -0.00433349...
[ 13676, 110, 171859, 10644, 765, 214810, 7, 52895, 14801, 11, 120272, 647, 571, 38997, 145076, 1575, 184, 384, 6276, 29089, 85590, 3444, 25632, 63769, 10, 38937, 27875, 47, 32354, 313, 2174, 959, 5423, 2499, 29481, 46568, 1507, 397, 21161, ...
[ 0.0823974609375, 0.1455078125, 0.228759765625, 0.1966552734375, 0.070556640625, 0.240234375, 0.11767578125, 0.208740234375, 0.1317138671875, 0.115478515625, 0.1431884765625, 0.1676025390625, 0.06243896484375, 0.186279296875, 0.1644287109375, 0.1788330078125, 0.119384765625, 0.09106...
embed
62117171_c1
62117171
julia
1
what I'm doing wrong? Should I use a different backend? It doesn't work on either gr() or plotlyjs() (those are the only ones I know of, based on tutorials I've completed). Follow up question: once I can successfully plot such 3-D trajectories in a single static plot, I am wondering how you would go about animating th...
what I'm doing wrong? Should I use a different backend? It doesn't work on either gr() or plotlyjs() (those are the only ones I know of, based on tutorials I've completed). Follow up question: once I can successfully plot such 3-D trajectories in a single static plot, I am wondering how you would go about animating th...
[ -0.005401611328125, 0.0341796875, -0.000499725341796875, 0.003631591796875, -0.0093994140625, 0.0035552978515625, 0.02783203125, -0.00022125244140625, 0.025146484375, -0.0130615234375, -0.00860595703125, -0.0294189453125, -0.011474609375, 0.0062255859375, -0.01361083984375, -0.00207519...
[ 2367, 87, 39, 20594, 44691, 4527, 12921, 4420, 3611, 1650, 22027, 18, 4488, 4452, 132, 23577, 538, 28175, 4734, 3714, 57143, 140528, 24145, 831, 65771, 6044, 5691, 397, 182418, 31, 10484, 11001, 201939, 149016, 1672, 10127, 1916, 2856, 645,...
[ 0.001251220703125, 0.013519287109375, 0.0174407958984375, 0.04052734375, 0.0849609375, 0.01239013671875, 0.011199951171875, 0.086181640625, 0.135009765625, 0.0672607421875, 0.05877685546875, 0.070556640625, 0.111328125, 0.1390380859375, 0.07867431640625, 0.212890625, 0.119140625, 0...
embed
70486566_c1
70486566
julia
1
code? These ways of defining the function should be equivalent, though? According to the documentation , the full syntax and the "assignment form" should be identical: The traditional function declaration syntax demonstrated above is equivalent to the following compact "assignment form" Answers to this question say th...
code? These ways of defining the function should be equivalent, though? According to the documentation , the full syntax and the "assignment form" should be identical: The traditional function declaration syntax demonstrated above is equivalent to the following compact "assignment form" Answers to this question say th...
[ -0.0089111328125, 0.009765625, 0.00286865234375, -0.0021514892578125, -0.0047607421875, -0.002349853515625, 0.024658203125, -0.015380859375, -0.002899169921875, 0.0419921875, 0.0096435546875, -0.017822265625, -0.010009765625, -0.007415771484375, 0.0050048828125, -0.00836181640625, 0....
[ 18151, 32255, 48322, 13204, 449, 32354, 5608, 183234, 209806, 4393, 6002, 86531, 162, 31304, 674, 3173, 186, 31943, 6827, 89160, 21635, 1363, 106804, 36917, 83, 25632, 94928, 130373, 6097, 6626, 621, 137175, 136, 3181, 85540, 68185, 11249, 40...
[ 0.2340087890625, 0.024871826171875, 0.09161376953125, 0.174560546875, 0.050506591796875, 0.2286376953125, 0.053070068359375, 0.158203125, 0.0650634765625, 0.07659912109375, 0.1187744140625, 0.2196044921875, 0.05645751953125, 0.2081298828125, 0.08709716796875, 0.197021484375, 0.033325...
embed
47822190_c0
47822190
julia
0
Title: display interaction with Julia list comprehension Problem title: display interaction with Julia list comprehension Tags: julia Problem: display interaction with Julia list comprehension julia> display([i*j for i=1:3, j=1:3]) julia> display([i*j for i=1:3, j=1:3 i>=j]) 6-element Array{Int64,1}: 1 2 3 4 6 9 not a ...
display interaction with Julia list comprehension display interaction with Julia list comprehension julia Julia Array Int64 display interaction with Julia list comprehension not a surprise. what i'd like is: 3×3 Array{Int64,2}: 1 2 4 3 6 9 i suppose a for loop is needed. what i don't want is to generate the entire arra...
[ 0.0208740234375, 0.0020294189453125, -0.0003490447998046875, 0.00750732421875, 0.01080322265625, 0.01202392578125, 0.01611328125, 0.01434326171875, -0.007232666015625, 0.0279541015625, -0.01031494140625, -0.007110595703125, -0.013427734375, -0.017578125, -0.0167236328125, -0.0026245117...
[ 44116, 182809, 678, 60592, 5303, 46683, 3220, 6889, 14801, 11, 69253, 53, 360, 18, 13307, 55640, 2367, 17, 71, 1884, 83, 12, 138, 17676, 363, 4153, 304, 106, 116, 201, 305, 483, 139124, 100, 40956, 44841, 3444, 139392, 64194, 10298, 463...
[ 0.1827392578125, 0.2188720703125, 0.1116943359375, 0.27734375, 0.2001953125, 0.1456298828125, 0.1591796875, 0.04815673828125, 0.180419921875, 0.11181640625, 0.1688232421875, 0.1724853515625, 0.03570556640625, 0.0819091796875, 0.2264404296875, 0.06951904296875, 0.034271240234375, 0....
embed
63552993_c0
63552993
julia
0
Title: Converting a complex vector to a sparse diagonal array in Julia Problem title: Converting a complex vector to a sparse diagonal array in Julia Tags: sparse-matrix, diagonal, julia, matlab Problem: Converting a complex vector to a sparse diagonal array in Julia Trying to replicate a calculation from Matlab in Jul...
Converting a complex vector to a sparse diagonal array in Julia Converting a complex vector to a sparse diagonal array in Julia sparse-matrix diagonal julia matlab Converting Julia Converting a complex vector to a sparse diagonal array in Julia Trying to replicate a calculation from Matlab in Julia but am having troubl...
[ -0.004058837890625, 0.03515625, -0.0341796875, 0.0196533203125, 0.00518798828125, 0.00007152557373046875, 0.0052490234375, 0.00238037109375, -0.0103759765625, 0.007598876953125, -0.0067138671875, 0.01019287109375, -0.0380859375, -0.0027008056640625, -0.0002727508544921875, -0.009460449...
[ 1657, 814, 1916, 27140, 173, 18770, 47, 27148, 184, 207997, 10298, 53, 23, 60592, 87427, 14801, 11, 2589, 6114, 10, 40858, 143126, 74481, 7656, 63134, 96760, 11001, 3365, 316, 3934, 29367, 100, 50944, 425, 127664, 18151, 31577, 67, 1022, ...
[ 0.0207366943359375, 0.11572265625, 0.013214111328125, 0.2115478515625, 0.15576171875, 0.1551513671875, 0.0870361328125, 0.1748046875, 0.1337890625, 0.1488037109375, 0.12890625, 0.10546875, 0.0537109375, 0.28271484375, 0.06866455078125, 0.1629638671875, 0.0902099609375, 0.0412292480...
embed
30582880_c0
30582880
julia
0
Title: Julia macros may treat variable and literals differently? Problem title: Julia macros may treat variable and literals differently? Tags: julia Problem: Julia macros may treat variable and literals differently? Hi fellow Julia users, Why does this using HDF5, JLD s = "It would take me 48 hours to recompute this."...
Julia macros may treat variable and literals differently? Julia macros may treat variable and literals differently? julia HDF5 Julia JLD filename_no_ext eric_demo_file Julia macros may treat variable and literals differently? Hi fellow Julia users, Why does this evaluate differently from this?
[ 0.01708984375, 0.00035858154296875, -0.0125732421875, 0.007720947265625, -0.00653076171875, 0.0189208984375, -0.00628662109375, 0.003204345703125, -0.01385498046875, -0.004119873046875, -0.025146484375, -0.01556396484375, 0.0078125, -0.0228271484375, 0.0174560546875, -0.0137939453125, ...
[ 60592, 111789, 7, 1543, 85689, 77336, 136, 15659, 16765, 12921, 538, 14801, 11, 4732, 919, 758, 821, 30693, 11435, 11627, 157, 3355, 18, 72, 1771, 80750, 29822, 145042, 72095, 44084, 151575, 1295 ]
[ 0.2880859375, 0.2164306640625, 0.109619140625, 0.0975341796875, 0.1373291015625, 0.263427734375, 0.0599365234375, 0.1859130859375, 0.15087890625, 0.14453125, 0.03912353515625, 0.1854248046875, 0.1419677734375, 0.087646484375, 0.0792236328125, 0.1224365234375, 0.07476806640625, 0.15...
embed
52805212_c0
52805212
julia
0
Title: Standard deviation for float array JuliaLang Problem title: Standard deviation for float array JuliaLang Tags: standard-deviation, julia, floating-point Problem: Standard deviation for float array JuliaLang I'm trying to run std(list), where list is a Float array but I receive the next error: "MethodError: objec...
Standard deviation for float array JuliaLang Standard deviation for float array JuliaLang standard-deviation julia floating-point Standard JuliaLang Standard deviation for float array JuliaLang I'm trying to run std(list), where list is a Float array but I receive the next error: "MethodError: objects of type Array{Flo...
[ 0.0224609375, 0.002471923828125, -0.01806640625, 0.00061798095703125, -0.0133056640625, -0.00250244140625, -0.009765625, -0.00799560546875, -0.01287841796875, 0.007568359375, -0.00775146484375, -0.01507568359375, -0.01129150390625, 0.004852294921875, -0.00982666015625, -0.023193359375,...
[ 20744, 30170, 2320, 21917, 257, 10298, 53, 60592, 2729, 449, 5570, 118318, 14801, 11, 38496, 31577, 11675, 6138, 71, 6562, 5303, 38699, 11737, 18499, 78572, 7352, 18468, 31611, 36746, 10644, 69253, 365, 13307, 418, 959, 11782, 2886, 36836, ...
[ 0.1849365234375, 0.223388671875, 0.0328369140625, 0.20703125, 0.10284423828125, 0.1651611328125, 0.09320068359375, 0.2230224609375, 0.0701904296875, 0.138427734375, 0.1639404296875, 0.19677734375, 0.1834716796875, 0.1552734375, 0.1177978515625, 0.045074462890625, 0.05718994140625, ...
embed
63645550_c1
63645550
julia
1
" =.... UNITS: UNITS = Dict(["CINTAS" => Dict(["cap" => 1000, "mincap" => 50, "dcap" => 24830, "util_cost1" => 1000, "maxprodr" => 24830]), "BUHLER1" => Dict(["cap" => 1500, "mincap" => 60, "dcap" => 37245, "util_cost1" => 1000, "maxprodr" => 37245]), ... When I run this I got an error: ERROR: LoadError: MethodError: n...
" =.... UNITS: UNITS = Dict(["CINTAS" => Dict(["cap" => 1000, "mincap" => 50, "dcap" => 24830, "util_cost1" => 1000, "maxprodr" => 24830]), "BUHLER1" => Dict(["cap" => 1500, "mincap" => 60, "dcap" => 37245, "util_cost1" => 1000, "maxprodr" => 37245]), ... When I run this I got an error: ERROR: LoadError: MethodError: n...
[ -0.006805419921875, 0.0146484375, -0.0050048828125, 0.00592041015625, -0.011962890625, -0.0245361328125, 0.0167236328125, -0.0179443359375, 0.01239013671875, 0.01214599609375, -0.0201416015625, -0.0150146484375, -0.00537109375, -0.041015625, -0.003021240234375, -0.0166015625, 0.00457...
[ 44, 2203, 27, 67569, 12763, 12, 60897, 18, 115942, 36195, 15644, 4382, 1249, 836, 71, 110763, 1197, 34, 3675, 587, 271, 418, 24084, 112348, 42, 15639, 841, 20345, 17551, 1496, 108265, 4633, 153, 11675, 903, 18499, 151206, 24638, 2091, 712...
[ 0.1014404296875, 0.0863037109375, 0.06549072265625, 0.23974609375, 0.1976318359375, 0.0364990234375, 0.169921875, 0.17626953125, 0.1463623046875, 0.222412109375, 0.225341796875, 0.1917724609375, 0.153076171875, 0.179931640625, 0.04095458984375, 0.136962890625, 0.161865234375, 0.011...
embed
57259609_c0
57259609
julia
0
Title: for loop speed and exponentiation in julia Problem title: for loop speed and exponentiation in julia Tags: precision, julia, for-loop Problem: for loop speed and exponentiation in julia i timed the following code in julia: function foo() for x=1:10^25 y = 1 + 2 end end the result seems unrealistic: @time foo() 0...
for loop speed and exponentiation in julia for loop speed and exponentiation in julia precision julia for-loop MiB for loop speed and exponentiation in julia i timed the following code in julia: the result seems unrealistic: if 1:10^25 creates a sequence/range of that length and the for loop iterates through that many ...
[ 0.038818359375, -0.01043701171875, -0.0206298828125, -0.00104522705078125, 0.01275634765625, -0.00836181640625, 0.0177001953125, 0.02392578125, 0.013916015625, 0.0196533203125, 0.01458740234375, 0.01312255859375, -0.016357421875, -0.0140380859375, 0.004547119140625, -0.0279541015625, ...
[ 100, 40956, 38352, 136, 78643, 21616, 14801, 11, 23, 22619, 1830, 28354, 1208, 571, 1733, 25632, 18151, 70, 16750, 37202, 51, 187466, 1771, 2174, 106, 15110, 8353, 2588, 28282, 40, 944, 94250, 111, 450, 140909, 8560, 8305, 5941, 80854, 36...
[ 0.142822265625, 0.208984375, 0.2154541015625, 0.059661865234375, 0.1495361328125, 0.1109619140625, 0.223876953125, 0.198974609375, 0.040985107421875, 0.193115234375, 0.00640869140625, 0.1658935546875, 0.0941162109375, 0.1290283203125, 0.1505126953125, 0.011993408203125, 0.1171875, ...
embed
70515278_c0
70515278
julia
0
Title: Return the maximum sum in `DataFrames.jl`? Problem title: Return the maximum sum in `DataFrames.jl`? Tags: dataframes.jl, julia Problem: Return the maximum sum in `DataFrames.jl`? Suppose my DataFrame has two columns v and g . First, I grouped the DataFrame by column g and calculated the sum of the column v . Se...
Return the maximum sum in `DataFrames.jl`? Return the maximum sum in `DataFrames.jl`? dataframes.jl julia Random DataFrames.jl Random.seed TaskLocalRNG DataFrame Row Float64 Int64 gdt.v Return the maximum sum in `DataFrames.jl`? Suppose my DataFrame has two columns v and g . First, I grouped the DataFrame by column g a...
[ 0.0126953125, 0.01483154296875, -0.0013885498046875, 0.00634765625, 0.01043701171875, 0.0023345947265625, 0.01141357421875, 0.004302978515625, 0.000690460205078125, -0.021240234375, -0.01153564453125, 0.0234375, -0.0125732421875, -0.018310546875, 0.0021820068359375, -0.0001602172851562...
[ 173340, 38132, 10554, 23, 137989, 108386, 3716, 51349, 70, 2053, 160328, 7, 14801, 11, 39643, 306, 11809, 184, 297, 9598, 203758, 8066, 96190, 38699, 13307, 13384, 334, 5, 121691, 282, 6626, 3365, 316, 1779, 81, 136, 706, 37769, 74481, 11...
[ 0.1903076171875, 0.225341796875, 0.25244140625, 0.06231689453125, 0.09259033203125, 0.1939697265625, 0.17529296875, 0.23388671875, 0.0286102294921875, 0.0635986328125, 0.242431640625, 0.035797119140625, 0.1666259765625, 0.09912109375, 0.1099853515625, 0.045745849609375, 0.09106445312...
embed
46333342_c0
46333342
julia
0
Title: How to put multiple matshow() results in one figure? Problem title: How to put multiple matshow() results in one figure? Tags: data-visualization, julia, matplotlib, matrix Problem: How to put multiple matshow() results in one figure? I'm trying to make a figure like this. A matrix of plots, each is a visualizat...
How to put multiple matshow() results in one figure? How to put multiple matshow() results in one figure? data-visualization julia matplotlib matrix How How to put multiple matshow() results in one figure? I'm trying to make a figure like this. A matrix of plots, each is a visualization of a numerical matrix. I thought...
[ 0.0157470703125, 0.010498046875, 0, -0.01031494140625, 0.007415771484375, -0.0037689208984375, 0.004852294921875, -0.0260009765625, 0.01470947265625, 0.0010986328125, -0.0238037109375, -0.01287841796875, 0.007293701171875, 0.00823974609375, -0.0245361328125, -0.026611328125, -0.00087...
[ 11249, 3884, 48716, 2589, 31374, 132, 50339, 23, 1632, 26366, 2053, 1824, 20605, 14801, 11, 105710, 5612, 50944, 31577, 425, 111, 23577, 21176, 47691, 54744, 18151, 6713, 27512, 683, 12631, 7, 7426, 1810, 3525, 54825, 41371, 84797, 5701, 44...
[ 0.0828857421875, 0.1016845703125, 0.22412109375, 0.1983642578125, 0.280029296875, 0.05755615234375, 0.1873779296875, 0.0517578125, 0.1092529296875, 0.214599609375, 0.0223388671875, 0.0067138671875, 0.05078125, 0.07513427734375, 0.05718994140625, 0.0826416015625, 0.0885009765625, 0....
embed
47915722_c0
47915722
julia
0
Title: Julia Jupyter Notebook persists despite logout from browser Problem title: Julia Jupyter Notebook persists despite logout from browser Tags: julia, jupyter-notebook Problem: Julia Jupyter Notebook persists despite logout from browser Running Julia in a terminal (macOS) and then launching a Jupyter notebook julia...
Julia Jupyter Notebook persists despite logout from browser Julia Jupyter Notebook persists despite logout from browser julia jupyter-notebook browser IJulia Julia Jupyter Notebook Julia Jupyter Notebook persists despite logout from browser Running Julia in a terminal (macOS) and then launching a Jupyter notebook This ...
[ 0.02392578125, 0.046630859375, 0.00107574462890625, -0.001983642578125, 0.01495361328125, -0.0013885498046875, 0.0245361328125, 0.01141357421875, -0.01904296875, -0.023193359375, -0.00897216796875, 0.013671875, -0.03076171875, 0.026123046875, 0.004302978515625, -0.030029296875, 0.025...
[ 60592, 3314, 6493, 720, 183098, 70560, 7, 8, 61518, 7643, 1003, 1295, 31842, 14801, 11, 1129, 48345, 14137, 46765, 53588, 28398, 23, 33949, 35572, 7285, 7068, 83184, 10, 74305, 43240, 5885, 33306, 3229, 12684, 136, 20450, 2685, 7464, 51042,...
[ 0.27734375, 0.1419677734375, 0.1600341796875, 0.1739501953125, 0.267822265625, 0.212646484375, 0.084228515625, 0.0240936279296875, 0.131591796875, 0.119873046875, 0.134033203125, 0.1356201171875, 0.20458984375, 0.150634765625, 0.0802001953125, 0.11328125, 0.166259765625, 0.19091796...
embed
65832327_c0
65832327
julia
0
Title: Is it possible to pin a task to a particular thread? Problem title: Is it possible to pin a task to a particular thread? Tags: julia, multithreading Problem: Is it possible to pin a task to a particular thread? Julia's multithreading system is built atop tasks. I can create an asynchronous task that will always ...
Is it possible to pin a task to a particular thread? Is it possible to pin a task to a particular thread? julia multithreading Threads Is it possible to pin a task to a particular thread? Julia's multithreading system is built atop tasks. I can create an asynchronous task that will always run on the thread that spawned...
[ 0.01318359375, 0.01116943359375, -0.00147247314453125, -0.006866455078125, -0.001373291015625, 0.005828857421875, 0.0135498046875, -0.01544189453125, 0.0025177001953125, -0.05029296875, -0.0054931640625, 0.00119781494140625, -0.0087890625, 0.00823974609375, 0.002960205078125, 0.0047607...
[ 2071, 442, 7722, 47, 6520, 10, 66211, 17311, 86997, 14801, 11, 3869, 65847, 6238, 136719, 60592, 25, 5426, 88303, 13784, 831, 28282, 12654, 101966, 11343, 11675, 98, 5623, 7710, 1374, 2499, 981, 19341, 65450, 1257, 100, 40956, 36880, 756, ...
[ 0.040496826171875, 0.010406494140625, 0.1793212890625, 0.18017578125, 0.2457275390625, 0.0653076171875, 0.26953125, 0.1982421875, 0.26708984375, 0.1590576171875, 0.133544921875, 0.13623046875, 0.142822265625, 0.037109375, 0.19873046875, 0.26953125, 0.0168609619140625, 0.115234375, ...
embed
39302133_c1
39302133
julia
1
is there an equivalent concept to: julia> findaliases(cross) result: [×] (I tried matching :× to :cross using a conditional list comprehension on names(Base) , but without much luck) Q2: Is there a programmatic way of doing the same for repeat(::String,::Int64) resulting in (^)(::AbstractString, ::Integer) , given tha...
is there an equivalent concept to: julia> findaliases(cross) result: [×] (I tried matching :× to :cross using a conditional list comprehension on names(Base) , but without much luck) Q2: Is there a programmatic way of doing the same for repeat(::String,::Int64) resulting in (^)(::AbstractString, ::Integer) , given tha...
[ 0.00274658203125, 0.011474609375, 0.00543212890625, 0.023681640625, 0.0027008056640625, 0.0213623046875, 0.003143310546875, 0.0033721923828125, -0.0108642578125, 0.020751953125, -0.001556396484375, -0.01361083984375, -0.0022430419921875, -0.0184326171875, 0.0026702880859375, 0.01220703...
[ 183234, 23755, 14801, 11, 2740, 7413, 41763, 5908, 95665, 16750, 17676, 14858, 214, 35431, 5303, 46683, 3220, 123055, 63473, 13, 2396, 304, 1528, 47148, 3917, 20594, 5701, 119140, 132, 71713, 18, 88235, 8353, 24988, 2816, 15390, 1984, 67, 1...
[ 0.09869384765625, 0.1331787109375, 0.2041015625, 0.150634765625, 0.0870361328125, 0.1573486328125, 0.2109375, 0.1683349609375, 0.173583984375, 0.1231689453125, 0.126708984375, 0.1114501953125, 0.0858154296875, 0.105712890625, 0.06158447265625, 0.032196044921875, 0.052947998046875, ...
embed
65590116_c0
65590116
julia
0
Title: Converting a floating value to Months and days Problem title: Converting a floating value to Months and days Tags: date, julia Problem: Converting a floating value to Months and days Just wondering if anyone knows how to convert a floating value to months and days. For example if I ended with 25.6 as a floating ...
Converting a floating value to Months and days Converting a floating value to Months and days date julia Converting Months DateTime Converting a floating value to Months and days Just wondering if anyone knows how to convert a floating value to months and days. For example if I ended with 25.6 as a floating value. I wa...
[ 0.0072021484375, -0.0172119140625, -0.01416015625, 0.0206298828125, -0.008544921875, -0.00106048583984375, -0.0108642578125, -0.005157470703125, -0.006561279296875, -0.00439453125, -0.027099609375, 0.0169677734375, 0.0096435546875, 0.0198974609375, 0.006317138671875, -0.02392578125, ...
[ 1657, 814, 1916, 21917, 26518, 34292, 47, 12982, 127, 136, 13312, 10, 5622, 14801, 11, 25512, 70059, 149016, 35672, 93002, 3642, 96760, 21775, 27781, 2174, 134620, 678, 11653, 910, 3444, 714, 2831, 3934, 39695, 122887, 1884, 729, 37842, 311...
[ 0.0750732421875, 0.1689453125, 0.0869140625, 0.200439453125, 0.1810302734375, 0.2154541015625, 0.1563720703125, 0.1824951171875, 0.189208984375, 0.1854248046875, 0.218017578125, 0.04766845703125, 0.112548828125, 0.12109375, 0.1029052734375, 0.0931396484375, 0.197021484375, 0.065917...
embed
41594744_c0
41594744
julia
0
Title: How to restore a over-written built-in function in Julia Problem title: How to restore a over-written built-in function in Julia Tags: julia Problem: How to restore a over-written built-in function in Julia The question may apply for other languages, too. If I use a built-in function name as a variable name, I c...
How to restore a over-written built-in function in Julia How to restore a over-written built-in function in Julia julia How Julia Base.all Base.sum How to restore a over-written built-in function in Julia The question may apply for other languages, too. If I use a built-in function name as a variable name, I can restor...
[ 0.0026397705078125, -0.00921630859375, 0.00384521484375, 0.030029296875, 0.01611328125, 0.0208740234375, -0.01556396484375, -0.0017852783203125, 0.0135498046875, -0.002838134765625, -0.0020294189453125, -0.0228271484375, 0.003936767578125, -0.0001983642578125, 0.0260009765625, -0.01239...
[ 11249, 47, 14359, 107, 645, 5429, 75639, 88303, 9, 73, 32354, 23, 60592, 10, 14801, 11, 44978, 5584, 11832, 46876, 4527, 9351, 77336, 831, 20594, 61924, 114122, 10554, 132, 18499, 7013, 456, 49919, 111, 53697, 3917, 2174, 22904, 442, 6920...
[ 0.082275390625, 0.05731201171875, 0.18896484375, 0.1507568359375, 0.1610107421875, 0.1624755859375, 0.123779296875, 0.1658935546875, 0.023681640625, 0.1573486328125, 0.19580078125, 0.08514404296875, 0.29638671875, 0.0311279296875, 0.20751953125, 0.1434326171875, 0.158935546875, 0.1...
embed
23170917_c0
23170917
julia
0
Title: Julia: How to select entire row from array Problem title: Julia: How to select entire row from array Tags: row, julia, arrays Problem: Julia: How to select entire row from array Ok, so I am still getting stumped by basic syntax. Right now I would like to know how to create a matrix filled with a single value c a...
Julia: How to select entire row from array Julia: How to select entire row from array row julia arrays array Julia How Any Julia: How to select entire row from array Ok, so I am still getting stumped by basic syntax. Right now I would like to know how to create a matrix filled with a single value c and once created how...
[ 0.000812530517578125, 0.0308837890625, 0.005157470703125, 0.023193359375, -0.00194549560546875, -0.017822265625, 0.01361083984375, 0.00634765625, -0.00005817413330078125, 0.01361083984375, -0.0027008056640625, -0.034423828125, -0.03515625, 0.002716064453125, -0.01104736328125, -0.02514...
[ 60592, 12, 11249, 47, 36849, 64194, 15555, 1295, 10298, 53, 14801, 11, 4778, 28541, 7464, 20051, 62822, 6002, 86531, 1884, 3642, 28282, 50944, 425, 152382, 678, 11001, 34292, 501, 24145, 75935, 91995, 2060, 903, 765, 36917, 43240, 1284, 372...
[ 0.258544921875, 0.05572509765625, 0.100341796875, 0.04937744140625, 0.2093505859375, 0.201171875, 0.239501953125, 0.09771728515625, 0.160400390625, 0.08642578125, 0.1475830078125, 0.07562255859375, 0.020111083984375, 0.04962158203125, 0.00518798828125, 0.00469970703125, 0.03106689453...
embed
40344189_c0
40344189
julia
0
Title: Julia - fixed size array in C struct Problem title: Julia - fixed size array in C struct Tags: c, julia, struct Problem: Julia - fixed size array in C struct I need to make a Julia type corresponding to a C struct that has a fixed size array: struct cstruct { ... int arr[N] //N known at compile time ... }; I hav...
Julia - fixed size array in C struct Julia - fixed size array in C struct c julia struct Julia arr::Ptr Cint Julia - fixed size array in C struct I need to make a Julia type corresponding to a C struct that has a fixed size array: I have defined Julia types corresponding to other C structs with arrays like this: But as...
[ 0.03515625, 0.01422119140625, -0.001251220703125, 0.01409912109375, 0.0255126953125, -0.01129150390625, 0.005645751953125, -0.005584716796875, 0.007537841796875, 0.0030670166015625, -0.01251220703125, -0.01080322265625, -0.01422119140625, -0.013427734375, 0.01300048828125, -0.027587890...
[ 60592, 20, 188347, 13267, 10298, 53, 23, 313, 36716, 501, 14801, 11, 187, 42, 4448, 40914, 18, 3871, 3249, 10644, 42518, 214, 61924, 52895, 4778, 1884, 903, 4734, 43240, 10, 6275, 56, 959, 29458, 11249, 63284, 5773, 3509, 80854, 38162, ...
[ 0.311767578125, 0.00970458984375, 0.231201171875, 0.1829833984375, 0.15478515625, 0.1339111328125, 0.03521728515625, 0.0999755859375, 0.209716796875, 0.06842041015625, 0.2025146484375, 0.0784912109375, 0.09686279296875, 0.1356201171875, 0.099853515625, 0.0587158203125, 0.062805175781...
embed
56407678_c0
56407678
julia
0
Title: Convert a DataType to a UnionAll in Julia Problem title: Convert a DataType to a UnionAll in Julia Tags: julia, types Problem: Convert a DataType to a UnionAll in Julia Is it possible to free a TypeVar in a DataType to get a UnionAll ? Big picture, what I am trying to do is: # this doesnt work f(::Type{V{T}}, ::...
Convert a DataType to a UnionAll in Julia Convert a DataType to a UnionAll in Julia julia types Convert DataType UnionAll Julia TypeVar Type AbstractVector Vector Char S::Type Convert a DataType to a UnionAll in Julia Is it possible to free a TypeVar in a DataType to get a UnionAll ? Big picture, what I am trying to do...
[ 0.0167236328125, 0.015869140625, -0.001800537109375, 0.0084228515625, -0.0024566650390625, -0.0113525390625, 0.00396728515625, -0.00274658203125, 0.004791259765625, -0.0283203125, 0.005889892578125, -0.01953125, 0.0037689208984375, 0.01361083984375, -0.019287109375, -0.0013198852539062...
[ 1657, 11549, 10, 11809, 196707, 47, 32528, 43512, 23, 60592, 14801, 11, 52895, 60457, 81827, 233973, 26455, 18770, 2609, 21656, 159, 442, 7722, 4092, 2046, 49726, 31577, 43581, 29806, 1405, 1238, 4369, 856, 618, 23009, 75935, 5303, 310, 442...
[ 0.0242156982421875, 0.1337890625, 0.04071044921875, 0.10498046875, 0.274169921875, 0.08135986328125, 0.1829833984375, 0.221435546875, 0.09521484375, 0.271484375, 0.1463623046875, 0.10357666015625, 0.188720703125, 0.194091796875, 0.2218017578125, 0.1373291015625, 0.1275634765625, 0....
embed
72862562_c0
72862562
julia
0
Title: size(X, 1) must be greater than n_components and n_components must be greater than 1 Problem title: size(X, 1) must be greater than n_components and n_components must be greater than 1 Tags: julia, matrix Problem: size(X, 1) must be greater than n_components and n_components must be greater than 1 I got a 2*86 m...
size(X, 1) must be greater than n_components and n_components must be greater than 1 size(X, 1) must be greater than n_components and n_components must be greater than 1 julia matrix n_components n_neighbors min_dist n_epochs size(X, 1) must be greater than n_components and n_components must be greater than 1 I got a 2...
[ -0.003997802734375, 0.0050048828125, 0.0093994140625, 0.0216064453125, 0.00811767578125, 0.015869140625, 0.013671875, -0.01611328125, 0.0220947265625, -0.0245361328125, -0.00183868408203125, -0.07275390625, -0.0025177001953125, 0.00958251953125, -0.00994873046875, -0.009033203125, 0....
[ 13267, 1542, 4, 4879, 8110, 117396, 3501, 653, 454, 277, 54137, 106, 7, 14801, 11, 50944, 425, 86, 6958, 3422, 881, 46295, 4517, 3581, 4163, 116, 1639, 15276, 3444, 59911, 788, 254, 98, 903, 23, 60592, 18151, 51404, 18499, 7614, 1234, ...
[ 0.229736328125, 0.2127685546875, 0.07763671875, 0.1741943359375, 0.196533203125, 0.1702880859375, 0.1390380859375, 0.1632080078125, 0.05230712890625, 0.1107177734375, 0.22265625, 0.118408203125, 0.008819580078125, 0.217529296875, 0.1644287109375, 0.19482421875, 0.0958251953125, 0.0...
embed
75859797_c0
75859797
julia
0
Title: Create multiple "indexed" Julia DataFrames with a for loop Problem title: Create multiple "indexed" Julia DataFrames with a for loop Tags: dataframes.jl, for-loop, julia Problem: Create multiple "indexed" Julia DataFrames with a for loop I would like to create several Julia DataFrames using a...
Create multiple "indexed" Julia DataFrames with a for loop Create multiple "indexed" Julia DataFrames with a for loop dataframes.jl for-loop julia Create Julia DataFrames name_list df$i DataFrame dataframes.jl Create multiple "indexed" Julia DataFrames with a for loop I would like to create several ...
[ 0.04931640625, 0.0028839111328125, -0.0140380859375, 0.0262451171875, 0.0133056640625, -0.0026702880859375, 0.024169921875, 0.0034637451171875, 0.01104736328125, 0.0233154296875, -0.003875732421875, -0.013916015625, 0.0059814453125, 0.00927734375, 0.0005950927734375, -0.0113525390625, ...
[ 151313, 48716, 4711, 297, 60592, 11809, 108386, 3716, 678, 100, 40956, 2053, 160328, 7, 51349, 28354, 14801, 11, 9351, 6562, 420, 4369, 14, 282, 10, 1884, 28282, 40368, 17368, 12638, 63262, 27781, 37842, 18, 4488, 15411, 113054, 116, 201505...
[ 0.1224365234375, 0.209716796875, 0.19189453125, 0.14111328125, 0.303955078125, 0.1126708984375, 0.2115478515625, 0.19580078125, 0.053863525390625, 0.1204833984375, 0.2197265625, 0.093994140625, 0.236083984375, 0.006195068359375, 0.11767578125, 0.157470703125, 0.1776123046875, 0.137...
embed
54564320_c0
54564320
julia
0
Title: Why is inv() failing? Problem title: Why is inv() failing? Tags: julia Problem: Why is inv() failing? When I try and run the inv() function on the example from the Julia documentation (v1.0.3), I get an error. The code is as follows (straight from the docs): julia> M = [2 5; 1 3] 2×2 Array{Int64,2}: 2 5 1 3 juli...
Why is inv() failing? Why is inv() failing? julia MethodError Why Array Int64 ERROR Float64 Use Why is inv() failing? When I try and run the inv() function on the example from the Julia documentation (v1.0.3), I get an error. The code is as follows (straight from the docs): It does work with pinv() , but I get some ext...
[ -0.028076171875, 0.007415771484375, 0.021484375, 0.01007080078125, 0.01361083984375, 0.00994873046875, -0.004547119140625, -0.0185546875, -0.013916015625, -0.005218505859375, -0.00164794921875, -0.0076904296875, -0.0084228515625, -0.001434326171875, -0.0181884765625, -0.00799560546875,...
[ 44084, 83, 23, 334, 132, 16, 35782, 214, 14801, 11, 74644, 18468, 31611, 69253, 53, 360, 18, 13307, 151206, 24638, 38699, 257, 36836, 9790, 11675, 32354, 27781, 60592, 209806, 102107, 21320, 18499, 18151, 28960, 14602, 4488, 6520, 1284, 306...
[ 0.121337890625, 0.06768798828125, 0.167236328125, 0.26025390625, 0.1708984375, 0.07012939453125, 0.1865234375, 0.1253662109375, 0.1763916015625, 0.1483154296875, 0.085205078125, 0.048828125, 0.0263214111328125, 0.09722900390625, 0.0574951171875, 0.0667724609375, 0.0631103515625, 0....
embed
73808064_c0
73808064
julia
0
Title: Some of the objects in a Julia Package are not defined Problem title: Some of the objects in a Julia Package are not defined Tags: julia Problem: Some of the objects in a Julia Package are not defined I am using Julia 1.8.1 in windows 10. I add the SumOfSquare Package, but some of the objects are not defined. Fo...
Some of the objects in a Julia Package are not defined Some of the objects in a Julia Package are not defined julia SumOfSquares Some Julia Package Symmetry Some of the objects in a Julia Package are not defined I am using Julia 1.8.1 in windows 10. I add the SumOfSquare Package, but some of the objects are not defined...
[ 0.035400390625, 0.005279541015625, -0.00439453125, 0.01336669921875, -0.0179443359375, 0.00946044921875, -0.00823974609375, -0.002593994140625, -0.01055908203125, 0.034423828125, -0.006072998046875, -0.0211181640625, 0.0174560546875, -0.018310546875, 0.004302978515625, 0.0101318359375,...
[ 31384, 111, 36746, 23, 60592, 56607, 4588, 621, 959, 61924, 71, 14801, 11, 36335, 132887, 294, 94727, 90, 4843, 3019, 15123, 17368, 615, 206730, 54825, 4068, 15190, 13, 3060, 11675, 18499, 5533, 4240, 81827, 18468, 31611, 150011, 98169, 184...
[ 0.0372314453125, 0.005950927734375, 0.1885986328125, 0.033782958984375, 0.28955078125, 0.1795654296875, 0.0882568359375, 0.0179290771484375, 0.11572265625, 0.198486328125, 0.0694580078125, 0.1707763671875, 0.10693359375, 0.2010498046875, 0.1961669921875, 0.011322021484375, 0.15759277...
embed
51956958_c0
51956958
julia
0
Title: How to copy a struct in julia Problem title: How to copy a struct in julia Tags: julia, struct, copy Problem: How to copy a struct in julia I would like to shallow copy a struct to copy only values but keep the collection references in it. But there seems to be no builtin method for it: julia> mutable struct S x...
How to copy a struct in julia How to copy a struct in julia julia struct copy MethodError How b.y a.y ERROR Closest Expr expr.jl:36 BitSet bitset.jl:46 Markdown.MD package_linux64 v0.7 Markdown parse.jl:30 Stacktrace none:0 How to copy a struct in julia I would like to shallow copy a struct to copy only values but keep...
[ 0.00677490234375, 0.01611328125, -0.00164794921875, 0.00927734375, 0.007415771484375, 0.007293701171875, 0.020751953125, -0.0223388671875, 0.01025390625, 0.0133056640625, 0.006500244140625, 0.0177001953125, 0.01055908203125, -0.00020313262939453125, 0.0211181640625, -0.0189208984375, ...
[ 11249, 47, 43658, 10, 36716, 23, 14801, 11, 74644, 18468, 31611, 876, 53, 151206, 153335, 271, 60075, 14700, 51349, 32944, 27774, 294, 126, 4785, 3509, 5, 32909, 7880, 34695, 44644, 98169, 2397, 6077, 13307, 134926, 1197, 6512, 99407, 351, ...
[ 0.05535888671875, 0.046905517578125, 0.2296142578125, 0.055572509765625, 0.261962890625, 0.1190185546875, 0.2333984375, 0.2047119140625, 0.09967041015625, 0.05462646484375, 0.016845703125, 0.02606201171875, 0.0953369140625, 0.09716796875, 0.1055908203125, 0.012054443359375, 0.0292053...
embed
58584146_c0
58584146
julia
0
Title: Julia equivalent of Matlab's “logical” matrix Problem title: Julia equivalent of Matlab's “logical” matrix Tags: boolean, julia, matrix Problem: Julia equivalent of Matlab's “logical” matrix Is there Julia equivalent for Matlab's “logical” matrix which you can use to mark certain positions in matrix an...
Julia equivalent of Matlab's “logical” matrix Julia equivalent of Matlab's “logical” matrix boolean julia matrix Julia Matlab Julia equivalent of Matlab's “logical” matrix Is there Julia equivalent for Matlab's “logical” matrix which you can use to mark certain positions in matrix and then use it for matrix m...
[ 0.01220703125, 0.041748046875, 0.0155029296875, 0.0186767578125, 0.011962890625, -0.0028076171875, 0.01409912109375, 0.00836181640625, -0.014892578125, 0.00885009765625, -0.00933837890625, 0.0093994140625, -0.01116943359375, -0.020263671875, 0.004119873046875, 0.0019073486328125, 0.0...
[ 60592, 183234, 111, 7656, 6114, 3768, 137043, 289, 50944, 425, 337, 31, 34677, 14801, 11, 2685, 100, 831, 4527, 47, 16188, 24233, 19069, 45258, 360, 2589, 33342, 1884, 3871, 13695, 45234, 5201, 207997, 23, 110 ]
[ 0.295654296875, 0.195068359375, 0.005035400390625, 0.128173828125, 0.2293701171875, 0.043670654296875, 0.18115234375, 0.104248046875, 0.1868896484375, 0.1248779296875, 0.0225982666015625, 0.080078125, 0.1771240234375, 0.1959228515625, 0.11865234375, 0.03656005859375, 0.031005859375, ...
embed