Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
An implementation of the Indian buffet process by Griffiths and Ghahramani.
We are using abstract types to hide the implementation details, inspired by Exchangeable Random Processes and Data Abstraction.
Illustration: Feature extraction example.
Documentation
newCustomer :: Restaurant -> Prob [Dish] Source #
newRestaurant :: Double -> Prob Restaurant Source #
data RestaurantS Source #
newCustomerS :: RestaurantS -> Prob [DishS] Source #
newRestaurantS :: Double -> Prob RestaurantS Source #