Skip to content

Opening book details…

About this document

Creating 2D Arrays in NumPy by tulasisorathiya123 is a document available to read on EtoBox.

In Machine Learning, a 2D array is used to represent data samples and features, with rows for samples and columns for features. A 2D array can be created in Python using the NumPy library with the np.array() function, utilizing a list of lists. Each inner list corresponds to a row, and columns represent vertical slices of the array, with each column indicating a specific feature.

Author
tulasisorathiya123
Language
EN