bacteriaDataFormat: Bacteria data formatting for machine learning

Description Usage Arguments

View source: R/bacteriaDataFormat.R

Description

Bacteria data formatting for machine learning

Usage

1
2
bacteriaDataFormat(bacteriaDetectionResult, spl = 0.7, seed = 12345,
  withReference = T)

Arguments

bacteriaDetectionResult

The result by bacteriaDetection.

spl

A ratio of training data. Remaining data will be designated as testing data. Disable splitting by providing 0, NA, or NULL.

seed

A random seed.

withReference

Whether the bacteriaDetectionResult contains bacteria labels for referencing purpose. If set TRUE, letters from original image file names are used as bacteria labels.


masato-ogishi/GramStainR documentation built on Dec. 27, 2017, 11:29 p.m.