Pattern Consumer

Continually apply basic, simple fundamentals over a long period of time

Sunday, April 20, 2014

11:51 AM

Model selection by cross validation

Unknown Leave a comment
Untitled
Email ThisBlogThis!Share to TwitterShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Initialize armadillo matrix with std vector in c++
    Armadillo's documentation page shows us how to initialize a arma::mat from a c array, here is how to do it with a c++ std vector: ...
  • ggplot2: difference between geom_line and geom_path
    geom_line: Connect observations, ordered by x value. geom_path: Connect observations in original order demo geom_line and geom...
  • Put a string in osx clipboard with Python
    I used to store strings in files and then put the file content into clipboard by shell redirection, today I have found a better way: tests...
  • How to use JUnit with Scala
    How to use JUnit with Scala By Alvin Alexander. Last updated: Jun 8, 2014 ...
  • Common Seq operations
    // scala code object Test { // Seq operations val xs = List ( 1 , 2 , 3 , 4 , 5 ) xs . isDefinedAt ( 2 ) xs ( 2 ) xs ...
  • Subsetting matrices in armadillo
    Here are some tests for subsetting a matrix in armadillo: by columns, by rows or by both: C++ code: // [[Rcpp::export]] arma::mat t...
  • Rotation of ellipse and eigenvectors of quadratic forms
    Rotation of ellipse and eigenvectors of quadratic forms A quaratic form is a polynomial of the form: \begin{align*} f(x) &= ...
  • PLINK file formats: .bim and .fam
    Generate test files Content of test1.ped: fabu peter 0 0 1 0 G G 2 2 C C fabu mary 0 ...
  • Functional programming in Scala, Chapter 3, Tree implementation
    object Example { sealed trait Tree [+ A ] case class Leaf [ A ]( value : A ) extends Tree [ A ] case class Branch [ A ...
  • Unit circle under different norms
    There are many ways to calculate distance in $R^n$, one family of them are called p-norms. (norm is the distance to the origin.) \begin{al...

Blog Archive

  • ►  2017 (5)
    • ►  January (5)
  • ►  2016 (11)
    • ►  December (2)
    • ►  February (1)
    • ►  January (8)
  • ►  2015 (144)
    • ►  December (2)
    • ►  November (6)
    • ►  October (118)
    • ►  September (1)
    • ►  August (4)
    • ►  July (6)
    • ►  April (1)
    • ►  March (3)
    • ►  January (3)
  • ▼  2014 (194)
    • ►  September (1)
    • ►  August (1)
    • ►  July (59)
    • ►  June (13)
    • ►  May (29)
    • ▼  April (91)
      • Rotation of ellipse and eigenvectors of quadratic ...
      • Rotated matrix and rotated eigenvectors.
      • Linear regression in a few equations and optimizat...
      • Data visualization, scale matters
      • Steepest gradient descent
      • An Introduction to the Conjugate Gradient Method W...
      • Directional and orthogonal form of a line
      • An interesting property of symmetric matrices
      • Function increases in the direction of the gradien...
      • Usage of elementary matrices and vectors
      • Lagrange multiplier: intuition and proof
      • Secondary derivative test: intuition and proof
      • Change of variables and degeneration
      • Generalization of the equation for a line
      • Gradient vector is perpendicular to the tangent plane
      • A special vector field made up of derivatives
      • Directional derivative, definition and computation
      • Slicing in javascript
      • Slope in polar coordinates connected to rotation m...
      • Plotting a parabola in polar coordinates in matlab
      • Matrix multiplication and row operations
      • Bezier curves
      • Plot line segments in matlab
      • Python: split long string into short chunks of fix...
      • Convert image to base64 string and embed it in html
      • Arc length intuition
      • Filename manipulation in bash
      • Shape of cycloid and its parametric equation:
      • Running circles around circles: hypocycloid
      • The matrix algebra of changing coordinate system
      • Parameterization example
      • Dimension of f:R->R is infinity
      • Generalization of Ax = b
      • Floating point representation and error analysis
      • Undergraduate Numerical Analysis/Methods Textbooks
      • Primitive R objects and functions by example
      • How to Match Functions in R
      • Sparse matrix should be operated on with suitable ...
      • The queen who knows how to do the trick
      • Quadratic form with a diagonal matrix in the middl...
      • Matrix multiplication with submatrices
      • Blogger template: css style mathjax script and sy...
      • Distance from point to plane in matrix algebra
      • E(min(a,b)), model selection by validation
      • Model selection by cross validation
      • Regularization and Lagrange multiplier
      • The Multivariable Chain Rule
      • Link: Taylor exapansion for multivariate functions
      • Three linear models
      • Bias-variance trade off
      • VC dimension, sample size required and the general...
      • VC dimension of perceptron
      • Non-linear transformation
      • Feasibility of machine learning: Hoeffding's inequ...
      • Method for Finding a Basis by Enlarging a Linearly...
      • Constructing Special Bases
      • every subspace of a finite dimensional vector spac...
      • minimal spanning set is also basis
      • Maximal Linearly Independent Sets and Minimal Span...
      • Spanning and independence, regarding the number of...
      • Linear Independence of Infinite Sets
      • Uniqueness of Expression of a Vector as a Linear C...
      • Span(S) Is the Minimal Subspace Containing S
      • No proper subspace for R except for trivial subspace
      • Rounding errors leading to wrong eigenvector calcu...
      • Large Powers of a Matrix
      • eigenvector and eigenvalues of a rotation matrix
      • Determinant of a Matrix Product
      • Determinants of Upper Triangular Matrices, flipped...
      • Convert lod score to p values
      • Partition of phenotypic variance
      • Logistic regression with gradient descent algorithm
      • Understanding divergence
      • Gradient field and fundamental theorem of calculus 1
      • Understanding curl
      • Polar coordinates double integral set up
      • A example where Green's theorem does not apply
      • Gradient field and fundamental theorem of calculus
      • Vector field example 3
      • Vector field example 2
      • Vector field example
      • Change of variable exercise
      • Change of variables, from dxdy to dudv
      • Why determinant of a 2 by 2 matrix is the area of ...
      • Change of variables and change of coordinate system
      • Area of ellipse, a simpler method
      • Area under curve, by single or double integration
      • Area under curve, double / single integral
      • Area of ellipse, by single or double integration
      • Integral by substitution
      • Average and weighted average
Copyright © Pattern Consumer | Powered by Blogger
Distributed By Free Blog Templates | Design By CSThemes