Dpananos/GetCards
关于
用于下载机器学习闪卡的 Notebook。
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文GetCards
Data scientist Chris Albon has been posting pictures of his machine learning flash cards on Twitter. This repo uses a Jupyter notebook to download them for convenient viewing.
OSX/Linux
To use this repo, you will:
- Install Jupyter and required modules
- Create a Twitter app to provide programmatic access to Twitter
- Run the Jupyter notebook
- View the png images it downloads to the repo's
ml-cardsdirectory.
Install Jupyter
Run this command to install Jupyter and required modules:
pip install -r module_list.txt
Create your Twitter app
This repo uses tweepy to interact with Twitter. To use it, you will create a new Twitter app and insert those credentials into Get Flashcards.ipnyb.
- Log into twitter
- Browse to https://apps.twitter.com/
- Click the
Create New Appbutton and define your new app. Here are some example values:- Name:
Get Flashcards - <your name> - Description:
Chris Albon ML Flashcard puller - Website:
http://www.not-used.com - Callback URLs: `` <= blank
- Name:
- Check the Developer Agreement and click the
Create your Twitter applicationbutton. - In the application details page, Select the "Keys and Access Tokens" tab.
- Under "Your Access Token", click the
Create my access tokenbutton.
Insert your credentials
Open Get Flashcards.ipynb and locate these two lines:
"auth = tweepy.OAuthHandler(consumer_key, consumer_secret) #Fill these in\n",
"auth.set_access_token(access_token, access_token_secret) #Fill these in\n",
Replace the consumer_key, consumer_secret, access_token, and access_token_secret with single-quoted values from your application settings created in the previous step.
See the tweepy tutorial for more information, if needed.
Run the Jupyter notebook
Run the Jupyter notebook from a shell in the repo root directory
jupyter notebook Get\ Flashcards.ipynb
Jupyter will open a browser page, execute the code, placing all ML flashcards in a ml-cards local directory.
You can enter CTRL+C twice to stop jupyter from the command line.
View the cards
All cards are stored in a local ml-cards directory.
探索相关项目
加载中…