In this tutorial, we introduceKullback-Leibler Divergence (KL Divergence) to beginners. Kullback-Leibler divergence can measure the difference between two probability distributions p(x) and q(x). Readers can understand how to compute it by following this tutorial.
In this tutorial, we write an example to fix NaN bug when using tf.svd() function to compute singular value decomposition in tensorflow. We use np.linalg.svd() function to replace tensorflow original tf.svd() when computing. I tested this method in our train model. It works well.
In this tutorial, we write an example to convert a tensor to numpy array with tensor.eval() function in tensorflow. You can follow our example code to learn how to do.
tf.nn.top_k can help us to sort elements in tensor from largest to smallest. In this tutorial, we update example code in previous tutorial and add code for sorting a tensor from smallest to largest. You can practise by following our example code.
TensorFlow function tf.nn.top_k can help us to sort elements in tensor. In this page, we write an example on how to sort a tensor from largest to smallest. You can add more functionalities by editing our example.
In this tutorial, we write an example for computing SVD value with TensorFlow. You can exercise this example by update our example code. Meanwhile, you should know the dfference with computing SVD in Numpy.
In this tutorial, we write a numpy example to caculate Singular Value Decomposition (SVD) of any matrix, you can learn and apply our example in your application by following our code.
In this tutorial, we introduce some eye-tracking corpus (GECO, Mishra Corpus, Dundee and Provo Corpus, et al. ), these corpus is often used in nlp research. You can select and download the best one for your need.
In this tutorial, we introduce Ridge Regression to beginners. Ridge Regression is a common algorithm in machine learning and deep learning. Readers can understand how and why we use it by following this tutorial.
tf.sigmoid can compute sigmoid value of a tensor in tensorflow, in this tutorial, you can learn how to use this math function by following our steps.