---
title: batchSize
framework: createmlcomponents
role: symbol
role_heading: Instance Property
path: createmlcomponents/timeseriesclassifierconfiguration/batchsize
---

# batchSize

The number of examples in each training batch.

## Declaration

```swift
var batchSize: Int
```

## Discussion

Discussion note: This parameter is only used by the fitted method.

## See Also

### Inspecting a time series classifier configuration

- [earlyStoppingIterationCount](createmlcomponents/timeseriesclassifierconfiguration/earlystoppingiterationcount.md)
- [earlyStoppingTolerance](createmlcomponents/timeseriesclassifierconfiguration/earlystoppingtolerance.md)
- [learningRate](createmlcomponents/timeseriesclassifierconfiguration/learningrate.md)
- [maximumIterationCount](createmlcomponents/timeseriesclassifierconfiguration/maximumiterationcount.md)
- [maximumSequenceLength](createmlcomponents/timeseriesclassifierconfiguration/maximumsequencelength.md)
- [minimumSequenceLength](createmlcomponents/timeseriesclassifierconfiguration/minimumsequencelength.md)
- [randomSeed](createmlcomponents/timeseriesclassifierconfiguration/randomseed.md)
