# The Random Neural Network with a Genetic Algorithm and Deep Learning Clusters in Fintech: Smart Investment

Will Serrano

► To cite this version:

Will Serrano. The Random Neural Network with a Genetic Algorithm and Deep Learning Clusters in Fintech: Smart Investment. 14th IFIP International Conference on Artificial Intelligence Applications and Innovations (AIAI), May 2018, Rhodes, Greece. pp.297-310, 10.1007/978-3-319-92007-8_26 hal-01821045

HAL Id: hal-01821045

https://inria.hal.science/hal-01821045

Submitted on 22 Jun 2018

HAL is a multi-disciplinary open access
archive for the deposit and dissemination of sci-
entific research documents, whether they are pub-
lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.

L'archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
émanant des établissements d'enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.

<figure><img src="image_1.png" /></figure>
# The Random Neural Network with a Genetic Algorithm & Deep Learning Clusters in Fintech: Smart Investment

Will Serrano

Intelligent Systems and Networks Group

Electrical and Electronic Engineering

Imperial College London

g.serrano11@imperial.ac.uk

**Abstract.** This paper presents the Random Neural Network in a Deep Learning Cluster structure with a new learning algorithm based on the genetics according to the genome model, where information is transmitted in the combination of genes rather than the genes themselves. The proposed genetic model transmits information to future generations in the network weights rather than the neurons. The innovative genetic algorithm is implanted in a complex deep learning structure that emulates the human brain: Reinforcement Learning takes fast local current decisions, Deep Learning Clusters provide identity and memory, Deep Learning Management Clusters take final strategic decisions and finally Genetic Learning transmits the information learned to future generations. This proposed structure has been applied and validated in Fintech; a Smart Investment application: an Intelligent Banker that performs Buy and Sell decisions on several Assets with an associated market and risk. Our results are promising; we have connected the human brain and genetics with Machine Learning based on the Random Neural Network model where biology; similar as Artificial Intelligence is learning gradually and continuously while adapting to the environment.

**Keywords:** Genetic Learning, Deep Learning Clusters, Reinforcement Learning, Random Neural Network, Smart Investment; Fintech.

## 1 Introduction

Biology is gradually and continuously learning while adapting to the environment using genetic changes to generate new complex structures in organisms [1], the current structure of the organisms defines the type and level of future genetic variation that will provide a better adaption to the environment or increased reward to a goal function. Random genetic changes have more probability to be successful in organisms that change in a systematic and modular manner where the new structures acquire the same set of sub goals in different combinations; therefore they not only remember their reward evolution but also generalize goal functions to successfully
adapt future environments [2]. The adaptations learned from the living organisms affect and guide evolution even though the characteristics acquired are not transmitted to the genome [3], however, its gene functions are altered and transmitted to the new generation; this enables learning organisms to evolve much faster.

The genome is the genetic material of an organism; it consists of 23 pairs of chromosomes (1-22, X and Y) for a human cell formed of genes (approximately 21,000 in total) that code for a molecule that has a function or instruction to make proteins [4], furthermore genes are formed of base pairs (approximately 3 billion in total). The DNA is a double helix formed by the combination of only four nucleotides (cytosine [C], guanine [G], adenine [A] or thymine [T]) where each base pair consists of the combination of two nucleoids G-C and A-T. The genetic code is formed of codons, a sequence consisted of three nucleotides or three-letter words. Proteins that have similar combination of base pairs tend to have a related functionality determination of protein functions from genetic sequences [5].

Successful Machine Learning and Artificial Intelligence models have been purely based on biology emulating the structures provided by nature during the learning, adaptation and evolution when interacting with the external environment. Neural networks and deep learning are based on the brain structure which is formed of dense local clusters of same neurons performing different functions which are connected between each other with numerous very short paths and few long distance connections [6]. The brain retrieves a large amount of data obtained from the senses; analyses the material and finally selects the relevant information [7] where the cluster of neurons specialization occurs due to their adaption when learning tasks.

This paper proposes a new genetic learning algorithm on Section 3 based on the genome and evolution; where the information transmitted to new generations is learned when interacting and adapting to the environment using reinforcement and deep learning respectively. Information in the proposed genetic algorithm is transmitted in the network weights through the different combinations of four different nodes (C,G,A,T) rather than the value of nodes themselves where the output layer of nodes replicates the input layer as the genome. This innovative genetic algorithm is inserted in a complex deep learning structure that emulates the human brain on Section 4: Reinforcement Learning takes fast local current decisions, Deep Learning clusters provide identity and memory, Deep Learning Management Clusters takes final strategic decisions and finally Genetic Learning transmits the information learned to future generations. This innovative model has been applied and validated in Fintech, a Smart Investment application on Section 5; an Intelligent Banker that performs Buy and Sell decisions on several assets with an associated market and risk. The results shown on Section 6 are promising; the Intelligent Banker takes the right decisions, learns the variable asset price, makes profits on specific markets at minimum risk and finally it transmits the information learned to future generations.
## 2 Related work

Artificial Neural Networks have been applied to make financial predictions. Leshno, M. et al [8] evaluate the bankruptcy prediction capability of several neural network models based on the firm's financial reports. Chen, W. et al [9] uses Artificial Neural Networks for a financial distress prediction model. Kara, Y. et al [10] apply an Artificial Neural Network to predict the direction of Stock Market index movement. Guresen, E. [11] evaluates the effectiveness of neural network models in stock market predictions. Zhang, G. et al [12] analyse Artificial Neural Networks in bankruptcy prediction. Kohara, K. et al [13] investigate different ways to use prior knowledge and neural networks to improve multivariate prediction ability. Sheta, A. et al [14] compares Regression, Artificial Neural Networks and Support Vector Machines for predicting the S&P 500 Stock Market Price Index. Tung, T. et al [15] includes Artificial Neural Networks and Fuzzy Logic for market predictions. Pakdaman, M. et al [16] use a feedforward multilayer perceptron and an Elman recurrent Network to predict a company's stock value. Iuhasz, G. et al [17] create a hybrid system based on a multi Agent Architecture to analyse Stock Market behaviour to improve the profitability in a short or medium time period investment. Nicholas, A. et al [18] examine the use of neural networks in stock performance modelling.

Several survey papers haven been published. Bahrammirzaee, A. [19] presents a comparative survey of Artificial Intelligence Applications in Finance: Artificial Neural Networks, Expert System and hybrid intelligent systems. Coakley, J. et al [20] reviews the use of Artificial Neural Networks in Accounting and Finance including modeling issues and guidelines. Fadlalla, A et al [21] analyses the applications of Neural Networks in Finance. Huang, W. et al [22] reviews the use of neural networks in finance and economics forecasting. Li, Y. et al [23] summarize different applications or artificial intelligence technologies in several domains of business administration including finance, retail, manufacturing and management consultancy.

Machine learning has been applied to solve nonlinear models in continuous time in economics and finance by Duarte, V. [24] and forecasting the volatility of asset prices by Stefani, J. et al [25]. Deep Learning has also recently incorporated in long short term memory Neural Networks for financial market predictions by Fischer, T. et al [26] and Hasan, A. et al [27].

Genetic Algorithms have been proposed as method to increase learning. Arifovic, J. [28] analyses genetic algorithms in inflationary economies. Kim, K. et al [29] uses a genetic Algorithm to feature discretization in artificial neural networks for the prediction of stock market index. Ticona, W. et al [30] applies a hybrid model based on Genetic algorithm and Neural Networks to forecast Tax Collection. Hossain, D. et al [31] present a Genetic Algorithm based Deep Learning Method. Sremath, S. [32] and David, O. et al [33] review of the latest deep learning structures and evolutionary algorithms that can be used to train them.
# 3 The Random Neural Network Genetic Deep Learning Model

## 3.1 The Random Neural Network

The RNN [34-36] represents more closely how signals are transmitted in many biological neural networks where they travel as spikes or impulses, rather than as analogue signal levels. The RNN is a spiking recurrent stochastic model for neural networks. Its main analytical properties are the “product form” and the existence of the unique network steady state solution. The Random Neural network has been Genetics [37-46].

<figure><img src="image_2.png" /><figcaption>Fig. 1. The Random Neural Network</figcaption></figure>

## 3.2 The Random Neural Network with Multiple clusters

Deep Learning with Random Neural Networks is described by Gelenbe, E. and Yin, Y. [47-49]. This model is based on the generalized queuing networks with triggered customer movement (G-networks) where customers are either “positive” or “negative” and customers can be moved from queues or leave the network. G-Networks are introduced by Gelenbe, E. [50, 51]; an extension to this model is developed by Gelenbe, E. et al [52] where synchronised interactions of two queues could add a customer in a third queue.

<figure><img src="image_3.png" /><figcaption>Fig. 2. Clusters of Neurons</figcaption></figure>

## 3.3 Deep Learning management cluster

The Deep Learning management cluster was proposed by Serrano, W et al [53-56]. It takes management decisions based on the inputs from different Deep Learning clusters.
## 3.4 Genetic Learning Algorithm model

The proposed Genetic learning algorithm is based on the auto encoder presented by Gelenbe, E. and Yin, Y. [47-49] based on two instances of the Network shown on Figure 3, the auto encoder models the genome as it codes the replica of the organism that contains it. Network 1 is formed of U input neurons and C clusters and Network 2 has C input neurons and U clusters. The organism is represented as a set of data X which is a U vector X ∈ [0,1]U. The proposed Genetic learning algorithm fixes C to 4 neurons that represent the four different nucleoids G, C, A and T and it also fixes W1 to generate 4 different types of neurons rather than random values.

Network 1 encodes the organism, it is defined as:

* $q_1=(q_1^1, q_2^1, ..., q_u^1)$, a U-dimensional vector $q_1 \in [0,1]^U$ that represents the input state $q_u$ for neuron u;

* $W_1$ is the U x C matrix of weights $w_1$ (u,c) from the U input neurons to the neurons in each of the C clusters;

* $Q^1=(Q_1^1, Q_2^1, ..., Q_c^1)$, a C-dimensional vector $Q^1 \in [0,1]^C$ that represents state $q_c$ for the cluster c where $Q^1=\zeta(W_1X)$.

Network 2 decodes the genome, as the pseudo inverse of Network 1, it is defined as:

* $q_2=(q_1^2, q_2^2, ..., q_c^2)$, a C-dimensional vector $q_2 \in [0,1]^C$ that represents the input state $q_c$ for neuron c with the same value as $Q^1=(Q_1^1, Q_2^1, ..., Q_c^1)$;

* $W_2$ is the C x U matrix of weights $w_2$ (c,u) from the C input neurons to the neurons in each of the U cells;

* $Q^2=(q_1^2, q_2^2, ..., q_u^2)$, a U-dimensional vector $Q^2 \in [0,1]^U$ that represents the state $q_u$ for the cell u where $Q^2=\zeta(W_2Q^1)$ or $Q^2=\zeta(W_2 \zeta(XW_1))$.

<figure><img src="image_4.png" /><figcaption>Fig. 3. Genetic Learning Algorithm</figcaption></figure>

The learning algorithm is the adjustment of $W_1$ to code the organism X into the four different neurons or nucleoids and then calculate $W_2$ so that resulting decoded organism $Q_2$ is the same as the encoded organism X:

$$ \min \|X - \zeta(W_2 \zeta(XW_1))\| \quad \text{s.t. } W_1 \ge 0 $$
(1)

Following the Extreme Learning Machine on [57]; $W_2$ is calculated as:

$$W_2 = \text{pinv}(\zeta(XW_1))X$$

(2)

Where pinv is the Moore-Penrose pseudoinverse:

$$\text{pinv}(x) = (x^T x)x^T$$

## 4 Smart Investment model

The Smart Investment model, called “GoldAI Sachs”, combines there different learnings: Reinforcement Learning, Deep Learning and Genetic Learning. “GoldAI Sachs” is formed of clusters of Intelligent Bankers that take local fast local binary decisions “Buy or Sell” on a specific assets based on Reinforcement Learning through the interactions and adaptations with the environment where the Reward is the profit made. Each Asset Banker has an associated Deep Learning cluster that memorizes asset identity such as price and reward properties. Asset bankers are dynamically clustered to different properties such as investment reward, risk or market type and managed by a Market Banker Deep Learning Management Cluster that selects the best performing Asset Bankers. Finally, a CEO Banker Deep Learning Management Cluster manages the different Bankers and takes the final investment decisions based on the Market Reward and associated Risk prioritizing markets that generate more reward at a lower Risk as every banker would do. This approach enables decisions based on shared information where Intelligent Bankers work collaborative to achieve a bigger reward.

<figure><img src="image_5.png" /><figcaption>Fig. 4. “GoldAI Sachs” Smart Investment Model</figcaption></figure>
## 4.1 Asset Banker Reinforcement Learning

The Reinforcement Learning algorithm is used to take fast binary investment decisions “Buy or Sell”, it is based on Cognitive Packet Network presented by Gelenbe, E. [11-15]. The Intelligent Banker is formed of two interconnected neurons “q₀ or Buy” and “q₁ or Sell” where the investment decision is taken according to the neuron that has the maximum potential. The state q₀ and q₁ is the probability that it is excited [11-15], these quantities satisfy the following system of non linear equations:

$$ q_0 = \frac{\lambda^+(0)}{r(0)+\lambda(0)} \qquad q_1 = \frac{\lambda^+(1)}{r(1)+\lambda(1)} \qquad (3) $$

where:

$$ \begin{aligned} \lambda^+(0) &= q_1 w_{10}^+ + \Lambda_0 & \lambda^+(1) &= q_0 w_{01}^+ + \Lambda_1 \\ \lambda^-(0) &= q_1 w_{10}^- + \Lambda_0 & \lambda^-(1) &= q_0 w_{01}^- + \Lambda_1 \\ r(0) &= w_{01}^+ + w_{01}^- & r(1) &= w_{10}^+ + w_{10}^- \end{aligned} \qquad (4) $$

On the above equations, wᵢⱼ is the rate at which neuron i transmits excitation spikes to neuron j and wᵢⱼ is the rate at which neuron i transmits inhibitory spikes to neuron j in both situations when neuron i is excited. Λᵢ and λᵢ are the rates of external excitatory and inhibitory signals respectively.

<figure><img src="image_6.png" /><figcaption>Fig. 5. Asset Banker Reinforcement Learning</figcaption></figure>

The Reward R is based on the economic profit that the Asset Bankers achieve with the decisions they make, successive measured values of the R are denoted by Rᵢ, l=1,2... these are used to compute the Predicted Reward:

$$ PR_l = \alpha PR_{l-1} + (1-\alpha)R_l \qquad (5) $$

where α represents the investment reward memory.

If the observed measured Reward is greater than the associated Predicted Reward; Reinforcement Learning rewards the decision taken by increasing the network weight that point to it, otherwise; it penalises it.
# 5 Experimental results

“GoldAI Sachs” is evaluated with eight different assets to assess the adaptability and performance of our proposed Smart Investment solution for eleven days. The assets are split into the Bond Market with low risk and slow reward and the Derivative Market with high risk and fast reward. Experiments are carried with very reduced memory $\alpha$=0.1 where the Reinforcement Learning is first initialized with a Buy Decision.

<figure><img src="image_7.png" /><figcaption>Fig. 6. “GoldAI Sachs” Smart Investment Model assets</figcaption></figure>

## 5.1 Asset Banker Reinforcement Learning Validation

Table 1 represents the Profit that each Asset Banker makes when buying or selling 100 Assets for 11 days with the Maximum Profit, the number of winning decisions against the losing ones and the number of buy decisions against the sell.

<table><caption>Table 1. Asset Banker Reinforcement Learning Validation</caption><thead><tr><td>Asset</td><td>Profit</td><td>Maximum Profit</td><td>Win</td><td>Loss</td><td>Buy</td><td>Sell</td></tr></thead><tbody><tr><td>1</td><td>1000</td><td>1000</td><td>10</td><td>0</td><td>10</td><td>0</td></tr><tr><td>2</td><td>800</td><td>1000</td><td>9</td><td>1</td><td>1</td><td>9</td></tr><tr><td>3</td><td>600</td><td>600</td><td>6</td><td>0</td><td>10</td><td>0</td></tr><tr><td>4</td><td>300</td><td>500</td><td>4</td><td>1</td><td>6</td><td>4</td></tr><tr><td>5</td><td>2000</td><td>2000</td><td>8</td><td>0</td><td>4</td><td>6</td></tr></tbody></table>
<table><tr><td>6</td><td>1200</td><td>2000</td><td>6</td><td>2</td><td>4</td><td>6</td></tr><tr><td>7</td><td>1600</td><td>2000</td><td>9</td><td>1</td><td>6</td><td>4</td></tr><tr><td>8</td><td>800</td><td>2000</td><td>7</td><td>3</td><td>4</td><td>6</td></tr></table>

The Profit made in assets that start downwards such as Asset 2, Asset 4, Asset 6 and Asset 8 is worse than the upwards ones because the Asset Bankers are initialized with a buy decision. The Reinforcement Learning Algorithm adapts very quickly to variable asset prices.

## 5.2 Market Banker Deep Learning Management Cluster Validation

The profits the Market Bankers can make are shown in Table 2 and Table 3. The Market Bankers take market decisions rather than individual asset decisions from the Asset Bankers. Market Bankers invest 400 assets which is the combination of the four Asset Bankers purchasing power.

<table><caption>Table 2. Bond Market Banker Profits</caption><thead><tr><th>Day</th><th>Total Asset Banker</th><th>Bond Market</th><th>I</th><th>Maximum Asset</th><th>Maximum Market</th><th>I</th></tr></thead><tbody><tr><td>2</td><td>0</td><td>400</td><td>400.00%</td><td>200</td><td>400</td><td>100.00%</td></tr><tr><td>3</td><td>200</td><td>400</td><td>100.00%</td><td>200</td><td>400</td><td>100.00%</td></tr><tr><td>4</td><td>200</td><td>400</td><td>100.00%</td><td>200</td><td>400</td><td>100.00%</td></tr><tr><td>5</td><td>200</td><td>400</td><td>100.00%</td><td>200</td><td>400</td><td>100.00%</td></tr><tr><td>6</td><td>300</td><td>400</td><td>33.33%</td><td>300</td><td>400</td><td>33.33%</td></tr><tr><td>7</td><td>200</td><td>400</td><td>100.00%</td><td>400</td><td>400</td><td>0.00%</td></tr><tr><td>8</td><td>400</td><td>400</td><td>0.00%</td><td>400</td><td>400</td><td>0.00%</td></tr><tr><td>9</td><td>400</td><td>400</td><td>0.00%</td><td>400</td><td>400</td><td>0.00%</td></tr><tr><td>10</td><td>400</td><td>400</td><td>0.00%</td><td>400</td><td>400</td><td>0.00%</td></tr><tr><td>11</td><td>400</td><td>400</td><td>0.00%</td><td>400</td><td>400</td><td>0.00%</td></tr><tr><td>Total</td><td>2700</td><td>4000</td><td>48.15%</td><td>3100</td><td>4000</td><td>29.03%</td></tr></tbody></table>

<table><caption>Table 3. Derivative Market Banker Profits</caption><thead><tr><th>Day</th><th>Total Asset Banker</th><th>Derivative Market</th><th>I</th><th>Maximum Asset</th><th>Maximum Market</th><th>I</th></tr></thead><tbody><tr><td>2</td><td>0</td><td>800.0</td><td>400.00%</td><td>800</td><td>800.0</td><td>400.00%</td></tr><tr><td>3</td><td>1000</td><td>1200</td><td>20.00%</td><td>1000</td><td>1200</td><td>20.00%</td></tr></tbody></table>
<table><tr><td>4</td><td>1000</td><td>1200</td><td>20.00%</td><td>1000</td><td>1200</td><td>20.00%</td></tr><tr><td>5</td><td>800</td><td>800</td><td>0.00%</td><td>800</td><td>800</td><td>0.00%</td></tr><tr><td>6</td><td>400</td><td>0</td><td>-100.00%</td><td>400</td><td>0</td><td>-100.00%</td></tr><tr><td>7</td><td>-400</td><td>-800</td><td>100.00%</td><td>400</td><td>800</td><td>100.00%</td></tr><tr><td>8</td><td>0</td><td>800</td><td>800%</td><td>800</td><td>800</td><td>0.00%</td></tr><tr><td>9</td><td>1000</td><td>1200</td><td>20.00%</td><td>1000</td><td>1200</td><td>20.00%</td></tr><tr><td>10</td><td>1000</td><td>1200</td><td>20.00%</td><td>1000</td><td>1200</td><td>20.00%</td></tr><tr><td>11</td><td>800</td><td>800</td><td>0.00%</td><td>800</td><td>800</td><td>0.00%</td></tr><tr><td>Total</td><td>5600</td><td>7200</td><td>28.57%</td><td>8000</td><td>8800</td><td>10.00%</td></tr></table>

## 5.3 CEO Banker Deep Learning Management Cluster Validation

Table 4 represents the CEO Banker, “AI Morgan” profits at different Risks ratios with a total of investment of 800 assets. A risk value β=0.2 represents 640 assets in the Bond Market and 160 is the Derivative Market whereas a risk value β=0.8 is 160 assets in the Bond Market and 640 in the Derivative Market respectively.

<table><caption>Table 4. CEO Banker Profits</caption><thead><tr><th rowspan="2">Day</th><th colspan="3">Risk β= 0.2</th><th colspan="3">Risk β= 0.5</th><th colspan="3">Risk β= 0.8</th><th rowspan="2">Max Profit</th></tr><tr><th>B</th><th>D</th><th>Total</th><th>B</th><th>D</th><th>Total</th><th>B</th><th>D</th><th>Total</th></tr></thead><tbody><tr><td>2</td><td>640</td><td>320</td><td>960</td><td>400</td><td>800</td><td>1200</td><td>160</td><td>1280</td><td>1440</td><td>1440</td></tr><tr><td>3</td><td>640</td><td>480</td><td>1120</td><td>400</td><td>1200</td><td>1600</td><td>160</td><td>1920</td><td>2080</td><td>2080</td></tr><tr><td>4</td><td>640</td><td>480</td><td>1120</td><td>400</td><td>1200</td><td>1600</td><td>160</td><td>1920</td><td>2080</td><td>2080</td></tr><tr><td>5</td><td>640</td><td>320</td><td>960</td><td>400</td><td>800</td><td>2800</td><td>160</td><td>1280</td><td>1440</td><td>1440</td></tr><tr><td>6</td><td>640</td><td>0</td><td>640</td><td>400</td><td>0</td><td>400</td><td>160</td><td>0</td><td>160</td><td>640</td></tr><tr><td>7</td><td>640</td><td>-320</td><td>320</td><td>400</td><td>-800</td><td>-400</td><td>160</td><td>-1280</td><td>-1120</td><td>320</td></tr><tr><td>8</td><td>640</td><td>320</td><td>960</td><td>400</td><td>800</td><td>1200</td><td>160</td><td>1280</td><td>1440</td><td>1440</td></tr><tr><td>9</td><td>640</td><td>480</td><td>1120</td><td>400</td><td>1200</td><td>1600</td><td>160</td><td>1920</td><td>2080</td><td>2080</td></tr><tr><td>10</td><td>640</td><td>480</td><td>1120</td><td>400</td><td>1200</td><td>1600</td><td>160</td><td>1920</td><td>2080</td><td>2080</td></tr><tr><td>11</td><td>640</td><td>640</td><td>1280</td><td>400</td><td>800</td><td>1200</td><td>160</td><td>1280</td><td>1440</td><td>1440</td></tr><tr><td>Total</td><td>6400</td><td>2880</td><td>9280</td><td>4000</td><td>7200</td><td>11200</td><td>1600</td><td>11520</td><td>13120</td><td>15040</td></tr></tbody></table>
## 5.4 Genetic Algorithm Validation

The Genetic Algorithm validation for the four different Nucleoids (C,G,A,T) during the 11 different days is shown in Table 5 with the Genetic Algorithm Error.

<table><caption>Table 5. Genetic Algorithm Validation</caption><thead><tr><td>Day</td><td>Error</td><td>Nucleoid-C</td><td>Nucleoid-G</td><td>Nucleoid-A</td><td>Nucleoid-T</td></tr></thead><tbody><tr><td>2</td><td>3.05*10E-31</td><td>0.2048</td><td>0.3893</td><td>0.6295</td><td>0.9268</td></tr><tr><td>3</td><td>5.85*10E-31</td><td>0.2026</td><td>0.3861</td><td>0.6263</td><td>0.9259</td></tr><tr><td>4</td><td>6.78*10E-32</td><td>0.2025</td><td>0.3859</td><td>0.6262</td><td>0.9259</td></tr><tr><td>5</td><td>1.17*10E-31</td><td>0.2029</td><td>0.3865</td><td>0.6267</td><td>0.9260</td></tr><tr><td>6</td><td>4.44*10E-31</td><td>0.2033</td><td>0.3870</td><td>0.6272</td><td>0.9262</td></tr><tr><td>7</td><td>1.29*10E-31</td><td>0.2049</td><td>0.3894</td><td>0.6296</td><td>0.9269</td></tr><tr><td>8</td><td>3.61*10E-31</td><td>0.2031</td><td>0.3868</td><td>0.6271</td><td>0.9261</td></tr><tr><td>9</td><td>2.96*10E-31</td><td>0.2021</td><td>0.3852</td><td>0.6255</td><td>0.9257</td></tr><tr><td>10</td><td>6.90*10E-31</td><td>0.2020</td><td>0.3851</td><td>0.6254</td><td>0.9256</td></tr><tr><td>11</td><td>1.36*10E-31</td><td>0.2023</td><td>0.3856</td><td>0.6259</td><td>0.9258</td></tr></tbody></table>

## 6 Conclusions

This paper has presented a new learning Genetic Algorithm based on the Genome where the information is transmitted in the network weights rather than the neurons. The algorithm has been incremented in an Smart Investment model that simulates the human brain with reinforcement learning for fast decisions, deep learning to memorize properties to create asset identity, deep learning management clusters to make global decisions and genetic to transmit learning into future generations.

In the Smart Investor Model, “GoldAI Sachs” Asset Banker Reinforcement Learning Algorithm takes the right investment decisions; with great adaptability to asset price changes whereas Asset Banker Deep Learning provides asset properties and identity. Market Bankers success to increase the profit by selecting the best performing Asset Bankers and the CEO Banker, “AI Morgan” increases the profits considering the associated market risks, prioritizing low risk investment decision at equal profit. Genetic learning algorithm has a minimum error and it exactly codes and encodes the CEO Banker, “AI Morgan”.

Future work will validate our model in a Fintech cryptocurrency environment with real market values. In addition the relevance of memory in investment with its optimum value will be analyzed.
References

1. M. Kirschner, J. Gerhart. The Plausibility of Life Resolving Darwin's Dilemma. Yale University Press. (2005)

2. M. Parter, N. Kashtan, U. Alon. Facilitated Variation: How Evolution Learns from Past Environments To Generalize to New Environments. Department of Molecular Cell Biology, Weizmann Institute of Science.

3. G. Hinton, S. Nowlan. How learning can guide evolution. Adaptive individuals in evolving populations. (1996), 447-454.

4. M. Pellegrini, E. Marcotte, M. Thompson, D. Eisenberg, T. Yeates. Assigning protein functions by comparative genome analysis: Protein phylogenetic profiles. Proceedings of the National Academy of Sciences of the United States of America. 96, (1999), 4285-4288.

5. M. Suzuki. A framework for the DNA protein recognition code of the probe helix in transcription factors: the chemical and stereo chemical rules. 2, 4, (1994), 317–326.

6. D. Smith, E. Bullmore. Small-World Brain Networks. The Neuroscientist. 12, (2007), 512-23.

7. O. Sporns, D. Chialvo, M. Kaiser, C. Hilgetag. Organization, development and function of complex brain networks. Trends in Cognitive Sciences. 8,9, (2004), 418-425.

8. M. Leshno, Y. Spector: Neural network prediction analysis: The bankruptcy case. Neurocomputing. 10, 2, (1996), 125-147.

9. W. Chen, Y. Du. Using neural networks and data mining techniques for the financial distress prediction model. Expert Systems with Applications. 36, (2009), 4075-4086.

10. Y. Kara, M. Acar, Ö. Kaan. Predicting direction of stock price index movement using artificial neural networks and support vector machines: The sample of the Istanbul Stock Exchange. Expert Systems with Applications. 38, (2011), 5311-5319.

11. E. Guresen, Gulgun Kayakutlu, Tugrul U. Daim. Using artificial neural network models in stock market index prediction. Expert Systems with Applications 38 (2011) 10389-10397

12. G. Zhang, M. Hu, B. Patuwo, D. Indro. Artificial neural networks in bankruptcy prediction: General framework and cross-validation analysis. European Journal of Operational Research. 116, (1999), 16-32.

13. K. Kohara, T. Ishikawa, Y. Fukuhara, Y. Nakamura. Stock Price Prediction Using Prior Knowledge and Neural Networks. Intelligent Systems in Accounting, Finance and Management. 6, (1997), 11-22.

14. A. Sheta, S. Ahmed, H. Faris. A Comparison between Regression, Artificial Neural Networks and Support Vector Machines for Predicting Stock Market Index. International Journal of Advanced Research in Artificial Intelligence. 4, 7, (2015), 55-63.

15. T. Khuat, M. Le. An Application of Artificial Neural Networks and Fuzzy Logic on the Stock Price Prediction Problem. International Journal on Informatics Visualization. 1, 2 (2017), 40-49.

16. M. Naeini, H. Taremian, H. Hashemi. Stock market value prediction using neural networks. International Conference on Computer Information Systems and Industrial Management Applications. (2010), 132-136.

17. G. Iuhasz, M. Tirea, V. Negru. Neural Network Predictions of Stock Price Fluctuations. International Symposium on Symbolic and Numeric Algorithms for Scientific Computing. (2012), 505-512.

18. A. Nicholas, A. Zapranis, G. Francis. Stock performance modeling using neural networks: A comparative study with regression models. Neural Networks. 7, 2, (1994), 375-388.
19. A. Bahrammirzaee. A comparative survey of artificial intelligence applications in finance: artificial neural networks, expert system and hybrid intelligent systems. Neural Computation & Applications. 19, (2010), 1165-1195.

20. J. Coakley, C. Brown. Artificial Neural Networks in Accounting and Finance: Modeling Issues. International Journal of Intelligent Systems in Accounting, Finance & Management. (2000), 119-144.

21. A. Fadlalla, C. Lin. An Analysis of the Applications of Neural Networks in Finance. Interfaces. 31, 4, (2001), 112-122.

22. W. Huang, K. Lai, Y. Nakamori, S. Wang, L. Yu. Neural Networks in Finance and Economics Forecasting. International Journal of Information Technology and Decision Making. 6, 1, (2007), 113-140.

23. Y. Li, W. Jiang, L. Yang, T. Wu. On neural networks and learning systems for business computing. Neurocomputing. 275, (2018), 1150-1159.

24. V. Duarte. Macro, Finance, and Macro Finance: Solving Nonlinear Models in Continuous Time with Machine Learning. Massachusetts Institute of Technology, Sloan School of Management. (2017), 1-27.

25. J. Stefani, O. Caelen, D. Hattab, G. Bontempi. Machine Learning for Multi-step Ahead Forecasting of Volatility Proxies. Workshop on Mining Data for financial applications. (2017), 1-12.

26. T. Fischer, C. Krauss: Deep learning with long short-term memory networks for financial market predictions. FAU discussion Papers in Economics. 11, (2017), 1-32.

27. A. Hasan, O. Kalıpsız, S. Akyokuş. Predicting financial market in big data: Deep learning. International Conference on Computer Science and Engineering. (2017), 510-515.

28. J. Arifovic. Genetic algorithms and inflationary economies. Journal of Monetary Economics. 36, (1995), 219-243.

29. K. Kim, I. Han. Genetic algorithms approach to feature discretization in artificial neural networks for the prediction of stock price index. Expert Systems with Applications. 19, (2000), 125-132.

30. W. Ticona, K. Figueiredo, M. Vellasco. Hybrid model based on genetic algorithms and neural networks to forecast tax collection: Application using endogenous and exogenous variables. International Conference on Electronics, Electrical Engineering and Computing. (2017), 1-4.

31. D. Hossain, G. Capi. Genetic Algorithm Based Deep Learning Parameters Tuning for Robot Object Recognition and Grasping. International Scholarly and Scientific Research & Innovation. 11, 3, (2017), 629-633.

32. S. Tirumala. Implementation of Evolutionary Algorithms for Deep Architectures. Artificial Intelligence and Cognition. (2014), 164-171.

33. O. David, I. Greental. Genetic algorithms for evolving deep neural networks. ACM Genetic and Evolutionary Computation Conference. (2014), 1451-1452.

34. E. Gelenbe. Random Neural Networks with Negative and Positive Signals and Product Form Solution. Neural Computation. 1, (1989), 502-510.

35. E. Gelenbe. Learning in the Recurrent Random Neural Network. Neural Computation. 5, (1993), 154-164.

36. E. Gelenbe. G-Networks with Triggered Customer Movement. Journal of Applied Probability. 30, (1993), 742-748.

37. E. Gelenbe "A class of genetic algorithms with analytical solution", Robotics and Autonomous Systems, Volume 22, Issue 1, 10 November 1997, Pages 59-64.
38. E. Gelenbe "Steady-state solution of probabilistic gene regulatory networks", Physical Review E, 76(1), 031903 (2007), also in Virtual Journal of Biological Physics Research, September 15, 2007.

39. E. Gelenbe, P. Liu and J. Laine "Genetic algorithms for route discovery", IEEE Trans. Systems, Man and Cybernetics B, 36 (6): 1247-1254, 2006.

40. E. Gelenbe "Dealing with software viruses: a biological paradigm", Information Security Tech- nical Reports 12: 242-250, Elsevier Science, 2007.

41. E. Gelenbe "Network of interacting synthetic molecules in equilibrium", Proc. Royal Society A (Mathematical and Physical Sciences) 464:2219-2228, April 2008.

42. H. Kim and E. Gelenbe "Anomaly detection in gene expression via stochastic models of gene regulatory networks", BMC Genomics 10(Suppl 3):S26, 2009, doi: 10.1186/1471-2164-10-S3-S26

43. H. Kim and E. Gelenbe "Stochastic gene expression modeling with hill function for switch-like gene responses" IEEE/ACM Transactions on Computational Biology and Bioinformatics 9 (4): 973-979, 2012, ISSN: 1545-5963, doi: 10.1109/TCBB.2011.153.

44. H.Kim and E.Gelenbe "Reconstruction of Large-scale Gene Regulatory Networks using Bayesian Model Averaging", IEEE Transactions on NanoBioscience 11 (3): 259-265, 2012, doi: 10.1109/TNB.2012.221

45. E. Gelenbe "Natural Computation", Computer Journal 55(7): 848-851, 2012.

46. Haseong Kim, Taesung Park and Erol Gelenbe "Identifying disease candidate genes via large-scale gene network analysis' IJDMB 10(2): 175-188, 2014.

47. E. Gelenbe, Y. Yin. Deep learning with random neural networks. International Joint Conference on Neural Networks. (2016), 1633-1638.

48. Y. Yin, E. Gelenbe. Deep Learning in Multi-Layer Architectures of Dense Nuclei. CoRR abs/1609.07160, (2016), 1-10.

49. Y. Yin, E. Gelenbe. Single-cell based random neural network for deep learning. International Joint Conference on Neural Networks. (2017), 86-93.

50. E. Gelenbe: G-Networks: A Unifying Model for Neural Nets and Queueing Networks. Modelling Analysis and Simulation of Computer and Telecommunications Systems. (1993), 3-8.

51. J. Fourneau, E. Gelenbe, R. Suros. G-Networks with Multiple Class Negative and Positive Customers. Modelling Analysis and Simulation of Computer and Telecommunications Systems. (1994), 30-34.

52. E. Gelenbe, S. Timotheou. Random Neural Networks with Synchronized Interactions. Neural Computation. 20-9, (2008), 2308-2324.

53. W. Serrano, E Gelenbe. An Intelligent Internet Search Assistant Based on the Random Neural Network. Artificial Intelligence Applications and Innovations. (2016), 141-153.

54. W. Serrano. A Big Data Intelligent Search Assistant Based on the Random Neural Network. International Neural Network Society Conference on Big Data. (2016), 254-261.

55. W. Serrano, E. Gelenbe. Intelligent Search with Deep Learning Clusters. Intelligent Systems Conference. (2017), 254-267.

56. W. Serrano, E. Gelenbe. The Deep Learning Random Neural Network with a Management Cluster. International Conference on Intelligent Decision Technologies. (2017) 185-195.

57. L. Kasun, H. Zhou, G. Huang. Representational learning with extreme learning machine for big data. IEEE Intelligent Systems. 28, 6, (2013), 31-34.
<figure><img src="image_8.png" /><figcaption>Appendix: Smart Investment model - Neural Schematic</figcaption></figure>