Using model coefficients outside Wizard

92 views
Skip to first unread message

Chris Mueller

unread,
Oct 8, 2012, 9:00:08 PM10/8/12
to wizard...@googlegroups.com
First: Wizard is incredible!

I've been working with a nice dataset and taking advantage of the rich modeling capacity Wizard provides. I'm wondering -- the "export coefficients" feature is cool, but I don't really know how I would use those coefficients in the future. 

I'm attempting to model a numeric value from categorical data:

category1, category2, category3 => predicted number

I'm happy with the model itself, and now I'd like to understand it a little bit more. I have an engineering/software background and would like to write some Python code that could accept the coefficients of this model. I feel like this is a very naive question, but I'm just not quite sure where to start.

Any tips?

Thanks!
Chris

Chris Mueller

unread,
Oct 8, 2012, 9:16:29 PM10/8/12
to wizard...@googlegroups.com
Well, my comment was premature. I forgot to account for the b0 term in my linear model. It'd be great if a future version of Wizard would expose this somewhere -- or maybe it does already?

Thanks for a stellar product.

Evan Miller

unread,
Oct 8, 2012, 9:22:43 PM10/8/12
to wizard...@googlegroups.com
Hi Chris,

Thanks for your email. You can find b0 in the Predictor interface --
it's on the very last line of the displayed equation.

I've tried to make the coefficients' inner workings somewhat apparent
in the Predictor interface, but they can still be a bit mysterious to
newcomers, especially the non-linear models. You mentioned you're
writing Python code -- would a code-generation feature make your life
easier? I was thinking something akin to the "Copy Estimation Command"
window, but with options to display a function for applying the model
coefficients in Python, Java, JavaScript, etc.

Anyway, I'm glad you like the product! Stay tuned for some nifty new features...

Evan
--
Evan Miller
http://www.evanmiller.org/

Chris Mueller

unread,
Oct 9, 2012, 1:06:21 AM10/9/12
to wizard...@googlegroups.com
Hi Evan, 

Thanks for the quick resposne. The number was staring me in the face the whole time -- I didn't realize it! 

As for a code-generation tool, that could potentially be very helpful. I'm currently integrating the model from Wizard into a production system. Most of the work is the integration, so the code-generation portion might be less useful in this particular case. Regardless, I'd love to see what you come up with. 

Chris

Chris Mueller

unread,
Oct 12, 2012, 3:20:47 PM10/12/12
to wizard...@googlegroups.com
Hi Evan,

A follow-up question. I'm looking more at the coefficients CSV output and I realize that while each coefficient has a standard error associated with it, shouldn't there also be a standard error term for the intercept/b0 value? How can I find that in Wizard?

Chris

On Mon, Oct 8, 2012 at 6:22 PM, Evan Miller <emmi...@gmail.com> wrote:

Evan Miller

unread,
Oct 12, 2012, 3:44:26 PM10/12/12
to wizard...@googlegroups.com
Hi Chris,

The absence of the intercept term and its standard error from the CSV
export is an omission on my part. I will be sure it is included in the
next release.

Evan

jurgen.vo...@gmail.com

unread,
Apr 25, 2014, 9:50:19 AM4/25/14
to wizard...@googlegroups.com
I see this got included in the export function, but is there any way to see the error term for the intercept in Wizard?

Evan Miller

unread,
Apr 25, 2014, 10:22:44 AM4/25/14
to wizard...@googlegroups.com
Not currently, sorry. I'm currently focused on putting the finishing touches on Wizard 1.4, but I'll keep this request in mind in the future.

Evan


--
You received this message because you are subscribed to the Google Groups "Wizard User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wizard-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Evan Miller

unread,
Aug 13, 2014, 2:17:44 AM8/13/14
to wizard...@googlegroups.com
Quick update here: I found time to add the intercept estimate and error term to the Wizard interface. You'll also be able to constrain the intercept to be 0. Let me know if you'd like to test these features out.

Evan
Reply all
Reply to author
Forward
0 new messages