GithubHelp home page GithubHelp logo

josepaulosa / data_mining Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 985 KB

Data Mining - EDA, Feature Selection, Standardize, Remove Global Outliers, Normalize, Feature Extraction (with PCA), Clustering, Classification (baseline models and hyperparameter tuning with GridSearchCV).

License: MIT License

Jupyter Notebook 100.00%
classification clustering data-mining eda k-means-clustering knn-classifier pca-analysis svm-classifier gaussian-mixture-clustering silhouette-analysis hyperparameter-tuning gridsearchcv

data_mining's Introduction

DATA MINING


For a reproducible preview → Open In Colab


  • Data mining is an interdisciplinary (intersection of machine learning, statistics, and database systems) field of knowledge.
  • Many people treat data mining as a synonym for knowledge discovery from data, or KDD, while others view data mining as merely an essential step in the process of KDD where intelligent methods are applied to extract data patterns.
  • As in industries and in the academic environment the term data mining is often used to refer to the entire knowledge discovery process we’ll adopt this broader view of data mining.

Dataset:

→ The unlabeled data is a subset of publicly available (from https://www.meteoblue.com/) data about climate in Basel, Switzerland, which contains 1763 records of data (for 18 features) from the summer and the winter seasons from 2010 to 2019 period and can be found here

→ The meaning of each column of data is listed in the notebook.


Tasks:

PRE-PROCESSSING

  • EDA
    • Descriptive statistics
    • Check if there is any null data
    • Histograms of all features and correlation between all features
  • Feature Selection (considering the conclusions drawn from EDA)
  • Standardize
  • Detect and Remove Global Outliers (if < -3 or >3)
  • Normalize (to convert to [0, 1])
  • Feature Extraction with PCA (extraction of new, orthogonal - independent - features, which are a linear combination of the original ones)
  • PCA Features Contribution to Cumulative Explained Variance

CLUSTERING

  • Silhouette Analysis (for finding the optimal number of clusters)
  • Clustering with K-Means and Gaussian Mixture Algorithms
  • Choose between K-Means and Gaussian Mixture to Predict the Labels

CLASSIFICATION

  • Classification with K-NN and SVM, using Hyperparameter Tuning with GridSeachCV
  • Classification Report

Achievements:

  • Two distinct groups of data points - clusters - were clearly identified within the dataset (summer and winter days).
  • Using the resulting cluster labels we trained 2 classifiers using hyperparameter tuning with GridSeachCV which allowed us to reach very high values for all considered metrics.

data_mining's People

Contributors

jose-jpm-magalhaes avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.