Skip to content

gwarmstrong/friendly-guacamole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Friendly Guacamole 🥑

Microbiome-friendly scikit-learn style data preprocessing and other utilities.

friendly-guacamole is designed to integrate common microbiome datatypes and transformations with scikit-learn transformers and models.

Example

from friendly_guacamole.datasets import KeyboardDataset
from friendly_guacamole.transforms import AsDense, CLR
from sklearn.pipeline import Pipeline
from sklearn.decomposition import PCA

dataset = KeyboardDataset('some/relative/path')

pipeline = Pipeline([
    ('convert_type', AsDense()),
    ('clr', CLR()),
    ('pca', PCA()),
])

pipeline.fit_transform(dataset['table'])

About

Microbiome-friendly scikit-learn style data preprocessing and other utilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages