Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

[ 4 pt ] In the following script, which of the options below is most likely to be the value of rand _ array? import

[4pt] In the following script, which of the options below is most likely to be the value of rand_array?
import numpy as np
rand_array = np.random.random((2,4))
Author: MK, Editor(s): JFM
Question 1Answer
a.
2.34567022
cross out
b.
0.28732152
cross out
c.
array([[0.26872087,0.70445403,0.09523427,0.01711598],[0.95562945,0.52853206,0.12578848,0.69554842]])
cross out
d.
array([[0.00000000,0.00000000,0.00000000,0.00000000],[1.10000000,0.00000000,0.00000000,0.00000000]])
cross out
e.
rand.value()

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions