页面简介
This course module teaches the fundamentals of logistic regression, including how to predict a probability, the sigmoid function, and Log Loss.
正文摘录
Home Products Machine Learning ML Concepts Crash Course Send feedback Logistic Regression Page Summary outlined_flag This module introduces logistic regression, a model used to predict the probability of an outcome, unlike linear regression which predicts continuous numerical values. Logistic regression utilizes the sigmoid function to calculate probability and employs log loss as its loss function. Regularization is crucial when training logistic regression models to prevent overfitting and improve generalization. The module covers the comparison between linear and logistic regression and explores use cases for logistic regression. Familiarity with introductory machine learning and linear regression concepts is assumed for this 35-minute module. In the Linear regression module, you explored how to construct a model to make continuous numerical predictions, such as the fuel efficiency of a car. But what if you want to build a model to answer questions like "Will it rain today?" or "Is this email spam?" This module introduces a new type of regression model called logistic regression that is designed to predict the probability of a given outcome. Help Center Previous Test your knowledge (10 min) Next Calculating a probability (10 min) Send feedback Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Last updated 2025-08-25 UTC.