After final exam, I decide to do something fun. I know a friend who can remember most of the capitals of countries in the world. So I decided to learn geography. And made a list of places that I wanted to go. With AI, this task took me about 5 hours; however, with the code structure available, we can expand to many other topics such as anatomy, psychology, and many more.
Read more
While working on the Kohonen Self Organizing Map, I encountered difficulties in understanding how the axis parameter in NumPy works. Initially, in a 2-dimensional scenario, we have coordinates (x, y), where x represents the width or number of rows, and y represents the height or number of columns in the matrix. However, things become more complex when we introduce another dimension.
Read more
Racket, why racket? I don’t know the main reason, but it is interesting and importantly my professor requires it for our Psychology course. I have never learned Racket before but I have a bit of experience in Erlang. In Erlang we cannot assign a value to a variable like Racket because =
operator is a pattern matching that is similar to car
and cdr
. The game is totally changed in Racket. Now we can just define whatever value
we want.
Read more
After many hours of googling, mermaid is finally run on Github Page, thanks to Jojozhuang.
Read more
Congrats to all of you that already here in Waterloo Region. Today I will summarize the process of becoming an international student in Canada. And I hope you will have a great experience here!
Read more
Dplyr
We are gonna go through filter(), arrange(), select(), mutate(), summarise(), group_by(), slice(), rename(), transmute(), sample_n(), sample_frac()
dplyr:
- first argument is a data frame
- function
- result is a new data frame
Pipe
%>%
is pronounced THEN
Read more
Have you ever found yourself feeling anxious and spending countless hours researching an electronic product? I know the feeling all too well. The emergence of new technology and marketing strategies can make it challenging to determine what we really need in a product. However, it’s important to ask ourselves, “What do I truly want from this product?” to help limit our options.
For instance, when selecting a monitor, I require a size that’s big enough to enable me to code on one side and browse the web on the other to search for solutions. Additionally, I prefer a high enough resolution that prevents me from seeing pixelation. Lastly, I prefer having HDMI ports instead of older ports such as DVI or VGA.
Read more