« first day (1427 days earlier)      last day (1804 days later) » 

6:07 AM
How fare you, gentlemen?
@AndrasDeak mod's reply to my flag: "helpful - probably another account, but at least the question has improved, there's an attempt, even if still too broad. I'm letting this slide". FYI
 
@Dev-iL even with two equal questions?
Can't mods at least see IP addresses?
 
I didn't mention any other questions by this user duo (wasn't aware of such when posting the flag), and mod must've not noticed.
 
 
1 hour later…
7:40 AM
Will this person be creating a new user for each iteration of the question...? stackoverflow.com/questions/56334501
This time the MATLAB code is the same as in the previous iteration (for reference, the 1st <known> iteration)
 
7:55 AM
@Dev-iL I guess make a new modflag, possibly pointing to the Python question of the previous OP and the first one, which also happen to be the same: stackoverflow.com/questions/55980115/… and stackoverflow.com/questions/55979151/…
@Dev-iL A mod did did delete that first one though
 
It would've been roombad eventually anyway
 
 
2 hours later…
9:33 AM
@Dev-iL thanks
 
9:51 AM
What is this? How to close it?
0
Q: A function "procedure", is it MATLAB?

NaniI have read a chapter in a book and found this code: Does this code belong to MATLAB?

 
someone read a scientific article for the first time
 
@SardarUsama Good question.. It's some form of "off topic", perhaps a custom reason. I tagged as "ot:general hw/sw"
(btw, this is the article: arxiv.org/pdf/1510.06689.pdf )
 
@Dev-iL How did you find it? O.o
Have you read that before?
 
Nope, just googled "procedure HOOI"
 
hmmm.. so it was that simple...
 
10:04 AM
ugh
 
Sam
10:24 AM
I can see <- It must be R code
 
I've actually used [mre] today. Saving 1 character feels so golfy :)
 
 
1 hour later…
12:00 PM
@AndrasDeak do you have any idea if python, when elementwise-multiplying large sparse matrices, tries to preallocate memory for a full matrix of the resulting size? Because MATLAB does this, and it's annoying because it wants much more memory than it needs for storing the result...
 
@Dev-iL thats shity
 
@AnderBiguri that's just my observation. See stackoverflow.com/questions/56340347
 
ah wait
its the division that needs the memory, no?
 
mainly the kron
I didn't even get to the division yet
division should be managable
 
mmmm. That division will certainly need a full matrix as output, as such are the maths. x will not be sparse
but as you suggest, the size will be smaller
but kron should work with sparse
ah no
so yeah, use that FEX,
 
 
1 hour later…
1:14 PM
It looks like you are looking to hire a programmer. This is not the right website for that, though you could post a job on Stack Overflow Jobs. — Cris Luengo 3 mins ago
I’m getting more cynical. Maybe a sign I need to take a break? Or maybe I just need to get more sleep...
 
Is there some way to approximate (A+B)\b (where A,B are matrices and b is a vector) using A\b and B\b (which are cheap to compute)?
 
hahah maybe both :P
\ will always be slower
oh, you are stating that they are "cheap to compute" ?
 
Strangely, A+B is completely impossible to compute, but A\b and B\b are easy
 
why?
 
Because the tool you linked for doing Kron doesn't support +
 
1:17 PM
ah
can you not sparse the output ?
it returns a class, can you not go from class->sparse
and then do the addition
 
This defeats the purpose of using the class, because it avoids computing the full result
 
what do you mean "the full result"? The class computess the full result, no?
it just does not use full matrices
 
wait, it looks fine
and by "fine" I mean it didn't give an OOM (yet)
the point of the class is that it does not compute the Kron product explicitly, but uses various tricks that exploit the properties of a kron product to compute expressions that would use the output of kron, efficiently (e.g. kron(A,B)*b)
 
ah I see
 
so calling sparse computes the product explicitly, thus defeating the purpose and losing all performance gains.
 
1:26 PM
but krons and \ will not go good, or at least not easily
because \ is not "an operation", its an algorithm, a bunch of different ones
 
As I said Kron(A,B)\bactually works quite fast
but that's not the situation in the question... that guy has (Kron(A,B) + Kron(C,D))\b
 
@Dev-iL yes, but because matlab is good at it, whatever is doing
LU decomposition possibly
 
how would that help avoid the sum, though?
 
the problem is the implementation of that kron. If the result is in fact sparse, then an sparse implementation is needed. If its not, then I am not sure if there is any way around it
@Dev-iL I am not saying it shoudl
I am just saying it makes sense there is no easy way to relate kron (or any other algebaric operation) to \, because \ is not per se an algebraic operation
 
Ok I think I have some idea... It's actually a harmonic average
 
1:51 PM
@AnderBiguri very relaxing instrumental album..kind of jazzy math rocky stuff open.spotify.com/album/1wrLF6seLRorRM7Khq6RJX
 
will listen :D
 
[= made me think of you when I found it yesterday baha
 
2:03 PM
@Dev-iL the documentation says that mldivide should be supported for the kron FEX
 
Well yeah, I've been trying to tell you that it's easy to compute KronProd(A,B)\b etc.
 
ah yes, sorry, I derped now
 
 
1 hour later…
3:10 PM
@Dev-iL I don't know, and it may depend on the kind of sparse matrix
if the initial is sparse and so is the result then there should be no full intermediate I think
 
3:30 PM
Researchgate keeps shoving into my face a guy called Andras Deak that researches geopolitics in Budapest
 
yeah, I do many things
 
the paths of the data mining are many
praise be
 
that's also somewhat terrifying
 
it is
 
then again I call researchgate "science facebook" so it checks out
 
3:32 PM
it keeps saying "you may know him from "extended network""
 
Can it read your emails?
 
It should not be able to do so no
At least, it is not a thing that they ask, nor its an option in any of the settings
But as I am not very secretive about my name and real identity, maybe some meta analisys?
I knew a guy who worked in a company doing that. They woudl obtain tons of user data from webpages, and correlate it, and add them a "trustable score". Then sell bundles of data to companies
 
probably yeah
@Dev-iL scipy.sparse guesses the max number of nonzero elements before doing elementwise operations, so it should be safe. And it seems to me that all sparse matrix operations are implemented via CSR matrices, so it might be best to have that in the first place
 
3:57 PM
@AnderBiguri I'm guessing anyone could easily mine some data from SO and chat, couldn't they?
 
yup
also if you google my name probably one of the first hits is this chat
 
4:59 PM
@Dev-iL MREs taste terrible. Do not recommend.
I can't believe that's the acronym they went with.
 
5:37 PM
okay, i'd try that one
 
@excaza annoying website that wants me to disable my ad blocker, won't let me read the article without ads.
 
5:50 PM
Ok
 
6:09 PM
@CrisLuengo weird, it works for me, and the only thing enabled there in noscript is google.com
might be a geoIP thing...?
 
 
2 hours later…
8:09 PM
@beaker context?
 
@Dev-iL I was responding to your [mre] comment.
 
 
3 hours later…
11:13 PM
@Dev-iL I could've told you that ;)
 

« first day (1427 days earlier)      last day (1804 days later) »