This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:async'; | |
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/foundation.dart'; | |
void main() async { | |
Future<void> _notifierTest() async { | |
await Future.delayed(Duration(seconds: 1)); | |
final iNotifier = ValueNotifier<int>(null); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun main(args: Array<String>) { | |
val seed = 13455.toLong() | |
val recordReader = CSVRecordReader(0, ',') | |
recordReader.initialize(FileSplit(ClassPathResource("data.csv").file)) | |
//reader,label index,number of possible labels | |
val labelIndex = 0 | |
val numClasses = 6 | |
val batchSize = 106 |