• Ei tuloksia

Programming tools info

N/A
N/A
Info
Lataa
Protected

Academic year: 2022

Jaa "Programming tools info"

Copied!
6
0
0

Kokoteksti

(1)

Programming tools info

Johannes Verwijnen Teemu Pulkkinen

Introduction to Machine Learning, Autumn 2014

(2)

MATLAB/Octave/R at the department

When working in the computer halls MATLAB is only available when booting to Windows. On Linux use Ukko nodes (see next slide).

Octave is available on Linux systems, just type octavein the terminal

R is available on Linux systems, just typeRin the terminal

(3)

MATLAB/Octave/R from home/own computer

you can run MATLAB, Octave or R on an Ukko node (needs CS account, minor students can get one from tktl-luvat [at]

cs.helsinki.fi - state your username in the email) ssh to shell.cs.helsinki.fi

check for available free nodes at

http://www.cs.helsinki.fi/ukko/hpc-report.txt ssh to chosen node

runmatlab/octave/R

download/install Octave or R on your home machine and run it locally

IDE-like environments exist for Octave (Octave-gui) and R (RStudio)

A Student version of MATLAB sets you back about 35AC

(4)

A VERY short MATLAB/Octave introduction

start by using the helpfunction some helpful links

http://www.mathworks.se/help/matlab/

https:

//www.gnu.org/software/octave/doc/interpreter/

tutorials

https://www.mathworks.se/academia/student_center/

tutorials/mltutorial_launchpad.html?confirmation_

page(free, requires registration)

http://www.math.utah.edu/lab/ms/matlab/matlab.html https://en.wikibooks.org/wiki/Octave_Programming_

Tutorial

http://www.youtube.com/playlist?list=

PLj-MRhZ0CQchBj-jb2y9XWs34pV9Xo1hP(part of Andrew Ng’s Machine Learning course)

(5)

A VERY short R introduction

start by using the help()function some helpful links

http://cran.r-project.org/manuals.html https:

//www.gnu.org/software/octave/doc/interpreter/

tutorials

http://www.cyclismo.org/tutorial/R/

https:

//www.datacamp.com/courses/introduction-to-r http://heather.cs.ucdavis.edu/~matloff/r.html http://www.rexamples.com/

(6)

Returning your code exercises

try to create separate functions for each (sub)question remember to try to vectorize operations instead of using for-loops

seehttp://www.mathworks.se/help/matlab/matlab_

prog/vectorization.htmlor http://www.noamross.net/

blog/2014/4/16/vectorization-in-r--why.html

zip your solution .m/.R -files and send them as an attachment together with the pdf of your pen&paper exercises

No other programming languages are allowed without prior agreement with the assistant (Johannes)

Viittaukset

LIITTYVÄT TIEDOSTOT

cal distance. The form of  telemedicine used here is televideoconsultation in which the patient is physically at  the office  of  a health centre physician, 

„ how to detect collusion in online game. „ players can communicate through

Solve the electric field and the charge density between the plates in the steady state using the continuity equation and Poisson’s equation.. Show also that Ohm’s law is

look for the initial relevant loations in the target expressions of the send ation. First we have to nd

Hä- tähinaukseen kykenevien alusten ja niiden sijoituspaikkojen selvittämi- seksi tulee keskustella myös Itäme- ren ympärysvaltioiden merenkulku- viranomaisten kanssa.. ■

Järjestelmän toimittaja yhdistää asiakkaan tarpeet ja tekniikan mahdollisuudet sekä huolehtii työn edistymisestä?. Asiakas asettaa projekteille vaatimuksia ja rajoitteita

Helppokäyttöisyys on laitteen ominai- suus. Mikään todellinen ominaisuus ei synny tuotteeseen itsestään, vaan se pitää suunnitella ja testata. Käytännön projektityössä

Interestingly, on the same day that AUKUS saw the light of day, the EU launched its own Indo-Pacific strategy, following regional strate- gy papers by member states France –