SupervisedLearning.ScriptCanvasNodeable.xml 2.1 KB

12345678910111213141516171819202122232425
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScriptCanvas Include="Nodes/SupervisedLearning.h" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  3. <Class Name="SupervisedLearning"
  4. QualifiedName="MachineLearning::SupervisedLearning"
  5. PreferredClassName="Supervised learning"
  6. Category="MachineLearning"
  7. Description="Performs a fully supervised training session of a neural network using stochastic gradient descent.">
  8. <Input Name="In" DisplayGroup="In" Description="Parameters controlling model training">
  9. <Parameter Name="Model" Type="MachineLearning::INeuralNetworkPtr" Description="The model to perform a gradient descent step on."/>
  10. <Parameter Name="TrainingData" Type="MachineLearning::ILabeledTrainingDataPtr" Description="The set of labeled training data to use."/>
  11. <Parameter Name="TestData" Type="MachineLearning::ILabeledTrainingDataPtr" Description="The set of labeled test data to evaluate against."/>
  12. <!-- Can't enable this until script canvas supports enumeration-type pins -->
  13. <!-- Parameter Name="CostFunction" Type="MachineLearning::LossFunctions" Description="The loss function to use to compute the cost."/ -->
  14. <Parameter Name="CostFunction" Type="AZStd::size_t" Description="The loss function to use to compute the cost."/>
  15. <Parameter Name="TotalIterations" Type="AZStd::size_t" Description="The total number of times to iterate (epochs) when training."/>
  16. <Parameter Name="BatchSize" Type="AZStd::size_t" Description="The batch size to use."/>
  17. <Parameter Name="LearningRate" Type="float" Description="The learning rate to use."/>
  18. <Parameter Name="LearningRateDecay" Type="float" Description="The decay factor to use after each iteration (epoch) of training."/>
  19. <Parameter Name="EarlyStopCost" Type="float" Description="If the total cost of the model drops below this value, training will halt. 0 will always complete the whole training cycle."/>
  20. <Return Name="Model" Type="MachineLearning::INeuralNetworkPtr" Shared="true"/>
  21. </Input>
  22. </Class>
  23. </ScriptCanvas>