20240921 Torch Basics

Do you know how to concat two tensors in pytorch? Do you know how to get the maximum element of 2D-tensor with respect to column dimension? One day, I realized that I am relying on web search or AI service like chatGTP. What if somebody asks me to write AI code? Can I write it by myself? So I asked Claude to generate a AI problem to solve and I found that solving the problem was very helpful for me because it reminds me of useful functions and their usages....

September 21, 2024 · 7 min · 1327 words · Me

Write code with Copliot and ChatGPT

Introduction Recently, I signed up for a learning platform offered by my company. There were quite a variety of courses, and among them, the one that caught my eye was the course on utilizing ChatGPT and Copilot. I’ve been using ChatGPT for work and personal projects since last year, but I’ve never seriously considered Prompt Engineering like others, and because Copilot was paid, I only used a free VS code extension called Codi....

June 30, 2024 · 6 min · 1144 words · Me

Building my RL muscle

One of my goals in this year is to submit AI conference paper. (NOTE that it is not about getting accepted.) Personally, I am pretty interested in reinforcement learning (RL) even though it takes so much math background, which I do not have for now. While I am reading many RL papers to find research topics to write, I am writing RL codes at the same time. Of course there are tons of code out there I can simply copy and paste to do experiment about well-known environments such as MuJoCo....

March 17, 2024 · 3 min · 551 words · Me

Bayesian Statistics

Bayesian 개념이 나오면 Bayes’ Rule에 대해서만 알고 그 근본적인 개념에 대해 계속 헷갈리게 되서 이번 기회에 한번 정리해 보기로 한다. 베이스주의 (Bayesian) 그리고 빈도주의 (Frequentist) Wikipedia에서 정리한 Bayesian statistics의 정의에 대해서 알아보자. Bayesian statistics is a theory in the field of statistics based on the Bayesian interpretation of probability where probability expresses a degree of belief in an event. The degree of belief may be based on prior knowledge about the event, such as the results of previous experiments, or on personal beliefs about the event....

May 1, 2023 · 4 min · 707 words · Me

Hugo + github page 셋업 하기

개인 개발 블로그를 세팅 해야지 해야지 하면서 너무 뒤로만 미뤄뒀다가 굉장히 멋져보이는 블로그(Lilian Wang 블로그)를 발견해서 벤치마크하기로 했다. Hugo라는 개인 블로그 프레임워크(?)와 github page 조합으로 블로그를 시작하려할 때 최소한의 스텝으로 어떻게 시작하는지 알아보자. (참고로 Mac 환경을 기준으로 설명하는 것이다.) 설치 방법 1. Hugo 설치하기 brew install hugo 2. Hugo를 통해 웹사이트 만들기 hugo new site qelloman-github-io 위와 같은 명령어를 이용하면 qelloman-github-io라는 디렉토리가 생길 것이고, 여기서 웹사이트의 세팅이나 새로운 포스트를 만들 수 있다....

April 29, 2023 · 5 min · 853 words · Me