Summary
First, the model computes a value , which is a linear sum of the input features weighted by the model’s parameters (weights or coefficients) plus a bias term . This is represented as: directly models the ‘log-odds‘ (also known as the logit) of the positive class () occurring. The ‘log-odds‘ represent the logarithm of the ratio between the probability of the event happening and the probability of it not happening:This relationship highlights the assumption of ‘Linearity of Log Odds‘ mentioned in the Fundamentals of AI module.Second, to obtain the actual probability , the model applies the ‘sigmoid function‘, , to the log-odds value . The ‘sigmoid function‘, as described previously, maps any real-valued input to a value between 0 and 1:This probability represents the model’s confidence that the input instance belongs to the positive class ().
This is a simple example of a LaTeX document that can be rendered by Pandoc. Pandoc can convert LaTeX documents to many formats like HTML, DOCX, and PDF. Here is an example of an inline equation: And here’s a block equation: Pandoc can convert LaTeX documents to various formats with ease. This is just a simple example, but you can do much more complex things with it.