• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

dlab-berkeley/Python-Machine-Learning-Fundamentals: D-Lab's 6 hour introduct ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

dlab-berkeley/Python-Machine-Learning-Fundamentals

开源软件地址(OpenSource Url):

https://github.com/dlab-berkeley/Python-Machine-Learning-Fundamentals

开源编程语言(OpenSource Language):

Jupyter Notebook 100.0%

开源软件介绍(OpenSource Introduction):

D-Lab's Python Machine Learning Fundamentals Workshop

This repository contains the materials for D-Lab’s Python Machine Learning Fundamentals workshop. Prior experience with Python Fundamentals is assumed.

Workshop Goals

In this workshop, we provide an introduction to machine learning in Python. First, we'll cover some machine learning basics, including its foundational principles, types of machine learning algorithms, how to fit models, and how to evaluate them. Then, we'll explore several machine learning tasks, includes classification, regression, and clustering. We'll demonstrate how to perform these tasks using scitkit-learn, the main package used for machine learning in Python. Finally, we'll go through an automatic model selection tool called TPOT.

Basic familiarity with Python is assumed. If you are not comfortable with the material in Python Fundamentals, we recommend attending that workshop first.

Installation Instructions

Anaconda is a powerful package management software that allows you to run Python and Jupyter notebooks very easily. Installing Anaconda is the easiest way to make sure you have all the necessary software to run the materials for this workshop. Complete the following steps:

  1. Download and install Anaconda (Python 3.8 distribution). Click "Download" and then click 64-bit "Graphical Installer" for your current operating system.

  2. Download the Python-Machine-Learning-Fundamentals workshop materials:

  • Click the green "Code" button in the top right of the repository information.
  • Click "Download Zip".
  • Extract this file to a folder on your computer where you can easily access it (we recommend Desktop).
  1. Optional: if you're familiar with git, you can instead clone this repository by opening a terminal and entering [email protected]:dlab-berkeley/Python-Machine-Learning-Fundamentals.git.

Run the code

Now that you have all the required software and materials, you need to run the code:

  1. Open the Anaconda Navigator application. You should see the green snake logo appear on your screen. Note that this can take a few minutes to load up the first time.

  2. Click the "Launch" button under "Jupyter Notebooks" and navigate through your file system to the Python-Machine-Learning-Fundamentals folder you downloaded above.

  3. Click 1_classification.ipynb to begin.

  4. Press Shift + Enter (or Ctrl + Enter) to run a cell.

  5. By default, the necessary packages for this workshop should already be installed. You can install them within the Jupyter notebook by running the following line in its own cell:

!pip install seaborn pandas matplotlib numpy jupyter

Note that all of the above steps can be run from the terminal, if you're familiar with how to interact with Anaconda in that fashion. However, using Anaconda Navigator is the easiest way to get started if this is your first time working with Anaconda.

Is Python not Working on Your Computer?

If you have a Berkeley CalNet ID, you can run these lessons on UC Berkeley's DataHub by clicking Datauhb. By using this link, you can save your work and come back to it at any time. When you want to return to your saved work, just go straight to DataHub https://datahub.berkeley.edu, sign in, and you click on the Python-Machine-Learning-Fundamentals folder.

If you don't have a Berkeley CalNet ID, you can still run these lessons in the cloud, by clicking this button: Binder By using this button, you cannot save your work unfortunately.

Additional Resources

Check out the following resources to learn more about machine learning:

About the UC Berkeley D-Lab

D-Lab works with Berkeley faculty, research staff, and students to advance data-intensive social science and humanities research. Our goal at D-Lab is to provide practical training, staff support, resources, and space to enable you to use R for your own research applications. Our services cater to all skill levels and no programming, statistical, or computer science backgrounds are necessary. We offer these services in the form of workshops, one-to-one consulting, and working groups that cover a variety of research topics, digital tools, and programming languages.

Visit the D-Lab homepage to learn more about us. You can view our calendar for upcoming events, learn about how to utilize our consulting and data services, and check out upcoming workshops.

Other D-Lab Python Workshops

Here are other Python workshops offered by the D-Lab:

Basic competency

Intermediate/advanced copmetency

Contributors

  • Samy Abdel-Ghaffar
  • Sean Perez
  • Christopher Hench



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap