archerimagine
·
Sun, 24 May 2015 07:19:07 +0000
Distribution We have 3 types of Distribution which we have talked about:- Uniform Distribution Normal Distribution Exponential Distribution Uniform Distribution A Uniform Distribution will look like this:- The probabilit...
archerimagine
·
Fri, 01 May 2015 06:26:57 +0000
Introduction In the last lecture, when we were finding the value of Pi, we started with an assumption that if we drop large enough pins and if we repeat this experiment multiple times, if we get a very small standard dev...
archerimagine
·
Wed, 22 Apr 2015 16:56:43 +0000
Computational Models We have seen some models of real world in past lecture, Gaussian or Normal Distribution is a great way to represent real world models with the help of Mean and Standard deviation. A Normal Distributi...
archerimagine
·
Sat, 11 Apr 2015 17:12:57 +0000
Probability of Binary Variable A binary variable which can have only 2 possible outcome, like heads or tails, 0 or 1, on or off. Lets say we have a variable A which can take values Heads or Tails, so the p(A=H) i.e., pro...
archerimagine
·
Wed, 08 Apr 2015 16:59:29 +0000
Introduction At the end of lecture 14, we were flipping coin, and trying to find number of sample which is enough to safely say that the probability of getting a head or tails after n trails is 0.5. So to solve this, we...
archerimagine
·
Mon, 06 Apr 2015 16:41:33 +0000
Data Visualization Consider the below example code:- import pylab principal = 10000 #initial investment interestRate = 0.05 years = 20 values = [] for i in range(years + 1): values.append(principal) principal += principa...
archerimagine
·
Fri, 27 Mar 2015 17:00:51 +0000
Introduction In the last lecture, we had a error in our code, because the Random walk code, did not output correct value of small samples as we had manually checked. The problem was in the simWalks() method, which used w...
archerimagine
·
Wed, 25 Mar 2015 17:10:27 +0000
Generator Yield We will start with the example in the previous lecture, see the code here;- import datetime class Person(object): def __init__(self, name): #Create a person with name self.name = name try: firstBlank = na...
archerimagine
·
Fri, 27 Feb 2015 12:30:35 +0000
The first 25 min of the Recitation is about Quiz 1 which we will not listen to now. Object Oriented Programming Classes allow to define a custom type. It allows to group data (attributes) and methods together, which is c...
archerimagine
·
Thu, 19 Feb 2015 16:26:21 +0000
Introduction Object oriented programming started with the development of these 2 programming language. CLU Smalltalk These languages were not able to propel the OOP concepts till the advent of Java , followed by C++ and...