Mathematics #5: Practical Machine learning with R

I was in the US for 3 weeks on the Visa Waiver program in 2015 and stayed at a friendly AirBnB host in Berkeley nearby the UC Berkeley campus.

While I was in Berkeley I decided to check out the course offerings at the UC Berkeley Extension student program and found the class COMPSCI X460 – Practical Machine Learning (With R) interesting.

I sent an email to UC Berkeley Extension team who showed me the web site where it was written that I as a tourist is permitted to study for recreation without credits at UC Berkeley Extension. If you want to study with credits in the US, you need a student VISA known as F-1.

http://extension.berkeley.edu/static/studentservices/policies/#international

  • Your enrollment into UC Berkeley Extension course(s) must solely be for recreational purposes;
  • Your course(s) must only be incidental to your visit as a tourist to the U.S., and must not be the main purpose of your visit;
  • Your course(s) must not equal or exceed 18 instructional hours per week;
  • Your course(s) must not equal or exceed:
    1. For courses numbered X300-499: 8 semester units a term; or
    2. For courses numbered X or XB 1-299: 12 semester units per term (including concurrent enrollment courses); and,
    3. Your course(s) must not be used for credit toward a degree, diploma, certificate or other program completion award.

I attended the first introduction class at UC Berkeley Extension in the Golden Bear Center, but didn’t continue with the class since I was in the US on the Visa Waiver program for 90 days and was going to return to Norway the day after the introduction class.

The curriculum for Practical Machine learning (With R) was Max Kuhn and Kjell Johnson’s Applied Predictive Modeling, but I could not find the text book in the campus book store. The book is available on Amazon.

Extra curriculum was Hastie, Tibshirani and Friedman’s Elements of Statistical Learning.

In the first introduction class I learnt about the R programming language, how to install RStudio and the various R packages from CRAN.

Review #6: Ubuntu on Lenovo ThinkPad X1 Carbon

ThinkPad X1 Carbon

Ubuntu Linux is certified by Canonical Ltd. to run on Lenovo ThinkPad X1 Carbon. These instructions are for the old 3rd generation that I bought from Lenovo in 2015, but Ubuntu Linux 16.04 is also certified to run on the 5th generation, but I have not tested these instructions on the 5th generation of Lenovo ThinkPad X1 Carbon. You may risk to loose data and files on your computer by following these instructions, so take a full backup before you install Ubuntu on your ThinkPad X1 Carbon.

If you want to install Ubuntu Linux 17.04 (Zesty Zapus) Beta 2 on Lenovo ThinkPad X1 Carbon (3rd generation), the boot image for 14.10 is required for installation from scratch on this computer. For Lenovo ThinkPad X1 Carbon (5th generation), I think that the boot image for 16.04 is required. You can buy a bootable USB flash drive with 16.04 LTS from the Canonical Store, but I have not tested this on a 3rd generation Lenovo ThinkPad X1 Carbon.

To install Ubuntu on Lenovo ThinkPad X1 Carbon, you must first deactive the Secure Boot by entering the BIOS and turn the option Off.

Then you must download and write the boot image for Ubuntu Linux 14.10 to a USB flash drive with the dd command on an existing Ubuntu system. See the article “How to create a bootable Ubuntu USB flash drive from terminal?” for details on how to write the boot image for Ubuntu Linux 14.10 to the USB flash drive.

Then you can boot the system from the USB flash drive by entering the BIOS and select the USB flash drive as the boot medium and run the installer. After you have installed Ubuntu, you must boot the system for the first time and press the Ctrl + Alt + 't' keys to open the Terminal window, connect to and configure the local network by running sudo start network-manager and enter sudo do-release-upgrade -d to upgrade the distribution from 14.10 to 15.04 and from 15.04 to 15.10. You cannot upgrade to 16.10 from Ubuntu 15.10, so you have to manually upgrade apt from Ubuntu 16.04 with dpkg and manually upgrade to Ubuntu 16.10 from Ubuntu 16.04.

When you have 16.04, you must run update-manager -d in Terminal to upgrade to Ubuntu 16.10.

From 16.10 you can upgrade to 17.04 with update-manager -d in Terminal.