Giter Club home page Giter Club logo

optimizationresultprocessing's Introduction

OptimizationResultProcessing

Needed a script to process results of optimization using the "Optimizer" (https://github.com/KaliLab/optimizer). Primarily for multi objective algorithms.

Developed with inspyred algos.

Made for personal use and learning mainly. It probably has many questionable parts, because I'm exploring Python's facilities.

How to use (scripted):

Put the three files in the main directory where the result directories are.

The only user input needed is the base directory in which the results are found.

The directories must contain:

			-an xml file named "_settings.xml" with the appropriate datas.
			-an "ind_file.txt" with inspyred type individual file format.
			-a "final_archive.txt" with the objectives of the final individuals / row

The program will create the following files in the separate directories of the Optimization results:

-a "sorted_stat_file.txt" with the statistics based on the order of the
	 individuals in a generation by the weighted sum of the objectives.
-a "sorted_ind_file.txt"
-a Pareto Front plot
-a generational plot of the minimums, maximums and medians of the generations

In the main directory:

-a results directory:	-"max.txt", "min.txt", "median.txt" with the max, min, median of all the runs alltogether
-a generational plot based on these aggregated statistics

Island was created for the processing of Island model type results. Not in its final form currently.

fitnes_grid_plot plots the energy surface of the Hodgkin-Huxley model component by component (additional files will be uploaded)

fitnes_grid_plot_summ plots the weighted sum of the chosen components.

The latter two will be fused into one in the future.

MOVIE

Scripts for visualizing the progress of an INSPYRED algorithm in the parameter space, using the ind_file.txt and _settings.xml.

Must be given:  -axes labels
                -in case of a test model the exact parameter combination (currently only works like that)
                -projection type 2 or 3D. Generally I made 3D possible if there are only 3 parameters. Having 2 and 3D projections in every case will result in way too many subplots.
                -the path of the aformentioned files

optimizationresultprocessing's People

Contributors

tmpoe avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.