## Posts by Tinniam V Ganesh

# Author: Tinniam V Ganesh

#### My presentations on ‘Elements of Neural Networks & Deep Learning’ -Parts 6,7,8

Feed: R-bloggers. Author: Tinniam V Ganesh. This is the final set of presentations in my series ‘Elements of Neural Networks and Deep Learning’. This set follows the earlier 2 sets of presentations namely1. My presentations on ‘Elements of Neural Networks & Deep Learning’ -Part1,2,32. My presentations on ‘Elements of Neural Networks & Deep Learning’ -Parts 4,5 In this final set of presentations I discuss initialization methods, regularization techniques including dropout. Next I also discuss gradient descent optimization methods like momentum, rmsprop, adam etc. Lastly, I briefly also touch on hyper-parameter tuning approaches. The corresponding implementations are available in vectorized R, Python ... Read More

#### My presentations on ‘Elements of Neural Networks & Deep Learning’ -Part1,2,3

Feed: R-bloggers. Author: Tinniam V Ganesh. I will be uploading a series of presentations on ‘Elements of Neural Networks and Deep Learning’. In these video presentations I discuss the derivations of L -Layer Deep Learning Networks, starting from the basics. The corresponding implementations are available in vectorized R, Python and Octave are available in my book ‘Deep Learning from first principles:Second edition- In vectorized Python, R and Octave‘ 1. Elements of Neural Networks and Deep Learning – Part 1This presentation introduces Neural Networks and Deep Learning. A look at history of Neural Networks, Perceptrons and why Deep Learning networks are ... Read More

#### My book ‘Practical Machine Learning in R and Python: Third edition’ on Amazon

Feed: R-bloggers. Author: Tinniam V Ganesh. Are you wondering whether to get into the ‘R’ bus or ‘Python’ bus?My suggestion is to you is “Why not get into the ‘R and Python’ train?” The third edition of my book ‘Practical Machine Learning with R and Python – Machine Learning in stereo’ is now available in both paperback ($12.99) and kindle ($8.99/Rs449) versions. In the third edition all code sections have been re-formatted to use the fixed width font ‘Consolas’. This neatly organizes output which have columns like confusion matrix, dataframes etc to be columnar, making the code more readable. There is a science to ... Read More

#### My book ‘Deep Learning from first principles:Second Edition’ now on Amazon

Feed: R-bloggers. Author: Tinniam V Ganesh. The second edition of my book ‘Deep Learning from first principles:Second Edition- In vectorized Python, R and Octave’, is now available on Amazon, in both paperback ($14.99) and kindle ($9.99/Rs449/-) versions. Since this book is almost 70% code, all functions, and code snippets have been formatted to use the fixed-width font ‘Lucida Console’. In addition line numbers have been added to all code snippets. This makes the code more organized and much more readable. I have also fixed typos in the book The book includes the following chapters Table of Contents Preface 4 Introduction 6 ... Read More

#### Introducing cricpy:A python package to analyze performances of cricketers

Feed: R-bloggers. Author: Tinniam V Ganesh. The plot is a scatter plot of Runs vs Balls faced and Minutes at Crease. A prediction plane is fitted 21. Predicting Runs given Balls Faced and Minutes at Crease A multi-variate regression plane is fitted between Runs and Balls faced +Minutes at crease. import cricpy.analytics as ca import numpy as np import pandas as pd BF = np.linspace( 10, 400,15) Mins = np.linspace( 30,600,15) newDF= pd.DataFrame({'BF':BF,'Mins':Mins}) dravid = ca.batsmanRunsPredict("../dravid.csv",newDF,"Dravid") print(dravid) ## BF Mins Runs ## 0 10.000000 30.000000 0.519667 ## 1 37.857143 70.714286 13.821794 ## 2 65.714286 111.428571 27.123920 ## 3 93.571429 152.142857 ... Read More

#### Big Data-2: Move into the big league:Graduate from R to SparkR

Feed: R-bloggers. Author: Tinniam V Ganesh. sparkR.session() tendulkar1 read.df("/FileStore/tables/tendulkar.csv", header = "true", delimiter = ",", source = "csv", inferSchema = "true", na.strings = "") print(dim(tendulkar1)) tendulkar1 SparkR::filter(tendulkar1,tendulkar1$Runs != "DNB") print(dim(tendulkar1)) tendulkar1SparkR::filter(tendulkar1,tendulkar1$Runs != "TDNB") print(dim(tendulkar1)) tendulkar1SparkR::filter(tendulkar1,tendulkar1$Runs != "absent") print(dim(tendulkar1)) withColumn(tendulkar1, "Runs", cast(tendulkar1$Runs, "double")) head(SparkR::distinct(tendulkar1[,"Runs"]),20) tendulkar1$Runs=SparkR::regexp_replace(tendulkar1$Runs, "\*", "") head(SparkR::distinct(tendulkar1[,"Runs"]),20) df=SparkR::summarize(SparkR::groupBy(tendulkar1, tendulkar1$Ground), mean = mean(tendulkar1$Runs), minRuns=min(tendulkar1$Runs),maxRuns=max(tendulkar1$Runs)) head(df,20) ... Read More

#### My book ‘Practical Machine Learning in R and Python: Second edition’ on Amazon

Feed: R-bloggers. Author: Tinniam V Ganesh. The second edition of my book ‘Practical Machine Learning with R and Python – Machine Learning in stereo’ is now available in both paperback ($10.99) and kindle ($7.99/Rs449) versions. This second edition includes more content, extensive comments and formatting for better readability. In this book I implement some of the most common, but important Machine Learning algorithms in R and equivalent Python code.1. Practical machine with R and Python: Second Edition – Machine Learning in Stereo(Paperback-$10.99)2. Practical machine with R and Python Second Edition – Machine Learning in Stereo(Kindle- $7.99/Rs449) This book is ideal both for ... Read More

#### My book “Deep Learning from first principles” now on Amazon

Feed: R-bloggers. Author: Tinniam V Ganesh. My 4th book(self-published), “Deep Learning from first principles – In vectorized Python, R and Octave” (557 pages), is now available on Amazon in both paperback ($16.99) and kindle ($6.65/Rs449). The book starts with the most primitive 2-layer Neural Network and works its way to a generic L-layer Deep Learning Network, with all the bells and whistles. The book includes detailed derivations and vectorized implementations in Python, R and Octave. The code has been extensively commented and has been included in the Appendix section. Pick up your copy today!!! My other books1. Practical Machine Learning ... Read More

#### Deep Learning from first principles in Python, R and Octave – Part 8

Feed: R-bloggers. Author: Tinniam V Ganesh. 1. Introduction You don’t understand anything until you learn it more than one way. Marvin MinskyNo computer has ever been designed that is ever aware of what it’s doing; but most of the time, we aren’t either. Marvin MinskyA wealth of information creates a poverty of attention. Herbert Simon This post, Deep Learning from first Principles in Python, R and Octave-Part8, is my final post in my Deep Learning from first principles series. In this post, I discuss and implement a key functionality needed while building Deep Learning networks viz. ‘Gradient Checking’. Gradient Checking is ... Read More

#### Deep Learning from first principles in Python, R and Octave – Part 7

Feed: R-bloggers. Author: Tinniam V Ganesh. Artificial Intelligence is the new electricity. – Prof Andrew NgMost of human and animal learning is unsupervised learning. If intelligence was a cake, unsupervised learning would be the cake, supervised learning would be the icing on the cake, and reinforcement learning would be the cherry on the cake. We know how to make the icing and the cherry, but we don’t know how to make the cake. We need to solve the unsupervised learning problem before we can even think of getting to true AI. – Yann LeCun, March 14, 2016 (Facebook) In this post ‘Deep ... Read More

## Recent Comments