/ds

No tears data science tutorials

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

Intro

This repository is just some "no tears" tutorials on data science topics. You will need Jupyter to get the examples to run. The easiest way to get Jupyter is to install Anaconda as described below.

Conda

To create a Conda environment, you need to install Anaconda. Note, for Windows, do not type in source activate ds but instead activate ds. Assuming you are in the cloned ds repository directory, you may type in the following.

conda create -n ds python=3.6
source activate ds
pip install -r requirements.txt
python -m ipykernel install --user --name ds --display-name "ds"

Note that LibROSA requires a backend like ffmpeg. You will need to install that separately.

To remove the environment.

conda env remove -n ds --yes

Notebooks

Misc

To convert a ipynb to html, type in the following jupyter nbconvert --to html --template basic [file.ipynb]. To make the generated html file compatible with WordPress, type in sed -e 's/\$\([^$]*\)\$/$latex \1$/g' [file.html] > [output.html].

Copyright Stuff

Copyright 2018 Jee Vang

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.