Re: AttributeError: 'MulticlassMetrics' object has no attribute '_sc'

2024-06-23 Thread Saurabh Kumar
Please Unsubscribe me On Mon, 24 Jun 2024 at 07:02, Azhuvath, RajeevX wrote: > Getting the error “AttributeError: 'MulticlassMetrics' object has no > attribute '_sc'” while executing the standalone attached code in a bare > metal system. > >

AttributeError: 'MulticlassMetrics' object has no attribute '_sc'

2024-06-23 Thread Azhuvath, RajeevX
Getting the error "AttributeError: 'MulticlassMetrics' object has no attribute '_sc'" while executing the standalone attached code in a bare metal system. Thanks and Regards, Rajeev from pyspark import SparkContext, SparkConf from pyspark.mllib.regre