diff --git a/docs/Adding_Genetic_Operators.html b/docs/Adding_Genetic_Operators.html index 62b56dd..bd85d80 100644 --- a/docs/Adding_Genetic_Operators.html +++ b/docs/Adding_Genetic_Operators.html @@ -7,7 +7,7 @@
  • Go to propeller.variation.cljc
  • Define a genetic operator function
  • In propeller.variation/new-individual, add the new genetic operator in the new-individual function under the case call
  • - +
    (defn new-individual
       "Returns a new individual produced by selection and variation of
       individuals in the population."
    @@ -25,7 +25,7 @@
                      :cljs (js/Error
                              (str "No match in new-individual for " op))))))})
     
    -
      +
    1. When running a problem, specify the genetic operator in :variation. For example:
    lein run -m propeller.problems.simple-regression :variation "{:new-genetic-operator 1.0}"
    @@ -36,7 +36,7 @@
     
  • Go to propeller.selection.cljc
  • Define a genetic operator function
  • In propeller.selection.cljc, add the new genetic operator in the select-parent function under the case call.
  • - +
    (defn select-parent
       "Selects a parent from the population using the specified method."
       [pop argmap]
    @@ -46,7 +46,7 @@
         ...
         ))
     
    -
      +
    1. When running a problem, specify the selection method in :parent-selection

    For example:

    diff --git a/docs/Adding_Problem.html b/docs/Adding_Problem.html index c738a5e..87e6039 100644 --- a/docs/Adding_Problem.html +++ b/docs/Adding_Problem.html @@ -4,7 +4,7 @@

    In general, a problem file has 3 components: train-and-test-data, instructions, error-function, and -main.

    1. To add a new problem, you need training and test data. For Problem Synthesis Benchmark Problems (PSB2), you can fetch datasets using psb2.core/fetch-examples.
    2. -
    +
    (defn fetch-examples
       "Fetches and returns training and test data from a PSB2 problem.
        Returns a map of the form {:train training-examples :test testing-examples}
    @@ -23,7 +23,7 @@
       [datasets-directory problem-name n-train n-test]
     
     
    -
      +
    1. Define the possible Push instructions to be used to create plushys. It should be a non-lazy list of instructions from push/instructions
    2. Define an error function that will evaluate plushys and add :behaviors parsed-outputs, :errors, and :total-error to the individual
    3. Define the function -main with a map of default arguments.
    4. diff --git a/docs/Adding_Selection_Method.html b/docs/Adding_Selection_Method.html index 5e74540..d0c79be 100644 --- a/docs/Adding_Selection_Method.html +++ b/docs/Adding_Selection_Method.html @@ -4,14 +4,14 @@
      1. Define a selection method function in propeller.selection that selects an individual from the population
      2. Add the selection method in propeller.selection/select-parent under the case call:
      3. -
      +
       (defn select-parent
        "Selects a parent from the population using the specified method."
        [pop argmap]
        (case (:parent-selection argmap)
        :new-selection-method (new-selection-method )))
       
      -
        +
      1. When runnning a problem, specify the selection method in :parent-selection. For example:
        lein run -m propeller.problems.simple-regression :parent-selection :new-selection-method"
         
        diff --git a/docs/Experimentation.html b/docs/Experimentation.html deleted file mode 100644 index 46a726a..0000000 --- a/docs/Experimentation.html +++ /dev/null @@ -1,6 +0,0 @@ - -A Guide to Experimentation

        A Guide to Experimentation

        -

        You can use Propeller to run experiments either on

        -

        -
        \ No newline at end of file