Comments (2)
수업시간에 받았던 질문 입니다.
x_data = xy[ : , 1:-1] <- 배추가격 문제에서
- 여기서 " , " 가 왜 있는 건가요?
- 그리고 [ 1 : -1 ] 이 의미하는 의미가 뭔가요?
1번의 답변
[ 행(rows) , 열(columns)]을 의미합니다.
2번의 답변
저 표현은 python의 Slicing 개념입니다.
배추가격의 데이터는 [2922 rows x 6 columns]로 이루어져 있습니다. (2922행 6열)
그중 [ : , 1:-1 ] 이면
[모든행 , 열중 처음 두열과 마지막 한열을 제외]
에 해당하는 데이터를 사용하겠다는 의미입니다.
W = tf.Variable(tf.random_normal([2, 1]), name="weight") <- 실습코드중
- tf.random_normal([2, 1]) ] 여기서 [2, 1]이 의미가 뭔가요??
[ a , b , c ...] -> " , "가 하나씩 늘어나면서 공간이(차원) 하나씩 늘어난다고 생각하시면 편할 것 같습니다.
[ 2 , 1 ] 에기서 1은 하나의 요소로 이루어진 벡터이고 2는 요소가 1개인 벡터가 2개로 이루어진 행렬이 됩니다. 그렇다면 [2, 2 ,1 ]이면 어떻게 될까요?
요소가 1개인 벡터가 2개인 행렬이 2개로 나타날 것입니다.
저의 기억에 남았던 질문들만 정리해서 올렸습니다.
from 2019.spring.ai.
@ALL 실습관련 기타 질문은 이쪽으로 코멘트 부탁드립니다.
from 2019.spring.ai.
Related Issues (20)
- [공지] 텀프로젝트 발표 자료 양식 첨부
- [공지] 6월 13일 수업 공지
- [공지] 다음주 구두 시험 관련
- [공유] 추천 동영상
- [공지] 구두시험 장소 공지
- [공지] 텀프로젝트 결과물 제출 장소
- [공유] NVidia AI Conference @코엑스 (7/1-7/2)
- [공지] 인공지능 수업 Repo. 이전
- [공지] 외부심사위원 리스트
- [공지] 텀프로젝 발표 시간 (선착순) HOT 9
- [나눔] NVidia AI Conference @코엑스 (7/2)
- [공지] 학생/외부심사위원 평가표 공개 HOT 1
- [공지] 텀프로젝트 Repository를 Sejong AI Research 에 transfer 하는 방법 HOT 2
- [공지] 모든 repository 제출 완료
- [공지] 논문과 발표자료 인쇄 후 외부심사위원들에게 배포 예정 ( 오후12시 출력)
- [공지] 논문 및 repo 수정 가능
- [공지] 텀 프로젝트 발표 장소 공지 (B116)
- [공지] 논문 별도 인쇄 없음
- [공지] B116 세팅 완료
- [공지] 성적 발송
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 2019.spring.ai.