Comments (8)
@DongYuYu I'd like for you to work on this issue #5. Before you can properly test the Smoothing_F
class, you'll need to determine the cause of the zero-column in the fit produced by RidgeRegression
during the training phase of Smoothing_F
. You can use this issue to discuss this issue with the group.
from fda.
Quick Summary for Friday Work
I think that's all we done last Friday as following:
B_Spline:
-
Add bs for shifting the j-th spline to j+mMax-m-th spline evaluation
-
define range(m:Int) = 0 to ττ.dim - 1+m -2 to modify the index range of spline
-
decrease the augment interval for τ from mMax to mMax-1
-
change the boarder value for τ to ττ(0)-0,01 and ττ(ττ.dim - 1)+0.01
-
check if the last spline works well for the setting above
Smoothing_F:
-
change the function usage at predict and form_phi from bb to bs
-
change the range for makeknots by multiply *t(t.dim-1)
from fda.
@DongYuYu I've cleaned up the B_Spline
class in commit b829109 based on your edits.
from fda.
@DongYuYu Any progress on this? I'm particularly interested in the testing of RidgeRegression
with the penalty matrix.
from fda.
Not much yet. I'm into RedgeRegression and might ask questions later.
from fda.
@mepcotterell I have implemented some part of the regression. I added the penalty matrix in
RidgeRegression:
def xtx(Σ:MatrixD): MatrixD = {
val a = x.t * x
for (i <- 0 until a.dim1) {
for (j <- 0 until a.dim2) {
a(i, j) += lambda*Σ(i,j)
}
}
a
}
However, I have some problems: First, regarding to the this formula in R,
(X' W X + λ Σ) c = X' W y
, I think in our regression formula, we take the X.t
but here is it taking derivative? We will see.
Secondly, I think Σ
suppose to be a square matrix here, but Σ[i,j] = Integral B''[i](t) B''[j](t) dt
, is i
necessary to be equal to j
here? I still not very clear about the B-Spline formulation process.
from fda.
@DongYuYu It's unfortunate that they mix/overload notations, but I believe X'
denotes the transpose of the matrix X
and B''
denotes the second derivative of the function B
.
from fda.
@DongYuYu See B_SplineTest5
in B_Spline
for an implementation of the Σ
matrix.
from fda.
Related Issues (15)
- Load Gene Isoform Dataset HOT 1
- Lasso Regression
- Principal Differential Analysis (PDA) HOT 1
- Implement K-Means++ HOT 1
- Compilation problem HOT 1
- User Guide HOT 2
- Simulated Data Evaluation HOT 1
- Gap Statistic HOT 11
- Generalized Cross Validation (GCV)
- Tight Clustering HOT 5
- Generalized Information Criterion (GIC)
- Modified Akaike Information Criterion (mAIC)
- Generalized Bayesian Information Criterion (GBIC)
- Gene Isoform Workflow HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fda.