Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version #338

Merged
merged 872 commits into from
Jun 23, 2017
Merged

New version #338

merged 872 commits into from
Jun 23, 2017

Conversation

KristenManning
Copy link
Contributor

No description provided.

jdcpni and others added 30 commits May 29, 2017 14:37
…st Script

  - control_signal -> control_signal_params

• State
  - _instantiate_projection_to_state:  updated to accomodate GatingProjection
  - CombinationFunction:
      added support for mulitplicative_param and additive_param
  - Reduce:
      added scale and offset params
      added mulitplicative_param and additive_param

  - LinearCombination:
      added mulitplicative_param and additive_param
  - CombinationFunction:
      added support for mulitplicative_param and additive_param
  - Reduce:
      added scale and offset params
      added mulitplicative_param and additive_param

  - LinearCombination:
      added mulitplicative_param and additive_param
  - _parse_gating_signal_spec moved from GatingMechanism to GatingSignal
• GatingSignal, GatingMechanism, ControlSignal, ControlMechanism
  - docstring updates
…ator-functions

adding rate array/list tests back in now that rate bug is fixed
# Conflicts:
#	PsyNeuLink/Components/Mechanisms/AdaptiveMechanisms/ControlMechanisms/ControlMechanism.py
#	TODO List.py
  - added modulation attribute

• GatingSignal
  - set default value of modulation attribute to owner's value
  - control_signal -> control_signal_params
  modulatory_signal_params -> gating_signal_params
  - _instantiate_projection() updated
  - added modulation argument/attribute
  - afferents -> afferents + mod_afferents
- crashing in DDM Test script
jdcpni and others added 28 commits June 15, 2017 16:30
• Multilayer Learning Test Script [WITH GATING]
  - reverted matrix assignment to Middle_Weights to standard one
* • Multilayer Learning Test Script [WITH GATING]
  - added cases for multiple GatingProjections per GatingSignal

* • Gating Signal
  - _parse_gating_signal_spec():  allow NAME entry of GatingSignal specification dictionary
       to override use of key as name of GatingSignal
       (examples in Multilayer Learning Test Script [WITH GATING])
* • Project
  - TransmssiveProjection* -> PathwayProjection*

* • Project
  - TransmssiveProjection* -> PathwayProjection*
  - trans_projections -> pathway_projections

* • Project
  - TransmssiveProjection* -> PathwayProjection*
  - trans_projections -> pathway_projections

* • Project
  - TransmssiveProjection* -> PathwayProjection*
  - trans_projections -> pathway_projections

• ModulatoryProjection
  docstring

* • Project
  - TransmssiveProjection* -> PathwayProjection*
  - trans_projections -> pathway_projections

• ModulatoryProjection
  docstring

• State
  docstring

* • LearningMechanism
  - docstring

* • LearningMechanism
  - implemented self.learned_projections property

* • LearningMechanism
  - fixed learning_signals to store LearningSignal outputStates rather than LearningProjections
  WORKING ON:
  - move ERROR_SIGNAL to first (i.e., primary) output_state and mention in docstring,
      and append learning_signals as subsequent items
  - remove reference in docstring to LEARNING_SIGNAL as name of solo LearningSignal
  - fix naming of LearningSignals to reference name of MappingProjection, not just its matrix

* • LearningMechanism
  - fixed learning_signals to store LearningSignal outputStates rather than LearningProjections
  - moved ERROR_SIGNAL to first (i.e., primary) output_state and mention in docstring,
      and append learning_signals as subsequent items
  WORKING ON:
  - remove reference in docstring to LEARNING_SIGNAL as name of solo LearningSignal
  - fix naming of LearningSignals to reference name of MappingProjection, not just its matrix

* • LearningMechanism
  - fixed learning_signals to store LearningSignal outputStates rather than LearningProjections
  - moved ERROR_SIGNAL to first (i.e., primary) output_state and mention in docstring,
      and append learning_signals as subsequent items
  WORKING ON:
  - remove reference in docstring to LEARNING_SIGNAL as name of solo LearningSignal
  - fix naming of LearningSignals to reference name of MappingProjection, not just its matrix

* -

* -

* -

* -

* • Moved all modulatory outputStates (LearningSignal, ControlSignal and GatingSignal)
  under ModulatoryOutputStates

* • ModulatoryOutputStates -> ModulatorySignals

* • ModulatorySignal
  - implemented
  - docstring

• rst files;  added:
  ModulatoryProjection
  ModulatorySignal,
  LearningSignal,
  ControlSignal,
  GatingSignal

* • ModulatorySignal
  - implemented
  - docstring

• rst files;  added:
  ModulatoryProjection
  ModulatorySignal,
  LearningSignal,
  ControlSignal,
  GatingSignal

* • ControlSignal
  - __init__(): deleted self.reference_value = reference_value

* • ModulatorySignals
  - moved modulation to ModulatorySignal.__init__()

* • ModulatorySignals
  - moved default assignment of _modulation to owner to ModulatorySignals

* -

* • ControlMechanism
  - subclassed to AdapativeMechanism_Base

* • ControlMechanism
  - subclassed to AdapativeMechanism_Base

* • State
  - update(): implemented handling of Modulation.OVERRIDE and Modulation.DISABLE

* • State
  - docstring

* • Project
  - afferents -> path_afferents

* -

* reorder tested (test_reinforcement.py) output states for learning mechanism in accordance with branch changes

* •

* •

* • ModulatorySignals
  implemented deferred_init on ModulatorySignal and all subclasses

* • ModulatorySignals
  - implemented deferred_init on ModulatorySignal and subclasses

• ControlSignal
  - specify ControlSignal in tuple

* • ModulatorySignals
  - implemented deferred_init on ModulatorySignal and subclasses

• ControlSignal
  - specify ControlSignal in tuple

* • ModulatorySignals
  - docstrings

* -

* • ControlMechanism
  - _take_over_as_default_controller -> _assign_as_controller

* • ScratchPad
  - testing examples of ControlSignal specifications

* • ScratchPad
  - examples under TEST Modulation now all work

* -
…ut to a mechanism that is executed outside of a process/system goes]
…g process hack, updating some caught errors, and indexing into zeroth element of returned value -- bug??] currently passing 111/111 pytests
…projection between them WITHOUT specifying a process
….input_state.path_afferents != [] --> _update_input_states(); else --> _assign_input; (allows you to execute mechanisms outside of process with default input values)
…so that if you execute a mechanism without input, it uses default input value [not sure if this is correct]
…ifying input to the first one (uses defaults) AND outside of a system or process
* • Project
  - TransmssiveProjection* -> PathwayProjection*

* • Project
  - TransmssiveProjection* -> PathwayProjection*
  - trans_projections -> pathway_projections

* • Project
  - TransmssiveProjection* -> PathwayProjection*
  - trans_projections -> pathway_projections

* • Project
  - TransmssiveProjection* -> PathwayProjection*
  - trans_projections -> pathway_projections

• ModulatoryProjection
  docstring

* • Project
  - TransmssiveProjection* -> PathwayProjection*
  - trans_projections -> pathway_projections

• ModulatoryProjection
  docstring

• State
  docstring

* • LearningMechanism
  - docstring

* • LearningMechanism
  - implemented self.learned_projections property

* • LearningMechanism
  - fixed learning_signals to store LearningSignal outputStates rather than LearningProjections
  WORKING ON:
  - move ERROR_SIGNAL to first (i.e., primary) output_state and mention in docstring,
      and append learning_signals as subsequent items
  - remove reference in docstring to LEARNING_SIGNAL as name of solo LearningSignal
  - fix naming of LearningSignals to reference name of MappingProjection, not just its matrix

* • LearningMechanism
  - fixed learning_signals to store LearningSignal outputStates rather than LearningProjections
  - moved ERROR_SIGNAL to first (i.e., primary) output_state and mention in docstring,
      and append learning_signals as subsequent items
  WORKING ON:
  - remove reference in docstring to LEARNING_SIGNAL as name of solo LearningSignal
  - fix naming of LearningSignals to reference name of MappingProjection, not just its matrix

* • LearningMechanism
  - fixed learning_signals to store LearningSignal outputStates rather than LearningProjections
  - moved ERROR_SIGNAL to first (i.e., primary) output_state and mention in docstring,
      and append learning_signals as subsequent items
  WORKING ON:
  - remove reference in docstring to LEARNING_SIGNAL as name of solo LearningSignal
  - fix naming of LearningSignals to reference name of MappingProjection, not just its matrix

* -

* -

* -

* -

* • Moved all modulatory outputStates (LearningSignal, ControlSignal and GatingSignal)
  under ModulatoryOutputStates

* • ModulatoryOutputStates -> ModulatorySignals

* • ModulatorySignal
  - implemented
  - docstring

• rst files;  added:
  ModulatoryProjection
  ModulatorySignal,
  LearningSignal,
  ControlSignal,
  GatingSignal

* • ModulatorySignal
  - implemented
  - docstring

• rst files;  added:
  ModulatoryProjection
  ModulatorySignal,
  LearningSignal,
  ControlSignal,
  GatingSignal

* • ControlSignal
  - __init__(): deleted self.reference_value = reference_value

* • ModulatorySignals
  - moved modulation to ModulatorySignal.__init__()

* • ModulatorySignals
  - moved default assignment of _modulation to owner to ModulatorySignals

* -

* • ControlMechanism
  - subclassed to AdapativeMechanism_Base

* • ControlMechanism
  - subclassed to AdapativeMechanism_Base

* • State
  - update(): implemented handling of Modulation.OVERRIDE and Modulation.DISABLE

* • State
  - docstring

* • Project
  - afferents -> path_afferents

* -

* reorder tested (test_reinforcement.py) output states for learning mechanism in accordance with branch changes

* •

* •

* • ModulatorySignals
  implemented deferred_init on ModulatorySignal and all subclasses

* • ModulatorySignals
  - implemented deferred_init on ModulatorySignal and subclasses

• ControlSignal
  - specify ControlSignal in tuple

* • ModulatorySignals
  - implemented deferred_init on ModulatorySignal and subclasses

• ControlSignal
  - specify ControlSignal in tuple

* • ModulatorySignals
  - docstrings

* -

* • ControlMechanism
  - _take_over_as_default_controller -> _assign_as_controller

* • ScratchPad
  - testing examples of ControlSignal specifications

* • ScratchPad
  - examples under TEST Modulation now all work

* -

* • ControlMechanism / ParameterState
  - docstring revisions

* • ControlMechanism / ParameterState
  - docstring revisions

* -

* • ModulatorySignal
  - added figure

* • ModulatorySignal
  - added figure

* -

* • ParameterState
  - docstring revisions

* -

* -

* -

* -

* -
* • Project
  - TransmssiveProjection* -> PathwayProjection*

* • Project
  - TransmssiveProjection* -> PathwayProjection*
  - trans_projections -> pathway_projections

* • Project
  - TransmssiveProjection* -> PathwayProjection*
  - trans_projections -> pathway_projections

* • Project
  - TransmssiveProjection* -> PathwayProjection*
  - trans_projections -> pathway_projections

• ModulatoryProjection
  docstring

* • Project
  - TransmssiveProjection* -> PathwayProjection*
  - trans_projections -> pathway_projections

• ModulatoryProjection
  docstring

• State
  docstring

* • LearningMechanism
  - docstring

* • LearningMechanism
  - implemented self.learned_projections property

* • LearningMechanism
  - fixed learning_signals to store LearningSignal outputStates rather than LearningProjections
  WORKING ON:
  - move ERROR_SIGNAL to first (i.e., primary) output_state and mention in docstring,
      and append learning_signals as subsequent items
  - remove reference in docstring to LEARNING_SIGNAL as name of solo LearningSignal
  - fix naming of LearningSignals to reference name of MappingProjection, not just its matrix

* • LearningMechanism
  - fixed learning_signals to store LearningSignal outputStates rather than LearningProjections
  - moved ERROR_SIGNAL to first (i.e., primary) output_state and mention in docstring,
      and append learning_signals as subsequent items
  WORKING ON:
  - remove reference in docstring to LEARNING_SIGNAL as name of solo LearningSignal
  - fix naming of LearningSignals to reference name of MappingProjection, not just its matrix

* • LearningMechanism
  - fixed learning_signals to store LearningSignal outputStates rather than LearningProjections
  - moved ERROR_SIGNAL to first (i.e., primary) output_state and mention in docstring,
      and append learning_signals as subsequent items
  WORKING ON:
  - remove reference in docstring to LEARNING_SIGNAL as name of solo LearningSignal
  - fix naming of LearningSignals to reference name of MappingProjection, not just its matrix

* -

* -

* -

* -

* • Moved all modulatory outputStates (LearningSignal, ControlSignal and GatingSignal)
  under ModulatoryOutputStates

* • ModulatoryOutputStates -> ModulatorySignals

* • ModulatorySignal
  - implemented
  - docstring

• rst files;  added:
  ModulatoryProjection
  ModulatorySignal,
  LearningSignal,
  ControlSignal,
  GatingSignal

* • ModulatorySignal
  - implemented
  - docstring

• rst files;  added:
  ModulatoryProjection
  ModulatorySignal,
  LearningSignal,
  ControlSignal,
  GatingSignal

* • ControlSignal
  - __init__(): deleted self.reference_value = reference_value

* • ModulatorySignals
  - moved modulation to ModulatorySignal.__init__()

* • ModulatorySignals
  - moved default assignment of _modulation to owner to ModulatorySignals

* -

* • ControlMechanism
  - subclassed to AdapativeMechanism_Base

* • ControlMechanism
  - subclassed to AdapativeMechanism_Base

* • State
  - update(): implemented handling of Modulation.OVERRIDE and Modulation.DISABLE

* • State
  - docstring

* • Project
  - afferents -> path_afferents

* -

* reorder tested (test_reinforcement.py) output states for learning mechanism in accordance with branch changes

* •

* •

* • ModulatorySignals
  implemented deferred_init on ModulatorySignal and all subclasses

* • ModulatorySignals
  - implemented deferred_init on ModulatorySignal and subclasses

• ControlSignal
  - specify ControlSignal in tuple

* • ModulatorySignals
  - implemented deferred_init on ModulatorySignal and subclasses

• ControlSignal
  - specify ControlSignal in tuple

* • ModulatorySignals
  - docstrings

* -

* • ControlMechanism
  - _take_over_as_default_controller -> _assign_as_controller

* • ScratchPad
  - testing examples of ControlSignal specifications

* • ScratchPad
  - examples under TEST Modulation now all work

* -

* • ControlMechanism / ParameterState
  - docstring revisions

* • ControlMechanism / ParameterState
  - docstring revisions

* -

* • ModulatorySignal
  - added figure

* • ModulatorySignal
  - added figure

* -

* • ParameterState
  - docstring revisions

* -

* -

* -

* -

* • LearningProjection, ControlProjection, GatingProjection
  - docstring revisions

* -

* -

* • ModulatorySignal
  - added Modulation_Detail figure
  - docstring revisions

* • ModulatorySignal
  more docstring revisions

* • Component
  - make_property(): added assignment of attribute value to ParameterState.variable

• ModulatorySignal
  more docstring revisions

* • Component
  - make_property(): added assignment of attribute value to ParameterState.variable

• ModulatorySignal
  more docstring revisions
* • Project
  - TransmssiveProjection* -> PathwayProjection*

* • Project
  - TransmssiveProjection* -> PathwayProjection*
  - trans_projections -> pathway_projections

* • Project
  - TransmssiveProjection* -> PathwayProjection*
  - trans_projections -> pathway_projections

* • Project
  - TransmssiveProjection* -> PathwayProjection*
  - trans_projections -> pathway_projections

• ModulatoryProjection
  docstring

* • Project
  - TransmssiveProjection* -> PathwayProjection*
  - trans_projections -> pathway_projections

• ModulatoryProjection
  docstring

• State
  docstring

* • LearningMechanism
  - docstring

* • LearningMechanism
  - implemented self.learned_projections property

* • LearningMechanism
  - fixed learning_signals to store LearningSignal outputStates rather than LearningProjections
  WORKING ON:
  - move ERROR_SIGNAL to first (i.e., primary) output_state and mention in docstring,
      and append learning_signals as subsequent items
  - remove reference in docstring to LEARNING_SIGNAL as name of solo LearningSignal
  - fix naming of LearningSignals to reference name of MappingProjection, not just its matrix

* • LearningMechanism
  - fixed learning_signals to store LearningSignal outputStates rather than LearningProjections
  - moved ERROR_SIGNAL to first (i.e., primary) output_state and mention in docstring,
      and append learning_signals as subsequent items
  WORKING ON:
  - remove reference in docstring to LEARNING_SIGNAL as name of solo LearningSignal
  - fix naming of LearningSignals to reference name of MappingProjection, not just its matrix

* • LearningMechanism
  - fixed learning_signals to store LearningSignal outputStates rather than LearningProjections
  - moved ERROR_SIGNAL to first (i.e., primary) output_state and mention in docstring,
      and append learning_signals as subsequent items
  WORKING ON:
  - remove reference in docstring to LEARNING_SIGNAL as name of solo LearningSignal
  - fix naming of LearningSignals to reference name of MappingProjection, not just its matrix

* -

* -

* -

* -

* • Moved all modulatory outputStates (LearningSignal, ControlSignal and GatingSignal)
  under ModulatoryOutputStates

* • ModulatoryOutputStates -> ModulatorySignals

* • ModulatorySignal
  - implemented
  - docstring

• rst files;  added:
  ModulatoryProjection
  ModulatorySignal,
  LearningSignal,
  ControlSignal,
  GatingSignal

* • ModulatorySignal
  - implemented
  - docstring

• rst files;  added:
  ModulatoryProjection
  ModulatorySignal,
  LearningSignal,
  ControlSignal,
  GatingSignal

* • ControlSignal
  - __init__(): deleted self.reference_value = reference_value

* • ModulatorySignals
  - moved modulation to ModulatorySignal.__init__()

* • ModulatorySignals
  - moved default assignment of _modulation to owner to ModulatorySignals

* -

* • ControlMechanism
  - subclassed to AdapativeMechanism_Base

* • ControlMechanism
  - subclassed to AdapativeMechanism_Base

* • State
  - update(): implemented handling of Modulation.OVERRIDE and Modulation.DISABLE

* • State
  - docstring

* • Project
  - afferents -> path_afferents

* -

* reorder tested (test_reinforcement.py) output states for learning mechanism in accordance with branch changes

* •

* •

* • ModulatorySignals
  implemented deferred_init on ModulatorySignal and all subclasses

* • ModulatorySignals
  - implemented deferred_init on ModulatorySignal and subclasses

• ControlSignal
  - specify ControlSignal in tuple

* • ModulatorySignals
  - implemented deferred_init on ModulatorySignal and subclasses

• ControlSignal
  - specify ControlSignal in tuple

* • ModulatorySignals
  - docstrings

* -

* • ControlMechanism
  - _take_over_as_default_controller -> _assign_as_controller

* • ScratchPad
  - testing examples of ControlSignal specifications

* • ScratchPad
  - examples under TEST Modulation now all work

* -

* • ControlMechanism / ParameterState
  - docstring revisions

* • ControlMechanism / ParameterState
  - docstring revisions

* -

* • ModulatorySignal
  - added figure

* • ModulatorySignal
  - added figure

* -

* • ParameterState
  - docstring revisions

* -

* -

* -

* -

* • LearningProjection, ControlProjection, GatingProjection
  - docstring revisions

* -

* -

* • ModulatorySignal
  - added Modulation_Detail figure
  - docstring revisions

* • ModulatorySignal
  more docstring revisions

* • Component
  - make_property(): added assignment of attribute value to ParameterState.variable

• ModulatorySignal
  more docstring revisions

* • Component
  - make_property(): added assignment of attribute value to ParameterState.variable

• ModulatorySignal
  more docstring revisions

* Merge branch 'devel' of https://github.com/PrincetonUniversity/PsyNeuLink into feat_set_parameterState_variable_to_param_val

# Conflicts:
#	PsyNeuLink/Components/States/ModulatorySignals/ModulatorySignal.py
#	PsyNeuLink/Components/States/State.py
#	docs/build/html/Function.html
#	docs/build/html/LearningProjection.html
#	docs/build/html/Mechanism.html
#	docs/build/html/OutputState.html
#	docs/build/html/ParameterState.html
#	docs/build/html/Process.html
#	docs/build/html/State.html
#	docs/build/html/System.html
#	docs/build/html/TransferMechanism.html
#	docs/build/html/genindex.html
#	docs/build/html/objects.inv
#	docs/build/html/searchindex.js

* Merge branch 'devel' of https://github.com/PrincetonUniversity/PsyNeuLink into feat_set_parameterState_variable_to_param_val

# Conflicts:
#	PsyNeuLink/Components/States/ModulatorySignals/ModulatorySignal.py
#	PsyNeuLink/Components/States/State.py
#	docs/build/html/Function.html
#	docs/build/html/LearningProjection.html
#	docs/build/html/Mechanism.html
#	docs/build/html/OutputState.html
#	docs/build/html/ParameterState.html
#	docs/build/html/Process.html
#	docs/build/html/State.html
#	docs/build/html/System.html
#	docs/build/html/TransferMechanism.html
#	docs/build/html/genindex.html
#	docs/build/html/objects.inv
#	docs/build/html/searchindex.js

* • ModulatorySignal
  - docstring revs

* • ModulatorySignal
  - docstring revs
@KristenManning KristenManning merged commit c7fb2f1 into master Jun 23, 2017
@KristenManning KristenManning deleted the temp/merge-master-into-devel branch June 23, 2017 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants