« first day (1473 days earlier)      last day (1759 days later) » 

8:14 AM
@ballBreaker hey, nice! Did you upgrade to crack?
 
 
5 hours later…
1:27 PM
trying to upgrade my linux with a new license...16 GB zip with a 16 GB iso inside.....
Why do I need 32 GB free space just to start installing matlab?
@AndrasDeak s/my linux/my matlab/ of course...
 
 
3 hours later…
4:37 PM
OK, I've got 2019a
only took me half a day :D
 
 
6 hours later…
10:18 PM
@AndrasDeak I now know a little bit more about RBFs and even suggested someone to use them
but I didn't find any nice libraries, so I just implemented everything manually like an ape
 
Nice, nice. I take it scipy.interpolate.Rbf doesn't cut it?
 
@AndrasDeak that only seems to do interpolation, so the number of rbfs is the same as the number of datapoints
 
indeed it does
 
While I don't hate numpy, I just don't get why they didn't implement any of the functions like .abs() .sqrt() .power() etc as methods of ndarray.
 
at least power is due to **
and I guess sqrt is just **0.5 ;)
 
10:25 PM
but then you have to wrap things in parenthesis which is a PITA
why use objects but no OOP :/
 
postfix ** needs exactly as much parentheses as .power(), right?
 
yes but np.exp(-(x**2)) is less elegant than x.power(2).exp()
 
ew, no
take that crap to another language :D
And on the one hand abs is part of the python data model, but on the other hand they could still define .abs() that delegates to the same .__abs__. There's probably an issue or mailing list discussion about this.
 
this is maybe not the best example, but it is just so cumbersome to have to repeat np. over and over again. For example the pytorch Tensor has all these things as methods and it is just so much more convenient.
 
nothing stops you from doing from numpy import exp, power` if that's your main issue ;)
 
10:28 PM
well I still don't have them as methods:)
I'll just use pytorch for all the numerical stuff from now on:)
Or haskell where you don't have to use many parenthesis at all.
Oh and let me continue complaining while I'm at it: Some of the functions that are actually implempented as methods, but not all. So you never actually know which ones are and which one aren't.
for example a.sum() is, while a.abs() isn't. But both seem to be equally elementary.
 
yeah, but most of the methods I can name are reductions
sum, mean, prod, any, all...
there's ndarray.round which is not a reduction
 
but cumsum, clip, conj, reshape, repeat, roun, dot aren't
I should fork numpy :)
 
OK, let me rephrase then: none of the ones I can name are element-wise. conj is a good one.
I'm trying to find some discussion of this because this must have come up
 
and instead of those pies everywhere in the python universe I'm gonna name it numpizza
Well I ned to get some sleep now, but if you find something please let me know:)
 
I will, good night
 
10:41 PM
And thanks for listening to my whining:)
 
heh, no worries
 
jó éjszakát
 
you too :P
huh, and the same way that abs delegates to __abs__ pow delegates to __pow__
if it weren't for round/.round() we could claim that "one obvious way" is the reason for the lack of methods
for what it's worth it's an open issue...
 

« first day (1473 days earlier)      last day (1759 days later) »