144 search results for "iris"

Classification using neural net in r

October 9, 2013
By

This is mostly for my students and myself for future reference.Classification is a supervised task , where we need preclassified data and then on new data , I can predict.Generally we holdout a % from the data available for testing and we call them tra...

Read more »

Classification with O-PLS-DA

September 29, 2013
By
Classification with O-PLS-DA

Partial least squares (PLS) is a versatile algorithm which can be used to predict either continuous or discrete/categorical variables. Classification with PLS is termed PLS-DA, where the DA stands for discriminant analysis.  The PLS-DA algorithm has many favorable properties for dealing with multivariate data; one of the most important of which is how variable collinearity is

Read more »

Using planel.groups in lattice

September 17, 2013
By
Using planel.groups in lattice

Last Tuesday I attended the LondonR user group meeting, where Rich and Andy from Mango argued about the better package for multivariate graphics with R: lattice vs. ggplot2. As part of their talk they had a little competition in visualising London Unde...

Read more »

pander 0.3.8 is out

September 12, 2013
By
pander 0.3.8 is out

I have just released a new version of pander to CRAN with some minor fixes and some (hopefully) useful new features to generate markdown tables beside other tools:although I really love the Droid Sans font that I used to bundle with the package, I deci...

Read more »

Big Data Sets you can use with R

August 22, 2013
By
Big Data Sets you can use with R

by Joseph Rickert The world may indeed be awash with data, however, it is not always easy to find a suitable data set when you need one. As the number of people becoming involved with R and data science increases so does the need for interesting data sets for creating examples, showcasing machine learning algorithms and developing statistical analyses....

Read more »

Prototyping Multinomial Logit with R

August 21, 2013
By
Prototyping Multinomial Logit with R

Recently, I am working on a new modeling proposal based on the competing risk and need to prototype multinomial logit models with R. There are R packages implementing multinomial logit models that I’ve tested, namely nnet and vgam. Model outputs with iris data are shown below. However, in my view, above methods are not flexible

Read more »

R on Your iPhone (Not the Way You Think)

August 8, 2013
By
R on Your iPhone (Not the Way You Think)

If you really love R, you should put it on your iPhone.  Apple gives the measurements for its products here. Let's use a little grid magic with ggplot2 to make a chart for the back of your iphone similar to this. require(grid)require(ggplot2)# thanks for the Apple measurements# https://developer.apple.com/resources/cases/x11( height = as.numeric(convertX(unit(58.55, "mm"), "in")),...

Read more »

ggplot2 meet d3

August 7, 2013
By

With great libraries, just a couple lines of code can do amazing things.  For instance, let’s limit ourselves to less than 10 lines of code and see what ggplot2 and d3 can do.  We will use gridSVG as discussed in yesterday’s post I Want ggplot2/lattice and d3 (gridSVG–The Glue) to expose ggplot2 to d3.  Thanks

Read more »

R talks to Weka about Data Mining

July 14, 2013
By
R talks to Weka about Data Mining

R provides us with excellent resources to mine data, and there are some good overviews out there: Yanchang’s website with Examples and a nice reference card The rattle-package that introduces a nice GUI for R, and Graham William’s compendium of tools The caret-package that offers a unified interface to running a multitude of model builders.

Read more »

Analyse discriminante linéaire ou Regression logistique

July 10, 2013
By
Analyse discriminante linéaire ou Regression logistique

Supposons que l'on dispose d'iris de Paris (en population >100khabts) et qu'on veuille pouvoir les classer selon leurs caractéristiques sociodémos : Population taux de chômage Etudiants CSP etc... Une fois, les iris classés, on se demande si l'on peut transporter cette typologie à une autre grande ville (Lyon) par exemple : Il faudrait alors pouvoir utiliser un modèle d'affectation des iris selon leurs caractéristiques respectives...

Read more »