fix 03-02 ipynb#2
Open
FennexFox wants to merge 1 commit intoukairia777:mainfrom
Open
Conversation
FennexFox
commented
Dec 1, 2025
- 훈련 데이터를 개별적으로 선언하는 것과 하나의 텐서로 선언하는 것은 구현의 방식만 다를 뿐, 실제 구조와 계산은 동일합니다.
- 따라서 시드가 동일하다면 둘 중 어느 방식으로 구현하든 각 에포크마다의 가중치와 편향, 오차값은 같습니다.
- 그러나 현재 코드상 x_train 텐서의 (3,3)값이 90과 80으로 불일치하고, print문이 출력하는 값도 가중치와 가설식으로 다르며, 주어진 에포크 횟수도 다릅니다.
- 이를 일치시킴으로써 두 구현이 실제로는 동일하다는 것을 쉽게 확인할 수 있도록 합니다.
- 훈련 데이터를 개별적으로 선언하는 것과 하나의 텐서로 선언하는 것은 구현의 방식만 다를 뿐, 실제 구조와 계산은 동일합니다. - 따라서 시드가 동일하다면 둘 중 어느 방식으로 구현하든 각 에포크마다의 가중치와 편향, 오차값은 같습니다. - 그러나 현재 코드상 x_train 텐서의 (3,3)값이 90과 80으로 불일치하고, print문이 출력하는 값도 가중치와 가설식으로 다르며, 주어진 에포크 횟수도 다릅니다. - 이를 일치시킴으로써 두 구현이 실제로는 동일하다는 것을 쉽게 확인할 수 있도록 합니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.