├── .coveragerc ├── .gitignore ├── .travis.yml ├── LICENSE ├── MANIFEST.in ├── README.md ├── appveyor.yml ├── curriculum.docx ├── environment.yml ├── examples ├── 1.1 Supervised Learning Demo.ipynb ├── clustering │ └── example_knn_classifier.py ├── data │ ├── README.md │ └── spam.csv ├── decision_tree │ ├── example_classification_decision_tree.py │ ├── example_classification_split.py │ ├── example_information_gain.py │ └── example_regression_decision_tree.py ├── neural_net │ ├── example_mlp_classifier.py │ └── example_transfer_learning.py ├── recommendation │ ├── example_als_recommender.py │ └── example_item_item_recommender.py ├── regression │ ├── example_linear_regression.py │ └── example_logistic_regression.py └── run_all_examples.py ├── img ├── README.md ├── clustering │ └── example_knn_classifier.png ├── decision_tree │ ├── example_classification_decision_tree.png │ └── example_regression_decision_tree.png ├── neural_net │ ├── example_mlp_classifier.png │ └── example_transfer_learning.png ├── recommendation │ └── example_als_recommender.png └── regression │ ├── example_linear_regression.png │ └── example_logistic_regression.png ├── packtml ├── VERSION ├── __init__.py ├── base.py ├── clustering │ ├── __init__.py │ ├── knn.py │ └── tests │ │ ├── __init__.py │ │ └── test_knn.py ├── decision_tree │ ├── __init__.py │ ├── cart.py │ ├── metrics.py │ └── tests │ │ ├── __init__.py │ │ ├── test_cart.py │ │ └── test_metrics.py ├── metrics │ ├── __init__.py │ ├── ranking.py │ └── tests │ │ ├── __init__.py │ │ └── test_ranking.py ├── neural_net │ ├── __init__.py │ ├── base.py │ ├── mlp.py │ ├── tests │ │ ├── __init__.py │ │ ├── test_mlp.py │ │ └── test_transfer.py │ └── transfer.py ├── recommendation │ ├── __init__.py │ ├── als.py │ ├── base.py │ ├── data.py │ ├── itemitem.py │ └── tests │ │ ├── __init__.py │ │ ├── test_als.py │ │ └── test_itemitem.py ├── regression │ ├── __init__.py │ ├── simple_logistic.py │ ├── simple_regression.py │ └── tests │ │ ├── __init__.py │ │ ├── test_simple_logistic.py │ │ └── test_simple_regression.py └── utils │ ├── __init__.py │ ├── extmath.py │ ├── linalg.py │ ├── plotting.py │ ├── tests │ ├── __init__.py │ ├── test_linalg.py │ └── test_validation.py │ └── validation.py ├── requirements.txt └── setup.py /.coveragerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/.coveragerc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | recursive include packtml/* -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/README.md -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/appveyor.yml -------------------------------------------------------------------------------- /curriculum.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/curriculum.docx -------------------------------------------------------------------------------- /environment.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/environment.yml -------------------------------------------------------------------------------- /examples/1.1 Supervised Learning Demo.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/examples/1.1 Supervised Learning Demo.ipynb -------------------------------------------------------------------------------- /examples/clustering/example_knn_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/examples/clustering/example_knn_classifier.py -------------------------------------------------------------------------------- /examples/data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/examples/data/README.md -------------------------------------------------------------------------------- /examples/data/spam.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/examples/data/spam.csv -------------------------------------------------------------------------------- /examples/decision_tree/example_classification_decision_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/examples/decision_tree/example_classification_decision_tree.py -------------------------------------------------------------------------------- /examples/decision_tree/example_classification_split.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/examples/decision_tree/example_classification_split.py -------------------------------------------------------------------------------- /examples/decision_tree/example_information_gain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/examples/decision_tree/example_information_gain.py -------------------------------------------------------------------------------- /examples/decision_tree/example_regression_decision_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/examples/decision_tree/example_regression_decision_tree.py -------------------------------------------------------------------------------- /examples/neural_net/example_mlp_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/examples/neural_net/example_mlp_classifier.py -------------------------------------------------------------------------------- /examples/neural_net/example_transfer_learning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/examples/neural_net/example_transfer_learning.py -------------------------------------------------------------------------------- /examples/recommendation/example_als_recommender.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/examples/recommendation/example_als_recommender.py -------------------------------------------------------------------------------- /examples/recommendation/example_item_item_recommender.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/examples/recommendation/example_item_item_recommender.py -------------------------------------------------------------------------------- /examples/regression/example_linear_regression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/examples/regression/example_linear_regression.py -------------------------------------------------------------------------------- /examples/regression/example_logistic_regression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/examples/regression/example_logistic_regression.py -------------------------------------------------------------------------------- /examples/run_all_examples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/examples/run_all_examples.py -------------------------------------------------------------------------------- /img/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/img/README.md -------------------------------------------------------------------------------- /img/clustering/example_knn_classifier.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/img/clustering/example_knn_classifier.png -------------------------------------------------------------------------------- /img/decision_tree/example_classification_decision_tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/img/decision_tree/example_classification_decision_tree.png -------------------------------------------------------------------------------- /img/decision_tree/example_regression_decision_tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/img/decision_tree/example_regression_decision_tree.png -------------------------------------------------------------------------------- /img/neural_net/example_mlp_classifier.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/img/neural_net/example_mlp_classifier.png -------------------------------------------------------------------------------- /img/neural_net/example_transfer_learning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/img/neural_net/example_transfer_learning.png -------------------------------------------------------------------------------- /img/recommendation/example_als_recommender.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/img/recommendation/example_als_recommender.png -------------------------------------------------------------------------------- /img/regression/example_linear_regression.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/img/regression/example_linear_regression.png -------------------------------------------------------------------------------- /img/regression/example_logistic_regression.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/img/regression/example_logistic_regression.png -------------------------------------------------------------------------------- /packtml/VERSION: -------------------------------------------------------------------------------- 1 | 1.0.5 -------------------------------------------------------------------------------- /packtml/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/__init__.py -------------------------------------------------------------------------------- /packtml/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/base.py -------------------------------------------------------------------------------- /packtml/clustering/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/clustering/__init__.py -------------------------------------------------------------------------------- /packtml/clustering/knn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/clustering/knn.py -------------------------------------------------------------------------------- /packtml/clustering/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/clustering/tests/__init__.py -------------------------------------------------------------------------------- /packtml/clustering/tests/test_knn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/clustering/tests/test_knn.py -------------------------------------------------------------------------------- /packtml/decision_tree/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/decision_tree/__init__.py -------------------------------------------------------------------------------- /packtml/decision_tree/cart.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/decision_tree/cart.py -------------------------------------------------------------------------------- /packtml/decision_tree/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/decision_tree/metrics.py -------------------------------------------------------------------------------- /packtml/decision_tree/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/decision_tree/tests/__init__.py -------------------------------------------------------------------------------- /packtml/decision_tree/tests/test_cart.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/decision_tree/tests/test_cart.py -------------------------------------------------------------------------------- /packtml/decision_tree/tests/test_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/decision_tree/tests/test_metrics.py -------------------------------------------------------------------------------- /packtml/metrics/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/metrics/__init__.py -------------------------------------------------------------------------------- /packtml/metrics/ranking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/metrics/ranking.py -------------------------------------------------------------------------------- /packtml/metrics/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/metrics/tests/__init__.py -------------------------------------------------------------------------------- /packtml/metrics/tests/test_ranking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/metrics/tests/test_ranking.py -------------------------------------------------------------------------------- /packtml/neural_net/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/neural_net/__init__.py -------------------------------------------------------------------------------- /packtml/neural_net/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/neural_net/base.py -------------------------------------------------------------------------------- /packtml/neural_net/mlp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/neural_net/mlp.py -------------------------------------------------------------------------------- /packtml/neural_net/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/neural_net/tests/__init__.py -------------------------------------------------------------------------------- /packtml/neural_net/tests/test_mlp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/neural_net/tests/test_mlp.py -------------------------------------------------------------------------------- /packtml/neural_net/tests/test_transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/neural_net/tests/test_transfer.py -------------------------------------------------------------------------------- /packtml/neural_net/transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/neural_net/transfer.py -------------------------------------------------------------------------------- /packtml/recommendation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/recommendation/__init__.py -------------------------------------------------------------------------------- /packtml/recommendation/als.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/recommendation/als.py -------------------------------------------------------------------------------- /packtml/recommendation/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/recommendation/base.py -------------------------------------------------------------------------------- /packtml/recommendation/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/recommendation/data.py -------------------------------------------------------------------------------- /packtml/recommendation/itemitem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/recommendation/itemitem.py -------------------------------------------------------------------------------- /packtml/recommendation/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/recommendation/tests/__init__.py -------------------------------------------------------------------------------- /packtml/recommendation/tests/test_als.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/recommendation/tests/test_als.py -------------------------------------------------------------------------------- /packtml/recommendation/tests/test_itemitem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/recommendation/tests/test_itemitem.py -------------------------------------------------------------------------------- /packtml/regression/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/regression/__init__.py -------------------------------------------------------------------------------- /packtml/regression/simple_logistic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/regression/simple_logistic.py -------------------------------------------------------------------------------- /packtml/regression/simple_regression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/regression/simple_regression.py -------------------------------------------------------------------------------- /packtml/regression/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/regression/tests/__init__.py -------------------------------------------------------------------------------- /packtml/regression/tests/test_simple_logistic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/regression/tests/test_simple_logistic.py -------------------------------------------------------------------------------- /packtml/regression/tests/test_simple_regression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/regression/tests/test_simple_regression.py -------------------------------------------------------------------------------- /packtml/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/utils/__init__.py -------------------------------------------------------------------------------- /packtml/utils/extmath.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/utils/extmath.py -------------------------------------------------------------------------------- /packtml/utils/linalg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/utils/linalg.py -------------------------------------------------------------------------------- /packtml/utils/plotting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/utils/plotting.py -------------------------------------------------------------------------------- /packtml/utils/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/utils/tests/__init__.py -------------------------------------------------------------------------------- /packtml/utils/tests/test_linalg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/utils/tests/test_linalg.py -------------------------------------------------------------------------------- /packtml/utils/tests/test_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/utils/tests/test_validation.py -------------------------------------------------------------------------------- /packtml/utils/validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/packtml/utils/validation.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-Supervised-Machine-Learning-with-Python/HEAD/setup.py --------------------------------------------------------------------------------