| Just stashing this somewhere |
[Apr. 20th, 2009|03:01 am] |
Needed a place to put this way of explaining inner product spaces...
vectors that are "perpendicular", or "orthogonal", have, in some sense "nothing to do with each other". There is no way you can approximate or "get closer to" [0,1] using a multiple of [1,0]...at all, really! Similarly, vectors that are linearly independent, in some sense, can each differentiate themselves from all the rest. They might approximate each other a bit - they can be somewhat similar - but all of them contribute something unique to the mix that no combination of the others have. For example, you can approximate [1,3] using a multiple of [0,1] (or vice versa), but you'll always have a little something missing. When working with vectors that have a lot of dimensions, you can get a feel that this sense of vector "similarity" becomes a lot like the statistical concept of "correlation". For example, [1,2,3,4...] is a lot like [2,3,4,5..], both when interpreted as vectors and when interpreted as data. But [-2, -1, 0, 1, 2] and [2, 1, 2, -3, 4] have very little to do with each other, both interpreted as vectors (they're orthogonal) and interpreted as data. When thinking about it in terms of vectors, the degree to which two vectors approximate each other has something to do with the angle between them. When the vectors point the same way, this is "maximum" similarity. When they point in perpendicular directions, this is "no" similarity. When pointing in opposite directions, this is sorta like "inverse" similarity. This sounds a lot like the measure of "similarity" should be the cosine of the angle, which you probably already know is closely tied to the dot product. And in fact, this is exactly the definition that is used for statistical "correlation". Put one set of data in one vector, the other set of data in another vector. Write out the formula for the cosine of the angle between the two vectors, (v1 dot v2 / (|v1||v2)), and this is exactly the formula for correlation. We can define a similar concept for *functions* that are "orthogonal", or "perpendicular", or "linearly independent". Functions that cannot approximate each other are in a sense "uncorrelated". How do we define "correlation" in this sense? A lot like the original statistical definition of correlation: Consider what happens if you "sampled" the first function n times, and did the same for the second function. Now treat each sample as "data" and apply the statistics definition of correlation, i.e. using the dot product. As the number of "samples" goes to infinity, the summations turn into integrals; thus, the correlation between the functions is <integral of (the two functions multiplied together), divided by the integrals of each function> Intuitively, you should think of orthogonal functions as functions that, if you created data from them, they would not seem correlated at all. We can find a series of "orthogonal" functions that all have the same "can't approximate each other" property that a basis of orthogonal vectors has. This is an "inner product space", which comes from the alternate name for a dot product ("inner product"). Here's one: (hmmm...polynomials?) Actually, just like there are lots of orthonormal bases for a single space of vectors, there are lots of orthnormal bases for the functions. You might recognize some of them: <constant, sin t, cos t, sin 2t, cos 2t, sin 3t, cos 3t, ...> <the atomic orbitals: s, p, d, f, ....> <more?> |
|
|
| A New TCG Trailer |
[Oct. 13th, 2007|02:36 am] |
| [ | Mental Status: |
| | restless | ] | Hmm, I got an e-mail today pointing me towards the new trailer for the TCG movie. I just saw it, but I'm not sure what to make of it....
Before any elaboration, see it for yourself, so my opinions can't possibly influence you. :P
High-Quality wmv High-Quality mov
( More after the cut... ) |
|
|
| Networks! |
[Mar. 1st, 2007|09:52 pm] |
INFO/ECON 204 students are supposed to make occasional blog posts about networks at the class blog. Here's mine, which I'll post at the class blog right after it's finalized and everything.
Edit: posted here.
( The post... ) |
|
|
| Squirrels |
[Sep. 29th, 2006|10:51 pm] |
And the squirrels are out in full force today! Actually, they've been out for a few days, climbing the oak trees and shaking all the acorn bunches out (occasionally onto the heads of passing pedestrians). A few days ago, I saw a photographer near Upson Hall (in the Engineering Quad) taking photos of a squirrel, but he was hiding behind a tree - so quite a few other squirrels were toying with him by poking out their heads from around the other side of the tree. It was almost like one of them was in front of him distracting him while the other squirrels did reconnaissance (Acorns Away! :p ). They're probably beginning to stock up for winter - tonight might be first frost, as it's going down to 38 degrees F (3 degrees C).
Speaking of food, today's dinner was much more eventful than usual. I managed to get in line right in the middle of a big hockey team from...Ontario, perhaps? I remember it was some city in Canada, at least. They had to pay with cash, instead of the normal fast swipe of a Cornell ID card, so the it was really agonizingly slow compared to the line's usual clearance speed. I talked a little bit to them, and I think I said something like "Welcome to Ithaca". They kinda seemed surprised by that - I'm not sure whether they expected "Welcome to Cornell" (since "Ithaca" might refer to the Community College) or nothing (like some sort of cold treatment due to them being a rival hockey team). Eh. I say weird things a lot when I don't mean to, like one day I was talking to someone (name withheld for privacy, just in case), and she was finished with her Prelim, but when we left we said "Good luck to you too!" anyway. Bleh.
Just as wei left, too, something else happened. A boy in blue sweatshirt, probably in his tweens, was outside, and apparently couldn't get in - the hall closes at 8:30 (though the food isn't taken away for about an hour after that, and just nobody mans the stations). After I let him in, he looked kinda lost - though I'd probably be lost too if there wasn't anyone manning the cashier. I helped get the attention of a staff member, who let him in without paying, and watched him get his food and start eating (under the guise of an ice cream cone). I heard something like he was told by his mom to eat (maybe "meet") there, and he did have money with him. He had brown hair with streaks of lighter hair, and that blue hooded sweatshirt. I almost want to go search the missing children's database, but I have way too few details and I wouldn't know where to start, plus he had money so I don't think he's in any physical danger.
introduced me to Travian - I'm in the southeast quadrant of server 3 (which is running at triple speed - yikes!). If anyone wants to join in... :) It looks kinda plain right now though - a lot of tweaking numbers and confusing resource-time micromanagement involved - but I'll try it for a round. |
|
|
| Truth and beauty (er, art, anyway) |
[Sep. 22nd, 2006|12:15 am] |
| [ | Mental Status: |
| | thoughtful | ] | I went to see An Inconvenient Truth at Willard Straight Hall (Wikipedia article), but I ate dinner late and left for it too late, and only caught...the last half-ish?
( More about the movie... )
Yesterday was my first real crunch day in terms of homework (i.e. everything was suddenly due at the same time):
- CS 312: A problem set due at 11:00 PM yesterday (submitted online, of course)
- PHIL 110 (the writing seminar): Paper final draft due today in class
- ENGRI 165 (computing and the arts): A bunch of art due today in class: two musical pieces produced using (1) snipplets of rhythms and snipplets of melodies randomly put together and (2) snipplets of rhythms randomly put together and a melody generated by randomly picking from a few intervals, plus one visual piece that needs to have constraints randomly picked from (i.e. shape, size, color, pattern, location...)
I kinda got a little lazy on the ENGRI - I just kept the same rushed on-paper music I did last week (I thought it was due last Thursday) and some art thrown together in Paint and pattern-filled by hand. Unfortunately, he collected the work this time. :( I hope it's not too bad in comparison to everyone else... I could have adapted my program to do the assignment, but by the time I finished the final draft of the paper, it was 1 AM and it was way too late to program and retest everything...
I'm not sure if I talked about the program, so...
( Outline of the music-creator )
Ah well, a lesson to learn for next time: get ahead a little more on homework!
A little bit more in a friends-only post. |
|
|
| College and Wikipedia |
[Sep. 2nd, 2006|01:43 am] |
| [ | Mental Status: |
| | pessimistic | ] | Eh. College is b-o-o-o-ooring.
Academically, I'm getting way less homework than I expected so far, even though most of my classes have already completed a week of lectures - it's less homework than in high school! Unfortunately, things are moving really fast - so it appears my time will be taken up with actually studying... Each class moves almost as fast as CTY (on days that the class meets, of course), and there we had something like 7 (combined) hours of class and study hall a day.
Socially...well. This wing of my dorm is painfully rowdy. They're shooting Nerf guns in the hallway (which is okay except that there must be one per room by now...), music/TVs/movies blaring (even now at 1:30ish AM, though I guess it's more acceptable on a Friday), very public discussions about frat parties and drinking (including people meeting RAs at them, at which they don't care), people who seem actually drunk (!!), far far too much sexual innuendo tension outgoingness?, and so on. Near the first few days (I think it was right after the hypnotist during orientation week), my roommate asked something like whether he could hypothetically sleep with a girl in his bed together (apparently meaning literally "sleep", not innuendo, after some inquiry). "Um...." Not knowing what to respond to that, I just said something like "Uh, if you'd really want to..." - I mean, who would really do that to either their girlfriend or their roommate?
I really didn't expect to see things like this at #12 Ivy League OMG FAMOUS NAME Cornell. I hope it's not like this in the rest of the campus, because that doesn't bode well for next year (unless I get to move out next year to an apartment or something...). Why didn't they at least group each college together, so I'd be with other Engineering students? Or would it still be the same way.....? The idea scares me; there must be some place where the majority doesn't just act like the stereotypical teen....
Daniel, Kris, Cecilia, come online more, please.... ;-;
...
And on another note...
Yesterday, I randomly started writing this essay on Wikipedia PR after I saw a message left on the talk page for Jimbo Wales (the founder). (I could have been writing a "real" essay for Philosophy 110, a Freshman Writing Seminar, but this topic took hold of me first. The other choice was a hypothetical animal-rights-in-medical-experiments issue turned into hypothetical "humans who are mentally retarded such that they behave as animals"-rights-in-medical-experiments issue... Horribly loaded. ) I'll post the draft version here, and if you'd like to comment, feel free to do so. :) Though, I already know that I'll probably have to end up reordering my points because I kinda typed it up while brainstorming...
The short version: Help others understand that the problem is the vandals and POV-pushers, not Wikipedia. If we encouraged positive contributions instead of focusing so much on defending against negative contributions, Wikipedia would have a better reputation and easier time working towards its real goals. Let’s take the offensive against the vandals by encouraging progress.
( The full draft version: )
( The pieces which would have made this even longer: ) |
|
|
| Blood and water |
[Aug. 29th, 2006|11:55 pm] |
| [ | Mental Status: |
| | tired | ] | Well, yesterday I came across a blood donation drive table after lunch - they signed me up for a "double red cell" for today which takes twice as many red blood cells but returns platelets and plasma (including nutrients) back into you, which is supposed to be better for you.
( Well, that didn't go too well at all... )
Other than that, classes are starting to ramp up in terms of work and homework, so I'm a little worried about time... I'm slightly ahead on work, though, for now.
( On Tropical Storm Ernesto )
One of our books for PHIL 110 ("Philosophy in Practice: Philosophy and Contemporary Moral Controversies", a Freshman Writing Seminar) is "A Rulebook for Arguments" by Anthony Weston, and it seems to be pretty good... I'd recommend it, at least based on the beginning and last few chapters so far, even if it's just as a reference for thinking clearly during those situations where things being said seem to be getting more and more dubious.
Nothing else really going on.... *shrug* In case anyone was wondering about the disparity in update frequency, Cel doesn't have anything for her journal, except maybe just a hello and greeting and a hope to see friends online more often soon. |
|
|
| navigation |
| [ |
viewing |
| |
most recent entries |
] |
| [ |
go |
| |
earlier |
] |
| |
|
|