Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions assignment 4 #12

Closed
rozniaka opened this issue Oct 31, 2019 · 5 comments
Closed

Questions assignment 4 #12

rozniaka opened this issue Oct 31, 2019 · 5 comments

Comments

@rozniaka
Copy link

rozniaka commented Oct 31, 2019

I have 2 questions for the 4th assignment:

  1. In the Intro to Numpy part there is stated: "For every problem provide examples of their usage." Does it pertain to the all the tasks from 1 to 14?

  2. Mikhail, could you clarify what is meant by "Train your perceptron and report the results." in exercise Perceptron? Are we supposed to implement the multi-label classifier from scratch? Or can we use a ready implementation, such as sklearn.linear_model.Perceptron?

@Aelphy
Copy link
Owner

Aelphy commented Oct 31, 2019

  1. Yes (that basically means that we gonna play a game: if you didn't test your solutions properly and I will find a case where it fails - I won)
  2. You are supposed to implement your classifier from scratch.

@rozniaka
Copy link
Author

rozniaka commented Oct 31, 2019

Thanks for fast reply!

  1. Is example a use case of this function, e.g. "calculation of mean per R,G,B channels" or something else?
  2. Can we use cycles in Perceptron? Were the forbidden for the whole notebook or only the Numpy part?

@Aelphy
Copy link
Owner

Aelphy commented Oct 31, 2019

  1. No, it is a particular example: np.random.random((512, 512, 3))
    and testing that your function outputs expected result
  2. You can. Only in numpy part

@rozniaka
Copy link
Author

Thanks again. I know now everything about the Numpy part.
In the perceptron part... are we supposed to predict 2 or 3 classes? Even the perceptron tutorial (link in the week 4 folder) focuses only on binary classification

@Aelphy
Copy link
Owner

Aelphy commented Oct 31, 2019

That's because two classes case is easy to visualize.
You need to separate all 3 classes.

@Aelphy Aelphy closed this as completed Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants