I have studied linear algebra, probability, and calculus twice. But I don’t understand how can I reach the level that I can read any AI paper and understand mathematical notation in it. What is your strategy when you see the mathematical expression that you can’t understand? For example, in Wasserstein GAN article, there are many […]

# Tag: ‘Probability’

I’ve managed to create a random undirected weighted graph for testing with Dijkstra’s algorithm, but how can I make it so each node has at least one edge that connects them to the graph? I’m using Networkx and my graph generator is as follows: import networkx as nx import random random.seed() nodes = random.randint(5,10) seed […]

I’m quite new to C# and I am trying to convert a code that I found from the blog below. https://www.died.tw/2019/01/c-yolo3-with-opencvsharp4.html The original code takes an image and does the detection on it. What I intended to do is to run a webcam and run the detection simultaneously. I managed to have the webcam running […]

I am trying to code out a policy evaluation algorithm to find the $V^\pi(s)$ for all states. The following diagram below shows the MDP. In this case i let p = q = 0.5. the rewards for each states are independent of action. I.e $r(\sigma_0)$ = $r(\sigma_2)$ = 0,$r(\sigma_1)$ = 1, $r(\sigma_3)$ = 10. Terminal […]

I’m attempting to plot out sample size for my line plots and while the bars are plotting, they’re not plotting at the appropriate place in the x-axis. attacks = 5 idealdata = fullMatrix(attacks, .5) actualdata = trueDataM(attacks, ‘crit_50’) fig, axs = plt.subplots(attacks+1, sharex=True, sharey=True) axs2 = [ax.twinx() for ax in axs] fig.text(0.5, 0.04, ‘State’, ha=’center’) […]