Perhaps this question may be of use to future visitors. I had assumed that using
Needs["NeuralNetworks`"]
Needs["NeuralNetworks`"]
or
BeginPackage["MyNeuralNetworks",{"NeuralNetworks
"}]
BeginPackage["MyNeuralNetworks`",{"NeuralNetworks`"}]
was sufficient to establish the $ContextPath
for my package; however when I loaded the neural networks package into a notebook, I noticed:
$ContextPath
{"NeuralNetworks`VQ`", "NeuralNetworks`UnsupervisedNet`", "NeuralNetworks`Perceptron`",
"NeuralNetworks`NeuralFit`", "NeuralNetworks`Hopfield`",
"NeuralNetworks`FeedForwardRBFNet`", "NeuralNetworks`DynamicNet`",
"NeuralNetworks`Common`", "NeuralNetworks`CommonCBV`", "NeuralNetworks`", ...}
I wrongfully thought that Need
ing NeuralNetworksNeuralNetworks`
would automatically include the rest of the needed packages into my context. Explicitly including all of the neural network packages in my custom package did the trick:
BeginPackage["MyNeuralNetwork`",{"NeuralNetworks`VQ`", "NeuralNetworks`UnsupervisedNet`",
"NeuralNetworks`Perceptron`", "NeuralNetworks`NeuralFit`",
"NeuralNetworks`Hopfield`", "NeuralNetworks`FeedForwardRBFNet`",
"NeuralNetworks`DynamicNet`", "NeuralNetworks`Common`",
"NeuralNetworks`CommonCBV`", "NeuralNetworks`"}]