LFD Book Forum  

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

View Poll Results: Which language(s) have you used for homework here?
Matlab or Octave 11 37.93%
S or R 6 20.69%
Python 15 51.72%
Perl 0 0%
C 0 0%
Java 1 3.45%
C++ 2 6.90%
Mathematica 1 3.45%
Fortran 0 0%
Other (awk, PL/I, Pascal, Forth, APL, etc.) 2 6.90%
Multiple Choice Poll. Voters: 29. You may not vote on this poll

Reply
 
Thread Tools Display Modes
  #1  
Old 07-25-2012, 06:44 AM
gah44 gah44 is offline
Invited Guest
 
Join Date: Jul 2012
Location: Seattle, WA
Posts: 153
Default Languages used

I was just wondering what languages different people use.

I don't yet know how poll works, but I will try to do one.

(OK, don't reply to this one. I will do another with better choices.)

Last edited by gah44; 07-25-2012 at 03:30 PM. Reason: Try again.
Reply With Quote
  #2  
Old 07-25-2012, 11:58 AM
tzs29970 tzs29970 is offline
Invited Guest
 
Join Date: Apr 2012
Posts: 52
Default Re: Languages used

Python is widely used in scientific computing. It should be on the list. Omitting it means you are going to get a lot of "other".

Mathematica probably should be there, too.

PL/1 is an odd inclusion. It is most widely know for business programming, and never really took off outside of mainframes.

APL would be good for the kind of things needed for this class (at least so far).
Reply With Quote
  #3  
Old 07-25-2012, 03:03 PM
gah44 gah44 is offline
Invited Guest
 
Join Date: Jul 2012
Location: Seattle, WA
Posts: 153
Default Re: Languages used

I could start a new one. I don't know how to delete one, though.

There is a maximum of 10 choices, which you have to specify
before specifying the choices. I could remove PL/I and add python.

Other than I did HW1 in awk, I could also remove that.

By the way, why 29970?
Reply With Quote
  #4  
Old 07-25-2012, 03:30 PM
fgpancorbo fgpancorbo is offline
Senior Member
 
Join Date: Jul 2012
Posts: 104
Default Re: Languages used

Definitely MATLAB. I got addicted to it during grad school and it's hard to get used to something else, especially for scientific computing. I haven't used Octave since I have my own MATLAB license.
Reply With Quote
  #5  
Old 07-25-2012, 03:35 PM
gah44 gah44 is offline
Invited Guest
 
Join Date: Jul 2012
Location: Seattle, WA
Posts: 153
Default Languages used poll

This is a poll of languages used in solving homework problems where programming is required. It is intended to replace the one in the Homework 2 section.

You may choose more than one.
Reply With Quote
  #6  
Old 07-25-2012, 03:47 PM
gah44 gah44 is offline
Invited Guest
 
Join Date: Jul 2012
Location: Seattle, WA
Posts: 153
Default Re: Languages used

Thanks to all who have replied.

After some comments about choices, and because this is probably not the best place, I have reposted the poll in http://book.caltech.edu/bookforum/fo...play.php?f=140

(This was my first try at a poll.)
Reply With Quote
  #7  
Old 07-28-2012, 08:37 AM
jerrytsai jerrytsai is offline
Junior Member
 
Join Date: Jul 2012
Location: Los Angeles
Posts: 1
Default Re: Languages used poll

Right now, I'm the only person reporting using R, which I am trying to learn, to substitute for my longtime usage of SAS.

Having taken Professor Ng's Machine Learning course on Coursera, I learned Octave (Matlab-like freeware), which I was using on Windows. I decided to work on this course-- Learning from Data-- on OS X and was preparing to install Octave when I decided to see which software packages are the most popular for machine learning.

After some exploration I found this interesting chart: Kagglers Favorite Tools

I then decided to jump into R (I have had considerable training in statistics, and was exposed to R during that training, but have been able to accomplish basically everything I ever needed to do with SAS.) Because I left myself not enough time, I had to use Octave to do the first problem set, but after the submission deadline I re-did it using R. I also used R to do the second problem set and plan to use it for the remainder of this course.

As a statistician, using R makes sense, because of the wealth of statistical tools it has. I have been trying to migrate to R from SAS for some time, and this course is a great MacGuffin to do so.

I decided to post about this decision-making in case anybody else was wondering about which software package to use and was wondering how we each chose the package we are using.

My longtime usage of SAS locked me in to that package for years, so the languages we choose to use initially often become the languages we use indefinitely. I am trying to reboot my choices by learning to use R for data analysis, Python for data processing, while only dabbling with Matlab/Octave.

However, as sets of data ever grow larger every day, I wonder which software package is (or will be) the fastest/most efficient. The amount of time a developer takes to construct an algorithm matters, but as N goes toward infinity, so does the amount of time the computer takes to implement that algorithm.
Reply With Quote
  #8  
Old 08-07-2012, 01:29 AM
tsukisan tsukisan is offline
Junior Member
 
Join Date: Aug 2012
Posts: 1
Default Re: Languages used

I used Mathematica ver 8. Really easy create code and visualize plots.
Reply With Quote
  #9  
Old 08-23-2012, 10:57 PM
ghuiber ghuiber is offline
Junior Member
 
Join Date: Jul 2012
Location: Durham, NC USA
Posts: 7
Default Re: Languages used

Mata. It's the matrix language embedded in Stata. See http://www.ssc.wisc.edu/sscc/pubs/4-26.htm for a nice intro.
Reply With Quote
  #10  
Old 08-27-2012, 06:52 PM
anachesa anachesa is offline
RPI
 
Join Date: Jul 2012
Posts: 4
Default Re: Languages used poll

IMO Python is fine for relatively quick prototyping, but not for the serious data processing. High cost of function calls and quick stack overflow if you use recursion are the main problems I have with Python. It's just much slower than C++ or Java. Try to write recursive depth-search in Python and in C++, it is very educational.

Haven't used R yet, so no opinion there...
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 06:34 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2018, 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.