Code Monkey home page Code Monkey logo

datascienceandr's Introduction

Data Science and R

這個Repository主要是為了準備我在臺大的資料科學課程,幫陳老師講的兩堂R 的課程。課程素材主要就是投影片和swirl。內容則是參考CRAN上介紹R 的官方文件:An Introduction to R。 另外也要感謝社群中所有有參與籌備資料科學愛好者年會2015的同伴。

第一堂課程的主軸,是要介紹R 語言的背景、特色,以及簡易的環境設定。目標是希望同學在聽完之後,可以開始利用swirl來自學所有R 的基礎。

第二堂課程的主軸,是要介紹R 在Data Mining相關的功能。課程內容希望是涉獵一些我做過的專案,並且介紹一些R 在clustering、frequency pattern mining、 和recommendation上的一些套件。

由於出自R 社群的緣故,所有的內容我都想公佈在這個repository,以創用CC釋出。如果有朋友想要看swirl course的原始碼,請到course這個branch觀看。因為swirl::install_course_github的API設計,讓我必須要把course的檔案切到另外一個branch之中。

以下的內容是提供給有興趣想利用這些資源做自學的朋友:

設定環境

Windows

目前swirl沒辦法在windows上正常顯示中文( 修正問題的方式 swirldev/swirl#300 已經提交給swirl的開發團隊,等待他們處理中), 所以請暫時先安裝我修改過的版本:

install.packages('swirl', repos = 'http://taiwanrusergroup.github.io/R')

Mac, Ubuntu

請直接安裝CRAN上的swirl

install.packages('swirl')

安裝課程

library(swirl)
library(curl) # 如果套件載入失敗,請先安裝:`install.packages("curl") `
install_course_github("wush978", "DataScienceAndR", "course")

進入課程

1. 進入swirl 環境

Imgur

ps. 如果你之前有進行過swirl的課程,swirl會出現下圖的選項詢問你是否要接關。請根據你的需求作答:

Imgur

如不接關,請選取:No. Let me start something new.

2. 選擇課程(Course)

Imgur

3. 選擇你要進行的單元(Lesson)

Imgur

我建議同學依序進行:

  • RBasic-01-Introduction
  • RBasic-02-Data-Structure-Vectors
  • RBasic-03-Data-Structure-Object
  • RBasic-04-Factors
  • RBasic-05-Arrays-Matrices
  • RBasic-06-List-DataFrame
  • RBasic-07-Loading-Dataset

RBasic-02至RBasic-07課程最後都有大魔王要給同學攻克。

教學投影片

測試結果

平台 測試結果
Linux
Windows Build status ps. 目前windows的測試機制有問題,等待修復中

License

創用 CC 授權條款
Data Science and RWush Wu製作,以創用CC 姓名標示-相同方式分享 3.0 台灣 授權條款釋出。

datascienceandr's People

Contributors

wush978 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.