You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Suneel Marthi (JIRA)" <ji...@apache.org> on 2014/02/12 14:38:20 UTC
[jira] [Commented] (MAHOUT-1416) Implement an interface to load a
forest from an in-memory byte buffer
[ https://issues.apache.org/jira/browse/MAHOUT-1416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13899092#comment-13899092 ]
Suneel Marthi commented on MAHOUT-1416:
---------------------------------------
Looking at this patch, wouldn't it suffice to change the access of the existing
{Code}
private static DecisionForest read(DataInput dataInput) throws IOException ;
{Code}
to make it "public" for what you are trying to achieve.
> Implement an interface to load a forest from an in-memory byte buffer
> ---------------------------------------------------------------------
>
> Key: MAHOUT-1416
> URL: https://issues.apache.org/jira/browse/MAHOUT-1416
> Project: Mahout
> Issue Type: Improvement
> Affects Versions: 1.0
> Reporter: Manoj Awasthi
> Fix For: 1.0
>
> Attachments: MAHOUT-1416.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> There is a use case I encounter in which a random forest model is passed to remote server over a REST API and is used for scoring the incoming requests in there.
> In such a scenario it is highly inefficient to write the byte buffer received at the remote server on the filesystem and then use Mahout APIs to load the forest.
> We should be able to load the forest from the byte buffer received. This is useful in non-map-reduce usecases of classification like that mentioned above.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)