Search found 4 matches

by Rodri
Thu Jun 18, 2020 11:36 am
Forum: Deep Learning Prerequisites: The Numpy Stack in Python
Topic: Matplotlib exercise
Replies: 3
Views: 256

Re: Matplotlib exercise

Thank you for the answer, finally I did another aproximation similar to your answer: import matplotlib.pyplot as plt import numpy as np quantity = 1500 def XOR(x): xorResult = np.zeros(x.shape[0]) for i in range(0,x.shape[0]): x1 = x[i,0] x2 = x[i,1] if x1 > 0 and x2 >= 0: xorResult[i] = 0 elif x1 >...
by Rodri
Tue Jun 16, 2020 11:27 am
Forum: Deep Learning Prerequisites: The Numpy Stack in Python
Topic: Matplotlib exercise
Replies: 3
Views: 256

Matplotlib exercise

I have made the Matplotlib exercise, but not sure if I found the correct solution. the solution can be summarized in the next steps: -Creating 2 dimensional random array with .randn under 0.5 maximum margin each -Divide the distribution points into 4 groups, and move each distribution center to corr...
by Rodri
Tue Jun 16, 2020 10:43 am
Forum: General Discussion
Topic: Can not post in numpy forum
Replies: 0
Views: 210

Can not post in numpy forum

As I mentioned in the subject, I cannot submit a post in numpy forum.
When I try to post something, after press submit button, a screen appears with the following text:

Information
The requested page could not be found.


Any idea of why it is happening?
Thanks!
by Rodri
Tue Jun 16, 2020 10:06 am
Forum: General Discussion
Topic: Numpy exercise
Replies: 0
Views: 205

Numpy exercise

Hi to all! I would like to share my results of Numpy exercise. I have used a similar method used in numpy lecture, but using "time.perf_counter()" instead of "datetime.now()", why? because I did not find any difference and I usually use that. The code is shown as follows: import numpy as np import t...

Go to advanced search