전체 글 110

[기본] 참조(얕은 복사)

Class Class A{ public B b; } Class B{ public int c; } Class Main{ public main(){ B b = new B(); // B를 메모리에 할당 -> heap의 MB공간을 차지한다고 가정 A a = new A(); // A를 메모리에 할당 -> heap의 MA공간을 차지한다고 가정 a.b = b; // A의 b는 MB를 참조함 } }예제 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(strin..

Language/C# 2022.09.20

[C#문법] Dictionary

초기화 Dictionary dic = new Dictionary(); Dictionary dic = new Dictionary(){{key,value},{key,value}} 값할당 dic[key] = value dic.Add(key,value) foreach foreach(dtype key in dic.Keys){} foreach(dtype value in dic.value){} foreach(KeyValuePair kvp in dic){ Debug.log(kvp.Key); Debug.log(kvp.Value); } 복사 생성자 인수에 복사하고 싶은 오브젝트 지정 var dic2 = new Dictionary(dic); 기능 bool dic.Remove(key) 해당 key,value쌍 제거 dic.R..

Language/C# 2022.08.31

[Lab seminar] The graph neural network

논문원본 Franco Scarselli Marco Gori; Ah Chung Tsoi; Markus Hagenbuchner Gabriele Monfardini Introduction graph : 노드와 간선을 모아놓은 자료 구조로, 객체와 객체간의 연결 관계를 표현 할 수 있음 머신러닝에서, graph의 node를 실차원의 vector(target)로 mapping 시키는 함수를 학습시키는 것 graph응용의 종류 Graph focused 그래프 전체를 보는 응용 ex) 화학 화합물 Node focused 그래프의 노드 하나하나를 중요시 보는 응용 ex) image object detection 이전의 machine learning에서 그래프의 사용 그래프의 node정보를 벡터로 변환한 후에 사용함 -..

[Markdown] 수식 문법 리스트

분수$ \frac{a}{b}$ $\frac{a}{b}$ 적분기호 $\int_{a}^{b}{c}$ $\int_{a}^{b}{c}$ 합기호 $\sum_{a}^{b}{c}$ $\sum_{a}^{b}{c}$ 위로 묶기 $\overbrace{abc}^{123}$ $\overbrace{abc}^{123}$ 삼각형 이퀄 $\triangleq$ $\triangleq$ 물결이퀄 $\approx$ $\approx$ 오른쪽 화살표 $\rightarrow$ $\rightarrow$ 왼쪽 화살표 $\leftarrow$ $\leftarrow$ mathcal typo $\mathcal{ABCD}$ $\mathcal{ABCD}$ 집합 typo $\mathbb{ABCD}$ $\mathbb{ABCD} 원소 기호 $\in \ni$ $\i..

Markdown 2022.08.09