« first day (2 days earlier)    last day (958 days later) » 

1:50 PM
@Mohammad @IvoFlipse Did you guys understand the ObserveEvidence function? I can't seem to be able to wrap my head around it.
 
2:10 PM
@Phonon I had a little help from Github :P
 
@IvoFlipse I see = )
I didn't get into the examples and the discussion forum in depth, but when I read the description is completely threw me off.
 
I'm trying to come up with a way to explain what the code does
Let's see, do you know what IndexToAssignment does?
A = IndexToAssignment(I, D) converts an index, I, into the .val vector
%   into an assignment over variables with cardinality D. If I is a vector,
%   then the function produces a matrix of assignments, one assignment
%   per row.
 
Yeah, I wrote the first two functions
It's just that I don't get semantically what ObserveEvidence must do.
Is there a paper or something that describes the process?
 
Not that I know off, I was planning to read the book, but given that the deadline was still way off I first focused on other things
Do you know what's in F(j)?
 
I that function?
Oh, I see. So if for a given factor all values are zero, then something impossible must have happened
 
2:17 PM
Well because you first use IndexToAssignment
then take all values in A that aren't x
 
No, j goes through the factors
 
and after that we use SetValueOfAssignment with F(j) and A
 
I think I get it. Evidence is the given in Pr(A|B).
So we're given some data as known, and based on that we're recalculating everything
 
that makes sense
 
Yeah, it was purely a semantic thing.
 
2:22 PM
all the cases that were first uncertain no longer are
 
Yeah
 
those depending on B that is
where they first could be 0 and 1, they are now 1, so we can add up all the cases where it was 0
 
And sometimes given data conflicts with the rest of the world in the Bayesian net.
Yup
eaxctly
 
That sounds really intuitive, its kind of said that they have to use such complicated data structures, without ever explaining them properly to make us program that
 
Yeah
 
2:24 PM
I know this is a graduate course and all, but just because I don't get what they want me to program, doesn't make me an idiot :P
 
It's like what you pick a certain value for one of the parameters in SAMIAM
 
and it would have helped if they gave us more prerequisite material
 
You fix one, and the rest of the net changes
 
because clearly just having done AI-class isn't enough :P
 
Yeah, I know = )
 
2:24 PM
@Phonon Indeed :)
 
@IvoFlipse I'll be on my way then = )
 
I think I'll first go read something, before diving into the next batch of material
I also have to make sure I don't get behind on NLP
oh wait, april 4th, I still have plenty of time
 
2:46 PM
@IvoFlipse Interesting article
 
I think he's right, because the amount of content I'm studying right now is probably way more than regular CS students would have
 
3:07 PM
Page 3 gives a good description of observing evidence is Bayesian networks
 
I'll give it a read
though I still have to finish my CS373 homework
the last assignment is a pita
 
4:01 PM
pita?
 
4:33 PM
pain in the ass :P
 
@Phonon Sorry man, havent been following it just yet - completely swamped with CS373, Venture Labs, Workx2, waiting for CV, hehe
Im just going to do a cursory scan of the PGM for now, its a great topic but my god.. her teaching is not... the best...
@IvoFlipse Exactly! I said the same thing to myself after the first couple of lectures. The whole point of those things is to make it "as simple as possible but not any simpler", and I feel as though there is a lot of work they need to do in that dept.
 
@Mohammad I didn't do anything for Venture Labs, I'd rather focus on the others than get distracted with business models and what not :P
 
@IvoFlipse who?
 
He also wrote the book about Kinect and Processing
Greg Borenstein I believe
 
Ah! Very nice...
Thanks for that
....aaaaaaaaaand bookmarked. ;-)
@IvoFlipse We will wait for @Phonon to suffer from the course and then have him teach it all to us! :-P
 
4:42 PM
@Mohammad Well I'm working on the last CS373 assignment, having some problems with picking the right indices, but after that I plan to do some reading for Algorithms and PGM
 
@IvoFlipse Yeah, is SLAM exciting for u btw?
@IvoFlipse My interest in CS373 sort of waned after 4th lecture,
 
@Mohammad Well I think the approach is nifty, but the homework questions suck :P
I just guessed some of the values for the first question
and the last one is annoying me
 
@IvoFlipse @Phonon BTW guys here is a site that talks about easy to understand bayes nets. (derandomized.com/post/20009997725/…)
 
and I have no real use for SLAM right now, because I'm not working with a robot
I'd like to come up with a model though, that based on the pressure measurements I can 'model' how something had to walk over the plate to create them
 
@IvoFlipse Yeah exactly. I think I was really just after the statistical/probabilistic aspects of the course in CS373 - although I have fallen in love with TWIDDLE! Very useful tool.
 
4:45 PM
then put in sufficient constraint to catch any 'mistakes' from the machine learning stuff
@Mohammad I saw that one on HN yeah, looked interesting indeed
 
@IvoFlipse Hmm so based on spatial location of pressure, and the pressure itself, you want to determine a gait?
 
4:59 PM
@Mohammad pretty much yeah, its already been done with humans
not totally accurate, but it doesn't have to be
it would just help me keep track of things like: if one paw is in contact with the ground, then the next contact can't be from the paw that's still on the ground elsewhere
or if I have a print which I'm certain is the front left paw and another hits right next to it, I could predict it was the right hind paw, but then if there also lands one near my front right paw, then obviously its highly unlikely that first one was a right hind paw :P
 
@IvoFlipse I see, and what determines a 'gait'? So If I give you a pressure pattern over time, and space, how do you get gait from that ?
 
@Mohammad probably learn it from labeled data
 
@IvoFlipse Hmm, but is deterministic though isnt it?
 
I might also use Kinect or another camera to get a better idea of what I would need to model/estimate
@Mohammad What do you mean by that?
 
@IvoFlipse Well, lets say you have a particular pressure reading in time/space, (lets fix it), then cant you say 'the gait is equal to so and so' - unique answer?
 
5:04 PM
I would train a model for several gait patterns or learn how to pick the right one based on patterns in the distribution (both spatial/temporal, but also for each paw)
that depends on what you define as gait then :)
 
@IvoFlipse Ya and thats what I was trying to determine earlier hehe :) How you define gait for this case?
 
for example in this case there's a pattern that's repeated in almost all trials for that dog (and quite a lot of others as well)
left front, right hind, right front, left hind, etc...
So obviously I would need to train it to try and recognize which pressure distribution belongs to which paw, then have it to make a 'robot model' walk the same way
honestly there's only a limited amount of combinations, if you can accurately find repeated patterns, so I could model every possibility and pick the most 'natural' one :P
 
@IvoFlipse Hmm, I see, interesting...
 
@Mohammad But perhaps it wouldn't even be necessary (though if I can make a 3D walking model that be cool :P)
I mean, I could just test every combination against a database of previously gathered results and see which outcome 'matches' best
 
5:24 PM
@IvoFlipse Sorry my coworkers keeps coming in.. :P
 
@Mohammad its fine, I'm still messing with CS373 anyway
 
5:40 PM
@IvoFlipse Yeah I mean, certainly the PGM model would help, to just model all this with all those varaibles. What I am wondering is, lets say you fix pressure amount, (either pressure or no pressure for simplicity), and let us also fix the number of pressure points that come in, (lets say 4 - in other words, you always get 4 points).
@IvoFlipse Now the only thing to determine is that pattern of points. So given this example, how does one determine a 'gait' from it?You know, 'Gait_number_1' is simply 'this' pattern of the dots, and 'Gait_number_2' is simply some other pattern of the dots?
@IvoFlipse brb
 
Ah I didn't necessarily wanted to use a PGM, but more something that actually 'models' the movements, like a stick figure, but without any fancy graphics :P
Though I'm obviously curious what a PGM could help me do
probably help me reason about a large group of variables, like I collect certain variables for each paw, which may or may not make it likely that its a left or right paw or a front or hind paw
 
5:53 PM
@IvoFlipse Yes exactly, collecting all that data about everything you can measure so to speak, and there will be some redundancy. Then you can also use PCA to do dimensionality reduction. I have used it for detecting certain patterns in my work as well
@IvoFlipse I am guessing PGM will show you which data are independent of likelihood of which animal it is
 
@Mohammad Been there done that :P
82
Q: How to sort my paws?

Ivo FlipseIn my previous question I got an excellent answer that helped me detect where a paw hit a pressure plate, but now I'm struggling to link these results to their corresponding paws: I manually annotated the paws (RF=right front, RH= right hind, LF=left front, LH=left hind). As you can see there...

@Mohammad I'd rather have it tell me the likelihood of which paw it is :P
 
6:22 PM
@IvoFlipse WOW! I have to read that over dinner or something :)
@IvoFlipse This sounds remarkably similar to what I am trying to do here: (dsp.stackexchange.com/questions/1699/…)
 
@Mohammad @IvoFlipse What is this CS 373 you're talking about?
 
@Phonon The Udacity Robot car class
 
Whoah
Awesome
Never heard of it
Oh no, I did.
They talked about it on the radio a few months ago
Nice!
 
@Phonon Wait you didnt know about it?? I thought you were taking it with me lol 0_0
 
@Phonon Its being given again next 'term' I think
 
6:32 PM
Cool
Don't know if I'll take it
 
It also covers stuff like Kalman filters, particle filters and such
 
I signed up for both CV and Information Theory
 
@Mohammad eerily familiar, I had the same idea when I saw that question
 
Wow, that's nice
 
@Phonon but you can also just watch those video's and then discuss it with us ;)
 
6:33 PM
@Phonon I can tell you the things I learnt about so far, pretty cool, histogram/kalman/particle filters, twiddle algorithm, (helps you set parameters for whatever algorithm you made - 'local hill climber), and some smoothing techniques
@Phonon Wait what class are you taking from udacity right now?
@IvoFlipse What is your paw project for?
 
@Mohammad I don't think I'm taking any. I'm doing Game Theory, PGM, and starting CalTech's Machine Learning
 
6:57 PM
@Phonon Oh ya about that were you able to watch recorded videos?
 
For which class?
 
@Phonon The caltech ML one
 
7:33 PM
@Mohammad I had no idea they were up. Hold on
@Mohammad I don't see any link to them or anything...
@Mohammad The class hasn't started yet, has it?
 
7:44 PM
@Mohammad Its a project with the veterinary department of a university and the company who makes those pressure plates
@Phonon I think I'll just follow that one to see if there's interesting stuff to learn
 
@Phonon I thought they started this past Tuesday but I was too busy to check it out...
@IvoFlipse What are your thoughts on using artificial training data, as you might have done with the paw example - is using artificial data 'cheating' in a way?
 
@Mohammad I only know what Andrew Ng said: its kind of cheating, because you can't tell if you can accurately predict if it'll work on actual samples, because you didn't train it on them
but obviously sometimes its all you got
btw I only used actual measured data
 
8:06 PM
@Mohammad Lecture 1 is next Tue
 
@IvoFlipse What I am thinking of doing for my problem is to make artificial data sets for all images, shifted, and scaled. Then I will get my eigen-dictionary off of that, and project any new set on those to detect occurance.
@Phonon Hmm thats weird...I could have sworn I thought this started this week ..heh
 
@Mohammad Yeah, that's what the web site says
 
@Phonon Yeah, just checked it. I suppose its a good thing, otherwise I would 'have' to listen to it hehe. How are you finding the PGM course so far?
 
I like it
Maybe not her teaching as much
Although I think I can follow (just)
But it's definitely teaching me a lot
I like that fact that we have to implement everything
I've never actually writted Markov-based predictors before
It's very cool
Plus I got a chance to seriously brush up on my probability. And now I know it better than ever.
 
8:28 PM
@Phonon Thats awesome - actually probability-based DSP is something that I think is really really powerful - and not something that we traditionally do - which is why once stuff calms down a little I migth have to revisit. Ill have to khan academy it a little bit for probability. Really it seems to just come down to Total Prob, and Bayes rule.
 
Yep
Exactly. No distributions or anything like that
 
@Phonon BTW I have been doing some initial research into prob models being used for TDOA - have you heard of TV algorithm?
 
No
Is it the one where you watch TV all day and not do any work?
I use it all the time.
Very robust
@Mohammad Can't find anything on it. A link?
 
8:53 PM
@Phonon I think I need a bit more brushing up before I could really follow it
 
@Phonon lol sorry was AFK
@Phonon One sec lemme pull it up in a bit, coworkers coming in and out ><
@Phonon Ok first of all go here: (ceremade.dauphine.fr/~peyre/numerical-tour/tours/…)
@Phonon @IvoFlipse <inset DOWNLOAD ALL THE THINGS meme here> :P
@Phonon @IvoFlipse Dld the general toolbox, and signal toolbox off the bat
@Phonon @IvoFlipse Within them, look up 'perform_tv_denoising'
@Phonon @IvoFlipse Even works with 2-D images! Im not sure how it works just yet... but it is of Bayesian nature...
 
9:55 PM
@Mohammad Wait, so is the TV stuff in there?
 
@Phonon Yeah, its under the 'toolbox signal'
@Phonon Look for 'perform_tv_denoising'
@Phonon Its a .m file
 
Cool
@Mohammad Very interesting. I've heard something about methods ot total variation before. I'll look into it.
 
@Phonon I think its the same thing - I printed a paper about it last night and read it, essentially its a (constrained) minimization problem. On the one hand, make your estimate of x have the least error to what noisy x, but on the other hand punish your estimate of x for having large variance
@Phonon The 'total variance' seems to just be sum(diff(x)).
@Phonon You found it yes?
 

« first day (2 days earlier)    last day (958 days later) »