-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expressing the final weights learnt as a parametric equation #106
Comments
http://www.jmlr.org/papers/volume17/15-355/15-355.pdf |
@ibayer - thanks for your prompt response. So, seeing eqn 1 , I have X encoded as {1,0 along with some continuous variables, see sample below} , which of these will return the y as in eqn 1. I have fm.w0 , fm.w1_ & fm.V_
Additional note: |
@ibayer @takuti @macks22 @chezou @bdaskalov - I got the y_pred from My use case is storing the model params (w0_,w_, V_) over n iterations of different test-data sets (my test data is ~ 1.8 TB) and then computing the final y_pred ( probability) at run time, so I can't use Pasting a quick code, in-case someone has a similar question .
What I tried
2a)
2b)
What is the link function, I can use ?
|
@ibayer - Here are the results of the prob. as returned by |
@ibayer - Also from documentation here http://ibayer.github.io/fastFM/tutorial.html#bayesian-probit-classification-with-mcmc-solver
, but the results from
|
Can you summarize again what you are trying to achieve? I saw you use mcmc somewhere in you code.
http://ibayer.github.io/fastFM/tutorial.html#bayesian-probit-classification-with-mcmc-solver |
@ibayer - Simplifying the question.
|
Looks to me like you use the mcmc solver. If that's the case then
doesn't make sense (I assume that by run you mean one call to |
@ibayer After learning the model weights with the parameter names , eg :
with X.test.columns as the names, how do I express this as a functional relationship , so it can be productionized ?
ie. .. f(x1*-1.29966466e-03+ x2* 1.78455648e+01 ... )
fm.w_ [ -1.29966466e-03 1.78455648e+01 -2.05648306e-01 -2.40578327e+00 4.44556106e+00 9.42411346e-02 1.82644589e+00 2.35087155e+00 -4.14614164e-01 1.52788247e+00 6.72193895e-01 -1.51634745e-01 1.96703805e+00 -7.19508942e-01 -3.00903099e-01 8.13209301e-01]
The text was updated successfully, but these errors were encountered: