What is Spark-Conf, which is used in spark-mllib?

It is used to set configuration and the parameters while submitting a Spark job. These parameters include variables such as the Spark cluster’s IP address, the Spark executor’s memory and the number of cores to be used.