Skip to content

Nick Ryan

Data science, etc.

  • Home
  • About
  • Contact
  • CV
  • Github
  • LinkedIn
Nick Ryan

Tag: scipy

The Box-Cox Transformation

The Box-Cox Transformation

The Box-Cox transformation is a family of power transform functions that are used to stabilize variance and make a dataset look more like a normal distribution. Lots of useful tools require normal-like data in order to be effective, so by using the Box-Cox transformation on your wonky-looking dataset you can then utilize some of these tools.

Here’s the transformation in its basic form. For value x and parameter \lambda:

\displaystyle \frac{x^{\lambda}-1}{\lambda} \quad \text{if} \quad x\neq 0 

\displaystyle log(x) \quad \text{if} \quad x=0

Continue reading “The Box-Cox Transformation”

Author nickcdryanPosted on April 19, 2017April 19, 2017Tags data analysis, math, python, scipy, statistics, transformations2 Comments on The Box-Cox Transformation

Social

  • View nickcdryan1’s profile on Twitter
  • View nick-ryan-a687ba64’s profile on LinkedIn
  • View nickcdryan’s profile on GitHub

Archive

  • September 2019
  • August 2019
  • September 2017
  • June 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017

Tags

  • A/B testing
  • advertising
  • algorithms
  • baseball
  • benchmarking
  • BERT
  • chunking
  • computer vision
  • data analysis
  • deep learning
  • dimensionality reduction
  • facebook
  • machine learning
  • math
  • metaclass
  • metaprogramming
  • metrics
  • model evaluation
  • model selection
  • multi-label
  • neural net
  • neural networks
  • NLP
  • nltk
  • optimization
  • parsing
  • PCA
  • politics
  • preprocessing
  • python
  • pytorch
  • regularization
  • root-finding
  • scipy
  • sklearn
  • statistical learning theory
  • statistics
  • tagging
  • tensorflow
  • transfer learning
  • transformations
  • tutorial
  • twitter
  • visualization
  • web scraping
  • XLNet
  • Home
  • About
  • Contact
  • CV
  • Github
  • LinkedIn
Nick Ryan Blog at WordPress.com.
  • Follow Following
    • Nick Ryan
    • Already have a WordPress.com account? Log in now.
    • Nick Ryan
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar