
<SYSTEM_TASK:>
Given the following text problem statement, write Python code to implement the functionality described below in problem statement
<END_TASK>
<USER_TASK:>
Problem:
Importing the necessary libraries required for Matrix Factorization using ALS 

<ASSISTANT_TASK:>
Python Code::
import numpy as np
from pyspark.ml.recommendation import ALS

<END_TASK>
