LFD Book Forum  

Go Back   LFD Book Forum > Course Discussions > Online LFD course > General comments on the course

Reply
 
Thread Tools Display Modes
  #1  
Old 01-08-2013, 04:57 AM
kumarpiyush kumarpiyush is offline
Junior Member
 
Join Date: Jan 2013
Posts: 7
Default 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?
Reply With Quote
  #2  
Old 01-08-2013, 05:18 AM
yaser's Avatar
yaser yaser is offline
Caltech
 
Join Date: Aug 2009
Location: Pasadena, California, USA
Posts: 1,475
Default Re: Programming in the course

Quote:
Originally Posted by kumarpiyush View Post
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.
__________________
Where everyone thinks alike, no one thinks very much
Reply With Quote
  #3  
Old 01-08-2013, 12:46 PM
Yann222 Yann222 is offline
Member
 
Join Date: Jan 2013
Location: SoCal
Posts: 16
Default 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...
Reply With Quote
  #4  
Old 01-09-2013, 05:06 AM
manojgumber manojgumber is offline
Junior Member
 
Join Date: Jan 2013
Posts: 2
Default 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?
Reply With Quote
  #5  
Old 01-09-2013, 08:03 AM
yaser's Avatar
yaser yaser is offline
Caltech
 
Join Date: Aug 2009
Location: Pasadena, California, USA
Posts: 1,475
Default Re: Programming in the course

Quote:
Originally Posted by manojgumber View Post
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
__________________
Where everyone thinks alike, no one thinks very much
Reply With Quote
  #6  
Old 01-09-2013, 08:38 AM
manojgumber manojgumber is offline
Junior Member
 
Join Date: Jan 2013
Posts: 2
Default Re: Programming in the course

Dear Sir,
Thanks a lot for your reply. That thread is very helpful.
Reply With Quote
  #7  
Old 01-09-2013, 01:44 PM
kev83 kev83 is offline
Junior Member
 
Join Date: Jan 2013
Posts: 1
Default Re: Programming in the course

@manojgumber I plan to use R too
Reply With Quote
  #8  
Old 01-16-2013, 10:41 AM
Yann222 Yann222 is offline
Member
 
Join Date: Jan 2013
Location: SoCal
Posts: 16
Default 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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:16 AM.


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.