tamber / tamber-node Goto Github PK
View Code? Open in Web Editor NEWRecommendation engines for developers, easy as π.
Home Page: https://tamber.com
License: MIT License
Recommendation engines for developers, easy as π.
Home Page: https://tamber.com
License: MIT License
We do not understand how to filter with tags. With properties, they have a value, but tags are just a name without a value. If we wanted to filter out certain items that were tagged a certain way, say we had movies and we wanted to filter out movies tagged as "horror". How would we do this? Is there some kind of "exists" keyword?
Any advice appreciated.
Hi all.
I'm new to Tamber and am trying to form a filter around a number property being greater than 0. I'm attempting to use the following code (based on the age-recommendation tutorial):
var userId = 'foo';
var count = 5;
var filter = {
gt: [
{property: "num"},
0
]
};
tamber.discover.recommended({
'user': userId,
'number': count,
'filter': filter
}, function(err, result) {
// ...
}
);
As a sanity check, I used tamber.item.retrieve
to verify that my items exist. This is basically what I'm receiving back from Tamber:
{
"id": "insertIdHere",
"object": "item",
"properties": {
"num": 5,
"rating": 10
},
"tags": ["foo","bar"],
"popularity": 0.9751131055535003,
"hotness": 0.5113000522579753,
"hidden": false,
"created": 1507688240
}
I'd expect that at least this item would be returned (since num > 0
) but tamber.discover.recommended
returns an empty array as a result
. I tried also with tamber.discover.next
but got the same empty result
.
I'd appreciate any and all help with this!
Hi
I have just started using tamber and I think I have encountered some issue. After executing npm install --save tamber
and running the app, I get the following error:
Error: Cannot find module './objects/Event'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/*****/node_modules/tamber/lib/Tamber.js:3:13)
at Module._compile (module.js:652:30)
at Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/****/node_modules/babel-register/lib/node.js:152:7)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
Please let me know if I am doing something wrong.
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.