caojiguo / fdacourse2019 Goto Github PK
View Code? Open in Web Editor NEWSlides and R codes for Functional Data Analysis Course
Slides and R codes for Functional Data Analysis Course
Hi. I have a issue with Cross Validation. If i run the following R code in lecture 15,
loglam = seq(5,15,0.5)
nlam = length(loglam)
SSE.CV = rep(NA,nlam)
for (ilam in 1:nlam) {
print(paste("log lambda =", loglam[ilam]))
lambda = 10^(loglam[ilam])
betalisti = betalist1
betalisti[[2]] = fdPar(betabasis35, harmaccelLfd, lambda)
fRegi = fRegress.CV(annualprec, templist, betalisti)
SSE.CV[ilam] = fRegi$SSE.CV
}
Then , R gives following error message.
[1] "log lambda = 5"
[1] 0 364
Error in getbasismatrix(evalarg, basisobj, nderiv, returnMatrix) :
as.numeric(evalarg) contains 499 NAs; class(evalarg) = numeric
추가정보: 경고메시지(들):
In eval.fd(tfine, xfdj[i], 0, returnMatrix) :
Values in argument 'evalarg' are outside of permitted range and will be ignored.
How can i solve this problem?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.