Use `LocalSparkContext` to avoid dealing with `sc` setup directly. There is one in MLlib.