The structure of most learning algorithms is pretty simple (eg. linear
models or decision tree ensembles). A linear classifier for text
classification could be simply converted into a python dictionary where the
keys are terms and values are the coefficients (``coef_``) of the linear
classifier - using sparse regularization (L1) helps a lot to keep memory
requirements low.
Decision trees can be translated into a series of if-then-else statements
that can be evaled (if you are brave).
best,
Peter
2014/1/20 Joel Nothman <[email protected]>
>
> > Do you have any specific use case in mind for running scikit-learn on
> > Android? Maybe an interesting and more useful project instead would be
> > to implement PMML (Predictive Model Markup Language) exporters.
>
> Yes, I thought in this direction too (although last time I looked at PMML
> I got scared off). Most of the time you just want a model that can be
> trained offline and deployed on Android. I'm sure there are cases where an
> Android app will want to perform learning online, but it might be more
> sensible for the statistics to be collected on the Android, and pushed to a
> server for modelling.
>
>
> On 20 January 2014 11:37, Vlad Niculae <[email protected]> wrote:
>
>> I don't think Weka (at least the interesting parts of it) could run on
>> Android either. I don't really foresee the whole Scipy stack running on
>> Android; maybe one day when all dependencies are rewritten in PyPy and
>> are faster and still 100% compatible...
>>
>> One thing that would be possible (but I don't know whether it would be
>> useful for any appliers) would be to implement a prediction-only
>> library, so you could develop models on your PC or in the cloud,
>> download the pickled estimator and deploy it. However I think people
>> who need to do this end up writing the whole custom predictor; as it'd
>> be more efficient.
>>
>> Do you have any specific use case in mind for running scikit-learn on
>> Android? Maybe an interesting and more useful project instead would be
>> to implement PMML (Predictive Model Markup Language) exporters.
>>
>> My 2c,
>> Vlad
>>
>> On Mon Jan 20 00:24:16 2014, Olivier Grisel wrote:
>> > 2014/1/20 Tejas Nikumbh <[email protected]>:
>> >> Hi guys,
>> >>
>> >> Is there a way we can utilise scikit-learn in android based
>> projects?
>> >
>> > AFAIK, no.
>> >
>> >> If not , does this sound like a good idea for a project [possibly a
>> gsoc
>> >> project]? What might be the hurdles associated?
>> >
>> > Trying to build scipy and its fortran build and runtime dependencies
>> > on Android is going to be fun :)
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>> Learn Why More Businesses Are Choosing CenturyLink Cloud For
>> Critical Workloads, Development Environments & Everything In Between.
>> Get a Quote or Start a Free Trial Today.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Scikit-learn-general mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>
>
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
--
Peter Prettenhofer
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general