Можете ли вы использовать LaTex в 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}
Могу ли я использовать нотацию LaTeX в RCloud?
1 ответ
Да, в ячейке RMarkdown в записной книжке RCloud (пример витрины в 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).
Это пример записной книжки на демонстрационном / публичном экземпляре RCloud.