Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Neuroph
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.neuroph.samples.stockmarket
Class StockTrainingSetImport

    java.lang.Object
      org.neuroph.util.TrainingSetImport
          org.neuroph.samples.stockmarket.StockTrainingSetImport

    public class StockTrainingSetImport

extends TrainingSetImport

The part of simple stock market components, easy to use stock market interface for neural network. Provides method to import stock training set froman array

Constructor Summary
`StockTrainingSetImport()`

Method Summary
`static TrainingSet` | `importFromArray(double[] values, int inputsCount, int outputsCount)` Creates and returns training set for stock market prediction using the provided data from array

Methods inherited from class org.neuroph.util.TrainingSetImport
`importFromFile`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### StockTrainingSetImport

    public StockTrainingSetImport()

Method Detail

### importFromArray

    public static TrainingSet importFromArray(double[] values,
                                              int inputsCount,
                                              int outputsCount)

  Creates and returns training set for stock market prediction using the provided data from array

  Parameters:
    `values` - an array containing stock data
    `inputsCount` - training element (neural net) inputs count
    `outputsCount` - training element (neural net) ouputs count
  Returns:
    training set with stock data

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Neuroph
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD