stoltzmaniac / Basic-ML-OOP

0 stars 3 forks source link

demonstrated how to set default to function #6

Closed GregHilston closed 4 years ago

GregHilston commented 4 years ago

This should demonstrate how you can put a default value in a constructor. In summary:

What I ran on my end to prove it worked:

pre_process_data = PreProcessData(
    np.array([[0., 1., 2.], [4., 5., 6.]]),
    np.array([1., 2.]),
    0.8,
    "normalize"
)