org.aiddl.common.scala.learning.testing.DataShuffler.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aiddl-common-scala Show documentation
Show all versions of aiddl-common-scala Show documentation
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