10

9

0

REFRESH PAGE

Python lambda functions

A lambda function is a anonymous function which can only have one expression.

**Basic definition**

A lambda function that takes three argument a, b, c and multiply them can be written as

......
Cox proportional hazard model and its applications in financial modeling

Cox proportional hazard model and its applications

......
What is new in Python 3.7?

In this blog, we will summarize some key differences between Python 3 and Python 2.

......
Common methods to calculate confidence band for binomial distribution

The textbook confidence interval for binomial trial is given by

\(CI=\hat{p}\pm \sqrt{\frac{\hat{p}(1-\hat{p})}{\tilde{n}}}\)

It is widely recognizedthat the actual coverage probability of the standard interval is poor for p near 0 or 1.Below are some alternatives that give a much better confidence bands

Object-Oriented (OO) design pattern through examples: the factory pattern

In this blog, we will use some real example to illustrate the factory design pattern using python

......
Deep copy vs shallow copy in Python

In Python, when you use = to assign an object to a variable, it will simply point the new variable towards the existing object.

The difference between shallow and deep copying is only relevant for compound objects (objects that contain other objects, like lists or class instances):

......
Commonly used heavy tail distributions

In this blog, we will explore some commonly used heavy tail distributions.

......
A simple binning approach for probability of default modeling

In this blog, I will introduce a simple binning approach in probability of default (PD) modeling.

......

How to use index in panda dataframe

In this blog, we will explain how to use index in Panda dataframe

......
What is cross validation?

Cross validation (CV) is a technique to test the effectiveness of a statistical model. To perform CV we need to keep aside a sample/portion of the data on which is do not use to train the model, later us this sample for testing/validating. Below are the few common techniques used for CV.

......Show More Stories

Jobs you may be interested in

Courses you may be interested in

Coursera
• Online Courses

Multivariate and Geographical Data Analysis | Coursera

Offered by

Arizona State University

Coursera
• Online Courses

Machine Learning with Python | Coursera

Offered by

IBM

Coursera
• Online Courses

Structuring Machine Learning Projects | Coursera

Offered by

deeplearning.ai

Coursera
• Online Courses

Google Cloud Platform Big Data and Machine Learning Fundamentals | Coursera

Offered by

Google Cloud

Coursera
• Online Courses

Mathematics for Machine Learning: Linear Algebra | Coursera

Offered by

Imperial College London

×

×