# Documentation

Total views
2,595,103

Viewing posts for the category Omarine User's Manual

## I Ching Algorithm: Nine Stars of the Month, Nine Stars of the Hour

This article considers the Nine Stars of the Month and the Nine Stars of the Hour. As for the Day, the determination of the Nine Stars is relatively complicated and the calculation that has been handed down so far is wrong, so we will build the Nine Stars of the Day in a separate article.

24 weather periods
The Sun moves in the Zodiac exactly one round is a 365.25-day weather year. Divide the zodiac circle 360 ​​degrees into 12 arcs, each of them 30 degrees. The start time of each arc with one weather period, is counted as the beginning of a weather month.
In the middle of each arc, that is, between each month, is one middle period.
Total 24 periods, we have the following table:

## I Ching Algorithm: How to study, apply and develop the I Ching?

There's a little story. Eight Lake Feng Shui was mistaken when assigning Flying Sector with a hexagram. Flying Sector, Flying Star, Destiny Sector or Birth Sector are different names of the Nine Stars according to each person's year of birth.
Considering a man born in the year of the Geng-Horse in 1990, looking up the table of Jia-Rat Round With Three Epochs, the Nine Stars is White One. Feng Shui has assigned this Flying Sector with the hexagram Water, creating a contradiction with the Nine Stars. In the picture below, on the left is the Nine Stars. The whole is Water qi. For White One's destiny, of course, the best direction is North because White Six - Metal Star both mutual interacts with the Heaven Center and generates the earth's qi, which is enhanced by the Heaven Center. But on the right, because of self-assignment of the Water hexagram, Eight Lake Feng Shui thinks that the North is "Return", which is the least good direction. Similarly, the Southwest direction of the Red Seven  - Metal Star is completely mutual and cannot be "Death" as the conclusion of Eight Lake Feng Shui

## I Ching Algorithm: The Luo River Diagram and the forecast of Three Epochs - Nine Fortunes

When it comes to the Eight Trigrams, it is impossible not to mention The Luo River Diagram
We know that the Eight Trigrams defines 8 directions in space. That is geospatial, static space. But the universe is in constant motion, so the qi fields of the universe affecting life on the ground are always changing. The calendar method with astronomical survey results shows that the qi field changes of the universe are cyclical and follow the laws of motion of 9 stars on the table. 9 stars correspond to 9 numbers of The Luo River Diagram (abbreviated as Luoshu) and the stars "fly" on the table according to the law of moving numbers, in two directions of ups and downs. The changing numbers form the basis of the spatial variation of the qi fields of the universe. From there, the Nine Stars Destiny was born.
In this article we use modern science to further strengthen the theory of Nine Stars Destiny.
While the Eight Trigrams is made up of 8 binary numbers, Luoshu consists of 9 decimal numbers. Luoshu numbers moves starts from the center, with the number 5 first. In the ascending direction, 5 to 6, 6 to 7, 7 to 8, 8 to 9, 9 into 1, 1 to 2, 2 to 3, 3 to 4, 4 to 5. Then start again from the center, 6 to 7, 7 to 8, …, etc. In the descending direction, 5 to 4, 4 to 3, 3 to 2, 2 to 1, 1 into 9, 9 to 8, 8 to 7, 7 to 6, 6 to 5. Then start again from the center, 4 to 3, 3 to 2, …, etc. The increase (or decrease) of Luoshu numbers goes through 9 steps back to their original form. Each step a Luoshu number (or Nine Stars number) located in the center of the table representing one of the 9 qi fields in heaven and earth that govern the whole of human life.

The calendar-makers of the Song dynasty, China calculated the year Sui King ascended the throne, ie 604, the year of the planet Metal, Wood, Water, Fire, Earth and the Moon, the Sun being on the same line with the Earth called Seven Stars Meeting. This time is considered to be the beginning of the Stems-and-Branches era, i.e. the year of the Jia-Rat, the month of the Jia-Rat, the day of the Jia-Rat, and is the timeline of a 180-year weather cycle. It took 180 years to see Seven Stars Meeting again and the weather returned to the way it was.
A Jia-Rat round is 60 years, so 180 years includes 3 Jia-Rat rounds, called a Three Epochs consisting of three Epochs. The first Epoch or first Jia-Rat round is Upper Epoch. The second round is Middle Epoch. The third round is Lower Epoch. Every 60 years is a Great Fortune, and it is divided into three Little Fortunes, 20 years each, known as Fortune for short. Upper Epoch includes Fortune 1, Fortune 2, and  Fortune 3. Middle Epoch includes Fortune 4, Fortune 5, and Fortune 6. Lower Epoch includes Fortune 7, Fortune 8, Fortune 9. Nine Fortunes fits nine numbers of The Luo River Diagram, nine stars and nine qi fields. The Fortunes are taken by name corresponding to the numbers of Luoshu. Fortune 1 is White One. Fortune 2 is Black Two. Fortune 3 is Blue Three. Fortune 4 is the Green Four. Fortune 5 is Yellow Five. Fortune 6 is White Six. Fortune 7 is Red Seven. Fortune 8 is White Eight. Fortune 9 is Burgundy Nine.

Why 9 numbers?
Under historical factors, there was no zero in The Luo River Diagram's time. The ancients could only represent numbers by black and white dots. Below is The Luo River Diagram chart

## I Ching Algorithm: Teaching the Machine Learning Feng Shui

We used to talk about the Tao, finding the way to the optimal solution, so what is the Tao?
Tao is the universal law of the growth of all things, the way of evolution of all species in heaven and earth. Tao is the morality of social justice, the equal right to the development opportunities of all individuals and a prerequisite for making the most of social resources to ensure optimal development efficiency. The Tao indicates which male and female couples are age match to have the potential to produce children useful to society. Breeding, as well as other activities in general, must seek good and avoid evil. Tao also tells which direction in space is suitable for each individual, ie Feng Shui…, etc.
Tao includes what we already know and what we don't know. The laws of thousands of generations, although very precious, are not enough. Finding new rules by reasoning is beyond human ability. For the universe, only the small universe in the human brain is qualified to discover its laws. Even we ourselves do not understand how our own brains perceive. That's why sometimes we have a flash of wisdom in our heads and other times not. Representatives of the brain are artificial intelligence programs that add rules to solve problems.
But first we have to teach Machine Learning the initial premises. Creating equal opportunities for individuals to grow can be easily accomplished by initializing populations using a uniform probability distribution. In this lesson we teach Machine Learning the Feng Shui

EIGHT TRIGRAMS AND FENG SHUI

## I Ching Algorithm: Outstanding advantages of Hexagram Model compared to Diagram Theory

The Genetic Algorithm used to be a pretty good algorithm because it maintained a population of solutions. Therefore, it significantly overcomes the local minima in the optimization problem compared to other methods, typically the hill climbing method. But that advantage of Genetic Algorithm can only be used for simple problems.
Today's life is as complicated as the COVID-19 pandemic shows. Now, looking at it from a broader perspective, Genetic Algorithms have one drawback, which is a big one.
The crucial disadvantage of Genetic Algorithm is that it derives from a purely technical solution. That is, its operating principle is Diagram Theory. Technical problems can never touch real life. Although a diagram covers a fairly large space of solutions and is much more powerful than the point-by-point search of the hill-climbing method, in turn, it becomes the local diagram for complex problems and Genetic algorithms cannot converge to global optimality.
I Ching Algorithm does not limit the problem to any technical areas, its principle is to find the Tao or path to the optimal solution. This is the basic thing. As we see in The hexagram space theorem, all data is compressed into hexagram data. In the opposite direction, the hexagram data is decoded back to the problem data whose union covers the entire space.

I/ DIAGRAM THEORY
A diagram of length m is a sequence representing m-bit binary sequences whose bits are the same as the fixed bits of the diagram. The other bits whose positions correspond to the * character in the diagram can be any bit 0 or bit 1.
Example diagram with length m = 10 below
`10010110*0`
will match 2 sequences
1001011000 and 1001011010
If each binary sequence is considered a valid solution in the problem space, then a diagram is a set of solutions. The idea is that the less cardinality the diagram has, the more compact the space is.
1) Degree of the diagram
The degree of the diagram S, denoted o(S), is the number of fixed bits in the diagram. For example
`S1 = *****1*1*0`
`S2 = 1**0*1*01*`
`S3 = 001001*1*0`
We have
o(S1) = 3
o(S2) = 5
o(S3) = 8
Thus, diagram S3 has the highest degree, its space is considered the most compact.
Unfortunately, the higher the degree of the diagram, the more vulnerable it is to mutations. When a fixed bit is mutated, the diagram is no longer what it is, it is broken.
2) Specified length of the diagram
The specified length of a diagram S, denoted δ(S), is the distance between two fixed positions at the beginning and at the end. We have
(S1) = 10 – 6 = 4
(S2) = 9 – 1 = 8
(S3) = 10 – 1 = 9
The larger a diagram of a specified length, the easier it is to be cut out, i.e. broken by hybridization.
3) Diagram theorem
Short, low-degree, above-average diagrams receive a exponentially increasing number of sequences in successive generations of the genetic algorithm.
This is only possible at an early stage in evolution, when the diagrams are beginning to form and the average fitness of the population is low. When approaching the optimal point, long, high-degree diagrams are very vulnerable. Furthermore, the diagram is unlikely to have above-average fitness because it has become "conservative" while novel elements are often more adaptive.
Above all, the foregoing is not yet the biggest weakness of Diagram Theory.

II/ CRITICAL DISADVANTAGE OF DIAGRAM THEORY AND WHY HEXAGRAM MODEL?
To illustrate, we use the simplest possible problem: Find the maximum of the function y with x in the interval [0, 4194303] as shown in the graph below

### Top Posts & Pages

• ###### SELinux: kernel: The steps for security checking a program before it runs and the corresponding security rules (12,628 hits)

Contact: tuyen@omarine.org