Created
December 2, 2018 02:52
-
-
Save konstantint/e560bfab8eca7fa0a9a3815ef5e5d7f9 to your computer and use it in GitHub Desktop.
The Data Science Workflow blogpost, snippet 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with _BehaviourFeatures as ( | |
... inline the view definition ... | |
), | |
_ProfileFeatures as ( | |
... inline the view definition ... | |
), | |
_ModelInputs as ( | |
... concatenate the feature columns ... | |
) | |
select | |
Key, | |
1/(1.0 + exp(-1.2 + 2.1*Feature1 - 0.2*Feature3)) as Prob | |
from _ModelInputs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment