January 2023
-
【Not late】 3 skills that AI can't take away
Feeling like the wonders of AI are going to take away my job Wait a minute to learn a different skill There is work to be done before that ・What jobs will be taken away by AI? ・What can't AI do? ・ What if you lose your job due to AI Are you worried about these things? Worried about this ・ Acquire new skills ・ Changing jobs ・ Obtaining qualifications Everyone is only concerned about these hard skills. It's hard…
-
Simple LSTM model
Epoch 1/100 83/83 [==============================] – 19s 164ms/step – loss: 0.0022 – mae: 0.0293 – acc: 3.7864e-04 Epoch 2/100 83/83 [==============================] – 14s 171ms/step – loss: 7.5855e-04 – mae: 0.0168 – acc: 3.7864e-04 Epoch 3/100 83/83 [==============================] – 15s 183ms/step – loss: 6.4637e-04 – mae: 0.0156 – acc: 3.7864e-04 Epoch 4/100 83/83 [==============================] – 15s 176ms/step – loss: 6.5974e-04 – mae: 0.0156 – acc: 3.7864e-04 Epoch 5/100 83/83 [==============================] – 15s 178ms/step – loss: 5.6503e-04 – mae: 0.0149 – acc: 3.7864e-04…
-
tensor_contraction_cuquantum
[[[[53812.16322921 47536.67919788 46969.31610105 … 49303.581212651130.78025912 50699.04587463][52461.86132487 46316.94964869 45754.99439207 … 48042.9550292849858.05759064 49399.9161135 ][53062.94169324 46876.60686311 46323.43441121 … 48638.8470875250462.71647981 49990.95768209]… [52198.23675318 46112.62220043 45564.72720465 … 47845.5604277449660.86049885 49179.83784084][52511.93986297 46359.93881913 45827.42514543 … 48112.912666349887.74522474 49497.74288834][52998.36303047 46804.74537743 46238.56459162 … 48573.3205507650380.7481082 49940.35874819]] [[50217.26949623 51898.16071222 49460.02154144 … 44440.3100794847931.02711719 48350.4105729 ][48924.19446068 50575.25789205 48198.96722111 … 43297.0210512446679.32017406 47071.7169633 ][49555.99899699 51188.25025889 48808.69806119 … 43847.600518147267.47690235 47719.54756853]… [48713.59805041 50350.03251488 48027.04418418 … 43109.8149488446488.30533648 46886.95337302][49010.86751446 50623.43626358 48253.06635549 … 43334.434307346728.4047609 47178.85682018][49473.17596117 51106.58786177 48723.60906078 … 43763.9341602747182.47428558 47615.59339817]] [[47861.31241098 47478.30890407 53111.44015512 … 51174.1166386445690.33060715 50168.77541376][46590.42577023 46275.34740516 51766.23183195 … 49856.9165175344530.11488127 48863.10635824][47203.20880861 46863.93191748 52377.23125429…
-
Mathematics of knapsack problems
Defined $I={1,2,…,N}$ is the set of goods. When the weight of each item $i in I$ is $w_i$ value and the upper limit of the total weight of $ v_i$ item is $W$, the following is called the knapsack problem. $$max ∑{i in I}v_iw_i s.t. ∑{i in I}v_iw_ile Wxin mathbb{N}(forall in I)$$ where $x_i$ represents the number of items to be placed in the knapsack. solution The problem is that if you perform a total search, you will try two…
-
Mathematics of knapsack problems
Defined $I={1,2,…,N}$ is the set of goods. When the weight of each item $i in I$ is $w_i$ value and the upper limit of the total weight of $ v_i$ item is $W$, the following is called the knapsack problem. $$max ∑{i in I}v_iw_i s.t. ∑{i in I}v_iw_ile Wxin mathbb{N}(forall in I)$$ where $x_i$ represents the number of items to be placed in the knapsack. solution The problem is that if you perform a total search, you will try two…
-
Mathematics of knapsack problems
Defined $I={1,2,…,N}$ is the set of goods. When the weight of each item $i in I$ is $w_i$ value and the upper limit of the total weight of $ v_i$ item is $W$, the following is called the knapsack problem. $$max ∑{i in I}v_iw_i s.t. ∑{i in I}v_iw_ile Wxin mathbb{N}(forall in I)$$ where $x_i$ represents the number of items to be placed in the knapsack. solution The problem is that if you perform a total search, you will try two…
-
5 ways to learn "deep learning" for free
Learn with books 1. Deep Learning (Adaptive Computation and Machine Learning series) This deep learning book is a resource for people involved in machine learning, by people involved in machine learning, to start from scratch for getting involved in machine learning. Provided by Ian Goodfellow, Yoshua Bengio, Aaron Courville What you will learn Configuration Part 1: Fundamentals of Applied Mathematics and Machine Learning Part 2: Modern Practical Deep Networks Part 3: Deep Learning Research *Linear factor model 2. Neural Networks…
-
5 ways to learn "deep learning" for free
Learn with books 1. Deep Learning (Adaptive Computation and Machine Learning series) This deep learning book is a resource for people involved in machine learning, by people involved in machine learning, to start from scratch for getting involved in machine learning. Provided by Ian Goodfellow, Yoshua Bengio, Aaron Courville What you will learn Configuration Part 1: Fundamentals of Applied Mathematics and Machine Learning Part 2: Modern Practical Deep Networks Part 3: Deep Learning Research *Linear factor model 2. Neural Networks…
-
Quantum Fourier transform (QFT) with cirq
$$QFT |x> = frac{1}{2^{n/2}} sum_{y=0}^{2^n-1} e^{2 pi iyx / 2^n} |y>$$ $|x_1>$ = -H-CR2-CR3-.. -CRn—————–$|x_2>$ = ——————H-CR2–.. ———-.. $|x_{n-1}>$ = ———————.. –H-CR2—$|x_n>$ = ————————-.. ——–H-
-
【Machine Learning】The basics of encoding mathematical formulas
Perceptron Source code Learn more about perceptrons Import. Create data. Plot. Encode the discriminating function $$y(x) = f(w^T phi (x))$$ Code the activation function $$f(a) =begin{cases}+1 (a geq 0) \-1 (a leq 0)end{cases}$$ Predict. Code parameter updates $$w^{i+1} = w^{i} + eta phi (n) t(n)$$ Learn. Least squares Source code Learn more about least squares Import. Create data. It is the law of springs. Encoding two-section sum errors $$MSE = sum_{i=1}{n} (y_i – f(x_i))^2$$ Encode the least squares (regression line)…