Scale:
Takes a complete numpy array and now use machine learning sklearn.preprocessing import StandardScaler to completely scale the data to lower dimension inorder to make the model run faster. Return the numpy array
Method Structure:
.. code-block:: python
def scale(data):
''' Your code goes here '''
return data
Parameters:
data : pandas dataframe
- Enter the dataframe directly
Usage:
.. code-block:: python
>> p = process()
>> p.scale(np.array())
>> <numpy.array>