课程: Introduction to Spark SQL and DataFrames
今天就学习课程吧!
今天就开通帐号,24,600 门业界名师课程任您挑!
Basic machine learning with DataFrames, part 2
课程: Introduction to Spark SQL and DataFrames
Basic machine learning with DataFrames, part 2
- [Instructor] We're going to look at another commonly used machine learning technique or data science or statistics technique called linear regression. Linear regression is useful when you have data in which you believe you can make predictions about one variable using knowledge about another variable. So for example, if you believe that you think knowing CPU utilization will alow you to guess what the number of sessions are or the free memory are, then linear regression would be a good technique to use to implement that. So once again, we'll use utilization data. And I'll just load that. And as in the previous video, we're uploading some code from the machine learning libraries in Spark. And in particular, we're loading the VectorAssembler, which we have seen before, and then we're also loading the linear regression models. So, what we want to do is create a vector with the feature columns that we're interested in.…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。