LFD Book Forum

LFD Book Forum (http://book.caltech.edu/bookforum/index.php)
-   General comments on the course (http://book.caltech.edu/bookforum/forumdisplay.php?f=140)
-   -   Programming in the course (http://book.caltech.edu/bookforum/showthread.php?t=3812)

kumarpiyush 01-08-2013 05:57 AM

Programming in the course
 
I would like to know if during the course, would we get actually get to code or program in MATLAB or octave?

yaser 01-08-2013 06:18 AM

Re: Programming in the course
 
Quote:

Originally Posted by kumarpiyush (Post 8445)
I would like to know if during the course, would we get actually get to code or program in MATLAB or octave?

You will run experiments that require coding in some language, and indeed MatLab and Octave are among the polular languages used.

Yann222 01-08-2013 01:46 PM

Re: Programming in the course
 
I didn't know any useful languages for this course, so got a head start a week ago and installed Octave and watched some tutorials/surfed to get a decent handle on it (I've used VBA, SAS, and C before).

I'd find a little discussion around useful functions or techniques used by others in programming for this course helpful. For example, for flipping 1,000 coins 10x each I had coded two for-loops that cycled through an array, but I later found some code on the forum using randi([0 1],10,1000) - this not only kept my code more readable and short but sped up the runtime enormously. Anything along those lines would be greatly appreciated, or maybe just a link to something online that others have found useful.

Also, hopefully this isn't too lazy on my part, some pointers on what plotting commands others use to visualize the homework would be welcome. I haven't used this with any success so far...

manojgumber 01-09-2013 06:06 AM

Re: Programming in the course
 
Hi Folks,
Can you please advise if R will be sufficient to do programming assignments? I already know R and do not want to learn another language/syntax (octave). Will R be sufficient to do programming assignments or Octave/Matlab is better compared to R?

yaser 01-09-2013 09:03 AM

Re: Programming in the course
 
Quote:

Originally Posted by manojgumber (Post 8467)
Hi Folks,
Can you please advise if R will be sufficient to do programming assignments? I already know R and do not want to learn another language/syntax (octave). Will R be sufficient to do programming assignments or Octave/Matlab is better compared to R?

Here is a discussion of the languages used:

http://book.caltech.edu/bookforum/showthread.php?t=915

manojgumber 01-09-2013 09:38 AM

Re: Programming in the course
 
Dear Sir,
Thanks a lot for your reply. That thread is very helpful.

kev83 01-09-2013 02:44 PM

Re: Programming in the course
 
@manojgumber I plan to use R too

Yann222 01-16-2013 11:41 AM

Re: Programming in the course
 
Thought I'd list a couple useful places I found for learning Octave/Matlab:

https://ece.uwaterloo.ca/~dwharder/Matlab/
Has a decent list of topics that are well organized and easy to look up.

https://www.youtube.com/watch?v=s1Mc...AABC40B2825C8B
Has some good videos that helped get me going.


All times are GMT -7. The time now is 06:45 PM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. Abu-Mostafa, Malik Magdon-Ismail, and Hsuan-Tien Lin, and participants in the Learning From Data MOOC by Yaser S. Abu-Mostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.