Comments (13)
I'm just trying to understand how to present this library to (professional) Haskell developers. Right now I'm reading your blog posts and playing with now deprecated packages from Hackage.
from hlearn.
I see there is a 2.0.0.0
tag, why can't we have this version on Hackage and Stackage?
from hlearn.
I would very much welcome more documentation for HLearn, but I don't think a blog post is a good way to go about it. The interface is not very stable yet, and so I'd worry that the information on the blog would go out of date very quickly.
In fact, one of the reasons HLearn is not on Hackage is because I don't think it's ready for "production use". Things keep changing a lot, and I don't want people to start depending on a certain interface.
Probably the best way to contribute documentation would be to take one of the examples in the examples
folder and add explanations of what's going on.
from hlearn.
OK, then perphaps I will go with current master branch and tell readers that this is not entirely stable. When you get more stable API I'll review the tutorial and update it.
from hlearn.
I'm having troubles building the project with stack:
stack build
While constructing the BuildPlan the following exceptions were encountered:
-- Failure when adding dependencies:
subhask: needed (==0.1.1.0), couldn't resolve its dependencies
needed for package HLearn-2.0.1.0
-- Failure when adding dependencies:
MonadRandom: needed (==0.4), 0.4.2.3 found (latest applicable is 0.4)
approximate: needed (==0.2.2.1), 0.2.2.3 found (latest applicable is 0.2.2.1)
bytes: needed (==0.15.0.1), 0.15.2 found (latest applicable is 0.15.0.1)
cassava: needed (==0.4.3.1), 0.4.5.0 found (latest applicable is 0.4.3.1)
hmatrix: needed (==0.16.1.5), 0.17.0.1 found (latest applicable is 0.16.1.5)
hyperloglog: needed (==0.3.4), 0.4.0.4 found (latest applicable is 0.3.4)
lens: needed (==4.12.3), 4.13 found (latest applicable is 4.12.3)
parallel: needed (==3.2.0.6), 3.2.1.0 found (latest applicable is 3.2.0.6)
primitive: needed (==0.6), 0.6.1.0 found (latest applicable is 0.6)
semigroups: needed (==0.16.2.2), 0.18.1 found (latest applicable is 0.16.2.2)
vector: needed (==0.10.12.3), 0.11.0.0 found (latest applicable is 0.10.12.3)
needed for package subhask-0.1.1.0
Dependency version bounds could probably more flexible. I can open a PR for that, what do you think?
from hlearn.
See your comment about reproducible builds, but with stack it's not a problem anymore.
from hlearn.
I'll perhaps suspend writing the tutorial until it's easy to install the library and play with it. I failed to make SubHask
work with GHC 7.10.3, most readers will likely not survive the “installation” section.
from hlearn.
@mrkkrp Thanks for the feedback. Easier installations is definitely something I need to work on.
from hlearn.
In my tutorial, I want to touch ideas described here, but I don't see anything similar is current master
branch. There is no Categorical
type, no train
function. What should I use?
from hlearn.
There are currently no probability distributions implemented in HLearn because doing this properly requires better support for numerical operations than currently exists in Haskell. When the subhask project gets to a point where the required numerical support exists, then distributions will be added back in and things similar to the blog post will be possible again.
from hlearn.
OK, is there anything I can use to show how Functor
, Monad
, and Monoid
instances work?
from hlearn.
Also, do you have an estimation when the library will be ready for release?
from hlearn.
This is a good starting point: https://github.com/mikeizbicki/subhask/blob/master/examples/example0002-monad-instances-for-set.lhs Actually, a tutorial on subhask would be a much easier task at this point, and I think you'll find all of the ideas you've mentioned so far there as well.
HLearn definitely won't be the library I want it to be for at least a year, but there may be some releases along the way. Once there's a reasonable framework for numerical computing (i.e. once subhask is complete), then finishing HLearn will be very easy. Until then, it's not worth the time doing workarounds in hlearn that are just going to be reverted later.
from hlearn.
Related Issues (20)
- cabal sandbox init step HOT 2
- hlearn-distributions depends on constrainkinds-1.1.0.0 which fails to install HOT 8
- Interested in working on HLearn. HOT 2
- Build issues. HOT 1
- Is HLearn intentionally kept of hackage / stackage? HOT 2
- Blog post on categorical distribution has deprecated instructions
- Invalid subhask submodule HOT 6
- Naive Bayes classifier HOT 2
- Helping out? HOT 4
- stack haddock fails
- Interested in contributing HOT 5
- Migration to ghc-8.0 with subhask-branch ghc-8.0 HOT 1
- Interested in contribution
- Example of using cover tree? HOT 1
- Contributing HOT 1
- Interested in contributing - density estimation, wavelets
- Not very easy to start with HOT 1
- SubHask build error during install script HOT 2
- Interested in contributing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hlearn.