Skip to main content

Linear Regression

  • Chapter
  • First Online:

Abstract

As we talked about Machine Learning in the previous chapter, it’s a very vast field and there are multiple algorithms that fall under various categories, but Linear Regression is one of the most fundamental machine learning algorithms. This chapter focuses on building a Linear Regression model with PySpark and dives deep into the workings of an LR model. It will cover various assumptions to be considered before using LR along with different evaluation metrics. But before even jumping into trying to understand Linear Regression, we must understand the types of variables.

This is a preview of subscription content, log in via an institution.

Buying options

eBook
USD   24.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Pramod Singh

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Singh, P. (2019). Linear Regression. In: Machine Learning with PySpark . Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4131-8_4

Download citation

Publish with us

Policies and ethics