Git Product home page Git Product logo

websiteclassification's Introduction

websiteClassification

Classifying websites without labels This project is an approach for labeling websites based on their content. Labels were not provided so the top X words gathered from the sites were passed through an autoencoder. Then the results of this encoding were used with K-means clustering to generate synthetic labels. Then a Naive Bayes approach and a Neural Network approach were applied to test the classification accuracy.

Task #1: Entity Extraction and Processing

  • this task was completed using Beautiful Soup
  • the data was loaded and the data from the headers was extracted
  • next the content was extracted from these headers
  • this process was split into several functions which would allow for API-type usage in other projects if needed

Task #2: Classification

  • the first step of this process was to extract the top X words from the websites and run those vectors through an Autoencoder
  • this step created some sort of mapping of the data that could be used to create labels
  • next the encoder portion of the autoencoder was used to create vectors that were then passed to K-Means algorithm
  • this step attempted to cluster the vectors in X clusters, thus creating the labels
  • once the labels were created, Naive Bayes and a Neural Network was used to classify the sites
  • Naive Bayes performed slightly worse than the Neural Network

websiteclassification's People

Contributors

reginald-mclean 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.