grouplens / samantha Goto Github PK
View Code? Open in Web Editor NEWSamantha - A generic recommender and predictor server
Home Page: https://grouplens.github.io/samantha/
License: MIT License
Samantha - A generic recommender and predictor server
Home Page: https://grouplens.github.io/samantha/
License: MIT License
I think we should consider making models configurable outside of predictors, recommenders, etc. Conceptually, I think this makes samantha much easier to explain and understand. It will be important to consider the consequences of this change to make sure that it is a good option.
For the movielens dataset, SGD (and ParallelSGD) will fail to converge when using the following settings with a timestamp ordered training set.
learningRate = 0.01
l2coef = 0.001
Randomizing the order of the training set fixes the problem—SGD converges and the resulting model has good performance.
We should (at the very least) make a note in the documentation that users may need to randomize the order of their datasets prior to training, particularly if you get poor performance or the algorithm fails to converge.
We may also want to offer a DAO that handles this randomization for the user.
It looks to me like the problem is that the evaluation portion of the code expects that all extracted features are used. It doesn't limit itself to only those features present in biasFeas, ufactFeas, and ifactFeas like it should (since that's what samantha does when training the model).
//TODO: warn if attr is not present
//TODO: currently mostly feature extractors are using attrName in data to be the key internal representation, consider separate them and use attrName as default
public interface FeatureExtractor extends Serializable {
Map<String, List> extract(JsonNode entity, boolean update,
IndexSpace indexSpace);
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.