All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.aiddl.common.scala.learning.testing.DataShuffler.scala Maven / Gradle / Ivy

Go to download

Provides common types and algorithm implementations for the fast prototyping integrative AI systems with the AIDDL framework.

The newest version!
package org.aiddl.common.scala.learning.testing

import scala.util.Random

import org.aiddl.core.scala.function.Function
import org.aiddl.core.scala.representation.*

class DataShuffler extends Function {
  def apply( data: Term ): Term = ListTerm(Random.shuffle(data.asList))
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy