Coder Social home page Coder Social logo

Muhammad Sarmad's Projects

jumping-jim-graph-search icon jumping-jim-graph-search

A coding project based on DFS to solve the Jumping Jim maze problem, whereby we need to find a path from the starting point to the exit point.

k-means-in-spark icon k-means-in-spark

A basic k-means implementation in pyspark using RDDs. The used points are latitude and longitude coordinates based on IP addresses of accesses to a web server.

spell-checker icon spell-checker

A spell checker implementation based on a revision to the Levenshtein edit distance algorithm to optimize it for QWERTY keypads

sports-goods-website icon sports-goods-website

A sports goods website for a database project, with web pages implemented using the Python Flask library, and a Microsoft SQL server database.

subreddit-classifier icon subreddit-classifier

This is the code for a model I trained on a training set containing comments from four subreddits. The training data contains 19,600 comments which are unclean, containing all sorts of typos and slang. I first cleaned the comments, then used word2vec to calculate the sum of word vectors for each comment. Then, I used TF-IDF and cosine similarity to find words that are common across each subreddit and relevant to its topic. Taking these common relevant words from each subreddit, I checked if each comment contained any of these words, appending a value of 1 for a word (dimension/feature) if it was present or a value of 0 if it was not. The final vectors have ~390 dimensions (300 from the word2vec representations, and ~90 from the TF-IDF add-on words). Sklearn's Logistic Regression model when trained on this training data, achieved a 78.5% accuracy when classifying comments from the testing set to one of the four subreddits.

thanksgiving-sentiment-analysis icon thanksgiving-sentiment-analysis

Sentiment analysis conducted on tweets collected during the week of Thanksgiving 2018, using the Twitter API. Initial analysis was performed using the nlt.sentiment.vader module provided as part of NLTK in Python, to calculate average positivity and negativity for each day of week. Later, user-hashtag weighted bipartite graphs were created using networkx to relate average sentiment to the actual use of Thanksgiving related hashtags.

wheelchair-distance-module icon wheelchair-distance-module

An Arduino sketch to calculate distance traveled by a wheelchair, and angle turned (if any) using Hall effect sensors and magnets mounted on the wheelchair.

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.