Twitter Streaming and Analysis
Following gist may be used as a reference to stream twitter data into PostgreSQL database. Data is then queried from the database and preprocessed before performing NLP Sentiment Analysis.
A blog by Mo Aslam
Following gist may be used as a reference to stream twitter data into PostgreSQL database. Data is then queried from the database and preprocessed before performing NLP Sentiment Analysis.
Uploaded a gist and repository for Twitter Sentiment Analysis. See the links below:
Python Pandas Excel Data Analysis of Network Tickets. The code reads in an Excel file, performs analysis as needed and outputs the analysis data to another Excel file. The generated file is intended to be ingested into Power BI for visualization. Following packages will be needed:
This is the starting point of my upcoming project for social media sentiment analysis. See the list of libraries below from `pip freeze’ and plot output:
I have been developing applications in JavaScript for some time now using various libraries, and recently went through setting up a development environment for React JS based applications, mainly due to the immense popularity of this library.
While studying algorithms recently, coded basic implementations of Binary Search, Selection Sort, Quicksort and Dijkstra’s algorithm in Python. Please see the repository link below and feel free to clone and extend. I plan to add more algorithms and revise the existing code sometime in future.
I’ve setup a virtual lab in EVE-NG for Network Automation. Here is the process:
Please see following links for an example of Similarity Search algorithm based on Transfer Learning.
Please see following links for an example of Credit Score prediction based on Decision Trees, Random Forest and XGBoost.
Please see following links for an example of Telco Customer Churn prediction based on Logistic Regression.
Uploaded a Jupyter Notebook with annotated car price Machine Learning example based on Linear Regression.
This is a reference post for the Google ImageNet Inception v3 model, to function as a handy reference for layer selection.
Please see the following example as basic Tensorflow training and test example run on the Fashion MNIST dataset.
Fasion dataset used in the previous post was trained with a CNN. Note 99% training accuracy but test accuracy is 90%. This may be due to overfitting which will be discussed in a later post. Please stay tuned.
In case you receive an error similar to the one as depicted below in Visual Studio Code while trying to run Python code in a xxx.py file, using the “Run Code” button on the top right hand side of the code window, then please use following process to resolve the issue.
Please see the code and the text file below for bare bones Linear Regression without the use of any libraries. It may help in clarifying Machine Learning concepts.
Instead of long-winded explanations, I’ve created following Numpy and Panadas quick reference gists so that code and output are available in-place. These should serve as a quick reference to anyone working with these libraries.
ML - NY Cheap Rentals Notebook was uploaded to Github. This Jupyter notebook uses following Python modules:
Natural Language Processing module covers following topics:
Feature Selection module covers following topics:
Intro to Machine Learning
pwd
to “print working directory”. This will show your current directory.cd
command to navigate to that directorymkdir
to create new directory under the main directory. This will be your local git repositorycd
to navigate to the new directory. Currently, this directory does not have any files. So, create a file using touch filename.ext
. Please substitute ‘filename’ with your own filename and ‘ext’ with the file extension. It can be any valid filename and extension, for example, txt, rtf, java, swift, js etc.git clone <repository_url>
or fork another repository. See Fork a repo and Pull Request Tutorial for detailsgit
command without any parameters, it will provide you with the command usage details
echo "# repository-name" >> README.md
(Use this command to edit the file)
touch LICENSE
touch .gitignore
open .gitignore
For anyone interested, here is the process I used to successfully build OpenCV 2.4.8 with MingW on Windows 8 (64 bit) and setup Eclipse for development.