Skip to content

JuliaML/DataScienceTraits.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DataScienceTraits.jl

Build Status Coverage

This package provides an alternative implementation to ScientificTypes.jl that is lightweight, with a more sensible set of defaults for data science. See JuliaAI/ScientificTypes.jl#180.

Usage

This package is intended for developers of statistical packages that need to dispatch different algorithms depending on scientific types:

import DataScienceTraits as DST

reduction(::DST.Continuous) = sum
reduction(::DST.Categorical) = first

Extensions are provided for third-party types such as CoDa.jl and CategoricalArrays.jl in order to facilitate the integration with existing software stacks.