Skip to content

Scale function to ordinal scale the dataset which is an numpy array #7

@BastinRobin

Description

@BastinRobin

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>

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions