It is working!
I have managed to get the ode running and working!
Alisa U Zemlji Chuda

⣠Chile in a Photography âŁ

PR's Tumblrdome

ellievsbear

Andulka

@theartofmadeline

#extradirty
Show & Tell
Cosmic Funnies
i don't do bad sauce passes

Origami Around
TVSTRANGERTHINGS

pixel skylines
Stranger Things
Monterey Bay Aquarium
Cosimo Galluzzi
I'd rather be in outer space đ¸
noise dept.
art blog(derogatory)


seen from Brazil

seen from Spain
seen from Malaysia

seen from Canada
seen from Slovakia
seen from United States
seen from United States
seen from United States
seen from United States
seen from United States
seen from United States
seen from United States
seen from United States
seen from United States
seen from United States

seen from Malaysia

seen from United States
seen from Canada

seen from Spain
seen from Slovakia
@aemir001
It is working!
I have managed to get the ode running and working!

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
Coding...
I have encountered a few problems when trying to use SymPy. the 1.6 version does not work so i tried to downgrade it as I found out this was the solution for many people. Unfortunately I still get this error, even though the only version of sympy on my computer is the 1.5.1
Error:
/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/sympy/core/sympify.py:456: SymPyDeprecationWarning:Â
String fallback in sympify has been deprecated since SymPy 1.6. Use
sympify(str(obj)) or sympy.core.sympify.converter or obj._sympy_
instead. See https://github.com/sympy/sympy/issues/18066 for more
info
I tried implementing the new ways they are suggesting but it did not work as expected.
Brief overview of my code
Firstly, I imported all packages that were needed and then declared the sizes of the generations, the population size, maximum depth of the tree the crossover and mutation rates, and the tournament size. I also declared the function and terminal set. I gave a target function which is the termination criteria for the population of programs when it comes to final result. Using this function I created the dataset used when calculating the fitness. I have a class which is used to create the population of programs and represent them as binary trees. This is where I perform crossover and mutation over the trees. Outside of the class I perform the fitness functions and the tournament selection.Â
Code
I have started to implement my code into eclipse. I wanted to create this version for sorting a unsorted list of integers, however my first attempt at making my code work is solving a mathematical problem x^2+x+1.Â
More research links
1. https://www.researchgate.net/publication/224242436_Learning_to_sort_by_using_evolution
2. https://gplearn.readthedocs.io/_/downloads/en/latest/pdf/
3. https://run.unl.pt/bitstream/10362/94537/1/TAA0048.pdf
4. https://www.researchgate.net/publication/250168506_Using_Genetic_Programming_to_Evolve_a_General_Purpose_Sorting_Network_for_Comparable_Data_Sets
5. I cannot find the links of a few pdf files I have downloaded onto my device.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
I have been working on my report and I have a pretty good start and plan for my future adding to this report. I have planned it and have made notes throughout the report. The researching over the topic has not stopped, I have been reading new articles, research papers and workings all the time, before any new implementation. Unfortunately, I have not noted the current research links here, because I do not want the blog to be overflowing with links. I will add some more in the next post.Â
Development 3
I still canât figure out how to make the fitness function work...
Development 2
I am now trying to implement the quick-sort algorithm into a genetic algorithm, which is more difficult that I thought. I managed to make a âpopulationâ function which creates a population the same size as the genome list size. I then started developing a fitness function which should calculate the fitness cost of each genome, however this is where I have been stuck for a while. I tried coding it in a few ways but i seem to be wrong each time. Unfortunately, I will need some time to figure this stage out. I am unhappy that this is stopping me of completing my milestone as if I could make the fitness function work then I wouldâve been able to move on to the crossover and mutation by now. I will be doing more research to find a way to make it work.Â
Development
I have managed to get the code to output a random list of five integers. I then started to implement quick-sort algorithm because it is the most efficient sorting algorithm. I had to select a pivot number which separated the data to smaller on the left and greater on the right. I created two functions which formed the quick-sort algorithm. A âpartitionâ function which takes the pivot and separates the data and a âquickSortâ function which sorts the integers. When run, the code works fine, as the output gives the random unsorted unsorted list generated by the ârandomisedListâ and then it also shows the sorted list by the quick-sort algorithm. I am happy this has worked, however now I need to implement the code into a genetic algorithm.
First steps
I have now started to try and code a genetic algorithm which takes an unsorted list of integers and sorts then using quick-sort sorting algorithm to generate a sorted version of this list of integers using Google Colab. I am trying to use the information and guides I have read and used in my research. I firstly imported all the necessary packages and then created the list which will hold the genomes. I also made a list which generated the random integers in each run.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
More research
I have found the book my supervisor recommended me and I am starting to read it. Also I did some research on wether neural networks or genetic algorithms are the better option for me to use, and I think I have decided to use genetic programming/algorithms for my project.
I will link the sources I took information from.
1. https://www.baeldung.com/cs/genetic-algorithms-vs-neural-networks - comparison between neural networks and genetic algorithms.
2. http://index-of.co.uk/Artificial-Intelligence/Genetic%20programming%20Complex%20adaptive%20systems%20-%20Koza%20J.R..pdf - the book by John Koza I was recommended to read. This is the pdf version.
Second meeting with supervisor
During this meeting me and my supervisor were discussing the research I have made and the apps I found. He advised me that the SketchAdapt app was very complex and it would be almost impossible to do it on my own for such a short period of time. I did not take that as a discouragement, because realistically speaking, it is impossible for me to complete a complex app like this one alone, because there have been 6 people working on it in a period of few years. Also they have implemented complex techniques, which I am unfamiliar with. We had a long conversation and my supervisor wanted me to do some more research in order to chose wether I want my program to be based on neural networks or genetic programming, because I was unsure. He also recommended me read a book by John R. Koza, about Genetic programming. I was told that, in order for me to see how genetic algorithms work, firstly, I need to build a code that takes an unsorted sequence of digits and outputs a sorted sequence of those digits. It would be very helpful for me to learn and I am planning on starting on it very soon after I have done enough research.
Research done
After I made some research like I was advised to, in order to be fully confident in which idea I will be undertaking and working on, I can say I have a better understanding to what is needed in order to make my program work. I also came across a similar app which uses techniques alike the ones I am planning to use, however it is more complex and it is entirely based on deep learning rather than genetic programming. The app name is SketchAdapt. There was another app I came across which is called Bayou, which also sounded very interesting as it learns from repositories like GitHub.
I will link all the webpages I have accessed, read from and took notes from during my research.
1. https://arxiv.org/pdf/1902.06349.pdf - report of SketchAdapt, how it was built, algorithms, implementations and testing.
2. https://techgrout.com/a-step-ahead-in-artificial-intelligence-sketchadapt/ - more information on SketchAdapt.
3. https://news.mit.edu/2019/toward-artificial-intelligence-that-learns-to-write-code-0614 - article about SketchAdapt.
4. http://www.primaryobjects.com/2018/09/03/creating-self-assembling-code-with-genetic-programming/ - article on how to create a self-assembling code with genetic programming (GP).
5. https://www.futurity.org/artificial-intelligence-bayou-coding-1740702/ - article about Bayou.
6.https://web.cs.ucdavis.edu/~vemuri/classes/ecs271/The%20GP%20Tutorial.htm - tutorial on genetic programming.
7. https://www.cs.utexas.edu/~bornholt/post/synthesis-explained.html - explanation to what is program synthesis.
8. https://www.sciencedirect.com/topics/medicine-and-dentistry/genetic-programming - more information on genetic programming.
9. http://www.genetic-programming.com - more research and information on genetic programming.
10. https://www.sciencedirect.com/science/article/abs/pii/S0020019002002041 - explanation to what is evolutionary computing.
11.https://www.researchgate.net/publication/220810370_Program_Construction_in_the_Context_of_Evolutionary_Computation - how to create a program in the context of evolutionary computing (EC).
12. https://analyticsindiamag.com/5-languages-to-use-for-genetic-programming/ - which programming languages are the best for genetic programming programs.
First meeting with supervisor
The first meeting has ended, we went over my proposal and I would say, the idea which was chosen, was the most complex one out of all 5 of them and I did not expect it to be âthe oneâ. However, looking over it, I do realise it is complex enough to push my limits, and expand my knowledge on topics I would have not gone over in that much detail otherwise. The project is going to be a self-coding program, or letâs call it an AI program which writes code independently, without human intervention. Basically, the user will give instructions to what he wants to be coded, and the program writes it. Easy! But not so easy! I will have to be using evolutionary computing, genetic programming, genetic algorithms, program synthesis and machine learning. My supervisor gave me the instructions to research more on the topics and have another meeting when I have done so. Im getting back to work and I will update soon.
I have been allocated a supervisor and have already arranged a meeting with him. Having a few good ideas helps me stay calm, because I know at least one of them will be good enough for me to start working on and get a first, because I do not work for less than that.Â

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
Welcome!
Welcome! This is my blog, where I will be updating and showing the progress of my work for my final year computing project. I will be sharing any difficulties I come across during the programming and how have I fixed them, that if I have managed to fix them of course. Letâs get started!