<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Fuzzy Algorithm in Apache Spark in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fuzzy-Algorithm-in-Apache-Spark/m-p/122961#M39042</link>
    <description>&lt;P&gt;Hello &lt;A rel="user" href="https://community.cloudera.com/users/7309/rendi7936.html" nodeid="7309"&gt;@Rendiyono Wahyu Saputro&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Yes, you can import python libraries and use them in Spark, which supports a full Python API via the pyspark shell. For instance, if you wanted to load and use the python scikit-fuzzy library to run fuzzy logic, then you just:&lt;/P&gt;&lt;P&gt;1) Download python library, either using maven update to local repo, or directly via github, and add the library to your Spark classpath&lt;/P&gt;&lt;P&gt;2) Kick off job with pyspark shell (Example: $ pyspark --jars /path/to/scikit-fuzzy.jar )&lt;/P&gt;&lt;P&gt;3) Import python library in your code (Example: "import skfuzzy as fuzz")&lt;/P&gt;&lt;P&gt;4) Use the library&lt;/P&gt;&lt;P&gt;More information about scikit-fuzzy library here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pypi.python.org/pypi/scikit-fuzzy"&gt;https://pypi.python.org/pypi/scikit-fuzzy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hints about dependencies and install:&lt;/P&gt;&lt;P&gt;Scikit-Fuzzy depends on&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;NumPy &amp;gt;= 1.6&lt;/LI&gt;&lt;LI&gt;SciPy &amp;gt;= 0.9&lt;/LI&gt;&lt;LI&gt;NetworkX &amp;gt;= 1.9&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;and is available on PyPi! The lastest stable release can always be obtained and installed simply by running&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;$ pip install -U scikit-fuzzy&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 29 Aug 2016 23:42:16 GMT</pubDate>
    <dc:creator>phargis</dc:creator>
    <dc:date>2016-08-29T23:42:16Z</dc:date>
    <item>
      <title>Fuzzy Algorithm in Apache Spark</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fuzzy-Algorithm-in-Apache-Spark/m-p/122960#M39041</link>
      <description>&lt;P&gt;Good Morning, everyone.&lt;/P&gt;&lt;P&gt;Before i go with my question, i will start why i need fuzzy algorithm. In my project, i use Arduino to collect some data about temperature, etc. After i collect a lot of data, i want to use Fuzzy Algorithm to predict rainfall in some area.&lt;/P&gt;&lt;P&gt;But, i dont find fuzzy algorithm in MLlib's Apache Spark ? What should i do ? How i can use fuzzy algorithm in HDF, or there is another way ?&lt;/P&gt;&lt;P&gt;Or can i use python library in Apache Spark ? ; Because i heard there are some fuzzy library in Python, maybe i can use it in Apache Spark&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 13:23:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fuzzy-Algorithm-in-Apache-Spark/m-p/122960#M39041</guid>
      <dc:creator>rendi_7936</dc:creator>
      <dc:date>2016-08-29T13:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Fuzzy Algorithm in Apache Spark</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fuzzy-Algorithm-in-Apache-Spark/m-p/122961#M39042</link>
      <description>&lt;P&gt;Hello &lt;A rel="user" href="https://community.cloudera.com/users/7309/rendi7936.html" nodeid="7309"&gt;@Rendiyono Wahyu Saputro&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Yes, you can import python libraries and use them in Spark, which supports a full Python API via the pyspark shell. For instance, if you wanted to load and use the python scikit-fuzzy library to run fuzzy logic, then you just:&lt;/P&gt;&lt;P&gt;1) Download python library, either using maven update to local repo, or directly via github, and add the library to your Spark classpath&lt;/P&gt;&lt;P&gt;2) Kick off job with pyspark shell (Example: $ pyspark --jars /path/to/scikit-fuzzy.jar )&lt;/P&gt;&lt;P&gt;3) Import python library in your code (Example: "import skfuzzy as fuzz")&lt;/P&gt;&lt;P&gt;4) Use the library&lt;/P&gt;&lt;P&gt;More information about scikit-fuzzy library here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pypi.python.org/pypi/scikit-fuzzy"&gt;https://pypi.python.org/pypi/scikit-fuzzy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hints about dependencies and install:&lt;/P&gt;&lt;P&gt;Scikit-Fuzzy depends on&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;NumPy &amp;gt;= 1.6&lt;/LI&gt;&lt;LI&gt;SciPy &amp;gt;= 0.9&lt;/LI&gt;&lt;LI&gt;NetworkX &amp;gt;= 1.9&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;and is available on PyPi! The lastest stable release can always be obtained and installed simply by running&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;$ pip install -U scikit-fuzzy&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 Aug 2016 23:42:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fuzzy-Algorithm-in-Apache-Spark/m-p/122961#M39042</guid>
      <dc:creator>phargis</dc:creator>
      <dc:date>2016-08-29T23:42:16Z</dc:date>
    </item>
  </channel>
</rss>

