ha fucntions

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

12 Terms

1
New cards

np.array()

used to create an array (grid of values) from data provided as lists, tuples, etc

2
New cards

np.arrange()

generates an array with evenly spaced values within a given range

3
New cards

np.exp()

calculates the exponential of all elements in an input array, specifically it computes the base-e exponential function

4
New cards

np.sqrt()

returns the non negative square root of an element-wise input array; operates on each element & computes the square root

5
New cards

ackley function

commonly used as a benchmark problem in optimization & known for its many local minima

6
New cards

np.random.rand()

generates random floating point numbers from a uniform distribution between 0 and 1

7
New cards

np.random.standard.normal()

generates random floating point numbers from a standard normal distribution, with a mean of 0 and a standard deviation of 1

8
New cards

np.random.uniform()

generates random floating point numbers drawn from a uniform distribution over a specified range

9
New cards

np.random.randint()

used to generate random integers within a specified range

10
New cards

np.argsort()

returns the indices that would sort an array along a specified axis

11
New cards

np.argmax

returns the index of the max values in an array along a specified axis

12
New cards

time.time()

returns the current time in seconds since jan 1, 1970