jaredhuling / oem

Penalized least squares estimation using the Orthogonalizing EM (OEM) algorithm

Home Page:http://jaredhuling.org/oem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mnet or Snet penalties

khotilov opened this issue · comments

Were there any plans to add Mnet or Snet penalties? I might give it a try, if you don't mind.

Could you send some references on those penalties?

Thanks!

I have plans for a few more penalties, so let me know if you have any other requests

Awesome! Thank you!

Just a couple of comments:

  • Since now you've got a "complete set", why not to limit the interface to something like penalty = c("enet", "ols", "mnet", "snet", "grp.enet") and let a user to steer with alpha?
  • cv functions also need to be updated.

@khotilov regarding cv functions: xval.oem was already fixed, but with the latest update i've fixed cv.oem.

regarding the first point: allowing the separate penalties "mcp" vs "mcp.net" allows a bit more flexibility for now until I allow the user to specify multiple values of alpha at a time. Allowing multiple values of alpha at a time will require some significant code changes and re-organization so I don't expect it to happen very soon. However, once I do that it should allow me to simplify the penalty options significantly without any loss of flexibility