Liam Chan
Cultural Blog:
Research Neuroplasticity:
-
Discuss how understanding the principles of neuroplasticity benefits people:
Neuroplasticity makes your brain extremely resilient and is the process by which all permanent learning takes place in the human brain. Such as recovering from brain events such as strokes, or mastering other languages.
-
Discuss how might engage with the principals of neuroplasticity for your own benefit:
I can benefit neuroplasticity by looking back through notes and to summarise my studies previously so that I can remind myself where I last left off. This may widen my range of enchanted cognitive abilities.
-
What are some of the ways to increase your neuroplasticity:
Sleeping:
It helps encourage learning retention through the growth of the dendritic spines. This acts as connections between neurons and cells.
Travelling:
Like a freeway system connecting to various cities. The more cars travelling to a certain destination, the wider the road becomes and vice versa. This can literally enable and expose my brain to new environments, thus opening up to new pathways and activities in the human brain.
-
Link to a resource that you found particularly useful or engaging:
Reference
Research Growth Mindset:
-
Discuss what it is and why it is relevant:
Growth Mindset is the idea that one can enable themselves to be in control of their own ability, and can learn and improve. It is the idea of success. This should, ideally be practiced at a young age as parents should never praise their children by talking about their ability, but to describe the effort that they put in and how much they have learned and developed.
-
In this exploration, did anything surprise you? Change for you:
That acknowledging your efforts and process can help your brain growth. That people with growth mindset. The mind is the most responsive when being told what to improve on. Rather than being fixed on given information about how well they did.
-
How will you integrate growth mindset into your learning journey:
This foundation has helped me to realise that acknowledging my efforts and process as helped me to persevere my learning experience. I will continue to do so as well as understanding that it’s okay to struggle.
-
Link to a resource that you found particularly useful or engaging:
Reference


Follow these steps to run a cloud backtest:
lean cloud backtest "<projectName>" --push --open
to push . / <projectName> to the cloud, run a cloud backtest for the project, and open the results in the browser.
$ lean cloud backtest "My Project" --push --open [1/1] Pushing 'My Project' Successfully updated cloud file 'My Project/main.py' Started compiling project 'My Project' Successfully compiled project 'My Project' Started backtest named 'Muscular Black Chinchilla' for project 'My Project'


|
Simbody
3.5
|
Define an assembly condition consisting of a scalar goal and/or a related set of assembly error equations (that is, an objective and/or some constraints). More...
Public Member Functions | |
| AssemblyCondition (const String &name) | |
| Base class constructor just takes the assembly condition name and saves it. More... | |
| virtual | ~AssemblyCondition () |
| Destructor is virtual for use by derived classes. More... | |
| virtual int | initializeCondition () const |
| This is called whenever the Assembler is initialized in case this assembly condition wants to do some internal work before getting started. More... | |
| virtual void | uninitializeCondition () const |
| This is called whenever the containing Assembler is uninitialized in case this assembly condition has some cleanup to do. More... | |
| virtual int | calcErrors (const State &state, Vector &err) const |
| Calculate the amount by which this assembly condition is violated by the q values in the given state, with one scalar error per assembly equation returned in err. More... | |
| virtual int | calcErrorJacobian (const State &state, Matrix &jacobian) const |
| Override to supply an analytic Jacobian for the assembly errors returned by calcErrors(). More... | |
| virtual int | getNumErrors (const State &state) const |
| Override to supply an efficient method for determining how many errors will be returned by calcErrors(). More... | |
| virtual int | calcGoal (const State &state, Real &goal) const |
| Calculate the current contribution (>= 0) of this assembly condition to the goal value that is being minimized. More... | |
| virtual int | calcGoalGradient (const State &state, Vector &gradient) const |
| Override to supply an analytic gradient for this assembly condition's goal. More... | |
| const char * | getName () const |
| Return the name assigned to this AssemblyCondition on construction. More... | |
| bool | isInAssembler () const |
| Test whether this AssemblyCondition has already been adopted by an Assembler. More... | |
| const Assembler & | getAssembler () const |
| Return the Assembler that has adopted this AssemblyCondition. More... | |
| AssemblyConditionIndex | getAssemblyConditionIndex () const |
| Return the AssemblyConditionIndex of this concrete AssemblyCondition within the Assembler that has adopted it. More... | |
Protected Member Functions | |
| int | getNumFreeQs () const |
| Ask the assembler how many free q's there are; only valid after initialization but does not invoke initialization. More... | |
| QIndex | getQIndexOfFreeQ (Assembler::FreeQIndex fx) const |
| Ask the assembler where to find the actual q in the State that corresponds to a given free q; only valid after initialization but does not invoke initialization. More... | |
| Assembler::FreeQIndex | getFreeQIndexOfQ (QIndex qx) const |
| Ask the assembler where to find the free q (if any) that corresponds to a given q in the State; only valid after initialization but does not invoke initialization. More... | |
| const MultibodySystem & | getMultibodySystem () const |
| Ask the assembler for the MultibodySystem with which it is associated. More... | |
| const SimbodyMatterSubsystem & | getMatterSubsystem () const |
| Ask the assembler for the MultibodySystem with which it is associated and extract the SimbodyMatterSubsystem contained therein. More... | |
| void | initializeAssembler () const |
| Call this method before doing anything that logically requires the Assembler, or at least this AssemblyCondition, to have been initialized. More... | |
| void | uninitializeAssembler () const |
| Call this when modifying any parameter of the concrete AssemblyCondition that would require reinitialization of the Assembler or the AssemblyCondition. More... | |
Friends | |
| class | Assembler |
Define an assembly condition consisting of a scalar goal and/or a related set of assembly error equations (that is, an objective and/or some constraints).
Whether the goal or error is used depends on the weighting assigned to this AssemblyCondition. A finite weight indicates that the goal should be used (and combined with other goals); an infinite weighting means that each error must independently be satisfied to tolerance.
|
inlineexplicit |
Base class constructor just takes the assembly condition name and saves it.
|
inlinevirtual |
Destructor is virtual for use by derived classes.
|
inlinevirtual |
This is called whenever the Assembler is initialized in case this assembly condition wants to do some internal work before getting started.
None of the other virtual methods will be called until this one has been, except possibly the destructor. The set of free q's and the internal State are valid at this point and can be retrieved from the Assembler stored in the base class.
Reimplemented in SimTK::OrientationSensors, and SimTK::Markers.
|
inlinevirtual |
This is called whenever the containing Assembler is uninitialized in case this assembly condition has some cleanup to do.
Reimplemented in SimTK::OrientationSensors, and SimTK::Markers.
|
inlinevirtual |
Calculate the amount by which this assembly condition is violated by the q values in the given state, with one scalar error per assembly equation returned in err.
The functional return should be zero if successful; negative values are reserved with -1 meaning "not implemented"; return a positive value if your implementation is unable to evaluate the error at the current state. If this method is not implemented then you must implement calcGoal() and this assembly condition may only be used as a goal, not a requirement.
Reimplemented in SimTK::OrientationSensors, SimTK::Markers, and SimTK::QValue.
|
inlinevirtual |
Override to supply an analytic Jacobian for the assembly errors returned by calcErrors().
The returned Jacobian must be nErr X nFreeQs; that is, if there is only one assembly error equation the returned matrix is a single row (that's the transpose of the gradient). The functional return should be zero if this succeeds; negative values are reserved with the default implementation returning -1 which indicates that the Jacobian must be calculated numerically using the calcErrors() method. Return a positive value if your implementation is unable to evaluate the Jacobian at the current state.
Reimplemented in SimTK::OrientationSensors, SimTK::Markers, and SimTK::QValue.
|
inlinevirtual |
Override to supply an efficient method for determining how many errors will be returned by calcErrors().
Otherwise the default implementation determines this by making a call to calcErrors() and returning the size of the returned error vector. The functional return should be zero if this succeeds; negative values are reserved; return a positive value if your implementation of this method can't determine the number of errors with the given state (unlikely!).
Reimplemented in SimTK::OrientationSensors, and SimTK::Markers.
|
inlinevirtual |
Calculate the current contribution (>= 0) of this assembly condition to the goal value that is being minimized.
If this isn't overridden we'll generate it by combining the m errors returned by calcErrors() in a mean sum of squares: goal = err^2/m.
Reimplemented in SimTK::OrientationSensors, SimTK::Markers, and SimTK::QValue.
|
inlinevirtual |
Override to supply an analytic gradient for this assembly condition's goal.
The returned gradient must be nFreeQ X 1; that is, it is a column vector giving the partial derivative of the goal with respect to each of the free q's in order. The functional return should be zero if this succeeds. The default implementation return -1 which indicates that the gradient must be calculated numerically using the calcGoal() method.
Reimplemented in SimTK::OrientationSensors, SimTK::Markers, and SimTK::QValue.
|
inline |
Return the name assigned to this AssemblyCondition on construction.
|
inline |
Test whether this AssemblyCondition has already been adopted by an Assembler.
|
inline |
Return the Assembler that has adopted this AssemblyCondition.
This will throw an exception if there is no such Assembler; use isInAssembler() first if you're not sure.
|
inline |
Return the AssemblyConditionIndex of this concrete AssemblyCondition within the Assembler that has adopted it.
This returned index will be invalid if this AssemblyCondition has not yet been adopted.
|
inlineprotected |
Ask the assembler how many free q's there are; only valid after initialization but does not invoke initialization.
|
inlineprotected |
Ask the assembler where to find the actual q in the State that corresponds to a given free q; only valid after initialization but does not invoke initialization.
|
inlineprotected |
Ask the assembler where to find the free q (if any) that corresponds to a given q in the State; only valid after initialization but does not invoke initialization.
|
inlineprotected |
Ask the assembler for the MultibodySystem with which it is associated.
|
inlineprotected |
Ask the assembler for the MultibodySystem with which it is associated and extract the SimbodyMatterSubsystem contained therein.
|
inlineprotected |
Call this method before doing anything that logically requires the Assembler, or at least this AssemblyCondition, to have been initialized.
|
inlineprotected |
Call this when modifying any parameter of the concrete AssemblyCondition that would require reinitialization of the Assembler or the AssemblyCondition.
|
friend |