stephprince
    • 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
    • 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 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
    ## Group 2 Project: Machine Learning ## Project Discussion ### Planning ### 1. Define Goals - Steph: - build a docker image so someone else can click and run an analysis pipeline - gain experience using github, slack, and hackmd for managing a project and version control - apply workflow management tools (if time) - learn what works and what doesn't for reproducible science - Sarah: - gain experience with Docker in the context of other code - learn about how to work with data repositories and what works well and doesn't work well for storing and accessing data - improve Python and R skills by working with other's code - learn how to implement workflow management tools - Toktam: - Learn how to apply reproducible research methods to my own reseach. - Learn how to work with containers such as docker and singularity. - Learn professional management using GitHub. - Learn to add binders to the GitHub repositories to launch the docker images and run the code authomatically. - Use resources such as HachMD for project documentation. - Learn to use workflow tools for the projects. 2. Synthesize Goals - Build a Docker image and integrate with binder for easy launch - Start with the pre-processing step and if time add analysis - Gain more confidence in reproducible computing tools and interdisciplinary project management - If time, reproduce analysis - If time, implement automated workflow in Snakemake or similar 4. Pick Topic *"MNIST dataset classification using machine learning models"* 5. Scaffold Collaboration * [Github repo](https://github.com/cyber-carpentry/group2-machine-learning) - code, project management, final results,and final write up * Slack - messaging * [HackMD](https://hackmd.io/8IlRqMagSr-wxBMXtmtgnA) - notes and resources, which is this page :) ## Project Goals 1. Design a neural network to classify each of the three types of data. 2. Make it reproducible using github, docker, etc. 3. Dockerize the neural network so that it is reuseable on other data. ## Project Resources [Our Github Page](https://github.com/cyber-carpentry/group2-machine-learning) [Original Project Page](https://hackmd.io/@dasberry/H15UULJfr) [Our Final Presentation](https://docs.google.com/presentation/d/1WaltYDpdswiPNjTpKWBtGwahz8-ENnlFB8Iw8DHlJYo/edit?usp=sharing) [Example Dockerization](https://github.com/NCBI-Hackathons/RNA-Seq-in-the-Cloud/tree/master/Generative%20Adversarial%20Networks) [MNIST](http://yann.lecun.com/exdb/mnist/) | [Example solution to MNIST](https://github.com/keras-team/keras/blob/master/examples/mnist_mlp.py) ## Project Code ### Adding code from other repos to this github repo ### ```sh git clone repoyouwant cd repoyouwant git remote add destination https://github.com/cyber-carpentry/group2-machine-learning git remote rm origin git pull --allow-unrelated-histories https://github.com/cyber-carpentry/group2-machine-learning git push -u destination master ``` ### Building a docker image to run a tensorflow jupyter notebook ### ```sh docker pull jupyter/tensorflow-notebook docker run -p 8888:8888 jupyter/tensorflow-notebook ``` With the jupyter notbook running in your browser, Write the jupyter notebook code or upload an existing jupyter notebook. Make a Dockerfile that reads the following: (where mynotebook.ipynb is the name of the jupyter notebook you want to use) ```sh FROM jupyter/tensorflow-notebook:7a3e968dd212 ADD --chown=100 mynotebook.ipynb /home/jovyan/ ``` Build a docker image that preloads your notebook where 'tfnotebook' is the name of your docker image ```sh docker build -f Dockerfile -t ${DOCKERUSERNAME}/tfnotebook . ``` Then run the image ```sh docker run =p 8888:8888 ${DOCKERUSERNAME}/tfnotebook ``` ### [SnakeMake Notes](https://hackmd.io/vxFyjBMIRcavIDJpWyPsDA#Load-snakemake-Docker-image) ## Ongoing Questions: If we want to use a docker container to deploy multiple instances that train our neural network model through distributed training, how do we set that up? - Amazon Sagemaker seems to automatically deploy multiple instances and run distributed training ## Deliverables: 1. github repo 2. python source 4. Dockerfile <!-- ### [Paper Preprint](http://faculty.virginia.edu/goodall/Sadler_JHE_2018_Preprint.pdf) ### [Source Project GitHub ](https://github.com/uva-hydroinformatics/flood_data) ### [Our GitHub Project ](https://github.com/cyber-carpentry/group2-hydroshare/projects) ### [HydroShare Collection Resource](https://www.hydroshare.org/resource/9db60cf6c8394a0fa24777c8b9363a9b/) ### [Hydrology Slides](https://drive.google.com/file/d/1s-WrQ8uJl908Yb59-heXt5vUcUb7eRbd/view) ### [Additional material](https://drive.google.com/open?id=1T4bUQztoRkm5S6P6fnpC-a5FttteE-jz) -->

    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