|
3.1.1 Loading the Package and Data
The Neural Networks package is one of many available Mathematica applications, and it should be installed in the AddOns/Applications directory in the top-level Mathematica directory. If this has been done at the installation stage, Mathematica should be able to find the application package without further effort on your part. To make all the functionality of the application package available at once, you simply load the package with the Get, <<, or Needs command.
Load the package and make all the functionality of the application available.
In[1]:=
If you get a failure message at this stage, it is probably due to a nonstandard location of the application package on your system, and you will have to check that the directory enclosing the NeuralNetworks directory is included in your $Path variable. Commands such as AppendTo[$Path, TheDirectoryNeuralNetworksIsIn] can be used to inform Mathematica how to find the application. You may want to add this command to your Init.m file so it will execute automatically at the outset of any of your Mathematica sessions.
All commands in Neural Networks manipulate data in one way or another. If you work on data that was not artificially generated using Mathematica, then you have to load the data into Mathematica. For all illustrations in the documentation, the data is stored as Mathematica expressions and is loaded in the following way. Here twoclasses.dat is the name of a data file that comes with the Neural Networks package.
Load a data file.
In[2]:=
|