https://github.com/lsgrep/mldocs
Alfred Workflow for TensorFlow, PyTorch, Scikit-learn, NumPy, Pandas, Matplotlib, Statsmodels, Jax, RLLib API Docs
https://github.com/lsgrep/mldocs
alfred-workflow docs machine-learning
Last synced: 6 months ago
JSON representation
Alfred Workflow for TensorFlow, PyTorch, Scikit-learn, NumPy, Pandas, Matplotlib, Statsmodels, Jax, RLLib API Docs
- Host: GitHub
- URL: https://github.com/lsgrep/mldocs
- Owner: lsgrep
- Created: 2020-08-30T02:00:36.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-21T16:31:43.000Z (over 2 years ago)
- Last Synced: 2024-02-14T21:27:39.200Z (over 2 years ago)
- Topics: alfred-workflow, docs, machine-learning
- Language: Python
- Homepage:
- Size: 11.8 MB
- Stars: 59
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Alfred mldocs
> Alfred workflow for searching essential machine learning library API docs(it requires `macOS`, `Alfred with Powerpack license`).

## Supported Libraries(all stable versions unless specified otherwise)
- [TensorFlow](https://www.tensorflow.org/api_docs/python/tf?hl=en) `nightly`
- [PyTorch](https://pytorch.org/docs/stable/index.html)
- [NumPy](https://numpy.org/doc/stable/reference/)
- [Pandas](https://pandas.pydata.org/docs/reference/index.html)
- [Matplotlib](https://matplotlib.org/3.2.2/api/index.html) `v3.2.2`
- [Scikit-learn](https://scikit-learn.org/stable/modules/classes.html)
- [Statsmodels](https://www.statsmodels.org/stable/index.html)
- [Seaborn](https://seaborn.pydata.org/api.html)
- [Jax](https://jax.readthedocs.io/en/latest/jax.html)
- [Ray](https://docs.ray.io/en/latest/genindex.html)
- [Langchain](https://api.python.langchain.com/en/latest/langchain_api_reference.html)
- [Hugging Face Transformers](https://huggingface.co/docs/transformers/index)
## Install
Checkout the [Releases](https://github.com/lsgrep/mldocs/releases), download the latest `mldocs.alfredworkflow`,
then double click it(You have to have Alfred + Powerpack License).
For MacOS Monterey or newer versions, please install `1.x.x` or new versions.
For older MacOS versions, please use `0.0.5`.
## Update
There is a background process that checks update every 7 days,
and there will be an option to upgrade to the latest version.

- `ml workflow:update` will force update.
- `ml workflow:noautoupdate` will turn off the auto update.
- `ml workflow:autoupdate` will enable the auto update.
## Conventions
For convenience, a few prefixes are automatically expanded(see [PR](https://github.com/lsgrep/mldocs/pull/8) for more).
- `np` => `numpy`
- `pd` => `pandas`
- `plt` => `pyplot`
- `sns` => `seaborn`
## How does it work
- `mldocs` fetches the doc data from Github(`data/ml.json`), then caches the data for a few days
- The first query will be slow then it will be pretty fast afterwards
- The plan is to update the `ml.json` periodically, so you won't have to update the workflow manually
## Clear the Cache
To force update the local cache
- `ml workflow:delcache`
## Commonly used keywords
I've also merged my commonly used links(`data/base.json`) into the `ml.json` as well.
If you want to add your favorite website or link please submit a PR(just edit the `base.json`).
| `keyword` | `link` | `description` |
|---|---|---|
| `?` | `https://github.com/lsgrep/mldocs` | |
| `colab` | `http://colab.research.google.com/` | |
| `kaggle` | `https://www.kaggle.com/` | |
| `Google Dataset Search` | `https://datasetsearch.research.google.com/` | |
| `gds` | `https://datasetsearch.research.google.com/` | |
| `paper` | `https://paperswithcode.com/` | |
## Google Dataset Search
You can enter the query directly in the Alfred with the keyword `ml gds KEYWORD...`

## [Papers With Code](https://paperswithcode.com/)
You can enter the query directly in the Alfred with the keyword `ml paper KEYWORD...`

## Supported Versions
- `ml.json` will be periodically updated to the latest versions of TensorFlow & PyTorch
## Keyword Descriptions
- Not supported yet, but will add them in the future.
## TODO
- [x] add Scikit-learn support
- [x] add NumPy support
- [x] add Pandas support
- [x] add Matplotlib support
- [x] add Statsmodels support
- [x] add Seaborn support
- [x] add Jax support
- [x] Add Ray support
- [x] Add LightGBM support
- [x] Add XGBoost support
- [x] add Automatic Update
- [ ] add Github Actions to generate `ml.json`
- [ ] add keyword descriptions for TensorFlow
- [ ] add keyword descriptions for PyTorch
## Credits
Icon made by [Becris](https://creativemarket.com/Becris) from [Flaticon](https://www.flaticon.com/)