« first day (40 days earlier)      last day (3205 days later) » 

4:25 AM
@kkuilla - Nice find!
 
 
2 hours later…
6:40 AM
@thewaywewalk: I also never considered Germany a holiday destination - until I went on a road trip and noticed that there is so much stuff to see and do.
 
 
4 hours later…
11:05 AM
posted on August 10, 2015 by Steve Eddins

Here's something cool to try ...... read more >>

 
 
4 hours later…
2:45 PM
@rayryeng I saw that paper long time ago and remembered it just now. It just tries to fit gaussians with different parameters. That's all it is really (for the identification of body parts).
 
@kkuilla - hey it's something the person can try :)
 
3:24 PM
I found this entertaining
13
Q: Implement INTERCAL's Binary Operators

isaacgThe Compiler Language With No Pronounceable Acronym, abbreviated INTERCAL, is a very unique programming language. Among its unreproducible qualities are its binary operators. INTERCAL's two binary operators are interleave (also known as mingle), and select. Interleave is represented with a chang...

 
ohhhhh
I'm gonna try later :) Thanks for the link!
 
 
1 hour later…
4:39 PM
@LuisMendo, nice answer on the code golf !
 
@LuisMendo 49?
 
49 == ascii('1') ;)
took me a sec to figure that one out, too
that is a nice answer... i can't get used to treating binary numbers like strings
 
@beaker - ah :)
 
@beaker - It's one of those hacks that are very useful.
Like doing '101101010' - '0'
to convert a character array into a series of binary digits in an array
 
You and your golfing....
It's all fun and games until somebody loses an i
 
4:53 PM
Says the person who says ~~y is shorter than y==1.
hahahaha that's very funny.
 
room topic changed to MATLAB and Octave: Room to discuss MATLAB and Octave related topics - "It's all fun and games until someone loses an i" - Dev-iL on code golfing [matlab] [octave]
 
:D
 
that's a keeper :D
 
beautiful. Made that the new room creedance.
It's very à propos and also speaks about code golfing.
 
4:58 PM
@Hoki Thanks!
Thanks! Yes, that 49 saves one byte compared to '1' :-)
 
:D:D:D:D
I concur. It can get quite aggravating if someone beats out your solution by 1 byte :D
 
It's a pity that de2bi flips the result compared to dec2bin. It would have saved me some bytes too
 
@LuisMendo But if you use both bin2dec and dec2bin, won't they cancel out in the short version (if such exists for both)?
 
@Dev-iL @Dev-iL seems like it should, right?
 
I guess you know (/tried) something I don't :D
 
5:12 PM
posted on August 10, 2015 by Cleve Moler

A rectangular box, such as a book or a cell phone, thrown in the air can tumble stably about its longest axis, or about its shortest axis, but not about its middle axis.... read more >>

 
5:52 PM
Is there actually anybody using MuPad extensively? (the notebook interface)
(apart from Horchler obviously)
 
I have the maple plugin, but I can't say I use it :)
 
@thewaywewalk - The OP updated his question. It has more information that makes the problem slightly more difficult.
That's the one thing that pisses me off about people who post questions. They put up a question... then 3 minutes later they make an edit that significantly changes the question
 
Fun fact: for those who pronounce the accum in accumarray as "akoom" and not "akyoom", the word "akoom" has a meaning in Hebrew slang which is something along the lines of: ugly, disproportionate, twisted, crooked
This word has some other meanings as well (like the proper term for a "mathematical curve"; something that is simply not straight; out of the ordinary in a negative way)
 
lolol
I pronounce it akyoom, because you're accumulating something
 
Well this is because you know what accum stands for. But how would you naively pronounce a word that is written like that...?
O hi Ander!
 
6:17 PM
@rayryeng - yeah pain in the ass, but solved.
 
Cool cool. I'm gonna throw in an alternative using loops.
 
6:35 PM
@Amro - I've been reading up on some neural networks stuff... but I haven't figured out this question. Hope you don't mind me asking. In neural networks, how do you figure out how many hidden layers you need, and how many neurons per hidden layer? In terms of classification, the first layer makes sense-that's just the dimensionality of your data, and the output layer can be the total number of classes you have, but how do you design how many hidden layers and neurons per hidden layer you need?
 
@rayryeng That was addressed in the post from Loren's blog that I went off to read that ended up being written by a guest blogger...
 
really?
I can't remember the link. Do you have it handy?
 
BTW, this neural networks stuff is totally unrelated to the deep learning stuff that has surfaced recently lol. This is just for my own interest. I'm getting my knowledge vamped up in machine learning again
the last time I dealt with it was 4 years ago.
hm. it says to choose between the number of input and output layer neurons.. ok.. that makes sense.
but this particular example only has one hidden layer. How many hidden layers should you choose?
or is there some heuristic where you keep increasing layers until some acceptable error tolerance is met?
 
i've never worked on a problem where more than 1 hidden layer improved classification
 
6:43 PM
are there any situations where more than 1 hidden layer is better?
 
"You probably noticed that the artificial neural network model generated from the Pattern Recognition Tool has only one hidden layer. You can build a custom model with more layers if you would like, but this simple architecture is sufficient for most common problems."
 
and what uncommon problems are there where > 1 hidden layer is needed? :D
 
i would imagine there are higher-dimensional polynomials that require multiple layers
82
Q: How to choose the number of hidden layers and nodes in a feedforward neural network?

Rob HyndmanIs there a standard and accepted method for selecting the number of layers, and the number of nodes in each layer, in a FF NN? I'm interested in automated ways of building neural networks.

 
oh well look at that.
I swear I looked on Google first!
 
nice references too
bottom line: use 1 hidden layer ;)
 
6:48 PM
ahahah sweet.
I was just curious to know how many layers if there is a potential for them.
but I do know that adding more layers == more computational complexity
harder to train network
 
well, you have to adjust the weights for each layer sequentially during backpropagation
and little changes get magnified
 
yup
 
7:20 PM
@beaker - This initial system for autonomous driving used a 3 layer network... I'm assuming 1 input, 1 hidden, 1 output:
Training required someone to drive the car.
The car was equipped with a camera that took images of the road every 2 seconds and also recorded the direction of where the wheel was pointed to.
so it associated images with the direction of the car. Used those images to train the NN, then did a sample run of the car running autonomously.
 
 
1 hour later…
8:22 PM
@rayryeng This seems to be an update of Pomerleau's ALVINN. If you go here: cs.cmu.edu/%7Etom/mlbook-chapter-slides.html and look at the pdf for Chapter 4, on page 77 there is a diagram of the 3-layer ANN he used.
 
ooo let's have a look
ah very nice.
Each output unit gives you a direction... ranging from sharp left to sharp right.
4 hidden units... interesting.
the rule of thumb that Loren said that you should choose the number of hidden neurons to range between the total number of inputs and outputs
the # of inputs are 30 x 32, as each image is digitized and subsampled to that size... so 640 input neurons.
 
yes, it seems small, but it's already pretty linear, and you're basically summing each column
 
the number of output neurons would be 30... and so hidden layers == 4 has that theory out the window
but yeah I read in that CV post that if you the inputs are linearly separable, you don't even need a hidden layer
cool!
 
this is true, but i don't think this case would strictly be linearly separable
 
you're right
 
8:26 PM
just pretty close ;)
just goes to show that neural networks involve a lot of fine tuning
 
8:59 PM
@beaker - agreed!
 
 
1 hour later…
10:11 PM
@Dev-iL The problem with de2bi and bi2de is they that don't exactly cancel in my code. The t(:)'part (used for the interleave operator) would require a flipud, which costs 8 bytes. Besides, bi2de doesn't accept cell array input, which is the trick I use to avoid the verbose if... else ... end
 
I see
 
Does it make any sense that the dec2... and de2... versions give the opposite order by default? Grrr
 
 
1 hour later…
11:42 PM
Don't know the sense behind it, but the order of logical vectors representing a bit and the order of char arrays representing a bit is reversed.
 

« first day (40 days earlier)      last day (3205 days later) »