# function

## All Aboard the Pandas Express – How to Speed up Data Preprocessing using Pandas in Python

Overview Pandas is the Swiss Army Knife of data preprocessing tasks in Python but can be cumbersome when dealing with…

## Sum of divisor powers

The function σk takes an integer n and returns the sum of the kth powers of divisors of n. For…

## Conceptual vs Numerical

One of the things that makes numerical computation interesting is that it often reverses the usual conceptual order of things,…

## Not even close

Very often what cannot be done exactly can be done approximately. For example, most integrals cannot be computed in closed…

## 24 Commonly used SQL Functions for Data Analysis tasks

IntroductionAnything and everything related to data in the 21st century have become of prime relevance. And one of the key…

## Counterexample to Dirichlet principle

Let Ω be an open set in some Euclidean space and v a real-valued function on Ω. Dirichlet principle Dirichlet’s…

## Where does the seven come from?

Here’s a plot of exp(6it)/2 + exp(20it)/3: Notice that the plot has 7-fold symmetry. You might expect 6-fold symmetry from…

## To integrate the impossible integral

In the Broadway musical Man of La Mancha, Don Quixote sings To dream the impossible dream To fight the unbeatable…

## A wrinkle in Clojure

Bob Martin recently posted a nice pair of articles, A Little Clojure and A Little More Clojure. In the first…

## What Is Argmax in Machine Learning?

Argmax is a mathematical function that you may encounter in applied machine learning. For example, you may see “argmax” or…

## Neural Networks are Function Approximation Algorithms

Supervised learning in machine learning can be described in terms of function approximation. Given a dataset comprised of inputs and…

## What are Lambda Functions? A Quick Guide to Lambda Functions in Python

Introduction For loops are the antithesis of efficient programming. They’re still necessary and are the first conditional loops taught to…

## Scaling and memoization

The previous post explained that Lobatto’s integration method is more efficient than Gaussian quadrature when the end points of the…

## Mittag-Leffler transform

I keep running into Mittag-Leffler. A couple days ago I wrote about his polynomials. Today I ran across his regularization…

## Fundamentals of Deep Learning – Activation Functions and When to Use Them?

Overview Activation function is one of the building blocks on Neural Network Learn about the different activation functions in deep…

## Analogies between Weierstrass functions and trig functions

If you look at the Wikipedia article on Weierstrass functions, you’ll find a line that says “the relation between the…

## Area of sinc and jinc function lobes

This post will include Python code to address that question. First, let me back up and explain the context. The…

## How to Use an Empirical Distribution Function in Python

An empirical distribution function provides a way to model and sample cumulative probabilities for a data sample that does not…

## Niranjan Pramanik, Ph.D.

Multiple Linear Regression — with math and codeKernel Regression — with example and codeIn this article, how kernel function is used as a weighing function to…

## How to Implement Bayesian Optimization from Scratch in Python

Last Updated on October 9, 2019 Global optimization is a challenging problem of finding an input that results in the…

## A Gentle Introduction to Jensen’s Inequality

It is common in statistics and machine learning to create a linear transform or mapping of a variable. An example…

## A Gentle Introduction to Generative Adversarial Network Loss Functions

A Large-Scale Study, 2018. The result is better gradient information when updating the weights of the generator and a more…

## MLflow, TensorFlow, and an Open Source Show

This summer, I interned on the ML Platform team. I worked on MLflow, an open-source machine learning management framework. This…

## A Detailed Guide to 7 Loss Functions for Machine Learning Algorithms with Python Code

We can consider this as a disadvantage of MAE. Here is the code for the update_weight function with MAE cost:…

## Demystify AWS Lex Bots

Demystify AWS Lex BotsAsanka NissankaBlockedUnblockFollowFollowingJul 8Source : https://www. signitysolutions. com/chatbot-development/amazon-lex“Bot” is a popular and booming term these days and for sure an…