Saturday, November 24, 2012
R normalize data into 0-1 Interval
function normalize(data)
{
maxvalues = apply(data,2,max)
minvalues = apply(data,2,min)
sweep(data,2,minvalues,"-")
sweep(data,2,maxvalues-minvalues,"/")
}
Monday, November 05, 2012
R hold plot
There is no hold function R instead lines or points are used for that purpose :
plot(method1,type="l", main="Accuracy vs Number of Training samples",
xlab="Number of samples", ylab="Accuracy",
xlim=c(0, 30), ylim=c(0, 1))
lines(method2,col="blue")
plot(method1,type="l", main="Accuracy vs Number of Training samples",
xlab="Number of samples", ylab="Accuracy",
xlim=c(0, 30), ylim=c(0, 1))
lines(method2,col="blue")
Friday, November 02, 2012
Thursday, November 01, 2012
Subscribe to:
Posts (Atom)
Be Human
This is my prompt to the humans out there: Publication for the sake of publication, architecture for the sake of architecture, and agents fo...
-
Run following command in js console if you want make web sites audible with a click document.getElementsByTagName("p")].map(p =...
-
Real Time Transcription: In TV channels I realize that text is a little bit coming late after the speech. So , I think they are using...
-
Bilimin degisik alanlarinda hayal kurmaktan kendimi alamiyorum, cam merceklerle kumu eritip tekrar mercek uretme, havadan carbonu cekip elma...