I have no idea what you're trying to do and the variable names don't make any sense to me, but the following is a reformatted, simplified version of your script that is a valid bash script (and is easier for humans to read) that produces some output that may be what you want:
Note that some double-quotes were added and others were removed, an if statement was removed by changing the printf format string, and I added opening parentheses to the case matching patterns. (The opening parentheses are allowed but are not required by bash, but if you're editing a larger script with an editor such as vi with a showmatch option, having them makes it much easier to find mismatched parentheses in places where they do matter.)
Hope this helps.
This User Gave Thanks to Don Cragun For This Post:
Hi, folks,
I have developed CK-ERP, which is an open source accounting / MRP / ERP / CRM system that runs on top of multiple middlewares. It provides accounting and back office functionalities to SMEs and utilizes the underlying middleware to administer accounts/groups.
Details about and... (0 Replies)
Dear all,
I am a newbie in solaris and I need your advice.
I have a Solaris version 5.9 installed on Sunfire V240.
I am able to ssh the machine from putty remotely.
My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Hi all
I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface?
If you have any ideas, please tell me then. Thank you (2 Replies)
Hi, folks,
A new release, v.0.30.1, of CK-ERP, has been posted, at SourceForge.Net, sourceforge.net/projects/ck-erp .
New features comprise seven new modules (ck-teacher, ck-counsellor, ck-student, ck-applicant, ck-family, ck-registrar, ck-eduadmin) for deployment within educational... (0 Replies)
Hi all,
I am a rookie regarding shell script programming, YET!! :-)
Hence, I have choosen a problem from my bad side of life (my job) and I wil try to solve it by using a shell script and get knowledge concerning shell script programming.
Question: As you can see I have already figured... (5 Replies)
A new project was posted on your project board.
Project title: Bash Shell Tutoring
Estimated Budget:
$50/hr
Start date:
Immediately
Required skills:
Linux, Bash, Shell, UNIX
I work as a datawarehouse designer and developer.
Although I usually stick to the role of an analyst,... (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT PHP
fann_cascadetrain_on_data
FANN_CASCADETRAIN_ON_DATA(3) 1 FANN_CASCADETRAIN_ON_DATA(3)fann_cascadetrain_on_data - Trains on an entire dataset, for a period of time using the Cascade2 training algorithmSYNOPSIS
bool fann_cascadetrain_on_data (resource $ann, resource $data, int $max_neurons, int $neurons_between_reports, float $desired_error)
DESCRIPTION
The cascade output change fraction is a number between 0 and 1 determining how large a fraction the fann_get_MSE(3) value should change
within fann_get_cascade_output_stagnation_epochs(3) during training of the output connections, in order for the training not to stagnate.
If the training stagnates, the training of the output connections will be ended and new candidates will be prepared.
This training uses the parameters set using the fann_set_cascade_..., but it also uses another training algorithm as it's internal train-
ing algorithm. This algorithm can be set to either FANN_TRAIN_RPROP or FANN_TRAIN_QUICKPROP by fann_set_training_algorithm(3), and the
parameters set for these training algorithms will also affect the cascade training.
PARAMETERS
o $ann
-Neural network resource.
o $data
-Neural network training data resource.
o $max_neurons
- The maximum number of neurons to be added to neural network.
o $neurons_between_reports
- The number of neurons between printing a status report. A value of zero means no reports should be printed.
o $desired_error
- The desired fann_get_MSE(3) or fann_get_bit_fail(3), depending on which stop function is chosen by fann_set_train_stop_func-
tion(3)RETURN VALUES
Returns TRUE on success, or FALSE otherwise.
SEE ALSO fann_train_on_data(3), fann_cascadetrain_on_file(3).
PHP Documentation Group FANN_CASCADETRAIN_ON_DATA(3)