Search
New Code
 Vue Injector 3.3 Spectrum Analyzer pro Live 2019 Devart Excel Add-in for HubSpot 2.1 RentALLScript - Airbnb clone 2.2 SuiteCRM Theme Customization 7.11.6 iScripts NetMenus 3.1 iScripts EasyIndex 2.2 iScripts EasySnaps 2.0 Australia MyPost shipping For Magento 2 1.0.0 Australia Post eParcel For Magento 1.1.1 Source Control for SQL Server 2.0 Answers phpSoftPro 3.12 Exlcart 2.0 School College ERP 1.3.2 White-label Grocery Delivery App Solution 2.0
Top Code
 phpEnter 5.1. Quick Maps For Dynamics CRM 3.1 Single Leg MLM 1.2.1 Azizi search engine script PHP 4.1.10 Paste phpSoftPro 1.4.1 Extreme Injector 3.7 Deals and Discounts Website Script 1.0.2 Solid File System OS edition 5.1 Classified Ad Lister 1.0 Aglowsoft SQL Query Tools 8.2 Invoice Manager by PHPJabbers 3.0 ICPennyBid Penny Auction Script 4.0 PHP Review Script 1.0 ATN Resume Finder 2.0 ATN Site Builder 3.0
Code Listing by Kaushik Ghose

Code 11-15 of 15   Pages: Go to  << Prior  1  2  page

### Generating correlated random numbers  - Kaushik GhosePython / Miscellaneous

From this great tutorial

For two corelated variables, the formula is much as one would get from intuition about the meaning of correlation with some twist due to normalizing the standard deviation:
\$X_3 = alpha X_1 + sqrt{1-alpha^2} X_2\$
Where \$X_1\$ and \$X_2\$ are two independent random variables, and \$alpha\$ is the coefficient of correlation between \$X_1\$ and \$X_3\$.

In a more general sense:
Let \$C\$ be the...

### Using the python imaging library to... - Kaushik GhosePython / Miscellaneous

Code to generate degraded letter stimuli, as used in the paper "The remarkable inefficiency of word recognition" (Pelli et al. 2003). Utilizes the Python Imaging Library, and is an example of the usage of this library.

### Another use for lambdas and function... - Kaushik GhosePython / Miscellaneous

I was writing code to do bootstrapping on a set of data. I wanted a test case where if I asked for one bootstrap I would be returned the original data. lambdas and function references saved me from inefficient code.

### Simplest example of serving a browser... - Kaushik GhosePython / Miscellaneous

This is the simplest way I have found of sending information from a python program to a browser

### Getting version number of modules  - Kaushik GhosePython / Miscellaneous

How to print out the version number of a module