A.I, Data and Software Engineering


One-hot encoding matrices demonstration

movie lens automation

Table of contentsOne-hot encodingRating matrixLoading movielens dataTo sum up This post will demonstrate onehot encoding for a rating matrix, such as movie lens dataset. One-hot encoding Previously, we introduced a quick note for one-hot encoding. It is a representation of categorical variables as binary vectors. It is a group of bits among which the legal combinations of values are only those...

build a simple recommender system with matrix factorization


Table of contentsmatrix factorizationLatent factors in MFMF with Keras Learnt Embedding How to Recommend?Conclusion We will build a recommender system which recommends top n items for a user using the matrix factorization technique- one of the three most popular used recommender systems. matrix factorization Suppose we have a rating matrix of m users and n items. The rating of user \(u_i\) to...

The intuition of Principal Component Analysis

Petamind A.I

Table of contentsPCA intuitionPCA procedureAppling PCA with Iris datasetHow much information preservedConclusion As PCA and linear autoencoder have a close relation, this post introduces again PCA as a powerful dimension reduction tool while skipping many mathematical proofs. PCA is a statistical procedure that uses an orthogonal transformation to convert a set of observations of possibly...

deep learning: Linear Autoencoder with Keras

autoencoder schema

Table of contentsWhat is a linear autoencoderother variationsWhen to useexample with Keras and TF.2.xBuild an autoencoder modelTrain the modelGet the encoded data This post introduces using linear autoencoder for dimensionality reduction using TensorFlow and Keras. What is a linear autoencoder An autoencoder is a type of artificial neural network used to learn efficient data codings in...

Math for ML – Vector norms quick note

math for machine learning

Table of contentsFrom a high school entrance exam…Vector normsManhattan norm – l1EUCLIDEAN NORM – L2p-norm (\(L^p\) spaces)Frobenius normQuick note REFERENCE: Vector norms are used in many machine learning and computer science problems. This article covers some common norms and related applications. From a high school entrance exam… Remember the day (?/?/1998) when I took...

A.I, Data and Software Engineering

PetaMinds focuses on developing the coolest topics in data science, A.I, and programming, and make them so digestible for everyone to learn and create amazing applications in a short time.

Pin It on Pinterest