93i7xo2
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # SE6023 Lab 評分標準 ###### tags: `hadoop` :::info **Note** If you need English version of this grading standard, please contact TA; or just mail for further information about your grades. ::: - Lab1-1 - 95: 結果正確 - Lab1-2 - 100: 結果正確;輸出格式不同不會影響分數。 - Lab2-1 - 90: 結果正確 - Lab2-2 - \>90: 1. 語法簡潔,例如 ```pig SPLIT goodData INTO newData IF (quality MATCHES '[0-9]'), oldData IF NOT (quality MATCHES '[0-9]'); ``` 而不是 ```pig SPLIT goodData INTO newData IF (quality MATCHES '[0123456789]'), oldData IF NOT (quality MATCHES '[0123456789]'); ``` 或是變數一開始讀進來的形式即為float,省去後面type cast 2. 有寫註解 - 90: 結果正確 - 80 1. 結果正確但程式碼冗長,例如 ```pig new = filter good by quality=='0' or quality=='1' or quality=='2' or quality=='3' or quality=='4' or quality=='5' or quality=='6' or quality=='7' or quality=='8' or quality=='9' ; ``` - 70:能執行但結果錯誤 - Lab3-1 3-1 容許程式碼需要手動修改 class name,不會扣分;測試程式會先嘗試使用受測程式碼的 public static class name 作為檔名編譯,若不能編譯會嘗試手動修改再編譯。 測試開始後,我們會建立一個新的、且與在講義中 hand-on 結束後的狀態內容相近的儲存庫,並將該儲存庫的名稱和測試資料(會包含、但不限於不在原先儲存庫中 column family之資料 )作為參數傳入程式中。程式執行結束後我們會檢查該儲存庫中是否存在新增的測試資料;其中編譯和執行若有擲出例外或發現錯誤,將予以扣分。 - 100:在只修改 class name 的情況下通過所有檢查點 - 75~95: 繳交的程式碼不能通過所有檢查點,每個檢查點錯誤扣五分。 - 70: 繳交的程式碼能通過編譯、且內容與題目有關 - 70以下: 繳交的程式碼不能通過編譯,或者跟題目無關 檢查點: - 是否將資料寫死在程式碼中 - 使用程式新增第1筆測資 - 使用程式新增第2筆測資 - 驗證測資的資料內文部份是否成功新增 - 驗證 Column Family 是否成功新增 - Lab3-2 3-2 容許程式碼需要手動修改 class name 和 table/user name,不會扣分;測試程式會先嘗試使用受測程式碼的 public static class name 作為檔名編譯。 測試開始後,我們會建立一個新的、且與在講義中 hand-on 結束後的狀態內容相近的儲存庫,並將該儲存庫的名稱和測試資料(會包含、但不限於不在原先儲存庫中 column family之資料 )置於 HDFS 上的路徑傳入程式中。程式執行結束後我們會檢查該儲存庫中是否存在新增的測試資料;其中編譯和執行若有擲出例外或發現錯誤,將予以扣分。 - 100:在只修改 class/table/user name 的情況下通過所有檢查點 - 75~95: 繳交的程式碼不能通過所有檢查點,每個檢查點錯誤扣五分。 - 70: 繳交的程式碼能通過編譯、且內容與題目有關 - 70以下: 繳交的程式碼不能通過編譯,或者跟題目無關 檢查點: - 是否將資料寫死在程式碼中 - 是否將新的 column family 名稱寫死在程式碼中 - 使用程式新增所有測資 - 檢查新增 row key 是否成功 - 檢查新增 column family 是否成功 - Lab4-1 - 100:結果正確 - 80:結果正確,但用python built-in function處理資料而不是用spark api - Lab4-2 - 100 1. 結果正確且試著減少計算量,例如 ```python def distance(pair): x1, y1 = pair[0] x2, y2 = pair[1] return math.sqrt(((x1-x2)**2 + (y1-y2)**2)) points = points.cartesian(points).filter(lambda pair: pair[0] < pair[1]) result = points.map(distance).min() ``` - 90:結果正確 - 80:結果正確,但用python built-in function處理資料而不是用spark api - 70:能執行但結果錯誤 - 0:不能執行 - Invited talk 1 & 2 - 8:一行文 - \>8:依據內容調整 :::success 認為分數值得更高的請來信聯絡 // Lab3 的部份寄信時請CC v72807647@gmail.com,謝謝。 :::

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully