1/8
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
no.random.rand(n)?
Creates n random floats in:
[0,1)
np.random.normal(mean,std, size)?
Random values from a normal distribution
Using;
Mean
Standard deviation
Number/size of values
no.random.randint(low, high, size)?
Random integers in:
[low,high)
LOW ✅
HIGH 🛑
NumPy element-wise operation?
Np.array([1,2,3]) *2
[2 4 6]
What happens when same-shaped NumPy arrays are added?
Added element-by-element
What does np.mean(arr) calculate?
Mean of all elements
axis=0?
COLUMNS
axis=1?
ROWS
What does np.median(arr) calculate?
The median