├── .gitignore ├── README.md ├── chapter-2 ├── filteringdata.py ├── filteringdataPearson.py └── recommender.py ├── chapter-3 ├── adjusted_cosine_similarity.py └── recommender3.py ├── chapter-4 ├── athletesTestSet.txt ├── athletesTrainingSet.txt ├── classifyTemplate.py ├── filteringdata.py ├── irisTestSet.data ├── irisTrainingSet.data ├── mpgTestSet.txt ├── mpgTrainingSet.txt ├── nearestNeighborClassifier.py ├── normalizeColumnTemplate.py └── testMedianAndASD.py ├── chapter-5 ├── crossValidation.py ├── divide.py ├── mpgData.zip ├── pima.zip ├── pimaKNN.py └── pimaSmall.zip ├── chapter-6 ├── house-votes.zip ├── iHealth.zip ├── naiveBayes.py └── naiveBayesDensityFunction.py ├── chapter-7 ├── bayesSentiment.py └── bayesText.py └── chapter-8 ├── cereal.csv ├── dogs.csv ├── enrondata.txt ├── hierarchicalClusterer.py ├── hierarchicalClustererTemplate.py ├── kmeans.py └── kmeansPlusPlus.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/README.md -------------------------------------------------------------------------------- /chapter-2/filteringdata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-2/filteringdata.py -------------------------------------------------------------------------------- /chapter-2/filteringdataPearson.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-2/filteringdataPearson.py -------------------------------------------------------------------------------- /chapter-2/recommender.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-2/recommender.py -------------------------------------------------------------------------------- /chapter-3/adjusted_cosine_similarity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-3/adjusted_cosine_similarity.py -------------------------------------------------------------------------------- /chapter-3/recommender3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-3/recommender3.py -------------------------------------------------------------------------------- /chapter-4/athletesTestSet.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-4/athletesTestSet.txt -------------------------------------------------------------------------------- /chapter-4/athletesTrainingSet.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-4/athletesTrainingSet.txt -------------------------------------------------------------------------------- /chapter-4/classifyTemplate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-4/classifyTemplate.py -------------------------------------------------------------------------------- /chapter-4/filteringdata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-4/filteringdata.py -------------------------------------------------------------------------------- /chapter-4/irisTestSet.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-4/irisTestSet.data -------------------------------------------------------------------------------- /chapter-4/irisTrainingSet.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-4/irisTrainingSet.data -------------------------------------------------------------------------------- /chapter-4/mpgTestSet.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-4/mpgTestSet.txt -------------------------------------------------------------------------------- /chapter-4/mpgTrainingSet.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-4/mpgTrainingSet.txt -------------------------------------------------------------------------------- /chapter-4/nearestNeighborClassifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-4/nearestNeighborClassifier.py -------------------------------------------------------------------------------- /chapter-4/normalizeColumnTemplate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-4/normalizeColumnTemplate.py -------------------------------------------------------------------------------- /chapter-4/testMedianAndASD.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-4/testMedianAndASD.py -------------------------------------------------------------------------------- /chapter-5/crossValidation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-5/crossValidation.py -------------------------------------------------------------------------------- /chapter-5/divide.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-5/divide.py -------------------------------------------------------------------------------- /chapter-5/mpgData.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-5/mpgData.zip -------------------------------------------------------------------------------- /chapter-5/pima.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-5/pima.zip -------------------------------------------------------------------------------- /chapter-5/pimaKNN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-5/pimaKNN.py -------------------------------------------------------------------------------- /chapter-5/pimaSmall.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-5/pimaSmall.zip -------------------------------------------------------------------------------- /chapter-6/house-votes.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-6/house-votes.zip -------------------------------------------------------------------------------- /chapter-6/iHealth.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-6/iHealth.zip -------------------------------------------------------------------------------- /chapter-6/naiveBayes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-6/naiveBayes.py -------------------------------------------------------------------------------- /chapter-6/naiveBayesDensityFunction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-6/naiveBayesDensityFunction.py -------------------------------------------------------------------------------- /chapter-7/bayesSentiment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-7/bayesSentiment.py -------------------------------------------------------------------------------- /chapter-7/bayesText.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-7/bayesText.py -------------------------------------------------------------------------------- /chapter-8/cereal.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-8/cereal.csv -------------------------------------------------------------------------------- /chapter-8/dogs.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-8/dogs.csv -------------------------------------------------------------------------------- /chapter-8/enrondata.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-8/enrondata.txt -------------------------------------------------------------------------------- /chapter-8/hierarchicalClusterer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-8/hierarchicalClusterer.py -------------------------------------------------------------------------------- /chapter-8/hierarchicalClustererTemplate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-8/hierarchicalClustererTemplate.py -------------------------------------------------------------------------------- /chapter-8/kmeans.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-8/kmeans.py -------------------------------------------------------------------------------- /chapter-8/kmeansPlusPlus.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yourtion/DataminingGuideBook-Codes/HEAD/chapter-8/kmeansPlusPlus.py --------------------------------------------------------------------------------