2017-03-04 117 views
1

我想寫喜歡用乳膠我的分析,我RCloud筆記本敘事邏輯函數方程(因爲這是我所知道的),例如:你可以在RCloud中使用LaTex嗎?

F(x) = 1/(1 + exp(-Ax)) 

g(F(x)) = ln(\frac{F(x)}{1-F(x)}) = Ax 

\frac{F(x)}{1-F(x)} = e^{Ax} 

我可以使用RCloud LaTeX的符號?

回答

2

是,在一個RCloud的RMarkdown細胞(例如展示在rcloud.social/tryit)筆記本電腦,這將呈現:

### If $x$ is a linear function then the argument to the logistic function can be written as a linear system. 

$$ 
F(x) = 1/(1 + exp(-Ax)) 
$$ 

### $F(x)$ can be interpretted as the probability of the independent variable $x$ producing an output of 1 given the design matrix $A$. 

### When training a binomial logistic regression model we are interested in the inverse problem. That is, given a set of examples what is the optimal value of $A$. 

$$ 
g(F(x)) = ln(\frac{F(x)}{1-F(x)}) = Ax 
$$ 
$$ 
\frac{F(x)}{1-F(x)} = e^{Ax} 
$$ 

### Note that the $g$, called the *logit* function, is equivalent to simple linear regression and 

也是F的數比值(X)。

This是RCloud的showcase/public實例上的示例筆記本。

相關問題