python

LSTM Autoencoder for Anomaly Detection in Python with Keras

Using LSTM Autoencoder to Detect Anomalies and Classify Rare Events So many times, actually most of real-life data, we have unbalanced data. Data were the events in which we are…

Read more

Autoencoder with Manifold Learning for Clustering in Python

Clustering the Manifold of the Embeddings Learned by Autoencoders Whenever we have unlabeled data, we usually think about doing clustering. Clustering helps find the similarities and relationships within the data.…

Read more

Sentiment Prediction using CNN and LSTM in Keras

Using Convolutional and Long Short-Term Memory Neural Networks to Classify IMDB Movie Reviews as Positive or Negative We will explore combining the CNN and LSTM along with Word Embeddings to…

Read more

Calling C Posix Threads from Python Through Cython

Call C Parallel Function from Python C language is fast. Let alone parallelism in C. It is a great speed boost especially for heavy operations. Here we will see how…

Read more

Import C Code in Python (Part 2)

Importing C libraries and functions in Python using ctypes library and Cython C is known by its speed, so sometimes when the performance and the speed are an issue, developers…

Read more

Import C Code in Python (Part 1)

Importing C libraries and functions in Python using ctypes library and Cython C is known by its speed, so sometimes when the performance and the speed are an issue, developers…

Read more

Pytholog as a Logical Database

DVD Rental Database in pytholog logic programming in python using pytholog library which is similar to prolog syntax and backtracking to answer queries. We will use DVD Rental database to feed a…

Read more

Recommendation Engine with Neo4j

Collaborative Filtering Recommendation Engine with Neo4j & Python Introduction In a previous blog, we created a graph database in Neo4j using the DVDRENTAL database which you can download from here.…

Read more

Resource Allocation with Simulated Annealing

Optimization Algorithms to Find the Best Solution Possible Resource allocation or resource management is a very difficult task in any company. To find the best resource with the right skills…

Read more

Recommendation Engine in PostgreSQL

Building a Recommendation Engine in PostgreSQL using Python Project GitHub link: https://github.com/MNoorFawi/recommender-system-in-postgresql-using-python N.B. The database is built in this post and refer to the data_preparation_r.R script to have everything ready in…

Read more