Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Learning physics and programming AI  (Read 1800 times)

Supermikhail

  • Bay Watcher
  • The Dwarf Of Steel
    • View Profile
Learning physics and programming AI
« on: December 20, 2011, 09:24:21 am »

I recently decided to learn something through reading. I think I spend quite a bit of time in transport on my way to/from my university and sometimes other places, so instead of reading random books I find in a library, I decided to focus on some specific subjects. Currently I'm going ahead with veterinary medicine and zoology, because I used to be interested in zoology and recently my cat was (nerve-rackingly) ill. I'm not asking for advice in this field because there appears to be an abundance of various books on the subject in the library I go to.

For another subject to learn I chose... well, not sure what exactly I chose. But it has something to do with physics. I seem to periodically return to books dealing with black holes, and also the Big Bang theory. These are books by Stephen Hawking and Carl Sagan, mostly (also "Through the wormhole with Morgan Freeman!"). I thought there's something deeper I could learn, but I'm not sure where to begin or even what exactly I want to learn. So I'd appreciate it if someone provided some ideas or a word on whether its at all possible to learn something in this field on a train ride.

The third subject is programming AI. This summer I coded a simple game with the Djkstra algorhythm, then tried to move on to A*. And just gave up after some time (although, to be fair mostly it was for an unrelated bug). So I thought maybe it wasn't just because of not staring at the wikipedia page for A* enough time, but I lack some ground. Any advice on gaining that on a train ride?

I'm not looking for quick solutions, not books "for dummies" anyway - I haven't seen them in the sections of the library I am interested in. And probably not specific books unless the book is common.
Logged

MonkeyHead

  • Bay Watcher
  • Yma o hyd...
    • View Profile
Re: Learning physics and programming AI
« Reply #1 on: December 20, 2011, 09:28:44 am »

Cant comment on the programming, but I suspect its the same...High level Physics isnt just something you can "pick up". You will probably get a decent grounding by this approach, but good tuition and a lot of problem solving practice is needed to "learn" the subject in terms of the methods underpinning understanding. By all means have a god read around the subject - I really hope it stimulates you enough to take a few classes.
« Last Edit: December 20, 2011, 09:31:21 am by MonkeyHead »
Logged

Virex

  • Bay Watcher
  • Subjects interest attracted. Annalyses pending...
    • View Profile
Re: Learning physics and programming AI
« Reply #2 on: December 20, 2011, 02:05:21 pm »

One way to find out what books are useful is to take a look at the course sites for important universities and see what books are mandatory and recommended for their course. Most university grade books do a pretty good job at explaining their course matter, though they may cost you a bit.
Logged

Il Palazzo

  • Bay Watcher
  • And lo, the Dude did abide. And it was good.
    • View Profile
Re: Learning physics and programming AI
« Reply #3 on: December 20, 2011, 02:58:23 pm »

To get a better grasp of physics, without going to much into the esoteric, I suggest Resnick & Haliday's two-volume physics coursebook. It does require some mathematical knowledge(secondary school-level should do for most parts, basic differentiation and integration helps but is not necessary), but the main advantage for a newcomer to physics is that it's written in a very non-technical way, with lots of historical background, detailed descriptions of experiments and generally more text than equations.

Richard Feynman's transcribed lectures are a magnificent introduction to uni-level physics, but unlike the previous, are more to the point and are dependent on some higher maths knowledge.

For a less general, more popular-science approach, you could try Stephen Weinberg's The First Three Minutes about the beginings of the universe, or A.Einstein's own Relativity(he wrote a popularised version).

Grabbing pretty much any university-level introductory coursebook on cosmology or astrophysics can grant you lots of insights on the subjects, even if you skip most of the maths contained therein.
Logged

alway

  • Bay Watcher
  • 🏳️‍⚧️
    • View Profile
Re: Learning physics and programming AI
« Reply #4 on: December 20, 2011, 03:30:31 pm »

For learning about AI programming, this will be a great start: https://www.ai-class.com/home/
It's an online Stanford course about modern AI taught by a guy who worked on autonomous cars and another who literally wrote the book on AI (Norvig was a co-author of Artificial Intelligence: A Modern Approach; essentially the book on AI programming). It's also nice as it does have a lot of questions about the material w/ explanations if you didn't grasp the material. Course videos are on the left side of the page.
« Last Edit: December 20, 2011, 03:32:39 pm by alway »
Logged

Vector

  • Bay Watcher
    • View Profile
Re: Learning physics and programming AI
« Reply #5 on: December 20, 2011, 03:46:49 pm »

For the math side of physics, I highly recommend that you start learning some linear algebra and real analysis (to help you get into solutions of differential equations).  I hear it helps a lot.

Also, it's really, really, really fun, and linear algebra is also important for all kinds of programming and optimization.
Logged
"The question of the usefulness of poetry arises only in periods of its decline, while in periods of its flowering, no one doubts its total uselessness." - Boris Pasternak

nonbinary/genderfluid/genderqueer renegade mathematician and mafia subforum limpet. please avoid quoting me.

pronouns: prefer neutral ones, others are fine. height: 5'3".

Supermikhail

  • Bay Watcher
  • The Dwarf Of Steel
    • View Profile
Re: Learning physics and programming AI
« Reply #6 on: December 21, 2011, 09:57:21 am »

I feel muddled in my mind and unable to express myself very clearly, and maybe that's relevant for this whole endeavour, but here's what I've managed to scrabble together in the form of replies.
Cant comment on the programming, but I suspect its the same...High level Physics isnt just something you can "pick up". You will probably get a decent grounding by this approach, but good tuition and a lot of problem solving practice is needed to "learn" the subject in terms of the methods underpinning understanding. By all means have a god read around the subject - I really hope it stimulates you enough to take a few classes.
I guess you're right, but what are my options? Not to take classes, certainly. Here in Russia you don't generally choose what to study, and where I study right now physics is sparse and almost all out because it's my last year. I think I'll try my current idea for a couple of months and see if it works out any way. If it doesn't maybe I'll think of another subject.

One way to find out what books are useful is to take a look at the course sites for important universities and see what books are mandatory and recommended for their course. Most university grade books do a pretty good job at explaining their course matter, though they may cost you a bit.
Sorry, I don't know how to search for books this way - there's so many universities, so many courses and their sites aren't very clear.

To get a better grasp of physics, without going to much into the esoteric, I suggest Resnick & Haliday's two-volume physics coursebook. It does require some mathematical knowledge(secondary school-level should do for most parts, basic differentiation and integration helps but is not necessary), but the main advantage for a newcomer to physics is that it's written in a very non-technical way, with lots of historical background, detailed descriptions of experiments and generally more text than equations.

Richard Feynman's transcribed lectures are a magnificent introduction to uni-level physics, but unlike the previous, are more to the point and are dependent on some higher maths knowledge.

For a less general, more popular-science approach, you could try Stephen Weinberg's The First Three Minutes about the beginings of the universe, or A.Einstein's own Relativity(he wrote a popularised version).

Grabbing pretty much any university-level introductory coursebook on cosmology or astrophysics can grant you lots of insights on the subjects, even if you skip most of the maths contained therein.
I don't think beginner physics is right for me, firstly because I'm only interested in specific fields and some others bore me; secondly because my knowledge is very uneven and there's going to be concepts I know well and ones I'm ignorant about... So I think I'll go with cosmology and astrophysics. Yeah, finally found out what my fields of interest are called. :)

For learning about AI programming, this will be a great start: https://www.ai-class.com/home/
It's an online Stanford course about modern AI taught by a guy who worked on autonomous cars and another who literally wrote the book on AI (Norvig was a co-author of Artificial Intelligence: A Modern Approach; essentially the book on AI programming). It's also nice as it does have a lot of questions about the material w/ explanations if you didn't grasp the material. Course videos are on the left side of the page.
Am I right to think that starting with books that deal directly with AI isn't a bad idea?

For the math side of physics, I highly recommend that you start learning some linear algebra and real analysis (to help you get into solutions of differential equations).  I hear it helps a lot.

Also, it's really, really, really fun, and linear algebra is also important for all kinds of programming and optimization.
Linear algebra and real analysis, got it. Well, I expect it to fall through tremendously here. Let's hope it's as fun as you describe and there are books in the library by people who write well.
Logged

MonkeyHead

  • Bay Watcher
  • Yma o hyd...
    • View Profile
Re: Learning physics and programming AI
« Reply #7 on: December 21, 2011, 02:19:09 pm »

Consider visiting, lurking or even joining in a discussion or two at www.physicsforums.com - I spend a fair amount of time on there and theres a wide range of threads there, from discussions to tutorials to help threads, from high school level to bleeding edge. Threads are categorized by field, so cosmology type topics are easy to find.

Vector

  • Bay Watcher
    • View Profile
Re: Learning physics and programming AI
« Reply #8 on: December 21, 2011, 03:01:49 pm »

Bah, you're in Russia.  You'll probably be fine for textbooks.
Logged
"The question of the usefulness of poetry arises only in periods of its decline, while in periods of its flowering, no one doubts its total uselessness." - Boris Pasternak

nonbinary/genderfluid/genderqueer renegade mathematician and mafia subforum limpet. please avoid quoting me.

pronouns: prefer neutral ones, others are fine. height: 5'3".

alway

  • Bay Watcher
  • 🏳️‍⚧️
    • View Profile
Re: Learning physics and programming AI
« Reply #9 on: December 21, 2011, 10:14:36 pm »

Am I right to think that starting with books that deal directly with AI isn't a bad idea?
Not a bad idea, no, but the website I linked to is an introduction course, and as such goes over pretty much what you would find in a good book on the subject in a format which you may find preferable. It expects no prerequisite knowledge aside from some basic algebra; not even any programming knowledge. It's also free, which is always good.
Logged

BurntIce

  • Escaped Lunatic
    • View Profile
Re: Learning physics and programming AI
« Reply #10 on: December 22, 2011, 09:40:12 pm »

http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/     has a wealth of information on math, physics, programming and ai.
Logged

Deadmeat1471

  • Bay Watcher
    • View Profile
Re: Learning physics and programming AI
« Reply #11 on: January 03, 2012, 02:34:42 pm »

Grabbing pretty much any university-level introductory coursebook on cosmology or astrophysics can grant you lots of insights on the subjects, even if you skip most of the maths contained therein.

Got to agree with this and previous posters; If you want to learn physics in detail, you really need to study it.
If however, like myself, you want to learn the theories - the TEXT basicly is all you need.
You really don't need to learn the maths of physics unless you intend on using it in an academic environment.
The theorys alone are more than enough to interest and captivate people for a lifetime.
Leave the degree level maths to the physicists.
It's boring to even them most of the time, and it's not required for a non academic understanding of the subject.
Logged