Inflearn brand logo image

Inflearn Community Q&A

chlwndnjs139880's profile image
chlwndnjs139880

asked

Introduction to Machine Learning from Scratch

Linear regression implementation wtih Numpy

Chapter 7_Linear regression implementation with Numpy 질문드립니다.

Written on

·

151

0

안녕하세요!

좋은 강의 너무 잘 듣고 있습니다. 강의를 듣던 도중 이해가 안되는 부분이 있어 이렇게 질문으로 남깁니다.

강의 3분38초 쯤 w를 random하게 만드는 부분이 있습니다. 교수님이 의도하신 w의 shape은 (2,1) 2-dim의 형태이지만, code를 실제로 돌려보면 1-dim인 w가 생성이 됩니다.

그리고 y_predict를 만들 때 X벡터와 w를 dot해주는데 shape이 맞지 않는데 어떻게 계산될 수 있는지 궁금합니다.

머신러닝 배워볼래요?

Answer

This question is waiting for answers
Be the first to answer!
chlwndnjs139880's profile image
chlwndnjs139880

asked

Ask a question