how to use lassoglm without an intercept

조회 수: 5 (최근 30일)
purplecobra11
purplecobra11 2016년 5월 9일
답변: Marius Marinescu 2025년 5월 5일
I'm trying to use lassoglm but setting the intercept term to 0. To do this with glmfit I set 'constant' to 'off' but I can't figure out how to do the same thing for lasso glm
  댓글 수: 3
Ghazaale Leylaz Mehrabadi
Ghazaale Leylaz Mehrabadi 2020년 1월 13일
I have the same question! Please let me know if you have found the answer!
Marius Marinescu
Marius Marinescu 2025년 5월 4일
I have the same question. I think it is not possible.

댓글을 달려면 로그인하십시오.

답변 (1개)

Marius Marinescu
Marius Marinescu 2025년 5월 5일
I made a function that is the same as lassoglm, except that does not consider the intercept. I attach it.

카테고리

Help CenterFile Exchange에서 Graphics Object Programming에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by