Hi Philipp. The problem with using sparse matrices is that adding an epsilon would make them dense. I haven't really looked at it but I think it should somehow be possible to use this approximation also on sparse matrices. Cheers, Andy
Am 30.05.2012 15:45, schrieb Philipp Singer: > Hey Andy! > > Yep I am using it successfully ;) > > The idea with adding epsilon sounds legit. I will try it definitely out. > > I think it would be nice if you could add it to your code. Would make it > also easier to work with sparse matrix. > > Regards, > Philipp > >> Hi Philipp. >> Great to hear that someone is using that :) >> >> The problem is that the approximation uses a "log". >> Afaik even the exact kernel is not defined if two features are compared >> that are both exactly zeros. >> Usually I just work around that by adding an epsilon. >> I was considering adding that to the code. What do you think? >> >> Cheers, >> Andy > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Scikit-learn-general mailing list > Scikit-learn-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general