Hi Ashutosh,

I have created an example that visualize Kmeans with build-in scatter plot
as well as with matplotlib.

https://s.apache.org/329q

Hope this helps

Thanks,
moon

On Thu, Feb 18, 2016 at 12:46 AM Ashutosh Kumar <ashutosh.disc...@gmail.com>
wrote:

> Hi Moon,
> May I request you to provide some details for how to use Zeppelin's built
> in scatter plot for KmeansModel.
>
> Thanks
> Ashutosh
>
> On Thu, Feb 18, 2016 at 11:18 AM, moon soo Lee <m...@apache.org> wrote:
>
>> Hi Ashutosh,
>>
>> You might have some options to visualize result of KmeansModel.
>> If you are okay with scatter chart with different color per cluster, you
>> can leverage Zeppelin's built-in scatter chart.
>>
>> Or you can implement your own visualization using Javascript inside of
>> notebook, or you can display chart rendered by some server-side library
>> such as matplotlib in python.
>>
>> Here's an example of creating visualization with HighChart and
>> matplotlib. Note that Zeppelin enables you exchange data between scala and
>> python (pyspark).
>>
>> If you need anymore help, please let me know.
>>
>> Thanks,
>> moon
>>
>> On Wed, Feb 17, 2016 at 9:35 PM Ashutosh Kumar <
>> ashutosh.disc...@gmail.com> wrote:
>>
>>> Request someone to provide some pointer for this issue. Is it possible
>>> to visualize K means cluster using Zeppelin ?
>>>
>>> Thanks
>>> Ashutosh
>>>
>>> On Wed, Feb 17, 2016 at 5:43 PM, Ashutosh Kumar <
>>> ashutosh.disc...@gmail.com> wrote:
>>>
>>>> I have Spark program for generation of K means cluster.
>>>> How can I use data from KMeansModel and show it graphically on Zeppelin
>>>> ?
>>>>
>>>> Thanks
>>>> Ashutosh
>>>>
>>>

Reply via email to