Helper function to get etas (linear predictions)
Given x, coefficients and intercept, return linear predictions. Wrapper that works with both regular and sparse x. Only works for single set of coefficients and intercept.
get_eta(x, beta, a0)
x |
Input matrix, of dimension |
beta |
Feature coefficients. |
a0 |
Intercept. |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.