Category «Tensorflow»

Recommendation System

Humans need recommendation since childhood, he needs to know what is good for him, like where and how he spends his holidays, which food is good for him, what subjects are best for him, what are best colleges, etc.. In terms of implementation we can divide it into two categories: Memory-based: Use Statistical tool like …

PCA Principal Component Analysis

Principal component analysis (PCA) is used as a dimensionality reduction technique. When we have a lot of dimension in data it’s difficult to find the dimensions which are responsible for the results. Let us consider a scenario in which you have an army of 10,000 soldiers. How can we determine that the army will win …

KNN: K-Nearest Neighbour

This is the story of a person found at JORDAN border, the country is surrounded by 5 neighbors, so how can we find the person belong to which country. KNN plays a vital role here, KNN is a algorithm which stores the whole model, i.e. it will never make any function. It will check the …

Tensorflow: Basics -I

Let us start with some basics of addition and multiplication program and represent them in a tensorboard. import tensorflow as tfx=tf.constant(1,name=’x’)m=tf.constant(2,name=’y’)z=tf.constant(3,name=’z’)prod=tf.multiply(x,m,name=’multiply’)add=tf.add(prod,z,name=’add’)with tf.Session() as sess: writer=tf.summary.FileWriter(logdir=’./graph’,graph=sess.graph) print(sess.run(add))Output is :5 Now, if we want to check the graph, we have to run following command in Linux(Note: I have used Kali linux), read different types of tensor in …

Data Analysis-101(WNS)

This analysis is for finding a click event of the user, the details are as : Zbay is an E-commerce website which sells a variety of products at its online platform. Zbay records user behaviour of its customers and stores it as a log. However, most of the times, users do not buy the products …